skysight-inc/HackerNews huggingface dataset:
Show HN: An expression parser supporting multiple types
This C library is part of a main project aimed at providing a reactive key-value (KV) database. The data is typed (numbers, strings, dates, or booleans) and can include formulas with references to other entries. Clients connected to this database receive a real-time data stream with updates to the subscribed keys, allowing them to react to changes and their dependencies. Essentially, it’s like building a distributed Excel, where data and formulas dynamically update across the system.

I couldn’t find any libraries that offered the full set of features I needed for evaluating expressions, so I decided to create my own.

This sub-project is open-source and available on GitHub. Feedback is welcome!
Yeah, the land was moving for a while.
Nah. Putting disparaging claims directly on the dashboard of my customers seems pretty abusive, and if it happened to me I'd be looking at legal options too.
> But everything you build is very brittle in the face of changing requirement.

It's supposed to be 'brittle', in the sense that the compiler verifies your code and if the logic changes, the compiler complains. Everything else is a bug.

> But, if you have business people tell you, you have to pass some additional information through your system without doing anything to it, and you answer, I have to refactor all my type definitions, then you have some explaining to do.

And the explanation is that this is software development, there is no "without doing anything to it". If there's a new requirement I need to adapt the code - take it or leave it, I'm not a wizard. And yes, I have done that already in some form and it was almost always received properly. 'Business people' sometimes have no understanding of software development.

The logic "code changes -> only dynamic typing" isn't valid, in my opinion.
The only attribute of the language is hijacking Google's marketing to become relevant.

It's a terrible language, which has no practical reason to exist.
Supervising rack access and/or using physical barriers was one of a list of different reasons for why the cost per 1U is so different if you buy 1U rather than a full rack. It may not be the most significant one, but it is there.

As for power, and network, it's often charged separately, and you will still find the 1U vs. full rack difference then. Sure, you can to some extent perhaps assume a slightly lower load factor for customers that rent a full rack, and that may contribute too.

But the point remains: The person above me should not be surprised that renting space by the 1U slot is expensive.
Weekly AI-generated blog ideas based on your RSS feed or site content
Deep Blue Aerospace hop test suffers anomaly moments before landing – SpaceNews
When your major export is financial services, the wealth doesn't typically spread around all that much. There are plenty of Britons that aren't poor; just look at the City of London.

Building out the monetary and trade networks they did enabled them to buy their goods where the labor was a lot cheaper (and more abundant) than it was in Britain.

Same reason Americans are poor -- ever since Wilson we've barely been effectively a separate country in the first place. The only big difference, and why Americans aren't quite as poor on average, is that America still has natural resources. Britain's got some oil, but not a ton else -- their resources previously came from their colonies.
That's exactly what I wanted to ask:

Their github page claims that it is possible to "tune LLaMa3.1 on Google Cloud TPUs for 30% lower cost", but they don't mention performance.
Wtf? How can they even do this?
Product Hunt is a strong backlink that will improve your SEO. That’s reason enough to launch on it.
If a book isn't taken out of the shelves for two-three years, I would be very surprised it stays there. Where I worked, it would have been sent to the reserve, and only be out for some events (for our 'burned books' week we had 'all is quiet on the western front' in multiple languages, including German, and other book burned by Fascisti and nazis, and that's how I discovered this masterpiece).

I highly doubt school libraries function any differently. Every year you receive a magazine with books who received prizes/recommendations, you move older books that aren't read to the reserve and command new ones. In my country, you especially have the 'highschooler prize' (not sure how to translate it), which is voted upon by students from 50 different highschool accross the country, and the winners are always recommended by the magazine.

My advice would be, rather than preventing librarians to do their job, maybe write better books? Prevent new commands rather than remove already existing books? Because putting 'Go Tell It on the Mountain' on the shelves isn't ideology, just good taste. Removing it is.

What really grind my gear is that I would bet censors don't read or review books. Book reviewing was a staple of my curriculum from 11 to 16, so I imagine it isn't hard. Censors should have to write at least a book review a year, graded (not to prevent them to censor, just publish the grade so we could see their reading level).
Good point, but I’d say lead time still matters. Even in open source, slow responses can kill motivation. Quick feedback keeps contributors engaged and makes the project feel more active.
Your moral compass is broken.
tardigrades

The paper: https://peerj.com/articles/17641/
Maybe they are finally gonna make the Nintendo ON a reality...

https://www.youtube.com/watch?v=zX2smM87r14
That was always the case until they started requiring to be logged in to see anything
Megaliths are not gravestones in the same sense as headstones for an ordinary grave. The two things belong in quite separate categories.
hmm.. ok

And I don't understand how to correlate your Dep. frequency here with PR merges. There's one point where the project might build vs considering every PR merge as a deployment. Don't you think that would shake the metrics rating for this repo as per your assessment?
That's very impressive - how do you do this? I also see an IDE screen with the debugger in your other article about telegram - presumably also HTML/CSS
At minimum the social and even a fair bit of medical science are scams, as they rarely have enough evidence to definitively draw claims due to a mixture of flawed methodology, small sample sizes, and lack of additional studies to reinforce their claims. See for instance the claim every man makes at some point, that “going braless makes breasts perkier”. Small sample size that isn’t indicative of all breast sizes/shapes, few if any studies supporting their findings. At least with engineering experimentation is far easier, can be extrapolated, and can even be simulated reliably.

And no, one does not claim to be “an expert in all disciplines at once” by pointing out the objective fact that we lack concrete data in a lot of fields.
Solving a Whale of a Problem (2019)
I find the concept behind "Technical ALL=(ALL) ALL Governance" a problematic notion, whether it's E2EE, AI, algorithmic price-fixing, or plagiarism. The problem is not that AI was used to commit a crime (or "just" a morally unsavoury act), the problem is that a crime (or unsavoury act) was committed (using AI, as a footnote). I refuse to lend my compute capability to glow-in-the-dark state actors to make their quota-meeting easier, not to mention that it targets primarily individuals with little impact and resources.
They are both "hurt" financially but that's the competition which is normal and which should drive more innovation and lower the prices for customers.
I'm just confused about the whole thing. Aren't WP hosts a dime a dozen? And if you don't like how they conduct their business, just set up one yourself. I set up one for a friend on AWS, and while it requires some tech savvy, it's not exactly hard for someone with basic tech literacy and ability to follow instructions.
Let's not even talk about Belgium.
The WSJ article doesn't properly explain where the negative prices come from. It only briefly mentions "subsidies", but I don't think that is a complete explanation.

My understanding is that the negative prices come from a tension between long-term agreements and short term markets.

For example, a solar or wind farm may enter into an agreement with a company which promises to buy all the produced energy over a certain period, at a fixed price per MWh. (In practice this seems to be implemented as a "contract for difference", but it amounts to the same thing.)

The buyer does this because they estimate that it will result in a cheaper energy bill overall. Even if they sometimes have to pay for energy they don't need. And even if they sometimes have to pay a positive price while the short term market prices are negative.

The seller is then shielded from short term prices, and will continue to produce and get paid for energy which isn't needed. The price signal isn't getting through.

If it would turn out that balancing the grid becomes problematic, then I think this could be fixed with regulations that forces some of the short term price signals to always "get through".

E.g. on the producer side, it could be forbidden to get paid a positive price for energy produced when the short term price is negative. On the consumer side, certain types of consumption that can be scheduled (like charging an EV) could be forced to use a contract that follows the short term market price.
Oh.

Ye, cutting would probably be annoyingly hard with just hammers and chisels.

I envisioned engraving a nice looking rock. Like a rune stone.

Not making it flat too.
We track PR merges as potential deployments to measure flow and efficiency, even if not every merge triggers an immediate deploy. It’s more about tracking how fast the code moves through the pipeline.
Except that on a different timeline really means Rust achieving 1.0 before Go, I didn't assert nothing else would have changed when they came to be in first place.

A different timeline is exactly that, a different line of events.
'everything is a string' is a fatal flaw in tcl, both in terms of bugproneness and performance. it does have some real advantages, though: serialization for storage, configuration, debugging, or networking is trivial, and it eliminates aliasing bugs, especially important for end-user programming

independent of 'everything is a string', tcl also works much better as a command language than 'real programming languages' do; contrast

ifup eth0 -ip 192.168.2.53

with

ifup('eth0', ip='192.168.2.53')

which is a real pain to type when you're in a hurry. but you could get that benefit by only making things strings by default; requiring [] or $ to get expression evaluation is conceptually independent of tcl's type system or lack thereof

the rebol family seems like an improvement over conventional programming languages there, but at the cost of conceptual simplicity

wrt guis in particular the ability to edit the gui without restarting it is pretty great. but this is a suboptimal way to edit it:

.qd.ipentry configure -textvariable ip

on the other hand, the ability to trigger code when a variable changes is pretty awesome

(edited to clarify)
I do not say it's not possible, just from history every "community of good citizens" never last long nor perform well. Beside the fact containers are a very absurd model as full stack virtualization before them.

If you really try to draw a big picture, we actually waste immense computing resources just to commercial evolution needs, to go "autonomous" we need to avoid copying the bad commercial model but introduce a better one. Declarative systems are MUCH better, with much less attack surface, easy development, documented evolution, ... they are not "a FLOSS version of $giantname solution", they are another paradigm.

Similarly we should avoid working on VDIs which is the giants way (let's say Amazon Workspaces, Windows 365 etc) so not going let's say Guacamole but going on bare desktop computing syncing just files, using logistic to send iron, configuration management to manage it from remote etc. We should avoid NextCloud/other clones of giants webapps to works instead locally with different tools, let's say do use R/Python not a spreadsheet. Use email with a modern MUA (we currently miss, for non techie) not a web app for development and so on. Not trying to mimic someone else paradigm but proposing a new one better fit for our purpose.
> Pakistan running itself off a cliff is not going well either

I mean, it's not going terribly either. For a nuclear-armed nation, that is.
the video: https://x.com/AJ_FI/status/1837855770823561257
What's New in React 19
The ambition of Microsoft Flight Simulator 2024
TikTok removes Russian state media outlets RT and Sputnik
>These aren't new issues. The obsession with Snowden as a messianic figure

I'll give you the benefit of the doubt, maybe we weren't communicating well, but I felt you were certainly minimizing it by claiming what Snowden revealed weren't "new issues," which they certainly were, and anyone who thinks different has an "obsession with Snowden as a messianic figure," which is an attempt to discredit. Was that your objective?
Dieter Rams' 10 Principles of Good Design Can Shape REST API Design
Dieter Rams’ design philosophy encourages simplicity, honesty, and functionality—values that translate beautifully into the world of API design. By applying these 10 principles to REST APIs, developers can create APIs that are not only functional and efficient but also enjoyable and intuitive to work with.
I would assume that she's telling the truth. Are you looking for an excuse to yell at your girlfriend or something?

Go to the manufacturer of your laptops website and go to the support page and check to see the model number and find the latest BIOS and driver updates and cross-reference that with the date that you find in the BIOS.

It could have been a full-blown bios update. If it's an Intel chip it could be a management engine update.

Now you do say "My laptop". I do need further clarification here. Does that mean it's yours as in you bought it for home and personal use. Was it provided by work and you didn't buy it and it was requisitioned to you by IT? Because there are many factors here that could be at play.
Indeed, the point is how this keeps being discussed as something that was never possible.
> you _also_ have to make a submit system call of some kind after you've finished appending stuff to your submit queue.

Sure. As I understand it, you need a handful of syscalls to get your async IO setup up and running (one io_uring_setup call and a few mmaps), and then you interact with it (both to submit new work and get the results from old work) through the io_uring_enter syscall.

The point is that you're batching things, so you only pay for the context switching of a single physical syscall to make several logical syscalls. It's effectively a solution to the n+1 request problem at the kernel level.
Or a 4004 emulator? https://news.ycombinator.com/item?id=41600756
US East Coast Port Strike on Oct 1 Could Shake the Economy
GPT4All for an even easier gui

https://github.com/nomic-ai/gpt4all
I wouldn’t put “denser” people in the same group as tall people. Having heavy bones is an old excuse for being skinny-fat which is unhealthy
>I don't understand why you’re so irate.

I'm just casually speaking my mind. You are here to debooonk people who don't have the same taste as you.

>Stand-up comedy and insult comedy are well-defined terms.

Cool, you've defined yourself to be right. But the vast majority of stand-up comedy is still centered around insults. And I find none of it to be funny.
Coincidentally, its another dutch man
- "This particular example came from a 55 gallon drum of tape dispensers that the U.S. Army was about to dispose of as radioactive waste."

This is a common beach sand [0]. It illustrates something absurd, I can't quite put my finger on what, about the relation between human society and technology. No one knows anything about the physical or chemical properties of sand on the beach. No one asks; no one cares. There are no EPA surveys of beach radioactivity. No beach signs warning beachgoers "do not eat the sand", or, "this beach is known to the state of California to cause cancer". But you take one handful of the beach into a plastic box, and accidentally walk it past the wrong regulatory compliance officer, and suddenly the US Army is burying your one-handful-of-beach-sand in a 55-gallon drum packed in bentonite.

It's one lens for nature, and one lens for the anthropogenic.

[0] https://en.wikipedia.org/wiki/Monazite
If you think places like Pakistan will get better in this respect if the US goes this way, then I wish you luck. That’s my point.
A Private-Equity Executive Pushes for Workers' Stake in U.S. Companies
People in this thread seem to be focused on the defamation angle, but is the more important allegation not the alleged demand for large amounts of money to not destroy WP Engine's business? Matt sounds like a wannabe mob boss in the screencapped texts, sending photos of the crowd before his keynote and talking about how he could still "very easily" make it just a Q&A session if WP Engine agrees to pay up.
You don't understand! I need to procrastinate more efficiently!
> 'everything is a string' is a fatal flaw in tcl, both in terms of bugproneness and performance

Also security I suppose. I'm thinking of injection attacks.
By going to court and seeing what a judge and jury think, same as how you define countless other wrongdoings.
In short:

- print quality and speed is similar (new MK4S seems to be a bit better)

- Bambu's design life is much shorter (Prusas are fully repairable with parts stocked in the online shop, and every new version release includes upgrade kits for old models)

- the amount of effort/babysitting is similar

- reliability seems higher on Prusa's side (no wonder, given that they print parts of the printer on the printers themselves on industrial scale)

Also, if this matters to you, Bambu behaviour (like patenting opensource designs they didn't invent [1] and hostile competitive intelligence [2]) seems quite problematic.

[1]: https://www.mdpi.com/2411-5134/8/6/141

[2]: https://twitter.com/josefprusa/status/1706713274455081120
static.

python was always strongly typed: you could not do 2 + '3', ever. nowadays mypy/pyright will tell you that before runtime, hence static.
I haven't worried about search engines since I was trying to get my site into yahoo, but my understanding is that they rank long flowery prose far higher than things that are straight to the point.

There's then the added "benefit" of being able to put more adverts in such long text.

One of the main appeals of chatgpt is it just gives you the answer
An idea: Things that do not exist (yet) do not exist
Don’t count on that. There are still holes where certain iOS version ranges or iPhones to this day do not have a jailbreak available.
Is there any evidence that the "smarter" side wins wars? I'd put money on the faction with more soldiers and industry over more "intelligence" every single time.

How many divisions does ChatGPT have?
Controlled mechanochemical coupling of anti-junctions in DNA origami arrays
Immutability and types go hand in hand. Why? Well with immutability you can do more modelling of your domain as data and then the type system helps you manipulate this data only in valid ways. No type system (I am aware of) can model and check mutable domain models.
on the contrary: to the extent that they knew the word, native americans considered themselves americans, and the colonists did not consider themselves americans, but rather spanish, portuguese, english, or dutch, as the case may be
With TypeScript you have types to tell you the shape of your data.
The Two Machines
Fully documented source code for Lander on the Acorn Archimedes
I don't think there's much inherent value in the CoreXY geometry. MK4S seems to outperform everything Bambu has both on speed and on quality (especially on overhangs and dimensional precision) despite being a bed slinger.

On the other hand, continuing the bed slinger line let Prusa provide an upgrade path for existing printers.
Not exactly true. For example, QLC is slower than TLC.
My read of that was that the Raspberry Pi was mostly there for bootstrapping, so that they could drop servers into the rack and have something there already they knew they'd be able to get onto the local network with, not that they were buying colo just for a Raspberry Pi.
You just made me play the first MP3 I ever downloaded, Tubthumping by Chumbawamba. Downloaded over 56k modem in the 90's.

The timestamp on it is 2006, I guess I edited the ID3 tags on it at that point.
Of course, you can't just mathematically derive a language that isn't in the training set.

Except Sanskrit, naturally.
I guess another way to think about lead time in open source might be to gauge the overall project health: more active and engaged community that is. What do you think??
I'm currently using Traefik for compression (gzip, brotli, …) does Kamal-Proxy handle that as well or do Rails apps handle compression somewhere else?
I come to HN for exactly this. /srs
Jetstream: Shrinking the AT Protocol Firehose by >99%
Absolutely, and there is a very noticeable divide between people for whom exercise and CICO work: "just eat less and exercise more, bro" - and those, like me, where you will absolutely try anything and everything for many years with little affect until you eventually give in and try something that finally kills that little voice that appears on waking that constantly tells you that you want food, need food, need this specific food.
It's a common mistake to price up renewables delivering flat nuclear shaped energy in an effort to inflate the price.

It's as silly as demanding that a nuclear plant must emulate the delivery profile of solarn and install batteries capable of shifting night time power to the day. With a similar effect on prices.

Demand is not flat. It's actually a bit more solar shaped on many markets which is why initial solar deployments have a high "capture rate" (i.e. they are delivering when the demand and price is high).
At this point, I have 50 years of paid employment. I have generally got along with the people I worked with, but have never considered any as my best friends.
> dubious kernel-driven polling thread

I assume you are referring to IORING_SETUP_SQPOLL. Why is it dubious?
My family loved the Wii to bits. In comparison our Switch barely gets used. If the Switch supported Wii games and controllers we'd still be using it all the time, but the Wii itself is way too slow and clunky to be tolerable these days.
tcl's string interpolation semantics are much, much better than unix shell semantics, and i don't remember having seen a tcl string interpolation vulnerability along the lines of shell injection attacks and sql injection attacks and xss. still, it does seem like something to watch out for
They have learned aesthetics>quality.

Its cheaper to make something pretty, than good. Humans use this shortcut and have a hard time resisting it.

My experience opening an iphone box, giving all my personal information, and seeing the home screen of my work iphone was fun and exciting.

Then within a few minutes, the swiping/changing between apps was noticably slow, the podcast app had a bug in it, and it kept asking me to 'sign in' by typing my password. The illusion had broke, and its not like I was going to return the phone now.