skysight-inc/HackerNews huggingface dataset:
very first order of business: git stash && git checkout main && git pull
We are commenting on an article titled "Great things about Rust that aren't just performance" and it's clear to me that one of the great things being mentioned is how Rust approaches polymorphism that's different from the typical way in Java or Objective-C. So it is more important to highlight the differences rather than the similarities.

Think about it: if the Rust trait system were highly similar to Java interfaces, why would people rave about it?
> Thus, online, every neighborhood is a "bad neighborhood".

This is like the exaggerated crime coverage on the local news.

I've lived in the so-called "bad internet neighborhood" for 30 years, and I'm fine. It's not so bad.
This looks very cool to me, and I might start using it for my projects. Anything I can use to get away from make and, especially, CMake, is a massive win in my book.

I've used mk in the past, but asking users to install Plan 9 from User Space is a big ask :). A rust program they can just build with cargo feels a lot better.

Questions:

* is there a way to pass arguments, such as CC etc. to werk. will config or let skip past the first assignment if there is an environment variable defined with the same name? or how do i get my config to werk without editing the werkfile

* does the depfile rule get called if the depfile already exists? if so, what are the performance implications of this? if not, what happens when I include a new header in a file and the dependencies change?
You can see some classic Keaton in "A Funny thing Happened on the Way to the Forum". He remained great, even as an old man.
It's gaslighting because it consists on people from Microsoft explicitly saying that it is impossible, it's not how Windows behave, and the user's system is idle instead of overloaded.

Gaslighting customers was the standard Microsoft's reaction to bugs until at least 2007, when I last oversaw somebody interacting with them.
This needs to be shouted from the rooftops. If you could do it yourself then LLMs can be a great help, speeding things up, offering suggestions and alternatives etc.

But if you’re asking for something you don’t know how to do you might end up with junk and not even know it.
I think when you're at apple's scale, the cost of doing all of that difficult engineering pales in comparison to the cost of responding to subpoenas and bad press/lost sales from compromising user privacy. (google did something similar when they stopped storing per-user location data)

Separately; it doesn't matter how good your technology is or how much you believe in it, you need to win the PR battle of convincing people of how it works. An example is VPN companies who claim not to keep logs testifying in court under oath that they can't produce requested logs, or Mullvad being unable to comply with a search warrant for storage drives because their servers didn't contain any.
The OP is surely joking. Less than 10k karma since 2015 isn't a serious karma race ;)
I think most of the heat and fuel will get wasted anyway. A nuclear-powered cargo ship is going to be closer to a nuclear-powered submarine than a nuclear-powered aircraft carrier, in terms of the number of people being supported and the needs beyond propulsion. That means running the reactor below its optimal fuel efficiency, and then intentionally discarding a portion of its heat most of the time to retain some spare capacity for demand spikes and emergencies. Of course, small-scale nuclear reactors are an active area of research, but AFAIK the results haven't been promising yet. So it's an avenue, but not the only one.

Running a reactor full-bore on shore, pumping ocean water, desalinizing it, electrolyzing it to hydrogen, cryogenically separating nitrogen from air, and combining the result to produce ammonia, might look really inefficient in isolation, but might be efficient enough when compared against the alternative. When the costs of logistics, personnel, and capital are accounted for, it might even come out ahead. That having been said, the amount of waste oxygen this would produce is immense, and could create risks of its own. Ammonia is also more likely to produce NOx when combusted in air than hydrogen is, so that's not great, either.
The things I want most from a new C standard:

1. Fix the integer promotion rules. Obeying them as they are now makes code considerably less readable.

2. Choose one of the idiomatic approaches to type punning and make it standard. Having to use memcpy() over and over again is terrible.

3. Make casting a pointer-to-struct to a pointer to its first member supported. Stop leaving it to POSIX.

4. Make the exact-width integer types in stdint.h required. They were brazen enough to require support for long long in C99, so why not?

5. Make integer literals without type suffices be compile-time bignums.
I wrote a small kotlin framework to help me write documentation that has lots of code samples (https://github.com/jillesvangurp/kotlin4example) that might be of interest to people maintaining kotlin libraries.

My library tries to enable literal programming in Kotlin via a Kotlin DSL that makes it easy to use markdown in multi line string literals. You use the DSL to write your documentation as a Kotlin file that generates markdown that you can save to a file when you run it (from a test typically).

The key feature that enables literal programming is an example lamda function. This makes it easy to embed example kotlin code in the documentation. The library figures out how to extract the code block you pass to this function from the source code and includes it as a markdown source code block in the markdow output. Example blocks are also runnable (optional) and of course have to compile. If you run them, you can optionally capture their output as well and render that in the documentation. Additionally it captures the block return value and allows you to do things with that.

Of course you can also include existing markdown files, create links to files in a (public) github repository or pull in source code examples from existing source files.

Most of this isn't really novel. But I haven't really seen anything like the example lamda function in other tools. And this is something that might also work with other languages (Ruby maybe?). Although it does rely a bit on reflection and classloader magic to figure out the source code that corresponds with the .kt file in which the example blocks are located. At runtime it tries to figure out the beginning and end of those blocks and transforms those in markdown source blocks.

As far as I know, I'm the only user of this library so far. But since I think it is kind of nice, I thought I mention it here.

It's not perfect but I've documented a few of my open source kotlin libraries with this. The most significant one is jillesvangurp/kt-search, which has a lot of documentation at this point.
For 'Advent of Code' I have been using a kind of literary programming method based on Markdown files. I have written a parser that can read Markdown files with segments of C code and put all the segments in the correct order to be compiled. For an example, see: https://github.com/FransFaase/AdventOfCode2023/blob/main/Day...

I also used it as a documentation for parser I have been developing, which shows the literary programming style in a better way. The program can combine several Markdown files into a single C program. See: https://github.com/FransFaase/RawParser?tab=readme-ov-file#d...
They say a name like mine can hold you back in life, but I will never change it
> but we are ok with Llama3.3?

Considering Meta's view about the new president, the new Llama might become closed source at any moment now.
Random Card is rated E.
(0.9 x 30%) / 11% means that California has a homeless rate 2.5X the rest of America. That's not impossible, in fact it seems surprisingly low. California is the land of $3000/month rent. A very significant proportion of the population can't pay that.
What I mean is that I think this is the fastest way to end the era of widely-available general-purpose-computing devices that we are currently in (and that is currently ending, but at a glacial speed).

It's not that hard to imagine a version of the world where computers as we know them do not exist, but are mere appliances (like tablets and smartphones), and if companies feel threatened that they might be forced to open up their computing devices, they will be quick to make them not fall under the definition.

Instead of a smartphone, you will get a "Can telephone and access facebook and instasnap" device with whatever technical cripplement is needed to make it not a computing device and be exempt from the law. And as the general public and justice system is pretty ignorant with regard to technology, it's going to be pretty resource intensive to convince a judge why every gadget around that suddenly identifies as "not a computing device" is in fact on anyway.
I built this sort of notebook before, the issue I have with notebooks though is version control, debugging, testing, and general integration eg. with deployment processes.

In a large org, if you're missing any of them it's a showstopper, so lowest common denominator applies ie. basic comments.

Ideally, the language would allow for scoped markdown+ comments, and be able to build a document from linking params and functions, into a narrative (Obv. this requires you do your project overviews in the correct location, but that's a small issue).

I suspect LLMs will be able to help document code shortly.
You're so endearing, it's really going to win me over to your side of the argument.
Not OP, but…

I trust a leak from someone with no financial gain from the leak.

I do not trust multi nationals worth several million, billion, trillion, to state truth. I expect them to lie until caught by a federal entity and fined.

Guess how many times multi nationals lied to the public last year alone.

Now you answer: “Why do you put any trust in what statements a corp releases?!”
Mauro Morandi, Italy's Robinson Crusoe, Dies at 85
Chinese sea launch sends 10 navigation enhancement satellites into orbit
God, the anxiety I feel thinking about updating an older Android app and fighting with the insanity of build spaghetti for days every single time.
Star Trek fans changed the name of NASA's first space shuttle
Nokia Smartphones Discontinued: A Chapter Closes
Looks like the stores allow apps acting like a casino and they’re only against apps looking like a casino.

Perhaps LBAL should get reskinned (with no slot animations and with some pocket monster collection instead of cards, or similar) - with no change to the gameplay.
https://archive.ph/oQmn6
It's regulated by excitatory and inhibitory neurotransmitters. Former start and support the actions and thoughts, latter prevent or stop them. It's more complicated than that, but this explanation good enough for quick summary. And it's not only about the actions we think about, but also usual body function

> some level of learning or skill training that's possible to change your amount of laziness or drive

There are also things that don't require training. Music with tempo above 90 BPM (or better above 100) temporary increases the amount of excitatory neurotransmitters.
From Chaos to Simplicity: A Tale of Software, Scripts
We can move to Mastodon and attract some friends with good posts.
I think both should be banned
Is this deepthroating because they are worried about his tariffs raising GPU prices in the US?
>"Meanwhile, they say, voters behave like easily manipulated children and don’t have enough information, education, or domain expertise to weigh in on national leadership matters."

You see in all of this stuff at the core is a resolute disdain and distrust of the average human individual, seeking to treat them as little more than obedient automata. Some things about fascism never change.

>"Woah shit fellas Russian propaganda fake news shut them down immediately!"

Typical run of the mill Russian whataboutism. Ah yes, things are not perfect, therefore we are just as bad as them!
Why is Ashburn the data center capital of the world?
Another way, theoretically, is to privatize/keep profits and put losses on the shoulders of taxpayers. I don't think such unethical activities are ever done in the real world, though.
>Alas, once the game gets going I found Disco Elysium way too preachy and it completely lost me. Then I saw that it was scripted in part by the guys in el chapo trap house, which I find insufferable and it all made sense. I really really wish they had done away with all the political stuff, it could have been so good.

The union workers are depicted as useful idiots for corrupt scumbags at best and parasites at worst, communists as delusional losers, the moralintern as ultimately functional, yet brutally oppressive. The script does very clearly come from a left-wing side of things, but I feel it shows the most when it comes to leftist ideologies which are brutally criticized.

Funny enough, one of the most liked characters is the unfettered capitalist,which is depicted as far more humane than the general ideologue in the game.

I must assume that you disagree with some or all of this?
I was unlucky enough to start exploring using Sonos (as opposed to old Squeezebox) just as this new app thing hit.

One weird thing about Sonos is that it seems to be "a home speaker system for homes that dont have any children in them". Like there doesnt seem to be a way to allow kids to play music on the things without giving them access to _everything_
It’s funny how you think you’re not doing the exact same thing you’re accusing others of doing: policing language.
Patrick destroyed a successful company, and will be receiving millions of dollars on exit. His current replacement was an executive at the failed Quibi service.

Nothing in tech will improve until there are actual consequences for people like this. Serial failures just hop from job to job. ruining products and lives along the way.
Nobody is arguing that computers shouldn't have safety mechanisms. But the manufacturers of those devices don't have remote control over what I do with them. There's no equivalent of a "curated App Store" (and one that requires a 30% cut to the manufacturer, which is the real point behind it).

The equivalent would be if you could only use specific brands of replacement chains, blades, tires, or bullets that are approved by the manufacturer, for which the manufacturer gets a cut of the sales of those replacements.
UK adopts venture capitalist recommendations, leaves datacenter energy unsolved
This seems very much like an homage to the French film example, just done less well.
With Literate Programming it would be possible to defer the mention of the includes and a discussion of why they are necessary/how they were selected to a point in the document where that makes sense and was interesting.

The problem is, that sort of mechanistic thing is difficult to make interesting, and is easier to just do an exposition dump at the beginning of the document and be done with it.
I’m in complete agreement. Sales and politics are even more an integral part of academia and which science becomes relevant is a direct outcome of those social processes.
Officer leans over and finds another gpu right underneath the bumper... got em.
Exceptions thrown in both Java and .NET eagerly compute the stack trace and the text associated with it. They are also very expensive compared to the happy path. Historically, manually thrown exceptions in OpenJDK have been cheaper than .NET's (although .NET 9 makes them twice as cheap) while NPE's in OpenJDK are much more expensive than regular Java exceptions or .NET's NREs

In Java, you can disable stack traces altogether that massively reduces the cost (which is what e.g. Crafting Interpreters suggests - it's a good course but the author is both wrong and actively misleading about cost model of implementations covered in parts 1 and 2 because of this) but few codebases do this.
We have a Sonos speaker in the Kitchen and I'm so done with it.

We're going to renovate our kitchen in a few months and I plan to install a pair of speakers in the roof and hook them up to a Raspberry Pi with a Hifiberry amp and the HifiberryOS.

I'm sure there will be issues but at least I'll be free of Sonos.
Two different opinion-field inversions that differ in some important ways
What argument do you presume I’m advancing? Perhaps your tendency to see everything as a competition is why you view each conversation as a psychoanalysis evaluation.
Do you have the title of that video? I'm having trouble finding it.
Yeah that is a terrible strategy. Sonos needs to retrench and improve their current system before walking into other very saturated markets which they will be a non-player except the few die hards.

I'm worried in the long run my sonos players won't be supported because (a) the company burned all their money pursuing bad spend (b) company goes belly up (c) they decide it isn't worth maintaining the older speakers since they don't drive revenue but have to pay for maintenance.
How moral resilience helps nurses work through ethical strife Essays
"The right to not be insulted" is not a right at all. if you don't like what the other person is saying, your recourse is to leave, not to imprison the other person, or some derivative thereof.
Better ban Windows, then. It ships with a app called "Solitaire", which uses poker cards that "resemble the aesthetics of gambling".

Won't somebody think of the children??
Your full quote is "LLMs are able to often _preciesely_ recreate in contrast to MP3 at best being approximate."

Unless you are using the word "often" in a very different way to me, for this claim to be correct it would need apply to at least a substantial part of the training set — for example of the usage, if I were to say that "when I go to work, I *often* pass through Landbeach", the fact that this genuinely happened hundreds of times does not make it "often" due to the other fact that the most recent time this occurred was 2014.

It's impossible for LLMs to be able to "often _preciesely_ recreate" because there's not enough parameters to do that.

> 1st shot out of 1 is a strong sign I wasn't lucky unless you accuse me of lying.

Consider the converse: my test failed two out of two.

The second example in particular is a failure mode that LLMs are often criticised for: hallucination.

You picked a document which I anticipate would be a biased example; but even then, consider all the people who did a one-shot, saw it fail, and therefore didn't think it was reproducing content accurately, and therefore didn't post a comment.

To call your claim a "lie" would be to presume that was deliberate, which I would not do without much stronger evidence — as the saying goes, "lies damned lies and statistics", this is statistics.

A fair test isn't one document like you gave, nor two like I gave, it's hundreds or thousands of documents, chosen with careful consideration to the distribution to make sure there's no bias towards e.g. mass-copied newspaper articles (or, for image generators, the Mona Lisa).

This is just as important for determining limits to the quality of the models as to the question of if they are memorising things.
Only computers let bad people drain bank accounts at scale.
Impact of Sports Betting Legalization on Household Finances
In 2018, the US Supreme Court abolished the federal sports betting ban. Many states legalized sports betting soon after. So what has been the impact of sports betting legalization on household finances - did it impact saving or did it shift consumption around.

The authors find that:
1.The legalization of sports betting has led to a reduction in net investment, with a $1 increase in sports betting reducing net investment by $0.99. This effect is more pronounced for low-saving households, where a $1 increase in sports betting reduces net investment by $3 ((this additional drop in savings can be driven by the fact that bettors increase other entertainment expenditures such as watching the games).

2. This increased amount is usually funded at the expense of 'traditional brokerages'

3.The legalization of sports betting has also increased participation in lotteries, but not in online poker, suggesting that not all gambling activities are treated the same.

Interestingly, the introduction of Prize-Linked Savings Accounts could mitigate some of the increase in sports betting, as it has reduced the use of casinos.

To read more on this paper and others on the topic of gambling and investment - https://www.nominalnews.com/p/sports-betting-investments-cos...
"Ojalá" has been Spanish for centuries, it's an ordinary word. Most of the Iberian Peninsula once was under Arab rule, parts of it for 700+ years, so of course our ancestors borrowed some vocabulary from them.

More specifically, checking the etymology, "ojalá" seems related to the (old?) Arab idiom "wa sha Allah" (transliterations differ), roughly meaning "and God willing", which matches an equivalent Spanish idiom. I can't see how this has ever been insulting at any point in history.

Honestly, I think your colleague is virtue signalling hard.
your first mistake was doing any kind of take-home exercise at all.
That fable is crystal clear on being made up story. It also does not teach about human nature at all.
In seriousness, this make Meta's decision to push open weight models incredibly valuable. Now there's no restrictions on their geographic use or "Security Standards" unlike their competitors.
A discussion about this from faculty: https://bsky.app/profile/samth.bsky.social/post/3lf22654bks2...
Yeah, venv is really the best way to manage Python environments. In my experience other tools like Conda often create more headaches than they solve.

Sure, venv doesn't manage Python versions, but it's not that difficult to install the version you need system-wide and point your env to it. Multiple Python versions can coexist in your system without overriding the default one. On Ubuntu, the deadsnakes PPA is pretty useful if you need an old Python version that's not in the official repos.

In the rare case where you need better isolation (like if you have one fussy package that depends on specific system libs, looking at you tensorflow), Docker containers are the next best option.
Creator of Ghostty talks Zig over Go [video]
Sure, that makes sense, if you also get rid of all the cute looking bombs being carried around (gacha games).
This gets discussed in great detail in Ousterhout's _A Philosophy of Software Design_:

https://www.goodreads.com/book/show/39996759-a-philosophy-of...

Like most things in life, it's a series of tradeoffs and a balancing act.
And what's gonna happen to the board who backed/demanded all these things I wonder
Wow, I completely forgot that he played Erronius. Every time I think about the way he says "stolen in infancy by pirates" in that gravelly voices of his I have to stifle a laugh.
Patrick was at Sonos for 12 years, and 14 years at RIM before that, so he doesn't really fit the MO of a "bouncer.
It works pretty cool. Recently I was looking for something simple and similar to create a logo for a small pet project but couldn't find anything.
I did ctrl+f searching for "opinion", "I believe", "I think", etc. I can't find any reference to "opinions".

I read the post as the author decribing facts and imparting instructions of what we should do ("It's time to do X", "The cargo cult metaphor should be avoided") because they believe their knowledge/opinions/morals/beliefs are better than mine, and somehow they can dictate what to do; how should I feel, what should I think.

Otherwise I am oppressing, contributing to oppress, perpetuating something, [insert other accusations].

As in the past 15 years. It's enough already.

The real question is why the author is doing this? Is it ego? Money? Clicks? Pure and true altruism?

And here "virtue signalling" comes as a possible valid answer too.