MurphyA/hacker-news huggingface dataset:
by wqaatwt | 2025-04-20 10:26:58+00:00
Yes, STV is non perfect but IMHO it’s worth it to not have party lists.

Also one of the main criticism of people opposed to proportional system is the lack of direct representation. STV solves that and even is superior to FPTP in that way because you are more likely to find a MP who is more sympathetic towards your cause/views if there are e.g. 3-5 members in your district.

Of course I’m not talking about the system proposed in the paper your linked, but rather about how MMP works in Germany. You get both part list and FPTP style party appointed candidates.
by chrismorgan | 2025-04-20 10:27:57+00:00
You’re not getting it: we’re not talking about the server producing templated HTML, which is fine; but rather the server producing JSON, and then the client dropping strings from that object directly into serialised HTML. That’s a problem, because the only way to be safe is to entity-encode everything, but then when you use a string in a context that doesn’t use HTML syntax, you’ll get the wrong result.

It’s not an unnecessary complication. You fundamentally need to know what format you’re embedding something into, in order to encode it, and the server can’t know that.

Depending on what you do, you may want it unencoded, encoded for HTML data or double-quoted attribute value state (& → &amp;, < → &lt;, " → &quot;), encoded for a URL query string parameter value (percent-encoding but with & → %26 as well), and there are several more reasonable possibilities even in the browser frontend context.

These encodings are incompatible, therefore it’s impossible for the server to just choose one and have it work everywhere.
by Loic | 2025-04-20 10:30:09+00:00
But kids are going to have setbacks, they will reach a plateau in their craft (music, painting, art, sport, ...). You need also as a good parent to help your kids go through, to not give up, because even joy to do is not always enough. This is the hard part.

From my modest experience of being a ski/snowboard instructor and trying to raise 3 boys (now 12, 16 and 18).
by seabass-labrax | 2025-04-20 10:32:24+00:00
Do SMART records contain enough information to prove that the laptop had not been used in years (assuming you had a suitably effective barrister to make use of this information)? RTC (clock) drift could also give a hint that the laptop had not been connected to a time server in a while.

Also (this may be of limited consolation) the officer who compels you to disclose the key must have some idea of what data it is protecting in order to satisfy RIPA 2000 s 51(5)(a):

> The matters to be taken into account in considering whether the requirement [for proportionality] of subsection (4)(b) is satisfied in the case of any direction shall include... the extent and nature of any protected information, in addition to the protected information in respect of which the disclosure requirement is imposed, to which the key is also a key
by dornan | 2025-04-20 10:32:46+00:00
I'm not sure you've really demonstrated the ethics of vandalizing the car. In this trolley problem there's a billionaire that you're upset about riding in the trolley and the lever you suggest pulling just destroys some random dude's car without affecting the billionaire. Elon Musk doesn't own the Tesla cars you see driving down the street, they're owned by people who wanted a car that doesn't create smog.

Consider the point the parent of this side conversation was trying to make: What if there was a party with the guiding principal of keeping the country together and pursuing policy based on sound principals rather than "what will own the libs" or "stop the fascists"? The things you complain about are happening because of divisive politics. Trump is powerful because he listened to people who were being ignored or attacked by the political hegemony, and it turned out that was a small majority of the country. It's a shame that someone with admirable personality traits didn't think of it first.

How would you reform the political and voting system to improve the total happiness in the united states?

Another ethical question for you: that mob believed the election was rigged and that the senate was ignoring the will of the nation. Based on that belief, were they acting ethically? Keep in mind that this is bigger than the trolley problem. Sort of an iterated trolley problem, if you will.
by networked | 2025-04-20 10:33:04+00:00
> This is the first user space lua code in BSD I could imagine actually using.

Thanks. :-) I haven't encountered any other third-party uses of flua. I'd like to hear about them, too.

flua is interesting for being the most capable scripting language in the base system. It seems viable to use in practice despite the lack of compatibility guarantees [1]. A small scripting language without the quirks of shell is probably good to have there in general. I know I'll take Lua over the Bourne shell any day for programs of any kind of complexity, and especially those that have to do parsing like here.

[1] https://github.com/dbohdan/lsblk.lua/blob/83e9fb76fcad62992e...
by freddie_mercury | 2025-04-20 10:33:04+00:00
Brian Scalabrine was a bottom of the barrel NBA player. He was good enough to stay in the league for years but he'd only play about 13 minutes a game and averaged 3 points a game. Basically he was the guy who would play a few minutes and not completely tank the game while your actually good players were getting a rest.

After he retired he went around playing amateurs and completely dominating them. He became semi famous for his saying "I'm closer to LeBron James than you are you to me."
by Braxton1980 | 2025-04-20 10:35:10+00:00
There's two levels:

1. Hating someone for an attribute they can't fix or were born with is wrong. For example, skin color, sexual orientation, or being Jewish*

This is wrong because a Black person can't stop being Black, a gay man can't stop being attracted to men. In other words it's not the fault of the person.

2. Hating a person because of a belief is different. Hating all Nazis is bigotry but almost all people wouldn't consider that wrong. Hating all people who think Israel should be a country is also bigotry. The big difference is the person has control over their belief.

> standard

What standard? Who is setting this standard?

#------------ * Being Jewish is considered both an ethnicity and religion, it's complicated. Hitler didn't care if jews converted, his definition was ethnic. In this conversation I'm considering it an ethnicity.
by ptx | 2025-04-20 10:37:03+00:00
So it sounds like the proposed use-case is to use LLMs for generating feedback on your own work.

But if we accept that LLMs generally (in other use-cases) produce output that looks deceptively similar to what you ask for (i.e. it seems to work) but is actually worthless junk if carefully inspected (i.e. it doesn't actually work), why would you think they are able to generate accurate feedback?
by kotaKat | 2025-04-20 10:37:58+00:00
Not really.

Leveraging dvmproject, dvmhost, and the FNE bits, hams can operate their own APCO Project 25 trunking systems with commodity MMDVM hardware and link them across the Internet. You can use various MMDVM boards, use a v.24 serial link to a Quantar repeater, etc...

https://github.com/DVMProject/dvmhost

Ain't nothing wrong in running a single voice-on-control channel simplex hotspot to experiment with P25, or link to bigger systems ;)
by Retric | 2025-04-20 10:38:53+00:00
> No, one tonne of diesel fuel contains about 11 MWh of potential energy as determined by calorimetric methods. One tonne of fuel when consumed produces a variable amount of useful energy output depending on the efficiency of the engine.

That’s almost correct, good try.

> lights is a rounding error

Ships use electrical power for far more than lighting, and no electricity is not a rounding error compared to profit it’s a significant expense for cargo ships.
by Viliam1234 | 2025-04-20 10:40:26+00:00
> Maybe I'm naive but I don't think there are a lot of "million dollar ideas" that are just being hoarded and all people have to do is share them

Often, the important things are the ones that we have already heard many times. ("Don't take drugs", for example.) Following these ideas consistently could already dramatically improve many people's lives.

Even if you learn something that most people don't know, such as software development, again there are relatively simple ideas, such as "write unit tests" or "prefer immutable values and functions without side effects". I am saying this as an example of an idea that may sound mysterious to someone outside the profession, but inside the profession it is just the boring advice that all of us have heard many times... but still many of us don't follow.

I imagine that there are things like this in other professions, too, and I would be happy to see their list. The important aspect is that those should be things that sound boring and obvious to people in that profession.

> This has nothing to do with intelligence and everything to do with negativity (and self-esteem, if someone is tearing others down to feel better about themselves).

Kinda yes, but negativity can become a cultural thing, if you see other people around you do that all the time.

Also, most people have a status instinct; it is too cheap to dismiss it as not having self-esteem. Probably the solution for them is to create a culture where being nice to others is the high-status thing, but that is easier said than done.
by JackSlateur | 2025-04-20 10:42:25+00:00
You are absolutely right

Because, as we all know, what is important about coding is outputting lines of code.

This is the main difficulty, this is were IA will change the game forever.

Thinking about the code you write, that's worthless, do not do that. Improving a large code base ? Again, no need to think to do that. Just inject random lines of code and it will do the trick.

Of course, in a world where your code has no value because it's just a copy/paste from elsewhere that has a low lifetime expectancy, IA is shinning.

But if you want something a bit more useful, a bit more clever, a bit more adapted to your use case, IA sucks. Because IA do not think.

IA is a threat to dev that do not think. Good ridance, they won't be missed.
by vitus | 2025-04-20 10:42:26+00:00
> the completely straightforward way is tied for fastest as well.

Is it, though? back_inserter should replicate push_back(), which incurs a move at the very minimum. The approach with emplace_back() does not.

https://quick-bench.com/q/1zwemArsS0gtKwveR9FZsuRwT34

This also isn't the way C++20 wants us to work with ranges and views, either -- this is basically just std::transform as you'd write it 20 years ago, except with a container as the argument instead of your begin / end iterators (so, basically absl::c_transform).
by agnishom | 2025-04-20 10:43:38+00:00
> math is a language

I think there are some differences

If you are a physicist or an economist, you may be using mathematics as a language in the sense that you are using a mathematical description to convey an understanding of the natural world or the economy to your colleagues. But if you are a mathematician, you are interested in the mathematical objects for their own sake.

There is also a difference between the purpose of learning language and learning math. The goal of learning language is (often) to be fluent in it. In other words, the goal is to reach a level of proficiency which would allow you to not have to think about language and focus on the content of the conversation instead. On the other hand, the goal of learning mathematics is usually to be able to solve mathematical problems. Being able to do math without "thinking about it" is not usually a requirement.
by dornan | 2025-04-20 10:45:29+00:00
This isn't much of an issue when competing ideas are available. If your ideology is so crappy you have to "indoctrinate" people then in an open venue like a library your books aren't much more than a curiosity.

Step 1 of teaching people to uncritically accept crappy ideas is to remove all references to anything that contradicts them. Maybe it's time to revise your stance?
by MattPalmer1086 | 2025-04-20 10:45:39+00:00
We may be talking about different eras. I'm Gen X, I don't remember any great excitement or optimism manifested in schools of my time.

Quite the contrary; I think I was one of only two or three people in my year to go on to university. But then I was a huge nerd who was really interested in ideas.
by rk06 | 2025-04-20 10:45:41+00:00
I tried standard emacs and space emacs. What tripped me most was keybindings(ctrl c doesn't work!?) and lack of command prompt (no idea if it didn't exist or needed plugins)

There were few more pain points of "thinking in buffer" instead of files.

All I can say is that entire experience made me appreciate the OOB experience of vscode.
by dandanua | 2025-04-20 10:45:55+00:00
> Most kids won't do difficult things if you don't push them.

I guess it's true for adult humans, and other creatures as well. Instead of pushing, however, you should consider using other motivational methods (a simple prize for accomplishing something that you want from your kids works very well). Pushing can cause alienation and hate, which could affect their entire adult life.
by creatonez | 2025-04-20 10:46:18+00:00
No, not for the foreseeable future. In fact, this is the absolute hardest possible code translation task you can give an LLM.

COBOL varies greatly, the dialect depends on the mainframe. Chatbots will get quite confused about this. AI training data doesn't have much true COBOL, the internet is polluted with GnuCOBOL which is a mismash of a bunch of different dialects, minus all the things that make a mainframe a mainframe. So it will assume the COBOL code is more modern than it is. In terms of generating COBOL (e.g. for adding some debugging code to an existing system to analyze its behavior) it won't be able to stay within the 80 column limit due to tokenization, it will just be riddled with syntax errors.

Data matters, and mainframes have a rather specific way they store and retrieve data. Just operating the mainframe to get the data out of an old system and into a new database in a workable & well-architected format will be its own chore.

Finally, the reason these systems haven't been ported is because requirements for how the system needs to work are tight. The COBOL holdouts are exclusively financial, government, and healthcare -- no one else is stuck on old mainframes for any other reason. The new system to replace it needs to exactly match the behavior of the old system, the developer has to know how to figure out the exact confines of the laws and regulations or they are not qualified to do the task of porting it. All an LLM will do is hallucinate a new set of requirements and ignore the old ones. And aside from just knowing the requirements on paper, you'd need to spend a good chunk of time just checking what the existing system is even doing, because there will be plenty of surprises in such an old system.
by wqaatwt | 2025-04-20 10:46:23+00:00
Yet pre Christian societies in Europe were arguably significantly more brutal. Establishing at least some basic principals of universal equality was a big deal (something modern atheists inherited directly from Christianity)

e.g. even amongst the civilized Greeks and and Romans foreigners who had no legal ties to their city states (some form of citizenship or diplomatic treaties with their home city) were basically treated as subhuman and could be enslaved and murdered with little to no repercussions.

Universalist religions extended that to vast geographic areas and established some basic shared principles and trust between strangers e.g. in the middle ages somebody from Scandinavia could travel to Rome on their own with relatively (of course still significant) little risk of being robbed, enslaved or murdered while being able to rely on hospitality from complete strangers/foreigners during his trip.

Of course the Romans already had something similar by the 100s AD (non citizens and slaves were of course excluded) but political systems are much more fragile than religions.
by afro88 | 2025-04-20 10:46:37+00:00
You don't point this tool at the documentation though. You point it at a repo.

Granted, this example (and others) have plenty of inline documentation. And, public documentation is likely in the training data for LLMs.

But, this is more than just a prompt. The tool generates really nicely structured and readable tutorials that let you understand codebases at a conceptual level easier than reading docstrings and code.

Even if it's only useful for public repos with documentation, that's still useful, and flippant dismissals are counterproductive.

I am keen to try this with one of my own (private, badly documented) codebases and see how it fares. I've actually found LLMs quite useful at explaining code, so I have high hopes.
by amelius | 2025-04-20 10:46:52+00:00
Purely geometric, except I suppose you still need Coulomb's law and relativity. Both of which can be easily put in a geometric framework.

The rest is just how magnetism emerges from this, and Einstein already figured it out. This guy explains it pretty well in layman's terms: https://www.youtube.com/watch?v=sDlZ-aY9GN4
by immibis | 2025-04-20 10:47:06+00:00
You're telling me that the nuclear family - two parents and their children living as a unit without drama - is more ubiquitous and stable than, say, the exchange of goods and services for money? Divorce rates and credit card would beg to differ.

The comment chain you replied to said it's a stable and ubiquitous arrangement. You're not trying to argue it's stable or even that it's an arrangement - you're just arguing it can be found within a larger structure. It's as if someone said cliques and anticliques aren't good designs for computer networks, and you said yes they are, because every network of a certain size contains a clique or an anticlique by https://en.wikipedia.org/wiki/Ramsey%27s_theorem - that may be true but it's incidental.

It's also as if someone is saying that Java isn't best at functional programming, and you pointed out that yes it is, because look at all the functions calling other functions.
by crashabr | 2025-04-20 10:47:07+00:00
The problem with deceptively correct information is that it leads us to take mental shortcuts that lead us to oversee details. If you do the work first, you've already avoided this problem. Instead, if the feedback of the llm doesn't match your mental model, it leads you to think twice about it, which is a good thing (the risk of overthinking is offset by the speed at which llms give you the feedback).
by whywhywhywhy | 2025-04-20 10:47:20+00:00
On a shorter timeline than you'd think none of working with these tools will look like this.

You'll be prompting and evaluating and iterating entirely finished pieces of software and be able to see multiple attempts at each solve at once, none of this deep in the weeds fixing a bug stuff.

We're rapidly approaching a world where a lot of software will be being made without an engineer hire at all, maybe not the hardest most complex or novel software but a lot of software that previously required a team of 3-15 wont have a single dev.

My current estimate is mid 2026
by dogman1050 | 2025-04-20 10:48:28+00:00
I was in an intramural American flag football league in college and one chemical engineering student who played was the biggest, quickest, strongest and most clever player on the field, and by big margin. He was also very friendly. A whole different class of human. No how much I trained I would never be able to complete with him. In earlier times, he would've been the tribe leader.
by imtringued | 2025-04-20 10:49:37+00:00
The strangest part about mathematics culture is that there is a culture of vibing the notation.

Nobody in school ever tells you that there are glossaries on Wikipedia that tell you the meaning of the symbols. You're supposed to figure it out yourself using vibes.

The way mathematic notation is taught is inherently unstructured. You're expected to just get it.
by Viliam1234 | 2025-04-20 10:50:51+00:00
Kinda yes, but there are some solutions.

I think the most important part is to start early. Make your kids interested in math, music, art, and sport, before they start school. Doesn't have to be anything sophisticated, simple addition and puzzles will do for math, etc. Then you have something you can later build on.

There are also ways to make things funny, including math. Most people say that they hate math, but then they do Sudoku. So, try to make more math like this. Not all math can be transformed to funny puzzles, but after a few the kids will get positive associations with the subject, and will be more willing to learn more.
by instagib | 2025-04-20 10:53:01+00:00
I was responding to Tesla skipping Lidar but apparently it’s a sore topic. As pointed out by someone else Tesla used to use ultrasonic radar sensors but stopped.

“ Until this month's change, all Model S and Model X EVs intended for North America were equipped with radar sensors but the company has been building new Model 3 and Model Y vehicles without any front radar sensors since May 2021. That's when Tesla announced a change for those models away from radar to Tesla Vision” 0

I don’t think many people understand how these systems work but we’re not on a radar or engineering forum.

0. https://www.caranddriver.com/news/a39250157/tesla-no-radar-s...
by fragmede | 2025-04-20 10:53:38+00:00
> visible light doesn't penetrate smoke. But radar does.

This is the key insight that frustrates me to no end about the whole thing. We have sensors that are better than human eyes, but we should limit ourselves to that because what? I don't use a calculator because it's slightly better at math, I use a calculator because it's fucking awesome at multiplying numbers in a way that my human brain can't remotely compete with. I want to be able to see where Elon is coming from but lately I can't.
by klabb3 | 2025-04-20 10:53:40+00:00
> using my bandwidth without my permission

What are you talking about?

> What does it have to do with p2p?

It’s an example of when you design sandboxes/firewalls it’s very easy to assume all apps are one big homogenous blob doing rest calls and everything else is malicious or suspicious. You often need strange permissions to do interesting things. Apple gives themselves these perms all the time.
by mjaseem | 2025-04-20 10:54:18+00:00
I wrote an article about a possible proof of personhood solution idea: https://mjaseem.github.io/tech/2025/04/12/proof-of-humanity.....

The broad idea is to use zero knowledge proofs with certification. It sort of flips the public key certification system and adds some privacy.

To get into place, the powers in charge need to sway.