@c0dec0dec0de@hachyderm.io
@c0dec0dec0de@hachyderm.io avatar

c0dec0dec0de

@c0dec0dec0de@hachyderm.io

“Incredibly mediocre” dude. Programmer. Bad with words. Enthusiastic cat-botherer.
:debian_logo: :git_logo: :iterm2_logo: :vim:

This profile is from a federated server and may be incomplete. Browse more on the original instance.

c0dec0dec0de, to random
@c0dec0dec0de@hachyderm.io avatar

Is there a way to have issue a GET request and then just not wait for the file to download? -m0 doesn't seem to be doing it.

mercutio,
@mercutio@hachyderm.io avatar

@c0dec0dec0de Perhaps the --range option? That stops after receiving a certain number of bytes.

curl --range 0-0 https://example.com/

joe_no_body, to random
@joe_no_body@mastodon.social avatar

programming language where the sigil for variables changes from $ to €, £, ¥, etc. depending on the locale

drahardja, to ai
@drahardja@sfba.social avatar

sickeroni, to random German
@sickeroni@mastodon.social avatar

Do i know somehow with good C knowledge?
I searching for features of C versions that are originated from C++.
I know C23 got [[nodiscard]], but I'm searching also for
C99
C11
C17
(reposting is appreciate)

evacide, to random
@evacide@hachyderm.io avatar

Yes, I know that guy still stands a good chance of winning the election in November, but this is your regular reminder that you can't fight a long fight without stopping to enjoy your victories or you will burn out to a cinder.

18+ frassmith, to Cats
@frassmith@fosstodon.org avatar

I'm not sure if this is either clever, ironic, blasphemous, heretical, fun, just plan cool, or any combination of the above.

Anyway, I'm old enough to have bought the original album when it came out, so it's a thing, and I'm wearing it.

effinbirds, to random
@effinbirds@mastodon.social avatar
cstross, (edited ) to random
@cstross@wandering.shop avatar

Random musing:

What is the werewolf gut microbiome like? And what happens to it when a were shifts form? (Do humans get copious diarrhoea/purge themselves right after shifting? And what happens to the gut contents if a werewolf gorges on meat right before shifting back to human?) What about parasites in raw meat, eg. trichinosis?

And are xanthine alkaloids (like theobromine, found in chocolate) as toxic to werewolves as they are to canids?

oliversampson, to conservative
@oliversampson@sigmoid.social avatar

@pluralistic delivers a multi-themed screed on the state of vs. in the , , and a lot of it applies to , too.

https://pluralistic.net/2024/05/29/sub-bushel-comms-strategy/

Importantly, it touches not just on the value of the presence of from from election campaigns, it reflects on the (negative) value of the absence of information.

oliversampson,
@oliversampson@sigmoid.social avatar

@pluralistic

"[T]he US government is...trying to break up , the largest in the history of the world, and there has been virtually no press about it.

" 's comms team isn't bragging about the administration's accomplishments, because the senior partners in this coalition oppose those accomplishments. They don't want to win an based on the promise to prosecute an anti-corporate revolution, because they are counter-revolutionaries."

GossiTheDog, to random
@GossiTheDog@cyberplace.social avatar

I’ve officially seen everything

video/mp4

luna, to random
@luna@pony.social avatar

This email found you. Roll initiative.

rygorous, to random
@rygorous@mastodon.gamedev.place avatar

"Animal Kingdom". Bullshit.

Strange genes in pools distributing phenotypes is no basis for a system of government

effinbirds, to random
@effinbirds@mastodon.social avatar
pid_eins, to random
@pid_eins@mastodon.social avatar

When pondering whether we should start linking to some external library in systemd, I usually spend some time looking at the library's sources, to understand the quality of the code. While coding style differences are fine, there are certain red flags that make libraries unsuitable for use in systemd, or that indicate questionable quality of the code.

Red flags like this are for example absence of OOM guards on malloc(), absence of reasonable error propagation,

pid_eins,
@pid_eins@mastodon.social avatar

placement of too much state in global variables or TLS (instead of maintaining clean context objects), obvious TTOCTTOU races around file use, open coded structures, absence of symbol prefixing and so on.

But there's one red flag that I want to write about today, that's just so annoying, because it's not widely understood to be the devil's work: use of ELF constructurs/destructors.

In ELF/gcc you can mark functions as ELF constructurs or destructors. Functions marked like that…

hannah, to random
@hannah@posts.rat.pictures avatar

Say what you will about sears but its kinda swaggy that they got vanity 800 numbers in two different languages

janamarie, to random
@janamarie@chaos.social avatar
theluddite, to random
@theluddite@assemblag.es avatar

The point of solar panels is not to ensure "solar profitability," but to make for a greener, better world. Its profitability is only justified insofar as it moves us towards that goal. If we want to switch to renewables, then sometimes we're going to have surplus, because of how renewables work. This is well known and discussed ad nauseam. If that makes power markets unstable, then the problem is with markets, not with there being too many solar panels.

daviwil, to gamedev
@daviwil@fosstodon.org avatar

This voxel displacement technique for "modern retro" rendering looks so incredible, really inspiring:

https://blog.danielschroeder.me/2024/05/voxel-displacement-modernizing-retro-3d/

gsuberland, to random
@gsuberland@chaos.social avatar

what do you say when your code performs badly?

O(no)

rebeccawatson, to random
@rebeccawatson@mstdn.social avatar

I hate how whenever US liberals defend immigrants they have to say how hard working they are. I just want it to be known that I support immigrants who are just as lazy, if not even lazier, than me.

jasonkoebler, to random
@jasonkoebler@mastodon.social avatar

Scoop: I obtained the contract Samsung requires independent shops to sign to buy phone repair parts from them.

It requires:

  • "Daily" dumps of customer data
  • The "immediate destruction" of any phones a shop comes across that has third-party parts

https://www.404media.co/samsung-requires-independent-repair-shops-to-share-customer-data-snitch-on-people-who-use-aftermarket-parts-leaked-contract-shows/

evacide, to random
@evacide@hachyderm.io avatar

A lot of people who are not experts in domestic abuse think they're making a clever point by informing me that if an abuser has physical access & login credentials, the game's already over.

I am very tired and do not have the energy to explain why making spying easier for abusers is bad, actually.

evacide, to random
@evacide@hachyderm.io avatar

"...a would-be hacker would need to gain physical access to your device, unlock it and sign in before they could access saved screenshots."

I've got some news for Microsoft about how domestic abuse works.

https://www.bbc.com/news/articles/cpwwqp6nx14o

Javier, to random
@Javier@ratherbemaking.games avatar

Saw some text online that made me want to turn it into signage. What good are graphic design skills if you can't have a little fun with them.😜

daniel, (edited ) to random
@daniel@social.telemetrydeck.com avatar

A sentence that helped me a lot this week is „that’s not my beer“, the German idiom meaning, „I accept I’m not responsible for this.“ So I built myself a reminder, lest I forget the sentence.

Edit: I reprinted it to correct the text to “Ceci n'est ma bière”

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cisconetworking
  • Durango
  • rosin
  • Youngstown
  • slotface
  • InstantRegret
  • mdbf
  • kavyap
  • ethstaker
  • DreamBathrooms
  • megavids
  • khanakhh
  • ngwrru68w68
  • anitta
  • normalnudes
  • love
  • everett
  • modclub
  • osvaldo12
  • GTA5RPClips
  • provamag3
  • cubers
  • tester
  • JUstTest
  • All magazines