skysight-inc/HackerNews huggingface dataset:
I more or less do that as well, but after each comment, I’m dropped back on the thread that I’m still halfway through. Depending on how I scroll and how the comments are re-ordered (as they’re voted on), I’m subject to crossing sub-threads, especially on mobile and when I’m partly killing time. In this case, I was in an Uber and then an airport so a little more prone to start-stop even within the one article.

That’s an explanation and not really an excuse. This one was sloppy, as I guess they all would be.
Sadly you can't please everyone :-).

The explanation is further down on the page. If I wrote in that recommended order, many other developers would complain "I don't want all the details, just tell me what to do".

I wrote it this way because some developers just want the tl;dr version, that is, they "just want the answer"
nope

error handling (as expressed here) is equivalent in priority to core business logic

it absolutely belongs in source, because it is important for developers to see
You mean file == nil.
good for you, not everything is about the EU. Not every transaction needs to be tracable
Insurance for the jumper seems to not be a problem. I couldn't easily find out about liability insurance for the operator, but I'd imagine that it's possible for the right price.

https://www.moabbaseassociation.us/insurance

https://www.globalrescue.com/common/blog/detail/is-base-jump... — "You’re certainly welcome to go BASE jumping under a Global Rescue travel protection membership as we have no altitude or activity restrictions."

https://www.base-jump.com/en/insurance-en
Seriously these fucks need to start seeing the inside of a cell
> It is possible for multiple OS threads to be running in parallel with symmetric multiprocessing (SMP)

Why does the author say "possible"? Isn't it basically always the case that a modern computer is running as many threads in parallel as it has cores?
Yeah no, R2 is a way better choice than being vendor locked like this when burning millions
Yep, I was aware of the difference before I made my original comment. There's still something ironic and interesting about it to me. Can't quite put my finger on it, though.
Hopefully decent translators so it wouldn't even matter.
No.
People travel regularly with non-TSA approved locks.

The TSA stuff may cut it open when they see one.
Show HN: Auto-translate – an extensible CLI to auto translate YML/JSON content
> Can any engineers comment on whether that task is easier for a vessel exposed to compression (under sea) as opposed to vacuum (space)?

I believe the pressure where the Titanic lays is 300 atmospheres. The pressure differential for the submarine is 300 - 1 = 299 atmospheres.

A vessel in space will be have a pressure differential of 1 atmosphere to contend with.
Seconded. Transformers are unobtainum at this point. And rewinding or making new ones is a lot of largely impractical work.

Lol, cotton wire insulation. Old circuits are sometimes laughable to look at.
> And then when an actual accident occurs your response is ineffective.

Nothing can be actual human care and attention. Everything can break and no automated system made by careful people is exempt from needing that.

I'm reminded that late into development of a Pixar movie servers crashed, work was lost, and the automated back up system failed. The only thing which saved it was that an artist took a copy of the project home to work on it.
>> There's not enough rich people

>I’m not sure that’s true. There are more rich people than ever and taxes are at their lowest point since ~1940

There are 2,640 billionaires in the world, 28 fewer than in 2022 (according to Forbes). Their total wealth is $12.2 trillion. Some portion (how much?) could certainly help a sizable number of people, but it is difficult to know how many and for how long.
> if you don't pay people, they can't buy your product.

I've never seen any value in this argument. If I make Bugattis, I gain nothing by paying my employees enough to buy a Bugatti. In a two-person one-good economy, yes, I can't hire you to milk the cow for $1 and then charge you $2 for the milk, but this isn't going to lead to you starving among spoiling milk. The market will clear, the prices of labor and milk will equalize, because $2 is more than the market will bear.

With robots the price of the milk will go very low because it's so easy to make, meaning I will be willing to sell it for very little in return. You can get a near worthless job like collecting pretty rocks and buy milk with that.
I wonder if this is the first time Supermac's has been mentioned on Hacker News!

I have to say, I'm fond of a Snack Box or a chicken breast sandwich on occasion. Something fierce nostalgic about it.
In order to replicate the functionality of an access point, the device needs to support all 3 bands (2.4/5/6), not just have a slot for whichever single band I want to support.

That DIY setup has a lot more compute for routing, but actually does worse in trying to be used as an actual (wireless) access point (and still costs more).
Should have spent more time researching!
Right - yeah I was really just wondering if some of the safety predicates could be reduced when there is a relationship between processes, such as the mitigations against cache attacks. I think the cache misses caused by multi-process were one of the reasons given that it's slower than threading. But I don't understand why this is necessarily the case given that the shared memory and executable text ultimately refer to the same data. But I suppose this would need to work with processor affinity and other elements to prevent the cache being knocked around by non-PG processes, and I guess this is one place where it starts getting complicated.

That said, please understand that I'm just being curious - I really don't know what I'm talking about, I haven't built a Linux kernel or dabbled in Unix internals in like 20 years, but thanks for replying :) Postgresql is my favourite open source project and I'm spooked by the threading naysayers.
That's wrong. These words came directly from servents using the words of their Normandy ruling class in England. They are French words. The fact that you can no longer perceive that is my entire point.
Kubernetes is a huge project and not idiomatically written, so it would be shocking if it didn’t exhibit everything that can go wrong with Go.

CockroachDB is a better example.
That makes sense. When you don't do something, you don't know about it.
Yeah Google Bard seems to make up stuff way more than chatgpt and gives just wrong code. I asked for numpy code to fit a polyline rejecting outliers and it just made up an argument "robust" for polyfit. Chatgpt on the other hand generated a function that calculated standard deviation and removed points outside two sigma.
That was a wild read. Thanks for sharing. Lesson learned, but now I have to go "walk it off" haha.
As with police, the law prioritizes property, commerce, and order.
Looking forward to being able to automatically generate audiobooks in famous voices. Gilbert Gottfried's "Blood Meridian" will be a hoot.
In my experience, braindead busywork is largely non-existent. Yes, there are times when you'll have to do something easy that conforms to code requirements and standards. But when the frontend needs to update something that is coming from a server, there is a real opportunity to discover, illuminate, and even solve architectural issues.

Sometimes that solution is to use GraphQL to make it easier to manage client implementation fan-out and requirement diversity. But GraphQL is never a substitute for communication and collaboration.
It's not that doing the list of things is hard. It's that even if you do everything correctly, sometimes your mail will get dropped anyway for no explicable reason.
Increasing amount of bullshit jobs, and overall time wasting on nonproductive tasks ?
I suspect the employer also violated laws about oil disposal. You can't just dump it on the ground, on pennies or otherwise.
If we keep jacking up the price of education to insanity levels while demanding ever more education you should expect the average person to embrace fascism. Fascism won't solve the problem, but fascist leaders will tell the people there are simple solutions to the intractable issues they've been presented with. Then all the violence and war that Fascism brings will occur.

I'd rather work towards a more stable future myself, but politically I have no idea how we can get there.
> what about a 50 year old woman who has been working for 30 years and still has 15 to go, but their job is completely gone? Do we send them back to college?

One solution is that which the Nordic countries provide: a dole that is sufficient to cover basic cost of living, and enough community-organized events and cultural and educational infrastructure that the now terminally unemployed can (or can at least choose to) spend their days doing something besides drinking and getting soft.
The padding oracle challenge has just been the gift that keeps on giving. I wrote a Ruby Gem for exploiting this:

https://github.com/technion/paddingoracle

I've since used it in the wild several times. It is shocking how prevalent the issue is, I suspect because everybody "used a a trusted AES library" and therefore believes they've complied with general crypto recommendations.

Before /r/javascript went private recently I could reply to a post about nearly any project that claimed to use crypto and explain this vulnerability.
I found it to be quite thorough and lucid in its explanation of the rationales behind each suggestion, including the one you mentioned.

Perhaps you are referring to the first section which is introduced as being a brief tl;dr:

> Here’s a quick summary about how to do it correctly, for the impatient who “just want the answer”.

The full document below that tldr includes for example this explanation of the reason for using ./* over *. Namely, flag injection:

> This is important because almost all commands will interpret a string beginning with dash as an option, not as a filename, until they see something that does not begin with dash. Globs are expanded by the shell into a list of filenames, and dash is earlier in the sort order compared to before alphanumerics, so it is easy for attackers to make this happen.
Yes, that's why Google will likely have immense advantage in this. I think content present in things like Google docs or Gmail is likely many times of public internet. And they have data for typing speed, human like randomness detection, backspace etc. which can very reliably detect human generated content.
I beleive google must use domain internally too, they even have a .google
Making people do pointless work is stupid and cruel. If they can't do anything useful, just give them the same amount of money you were going to pay anyway.
I think nix falls under "second best at everything" in this regard.

If there's a single thing Nix solves, it's being able to declare packages with a pure/functional language.

This ends up enabling all sorts of useful things which relate to packages. e.g. being able to install multiple versions of some package without these overwriting each other. e.g. build container images, declare development environments, run software without installing it, etc.

I think you can get 80% of what Nix does in many use cases without paying a lot of the effort. -- e.g. `asdf` is a tool which allows for installing project-local dependencies of programs.
I was here in Austin during that power outage. A few days was horrible enough as it was. If it had been weeks, I think we would have died.
Hmmm I'm not aware if the word 'custom' applies to resolvers - to an extent, you're always going to write them out as such for optimal benefit, can't imagine a non-custom one if that's what you meant.

> What’s the logical authorization entity? In rest, it’s (typically) the endpoint itself. What is it in graphql? Does a specific entity resolver have authorization? What does it look like in pseudocode?

You can have both API-wide and resolver-defined auth. In your graphql server config, there's a `context` config option you can pass a function to, and it has access to the whole HTTP request (typically, depends on the integration but I assume all of them treat it the same), it's where you'd probably e.g. check for auth headers and run them against db or the cache layer for auth etc. You can already throw errors and whatnot within this function, so that's the API-wide part.

The returned value of this context function is then included in the params of any executing resolvers, so you can have that resolver throw if e.g. the user stored in context does not have the sufficient roles to access this entity.

There's also directives: say you want to have an `@auth` directive that you can just slap on typedefs that makes auth logic reusable across a subset of entities, but you don't want to handle it on both API-wide and resolver levels, you just write a transform fn, register it in the config, and put that directive on the schema itself.

> How hard is it to write custom resolvers that also produce efficient sql? A gql query can be arbitrarily complex (ie nested), no? How to curb that complexity in practice?

Yes, a gql query can be complex and nested, but you only need to write the resolver in a way that all the ways you need to resolve that entity are taken into account. A query resolver returning one instance of Entity A via their unique ID in most cases is enough, for example - it does not matter how deep into the gql query the entity appears, graphql will do the heavy lifting and refer or run every resolver fn until all entities in that query have been resolved.

The next question is, that means graphql will hit the db one-to-many-times depending on the schema, and yes, that'll happen, but there are again, granular ways to handle that depending on the integration - Apollo at least lets you configure your own in-memory cache or use Redis for example, and be able to cache results in the schema-wide, resolver and response levels.
There is plenty of money that can be shaken loose, but there is no political will to pursue it.

Bezos himself could personally pay to educate a generation of US citizens. Most of us can’t process the amount of wealth that one individual has, let alone that whole demographic of people.

There’s also a question of what fair taxation even looks like when you have such a small number of people in the US economy controlling the lion’s share of the capitol.

Let’s not fool ourselves into thinking that the capitol isn’t there. It most definitely is.
I wish this article weren't so long. I want to understand what it has to say, but don't want to invest the time to do so.
Yep... Everything I tried didn't work.... Only altered the BPM and text prompt...

Perhaps it's getting hugged to death...
When you tax the rich to give to the poor that money gets recycled into the system increasing monitary velocity.
In fairness, the CBC oracle was by some margin the most widely exploited vulnerability in cryptography prior to our challenges. I credit us a little bit with popularizing the BB'98 RSA padding oracle, though, which is similarly prevalent.
The people who originally used these words were switching. It only became accepted by English speakers much later.
Fun fact: A BB gun falls under this as well. Which means you can literally buy a $50 bb pistol in order to secure valuables in your luggage.

I did exactly this when checking a lot of expensive equipment.

You get your bags brought out to you at baggage claim too! Got a lot of dirty looks lol
Exactly (although I would have used the word "etymology" rather than "root", which means s.t. else to a linguist). The fact that a word might have been borrowed into English nearly a thousand years ago does not mean that you're speaking French when you use it, any more than the fact that you might have had a French ancestor a thousand years ago makes you French.
The story comes from the Macon paper. Georgia has very clear guidelines around oil disposal!

https://epd.georgia.gov/document/document/used-oil-guidance-...
The trick is that so many devices use DC power bricks now, because it outsources the UL-or-whatever compliance, and makes FCC easier too. It's much harder to sense 60Hz downstream of that.
I really thought this post was about AWS, Azure or GCP, you got me! I will use it in my workplace now
My ISP doesn't even support IPv6 ever since they enabled CGNAT.

Prior I have had issues with IPv6 breaking the internet (due to poor or buggy adoption) and interestingly I've had no issues with CGNAT when I was expecting issues, so I'm not convinced how important IPv6 is right now, really.

(For those who haven't heard of CGNAT, it's basically a system where for residential grade connections multiple houses/connections are allocated to the same IPv4 address and the ISP hardware will manage some state internally to keep track of where each packet should go. The downsides of CGNAT are often exaggerated because 99% of P2P applications already use NAT hole punching instead of port forwarding anyway, which is fully compatible with CGNAT)
IIRC one of the Linux kernel developers worked for Atheros at the time and was able to convince them internally to release the source code for at least two different WiFi devices of theirs. Atheros were acquired by Qualcomm and that policy is now long gone.
Dump it into chatgpt to summarize it for you.
Sure, but that's the informed part of informed consent. Before you can start a treatment like this you have to have all the risks and benefits spelled out for you plainly by a real medical professional. Informed consent doesn't mean no rules at all and you regulate the messaging.

"This drug is known to be poisonous and at the prescribed dosage it would be lethal. There is no
no success of this drug treating any disease including cancer." I can't imagine anyone signing up after that.
What are defamation laws like in the States? Because it does appear that the sign on the door is defamatory.
The window corner thing is an urban legend.

https://www.youtube.com/watch?v=-DjnG74DDno

The cracks actually started on the top of the plane, at cutouts for radio antennas. The windows always had rounded corners (although they made them even rounder later, which may have led to the confusion.)
Guys, don't check large amounts of weed. Just stick it in a priority mail box and mail it to yourself at your destination. Hotels accept mail in your name!
Unless your ISP uses pppoe. The overhead of encap and decap for every packet overwhelms these little ARM boxes.
But at one time Kindergarten was code switching and was still firmly German. It only became common English after first being used as a German word dropped into English sentences. It still remains a German word no matter how familiar that German word is to English speakers.
Well, that's only a problem if you're also constantly buying new devices that could use those standards. Eg everything that connects to my home wifi is a/b/g/n max so I just got an old ath9k wifi card for my router.
The issue might be more interesting to read: https://github.com/easylist/easylist/issues/16372
“Risk” covers both stakes and odds.

People take extreme risks every day riding in cars; high stake, low odds.

But yeah, if the TAM of Titanic tourism is anything close to BASE jumping, that’s a gold mine. Tens of thousands of people a year? Good business.
I didn’t graduate high school and am a software engineering team lead at a large corporation. I don’t really have much sympathy for these people. It’s important to stay plastic and keep learning through your life.

About five years ago I got fired/quit from my second dev job and realized nobody was hiring node.js developers. So I looked at the local dev listings and saw the majority were .NET or Java. I spent the next month while unemployed reading an 800 page book on .NET (to be honest I got to page 400 or so before I was like “okay I get it”) and snagged a job as a mid level dev at a .NET shop in a Fortune 500 company. I didn’t even buy the book, I pirated it (apologies to Phil Japikse!).

I think we need to teach people that learning stuff yourself is free if you know where to look. We teach everyone school is the only path to knowledge which is, quite frankly, the most expensive, slowest, and overall worst way to learn almost everything. Outside some limited domains most concepts necessary for gainful employment can be self taught.

Isn’t that what the internet was supposed to do? What we all imagined when we’d talk, wide-eyed and endlessly optimistic, about the internet to people back in the 90s and early 2000s? Wasn’t it supposed to make information free? Which it has, for those of us who know how to look.
Not sure what's going on here, but one connection per process seems... ancient.

Using threaded model is difficult, how about pre-fork? Some connections per process is a good improvement.
The root of the problem is that the best solution solution for you depends on several factors;

A) your current usage (and cost). There are big amounts of money in play, so ideally uou want a solution best sized to your needs. 1 person living alone consumes a lot less than say a family of 4.

B) where you live. Not just big picture (latitude, climate) but also local details like shade coverage (mountains, trees), roof pitch angle and roof direction.

C) your goals - do you just want to reduce your bill, go off-grid, deal either regular power outages, generate excess back yo the grid, and so on.

D) install costs. Some buildings are easier than others. Some roofs are space-constrained. Etc.

While "ball park" pricing is reasonably easy to determine, spec'ing the right system for you is going to take all the above into account.

Ultimately your costs area

A) number and capacity of panels

B) size of inverter

C) capacity of battery

D) installation of panels, and electrics.

There's lots of info on the Web, but start with some basics. What are your goals? What is your current electricity consumption? Peak, daytime, nighttime? Can you use grid for backup?

I've done a fair amount of research for my own system, so I'm happy to expand if you want to give more detail.
qanta article at https://www.quantamagazine.org/in-new-paradox-black-holes-ap...
Plenty of jobs don’t work like tech meat grinders
>Being resistant to unseen administrators destroying your social graph is literally a selling point of federation.

And that "selling point" is grossly inaccurate. (Unless you make a separate account everywhere, which obviously defeats the entire point of federation.)

ActivityPub implementations all suffer from the same "you're pre-emptively banned from subreddit X because you commented in subreddit Y" problem that Reddit currently has, but with cascading effect across half the network.
Good for admin egos and power trips, bad for long-term usability and stability from the end user's perspective. As things of this nature have always been.
So what is the point of the distinction then? The examples I gave were idomatic Rust too.

Both Go and Rust hand the caller an error and the caller then must do something with the error. In both Go and Rust, you can assign the error to underscore and ignore it.

Java is different but we aren't talking about Java right now.

The only difference is that in Go the function can (and must) still provide a value for "file" even when there is an error. In Rust you can kind of do something similar, by giving the File struct a default value (that's what "unwrap_or_default()" is) but it isn't exactly the same. I would argue that such a case is extremely rare though.
>There is a reason why the Bible warns that man shouldn't make other gods to worship. A man-made god is by definition a false idol.

Because their believe god isn't man-made. But, of course, they also believe every other god is.

Guess what? I don't believe in theirs either.

There's hundreds of religions, yet believers of each of them believe ALL to be false, except theirs.

It's about time we call it for what it is.