Readit News logoReadit News
Snacklive commented on I Don't Have Spotify   idonthavespotify.sjdonado... · Posted by u/ohjeez
zahlman · 12 days ago
Before I enable JavaScript, exactly what is this supposed to do?
Snacklive · 12 days ago
Seems like you can provide the link of an Spotify hosted song and the site would give you links for alternatives such as Youtube Premium and Apple Music
Snacklive commented on Ban me at the IP level if you don't like me   boston.conman.org/2025/08... · Posted by u/classichasclass
8organicbits · 19 days ago
I've been working on a web crawler and have been trying to make it as friendly as possible. Strictly checking robots.txt, crawling slowly, clear identification in the User Agent string, single IP source address. But I've noticed some anti-bot tricks getting applied to the robot.txt file itself. The latest was a slow loris approach where it takes forever for robots.txt to download. I accidentally treated this as a 404, which then meant I continued to crawl that site. I had to change the code so a robots.txt timeout is treated like a Disallow /.

It feels odd because I find I'm writing code to detect anti-bot tools even though I'm trying my best to follow conventions.

Snacklive · 17 days ago
would you be interested in writing an article about it ? sounds really interesting
Snacklive commented on What does it mean to be thirsty?   quantamagazine.org/what-d... · Posted by u/pseudolus
avalys · a month ago
I'm so interested in this topic, for a weird reason.

Since I was a kid, I've thought I was "prone to migraines", and ascribed various triggers to them - sun exposure, heat, physical exertion, mental exertion, etc. I'd get a migraine sometimes after a long hike on a weekend - and also a long business meeting entirely indoors in an air-conditioned space.

Only when I was around 35, did I figure something out. All these situations lead to me getting dehydrated without any obvious accompanying feeling of thirst. Hiking all day will do it - walking around an outdoor shopping mall on a hot afternoon - or sitting in an all-day business meeting focused on the work at hand and forgetting to drink. And all these situations lead to a migraine - my only "migraine" trigger is simple dehydration, nothing more complicated.

The weird thing is, it took me a long time (decades) to put this together, because I just figured that I couldn't be dehydrated if I wasn't thirsty, and I had no association between "feeling thirsty" and getting a migraine.

I get what I consider normally thirsty in other circumstances, but somehow there's a failure mode where my body doesn't warn me. So now I just remember to chug lots of water (and electrolytes) if I'm exerting myself even if I don't really feel thirsty, and I can systematically avoid triggering migraines.

Now that I understand it the association is quite clear and obvious in retrospect.

Snacklive · a month ago
YES YES i get migraines and it's my body saying "Hey you need more water to function you know ?" usually i don't feel any thirst nor hunger, although, i do get hungry more often, but i can last a day without food before my head starts to hurt
Snacklive commented on Copyparty – Turn almost any device into a file server   github.com/9001/copyparty... · Posted by u/saint11
Snacklive · a month ago
Saw the demo video on YouTube today. Almost made me rent a cheap vps with lots of storage just to run it
Snacklive commented on First American pope elected and will be known as Pope Leo XIV   cnn.com/world/live-news/n... · Posted by u/saikatsg
layer8 · 4 months ago
Social media accounts should really go for Roman numerals.
Snacklive · 4 months ago
Twitter used to. My first username was "myusernameXII" cuz i thought it looked cool in one of the suggestions
Snacklive commented on Curl: We still have not seen a valid security report done with AI help   linkedin.com/posts/daniel... · Posted by u/indigodaddy
imtringued · 4 months ago
Why charge a fee? All you need is a reputation system where low reputation bounty hunters need a reputable person to vouch for them. If it turns out to be false, both take a hit. If true, the voucher gets to be a co-author and a share in the bounty.
Snacklive · 4 months ago
That's just a way to create a toxic environment filled with elitism similar to StackOverflow
Snacklive commented on Kagi for Kids   help.kagi.com/kagi/plans/... · Posted by u/ryanjamurphy
pants2 · 5 months ago
Feels like in my youth the biggest risk was stumbling on some freaky gore/porn that scarred you, but somehow that doesn't seem as bad as the risk of getting hooked on dopamine-optimized brainrot, alt-right propaganda, or micro transaction focused games.
Snacklive · 5 months ago
This. I was a kid with too much free time and exposed to the internet with some but not enough supervision.

I stumbled with some f up stuff that i still remember to this day. But somehow I'm grateful that it wasn't the current brainrot

Snacklive commented on From Languages to Language Sets   gist.github.com/xixixao/8... · Posted by u/whatever3
svilen_dobrev · 6 months ago
i completely agree. i have lead a team of 3 (three, incl. me) which has made and run completely "untyped" 90KLoc python + 90KLoc javascript for years (well, about 25% was generated, from another 1%. Meta programming, yes). And a few other similar codebase magnitudes and team-counts, before.

IMO rewriting happens mostly because going to lower-level of the needed proficiency/understanding - once the product why-what-how is more-or-less discovered, its code can be commoditized and hardened, kind-a. Dynamic stuff is very powerful == becomes too powerful (and "magic").

There is quite some wishful thinking around what so-called static-typing (which is actually static type-hinting) in dynamic languages, hoping and believing that declaring something Float, guarantees it being Float at runtime.. which is nonsense. In Ada, and few other runtime type-and-range-etc-checking languages - yes. But in plain ones.. nope. C++, Java, whatever - noone checks things at runtime. Most of those do not have a way to know what some n-bytes represent, hoping it matches the expected layout (i.e. type). While, say, python very well knows what each and every object is. If asked.

Of course, one can build such real-runtime checkers, and apply them where/when it is needed and makes sense - instead of blanket policy everywhere, but noone bothers. (Funny thing is, when i made one such library 15y ago, i was spit at and told to go code in java. And, even i haven't since then stumbled on pressing need to use it myself. Having 10 asserts (or constraint checks) in some 10kLoc does not justify whole library)

That said, i think something like language-verticals might be useful. And/Or gradual hardening, on piece-meal basis. At least a standartized way for going up/down or stricter/relaxed, from wherever one is.

Snacklive · 6 months ago
> But in plain ones.. nope. C++, Java, whatever - noone checks things at runtime. Most of those do not have a way to know what some n-bytes represent

But then my question is, what are you doing that you need to manually check for types ? I mean i get it at some point, usually at the time of user input usually you need to run checks to actually convert some input into a valid type. But once it is inside your program you don't need to check anymore because well... static typing and all that, you should know what you have in every step just at a glance

Snacklive commented on A Small Contribution to Curl   shkspr.mobi/blog/2025/02/... · Posted by u/ColinWright
Snacklive · 7 months ago
i vividly remember getting bitten by a poor example in the android documentation when i was a beginner. It was a typo and a weird use of the " | " to separate some values.

It took me hours to debug why it was faulty in my app, until i asked for help on a discord server and someone answered me saying that the same mistake happened to them a few months back...

It seems small, but it really does help.

Snacklive commented on To buy a Tesla Model 3, only to end up in hell   myteslaexperience.com/202... · Posted by u/lleims
zmxz · 7 months ago
Looks like Elon was too busy farming in Path of Exile and now Tesla's customers have to wait until he asserts he's the god's gift to gaming first.
Snacklive · 7 months ago
He paid account boosters and got mad when people called him out

u/Snacklive

KarmaCake day103June 30, 2022View Original