skysight-inc/HackerNews huggingface dataset:
This looks nice, just yesterday I was trying to make my code more concise by using some macro_rules magic, but it was a bit more than what macro_rules can handle, so I ended up just writing the whole thing. I avoid whenever I can proc macros, I wrote my fair share of macros, but I hate them, you need to add most of the time 3 new dependencies, syn, quote and proc_macros2, that adds up to the compilation times.

This looks worth the playing with and see if they can solve my issue, one thing I avoid as much as possible is to add unnecessary dependencies, didn’t check how many dependencies this will add overall to the project.
That is what I really like about the evolution of metaprogramming in C++.

While it started as a hack on how to use templates back in C++98, it has gotten quite usable nowadays in C++23, and the compile time reflection will make it even better.

All without having another language to learn about, as it happens with Rust macros, with its variations, or reliance on 3rd party crates (syn).
George Foreman is dead. Long live George Foreman!

https://en.wikipedia.org/wiki/George_Foreman#Personal_life_a...
The Roman salute has no direct connection to the Roman Empire. It was largely an invention of the 19th and 20th centuries and was popularized by fascist movements.

> The most reasonable criticism is calling it a Roman salute and saying it bears connotations to imperialism, and that it was most recently practiced by Hitler.

For the past >100 years, it’s been the gesture representing the fascist party in Italy and the Nazi party in Germany. You sound like you want to defend the gesture for some reason.

> I think, if you want to read into his deepest, unspoken intents, he probably compares himself to Caesar more than Hitler. Just like Zuckerberg, and all the other multi-billionaires who want to see themselves as the de-facto leaders of the world.

Comparing oneself to Caesar is still a profoundly disturbing thing. He was an oligarch first, then a lifelong dictator, and later a literal deity (according to the Senate).

> He never showed up at a white supremacist rally.

I’m sure you’re smart enough to understand that if he actually showed up to a white supremacy rally, he would be financially destroyed. He’s already lost his public image completely in Europe. So not putting up a KKK hoodie is weak evidence for him not being a white supremacist.

But in any case, none of this matters. Whether or not he personally identifies with fascist ideology is secondary to the effect of his actions. Blurring the line between reasonable discourse and fascist apologism trivializes extremism and hate, and that’s the last thing we need.
Say what you want about audiophiles, one of their skills is definitely written expression (at least for a non native).
C++98 templates done better, we are past that now in C++23.

Also D and Circle, done it before Zig.
Pretty incredible that people can be so impressed by someone not actually doing the heavy lifting themselves.
Only if I buy their products does what they do affect me. So it can't be a threat.
This policy sounds like a great thing all around. It reduces traffic, noise, and pollution in the city and increases MTA funding. Win-Win! My only question is why does the federal government (ie. Trump) want to halt it? Why do they care?
Only if you are getting input from untrusted users
It now resembles a different bottle (with the blessing of the manufacturer): https://mashable.com/archive/jack-daniels-rejection-letter-g...
Learning Assembly for Fun, Performance and Profit
Can you keep how much you’re earning private?
Twenty Thousand Hertz (sound design podcast) had episode about Bluey with its sound designer Dan Brumm last year.

https://www.20k.org/episodes/thesoundofbluey
Two words: Wing Bolts
Fair enough. I know some open source hobbyist OSes which are non-DOS/Unix variants... sadly they are X86 only, like Visopsys or Kolibri.

For something non-X86, try digging at: http://wiki.osdev.org/Projects
Perhaps you can find something suits your preference.
I don't think you should do that unprompted. There are reasons for using short options like the portability mentioned in other comments. It'd put an undo burden on open source maintainers.

Something opt-in like dependabot though could be useful.
But not all shell utilities follow this particular convention
why use some new niche reskin hobby browser which can't even do the very basic thing of copying one of the user.js privacy improvement projects when actual competent alternatives like mullvad browser or librewolf exist.
This has definitely put me off using zen. I was actively testing it as a replacement for Firefox, but at least Firefox is upfront about what it's doing, and you can disable it (something not so easily done in any other browser, afaiu).
I totally understand that, but theirs is genuinely not an HOAzilla – they just took a stupid approach to this particular problem. It's honestly the prototypical example of how to run an HOA – low fees (no outside management), providing community features (pool, tennis courts, paved private roads, etc.) basically at-cost, and even hiring folks from the community to help out (teens as lifeguards, retired folks as maintenance, etc.).

Also, my parents still live there, so I didn't want to start any more drama. In fact, they sold their previous home and built a new place in the same community, while it would have been far cheaper to build outside the HOA.

All this to say that, while the internet is full of genuine examples of nightmare HOAs, my parents' HOA is normally run by a few retired folks who mind their own business.
It depends on proc-macro2, syn, quote, toml and rustc_version [1]. First three are legitimately expected for any complex enough procedural macros. Toml and rustc_version are apparently for automatic Cargo configuration and fairly harmless by their own. Their transitive dependencies are also not bad: unicode-ident (from proc-macro2), serde, serde_spanned, toml_datetime (from toml), and semver (from rustc_version).

[1] https://crates.io/crates/crabtime-internal/1.1.1/dependencie...
uutils aims to be a drop-in replacement for the GNU utils. Differences with GNU are treated as bugs.

-- https://github.com/uutils/coreutils?tab=readme-ov-file#goals
It maybe helps but as an outside observer the voting didn't seem to be that much about wallets.
SSO being the single point for security is the entire point.

Compare that to every application having a login mask and querying active directory. There are so many more points of failure. If even just a single application has a vulnerability, then an adversary can just log the credentials and hope he finds one with elevated access rights.
Ooo nice. Thanks.
How is C++'s template metaprogramming not another language inside C++ today? AFAIK, the syntax and even general logic is still extremely different than regular C++
I believe they're referring to this bit:

>There’s no doubt in my mind that Eric Alexander of Tekton Design is largely in the right, and in principle, challenging these reviewers was mostly justified.

The next sentence is revealing though:

>The problem, and the reason we’re here now dwelling on it, is how he went about it.

I'm not sure if I understand the first of the quotes, honestly, given the rest of the content. But that seems to be what GP was referencing.
Weird attribution of morality when buffet gave $40B to the gates foundation. Also, aren't we all toddlers who never learned to regulate their emotions? You and me just cause less hubris because we don't have as much power and the time to convince ourselves we deserve it.
I think on average trusting the experts is the right thing. And by the way LK99 is not even particularly damning, as far as we know it was science working as intended
The examples design docs, that you’ll need to create as input, are great. Haven’t tried any agentic frameworks (not sure if I will) but if anything it’s great to see Pocket Flow teaches an important concept — research, plan and document before implementation.

I start to believe that with all its limitations, LLMs end up providing a great playground for learning how to code.
Wow, thanks! As someone about to go to sleep on a Friday, I'm looking forward to seeing what is posted here on my Saturday morning :)
Can it just be forked into a branch with telemetry removed/disabled?
The tutorial claims that fib(0) = 1, which is wrong.

https://en.wikipedia.org/wiki/Fibonacci_sequence

This one was easy to spot and would have been easy to get right. Makes me wonder…
>The backdoor mandate was part of an anti organized criminality law, Bruno Retailleau (interior minister) pretend criminals use encrypted chat to communicate and so backdoor is required to intercept their communications.

Terrorist attacks in Paris were coordinated using SMS and play station network.
Oh, nice to bring back this shape of car - though I can't see if it's oversize like most cars of the last few years, I hope not.
> the pattern of allocating a vec as pseudo-RAM, using indices as pseudo-pointers, and never freeing anything till the container itself is unused

Are you talking about hand-rolled arena allocation? I don´t see how a GC language would have a different behaviour as long as you also use arena allocation and you keep a reachable reference.

> There's nothing wrong with those techniques per se, but the language tends to paint you into a bit of a corner if you're not very good and very careful, so leaks are a fact of life in basically every major Rust project I've seen not written by somebody like BurntSushi

If I take 3 random major Rust projects like Serde, Hyper, and Tracing, none of which are written by BurntSushi, your claim is that they all suffer from memory leaks?
Any time you send commands and data down a single channel, user input that's intended to be data can be misinterpreted as a command. For example, if your program wants to:

run("program --option '{user_input}' > file")

to save some input to a file, and the user's input is:

'; bad_command #

then when run() sends that string to the shell, the shell will run:

program --option '';
bad_command #' > file

Most languages have something like a safe_exec() that separates the shape of the command from the values of the options, executing "program" with the options and the user_input in the arguments array as data. Skipping the shell step, which would just be building an exec call anyway, removes the opportunity for users to confuse it into doing something else.

The list-based API alternative they recommend might look like this:

safe_exec(["program", "--option", user_input], stdout="file")

and it would always exec "program" with argv[1] == "--option" && argv[2] == user_input. If the user_input happens to be:

'; bad_command #

...well, then, the user can enjoy the contents of their file.
Drain the Swamp: A Theory of Anti-Elite Populism [pdf]
Considering both the physical abuse which vending machines often receive, and the normal skill sets of the workers maintaining them, I'd rather not be in any building containing one of these.

https://en.wikipedia.org/wiki/Hydrogen_safety

> Hydrogen has one of the widest explosive/ignition mix range with air of all the gases with few exceptions such as acetylene, silane, and ethylene oxide, and in terms of minimum necessary ignition energy and mixture ratios has extremely low requirements for an explosion to occur. This means that whatever the mix proportion between air and hydrogen, when ignited in an enclosed space a hydrogen leak will most likely lead to an explosion, not a mere flame.[2]
I'm not sure it's fair to mock the public figures, because it's not like the guys in between them were anything particularly remarkable either. Democracy doesn't select skilled leaders, it selects charismatic ones with 'flexible moral values' of the sort that are useful for gaining sufficient backers. It's fairly predictable that democracies with relatively wide suffrage would trend towards electing pop figures.

This also is exactly democracy was mostly felt to be an unsustainable system by the ancient philosophers. And in reading Plato's assessment of democracy, and its cycles, in "The Republic", he sounds like much more like a prophet than a philosopher.
> the situation is quite clear: the country is safer than it has ever been

False.

https://www.interieur.gouv.fr/content/download/135975/107672...
I tried the library out and it worked pretty well for me.

I had previously written a declarative macro to generate benchmark functions [1]. It worked, but I didn't enjoy the process of getting it working. Nor did I feel confident about making changes to it.

When I rewrote it using crabtime I found the experience much better. I was mostly writing Rust code now, something I was familiar with. The code is much more readable and customisable [2]. For example, instead of having to pass in the names of the modules each time I added a new one, I simply read the files from disk at compile time.

To compare the two see what the code looks like in within the braces of paste!{} in the first one and crabtime::output!{} in the second one. The main difference is that I can construct the strings using Rust code and drop them in with a simple {{ str }}. With paste!, I don't know exactly what I did, but I kept messing around until it worked.

Or compare the two loops. In the first one we have `($($year:ident {$($day:ident),+ $(,)?}),+ $(,)?)` while with crabtime we have plain Rust code - `for (year, day) in years_and_days`. I find the latter more readable.

Overall I'm quite pleased with crabtime. Earlier I'd avoid Rust metaprogramming as much as possible, but now I'd be open to writing a macro if the situation called for it.

[1] - https://github.com/nindalf/advent/blob/13ff13/benches/benche...

[2] - https://github.com/nindalf/advent/blob/b72b98/benches/benche...
I found the Front National guy!
Doesn't Norway have the right to roam?
Every MLE who didnt study Math really likes to downplay its importance. Yeah you dont need measure theoretic probability, but you need a grasp of Lin Alg to structure your computations better. Remember the normalization that we do in attention ? That has a math justification. So I guess yeah academics did have a role in building LLMs.

I mean computer scientists really do like to pretend like they invented the whole field. Whereas in reality the average OS, compilers, networks class has nothing to do with core ML. But of course are also important and these barbs dont get us anywhere.
Not really, but support for Taler could be implemented in Liberapay. If someone is able and willing to tackle that, there's a possibility of funding the work with an EU grant: https://github.com/liberapay/liberapay.com/issues/1309#issue...
By this logic, the future of AI is golf languages.
Guitar cable?, ya...noooo
cordless my droogys
prolly cheaper too
did a custom stealth mod to one guitar where the transmitter, plugs into 1/4 jack,under the back cover
nice thing is that its possible to turn an amp up to face peeling loudness, and step back, and not get hurt, got to watch for things vibrating off of shelves though
and are you kidding me?, I know that as a guitarer
there are cumulative cognitive effects, but when a fucking speaker cable outfit starts suing people, something has definitly gone off the rails
but oh ya, there are people in jail for "cheating" on video games, but somehow there are government weed stores
tone is in the hands
Are you trying to do this message passing using Nim channels ?
For my use-cases, i always had to resort to just passing `pointers`, to prevent any copying, most of time i just divide the problem to use independent memory locations to write to avoid using locks, but that is not general pattern for sure. For read only purposes i just use `cursor` while casting to appropriate type. If you find a useful pattern, please share.
https://news.ycombinator.com/item?id=43422994
The issue is that something like this will not affect the criminals, they can just use something with encryption.
Blue Jeans Cables was what I switched to towards the end of my serious audiophile days. Before that, I was set up with StraightWire mostly, but I respected Kimber Kables, though I never ended up getting any of their goods.

Now tonearm cables are a whole different animal, and my pair was a mid-priced custom set though one of the high-end dealers — all substance, no flash => aka, not paying for an advertising budget & fancy packaging.
> Who cares about the licencing.

Well, for one, the author of the Rust based utils cared enough to change it (or rather to not re-adopt GPL, but IMO that's the same ting). Why shouldn't we care about the licencing?
Starting a bit of a tangent here I admit, but this makes me much more worried about the future of mobile browsing.

Sure, soon enough a decent non-chromium based desktop browser will come along, be it Zen or something else, but what about the mobile world?

Right now firefox is perfect for me: It makes the web browsable by allowing ublock origin, it syncs my tabs, history and bookmarks, it's great.

Moving to a scenario that we have a different browser on the desktop and a different one on the phone or, worse, the same on the phone but without adblocking sounds like a huge regression.

P.S. Regarding Zen: If you want to be taken seriously, or at least as something more than a toy project, teaching your maintainers how to talk to your (potential) users will go a long way. Telling them off will not gain you any friends. (I'm referring to the github discussion mentioned in a sibling comment: https://github.com/zen-browser/desktop/discussions/5907)
Because humans are petty, and if they feel slighted, they will go out of their way to take revenge, even if it provides them no material benefit.

This may seem illogical, but is actually crucial to make society function, because it punishes non-cooperative behaviors.
It was, of course, announced on fb.com, discussed here 14 days ago: https://news.ycombinator.com/item?id=43290555 (after previous submissions failed to attract attention.)
You may be right there. Will have a think about it. Maybe a filter to flag things and update as needed.
"Getting health advice from Joe Mercola at this point is beyond defensible."

It was OK before?

You summarized this guy as "Influential anti-vaxxer and supplement salesman Joe Mercola wants veterinarians killed as he blows CO₂ gas up his rear."

If listeners don't feel sceptical after THAT, I'm not sure anything can still convince them...
This take feels off to me.

Not denying it was an emotional reaction by people working in the games industry at the time, but it doesn't feel grounded in reality. It's like the makers of The Matrix feeling like they should give up because of The Blair Witch Project.

Minecraft and Blair Witch caught gold dust. You could make a thousand similar low budget movies or games - of equal quality - without ever replicating their success.

By contrast, if you make a movie or a game that's any way good with a 100 million budget and another 100 million to market it, you can be fairly sure of making profit. It's a different market. A Marvel movie, a Matrix movie, or a Fallout game, has to be actively terrible to fail to turn a profit.
Apparently the first amendment doesn't apply to permanent residents.
I can see why this is an unpopular opinion for IT administrators and security responders alike, but I totally agree. Centralised authentication means if an attacker can compromise the SSO layer, they've compromised everything. This is far less desirable than an attacker having to compromise each system individually.
Congratulations guys.
New Theory-of-Everything: Nova Framework – GR-QM Unification Without Graviton
Almost certainly. I have seen cases where dev used AI to write a code which testers tested "using AI" and analysts used AI to parse the teat cases.

AI is very good to write the code which you already know how to write and you just handover your typing to the said AI.

I have begun using AI as an assistant basically to get the first draft and then optimization etc I do after the first block of code is written.

When people who don't know a language sufficiently enough use AI then it's a recipe for disaster. Teams will show metrics that wow 90% adoption of AI but juniors don't learn enough.

At least that's my experience. Very much interested in knowing if I can use AI more efficiently!
A rare Bethesda hater appears, quick, catch him!

Fallout 3 was magnificent, a wild commercial success and one of the greatest CRPGs of all times.

I'm sure Fallout 2 was good, I don't know because the control system is so bloody awful I couldn't get more than 2 hours into it.

It is acclaimed, but it's hard to replay it.

In today's world it is a bad game. Fallout 3 is still a good game.

Bethesda games are constantly replayed. Skyrim, fallout 4, etc. are all still on Steam charts top played lists.

Right NOW. 10 years after release

Fallout 2 is not.

You are on the wrong side of fact Vs fantasy.
sure,fine,true, but it makes me twitchy, and I start trying to think up socialy acceptable ways to pass off walking around with a pump gun as just a thing
... because the author considers Ruby and Rails to be a very concise language. And then the theory is that less tokens take up less space in the attention window.
x86 machines are cheap and ubiquitous. It is astoundingly easy to google for help/tips or ask random people on the net.

There are also really good virtual machines and emulators available.

Most of the weirdness came in in the 286 and can be more or less ignored. The parts that can't be ignored happen mostly during initialization.

If you want to baby step your way towards assembler and hw programming, DOSBox + an IDE/debugger setup from the late 80's/early 90's is really not a bad combo. That could be Turbo/Borland Pascal or C(++) with Turbo Debugger and Turbo Assembler, for example. You get a running environment, you have direct access to the hardware (DOS won't stop you), you can access it from Pascal/C, you can use inline assembler in both, and you can use external assembly files if you want. You can even successfully single-step and use breakpoints a lot of the time.

A Raspberry Pi or similar is a good alternative. I don't think any non-ARM platform is.
I didn't call him a nazi, just said he seemed to do the salute. He does seem to lean a bit towards the old South African view of trying to keep problematic groups of people at a distance, but doesn't seem anti jewish.

I think he's been a bit influenced by alt right tweeters on x/twitter. I'm in the UK and he comes up with some strange things about the UK that probably come from there. He seems to feel that our alt rightish anti immigration party, Reform, run by Farage, which has never been in power is not anti immigrant enough and he should step down for someone who properly hates muslims like Tommy Robinson. But it's all a bit odd based seemingly on misinformation from people who have never been to the UK and make things up to tweet.

I'm guessing the salute thing came for interacting with neo nazi types on x and not really realising how negatively that stuff is viewed by many people and now seems bewildered that people would torch Teslas.

I was thinking a lot of the problems are down to misinformation, even going back to the original nazis and stuff about the jews being influenced by satan and causing all the problems which is obviously nonsense but kicked everything off.
I think the interior minister pushes for the easier solution. What you talk about is most likely illegal currently (and law enforcement usually cannot do illegal stuff unless explicitly permitted by law and a supervised by a judge) and requires highly qualified staff. Hooking an AI to a backdoor is just easier and cheaper.
Sure, we couldn't stop it if we wanted to.

It does tend to move in lockstep with the other countries on the Eurasian Plate though, and its rate of roaming peaks at 14mm or so a year.
Tit-for-tat inherently forgives the moment the other party stops defecting, in a game theoretic sense. It's "start friendly, every future move copies other party's previous move".
Let's also add a link to the handwritten version for good taste:

https://www.cs.utexas.edu/~EWD/ewd08xx/EWD831.PDF