skysight-inc/HackerNews huggingface dataset:
You wouldn’t, because it’s a misunderstanding of what “module” means and how they work. It’s like saying “maybe I need this file” - there is no maybe, you either need it (to run conditional logic upon) or you don’t.

You get an approximation of conditionally loading a module by simply converting everything to ESM and enabling tree-shaking. When module loading has no side effects this is simple to do. If you’re unsure at build time whether you will call a certain function from a certain module and that’s the reason you’re conditionally loading it, again enable ESM and tree shaking and import the function and call it conditionally except do so at runtime. You’ll only get exactly what you need to avoid the bloat of the whole module and your dependency graph will also be more correct as a bonus!
Raylib is definitely a pretty fun and simple library. I used it with OCaml (which has bindings to it already) before.

One thing I like about the Functional Core, Imperative Shell architecture is that, if you gather input into an immutable record before sending it to your update function, then your handling of input becomes independent of the windowing/control library you use.

That would make it easier to switch to SDL or GLFW if you later want to since you only need to rewrite a minimal amount of code which converts the windowing library's inputs to your own record type. (Although it's not easy to abstract over drawing operations that way.)

If you'd like any help, I'm happy for you to shoot me an email (my email is in the repository's LICENSE file). Although there's still a lot I could learn more about too.
I assume those 10 and 12 bit codecs do it on playback, it's just that free video services bit-starve the encoders
I run the Helsinki JavaScript meetup (https://meetabit.com/communities/helsinkijs) and we also built our own Rails based Meetup.com alternative called Meetabit, so let me comment on your points. I hope this is useful to the original poster as well.

1. Agreed, this has been a huge problem. We partially solved it by adding a captcha, forcing email address verification and adding nofollow to outbound links. Even so we get some spam communities created on occasion which we clean up semi-automatically.

2. Not been a problem for us, but we don't have any social networking features.

3. Has not been a problem for the site for the reason above. However, this has been a bit of an issue at the actual meetups. We've recently introduced an anti-harassment policy to address this problem and I'm thinking of adding functionality related to that to Meetabit.

4. We have a Facebook group as well which was quite active before the pandemic. Now it is completely dead. Whenever I promote events I get the most engagement on LinkedIn of all places. Email is still the best way to get the word out though.

5. Agree about not trying to be everything to everyone. I also think there's a big difference between professional and non-professional meetups, so we've focused on the former with an additional focus on tech. This has allowed us to grow to about 8K users so far with no marketing spend. The features that we have that Meetup.com does not are: talk proposals and archive as well as sponsorship profiles and offers.

As an aside, in case anyone here is considering starting a tech meetup, I've written a few short blog posts on how to run one, which you may find interesting: https://www.toughbyte.com/blog/what-is-a-meetup-and-why-shou...
The Bullet galaxy.
I think GP was just taking aluminum cans as a single example. Another one would be wooden single-use cutlery is an alternative to plastic one.
The timeline posted by Certik is interesting: https://x.com/CertiK/status/1803450205389402215

So they found the bug, tested it with a series of increasing amounts, and then 8 hours after the last “larger amount test” let them Kraken know about the issue.

Imagine being on the Kraken side and noticing the discrepancy during that window of time. Or even worse, them not knowing it.
Off-topic, but the current trend to label anything the government disagrees with or feels threatened by as "far right" is very worrisome.
Oh, I know a guy who’s primary living is from being an expert IT witness in the U.K. - he knows literally nothing about anything, such as “what is a database”, but does have a bunch of certifications from Microsoft and oracle.
Licensing BS is why Open Source really became a thing, starting back in the bad old 90's when Steve Ballmer could kill with a stare. "Surprise! We're going to start billing you based on how many keyboard keys your business uses." The mortal terror that someone upstream of your business might Alter The Deal (Pray We Don't Alter It Further) is why a lot of people are totally uninterested in any software that isn't MIT/BSD/Apache.

And that's also why if something that was MIT/BSD/Apache changes licenses, some developers will start gnawing off their leg before the trap even springs shut.
The latest is, afaik, is called RelMOND, short for relativistic MOND. It describes the cosmos very similarly to the standard model, but with MOND as well. So slightly better matching observations than lambda CDM, but still imperfect. They plan to incorporate electromagnetism in future models.
I don't get that either.

It feels like they compare the asynchronous-ness of their algorithm to Nginx being asynchronous ("asynchronous web-servers like Nginx use a state-machine parser. They parse the bytes as they arrive, and discard them."), but I don't see how that relates. The way web-servers handle requests (multiple threads vs multiple processes vs asynchronous event-driven in one thread) is completely orthogonal to how they parse headers.

The impression I have is that their algorithm works in a streaming way, without having to allocate memory buffers, and that they call that asynchronous (wrongly, as far as I can see).

I also don't really see what they mean by their algorithm being more scalable.
That's really cool! Is it a deeper simulation than games like Cities Skylines?
If your an end user you just need to start the docker image up.

I'm going to open source the server portion and put it up on docker hub.

It should literally be.

docker run my_server_image .

The problem is alot of people won't want to actually install docker and get this thing setup.
They will 100% replace 1/r^2 in an instant if they find something else that matches results better.
Leaflet: User denied Geolocation on Tesla Chromium based browser (2020)
The race against time to defeat mosquito-borne diseases
Adobe doesn't pretend that Photoshop is free.
There is a simple solution: do not use youtube. After I stopped watching youtube my side projects finally started moving forward, and I get quite a few extra hours in a day, especially on weekends. Although I still watch a video or two on archive.org or one of Peertube instances: tilvids, makertube, to name a few. But no more algorithm induced binge watching of random videos till late in the night.
Just to balance things a little

Sometimes the cost of an offer is not linear with some metric or easily predictable.

And sometimes the offering company is not Salesforce and just does not have resources or existing similar customers to model price adequately
Do you have any accessible references on state machines? I’ve just read about them a bit but never coded one in a project. Seems like a useful concept for testable, reliable code.
An Exploration of Cuis Smalltalk (With Juan Vuletich)
got a few comments on Reddit saying that the page does not load well

would greatly appreciate anyone who can reproduce sharing their device details
2 of the 3 lawsuits were filed jointly by two large water utility trade associations, and the lawsuit (which is a petition for review) is here along with their statement: https://www.awwa.org/Resources-Tools/Resource-Topics/PFAS

The argument appears to be basically just this:

> According to a report commissioned by the American Water Works Association (AWWA) and prepared by Black & Veatch, drinking water utilities will need to invest more than $50 billion to install and operate treatment technology over the next 20 years in order to comply with new PFAS standards.

Which is ~65% more than the money the EPA has already allocated. That seems... very silly. The increase would be passed to consumers at about $5 per consumer annually. A study they commissioned themselves can only find a pretty modest difference. Hopefully this is shot down relatively quickly for being baseless, but who knows.
If you depend on Java, I'd recommend to spend some time and look into the best distribution for your needs.

There's no need to go into deep research, but take maybe 5 minutes to understand the landscape of OpenJDK distributions. For instance if you run RedHat based linux like many companies, Adoptium brings nothing, there's no reason not to use RedHat's OpenJDK packages.
Very nice. I had no problems playing it.
Hopfions are promising. Hopfion model explains how waves can create a particle, so we will have full circle: particles -> waves -> particles -> waves...
Sorry, but an overwhelming amount of people commenting in here are extremely ignorant of the modern agri-food system.

The notion that robots and drones will eliminate monocultures and chemical inputs is wildly untrue. In some minor cases they will reduce the need.

It amazes me that software engineers think they have the panacea for whatever faults they see in our food system without a full understanding and history of it.
This may be Nvidia's "reasonable value" though. They have longstanding Nintendo contracts, significant presence in the desktop market, and they currently own the datacenter with no end in sight. Nvidia is shipping their own CPU designs for server hosting and reportedly has plans to make desktop CPUs as well. If optimistic AI-bros keep paying hand-over-fist for good compute (and I suspect they will), Nvidia will profit from the industry's incompetence.
Wonder if you install the oracle jre via sdkman if you are tracked?
Hmm, there might be something to that. Thanks

I'll experiment with it and try to isolate it. The description reminds me of twisting but twisting is often associated with more pain. However there are some videos that suggest similar movements relieve symptoms. This one[1] seems quite popular.

[1] - https://www.youtube.com/watch?v=vMP1lYEJAko
After about an hour of using this new model.... just WOW

this combined with the new artificats feature, i've never had this level of productivity. It's like Star Trek holodeck levels. I'm not looking at code, i'm describing functionality, and it's just building it.

It's scary good.
People will downvote this but not respond to the substance, of course.
Its more like "Im interested in subscribing and paying more"
> This is the website the rest of the web should strive to be!

Different point of view - this site is poorly designed, hard to navigate, hard to read.

Just because it doesn't use any JavaScript doesn't automatically mean it's a good website.
I roughly agree with you in enjoying the table of contents.I wouldn't say I love the site though.

I find the blue-on-white text difficult to read. Though, surprisingly, it's a bit easier to read on mobile for me.

The line height is too short to read easily.

I have a lot of trouble with the "How and why EasyOS is different" page. Especially on mobile where it's nearly unreadable for me.
I suppose the unique thing is that with Oracle it's always a long con. Maybe call Oracle's type of malware a judicial APT?
You can figure it out by just looking at the table and output. It prints the number of lines, then words, then characters. Since the lines count is counts[1], you can conclude that when a newline is encountered, the machine will transition to state 1, hence why the newline is the only 2 entry in the character table and all 2 entries in the state machine point to state 1. From the character table, we can see that characters are split between classes 0, 1, 2 which are word, space, and newline characters.

To get the definitions of all other states, by working back from the fact that state 2 is the word count, it must be entered when a word character (class 0) is hit after some space/newline characters. Hence state 0 represents the machine being in the middle of a sequence of whitespace, state 1 is when the machine is in a sequences of newlines, state 2 is the first letter of a word, and state 3 is any subsequent letter of a word. You can then verify that the machine transitions to the correct state from those by checking what it does in case of a word, space, or newline character. But I'm not sure why the table is 4×4. The fourth transition from every state is unreachable since the symbols are all in [0, 2].

As for why the approach is better, I think it's because it avoids branching. If you think about the length of a word, it's quite short compared to a CPU pipeline, so on a branching version of this you're going to be stuck spending most of your execution time on branch miss-prediction.
Recognising that wc is a lexer problem and implementing it using re2c would be my first choice here. That'll be building a similar state machine to what is done by hand here, especially since the hand rolled one is still byte at a time (the main drawback to re2c's generated output).
Endorsing Pol Pot and Khmer Rouge for one
My Amiga could do that too! https://www.youtube.com/watch?v=-r9LlyJ9YN4
Altered states of consciousness are more common than thought
Or it's someone who's intrigued by the concept of the product and is curious how much it costs. All it literally can be interpreted as is "a [probable] human is curious how much this costs" — intent to purchase varies from positive to zero.
Caught myself holding in my breath while reading that headline!
Depends on who clicks the button. It could be a junior person doing some research for their team, in which case they are not the decision maker nor the one with the budget/writing the check.

If a VP clicks on the button, that's a different story.
At one point I worked with some folks who worked with security researcher / external security / bug reports from non customers.

Everything I saw from actual independent security researchers was nothing like that story. Most of them just seemed like legitimately curious people who enjoyed trying things and just wanted a little recognition. Just putting their names in release notes or similar recognition seemed to make many of them very happy.
> Just remember, if you're ever debugging something and some values in a Class/Object/Group of them are set and others are unset the state machine avoids that issue.

Better yet, switch to a language that supports discriminated unions to avoid invalid state without having to write a low-level state machine. Each case in the union represents one of the valid states of the type. This is one of the many benefits of functional programming.
I also don't know why MOND remains so popular.

Angela Collier talks about Dark Matter here:

https://www.youtube.com/watch?v=PbmJkMhmrVI

And talks more about how often MOND is brought up in comments on her own video:

https://www.youtube.com/watch?v=qS34oV-jv_A
On the contrary. The enterprise always gets a big discount. Or features not available to self service subs such as api access, etc

Enterprise pays more due to volume , but generally pay less on a per user or whatever the unit that constitutes the seas is
This is also how VirtualBox works (another Oracle product).
I guess this is the .1% then, as the article refers to her "9 apartments", which I presume were not tenanted.

For the record - to non Americans (both the majority of the world and the majority of the english speaking world) - "apartment" refers to the type of dwelling, not the ownership status. For many readers this localised hidden meaning in a common term is not obvious.
Seems like shit UI is a possible culprit here.

Unsurprising.

Edit: or maybe they were in the middle of rolling out the feature and the string of buyouts started...
Potatoes Are the Perfect Vegetable–But You're Eating Them Wrong
Dithering is usually applied as pre or post processing step to encoding/decoding because accurately encoding dither itself actually takes more bits than just encoding without banding would in the first place. Nowadays the easiest way to sidestep banding is to use >8 bit encoding and a codec with good psycho-visual enhancements & perceptual quantization.
Why is this better for wc, though? wc is not doing memory allocation in the hot loop.
Thanks, posted them as gists and edited!
Are you aware of any visuals that show what the density distribution of DM looks like to fix the expected the rotation curves for some example galaxies?
I'm not sure if you're being sarcastic, but yes, that's exactly what I'm doing too.
Evaluating the Impact of a Security Breach Using the "So What?" Technique
How do you go through life knowing youre making choices that don't make sense merely because someone told you to do something you had previously wanted to do?
Show HN: Chronle – A daily chronological timeline game
Hey all! I whipped together this game where you're given a set of events and need to arrange them in chronological order.

Looking for y'all to try it out and let me know what you think and what could be better.

Made with Next, Firebase, and Tailwind. The source code can be found at https://github.com/ajhenry/chronle.com.

Thanks - ajhenry
Reining in America's $3.3T tax-exempt economy
At last two companies, both had this Java Third Party Application that was pretty mission critical. Both of those companies put out support statements that they would only support Oracle JRE and no, they wouldn't be paying for licensing. So my companies ended up shelling out for JRE costs.

One of third party later changed their mind and said they would support Adoptium JRE but you had to be on latest version of software. Generally, upgrades required their consulting people to come in so cha-ching. Last I heard, we were on their calendar to come do the upgrade since upgrade cost was about a year of Oracle licensing fees.
This is great for setting some context, and I love your analogy that AI/LLM's could be on par with a very cool and valuable tech like GPS, rather than something as revolutionary as "the internet".

Like GPS is still an insanely cool technology that is massively important/useful/valuable but it's still on a completely different playing field than "the internet".
GPT has sharing but it doesn't work with chats with images. But I posted the answers as gists and edited my comment.
You guys remember when Kraken extorted Glassdoor in an attempt to identify employees that disparaged them? https://www.theregister.com/2020/02/12/kracken_cryptocurrenc...

Karma has a nasty sense of humor. Better hope you're FDIC insure... oh, who am I kidding.
Can someone help me understand why?
It's a great development experience today: no waiting for bundlers, easy inner dev loop, let the Browser do all the loading just like Web 1.0 and JS development was maybe supposed to feel.

It will become more common in products. There are going to be startups that see that great development experience and long for some returns towards "just FTP it to the web server as-is" CI/CD processes. There are going to be more product owners everywhere (startups, Enterprise) that think that HTTP/2+ adoption (or even HTTP/1.1 properly configured) is acceptable in the real world and that they are done with most of the needs for bundling.
>> which is another weapon the 1% can use to get policies in their best interest

Mass surveillance is one of the few areas where the 1% generally align with the other 99%. Rich or poor, we all use the same communication infrastructure. Rich people don't want their chats monitored either. People don't want this. Intelligence agencies want this. But ask the people working at those agencies, ask them as individuals, and they won't want this on their phones either.
I pivoted things over to AWS Corretto after they tried something similar a few years ago on the theory that if anything came of it, you can let two 800lbs gorillas fight while you stay out of it.

https://aws.amazon.com/corretto/

It was extremely painless (literally xargs to run sed + git commit + git push), has great ARM support, and if you are an AWS customer you can use your existing support contract should the need arise.
Big discussion yesterday (1114 points, 22 hours ago, 993 comments) https://news.ycombinator.com/item?id=40730156
So I guess see you in three months for another round?
I don't understand this argument. How does talking a picture of your own boobs make you a criminal?
> Only the Commission can propose new legislation.

That is a technicality relying on a shallow look at the word "propose". The commission frequently takes direction from the council when deciding what to focus on which leads to them "proposing" legislation. In this case the push for this has come from the Council and certain national governments combined with a particular commissioner.
Show HN: GETlang – A Query Language for the Web
hi hn, today I'm open sourcing a new SQL-like query language that's built for the web. it has dedicated syntax for request, parsers, selectors, and javascript snippets...

it was built on nodejs with the incredible moo lexer and nearley parser. if you're a fan of regular expressions, do I have some code to show you!

the website is mostly just a few examples and a playground where you can write & run (& share!) your own queries. there's also an introductory blog post where i try but ultimately fail to justify why this should be its own language and not a library/framework.

enjoy!
How does Exllama rank among these? Heard good things about it.
Sifan Hassan Is Fine the Way She Is
I've written an 8,000-word essay on my favorite athlete, Sifan Hassan. You may find it interesting if you're a runner, like to watch the Olympics, or can relate to a person who creates extraordinary challenges for herself in order to avoid being bored.
Not quite, the onprem version was older and didn't have Actions for ages, for example.

But to be fair, basically all enterprise deals involve services as you generally need to train people in how your thing works if you want to get enough adoption for when Finance come looking for operational efficiencies.
I agree, and I raised an eyebrow at the "The algorithm is known as an "asynchronous state-machine parser". It's a technique for parsing that you don't learn in college."

I certainly learned about state machines in college. Not sure we ever studied this particular algorithm but the concept was definitely covered.

And I also agree that when you are dealing with a known, finite set of values, pre-computing lookup or index tables for techniques like this can be a big win.
Also e-ink displays. For most of the ebooks I've read recently, the images end up posterized to the point of near illegibility.
I'd bet good money that the bulk of European intelligence people use Signal, both personally and for non-classified work stuff. So the announcement that Signal would pull out of Europe was probably more influential than anyone will acknowledge.
Discussion (26 points, 2 days ago, 39 comments) https://news.ycombinator.com/item?id=40722573
Why aren't there more of these benchmark studies? How did TGI make the cut?
> target demographic ( musicians) will have no real idea how to use it.

Docker is likely not the answer they're looking for, but you may want to ask your target audience rather than HN.

FWIW, for any software I would prefer distribution-first/source-first over Docker. Docker introduces complexities I don't want to solve for.
Sega Channel was very similar to this, and was completely awesome.
Why “feeling uneasy”? The employer can have cameras installed there too, how is that different from this situation? Or is it just because it crawls on the ground that suddenly it's considered bad?

Don't get me wrong, though. I believe that employers should never monitor employees with anything that might violate their privacy, like cameras, screen recorders, or similar devices. They should only gather some stats instead, without individually identifying anyone. But obviously, this is not the case now, so why freak out over a robot?