skysight-inc/HackerNews huggingface dataset:
> which otherwise would not have been possible

I wonder is it possible to implement logarithmic depth in the vertex shader, as opposed to pixel shader? After gl_Position is computed, adjust the vector to apply the logarithm, preserving `xy/w` to keep the 2D screen-space position.

To be clear, I have never tried that and it could be issues with that approach, especially with large triangles. I’m not sure this gonna work, but it might.
Thanks, though that study makes no mention of CO2, and concerns instead oxygen from 500m, to 1b years ago, which seems a little far off to be applicable to the order of the around one hundred and fifty years ago being asked about. Have I missed something?
Example: suppose I am testing a program which reads in a directory tree. I have my test driver program create a temporary directory, with multiple files and subdirectories in it. I can’t use /dev/fd for that, since it doesn’t support directories

Related example: testing a program which expects a file name to match a certain pattern; can’t do that because /dev/fd file names are just numbers
It’s not a headline of an article though
None of this is a “now” thing. It’s been that way for, what, at the very least, 15 years?
I am firmly in the control your primary key, preferably uuid.

Quick question for database gurus here.
Is it ok to have a currency table using the currency code as primary key?
As someone that knows Linux since Slackware 2.0 in 1995, the adaption of XDG has been quite flexible across the Linux/BSD landscape.
In Search of the Lost Web
Gerald Undone made video addressing issue of influencers and camera industry recently.

https://www.youtube.com/watch?v=_7c4ZbBzqK0
Timestamp : https://youtu.be/5imrulocDlY?t=771
I like to say that the best solutions tend to "look like" the problems they are solving. Solutions can't be succinct if the problem isn't succinct. But they can limit any new concepts to a minimum, reusing the concepts of the problem space as much as possible, and thus being succinct in that way. A great example of this is OOP (admittedly out of fashion today), which reuses the natural concept of "object" and its traits, making it easy to map the problem space to the code that provides a solution.
Corporation breaks the law to increase profits, gets caught, makes a PR stunt "apologizing" and gets off with a slap on the wrist.

Where have I read that before? Oh, everywhere.

This will never change while profits are the sole reason companies exist. No amount of regulation will stop corruption and/or incompetence from the regulator's side. It also won't change the fact that regulators directly or indirectly have incentives to turn a blind eye, so huge corporations can, you guessed it: keep profiting.

People die because of these kinds of shenanigans, but nobody seems to f*** care as long as profits continue to roll in.

I know I'll now never buy a Toyota, not that it matters at all to their bottom line.
Seems highly likely that that J-L Krivine is (up to isomorphism, anyway) the same as the eponym of the https://en.wikipedia.org/wiki/Krivine_machine .

(being the advisor of J-Y Girard is evidence that « un train peut en cacher un autre »)

EDIT: s/highly likely/certain/, see publication list: https://www.irif.fr/~krivine/
No, they can't. They don't have any access at all to your device.
But as jeduardo already said, you can fetch updates from the device manufacturer.
The mentioned Fritz!Box from AVM has automatic updates and is known for delivering them for a really long time. My 12 year old repeater from that brand is still receiving security updates from time to time.
Here the council* provides the bins that they collect on rubbish day. If you want to provide your own bin they'll leave it alone, if you leave the council bin there on rubbish day they'll take the contents away.

Likewise if you make /akirastmp, the OS will leave it alone, but using the directories the OS clearly makes temporary for things that aren't should be the configuration to require manual setup since it's the unusual one.

(* Council's licensed private operators)
Sure, the point was that it’s not black and white.
Yes, but I've never actually seen this done in practice. For starters, it kind of requires a multi-stage compilation process - because you must verify and prove non-ambiguity before or during compilation of the application using the parser. In practice people just use their parser-generators in their application's code without any prior stage verifying it. To do this without a multi-stage approach would requires somehow embedding the semantics of LL/LR into the host language's type system. I suppose alternatively you could verify the parser on application startup and terminate with an error if it's not valid LL/LR.

PEGs are a better fit for parser combinators because the host language typically has a pattern matching construct which checks patterns from top to bottom, and this matches the semantics of PEGs ordered alternations.
It wasn’t immediately clear what kind of design you’re auditing. I think adding the word “web” before design would help that.
Systemd has managed mount points on systems where it runs for a long time. It provides mount units an alternative to fstab mount directives, which offers some advantages (including parallelism of at-boot mounting, granular mount dependencies for services, automatic runtime mounting and unmounting) and disadvantages (harder to view at a glance than fstab, more complex).

What’s more, on systemd systems, fstab is dynamically converted into native systemd mount units at boot, so in many cases fstab is purely a facade/compatibility shim over systemd doing all the mounting anyway.

While not terribly prescriptive, “man systemd.mount” recommends /etc/fstab be used to manage “mounts for humans” due to its simplicity and accessibility. So it doesn’t seem like fstab is considered legacy or deprecated by systemd; rather, this seems like more of a porcelain/plumbing distinction.
Only if you have a non-zero temperature. You have to program in nondeterminism, because otherwise they are 100% deterministic.
Another way to do this would be to compress the file and compare the compressed size to the uncompressed size.

Encrypted files do not compress well compared to code, I saw a phd thesis that postulated an inverse ratio of compression efficiency to performance data mining, this would be the opposite
Your opionion is based on the assumption that GPT-5 will be underwhelming. Do we have any hint to why you think so?
> I trust Microsoft to not send photos/videos of user activity back to home base. Seems like a lot of bandwidth.

And you trust them also to not report you to 3 letter agencies when they see "something unusual" ? /s
Just behind Vanguard.
What are the car platforms/skateboards that are affected? Does it matter? I would assume the platform provides a big part of the rigidity, etc. aspects that matter in collision/safety tests. If so, the other models that use the same platforms will also be affected?

(not a car industry person)
Thanks!
A problem I always run into with OpenCV is that I need to preprocess the checkerboard images such that the lighting is just right. This is odd because that's the sort of thing I'd expect a computer vision library to excel at.

Another problem I run into is that the transforms are ill-defined just outside of the screen. That means that if I want to draw e.g. a line in world coordinates onto the image from a camera, then I often get garbage if the line starts or ends outside the image (even if I divide the line into many segments).
This is generally pretty slow and complicated.
lock: ctrl + cmd + Q

logout: cmd + shift + Q
I’ve never touched a PEG parser in my life and parsing isn’t super my thing in general, but: a recursive descent parser could parse this just fine (not left recursive), correct? But it would have to backtrack after trying rule 1 five times, and switch to rule 2 when it backtracks to the third layer of recursion?

PEGs can’t do this kind of backtracking, is that the reason?
This is true already if your remote machine is red hat, fedora, arch, opensuse, rocky, ...
> The only real losers here are primarily Ukraine which is being destroyed and Europe which has to keep doing what US wants since it's dependent on the latter for defense.

Your thinking in this area lacks depth. Think about what happens next after Russia is handed Ukraine. And after that.
The button combination with a closed hinge one is all but confirmed to be deliberate. To my understanding it's meant to be used in Nintendo repair centres to flash a new firmware for refurbished devices. Of course not described as such to repair centre employees, but that was the intended usecase.
> While that is unfair, the debugging experience, stability, flexibility etc are more painful for my taste.

You mean c# debugging and stability are bad relative to your own debugging workflow (I can imagine how CL makes things way faster) ?

> lisp (and prolog by the way)

Talk about low odds, I don't know how many shops use both but that seems like a rare gem. btw you use swipl as your prolog implem ?

Do you do conferences discussing some of your work ? I'd be very interesting in following that :)
> Parent seems to care more about 'not polluting something i see all the time'.

Yes, this.

> Typical of our society, we want to make everything someone else's problem.

I don't think that's a fair analogy.

It's more like moving junk from the living room to the attic. I'd prefer to have a clean living room and a messy attic.
Show HN: I made a tool to generate macro meal plans
Hey HN.

I’ve been struggling to lose weight and gain muscle for years and it is all down to bad dieting. I realised I’m spending hours every week to create a meal plan, but often was put off creating it due to the time commitment.

So I built MacroMate, it’s a tool that lets you generate a macro based meal plan in seconds.

It accepts a user input Macro criteria and then processes the DB of recipes to generate a plan.

This generation is currently done purely via an endpoint, but I intend to move this to either a Lambda or a Cron Job as it is essentially the ‘brain’ of the system.

The backend is built in NestJS so I’m also considering using its built in Task Scheduling.

Any guidance on this would be greatly appreciated as its an area I lack experience within, but otherwise please feel free to let me know any feedback

Dan
In colder climates I cannot see EVs being relied upon by people. The kind of places you still need the electricity to keep the engine from freezing overnight would destroy a battery’s capacity and from what energy that’s left you’d be wasting a bunch of it on heating the cabin.
Core.py episode on the transition to the parser mentioned limitations of the LL(1) parser wrt to new syntax.[1][2]

There were some positive side effects to the move and it enabled better exceptions, with more detailed information.

[1] https://podcasts.apple.com/us/podcast/episode-8-the-new-pars...

[2]https://podcasts.apple.com/us/podcast/episode-7-the-old-pars...
I think long term, that is a bad idea.

In Brazil in the 80's and early 90's, the currency changed name several times. It was called "cruzado", then "cruzeiro", then "cruzado novo" (yep, "new" <old-name>, very creative) and then I think it went back to just "cruzado" :D before finally becoming Real (which I believe was the name of the currency also during Monarchy, 100 years earlier).
One can convert those to the correct characters. Since “oh” and “el” are excluded from the alphabetic range, they become “zero” and “one” - deciding whether that is done in software for the help desk, or in the brain of the help desk staff is left as an exercise to management.
Also, given robotics is also advancing fast, anything that relies on our being in complete control of the physical world (including physical access to on/off buttons and to things like power plants & energy grids) potentially goes out the window once both sides of the equation - robotics for execution and AI for control - have progressed enough that combined they can form an army capable of overpowering well-armed humans (unless the humans have a huge financial advantage / can be well armed enough to beat relatively weaker robots).

I don't think it's something that's bound to happen, but I do think it's a real concern - and I'm not personally worried about an I, Robot or Matrix scenario where AI decides to take control of humans for whatever reason, but by the idea of it becoming easier for a small number of immoral people to control vast power without having to persuade armed people to do what they want.

For example if the AI / robotics arms race sees one major military power take a significant enough lead, it could see them become temporarily invincible (if it includes AI-based missile defence which allows them to secure the entire country's skies without needing millions of people to do so) and they might decide to attack others to try to keep it that way.

If, before any other country had caught up enough, the leading country were to have either a single dictator, or a political party in power, who wants to act like the empire builders of several centuries ago did... maybe what hasn't been possible for many years now might become possible again, and we could see a country like the US or China decide it would be better if the whole world were controlled by them, and any country that didn't volunteer to become a state under their power would be forced into occupation by swarms of AI-controlled fighter drones.

Without needing to accuse any countries of currently being run by people who would choose to colonise the world if they had the choice, it's clearly not unprecedented for people to make that choice even when knowing it would cause many deaths on both sides - this time it might be almost entirely limited to deaths on the other side, and potentially even not many of those if everyone learns quickly that there's no point resisting against the invincible robot army?
(I'll use position 1...5 to refer to the characters in "aaaaa", and first, second, third level to refer to the initial and then the recursive calls to the Str rule)

1. When the PEG parser enters the third level of Str, its first choice will successfully match on positions 3...5, and return to the second level of Str.

2. The first choice on the second level will fail, however, because it expects an "a" at position 6, which doesn't exist. Therefore, the first choice is discarded.

3. The second choice on the second level will succeed by matching "a" on position 2, successfully returning to the first level.

4. The first level finishes matching the first choice by consuming the "a" on position 3, successfully returning the parse tree Str = ("a" ("a") "a")

5. The remaining "aa" on positions 4...5 weren't consumed.
We are in a sort of similar situation, but our solution was to put a Raspberry Pi in a windowsill that runs a reverse SSH tunnel (through a server in a VPS somewhere).
Unveiling High NA EUV – ASML [video]
See the nearby comment by adwn: aggressive "packrat" caching fixates on long matches starting at intermediate positions, without considering any shortest matches at the same position.

Correct parsing would require discarding these long matches because they cause higher level rule expansions to fail, but smarter algorithms with an increase of runtime due to complete backtracking and/or an increase of memory usage to distinguish and remember different matches for the same rule at the same location would be required.

EDIT: two nearby comments by adwn.
> The natural key forces you to think about what makes the row unique. What identifies it.

When designing a table - you should always be clear about what the natural key is and make sure it has uniqueness constraint. Mindlessly having a surrogate key without thinking about what the natural key is, is an anti-pattern. So totally agree here.

That doesn't stop you also having a surrogate key though.

Another aspect of natural versus surrogate keys is joins as the key often ends up in both tables.

Using natural keys can mean in some circumstances you can avoid a join to get the information you want - as it's replicated between tables.

There is also the question of whether you surface the surrogate key in the application layer or not - some of the problems of surrogate keys can be avoided by keeping them contained within the app server logic and not part of the UI.

So via the UI - you'll search by car registration number, not surrogate key, but in terms of your database schema you don't join the tables on registration number - you use a surrogate key to make registration numbers easier to update.
In the comments it's mentioned, that the IDs contain a shard key for faster lookups.

https://dev.to/stripe/designing-apis-for-humans-object-ids-3...
What I ultimately care about in a language is productivity and joy (but there's a strong correlation between them, so let's simplify to just one criterion, productivity)

I feel most productive in Swift and Julia (more so than in Common Lisp or Clojure) and some kind of a mix of those would be my ideal language.

One of the keys to productivity is how much mental effort does it take to understand the code doing some thing (for example arithmetic expressions in Lisp).
I think that’s just a too advanced threat you want to handle. If you are facing such an opponent, you shouldn’t let your hardware out of your hands at any time. You can probably replace the battery by a smaller model and put a keylogger in the remaining space. There’s just no way to prevent hardware modification without using tamper evident seals on all openings, and even that probably isn’t 100% safe.
Vernova sees wind and mini-nuclear meeting 'hyperscale' data centre boom
For the same reason that calibration is so important for any sensor.
A course in mathematics for students of physics (1988) [pdf]
> Standarddeutsch is pretty much a fusion between the different varieties and has evolved along with them for a long time; differently from 普通話, which is much younger and the standardized form of a northern variety of Chinese.

Standard German is not that old. It was largely developed in the 19th Century, and it was not until the 20th Century that most people in Germany were able to speak it. Standard German is also heavily based on a regional dialect of German (in particular, central German dialects).

Standard Chinese is a product of the early-to-mid 20th Century, so about 50-100 years younger than Standard German. This just reflects the fact that German unification was in the mid-1800s, while China's modernization occurred in the early 20th Century.
I wonder if Unicode could be used to alter the characters such that these mistakes would be less possible, e.g. using ⓪.
I sort of agree with the post.

Most wealthy people or companies today aren't really wealthy. They just have stocks with imaginary value. Most of which were bought by someone else's money and need to be repaid at some point.
xkcd.com/936/
I remember a paper/ video from ETH Zurich demonstrating this sometime around 2015. There's nothing particularly difficult about it if your motors and controllers are sufficiently overspecced and you're willing to let the aircraft start spinning (you sacrifice yaw control).

Edit: here it is, 2013 not 15. https://ethz.ch/en/news-and-events/eth-news/news/2013/12/new...
What we really need is a standard bytecode representation for relational queries so tooling can become more agnostic and more powerful.

It is kinda crazy the contortions you have to do to make some dynamic queries with the existing tooling.
> This is why UUID-based systems can suffer worse read + write performance; their rows will be stored in the order of its UUIDs (that is, randomly spread around), making read, insert, and update performance lower.

This isn't always the case anymore. UUID standards have been developed in that mind, and they are not completely random anymore. UUIDs can give a hint, for example, about the time when it was created, which gives them some order.
https://www.scattered-thoughts.net/writing/against-sql/ is another great takedown of SQL.
Also are emails case sensitive or not? In some systems (that you don't control mind you) they are and others they are not...
The emoji "" can't be normalized further -- it's a "" followed by a "". If you just split on code points rather than grapheme clusters, even after normalizing, your naïve truncation algorithm will have accidentally changed the skin colors of emoji. Or turned the flag of Norway into an "". Or turned the rainbow flag into a white flag .

EDIT: oh lord Hacker News strips emoji. You get the idea even though HN ruined the illustrations. Not my fault HN is broken.
Can anyone with more knowledge tell me if this really is an AI fight or PR machine
Vitamin D for the prevention of disease: Clinical practice guideline
>That's... probably not sustainable for four more years. If it is, it's not sustainable much past that. You're probably not going to see a ten-trillion-dollar cluster; you're definitely not going to see a one-hundred-trillion-dollar cluster, ever.

Compute is just one part, as he claims. 3^4 is just 81X, i.e. 10B to 40B of compute, certainly within the budget of a single big tech company.
He couples compute gains with algorithmic advances, which he claims there is also a trend and with other gains(gpt to chatgpt advancements, inference time gains from searching as in alphago etc) and calls it effective compute and it might increase 5 OOM in 2027.
That's not what Wikipedia says about its etymology though.

>The origin of the term slug derives from the days of hot-metal printing, when printers set type by hand in a small form called a stick. Later huge Linotype machines turned molten lead into casts of letters, lines, sentences and paragraphs. A line of lead in both eras was known as a slug.
How many advertisings you know are "true"?
But what do you buy, this is an old list but I don't think any manufacturer is clean, https://www.thestreet.com/investing/stocks/10-of-the-biggest...
You forgot to mention that you’re behind the product
Also: the personnummer carries a date that often means birth date, but there are cases where it’s not, but I’ve seen a few system that just assumes it’s the same.

> SSN from different ID space gets assigned to immigrants; when they become citizens they are assigned a new permanent SSN

Having gone through that, my personummer didn’t change. Maybe that doesn’t happen anymore?
Your perspective is very thorough and interesting, but I can simplify the matter a lot - yes, from my personal experience it absolutely does matter for privacy regulation whether you use natural or surrogate keys.

I've worked on systems in the biotech space where certain tables and certain columns in our dataset were considered PHI (personal health information), and others weren't. An auto-incrementing user ID does not qualify as PHI under HIPAA. Whereas a person's name or email address most certainly does (since, the very fact that a particular person had received lab testing at a particular lab, is itself considered PHI.)

Those PHI bits of data were scrubbed from the dataset that most regular employees had access to. Casually allowing all employees to have access to PHI would not have been compliant with the law.

The restrictions on what can even be logged (when there's a system error, for example) was very much controlled. "User 12345 experienced <some exception>" was perfectly fine (and greatly aided operational investigation, and customer support.)