skysight-inc/HackerNews huggingface dataset:
How does a switch break at 20 items? Any respectable compiler or interpreter should handle that fine. If it was 32k cases, I could imagine why it would raise an error. But 20? Seriously?

Often, writing more cases into a switch statement is way easier and less boiler-plate-y than abstracting it out to subclasses or a dictionary or whatever.
I don’t think that was the point of Social Security.

It was so that people no longer physically able to work wouldn’t starve to death.

And yes it’s very sad that some people don’t live long enough to get the benefits of the program.
Seeking Recommendations: GPU Rental Services?
I'm toying with the idea of GPU rentals for LLMs and need some guidance. While I do not plan on processing any PII or HIPAA-related data, I intend to run proprietary corporate information. It's crucial for me to ensure that my data remains private and isn't stored or leaked in any way.

From my initial understanding, you can get dedicated instances with AWS or other major cloud platforms, but they can get pricey. I've come across some offers like renting an A100 for just $2/hr. However, I'm unsure how isolated or secure these services are.

One of the alternatives I've come across is using spot instances of GPU compute. But again, there's the concern of these being "as available" and not necessarily isolated. Plus, even though they might appear cost-effective at first, they can add up.

Could anyone share experiences or insights on:

1) Understanding how GPU rental services work in terms of data privacy.

2) Recommendations for affordable yet secure GPU rental options?

3) Insights on the safety and isolation of services that offer GPUs at seemingly competitive rates?

Thanks in advance.
Sorry .. I am unable to understand what you meant. Could you elaborate ?
This thing that I have no personal experience with is completely like this other thing I have no personal experience with and is unlike this third thing I do have personal experience with because someone I don't know but has financial motivations to lie to me has said so.

Ignorance becomes you.
It's actually an interesting unit: a ton of air conditioning is equal to the cooling that you get from melting a ton of ice per day. It has nothing to do with the weight of the air conditioner. Presumably this was useful in the olden days when businesses used ice for cooling and wanted to know what size of refrigeration unit they would need.

One ton of cooling is defined as 12,000 BTU/hour. The "real" value is 11966; apparently it's coincidental that it is so close to a round number. (One ton of refrigeration is 3517 watts in metric.)
I fully disagree because if that was the case, it would be highlighted in the wikipedia article. Go ahead and add it, let it go through the rounds of thousands of people trying to be on the same page about it - then I will believe you. I'd rather trust that source that backhanded comments here.
Is there a public specification somewhere? The only thing I could find is the code in the "material-color-utilities" on github.

Looking at the code, it seems the computations are much more involved than OkLab, especially in the HCT -> RGB direction?
Not sure why you're being downvoted, pi-hole is a solid choice for the privacy conscious.

@op most consumer grade routers let you easily block devices on your network. you might have to connect it initially to activate it, and then block?
From the comments:

> Time for a data transfer startup based on pre-programmed drones with relay terminals to recharge or change carriers.

I know it's a joke, but I'd be interested in knowing if anyone knows of any theoretical or known commercial use cases of exactly this?

If you're a corporate with a petabyte of data you want to send from the US to Europe to do some data analytics on, would you not back it up to tape and load it on a plane? Seems like this must happen from time to time, no?
Yes, when you show a project, I don't want (nor have time) to think how you put something together. You need to show me. Call out a particular challenge and how you solved it is VERY interesting to me.

Also, those coding challenges are a numbers game. Sometimes you get a good coding question, other times there's a dumb trick that you forgot about and the interviewer didn't like your choice of how you named your function.

When I give live coding interviews, I don't really care about how well you code (somewhat), I want you to work with me and ask questions.

I give bonus points for talking about telemetry, error handling, and cache improvements (etc).
Dupe of this, also posted today: https://news.ycombinator.com/item?id=37307653
Thanks, this makes sense to me (even if I may disagree with some of the "implementation"), so I really appreciate you sharing your knowledge.
Currently finding my own path and one bit of advice that I thought was incredibly helpful is from Dr. Stutz.

The advice is a bit new-age-y, but I think it rings true nevertheless. It’s about working on your “life force”[0], which can be represented as a pyramid with three sections: body, people, self.

Start moving your body, getting good sleep, eating well. Then focus on your connections with others, developing friendships, relationships. Leaning on others and letting them lean on you. And then you have self development: working on skills, learning, experiencing things.

The idea is that by focusing on developing and growing your “life force” it’ll help figure out how to move forward.

[0] https://www.netflix.com/tudum/videos/life-force-aspects-of-r...
RIP Grooveshark
> The SEC prefers to keep the line fuzzy so that actors keep their behavior well on the “allowed” side.

In crypto it appears the exact opposite is happening.
I'm not sure why your petty personal problem, that is remedied very easily in every browser, requires a comment.
I suspect some contracts were probably done as favours to the US government.
You can get away with anything in the UK by blaming either the French or the EU.
Laughed out loud at the use of "adequate" there
Does constructive dismissal retorts apply at all in the US? I assume the vast majority of those affected are in the US...
Have you ever used groovy re: pragmatic language?

I've tried a bit of Kotlin, but still prefer Groovy by a lot.
There is a vast gulf separating the administration of ketamine for pain relief in trauma patients or the sedation of persons with altered mental status during EMS transport and chronic unsupervised recreational use.
what other situation would you be in?
wind would still affect the speed and direction of the drone.
> What are you doing that you need 400v?

Complaining about Americans on the internet, obviously.
That matches my observations too.

The very smart and very hard working are of course the shoe-ins. And then it's either the very smart and lazy or moderately smart and very hard working who are next most likely.

But the moderately smart and moderately hard working just get lost in the crowd.
Hurricane Idalia: Florida hunkers down for 'unprecedented' storm
This article is from 2018, and contains a single update from 2020. I would think the terrain has shifted in the last 3 years, so take the article with an appropriate pinch of salt.
Submission 500000
Hello! This is my first submission. What are the rules of hacker news? I do not know
Oh wow. If I’m trying to learn something, doing it first thing in the morning after I wake up, especially if I have to wake up early to do it, basically guarantees I will retain nothing.

Morning is a good time to be productive and creative, but to learn?? No way, not for me.
The concept of hypocrisy is outdated. In contemporary times, of course everyone wants to be treated well and their rivals treated worse. It's like if there is a boxing match, is it hypocrisy if each player thinks they should win and the other should lose. It's not like someone's hypocrisy will be dramatically revealed and they will be exiled in shame.
Bulbs normally burn out open, breaking the circuit. And in the unusual case that they don't, I would imagine the thin wires leading to the filament will melt, also breaking the circuit.

And if all else fails you your circuit breaker should flip.

If bulbs normally failed short, then you'd have circuit breaker's flipping a lot more often.
The correct answer is "All of them on your own network first".

Thou shalt not blow up another's network knowingly.

Blowing up another's network because you didn't test your theory in your own isolated lab space first counts as blowing up another's network knowingly. Because what the hell else did you think would happen?

Cripes.
Why? Windows is not inherently less secure than MacOS or Linux.
It's possible to ask an electrician to install a 240V outlet in the US and then get a UK-spec kettle. You just need to make sure the kettle doesn't care about the frequency difference (probably not), and the hot-hot vs hot-neutral difference (also probably not).
I've never tried ketamine, but from what I understand it has dissociative effects similar to dextromethorphan and PCP. That's one reason why it's starting to gain acceptance as part of a depression/trauma treatment plan, because at low doses it can help "add space" between how someone feels and how their body is reacting to a trigger.

Recreationally I've seen people describe it as "falling into the K hole" which sounds pretty dissociative. How much ketamine dissociation can people experience before their view of reality is warped in some way? Especially if continued recreational use can cause brain lesions.
Don't get me wrong, I've tried to make the most of my time for positive pursuits, but in my experience, I'd still rather have had a job and the income to be able to do literally everything else required by modern capitalism to survive while also being able to potentially pursue such passions.

I appreciate your positivity, but I wish you a bit more clarity about the downsides of 18 months without job income.
Also of the famous Shakespeare quote:

An SSL error has occurred and a secure connection to the server cannot be made.
i wish 240V was more common. i can't charge my EV at a reasonable rate and it would cost me $15k+ to install a 240V in my detached garage (requires trenching).
What is tea temperature for you? As I understand it black tea which Brits drink should be made with water at close to boiling (100 C) while green tea should be made with water at 80 C.

My pet peeve in the US is ordering a cup of tea and getting a cup of cooling water and a teabag by the side. Fine for herbal or green tea but terrible for black tea.
Apparently, my hometown had an airfield associated with the local country club. I was pretty shocked to see pictures of people with nice cars at a time when my great grandfather was still traveling to town with a mule and buggy. Wow.
Deploying multiple schema changes at once
I would agree with that. The goal is to lower total emissions, best is to concentrate on the areas that emit the most. How many people who happen to live there is meaningless.
With the sword of unemployment hanging above my head? No I'll prefer FIRE than this.
They got a lot more of a trial than anyone who was put on Midazolam as part of the Liverpool Care Pathway or even during the initial stages of the Covid crisis.
Can you still ssh in to their PDP machines?
Ruby was never that great of a language. Rails was much better than any alternative, though, and it brought Ruby along with it. Basically every company using Ruby chose it because they wanted to use Rails.

The main thing that has led to the decline of Rails is the rise of no-HTML-just-an-API backends. Your web frontend development stack is more likely nowadays to be, first you pick between React or a similar framework, and then the backend just sends API data and doesn't mess with HTML. This makes for better websites, and it makes joint web and mobile development easier too, because you're going to have to build that API anyway for your mobile app.
I think mislabeling something as a duplication is where most of these issues stem from.

Humans love to pattern match, we find patterns in things that often have no real pattern. It is not uncommon in my experience to see patterns in code, label the code as not DRY, and attempt to DRY it up. If the "duplication" detected was, in fact, not a duplication but rather code that just happens to be similar, the abstraction will often go awry.

My rule-of-thumb is to prioritize maintenance over authorship. Am I writing this code in a way that makes it easier for future me or another programmer to change it, or am I optimizing for a sleek diff in my code review? I think our code can look like breadboards instead of a bespoke printed circuit board, we have compilers for that.
Touching 120V with dry skin is nearly always harmless. 240V is considerably more exciting.
FWIW, https://en.wikipedia.org/wiki/Late_Bronze_Age_collapse says "Archaeometallurgical studies performed by various teams have also shown that trade in tin, a non-local metal necessary to make bronze, did not stop or decrease after 1200".

It lists many other possible causes. https://en.wikipedia.org/wiki/Late_Bronze_Age_collapse#Possi...
Digging around there appears to be a newer article (which probably prompted the original thread) is here https://palant.info/2023/08/29/chrome-sync-privacy-is-still-... which has it's own HN thread here
Survivor bias. The average age of death for a 40 year old is 81 years. And 75 years for a 20-year old.

So yes, if you continue surviving your chances of living to your delayed retirement age increase, but I still posit you'll enjoy time off work more when you're younger.
In case it's not discussed the ice cream machines are broken software wise. there was a big Todo about a third party who hacked it and sold a product that just made the firmware better or human friendly. McD stole it.

these are so awful there is a website tracking when they are down at mcbroken
A absolutely despise what companies like Taylor do. Rather than innovating their product, they realized its cheaper if they have their lawyers engineer a way to lock in their customers to their product over their competitors'.

And you seem to see this more and more. It seems that these days the product quality itself doesn't matter, it's all about the contracts that your legal team setup in the background. I have to ask the engineers that work at these companies: does it bother you that the only reason people use your product is that they would get sued if they tried using another product? How does it make you feel that your product is so bad the only thing keeping your customers in the door is the contracts your legal team drew up.
For terabyte-scale data it might make sense to send it along with a person, but for larger amounts there are definitely services to help handle the process.

He mentioned AWS Snowmobile in the video, but they also have a lower-volume equivalent: AWS Snowball [1]. It's basically just a suitcase-sized device that you plug in, upload data to, and ship to the destination. They have some really nice features to help make the process smooth. But yeah, at its core the idea really is "pack up a lot of hard drives and have it shipped to the destination".

1: https://aws.amazon.com/snowball/
I don't have first-hand experience with the difference in hair dryers either, but I imagine it's mostly air velocity? With more power you can turn more air scalding hot, meaning you can offer higher fan speeds without compromising temperature.
Reminds me of a miniaturized arc reactor.
In the last decade I’ve gone from buying almost everything from Amazon to going out of my way to not order anything at all from them.
You should explain this in detail to the authors of the study so they can issue a correction.
Germany does literally all the wrong moves when it comes to future of energy
Honestly I think there needs to be legislation introduced to make it mandatory for employers to provide feedback if the employee has invested hours into the interview process, while in exchange the employer gets legal immunity for their feedback. It's so demoralizing going through hours of take-home tests and coding challenges, passing all the questions, and still getting rejected with zero feedback.

And yea these interviews are so ridiculous I really wonder what the hell these interviewers' actual goals are with these interviews. They all brag about only hiring the smartest people. A part of me feels like they're just fishing for ideas and stroking their own ego. These coding challenges I'm getting are often so stupid and almost insulting.

Also these coding challenges in general are way overemphasized. You can either code or you can't, and it doesn't take much time to learn one's tech stack as long as one is familiar with something similar. What matters way more is one's knowledge of things like design patterns, architecture, and the non-technicals like how is it working with this person, what motivates them, are they a good person, etc. If I'm hiring someone for my startup and only have an hour of their time, no way I'm wasting that on some stupid coding challenge. The early seed stage companies and agencies tend to not waste time with that crap, it's the more established companies with bored engineering managers trying to justify their own existence and foster a culture of "rockstar" engineers that waste your time with these asinine take-home tests and robotic coding interviews only to reject you even after completing it and ghost you on any feedback. Prob the same engineering managers hiring scrum consultants.

What's funny is I remember back when I worked in the corporate world we had some initial take-home test (not my decision, if it were up to me we'd only have that for juniors), but if the candidate was deemed too qualified (ie. the CTO knew them) they'd get to skip it. It's like - you've got 5-10 years of experience building complex stuff? Bend over and take our take-home coding test, code monkey. You're a top-tier "real" engineer? We won't insult you by making you do this low level plebian work, that's for the code monkeys (who will bring you your coffee in a sec)
Are you describing your experience or implying that the industry should change this because you can WFH?
Is there a technical term for this?
This seems more complex than UBI with no clear advantages.
Using your analogy, your strategy is to stop eating candy bars, but it's ok to eat 5x the calories of a single candy bar in broccoli because broccoli per item is fewer calories. That's obviously flawed because it's the total amount of calories, not the calories in any particular food.
Weird/ugly syntax always turned me off ruby and perl. Js a mess, now with good parts.

Unfortunately Python has a lot more colons than it used to, and has gotten less readable recently.
FreeBSD can now boot in 25 milliseconds
Ask HN: Anyone know why Free Pascal's startup is so fast?
I came across this benchmark https://github.com/bdrung/startup-time and I was absolutely blown away by how fast Free Pascal's startup is. Between that and the numbers FP put up in memory usage in https://thenewstack.io/which-programming-languages-use-the-least-electricity/ I'm curious to give the language a go
I think it's a combination of ML to steer the craft and coordinate the assets. Eventually there will be something a bit like DeepMind's StarCraft AI. Probably with a text interface. They might even get that technology from DeepMind.
yes, but who invented the americans
Is there no way to forward fido tokens? Or the GPG agent with a Yubikey.

Under Windows, you can forward your smartcard over remote desktop. It's one of the few things Windows has I miss on Linux.
(original commenter) I submitted the Request Trial form from a Google Workspace admin account, and a couple hours later got another email to download a Duet Handbook (20 page PDF), which required submitting contact info again. The bottom of the handbook just had "Contact sales for access"... with a link to a sales contact form.

Edit: our org also submitted the google form multiple months ago requesting beta access. My (un)educated guess is a lot of what's in this blog post isn't production ready and they're handpicking accounts to onboard for specific features.

I would be pretty amazed if they launched everything in that blog post in the near future.
PSA is also commonly used to refer to the test that measures the PSA level.

And, yes, it's treatment of things that weren't actually going to kill the patient. It's been known for quite a while that doing the test for screening produces no increase in life expectancy.

What this study is saying is that the same problem seems to apply to most other cancer screenings.
> An early abstraction that would've grouped those coincidentally similar pieces of code would then have to stretch to cover both evolutions.

In that case, my takeaway would be that it ain't the abstraction itself that's wrong, but the unwillingness to get rid of it (or decompose it) when it no longer serves its purpose.
Reports of the PC's death are greatly exaggerated, says IDC
White Noise and Climate Anxiety
Sure, but uh is there any OEM laptop vendor out there that actually provided support and/or wrote drivers for Linux? Seems to me like they all rely on third parties doing the work.
I think it's certainly possible. FWIW car batteries can often support 1000A especially those for large diesel engines. They aren't meant for continuously loads or deep cycles though. Marine batteries may be able to overcome this.
Great example. One way to avoid these problems is having lots of tests written for the various uses of the abstracted thing so you know they’re all covered. But also, if all of these things function in different nuanced ways, is it really any benefit to have them all jammed into the same abstraction in the first place? I’ve found this comes down to personal taste. I prefer a little duplication if it means not having to “own” an abstraction that I’ll need to heavily document and hope people read the documentation for in order to not break. But some would rather own the one point of failure.
Given a long enough timeline, every abstraction turns wrong.

The answer isn't to not abstract, the answer is to tear it out when it turns wrong. That was actually the original point of the popular article that streamlined this view - that we shouldn't be afraid of tearing them out, not that we shouldn't make them in the first place. Most people just read headlines though.
Wrong one. https://wikipedia.org/wiki/SKYNET_(surveillance_program)
Cheaper and older power supplies typically have a switch to change the input voltage. DO NOT attempt to plug in and turn on a power supply set to 110v to a 240 volt socket.
I'm taking a leap here extrapolating my own experience. I hope it might be useful.

I found myself in the same end state over and over (in this case, burn out). The two shared aspects between various situations were: me and the end result.

If different situations lead to the same end state and I'm the only common element then that implies that my own actions lead to that end state.

Specifically:

- inability to set boundaries and people pleasing ("yes I will commit to this even though I've committed to other things").

- perfectionism ("I need to spend a week on this even though it was good enough after day 2").
Namae – Find a original name for your new app
Fully agree.

I would add that you should duplicate the common, cross-cutting setup (eg. faked/mocked dependencies that don't matter), but make the test conditions themselves explicit.

You get a feel for the correct granularity the more tests you write within the codebase. If you try to be too clever in saving boilerplate, you'll cause pain for future modifications and maintainers. Sometimes fixing "clever" tests takes longer than the code change itself.
> admitted no wrongdoing while paying a $377 million settlement

It is a joke on "justice" that this is legal.
Specifically, Googling "Direct Primary Care" in your area will probably find you what you are looking for. Specialists who work this way also exist, but are rarer (and significantly more expensive)