skysight-inc/HackerNews huggingface dataset:
Interesting that both of the points you state completely contradict my experience with LuaJIT.

Parsing has always been one of the things its tracing JIT struggled with; it is still faster than the (already fairly fast) interpreter, but in this kind of branch- and allocation-heavy code it gets nowhere near the famed 1.25x to 1.5x of GCC (or so) that you can get by carefully tailoring inner-loopy code.

(But a tracing JIT like LuaJIT is a different from a BBV JIT like YJIT, even if I haven’t yet grokked the latter.)

LuaJIT’s FFI calls, on the other hand, are very very fast. They are still slower than not going through the boundary at all, naturally, but that’s about it. On the other hand, going through the Lua/C API inherited from the original, interpreted implementation—which sounds similar to what the Ruby blog post is comparing pure-Ruby code to—can be quite slow.

The SWC situation I can’t understand quickly, but apart from the WASM overhead it sounds to me like they have a syntax tree that the JS plugin side really wants to be GCed in the GC’s memory but the Rust-on-WASM host side really wants to be refcounted in WASM memory, and that is indeed not a good situation to be in. It took a decade or more for DOM manipulation in JS to not suck, and there the native-code side was operating with deep (and unsafe) hooks into the VM and GC infrastructure as opposed to the WASM straitjacket. Hopefully it’ll become easier when the WASM GC proposal finally materializes and people figure out how to make Rust target it.

In any case, it annoys me how hard it is in just about any low-level language to cheaply integrate with a GC. Getting a stack map out of a compiler in order to know where the references to GC-land are and when they are alive is like pulling teeth. I don’t think it should be that way.
This is starting to sound like concern trolling to me.
Yes, it happens to people every day for all kinds of boring reasons. Normally because they made a mistake in their flight plan.

Remember anyone flying IFR needs a flight plan, lots of private pilots etc. Plenty of people make mistakes.
And not to forget traditional web server caching. Since they mimick html files on the server, doing your app right, you can use the very mature caching options in the web server / proxies.
I didn’t mean to sound like it’s $60 billion on tech. They are getting $60 billion, and they will modernize.

Also projected to earn $200 billion over the same timeframe thanks to finally having the resources to catch cheating millionaires.
At one point it was, but since then it’s become it’s own language with a completely new (JIT-based) implementation
I don’t understand what is so complicated about this. The legal system is not the solution to every problem. Moderation is not the same as passing laws.
Afaik it tracks when objects go out of scope as that deals with ownership and lifetimes, but that's also part of the rust spec.

The drop is there for stuff that you can't just release the memory for, such as closing files and connections.
This is what I love about HN!!!

Maybe I've been living under a rock but until this thread I hadn't even heard of this comet. But it's 4:50AM, I live on a house on top of a hill with excellent visibility to the East and I have binoculars. Just need to stay awake long enough wait for it to rise above the trees and hopefully the light pollution 10 miles away won't be an issue!
> can't actually think of any films that attracted the same foaming at the mouth as you see by conservatives

Could that be because you are stuck in an echo chamber and experiencing confirmation bias? "The outrage is legitimate when we do it"
It does not when your project has not 100s of users hitting at the same time. And honestly, which application survives that at first sight and does not need to solve the problem one level higher (like building for load balancing, writer/read databases, etc ).
I actually wondered if you would reply this. You’re making an irrelevant point: coffee is the term for plain coffee or with a splash of milk / sugar. We don’t have a separate term, like we do lemons/lemonade. There’s no gotcha here.
CLI Tool for hierarchical environment variable management
- Compile a resulting set of environment variables from a hierarchical list of `<name>.env` files.
- Dependencies can form a tree or DAG (directed acyclic graph).
- Smart environment selection via builtin FZF (fuzzy find).
- Side-by-side edit of trees for easy comparison.
- [direnv](https://direnv.net/) integration
- [JetBrains](https://www.jetbrains.com/) integration via [EnvFile](https://plugins.jetbrains.com/plugin/7861-envfile) plugin.
Will the mini jeep make it to Moab? Ep1: The build [video]
I think this is a little bit unfair. The comment refers to the Mojo specific use of [], not to regular Python. It also starts saying

> I know I shouldn’t say so but I can’t help...

Remarking that the comment should not be taken too seriously, as it might be inappropriate.

Finally, saying the whole community is condescending given 1 in 32 comments is... a little rounding up from the statistics there.
More discussion over here:

https://news.ycombinator.com/item?id=37421241
Things I really like about PHP:

Once the file is on the filesystem, it's deployed.

Each invocation to run PHP is stateless and it parallelises effectively. (There's no communication, synchronization between PHP instances.)
They could have died from shock, just like I suspect a few people died of shock when having breathing difficulties thinking they had covid.

Shock is a very nasty mind over matter condition.
Every time the browser belonging to the formerly Don't Be Evil company misbehaves and/or threatens privacy my bond with Firefox gets stronger.
As the "Pitch Meeting" producer guy would say: PHP is tight!
> Capsaicin is an active ingredient in some topical pain meds.

In the UK, they are prescription only.

There's also a shortage of them so I've been unable to get any for a year.
Yes but that’s a framework specific issue. And usually your documentroot would point to a directory below that which holds .env. Oh the memories of apache and php.
And indeed in England most knives require that you have a specific lawful purpose to carry them. "Self defence" isn't a lawful purpose. The small folding knives on some utility tools are exempt but that's all.

All weapons are illegal. Purpose made, improvised, even just I picked up a glass and threatened people with it, that's a weapon and it's illegal to have weapons.
What are you talking about? I have a 3-month notice period; that goes both ways.
I'm assuming you're from USA where employees have very little rights?
`std::thread::spawn()` and `.join()` are the ultimate async implementation.
Seriously: just buy a station wagon ;)
Absolutely no relation to the topic whatsoever. Statically linked binaries also prevent this, that’s not the point. And musl is far from being a 1:1 replacement from glibc, by design - many of the options just aren’t supported, e.g only a subset of resolv.conf options (and not single-request-reopen which very typically was used to work around kernel race conditions on dns resolution in k8s envs)
Yeah what is currently still in doubt is what happens if you do what some websites currently do, and send out the machine learning model, to be run client-side, rather than any actual graphic material.

No doubt the police would want to convict. But that's a problem, because nobody is sure whether their model can't be used to generate things that would be considered CSAM (what does it even mean for an imagined model to be a minor? Now of course the same applies to manga)
> One run, 7ms, 2ms?

These are not single runs of the code. The Julia code uses `btime` from BenchmarkTools, which runs many iterations of the code until a certain number of seconds or iterations is reached. The Mojo code uses `Benchmark` from a `benchmark` package, which I assume does similar things.

Beyond that, this is one person getting curious about how a newly released language compares to an existing language in a similar space, and others chiming in with their versions of the code. If you have a higher standards for benchmarks and think it will make a difference, you're welcome to contribute some perfect benchmarking results yourself.
Spammers are also coders. We all do not like them, but they are. Their pages and system are part of the system.

If you are spammer and read this: search a different job and drop all tables before you leave!
RISC-V probably won't succeed without screamingly performant implementation, and it does imply the best silicium process. apple trust on TSMC?
This is probably the slowest Game of Life ever.
"better" is subjective.
Insulin costs around $30 when bought from the privately owned manufacturers. No point in having the government manufacture it.
What Is Cybersecurity Forensics? The Art of Being a Digital Detective
Have you ever wondered how experts catch cybercriminals and solve digital mysteries? Learn the fascinating techniques that help investigators unravel online crimes and protect our privacy.
This. Once in my career I encountered something similar. The first interesting thing I learned about promissory estoppel was that it wasn’t really “law” but rather a legal concept. As such, things are a bit more vague than the typical legal dispute.

Secondly, the lawyer told me that it was only possible to take that route if one had not officially signed an employment contract. The reasoning is that once you’ve signed a contract, you’re technically an employee and your claim would be handled in a different manner. But in many jurisdictions, the wronged person would be treated as having been fired at will and would not have much recourse (as opposed to a promissory estoppel claim)

The other concepts in play were common sense things, like the company had to made you a reasonable offer, you took reasonable actions based on that promise, and the company knew you were taking those actions. And finally, the “penalty” is often only the documented losses you really incurred which can seem tiny in comparison to the situation and intangible losses. I suspect many of these cases are settled before going to court.

IANAL and YMMV
Try to avoid gnu options and niche commands.

Stick to busybox commands as much as you can.
Use NVMe not EBS when building cloud native platforms
I recently discovered that a significant systemic yeast infection in my mom has been responsible for a large part of her cognitive decline and maybe even dementia symptoms. Currently treating it with diet avoiding feeding the yeast and various things to actively fight and kill off the yeast. Noticed a significant clarity of thought that hasn’t been there for years, which is wild to me. Did not think yeast could be such a significant influence
"This site requires javascript"

google...
Come on, of course this is not a thorough benchmark, but just a random thread in a forum, where someone wants to get a feeling for the performance of a new technology.

They could have used @benchmark instead of the @btime macro, though. The first gives you the statistics, you asked for, whereas the second one is a thin wrapper around @benchmark, that just prints the minimal time across all runs.

Nevertheless the takeaway of this thread is pretty clear, even without @benchmark: The performance difference mainly stems from SIMD instructions.
The enduring trait of narcissism that I have encountered is their hatred and refusal to abide by contracts or to have their behavior constrained in any way that has teeth. They would never allow you to receive any resource or benefit unmitigated by constant threats or innuendo as to how long it might persist for you before its tragically "taken away" [by them, lawfully or otherwise]

They're basically little mob bosses. Its a completely unsustainable relationship wherever it exists.
The problem with Crypto is its decentralised, so there is no central bank to print money in exterminating circumstances for Tier 1 players, like we saw during the financial crisis of 2008.

Crypto Exchanges need to have that contingency in place to avoid situations that could land you in jail.
Tell her to show them this thread and how they're effectively turning into a laughing stock in spite of a great product (well, at least hoping my comment sends the message so she doesn't have to be so upfront about it :P).
I did the One Chip Challenge at Christmas. I did get a bunch of side effects (I got really dizzy, then I felt quite bad and then I threw up) from the level of spice in the chip. Which is strange because I can eat the spiciest foods from restaurants and usually enjoy them.

Here is a good article description of what to expect from the "One chip challenge", I can verify from experience that it is pretty spot on:

https://www.uhhospitals.org/blog/articles/2022/06/spicy-food...
You should read a little more closely before such strong condemnations.

The Julia macros @btime and the more verbose @benchmark are specially designed to benchmark code. They perform warm up iterations, then run hundreds of samples (ensuring there is no inlining) and output mean, median and std deviation.

This is all in evidence if you scroll down a bit, though I’m not sure what has been used to benchmark the Mojo code.
It is when you're trying to run a REPL. You really shouldn't need exclusive access to a port for that.
I worked 10+ years in a web hosting company. PHP was chosen not because it was easy, it's because most people just use a CMS or something in PHP.

Keep a shared host secure, PHP or something else was not an easy task, most people installed unsecure versions or misconfigure something.

Also it was a pain to support PHP versions after EOL (yes, money), and multiple versions .
Glide DOS is unsupported according to the feature matrix in the readme
> It's popularity is waning.

I don't think that applies though. If anything, laravel is pushing PHP into another "golden age" not seen since code igniter 2, with again a framework that does things not quite how they should be under the hood, but definitely how people need them to be to be fast and efficient, except this time backed up by a proper package management system, a much better and stronger language and an ecosystem based on reusable modules.

Does it have the favor of the modern hype or new language seeker or anything like that ? No, absolutely not, but when has PHP ever had that ?
The vast majority of websites are probably small business websites which almost all run Wordpress.

That number doesn't surprise me.
A. you sure did

B. Can you stay on topic please? That is the second topic you bring up without anyone asking.

Funny enough, you downplayed climate change again.
I would imagine "nobody got around to rewriting it yet" is the most likely reason? mkfs is a fairly simple procedure on the surface: you take a couple basic parameters, and bang out some bits onto a block device. The on-disk data structures likely come from a header file/crate shared with the kernel.

The actual dragons live in the FS driver.
I think 'magic fix' could be replaced with 'fun thing to do'
The limiting factor is your browser's performance more than anything. Dynamically loading in a hundred fonts isn't something most browsers are optimised for. The jumping around is the text boxes resizing when a font loads.

The alternative would be preloaded all fonts which would simply crash slow devices and waste bandwidth.
I think this is the best advertisement they could ever get: So spicy, it literally killed one consumer!
Most important sentence of the article is the first:

> All 25 major car brands reviewed in Mozilla’s latest edition of Privacy Not Included (PNI) received failing marks for consumer privacy, a first in the buyer's guide’s seven-year history.
It's definitely a playback issue. VLC is rendering it incorrectly while Firefox is handling the same file just fine (albeit with the expected low quality for the file size).
Like the argument with copyright, it's not theft. It's only theft if the user is deprived of something.

> In both cases you are taking private data without consent and using it to get money, or money-equivalent things (like a better product or more users)

This is just word salad. Opting in is consent. You are absolutely free to opt out, by following the clear instructions on the website [0], and you can continue to use the software. Your rights are being deprived here.

Secondly, "money equivalent things" is a reductionist argument. Not everything fits neatly into a black and white "right" and "wrong" bucket, and arguing it does is forgetting about the fact that technology doesn't exist in a vacuum any more than any other product or industry.

> Technically and philosophically there is absolutely no distinguishing feature between opt-out "telemetry" and spyware.

Technically there's no difference between me sending any kind of data to a remote service. Using rote logic to infer behaviour is a fallacy, and when I read comments like this I end up (unfortunately) coming away thinking "this person has no critical thinking skills". I'm aware it's an ad-hominem, but logically there's no other explanation other than you can't possibly understand anything other than your narrow world view.

[0] https://support.mozilla.org/en-US/kb/telemetry-clientid
Microsoft used to have a USB tool they would provide to police that they would insert into a PC when it had been confiscated and it would do all the forensics and summaries everything for them
This is using BenchmarkTools which does most of these things ;) And the numbers are very nicely reproducable.
But yes, those benchmarks are hard to compare, especially if they dont run on the same machine!
But, there is absolutely no reason to believe that Julia can't get optimal performance on a given hardware knowing Julia's compiler and architecture...This is much more a benchmark of Mojo, which hasn't been proven in that regard.
And they are humble. They know their state, the flaws in their language and the long problematic history they have.

They cherish their languages but are not fanatics.
Honestly, this is me too. The only thing I’d like to also see is OTP-like supervisors and Trio-like nurseries. They each have their use and they’re totally user land concerns.
Not to nitpick but choosing a programming language isn't a minor decision nor is switching programming style, e.g. OOB vs FP. Of course I agree with the intend and I too want to work in pragmatic and explorative programming environments trying out different programming languages and styles depending on the project.
Vehicle Vin Check History Reports Bumper Preview-Your Carfax Alternative
Decent. Great Comets are about a once-a-generation event, give or take. A list of brighter comets of the last ~century listed by peak magnitude (lower is brighter, the limit of a typical dark sky is about +6, Hale-Bopp peaked at -1.8, the brightest star in the sky is -1.68)

* The Daylight Comet of 1910, reached a magnitude of -5

* Comet Ikeya-Seki, 1965, reached a magnitude of -10 (close to the full moon!) during the day as it grazed the Sun

* Comet West, 1976, reached a magnitude of -3

* Comet McNaught, 2008, reached -5

* Comet Lovejoy, 2011, reached -4 (but was too close to the Sun in the sky to be easily observed by humans)

So that's five comets of greater brightness than Hale-Bopp in ~100 years, or about one every 20 years. Hale-Bopp actually wasn't notable for its brightness, but for its size.
Interesting card game - never heard about it before. But it reminds me of the card game Set [1], which has a similar objective of finding cards that "belong together" in some sense. It also has interesting (and similar) mathematical properties, although there is no analytical solutions (as far as I know) once you start playing by removing sets. I was really fascinated by this twelve years ago, an simulate game play to find the probabilities [2]. Great fun!

1. https://en.wikipedia.org/wiki/Set_(card_game)

2. https://henrikwarne.com/2011/09/30/set-probabilities-revisit...
Is it better than Inkscape/potrace which are free?
The built-in web server can only process one request at a time.
There is a very big difference between a simple FFI system and the sort of C interface offered by Ruby and Node. Those interfaces allow objects to be passed to the native code, and the native can then do pretty much anything to the language run state. This is great if you want a C library that can do anything your higher level language could do, but it also means the JIT has to treat all those calls as impenetrable barriers that cannot be optimised through, so even a small C call can prevent the rest of your application from being optimised.

We got round this in TruffleRuby by running C extensions through an LLVM Bitcode interpreter that was part of the same framework as the Ruby interpreter and allowed them to be JITted together, but that had other downsides, and wasn’t great for things like parsers which had huge switch statements.
I bet it won't survive a pentest attack, and there are more things missing on program expectations than only nullability.

On the type system theory, Rust still has quite something to catch up to theorem provers, which even those aren't without issues.
Even I can see the obvious overreach—notwithstanding that I'm on the side maximally distant from X's politics. It doesn't matter if it's falsehoods, racism, or advocacy of violence: California has no legitimate interest in regulating online speech. That's expressly prohibited by the US Constitution. It has no legitimate interest in mandating statistical data-collection about online speech, either: because there's no legitimate government function that data serves and informs. (You have no legitimate business casing the bank's vaults because there's no plausible lawful action you can do with the information you're gathering. That pile of money doesn't belong to you).

If you're having trouble sympathizing with the civics because the litigant, X, is horrible, and X users are horrible—just flip to a hypothetical where it's the government position that's horrible. Like so: "the DeSantis government of Florida has mandated social media platforms disclose statistics about LGBT content on their platforms". Does this make it easier to see how (0) indirect laws about speech (i.e. mandatory statistics) have direct chilling effects on that speech, and (1) "mere data-collection" about speech doesn't apparently serve any legitimate government function? (Political signalling isn't a legitimate government function). And: suppose the mandatory forms you have to fill out for DeSantis Transparency describe the LGBT content field in offensive, homophobic language. Could you then consider the X attorneys' argument that filling out forms can be an unconstitutional form of compelled speech?
Had good success using Nginx Unit (distinct from normal nginx) for this. There's a unit-php docker image that can be used.
OpenBSD: P2k23 Hackathon espie on a flurry of packages activity
Show HN: TaleBot – AI-Generated Personalized Bedtime Stories for Kids
Hello HN, I'm excited to share a project my co-founder and I have been working on - TaleBot.

What It Does:
TaleBot creates a personalized bedtime story based on parent/caregiver's inputs. You can customize the theme, the challenges (kid-friendly obstacles) the characters face, and even the moral lesson it teaches. Once the story is ready, you'll receive a PDF file, and an AI narrated voiceover of it.

Try It Out:
We've made it as barrier-free as possible for you to test. Use the promo code HNFREETALE on our story creation form, and you can get a story written for free, no sign-ups required.

Looking forward to your feedback. We value your thoughts and input on our product and idea.
Is the diet based on removing fast carbs like sugar, bread, potatoes, etc?