skysight-inc/HackerNews huggingface dataset:
I'm still not sure if this is what you're asking, but have you already tried checking `req.headers['x-forwarded-for']`? Normally node just knows the incoming request IP (that's how it was reached to begin with), but if you're behind another server or proxy, sometimes the original IP gets forwarded instead.

If that's not what you're asking... can you please clarify your client-server architecture (if there even is one?)

Where is Node running? Is it on an internet-facing server, acting as a backend? Or are you doing some sort of local desktop app? Is Node using its own http systems to act as a server, or is there some other web server or reverse proxy running in front of it?

Is React running on the client's browser, separate from Node altogether? Or are you using React on the backend too (like in Next or similar)?
This is a terrible way to evaluate companies/people, and it comes off as a “Linux person” who refuses to understand why companies use Windows.

The fact is that Windows has leagues more control features (Group Policy, etc.) than Linux does, and those features are required for any kind of sane management of an IT landscape, and are also required in many industries for compliance reasons. And no, Ansible etc. is not the same thing.

The better way to evaluate is to discuss why they chose that tool for any particular job. Linux is often the right answer for servers, and Windows often the right answer for end user computers. But there may be cases where a specific case is better suited to a different tool.
The vast majority of people are not that great at statistics. Even something as banal as "correlation is not causation, and can often be explained by a common cause" will blow a fair few minds (e.g. telling most people that old chestnut about how the murder rate is correlated with ice cream sales).
I am totally with you here. It's amazing to me how as cars have gotten easier to drive with technology, we've continued to add distractions to the driver as "features".

I don't even listen to music when I'm driving. I mentally make note of my path before I drive and might have the GPS up just to be able to glance at my arrival time or traffic info here and there, but largely I don't even touch the fancy touch screen display while in motion.
Or it might just be a totally unrelated layoff that axed a whole team / org / whatever.
If you are seriously getting that bored when driving then I'm sorry, but you should not be on the road. You are a danger to everyone around you. It's incredible that you think you need to drive fast or you'll fall asleep.
The Elegant Universe: 25th Anniversary Edition
"
In principle, a black hole can reach a point where it has as much charge or spin as it possibly can, given its mass. Such a black hole is called “extremal” — the extreme of the extremes.

These black holes have some bizarre properties. In particular, the so-called surface gravity at the boundary, or event horizon, of such a black hole is zero.
"

It had been thought impossible for such black holes to exist. However, new work now demonstrates that such black holes are indeed possible.

None have been found, however. Though this seems unsurprising. How would you detect one?
I see RDF as a basis to build on. If I think RDF is pretty good but needs a way to keep track of provenance or temporality or something I can probably build something augmented that does that.

If it really works for my company and it is a competitive advantage I would keep quiet about it and I know of more than one company that's done exactly that. The standards process is so exhausting and you have to fight with so many systems programmers who never wrote an application that it's just suicide to go down that road.

BTW, RSS is an RDF application that nobody knows about

https://web.resource.org/rss/1.0/spec

you can totally parse RSS feeds with a RDF-XML parser and do SPARQL and other things with them.
New data shows US job growth has been far weaker than initially reported
It's really important that drivers can control their car at all times. Software should not override control because it "thinks" that you are making a mistake.

This seems like a recipe for disaster when you are in a situation in which you need to respond quickly to an unexpected circumstance.
Solar flares... will be an ice age after it cools down.
My point is, it is not just about computers. It's about understanding how
the world works. The world is made up of people. As much as machines keep
society running, those machines are programmed by people--people with
managers, spouses, and children; with wants, needs, and dreams. And it is
about using that knowledge to bring about the change you want to see.
Sonos is pretty much the poster child for avoiding IoT anything.

My rules are simple: If it requires an app or a connection to an external server (even a one-time connection), it's not something I'm willing to buy.
Panorama from Firefox 4. Also called Tab Groups.
Portability isn't just about use of non-standard features. It is in general about the reliance on such features. In simdjson there is a fallback implementation without any assembly, making the project as a whole portable. You could do the same in a protobuf parser, but I honestly doubt that someone would implement a tail recursion optimization relying parser for a language like protobuf and then have a separate FSA implementation inside the same library as a fallback. Unless maybe both parsers are not hand-written, but generated with a parser generator maybe. Instead you would probably just say "fuck it, this parser library is not portable, period".
The newest weapon against mosquitoes: computer vision
That's not what "AI" means now. "AI" now means LLM babble
Dev Encyclopedia
> occasionally mild sunburns is right out

It doesn't actually work this way. Even tanning often raises your risk, and tanning more often might be more harmful than burning rarely.

Also people of color generally don't get burns, but do get sun damage and do develop melanoma.
Ford delays new EV plant, cancels electric three-row SUV as it shifts strategy
On average, but I can’t imagine how the average would completely decouple from the active service from a pool size statistics standpoint.

Probably related to the implemented reduction in standards required to hit recruitment goals.
Except they barely work for cars[0] and don’t work at all for pedestrians[1]

0: https://newsroom.aaa.com/2022/09/braking-bad-automatic-emerg...

1: https://www.caranddriver.com/news/a26469713/iihs-testing-suv...
The Anchor Element
It's fascinating to me that these controls were "upgraded" to a VB-style interface in 2016.
Lots of things are unique about the x86 consoles.

They have custom graphics APIs (and semi custom GPUs) which makes graphics translation one of the hardest parts.

The graphics systems also assume shared memory which is not a given elsewhere.

There are sometimes also some extra CPU instructions if it benefits the console that may not be prevalent, and require some translation.

And it’s even more different when you get to the PS5 era where the systems have some very critical hardware systems like kraken decompression and direct storage which don’t have super prevalent equivalents.
The UX of HTML (2023)
update: my tweets using "cis" and "cisgender" both got slightly more views and engagement than my usual posts.
https://www.amazon.com/Price-Time-Real-Story-Interest/dp/080...
Once again it kind of comes back to the density. Without the density, you'll end up with a lot of stations to try and make the line useful to people. With lots of stations, you're not realistically going 120-160km/h average speeds.

These DART LRV trains do >100km/h peak speeds. But in the end if you halved the stations you'd really crush the ridership because there's just not enough stuff or people at any particular station.
That’s always true, even for motorcyclists.
This is a fundamental observation:

"Prompt injection occurs because an LLM cannot distinguish between the “system prompt” created by a developer and the rest of the context that is appended to the query."
The station couldn't be used as a threat. And its use would be very limited in time.

Taking out the rogue orbital power station would be a competition between very trigger happy militaries. Who wouldn't want to demonstrate their satellite killers on a legitimate target?
Coming in late to this discussion but I take issue with people framing charging more for features as price discrimination. It's not, it's selling more features for more money.
Agree with all of those, and such a business has B2B potential also. That describes mine pretty well. And while I’d love to make more B2B sales, I hate dealing with purchasing departments. Dealing mainly with professionals definitely has its upsides.
Ask HN: What if civilization's growth rate exceeds it's natural evolution?
If, natural evolution has brought us at the stage where human civilization is today and since human civilization is growing rapidly in terms of knowledge, technology and economic growth. What happens if the growth rate outpaces our natural evolution?
> being ghosted after helping a customer

I am one of those people. Gotta keep in mind to let people know that the solution worked
> … mostly fine with plain text for complex communications

Like on this very website? :)
Actually, I do.

There's no wait in line. There's no waiting 2 min for each response in chat, or waiting 5 min on hold while the rep figures out what to do. And I've, shockingly, gotten issues resolved faster and better.

Using one semi-popular consumer app -- once it pointed me to docs on their site that Google wasn't finding because I didn't know what keywords to use. And twice it escalated me to send a message to the relevant team, where I got a response that addressed my problem -- and where escalation would have been necessary with a human call-center rep anyways.

The point is that it was far, far faster than any chat rep OR phone rep. And it's far faster to escalate too.

I'm sure this experience isn't universal, but I've been truly shocked at how it's turned what are otherwise 15-20 minute interactions into 3 minute interactions. At the same level of quality or better.
That is likely true. We can't agree on basic premises so there's no point pursuing a discussion regardless of the tone.
The thing that bothers me most about the navy sleep deficit is that this is a peacetime sleep deficit. If sailors are at the ragged edge of capacity in peacetime, how are we possibly setting them up to function in a real war, when things will be 3x more chaotic and stressful?
You talk about low rates like they are a choice. That's mostly not true. A better way to think about it is that low rates are a consequence of "lots of savings chasing few investment opportunities."

Sure, the fed can buy and sell treasuries and use its magical balance sheet to push/pull on treasury yields, and these in turn are the lowest risk and most liquid mechanism for duration transformation so they tend to serve as a baseline / comparison point for every other kind of investment, transmitting monetary policy into the real economy. However, the fed's magical balance sheet has limits: if they push or pull on treasury yields too hard for too long, people will stop using them as a default point of comparison and put their money somewhere else. See: Bank of Japan and the JPY Carry Trade that everyone became an expert in about 3 weeks ago. Point is: the fed can push and pull, but it can't fight the market-determined macro and win. Not for long, anyway.

Low rates are inevitable between growth sigmoids. Unless you think we can exponentially grow forever, we need to figure out how to cope. What would that look like? How could we possibly cool off the economy without paying people to not invest? Well, I mean, we could raise taxes and spend that on the people who got left behind on the last growth sigmoid, but I can hear the "boos" and "hisses" already. Hey! Tomatoes are for eating, not throwing! Guys, come on! You know it's true.
One major problem RDF has is that people hate anything with namespaces. It's a "freedom is slavery" kind of thing. People will accept it grudgingly if Google says it will help their search rankings or if you absolutely have to deal with them to code Java but 80% of people will automatically avoid anything if it has namespaces. (See namespaces in XML)

Another problem is that it's always ignored the basic requirements of most applications like:

1. Getting the list of authors in a publication as refernces to authority records in the right order (Dublin Core makes the 1970 MARC standard look like something from the Starship Enterprise)

2. Updating a data record reliably and transactionally

3. Efficiently unioning graphs for inference so you can combine a domain database with a few database records relevant to a problem + a schema easily

4. Inference involving arithemtic (Godel warned you about first-order logic plus arithmetic but for boring fields like finance, business, logistics that is the lingua franca, OWL comes across as too heavyweight but completely deficient at the same time and nobody wants to talk about it)

things like that. Try to build an application and you have to invent a lot of that stuff. You have the tools to do it and it's not that hard if you understand the math inside and out but if you don't oh boy.

If RDF got a few more features it would catch up with where JSON-based tools like

https://www.couchbase.com/products/n1ql/

were 10 years ago.
Also, shipping a broken product is a signal that you didn't put much effort into your development.
Except we have hard proof that tanning your skin raises your risk of melanoma. And, in fact, tanning regularly is more harmful than getting burned rarely.
No, because the method infinitely recurses before then.
Should Schools Ban Phones?
Oh. That's too bad. I really liked The Acolyte. I would have liked to know how it turned out.

I think it helps that I have zero experience with any of the formerly-canon High Republic stuff. I have no expectations to undercut.

I liked the characters, the writing, and the performances. It had some of the best combat that I've seen in Star Wars -- in the sense that it had fewer jump cuts and more letting the actors do the work. I especially enjoyed Manny Jacinto in the role of Darth Whatever; it was such an idiosyncratic choice.

I have some quibbles with the plotting -- they were trying to hide a secret that didn't merit being hidden, and the overall arc was pretty predictable. But that's something I'm used to ignoring.

I guess it must have been expensive to produce, and it looked it. I don't really get the economics of any of those shows, since the entire thing is on an all-you-can-eat pricing.
I'll take qutebrowser any day. Best damn thing I've learned to use since (n)vim.
I have used function local enums for the states of a function local state machine pretty successfully.
I see only one single sentence - "others had very basic questions, answers to which were given in the description of each script" - that might be referring to situations where people were seeking either clarification (including cases where the answer was in the documentation, but not obviously so) or advice on how to use the tool more effectively, (I exclude bald requests for 'hot tips' or source code from those categories.)

For all I know, the author might have both received and responded substantively (with more than RTFM) to many such requests, but has not mentioned them here because they were not part of the problem.
I wonder if migrating to tiddlywiki would be a better option. Mostly writing in Markdown, lightweight, intended for single user, open source & have good mobile web UI.
Just tried with Claude and it got it differently wrong.

My first guess was that once it became a known good strategy, it proliferated, and therefore LLMs are pulling companies that did the thing but didn't pioneer the thing, but suggesting that gave me yet another wrong answer.

I think I'm just going to file this under "apparently a pretty terrible case for the technique and I should adjust my heuristics as to when it's worth trying" at this point.
People today will still buy used cars without those features. You would force them to pay more? What if they can't?

I wouldn't celebrate taking those cars away from people.
> First, as I mentioned, testing is very likely at some point over the evolution of the module to want to either provide input or examine output, intermediate or otherwise, that exists in those types.

I have not found this to be true at all. I frequently have very long (300+ line) pure functions that do one thing, and the tests are designed to be oblivious to whatever intermediate representations are used. In fact, I think it's an anti-pattern to pull types out just for testing: tests should not be so granular that they affect how you design functions.

For example, a function that takes a JSON string containing multiple objects and returns an SQL string for a batched INSERT operation. I can easily achieve 100% coverage with a table-driven test just checking inputs and outputs.

I frequently use function-local types and function-local functions that are reused within the function. Testing has never been a problem.

> Second, as the code grows, you want to be able to refactor things freely, and types embedded in functions form a barrier to refactoring because to refactor you'll have to do something to expose that type now to multiple functions.

This hasn't been my experience either. When refactoring, I'm usually doing more encapsulation, not less. On a first pass, I write everything to have access to everything else. Only after I have a clearer idea of boundaries do I refactor.
Why Cutting Costs Expensive: How $9/Hour Software Engineers Cost Boeing Billions
Isn't it the technological cycle in IT? We have seen PC softwares in the 90s, then web apps, then mobile apps, and now AI services. Except that currently AI is immature, so companies do not know exactly what to do with it yet. They are just conscious about previous cycles, so they overreact with massive layoff to rebudget for whatever new threats and opportunities.

Despite their efforts, I suspect new companies will appear anyway and grow massively like previous cycles, and hiring will increase again. So if you were laid off or a new grad, it seems now is great time for startup, or at least to learn new skills instead of getting rehired immediately by the existing companies.
FYI: Under the Features section of the homepage, the first two "Read More..." links are broken (Wallpapers and Widgets)
From the article -

> It refers to the argument that software quality does not necessarily increase with functionality: that there is a point where less functionality ("worse") is a preferable option ("better") in terms of practicality and usability.

I only recall this phrase being used in terms of a compromise e.g. "we don't have time to finish everything, so let's ship it as it is because 'worse is better'".

Good to see the actual origin of the term.
You are correct. I meant "at-will", not "right to work"
You might be right and the cover is made of copper sheet, in which case it must be very oxidized to have this color, which would diminish its role of ESD protection.

Wasting so much copper sheet for a cover that will be dumped during the PCB assembly is not wise, but in the Soviet Union they were rather careless about wasting materials, so this would not be unusual.

For other early MOS ICs or transistors, which were similarly sensitive to ESD damage, the vendors did not use so big covers, but only a metallic clip made of thin elastic wire, which was applied on the pins and which pressed on them until removed, due to its elasticity, providing thus a short circuit to avoid discharges.

However any such metallic shorts raised the cost, so they were replaced with delivering the ICs either contained in tubes made of conductive plastic or inserted in black sponges made of conductive foam.
Show HN: Hide – A Headless IDE for Coding Agents
After making several attempts to make coding agents work I noticed the same pattern: the better the tools you give to agents, the better outcomes they produce. So I thought what if I gave them a proper IDE except it would be headless since agents don’t need a UI? That’s how I came to build Hide, a headless IDE for coding agents.

Hide is built on top of existing tools and standards for coding like devcontainers and LSP. When given a code repo, Hide spins up a devcontainer, installs the dependencies, and provides APIs for codebase interaction. Developers can craft custom toolkits using Hide APIs or use Hide's pre-built toolkits for popular frameworks like Langchain.

The project is still a work in progress but it can already be tried. I’m curious to hear what you think.
River: Launching Workflows and River Pro
I don't understand the question. What do you mean by "growth rate outpaces our natural evolution"?

Do you mean what happens if we grow faster than we can adapt to, or that our ability to exploit natural resources can support?

If so, then what happens is pretty clear: population collapse.
I'm no scientist, but I think scaly skin and fur MIGHT be different than human skin.
That's called rationality. The paradox is thinking it's worthwhile to squander the few free hours you have to make a number go up.

OP made $15K selling snake oil of a specific nature that, if it were a legitimate product, would have made far more than $15K if he simply used his tool himself instead of productizing it and selling it to rubes and crooks.
Google and Apple protect themselves against this by not allowing other apps to use these APIs on the OS . I think there are a lot of talented devs trying to make this work
Microsoft's new Xbox Adaptive Joystick puts accessibility at the center
They work very well on cars[0]

0: https://newsroom.aaa.com/2022/09/braking-bad-automatic-emerg...
This will be gold for advertisers, insurers, and law enforcement agencies.

And poison for anyone who values or needs privacy in any way.
I thought the move was just using a cracked version until you make it and can afford a real license to flex.
You can and should be practicing good 4 layer (or even 6 layer) boards even with 'easy low frequency' STM32G0 chips.

That way, you build up your habits but in a non-punishing manner.

-----------

STM32G0 will work on a breadboard, let alone a properly designed well grounded PCB.

But... You can still see the EMI through the use of a loop antenna-oscilloscope.

Simply attach the ground-alligator clip to the probe top while setting your oscilloscope to AC coupling mode. Zoom in as much as you can on your oscilloscope.

Now wave this 'loop' around various circuits and traces. You'll see the EMI noise coming off of bad circuits... But only within 5cm or less. (loop antennas can pickup the so called near fields very well).

Alas: proper EMI testing is about far fields, not near fields. Still, it's good to have a methodology to actually see, feel and touch EMI in your projects.

--------

Getting a physical feel of electricity for real (and not the fake electricity we pretend happens in resistor/capacitor/inductor lumped element models) is the important leap you need to start learning.

Making consistent PCB designs and measuring EMI off of them is a great way to learn and improve.

You probably only need to make 4 or 5 designs while thinking about these issues to really understand. There is enough study material to give you the gist of theory... And the EMI loop antenna oscilloscope gives you a good enough measure (albeit flawed but still a real live measurement).
Hanlon's razor comes to mind, but it seems like a huge oversight for Debian and Debian-based distros like Ubuntu and Mint to break. That's a large proportion of the Linux userbase. I wonder if this affects Debian more generally or does the installation method matter?
I use gpt4o and sonnet regularly. They are so often wrong. Just yesterday gpt4o spit out consistently incorrect tree sitter queries and refused to accept it was wrong. Its all so pointless and slowed me down compared to just reading the documentation.
Computer vision has come a long way