MurphyA/hacker-news huggingface dataset:
by recursivecaveat | 2025-05-17 08:25:16+00:00
For context, the first law to be struck down for overreaching the commerce clause since the 40s was one that prohibited the possession of a firearm within a school zone. All that was necessary to amend the law was to add a rider that it was only illegal if the gun had been bought/sold across state or international lines at some point.

The commerce clause is interpreted extremely broadly. It's basically unfixable though, because so many decades of laws rely on it, and passing a constitutional amendment to just directly grant the federal government a bunch of powers, even ones it already has, is politically impossible. (indeed passing any non-trivial amendment at all is very unlikely for the foreseeable future)
by dcrimp | 2025-05-17 08:25:25+00:00
I wonder if, for a given dialect (and even DDL), you could use that token masking technique similar to how that Structured Outputs [1] thing went:

Quote: "While sampling, after every token, our inference engine will determine which tokens are valid to be produced next based on the previously generated tokens and the rules within the grammar that indicate which tokens are valid next. We then use this list of tokens to mask the next sampling step, which effectively lowers the probability of invalid tokens to 0. Because we have preprocessed the schema, we can use a cached data structure to do this efficiently, with minimal latency overhead."

I.e. mask any tokens that would produce something that isn't valid SQL in the given dialect, or further, a valid query for the given schema. I assume some structured outputs capability is latent to most assistants nowadays, so they probably already have explored this

[1] https://openai.com/index/introducing-structured-outputs-in-t...
by CBiddulph | 2025-05-17 08:25:39+00:00
I checked Figure 26 - the way it's presented is a bit confusing, but the model prompt doesn't include the expected output. All the model sees is "Here is the function f, the input provided 'cookie', and we need to predict the output." plus the code. "Input:" and "Output:" are shown for the benefit of the human reader.

The CoT does seem pretty nonsensical. It might be an instance of vestigial reasoning: https://www.lesswrong.com/posts/6AxCwm334ab9kDsQ5/vestigial-... (not to promote my own blog post)

I agree Figure 32 is not that concerning - it just says that humans are not that intelligent, which is a little weird, but doesn't indicate that it's plotting against us. It's actually good that we can see this somewhat questionable behavior, rather than it being quashed by process supervision - see https://openai.com/index/chain-of-thought-monitoring/
by NobodytheHobbit | 2025-05-17 08:26:00+00:00
You're trying to expand the human experience instead of individual human experience which is really yours from your perspective and mine from my perspective if I can be redundant by enumerating. The frustration comes from the sacrifice of individual experience to this weird aggregated experience in the machine. It will push the capability of technology but does that service the aim of luxury made easy for the many to acquire as tech is supposed to do? What profit a person to gain the whole world but lose the very thing that makes themselves them? It feels systemically dehumanizing.
by CreepGin | 2025-05-17 08:27:02+00:00
Need to dig into this more, but I built OneJS [1] (kinda like React Native but for Unity), and at first glance this looks perfect for us(?). Seems to be super handy for Unity where you've got meshes, RenderTextures, ComputeBuffers, and NativeContainers allocations that all need proper disposal outside of JS. Forcing disposal at lexical scopes, we can probs keep memory more stable during long Editor sessions or when hot-reloading a lot.

[1] https://github.com/Singtaa/OneJS
by cyberax | 2025-05-17 08:27:31+00:00
> Really surprised that I missed the wave on this and wonder if it was a "we want people to buy two things" rather than no one actually using it. Maybe I just have to wait for it to come back around?

It's worse. There are _no_ new stand-alone Thread Border Routers on the market. You might find old stock of GL.iNet routers, and I believe there were a couple of other experimental devices.

If you want a robust Matter network, your best bet is to use Apple or Google devices as border routers. Or you can use a USB ZigBee stick with HomeAssistant.

> [EDIT2] Nope, more confused. Multi-protocol antennas exist. Why is this not a set-and-forget option for all the routers???

No market demand, so router manufacturers just don't bother. The initial versions of Matter were a burning trash fire.
by lenkite | 2025-05-17 08:27:33+00:00
Tip of the Day: You can wrap errors using "fmt.Errorf" in Go - this gives you a nice chain of error messages which is a pseudo stack trace. Another tip is to define and leverage sentinel errors when wrapping errors so you can test using "errors.Is" higher up when doing error handling in the call-hierarchy - like when mapping to http errors or exit codes.

Using "fmt.Errorf" is lean and painless compared to defining custom errors.
by johnisgood | 2025-05-17 08:29:02+00:00
I know, that is why you need the desire, the will to learn. I have been using LLMs for this, so I know it is possible. I understand what you are saying though, and it is indeed a sad state of affairs, but then again, this was the case due to search engines, Wikipedia, and so forth, long before LLMs.

Again, you can truly learn a lot using LLMs, but you have to approach it properly. It does not have to be just "facts", and sometimes, even learning "facts" is learning.

I can use LLMs and learn nothing, but I can use LLMs to learn, too!
by prmph | 2025-05-17 08:29:52+00:00
IDK. I cancelled my Claude subscription because for the highly creative code I am working on, it is maybe useful for like 5% of it, and LLM produced code is still mostly slop.

I'm generally able to detect LLM writing output; In most contexts, I discount it as fluff with little depth.

AI produced paintings are still weird and uncanny.

So I'm utterly unable to identify with the author's sense of futility whenever they want to write or code. I truly believe the output of my skill and creativity is not diminished by the existence of AI.
by morpheuskafka | 2025-05-17 08:29:53+00:00
It’s doubtful you’ll get any answers. Lawyers are of little help due to “consular nonreviewability” and your case clearly has hit some sort of national security flag. Since this was pre Trump II, it likely was a real human review not their new approach of automated revocations for poorly designed queries (a student was recently revoked due to fishing license citations).

As I understand, AP generally means Washington and not the consulate is actually the block/decision maker now, but they wouldn’t even officially tell you that. It could be with State or they could be waiting an opinion from someone. Picture some CIA agent who got stuck with a boring desk job and has a stack of thousands of visas to research.
by lenkite | 2025-05-17 08:32:23+00:00
Please - you can definitely do this in Java. Its been a standard basic feature of Java tooling for 25 years now. (Its the equivalent of saying that Rust doesn't have a package manager).

I strongly urge reading some elementary tutorials to educate yourself.

See https://www.baeldung.com/java-application-remote-debugging for CLI based remote debugging

But most people use IDE's.

See https://www.jetbrains.com/help/idea/debugging-your-first-jav...

and https://www.jetbrains.com/help/idea/tutorial-remote-debug.ht...

Java's debugging experience is better than any language out there - with the possible exception of Common LISP. I always cry when I need to debug a project written in another language after so much comfort using Java.
by ehecatl42 | 2025-05-17 08:32:51+00:00
I'm in the process of messing around with a new distro where things are not quite what I am used to, and the usual suspects have been pretty helpful there... except for when they just make shit up

Grok is the only one that swore back at me. I kinda liked that. The others are way too polite, "Artificial Intelligence? Artificial Canadians, more like", my uni-going kid joked.
by s1artibartfast | 2025-05-17 08:33:44+00:00
Then you see the collapse of the global economic system as credit crashes and nobody can effectively transact business.

If you cant trust a currency, you have to revert to much more cumbersome and limiting contracts. e.g. loaning cash today to be repaid in gold tomorrow.

Furthermore, the undesirability of a currency severely limits the ability of governments to maintain economic stability.
by baxtr | 2025-05-17 08:33:51+00:00
> Learning by reading LLM output is cheap. Real exercise for your mind comes from building the output yourself.

Fully agree.

Sorry to say it like that but I thought the post was a bit "whiny". I really like the thought process of the author. An LLM would have never created a post like that. I think he should not give up.
by tkgally | 2025-05-17 08:34:01+00:00
Long-time Japan resident here. The IC cards do work quickly and smoothly, but the retail payment system overall is a mess because different stores accept different combinations of dozens of electronic payment brands.

When shopping, I prefer to use the Suica app in my iPhone as it’s just a quick touch, but some stores won’t accept it so I have to use the Nanaco app—which requires a face recognition step—or pay in cash. I haven’t bothered to set up a QR code app yet. Twice, when I tried to install PayPay, the most common one, I got stuck on an authentication step and gave up.

Even shops within the same department store accept different combinations of payment systems. In my local Takashimaya, I can use Suica to buy food in the basement but not in the restaurants on the upper floors. Shops in the nearby Sogo Department Store do not accept Suica, only Nanaco, except for the Starbucks on the third floor, which does accept Suica.

Convenience stores seem to accept nearly everything, as you can guess from the number of logos on this sign:

https://news.mynavi.jp/article/osusumecredit-107/images/003l...

Some relatives are arriving in Japan next Tuesday for a three-week visit, and they asked me what they should do about credit cards, digital money, cash, etc. I realized that, despite living here, I barely understood the situation myself, so I had Gemini Deep Research prepare a report for them:

https://docs.google.com/document/d/1WY4AM0mJS94uwPMK8XjIQMLf...

Another point to add is that in the 1980s and 1990s big security problems emerged with the magnetic cards that were used widely then for transportation and telephone calls. Here is what Perplexity has to say about that:

https://www.perplexity.ai/search/i-want-some-information-in-...

I well remember the “open street markets in urban areas like Shibuya ... known for selling counterfeit cards.”
by Asmod4n | 2025-05-17 08:35:37+00:00
Thread is a WiFi replacement, the devices talk IP over thread.

And it has an encrypted pairing process to your vendor controlled hub. Said vendor can allow or disallow it which other vendors may speak with said hub.

Here is the landscape we have: HomeKit: fully closed, requires certification from Apple. Very expensive and limited functionality.

Zigbee: fully open, anyone can make Zigbee devices and sell them without any restriction. Operates on the same frequency all over the world. Devices are super cheap. You can expand the protocol however you like as a vendor.

Z-wave: fully closed, several incompatible frequencies, requires certification to sell devices.

Thread and matter: semi closed, same ieee standard as Zigbee for data transfer. Vendors can allow it to talk to devices of other vendors. Requires certification. Same price tag as HomeKit, aka 3-4 more expensive than Zigbee.

All of them require hubs. And only with Zigbee you are guaranteed to have interop between all vendors and all devices sold across the globe. Thanks to Home Assistant. With thread the vendor can simply disallow you to use your devices with HomeAssistant, which is unacceptable by me.
by csomar | 2025-05-17 08:35:51+00:00
> I think this is a reflection of where engineering work has moved over the past where a lot of my time now is spent reviewing code rather than writing it.

This was always true. Front-End code is not really code. Most of the back-end code is just convert and moving data around. For most functionality where you need "real code" like crypto, compression, math, etc.. you use a library used by another 100k developers.
by unscaled | 2025-05-17 08:37:12+00:00
I've had a similar journey to you — I've gotten familiar with Lua through using embedded Lua in apps like Neovim, Hammerspoon, Sbarlua and Wezterm. But unfortunately I feel the exact opposite: the more I use Lua, the more I hate it.

Lua doesn't have as many warts as languages like JavaScript or PHP do. The worst offenders are probably the 1-indexing (more of an stdlib issue than a language issue) and variables being global by default (same as JavaScript). It's a minimalist language and I guess this is one of the reason it is so popular as embedded language. But that's exactly why I find myself preferring even (modern) JavaScript to Lua. Lua is so barebones it's just too painful to use for anyone who got used to programming in other languages.

> That being said, lua's lack of popularity probably stems from its limited stdlib, which often feels incomplete, and the absence of a robust package manager. luarocks is a pain to work with.

And that's the crux of it. I guess many people are fine with writing tons of WET code using a barebones library and a bunch of copy-pasted code files thrown around when it comes to their personal scripts. That's all fine, but my brain isn't wired that way and I just feel excruciating pain every time I realize I have to write Lua again.

Luarocks is painful to use, but the main problem is that every embedded Lua you use deals with packages differently. Lua 5.1, 5.2, 5.3, 5.4 and LuaJIT are all incompatible with each other, since every version has breaking changes. Additionally, due to the lack of a standard library, many lua packages have to rely on native code, which makes portability and compatibility even worse. It all means that Lua doesn't really have a package ecosystem.

> But lua isn't like that. It's not weakly typed like JavaScript - it's more akin to pythons dynamic duck typing

I don't understand how Lua is less weakly typed than Java. Both of these languages have dynamic typing and do not support any type annotations or type inference in their core dialects, and both languages have "duck typing".

Where I feel JavaScript is vastly superior to Lua is tooling. JavaScript linters and language servers are far more advanced than Lua language servers, to the point where they can detect a lot of errors that I would waste hours on debugging with Lua. Due to Lua's atrociously bad error messages, without writing a lot of error handling code and copious printf statements, it would be quite hard to find where you've even made a typo in a variable name once your code gets large enough.

So yeah, I get why for some people Lua can be fun, because it's conceptually minimalist, but in practice I hate it with passion.
by matharmin | 2025-05-17 08:38:30+00:00
Destructors I other languages are typically used for when the object is garbage collected. That has a whole bunch of associated issues, which is why the pattern is often avoided these days.

The dispose methods on the other hand are called when the variable goes out of scope, which is much more predictable. You can rely on for example a file being closed ot a lock released before your method returns.

JavaScript is already explicit about what is synchronous versus asynchronous everywhere else, and this is no exception. Your method needs to wait for disposing to complete, so if disposing is asynchronous, your method must be asynchronous as well. It does get a bit annoying though that you end up with a double await, as in `await using a = await b()` if you're not used to that syntax.

As for using symbols - that's the same as other functionality added over time, such as iterator. It gives a nice way for the support to be added in a backwards-compatible way. And it's mostly only library authors dealing with the symbols - a typical app developer never has to touch it directly.
by genewitch | 2025-05-17 08:39:08+00:00
Hmm, I thought Matz had a story like this but AI tells me it's probably apocryphal. Ruby developer applies for ruby job where they want more years of experience than existed since he wrote ruby.

Oh well, I know that it happens, saw it in 2010 with "cloud" when it was basically still just EC2,S3,RDS, and whatever the not-haproxy-but-haproxy load balancer was called, ELB. Job poatings asking for half a decade or more of experience. I always get the feeling there's some requirement they post jobs public but only hire internal, but I have no way to prove that; I have heard others say this, though.
by PeterStuer | 2025-05-17 08:39:54+00:00
Bottom of the barrel consultancy shops will hire as cheap as possible. E.g. some liberal arts major whose only coding experience is a 2 week 'bootcamp'.

They will sell them as 'junior SE' on the first 2 projects, 'medior SE' on the next and then they'll be 'senior SE' within 18 months tops of leaving bootcamp.

The projects by these shops are nearly always troubled, requiring many (customer paid in change requests) reworks before (if ever) getting in production.

They seldom are hired to do projects for a client twice, but it's a lemom's market and there's plenty of fish in the sea.

So what happens with these shops is that their SE's will rely even more than average on AI assistants, and deliver a v0.1 faster, but with 10x more code and holes than before, taking even longer to get in production but given lemons and fish have not changed they'll still hire, now even cheaper out of 'prompt engineering bootcamp'
by wkat4242 | 2025-05-17 08:42:08+00:00
Also, tile has a really useless network. I marked mine lost and carried it through a busy city for a month until it got picked up :P

It's probably because the only people using the app are those that bought one and they're not very common here in Europe. With Apple's, Samsung's and Google's network most phones report them. Not just those of the people who own a tag.
by whyenot | 2025-05-17 08:43:40+00:00
Whataboutism like this is a rhetorical tactic to deflect uncomfortable or difficult conversations. I'm not sure I agree with OP about software engineers and business executives being the "worst thing for the planet," but it does feel like there is a growing distrust of both groups. It's something to pay attention to, especially if AI begins to really take away people's jobs or cause social upheaval. There is already a lot of anger directed at some business executives right now.
by archi42 | 2025-05-17 08:46:38+00:00
Mind that you should not use a Pi with SD card for HA. I'm not sure what the official stance is, but: In my peer group failing SD cards were responsible for a vast majority of issues. Causes are probably a mixture of heavy logging and power outages; either from the grid, or user error not shutting down the Pi before disconnecting power.

At our house I run HAOS in a VM (on a beefy server). My wife uses the app on her phone (as do I), and we have a cheap tablet with the app for guests. On the laptops/desktops we also have access to the web UI.

As the article points out, remote access for the phones can be done via the commercial offering or a VPN (as in our case: wireguard on the OpnSense).
by Joel_Mckay | 2025-05-17 08:47:05+00:00
Would recommend getting a Ham technician license, as it will prepare you to understand the LNA and filter hardware.

Best regards =3

https://www.youtube.com/watch?v=g5uV6zI_978

https://github.com/AP-HLine-3D/HLine3D

https://www.rtl-sdr.com/buy-rtl-sdr-dvb-t-dongles/

https://github.com/byggemandboesen/H-line-software
by jstummbillig | 2025-05-17 08:51:05+00:00
Simple way would be to use either Sonnet 3.7/5 or Gemini 2.5 pro in windsurf/cursor/aider and tell it to search the web, when you know an SDK is problematic (usually because it's new and not in the training set).

That's all it takes to get reliably excellent results. It's not perfect, but, at this point, 90% hallucinations on normal SDK usage strongly suggests poor usage of what is the current state of the art.
by ankit219 | 2025-05-17 08:51:13+00:00
This is a very millennial style of thinking (myself included). It feels like people can't just have a hobby, they have to be great at it. The sense of greatness, the sense of accomplishment is not merely doing a thing, but getting to an outcome which is measurable and/or which we can tell others or put on social media. I thought it was only me, but turns out this is all around me. I started gardening, spending 15 mins a day, I talk to a friend around it. They tell me about this gardening insta page, tips, and community. The community has people doing things at a better pace / rate than me. Putting in more effort than me. I suddenly feel that rush to have some competition. Then it becomes boring because the fun was the fifteen minutes i spent in there, not the part where it occupied rest of my day. Side projects, writing, painting, I somehow see people doing this all the time. Picking the wrong goals, or expecting a dopamine hit from wrong places.

Choosing the right goals is the great way to put that in perspective. I don't know what happened with hobbies, but it's not there anymore. (so much that i dont tell people i do xyz things on the side)
by lycopodiopsida | 2025-05-17 08:51:32+00:00
I don’t care about opinions on Go the language, but the tooling around is excellent without being bound to an IDE. And no matter what you use: Goland, VSCode or dape in Emacs, your debugger will plug in the same delve.

> the large majority is on VSCode

Here, fixed it for ya. But since when is VSCode an IDE? It is just an extensible editor, not very far from Emacs or neovim. We’ll see how it plays out, but I assume that IDE is a dead concept. No one develops new IDEs anymore, besides the usual money-milking with “Idea + plugin=>new ${name}ide” from Jetbrains.
by DonHopkins | 2025-05-17 08:52:32+00:00
Oh, so an AI assisted number of problems increaser?

https://blog.codinghorror.com/regular-expressions-now-you-ha...

https://blog.codinghorror.com/parsing-html-the-cthulhu-way/

https://en.wikiquote.org/wiki/Jamie_Zawinski
by immibis | 2025-05-17 08:55:21+00:00
Bitcoin is trustworthy. Monero is trustworthy. Ethereum is relatively trustworthy, but if you make a transaction that Vitalik doesn't like, he forks the whole coin to roll it back.

Is Binance Coin trustworthy? Hell no (but it's fast and cheap - because it's centralized all the transaction limits are turned up to 11). Is Terra trustworthy? It's a neat idea if it works - real-world evidence proves it doesn't. Is Jarwain-Immibis Bond Token trustworthy?
by globular-toast | 2025-05-17 08:55:49+00:00
For road navigation it might be worth seeing if your country has a proper system in place and learning how to use it. In the UK, for example, there is a simple "algorithm" to get you where you need to go. The signage is hierarchical starting from motorways and trunk routes and descending down to primary and secondary local routes. So to navigate anywhere you go via trunk routes and follow the signs to the nearest trunk destination beyond where you are trying to go. Then as you get closer you should start to see your actual destination appear on the signs as a primary route. Once you learn the system it's really quite possible to navigate by yourself anywhere.

The nice thing is you won't end up routed down some ridiculous difficult road just because the GPS says so and it calculated it would save 0.2 seconds if you were somehow going at the speed limit the whole way. Your brain includes a common sense module, and it's usually right.