MurphyA/hacker-news huggingface dataset:
by thro1 | 2025-08-24 01:47:30+00:00
I'm sorry to hear that. Other level no JS solution for this - without "after" - but with caching, using XSL:

https://news.ycombinator.com/item?id=41104845

Currently it looks like at least Firefox and Chromium both cache stylesheets and included files as you'd expect. In fact, you can use this to increase cacheability in general. e.g. when this site is having performance issues, it often works logged out/when serving static versions of pages. It's easy to make every page static by including a `/myuser.xml` document in the xsl template and using that to get the current logged in user/preferences to put on the page. This can then be private cached and the pages themselves can be public cached. You can likewise include an `/item-details.xml?id=xxxx` that could provide data for the page to add the logged in user's comment scores, votes, etc. If the included document fails to fetch, it falls back to being empty, and you get the static page (you could detect this and show a message).
by gwbas1c | 2025-08-24 01:47:41+00:00
I got out when Elon Musk fired the whole Supercharger team.

That was roughly a year after the entire North American Auto industry standardized on the Supercharger standard, the Supercharger Network opened to non-tesla cars, and they were poised to expand.

The rational thing to do if Elon Musk didn't want to be in the charging business would be to spin out the Supercharger Network as a different company. Instead, he fired the entire team over a petty argument.

That was the first clear case of mismanagement that I saw.
by DaveZale | 2025-08-24 01:48:57+00:00
agree 100%

I am the youngster volunteer at a local demonstration garden. The elder volunteers in their 70s are all very sharp. They usually don't stop until arthritis or back problems force them to stop. But their minds are agile, and they are all very social, cooperative, and upbeat.

The key seems to be enjoying it all, and not being too aggressive. Moderation. Going with the perennials, especially natives to the area, can produce unexpected large displays of very vibrant flowers that attract a lot of pollinator and bird life. A high tolerance for failure helps greatly. You'll know when something is working in your niche microenvironment.
by gsf_emergency_2 | 2025-08-24 01:49:16+00:00
Curious that you can "mix" PT & EU functionals (with perceptron) but not the corresponding "decision-making mechanisms"..?

(I might have missed an explicit description of these "decision-making mechanisms" in the paper)

>we find that the ... most complex class ... lies outside the simple classes

Another curious statenent
by RossBencina | 2025-08-24 01:49:54+00:00
A search for "Gloria Mark 23 minutes" is interesting reading.

At this point I would suggest going to the source, establish contact with Gloria Mark or a relevant student or co-author and ask whether Dr Mark can confirm that it is an accurate quote, and if so, whether it is a published result. One approach might be to develop the enquiry through a potentially sympathetic third person such as Cal Newport.
by zonghao | 2025-08-24 01:52:23+00:00
My Mac mini M4 has been sitting idle because I can't install Linux on it, and I don't know how to operate it from a remote terminal in macOS. I'm only familiar with the Linux terminal for things like firewalls, and sometimes I don't even know how to install packages on macOS that work perfectly fine for me on Linux.

I guess this is because I'm not skilled enough, but I really hope Asahi Linux can support the M4 chip soon, or why can't Apple provide a native installation channel? I think many Mac mini owners would love that.
by Arnavion | 2025-08-24 01:53:01+00:00
If OP is looking for ideas, there are two intermediate steps between the extremes of "write every line to stdout" and "build up a buffer of the whole output and then write it to stdout".

1. `stdout().lock()` and `writeln!()` to that. By default using `print*!()` will write to `stdout()` which takes a process-wide lock each time. (Funnily enough they use .lock() in the "build up a buffer of the whole output" section, just to do one .write_all() call, which is the one time they don't need to use .lock() because Stdout's impl of write_all() will only take the lock once anyway.)

2. Wrap the locked stdout in a `BufWriter` and `writeln!()` to that. It won't flush on every line, but it also won't buffer the entire output, so it's a middle point between speed and memory usage.

---

For the final proc macro approach, there is the option to unroll the loop in the generated code, and the option to generate a &'static str literal of the output.
by gwern | 2025-08-24 01:54:11+00:00
It is lacking in URLs or references. (The systematic error in the self-reference blog post URLs is also suspicious: outdated system prompt? If nothing else, shows the human involved is sloppy when every link is broken.) The assertions are broadly cliche and truisms, and the solutions are trendy buzzwords from a year ago or more (consistent with knowledge cutoffs and emphasizing mainstream sources/opinions). The tricolon and unordered bolded triplet lists are ChatGPT. The em dashes (which you should not need to be told about at this point) and it's-not-x-but-y formulation are extremely blatant, if not 4o-level, and lacking emoji or hyperbolic language; hence, it's probably GPT-5. (Sub-GPT-5 ChatGPTs would also generally balk at talking about a 'GPT-5' because they think it doesn't exist yet.) I don't know if it was 100% GPT-5-written, but I do note that when I try the intro thesis paragraph on GPT-5-Pro, it dislikes it, and identifies several stupid assertions (eg. the claim that power law scaling has now hit 'diminishing returns', which is meaningless because all log or power laws always have diminishing returns), so probably not completely-GPT-5-written (or least, sub-Pro).
by shakna | 2025-08-24 01:54:18+00:00
I'm gonna call you out on this one, sorry.

Telling someone who is victim not to be such a victim is... Nothing but being a dick. They're hurting. There's better ways to talk to people. That people don't think of them, is kinda how they end up being a victim in the first place. They fall through the cracks, and that makes them more vulnerable.

Was this the time and place? Probably not.

Are you helping? Fuck no.
by tomhow | 2025-08-24 01:57:34+00:00
This is an unacceptable comment on HN. You've been here long enough to know that. Please make an effort to observe the guidelines and keep in mind that HN is only a place where people want to participate because others make an effort to keep the standards up.

https://news.ycombinator.com/newsguidelines.html

We detached this comment from https://news.ycombinator.com/item?id=45000433 and marked it off topic.
by hodgehog11 | 2025-08-24 01:58:48+00:00
It's great to see that xAI has delivered on the promise to release Grok-2. Might be a good idea to run some tests to be sure that it matches benchmarks of the original model to confirm it is the complete release. But even if it is, it's also probably worth keeping in mind that this model is now far behind SOTA, even amongst smaller open weight models.
by efitz | 2025-08-24 01:59:10+00:00
OP here. I was not solicited by anyone nor did I solicit or accept compensation from anyone for this or any other post.

It’s not an advertisement; I apologize if I come off as a Claude Code fanboy.

If you read part 1 of my post (linked in my OP) you will see that I disclosed exactly how much I paid for my usage, and also the reasons that I ended up choosing Claude Code over other agents.
by BandButcher | 2025-08-24 01:59:11+00:00
I have used ZoneMinder (https://zoneminder.com/, an open source security cam software) previously for an apartment setup using webcams, but i believe it can work with ip cams, etc. and allows you to save to an external hard drive/ssd/etc...

Wifi im not too sure on, you could try a new cell service but they upcharge on hotspotting... so maybe just regular internet provider or satellite (ex, starlink)

As far as solar, that would likely be your biggest issue... specifically robustness. Solar provides constant energy during the daytime with no obstructions (ex. clouds, shade) but at night time til early morning, power output will be zero (or close to it).

You will need either some type of battery storage or power generator to allow you to have power during solar outages. That is a lot more costly, a couple $1000 at least (inverter or microinverters, charge controllers, batteries, installation costs).

The bright side is you wouldn't need very many panels as the setup shouldn't run you more than 2kW per day (high estimate imo) I'm ballparking that you would need a central computer to run zoneminder (raspberry pi 4/5 or a cheap windows desktop) and the ip cams, wifi router/modem). Those should be able to run on less than 2kWh per day but depends. 6 panels at 350-400W (~200 per, so around $1500 for solar panels but doesn't include install)

I think you could do it all for under 5k (USD), but the internet/wifi most likely will be your biggest fee going forward.
by perching_aix | 2025-08-24 01:59:36+00:00
I shall join the ranks of the idiots then, cause the question "Are the certificates on these IoT devices centrally managed?" makes no sense to me either, just not because I wouldn't know what certificates are.

Centrally managed? Like are these devices enrolled into some centralized management system, and so is the question whether that system also manages the OS root cert store? (And would have been followed up with whether it blocks TLS traffic that it's unable to intercept?) Or is it maybe whether the vendor's applications deployed to these devices use that or carry their own?

But then I read on, and PKI and HTTPS comes up. Is centrally managed then referring to PKI being a centralized trust system, and so is the question really "are you using CA issued domain certs"? Why the contrived phrasing then?

And then there's a mention of an internal domain name. Internal as in private? Sounds a bit suspect that the guys who don't know what a certificate is would have a private DNS with a private CA to boot, but it sure would be centralized alright.

I think it's inquisitive that the first common point reached was HTTPS: yes/no? -> yes. But then even that was seemingly a bit too new info: in the portrayed discussion it is first also asked whether HTTP is in picture. This makes me question, just what did the author even know about these devices when they prompted their centrally managed certificates question.

Maybe a better question at that stage would have been, "So, how do these devices communicate, and what to?", letting them explain it in their own terms first?
by throwaway81523 | 2025-08-24 01:59:54+00:00
Prospect theory is an analysis of how people make decisions in certain contexts that don't line up with utility maximization. That is, it studies a psychological phenomoneon. Think of a $1.99 price tag vs a $2.00 price tag. The difference looks much larger than it is. That's psychology.

It's unsurprising that the effects are seen most when the amounts are small. With large amounts, people think harder and are more likely to follow rational choice theory.
by slinkypinky | 2025-08-24 02:00:39+00:00
Can you explain what a “differentiable” decision theory is? I understand, for instance, maximizing expected value (and taking a derivative to get a maximum), but I don’t understand how the concept of maximizing expected value could itself be made into a derivative.

Edit: Seems like a “differentiable theory” is just one that can be framed in terms of an optimization problem that can be solved by gradient descent. Is that right?
by thunky | 2025-08-24 02:00:58+00:00
> my goal is to never spend down my wealth

Never spend it, but you're ok with it being taken from you? You're a special case retiree if you can watch the market take half of your life savings and cheer it on. Especially with a 4% withdrawal rate, which fails a lot of 30 year backtests.

> I am withdrawing a maximum 4% a year and expect my portfolio to average >6% per year. When I die I will own the largest number of shares I ever owned in my lifetime.

A lot of successful backtests end with significantly fewer shares, too. There are no guarantees here.

There has to be some floor where you stop cheering on a market crash, because if it drops low enough for long enough then you are screwed and so are your heirs.

Be careful what you wish for.
by entrepy123 | 2025-08-24 02:02:10+00:00
> regret my expensive switch from Linux to MacOS. MacOS is just so weird, it doesn't make any sense to me.

When picking up macOS, two things really help:

1. Having some macOS techies in your circle (co-workers or friends) to whom you can fearlessly ask random newbie questions, since there's a good chance there's a way that works well, which you are not discovering, and one or more people in your Mac User Friends group will have a good suggestion. (Maybe an LLM or Reddit can solve this, but real people are good, too.)

2. Leaning into whatever the macOS way to do the thing is. Don't try to do it the Windows or Linux way. Fall into the Apple paradigm. Don't fight it.
by gsf_emergency_2 | 2025-08-24 02:02:15+00:00
In video narrator feels sorry for not explaining how to do it :)

Albeit ime this is something even kids do, not sure why it is "new"?

Edit: I may be referring to the Sidek serve it was based on

From reddit (also not 100% sure):

The sidek serve is an other technique and has been banned for some decades (not 100% sure, but the spinning effect was caused by hitting the feathers first , I think), whereas the new spinning serve resulted from spinning the shuttle with the fingers before hitting the cork.

https://old.reddit.com/r/badminton/comments/1e18zys/comment/...
by Ygg2 | 2025-08-24 02:03:31+00:00
> Given Zig's safety guarantees (which are stronger than C++'s), and given its goals (which are different from C++'s), the question should be what should we be willing to give up to gain safety from use-after-free given the language's goals. Would more safety be better if it cost nothing?

The problem with this statement is that without a memory safety invariant your code doesn't compose. Some code might assume no UAF and other parts could and you'd have a mismatch. Just like borrow checker is viral, so is the unsafety.

> If you don't say what Zig programmers should give up to gain more safety, saying "all new languages should be memory-safe" is about as meaningful as saying we should write fewer bugs.

The goal of all engineering disciplines, including software, should be a minimization of errors and defects.

Here is how engineering in any other non-computer science field takes place. You build something. See where it breaks; try to build it again given time and budget constraints. Eventually you discover certain laws and rules. You learn the rules and commit them to a shared repository of knowledge. You work hard to codify those laws and rules into your tools and practice (via actual government laws). Furthermore, you try to build something again, with all the previous rules, tools, and accumulated knowledge.

How it works in tech. You build something. See where it breaks, say that whoever built it was a cream-for-brain moron and you can do it better and cheaper. Completely forget what you learned building the previous iteration. See where it breaks. Blame the tools for failure; remove any forms of safety. Project cancelled due to excessive deaths. Bemoan the lack of mental power in newer hires or lack of mental swiftness in older hires. Go to step 1.

You'll notice a stark contrast between Engineering and Computer Tech. Computer tech is pop culture. It's a place where people wage wars about whether lang X or lang Y is better. How many times did programming trend go from static to dynamically typed? How many times did programming learned a valuable lesson, only for everyone to forget it, until decades later another language resurrected it?

Ideally, each successive language would bring us closer and closer to minimizing defects, with more (types of) safety and better guarantees. Is Rust a huge leap compared to Idris? No, it's better than Ada at memory safety that's for sure.

But it's managed to capture a lot of attention, and it is a much stricter language than many others. It's a step towards ideal. And how do programmers react to it? With disgust and a desire for less safety.

Sigh. I guess we deserve all the ridicule we can get.
by king_geedorah | 2025-08-24 02:05:54+00:00
I'm curious if anybody has used this for their own systems and if the savings were substantial. Fedora used something seemingly equivalent (deltarpms) by default in dnf until last year[1] and the rationale for removing it seemed to be based at least in part on the idea that the savings were not substantial enough.

[1] https://fedoraproject.org/wiki/Changes/Drop_Delta_RPMs
by marcianx | 2025-08-24 02:06:49+00:00
And also the issue with checked exceptions is that one can't be generic over the checked exception, at least in Java. So it's impossible to write out a universally useful function type that's strictly typed on the error. This definition of `ThrowingFunction` for Java [1] needs just have `throws Exception`, allowing just about anything to be thrown.

Most functional-inspired languages would just have a single `f: T -> Result<U, E>` interface, which supports both (1) a specific error type `E`, which can also be an uninhabited type (e.g. never type) for an infallible operation, and (2) where `U` can be the unit type if the function doesn't return anything on success. That's about as generic as one can get with a single "interface" type.

[1]: https://docs.spring.io/spring-framework/docs/current/javadoc...
by Ygg2 | 2025-08-24 02:08:11+00:00
> It isn't optional, and yet it's also not at any cost, or we'd all be programming in ATS/Idris.

In a better, saner world, we'd writing Ada++ not C++. However, we don't live in a perfect world.

> The goal isn't to write the most correct program; it's to write the most correct program under the project's budget and time constraints.

The goal of ANY software engineer worth their salt should be minimizing errors and defects in their end product.

This goal can be reached by learning to write Rust; practice makes perfect.

If GC is acceptable or you need lower compilation times, then yes, go and write your code in C#, Java, or JavaScript.
by hxtk | 2025-08-24 02:09:28+00:00
> against a key-value store no less, which probably fundamentally limits what optimizations can be done in any general way

I would disagree with this assumption for two reasons: first, theoretically, a file system is a key value store, and basically all databases run on file systems, so it stands to reason that any optimization Postgres does can be achieved as an abstraction over a key-value store with a good API because Postgres already did.

Second, less theoretically, this has already been done by CockroachDB, which stores data in Pebble in the current iteration and previously used RocksDB (pebble is CRDB’s Go rewrite of RocksDB) and TiDB, which stores its data in TiKV.

A thin wrapper over a KV store will only be able to use optimizations provided by the KV store, but if your wrapper is thick enough to include abstractions like adding multiple tables or inserting values into multiple cells in multiple tables atomically, then you can build arbitrary indices into the abstraction.

I wouldn’t tend to call a KV store a bad database engine because I don’t think of it as a database engine at all. It might technically be one under the academic definition of a database engine, but I mostly see it being used as a building block in a more complicated database engine.
by dylan604 | 2025-08-24 02:09:34+00:00
This is one of the very best things to me about work from home. There are times I just get up and go piddle in the garden, take a short bike ride, or even just run an errand. I even do it when I'm stuck rather than just from being interrupted. It helps the brain to essentially, ctrl-z; bg and then move on to the next thing. When I return, I find the job %1 has completed, and I have a new approach/idea that is typically much more successful than the previous attempt of banging my head on the desk/keyboard in frustration. It's much healthier for me than vibe coding around the problem
by trjordan | 2025-08-24 02:10:44+00:00
One of the funny things about LLMs and modern AI is that "the ability to recognize a cat" isn't a trained behavior anymore, as described here. It's an emergent property of training it to predict a lot of things, and cats happens to be present enough in the data such that they're one of the things you can ask a larger model and have it work.

My favorite work on digging into the models to explain this is Golden Gate Claude [0]. Basically, the folks at Anthropic went digging into the many-level, many-parameter model and found the neurons associated with the Golden Gate Bridge. Dialing it up to 11 made Claude bring up the bridge in response to literally everything.

I'm super curious to see how much of this "intuitive" model of neural networks can be backed out effectively, and what that does to how we use it.

[0] https://www.anthropic.com/news/golden-gate-claude
by jondwillis | 2025-08-24 02:11:36+00:00
I highly suggest chaos gardening if you have to use your brain all day and want a hobby that allows you to reconnect with nature without much stress or effort. For me, this boils down to not using my phone to look up the optimal way to germinate, grow something, or manage a problem (pest, disease, other.)

It’s fine to garden in a more intentional way, and I do sometimes, but it’s also nice to get to rediscover the hard lessons that have been passed down generations (my own chain of farming knowledge only breaking with my parents’ generation) and learn the “vibe” of what makes plants thrive more or less.

Native plants are also going to be the most chill—- evolutionary fitness does most of the work you would otherwise have to, and you’ll be helping to restore native habitat and ecosystems a tiny bit.

Bonus points for home composting. Closing the loop on personal food waste while restoring soil health is by far the most rewarding bit of gardening for me. It also makes me a little neurotic about the waste and disconnection from nature that default mode urban and suburban living results in.
by Aerbil313 | 2025-08-24 02:11:38+00:00
Congratulations on being lucky enough to not be afflicted by a bad enough mental health disorder! All you have to do is to "get out there and do stuff" to achieve fulfillment.

Maybe you'll consider not projecting your experience onto the many others who are literally unable, even though they are equipped with the same number of functioning hands and feet as you do, and don't seem disabled by mere appearance.

> They fill up their time with worthless empty "calories" of media consumption, ethanol, and doom scrolling.

You might consider extending this empathy by also not blaming the otherwise healthy people falling into these dopamine traps that are designed by professionals to entrap, designed carefully over many thousands of man-years to maximize ad revenue.

Don't get me wrong, I agree with you for the most part. Yet I'm struck by the complete omission of the robber from the story, and the focus on the robbed houseowner's weakly built front door, when it was already made of steel. And of course, the non-negligible fraction of the population whose front doors are made of weaker material through no fault of their own.

> Almost all of them are unhappy.

Then surely they would climb out of their dopamine gravity-wells in the first chance and pursue happier, more real lives, right, if they could?

I kindly ask you to reconsider your beliefs regarding "willpower".