skysight-inc/HackerNews huggingface dataset:
Oh cmake is full of so many gotchas. Dynamically typed specification languages are so painful.

BUSY looks cool! Unfortunately my work projects rely on another big C++ project that has its own meta cmake layer.

One thought, it looks like you're quoting a shell string like:

""NAPPGUI_BUILD_DIR=\"" + tostring(root_build_dir) + "\""

That'll break in annoying (possibly insecure) ways and is tedious to write the quotes. Perhaps you could add a 'quotedString' proc? Maybe:

""NAPPGUI_BUILD_DIR=" + quotedStr(root_build_dir)

Speaking of standards, have you tried talking with any cmake collaborators? I recall reading a post on HN discussing a possible new cmake frontend language. Something like BUSY as a frontend could be cool.

BTW, here's my latest attempt to avoid dynamic configuration files by making a YAML like in Nim: https://github.com/elcritch/cimporter/blob/exper-interp/test...

It may look a bit complicated at first, but the underlying syntax rules are surprisingly simple and consistent. There are only a few small macros for convenience like the 'list' one that replaces array syntax. Best of all that means I get all the goodies of a statically typed language like type annotations from the LSP.
By itself? No. But this is just one more thing that can be used to date a recording. If you even know about it.

There are hundreds of known fingerprints and you just need to forget about or not know of just one for your fraud to be called out.
The pdf described why consumption and overdoses went up after 2011 when the government took steps to restrict the supply of prescription opioids.

The price of illicit opioids was decreasing at the same time the cost of prescription opioids was increasing. Illicit opioids are a substitution product for prescription opioids for many consumers, so they adjusted their consumption to a more dangerous but cheaper product to fit budgetary constraints.
They had their chance with Project Treble, and took the decision to make updates optional and not a requirement for Play Store contracts, so naturally nothing changed.

The Android team is the one to blame, several times on Android Fireside sessions they have answered that they rather have the fragementation of the ecosystem where partners are allowed to experiment and come up with new ideas.

Well one of the ideas is to sell newer devices instead of free beer upgrades, with Google's complacency.

I still rather be on Android, because even with them screwing up Sun and leaving it to implode, I like that they push a managed OS no matter what.

Those that unaccept it and keep diving into the NDK with GL based UIs, always get a few scars in the process.
Performance-wise? Yeah, I bet you could. A Ryzen 5 mini PC is well under $200 and will probably have hardware acceleration for 4k60. If you're the sort of person that already has SFTP plugged into your "media backup drive", Kodi on a cheap low-power box is kinda a no-brainer.

There are certainly better push-button solutions on the market, but arguing in the AppleTV's favor for performance is probably a phyrric victory at-best. If you want an AppleTV, get an AppleTV - if you want a streaming box for your ripped Blu-Rays and legally-dumped retrogames, you can build it yourself for roughly the same price.
https://www.jetbrains.com/lp/devecosystem-2022/cpp/

57% use cmake, next most used build system is make at 33%
I posted already in the thread but when I started college in 1993 we had a mandatory intro to computing environment class. At the time everything on campus was Unix based with a mix of Sun, DEC, HP, and IBM workstations.

The class is still called E115 and I found the online text book. It has definitely changed in the last 30 years and the MIT course is probably a lot more in depth but the concept is the same.

You have students coming from high school that may have only used Windows or Macs. I've heard that a lot of students have got used to iPads and cloud storage don't even understand the concepts of files or file systems.

https://e115.engr.ncsu.edu/online-textbook/
This is my take on it too. Any technology that significantly reduces the cost of running AI is of immediate value to any company performing a lot of AI simulations currently.
The key thing about print debugging for me, that I've never seen a typical debugger handle well, is what I like to think of as "temporal debugging":

Taking a program trace from the print debug statements, grepping through it repeatedly to filter down to certain events of interest, looking at the interleaving of those events, and figuring out the order that things happened in to cause it to go off the rails. That sort of thing. (To be fair, time-travel debuggers can start to get at this, but those are pretty uncommon. Traces, as you say, work almost everywhere.)

Or better yet, compare the traces between working and non-working runs to see how they differ. I've looked at diffs of traces this way before. (Sometimes I'll first use a small script to renumber pointers in traces by order of appearance.)

I've also used this sort of strategy before for debugging rare threading or other non-deterministic issues. Have the shell run the program in a loop, saving each run's trace and results to a different file, go off and get lunch, come back and see if anything failed. Then look to see if any of the runs failed and look for the structural differences between the working and non-working traces.

I can't imagine sitting and stepping through in a debugger 100+ times in the hopes that maybe this time, it will be the run that's just different enough to trigger the bug and that the debugger itself won't prevent the issue from manifesting. Not to mention, trying to remember the steps from all the good runs and spotting where the bad run goes bad before you've stepped to far. No thank you.

I think people really underestimate print debugging. Debuggers are fast and easy for simple bugs, sure, but there's powerful stuff that you can only really do with printed traces.
I don't personally think it's absurd. It seems people nowadays would just get a travel trailer or similar for temp housing (am thinking west coast areas after modern fire damages)

edit word
Unlockable bootloader? HTC Nokia hasn't been permitting that so far.
I actually expected to see a map of insides of the airport: check-in stalls, security control, lounges and shops. Some places even had those, but it is painted over with an orange "this is an airport building" matte plate.
I’m not outraged that the shoes were reused instead of recycled; I agree with you about that probably being a better outcome.

I don’t think that was the article’s purpose, however: the purpose was to show that companies like Dow can’t be taken at their word when it comes to environmental initiatives. The outcome in this case was preferential, but all evidence points to that outcome being the product of Dow simply not caring.
I'm not convinced the current generation of AI is going to put any skilled workers out of their jobs. But one industry it is definitely going to disrupt is the bullshit industry. And by disrupt I mean bring it to previously unimaginable heights. Search engines drowning in garbage, interactive scams on massive scale, individualized fake news complete with deepfake footage. I'm bracing for a tsunami of bullshit.
> On MY computer, I run what I want.

You can always do so, as long as you're not connected to the internet. In the same way that on your property you can drive what you want, but on the road there are minimum standards of safety that are supposed to be met, and some authority might enforce them. I completely relate to the "who moved my cheese?" effect, but unpatched internet connected software affects more than just yourself. This is not giving companies that completely disable software that could otherwise be hardened with some minimal loss of functionality (like disabling the old Office equation editor) a pass.
There should be something similar to haveibeenpwned, maybe haveibeensold, where you can report these things and see if others are experiencing the same.

If uber sold the email addresses, or had a leak, many people will be affected, and some of them likely have custom aliases. If nobody else was affected, it might just be a random event, bots try to brute-force aliases on domains all the time.
From the article:

>The donated shoes that ended up in Indonesia have added to a flood of illegal second-hand clothing pouring into that developing country, according to a senior government official there, who said such cast-offs pose a public health risk, undercut its local textile industry and often pile more waste into its already bulging landfills.
I find the extent to which Dow lied to be outrageous. It did not say the shoes would be recycled, but specifically said they would be used to make playground padding.

Why shouldn’t honesty be expected? After all, this is a country where people still get caned.

Reusing the shoes as was the case is of course better.
80% of the world doesn't care about those performance enhancements at the price of a laptop replacement.

Apps or OS doesn't matter, they are interwined.
lack of updates and locked boot loader

The boot loader will probably be unlocked sooner or later. It should be open, but I think it's reasonable to expect either update support or unlocked booting, not necessarily both.

In a gook device, that is. You have to remember that most consumers do not want to know how their phone works or to become expert in its configuration. They just want it to work.

A compromise here would be to have an option to unlock everything, but with the understanding that by doing so you opt out of warranty service.

Is your iPhone's boot loader unlocked?
Yeah this points to why I think information is actually the salient feature.

Thanks for taking the time to comment. How could I go about learning more about the specific definition of causality you’re referring to here?
It looks like it doesn't support mirrors or things like right angle prisms. Mostly targeting camera lenses, it seems. Not super useful to me at the moment. I'll be watching with interest.
Ask HN: Are people still using Pascal?
Pascal, and later on Delphi, was what introduced me to programming 20-something years ago. As with most folks in our generation, I quickly discovered other options, more suitable for that relatively fresh thing called the Web.

So, i generally considered Pascal a dead language.

I was surprised to find out the other day that Delphi is not only alive, but thriving in its own way. Its community is as strong and as fervent about using it as it was back then. Even on the open-source front, there is an alternative IDE called Lazarus that offers a similar developer experience at no cost.

This got me curious. Who is still using Pascal/Delphi in 2023 and what for? Has it matured beyond the desktop app? Has it transitioned into the cloud-native era?
When I say it has no value I guess I mean the "intrinsic value" as defined here: https://corporatefinanceinstitute.com/resources/capital-mark...

A stock is considered overvalued when its price is not justified by its earning outlook. Bitcoin does not have earnings, so if we tried to value it the same way we value stocks, the intrinsic value would be zero. People often use the word value to mean the market value though, in which case, yes I would agree that bitcoin has a nonzero market price.

What sort of factors were you considering when you determined a valuation of 20-25k as the true worth of bitcoin?
This to me is what I see want to see as the fallacy in the anti-ChatGPT argument, but at the same time have to acknowledge as the real danger. I think AI paired with a human, as you are describing, can be more effective and efficient than either on their own. However, I've never seen it stay that way in commercial applications. So I'm afraid that the smallest drive towards cost-cutting will lead to removal of the human in the loop or at least tighten throughout expectations so much that the human intervention is in practice more often missing than not.

Not sure what to do about this. I want ChatGPT as a tool available to me, but I don't want any service provider I interact with to use it because I know they'll fuck it up eventually and I'll get worse service.
That definition would make anyone who refuses to be silent about injustice an extremist.
> the Soviet Union was going through breakneck growth

quite literally infact
> when they cannot install whatsapp or messenger or their banking app anymore.

Hyperbole much? That's a ridiculous claim. I've been sporting a "renewed" Samsung S10E since early 2021. There's still nothing it can't do. Prior to that I owned a Galaxy S7 since 2016! That's a 5 whole years without any phone issues on an Android phone. I turned on the S7 a few months back and after an update, all the apps still work.
The story of the Matrix project is about the closest thing you could find to a total vindication of Moxie's original take about federation. Federation delayed the convergence of Matrix to E2E-by-default by (as I recall?†) years, and will drastically complicate their response to the Nebuchadnezzar results, which were themselves in part a complication of decentralization and loose coupling.

You can coherently argue that decentralization is an important, or even necessary, goal for private communications. I won't agree, but I can productively hear that argument out. But I don't think you can cite Matrix as the counter to Moxie's point; with respect to Matrix, the more appropriate assessment of Moxie's federation argument might be "prophetic".

I will never sound like it, but I'm in Matrix's corner. I see clearly where they fit into the ecosystem. The world where Matrix replaces Discourse, Slack, IRC, and Telegram is a better world.

I do not see Matrix replacing Signal, or whatever post-Signal project is carrying forward their ideals 20 years from now.

† A Matrix project person will be sure to correct me on this, and I call it out in part to be candid that I'm not certain about the specific duration.
Hopefully it can put a bullet in it, finally. If anyone can generate infinite bullshit instantly for free, what value is there in being a bullshitter?
PJM Details Resource Retirements, Replacements and Risks
That's not the reason why. The reason why is that the falling tree disturbs particles in the atmosphere while it falls (which makes a sound) and when it hits the ground (which makes another sound--both from the vibration of the ground/air interface and through the earth itself).
AV != PR

In fact had the AV referendum vote gone the other way it is likely that the composition of our Parliament after the following general election would have been less proportional to the overall share of the national vote won by each party.

AV has certain desirable characteristics if you want to elect a single representative fairly. It makes little sense as a way to elect a group of representatives fairly. It sure is a great strawman if you're trying to kill off interest in real and appropriate electoral reform and fixing the systemic democratic deficits clearly evident in the current system we use to elect our MPs though.
Does Signal still "need" your phone number?
I had to abandon my Google workspace account with my main email domain after they booted the free GSuite status (I migrated before they changed their mind unfortunately). Not only is that account gimped because it is a Google Workspace account (with little things all over that refuse to work with those style accounts at all) now it's even more gimped because it has no active subscription tied to it.

I can't downgrade it to a personal account without deleting the account and recreating it, but there's not even a guarantee that will work. Deleting the account will also mess up family photo albums and other items. Photo storage is full but I'm also unable to pay for storage without adding a subscription to the account. It's so risky to try and fix it that I just had to migrate to a new google account, re-purchase all my android apps, and just ignore that account forever.
Because that’s not how you reform a broken system.
They used to make them. A manufacturing company from way back, they were the biggest manufacturer of phones from about 1998 to 2011.

Now HMD make them, I think.
> remapping jk in insert mode results in lag after typing 'j'

It only creates lag if you actually want to type 'jk'. Otherwise, you keep typing like normal, and it doesn't matter. You should be able to config the delay, too. I use `fd`, and I can count the number I've noticed it.
Oh wow, that's very exciting for me! It's been probably my biggest pain point about Apple Silicon
SSDFS Is The Newest Linux Filesystem & Catering To NVMe ZNS SSDs
Who is worshipping iOS here then?
This is hyperbolic, of course. But it makes Kurzweil's 2045 prediction of the singularity not as outlandish as it first seemed. https://www.smithsonianmag.com/air-space-magazine/reaching-s...
Crypto has almost no use cases for the average person over the system the average person is already using. Crypto has a huge amount of risk over the average system the average person is already using. This dramatically reduces the perceived value of Crypto. Again, Crypto has uses, but not at the value put on individual tokens when compared to cash.

When looking at your AI description, if used in the same light, Linux should have won the world and Windows and all other proprietary software shouldn't exist. And yet here we are with billions/trillions in market value around proprietary software.
The thing about this is its repetitive and useless, constantly draining of brain power. In my job, I respond to emailed/ticket incidents. I do the work to fix the problem. I note the work and fix in the ticket.y manager wants a weekly report on "what you accomplished this week". Then we have a weekly stand-up meeting with the whole team. And THEN I have 1on1 meetings to discuss what I'm working on.

At this point, I've done the work, documented a fix, written about the problem and the fix in three different places, and then talked in two meetings about the problems and the fix. Why the shit do I have to relive this problem 5 times just to make a manager happy with "staying in sync". I spend more time TALKING about the problem than it took to fix usually. The only thing I should need to tell my manager is when I can't meet the deadline and WHY. Not explaining and repeating my work 5 times.

It's beyond inefficient, it's not a matter of allocating resources, it's an asinine waste of time.
I mean this would be a resolution to the war. Both sides would agree to ban all travel between the two countries.
Show HN: 138 Generative AI tools for images, text, videos, code, audio, and 3D
> I suppose you reduce the blast radius a little for memory corruption issues when programming in something like C, but these days if you are using a type safe language I'm not convinced it buys you much in terms of fault tolerance.

That's an often cited advantage, and I think it's largely bogus. In postgres the only process that benefits from that is the "supervisor" process ("postmaster"). If any of the other processes crash / exit unexpectedly, all others are restarted as well, and the database is restarted via crash recovery. The supervisor could stay a distinct process even when otherwise using threads. (And no, restarting in systemd etc doesn't achieve the same, we continue to hold onto sockets and shared memory across such crash restarts)

> But I am really keen to understand if you actually lose anything in terms of performance.

Much higher TLB hit rate - separate processes will have separate entries in the TLB, leading to lower hit rates.

Even aside from TLB handling, cross thread context switches are cheaper than cross process ones.

Ability to dynamically change the amount of shared memory, without needing to play tricks with pre-reserving memory ranges, or dealing with relative pointers, makes it easier to improve performance in a lot of areas.

Not needing file descriptors open N times makes things cheaper.

Ability to easily hand of file descriptors from one thread to another makes it easier to achieve higher CPU utilization.
Then it's not a philosophical question so much as about the meaning of "sound". And "debates" about semantics are about as uninteresting as it gets.
Blank screen, console is red with errors, Firefox 110 macOS

Whatever it's trying to do with service workers, it needs better error handling or fallback behavior
PJM is America's largest power grid.

Retirement of existing generators is putting the grid at risk as the addition of new generating capacity is much less certain.
yes. probably that's how they keep spam to a minimal.
The solution is definitely to find someone in the school IT who can help unravel this mess.

But the fact that it's even possible to reach a failure state like this is still worth public discussion. You're probably right, odds are his daughter hit "okay" on some screen... but it shouldn't even be possible to irrevocably hand over the keys to a private account.
I couldn’t drink it every day, but I can’t imagine a better solution for backpacking.
No. Any taxes paid by a subsidiary would be a credit to the holding company’s taxes owing in one form or another (even if a deferred credit) depending on the legal structure.
I agree with you.

A cheap drip coffee machine (sometimes an actual Mr. Coffee) is what I typically find at airbnb or vacation rentals, etc., and it makes me perfectly happy.

At home, I have what should be considered "the cadillac" of these type of makers - the Technivorm Moccamaster - and I feel squarely on the correct side of diminishing marginal returns (especially given the relatively low price).
Previously: https://news.ycombinator.com/item?id=34343122
Did... Did this actually just happen for real?

https://www.lesswrong.com/posts/a7n8GdKiAZRX86T5A/making-bel...
Why doesn't Nokia allow me to preorder or sign up to be notified when the device is released/available in my market?

A search for g22 on nokia.com yields zero (!!) results. https://www.nokia.com/search/global/en/G22

I'll be shopping for a new phone soon and am interested in this model. But wow, they've missed a huge opportunity to capture that interest and let me know when I can buy!
> I don't quite get the time travel bit. I've seen too many sci fi and fantasy shows where time is effectively frozen while supernatural entities move about. Other than the supernatural entities moving about, the instant is the same everywhere, it doesn't go back.

Those representations are inaccurate.

If time is truly frozen, that means photons should be frozen in place, unless photons are somehow exempt due to having no mass and thus no time.

If the frozen photon theory is correct, you would have to see things by moving your eye into rays of light and letting photons hit your receptors and get consumed. But because these photons are being consumed and not replaced, you will leave pockets of darkness where your eyes will see no signal if you pass through there again.

At normal everyday distances you will see everything frozen in place with this method. However, at long distances such as light years, moving into the light source will run its animation over time at the speed you are moving toward it. So you will see the event occur before your eyes right up until you reach the destination where the event has already occurred, and you can observe firsthand what we already knew to be true.
> or that I should base my system on an existing processor architecture and work on something like Justine Tunney’s blink instead.

If she did then she'd be very welcome as a Blink developer.
Exposure to the torn leaves can cause serious irritation too. They smell wonderful though they are NOT to be used as a substitute for "real" bay leaves.
How Does a Computer Physically Store Binary Code? (2019)
There's a universal partial order of events. If something's in your future light cone, or your past light cone, that fact is independent of the observer. For the things that are not dependent on your present, and do not affect your present, different observers can have different understandings of the order.