skysight-inc/HackerNews huggingface dataset:
I use haserl,htmx with lua for simple dynamic sites, would love to play with this,is the code available somewhere?
That's the point the Elon Musk critics made, in reverse. I see what you did there :)
Cobalt – a media downloader that doesn't piss you off
> I can't follow. If you'd disregard the size of the decompressor

GP is talking about excluding the size of the compressor not excluding the size of the decompressor which obviously has to be included.
Thanks! I was not aware of ellama. Maybe the problem is more one of discoverability :D
Tell HN: Happy New Year 2024
Uhmmm. No it isn't :)
There is a a reason why people focussed on IITs. To be very clear, not every engineer graduating from IIT is good. But chances of finding a good engineer is probabilistically higher in IITs than other place. Also, when you are manager or startup, credential-led hire is medal of honour.
I was talking about showing empathy. I'm not sure where you got those ideas.
One reason I've heard for the statement vs expression distinction, where one deliberately makes a mess of the syntax uniformity, is that it helps diagnostics of programming errors.

That is, by demanding spurious restrictions on syntax and generally making code more annoying to write, you get to detect more constructs as probably bad.

Line noise - semicolons in C, colons in python - is the same idea. Earlier diagnostics of code that probably wasn't intended.

I don't find this remotely compelling as a language design choice but it's the best justification I've come across for why so many have the extra obfuscation between programmer and AST.

Specifically, why would one optimise for ease of reading invalid code instead of for ease of reading valid code. Madness. But popular.
If you're gonna go the csearch route, you should also consider hound. I use it many times per day.

https://github.com/hound-search/hound
Kool, but what are OOMs?
You will barely spend any time switching between one or the other. The tool doesn't matter.

Learn deeply how cgroups, namespaces, etc, work and transfer you knowledge about the building blocks to anything new that shows up.
No, because I don't think most companies even know what an AI role means yet. I'm not too keen on having my time wasted learning a bunch of already out of date crap for a company that can't muster a real plan around AI.

Speaking of, I might have been more enthusiastic if I was a young man. In my 30s, I can hardly give a shit about spending my remaining years, before dedicating myself to a family, sitting in front of a screen trying to be relevant and learn some hackneyed Python scripts that implement already-outdated AI models. Fuck that shit. That's a young man's game. I already did that with JavaScript development, which now looks incredibly stable in contrast to AI.

Most products integrating AI will be obsolete soon anyway. The idea that AI works better as an adjunct to existing applications seems reasonable in the short term, but LLMs will get more advanced to the point where doing things in a traditional way won't make sense. The people in charge of businesses right now are simply too set in their ways and are unwilling to actually understand this technology. They believe they will see riches by being a GPT-whisperer, and maybe they will in the short term.
the reason TCO is not implemented in V8, iirc, is because of developer experience and needing devtools to faithfully dump the call stack that hasnt been flattened, because that's what's expected of js DX.

does JSC's implementation solve this? do they exhaust the stack only when devtools are open, or smth? maybe they just keep the last 10 frames in memory for devtools? (that would make most sense to me)
Is rising air's water content (humidity) worth it? Humid air can "store" more heat.

I guess it could be bad past some %, but there's a probably a point where it's worth it.
Lots of people have speculated that this is true, but the creator of the puzzles (Topaz) has indicated that they did not concern themselves with Chat GPT or LLMs beyond specifying that if you do just use an LLM you should not attempt to claim top leaderboard spots which are for humans only.

In fact I didn't see people wrestling with LLMs trying to get them to solve early days and I can't believe it's impossible. My expectation is that the fad has passed, the sort of people who tried Chat GPT in 2022 because it was hot have moved on, the sort of people who resorted to it because they don't like AoC just didn't do AoC in 2023. If you enjoy these puzzles it makes sense for you to solve them, not to ask a machine to do it.

That's what many people who resorted to Z3 found frustrating. A Z3 solution to Day 24 is arguably "correct" and it certainly "works" but it's not very satisfying in terms of feeling like you achieved anything. This is why I wrote a solution which didn't do that even though it was days slower to write.
This might be due to road standards where major roads and highways usually have road lights when it’s dark. Most of Oslo’s internal roads are lit up too, as it makes them safer in terms of traffic safety and crime suppression. But this does have a cost which became even more obvious with the wartime energy price spikes.
You can predict what will occur quite easily, you can't necessarily predict when it will occur.

A lot of the "failed" predictions relate to markets...the reason why you can't predict this stuff is because humans are irrational and those irrational humans control outcomes in the short and medium term.

For example, you can see that a recession should have occurred. What people didn't expect is fiscal stimulus worth about 50% of GDP, tens of trillions in monetary stimulus, etc. Yes, if the government just deposits hundreds of billions into people's bank accounts then it is going to impact growth.

I remember back in 2007, Blackstone RE made insane leveraged bets at the very top of the market, it is very easy to point out rationally "these are absolutely terrible investments, the price is awful, these aren't economic"...today, all these bets got bailed out by the government (after a short period of bankruptcy/restructuring), the person responsible is probably going to be made head of Blackstone, that unit has hundreds of billions in AUM, etc.

The assumption that people make with forecasts has to be: the long-term is today. That is it. You will often be wrong but that does not mean that your model is wrong (indeed, the reason why this stuff is so predictable is because people believe that the models have stopped working repeatedly).

If you take something as apparently "unpredictable" as the market, you can predict returns to within 10bps very easily over the long-term because the fundamentals do not change (but, again, the current period has been the most unpredictable because of the level of government intervention, it is unprecedented...the government cannot hold back the waves forever though).

EDIT: referencing the 2005 interest rate prediction is quite humorous too, 2% against a predicted 5%...this was basically the start of it. Back then, no-one thought the Fed would cut rates to this level for, essentially, no reason...the Fed cut, the result was a financial crash. Turns out those predictions (which were essentially the long-term neutral rate) were right and the Fed was wrong...but the only account you hear about is: those damn forecasters, they failed to predict the Fed torching the economy, so stupid. Lol.
Still you need to maintain the properties. You can’t expect the tenant to pay for fixing the roof or bathroom leaks, painting the house etc. That not replacing lightbulb etc
>you would have to build from source but won't be able to use the 'fast' VM (i.e. cog/spur) and would have to fall back to the interpreter VM.

Thank you for your answer. This is exactly the path I went through. I decided to go with interpreter and I have built one. During this process I tried to exclude sound support and I think I did but resulting vm was still complaining about some sound library that was missing.
As I remember I didn’t figure out how to turn-off-more what is already turned off and postponed solution for better times.

>You're not likely to get very far with just a repl on a Squeak-derived (i.e. Cuis/Squeak/Pharo) Smalltalk. GNU Smalltalk is going to work better with that approach but you'll lose most of why people love Smalltalk, IMO.

I agree and all my tries were done done with squeak and I didn’t even consider other options so far. Thank you for advice about GNU Smalltalk, may be it worth trying even though I really wanted to use squeak and partly because I really didn’t want to “loose the most of why people love Smalltalk”.

My idea was to learn porting it to everywhere I wish it to be like in emulated retro machines and study it in it’s minimal form. Perhaps the proper way of doing it was/is to go through the blue book but I was looking for some shortcut way where I study the very basic sub-system of objects with repl first or even without it depending on the hardware/emulated platform which can be without sound/video/keyboard/mouse capabilities.

>I'd be surprised if based on what I said above you can't get a pre-built image running on a computer you have access to. If that's the case, let me know what you're trying to run it on and I'll see if I can give you a pointer to something that would work.

This is the case. My idea of ‘getting very far’ with it is to learn to separate the core minimum set of objects that can run on the machine without sound/video capabilities, only with working terminal access and then build/expand/grow the system (copy from main image additional parts if required) and learn on the way while already ‘living’ within the environment of smalltalk in it’s bare minimal basic form. The final destination may very and could be this weird first retro computer that I’ve built when I was a schoolboy(https://news.ycombinator.com/item?id=38762668) and not only it, I wish it to become the language of choice for many tasks

But as intermediate step it could be let’s say raspberry pi zero w - headless while (importantly!) completely without sound and video drivers. If that would be possible and easier then completely writing it from scratch it would be great.

With my current hardware limitations this is the only realistic setup in which I can study it properly .
systemd-oomd [0].

You can also use facebook's oomd, but the systemd one is basically the same and slightly better.

If you want, you can also write your own custom memory pressure handler using the recent PSI features: https://docs.kernel.org/accounting/psi.html

The other, easier, answer is to buy more ram, if you simply have more memory than you will ever use (such as having 128GiB of memory when you only regularly use 30GiB), you'll rarely run into OOM issues.

[0]: https://www.freedesktop.org/software/systemd/man/latest/syst...
The condition doesn't matter, either because of one of two scenarios.

1) This is the author, and these are rejected proofs or author copies. In which case, Amazon does not have the rights to sell them because they were not "returns".

2) This book has been sold once, and royalties have been paid, but it was returned, relabeled as "new" and sold again without a royalty being paid on that sale. The author and the customer have been cheated.

The thread has likely developed, but this is just going by my limited familiarity with publishing.
Tip: close the book, close your eyes and imagine any possible ending that makes you feel that the story ended in full. Non-fictional? Read something in Wikipedia.
Of course Firefox can fix that, the same way web browsers have always fixed it: copying user agent strings. There's a reason Chrome claims to be "Mozilla"

What exactly do you think the logic Google implements would be?

Why do you think Google wants to get rid of user agent strings?
> Using midihum is easy. First clone the repository, navigate to the midihum/ directory, and install dependencies:

> pip install -r requirements.txt

Why not just upload it to pypi so you can do all this with one pip command?
That is a user POV solution, speaking from the search engine POV.
For desktop use, nohang does what the name says.

https://github.com/hakavlad/nohang
> e.g. “hey everyone, let’s explore type systems!”

Oh my God, I laughed way too hard.
January 1, 2024 is Public Domain Day
Actually, as a chiefly Java/C# person, I was hoping for the article to cover how Bun helps lower the Total Cost of Ownership of Javascript projects by helping to get off the hamster wheel of infinitely deep npm dependency trees, wild west of constant project deprecations and major version releases with immediate deprecation of previous versions, daily game of CVE alert whack-a-mole etc. Preferably, short of writing all the code yourself.
Here's someone else getting something similar.

https://github.com/jart/emacs-copilot/issues/2
Eh, it's a mixed bag. The way Github Copilot offers suggestions means that it's very easy to discover the sorts of things it can autocomplete well, which can be surprising. I've certainly had it make perfect suggestions in places I thought I was going to have to work at it a bit - like, say, thinking I'm going to need to insert a comment to tell it what to generate, pressing enter, and it offering the exact comment I was going to write. Having tried both push and pull modes I found it much harder to build a good mental model of LLM capabilities in pull-mode.

It's annoying when a pushed prediction is wrong, but when it's right it's like coding at the speed of thought. It's almost uncanny, but it gets me into flow state really fast. And part of that is being able to accept suggestions with minimal friction.
That would normally mean you ignore the system getting slower for a long time.
Thanks, yes - that's the one.

(Too late for me to correct "blig" -> "blog", whoops.)
If updating, remove any reference to Rubix Cube since it doesn't "spin" a row, that reference is adding more confusion about how it works than it clarifies.

Other words better than spin: reverse, mirror, or flip. Word reverser, word flipper.

Arguably more a mix of wordle and boggle or scrabble than Rubix.
4.5% of all developers isn’t small in absolute terms. And diversity is a good thing.
There are a few stories like this related to revival of the Carolina Rice Kitchen heritage cuisine in the book The Third Plate by chef Dan Barber of Blue Hill at Stone Barns. Anson Mills [1] in particular come to mind in regard to the revival effort - they’re growing and selling Carolina Gold Rice, Graham Flour, Bennie seeds, etc, and I would not be surprised if they get involved in this peanut project as well.

1 - https://ansonmills.com/what_we_do_pages
You can radiate easily.

But not convect. Hence why it’s much, much harder than removing heat on Earth.
I don't think Goodhart's law applies here. They weren't really "cheating" to get better metrics, they just seemed to be taking shortcuts out of laziness.
DuckDuckGo can do that for free though.
Jonathan Blow - Preventing The Collapse Of Civilization

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

Highly relevant to software development.
I think this article actually does a really good job of explaining why TCO hasn't really been an important part of the JS ecosystem.

There's a lot of situations where recursive algorithms are really neat and clear. I don't know if this is the best example, but it shows the benefit of being able to split logic into a base case and a recurrence case.

But, in my experience, an algorithm that elegantly fits a recursive relationship is rarely one that naturally fits the tail-call paradigm. Often part of the benefit of recursion is that you can store state in the stack - the very thing you need to avoid to use TCO.

This means you often need to put in effort to create a tail recursive algorithm. But that often ends up looking a lot like the imperative case anyway - an accumulator outside the loop that you either mutate manually, or update in a tail call. And in my experience, the mutating, imperative version is usually then the easier to read and write (assuming you can keep mutations to a given scope, and not have that state leak all over the place). (In fairness, this might be more familiarity, though.)

In the light of this, what is the advantage of TCO? In functional languages without mutation, it's pretty important to allow for functions to act on arbitrarily-sized inputs without constantly growing the stack. But if we have mutation, it's really just a different way of writing the same code. And if that different way is generally less clear and almost always less performant, it probably isn't a very useful choice.

Which is why I think TCO hasn't really caught on in the other JS engines. It's a cool idea, and there's definitely a handful of cases where it's the useful way to go, but usually you'll be better served by writing things in the more traditional JS way.
Interesting to see Oumuamua there. But it was my understanding that it was just briefly visiting our solar system and will leave us behind?

https://www.swedensolarsystem.se/en/oumuamua/
Mm, from Green Day. The actual quote seems to suggest the opposite^0, but that's OK, I think you mean you hesitate to follow your heart because you're afraid you'll be labelled as "irrational" -- or disagreeable! haha -- (and you don't want people to think that about you); and you don't yet trust it.

But when you do (trust it -- your heart), you can trust that it will lead you, the right way for you! :)

I guess a more literal reading is it's sad that not everyone is in love and in sync, emotionally and mentally, but...you know...as long as no one's hurting each other, that great diversity is the spice of life!

But if you're against that? I don't know: you got to respect other people's different feelings.

Thanks for sharing that bit of you. Beautiful. I appreciate it! :)

Happy New Year! :)

0: (definitely more an expression of a personal angst and disillusionment by Green Day than anything about the actual reality of the world): At the center of the Earth, in the parkin' lot // Of the 7-Eleven where I was taught // The motto was just a lie // It says "home is where your heart is," but what a shame // 'Cause everyone's heart doesn't beat the same // It's beating out of time
No thank you. I have absolutely no interest in it nor need for it.

It’s your job to make me switch, and frankly I see zero reason to care. Chrome and Safari work fine.
Pilot wave theory is isomorphic to non pilot wave theory. It doesn't predict anything new about the world
[1] for example

[1] https://danluu.com/anon-benchmark/#:~:text=Over%20the%20year....
Yes. You can define a constant (eg IS_SERVER) which your bundler (eg esbuild) replaces with a specific value depending on what environment you’re targeting. There are also ways to detect it using runtime globals that are only defined within the browser although that can be monkeypatched by your own code or 3p libraries you import (not common but could be a compat layer you add to make server side JS behave more like a browser).
Yes and that is what these analyzers do.

The problem is that your space grow really fast and that your compilers are really not built to extract that information in a few ms.

Even less to regenerate only part of it based on partial input. Even less when the input may not be correct syntax.

Also that linkage being kept is exactly what this post talk about. How to keep it intact through the different steps and transformations in your pipeline in a way adapted to the kind of queries you are going to need is... Actually hard and dependent on the query.

Which means that adding new features to your IDE would regularly need (and actually does need) a new way to store and query that data.

But yes. Reusing part of the rust compiler (or replacing some of them) in rust-analyzer is already something that happens and that maintainers work on.

It is just not that easy. But yes, C# and Roslyn in general was built with that in mind. Typescript too.
RBS / Ulster Bank real life cartoonish multi-day failures from a few years back were alleged to have this as a cause. I didn't work in quite the right part of RBS to observe directly, but what I heard was very plausible!
Not a long time. With swap enabled, when a process consumes too much memory your system goes from perfect performance to cursor lagging to everything is frozen and you can't even switch to a TTY within 5-10 seconds.

Without swap, the system lags for a couple seconds, OOM killer frees up memory and you're good to go again. The only slowdown is any pages that were kicked out from the file cache. But those quickly come back after the OOM killer does its thing.
It really goes to show that in DevOps and SRE (Site Reliability Engineering) - where companies arguably make the most money from vendor lock-in - pointless certs dominate.

In traditional SWE (Software Engineering) you'd be hard-pressed to find a legitimate senior or hiring manager that is taking a Java certificate seriously at all.

I am very grateful that SWE is untouched by this.
The LLM in Emacs-copilot doesn’t drive Emacs, much in the same way that opening a file with unknown contents in Emacs doesn’t drive Emacs.
>3. Record the radio, and assemble songs you like onto a low-audio-quality tape for yourself.

That was the most common thing to do. There were so many Top 40 or Top 100 radio shows you could always record off the air if your tape deck could do it. American Top 40 created and hosted by Casey Kasem (then Shadoe Stevens) it aired on Sundays I believe because I remember sitting on the deck at home listening to the show.
I think this article has two shortcomings that make its sweeping conclusions shaky.

First, it identifies forecasting with point forecasting. There are other ways to put forecasting questions, e.g. lower and upper level with a certain probability.

Also it mentions Tetlock, but only his negative findings, not his positive ones that lead to Good Judgement Project, which suggest the contrary of the conclusion of this article [1].

Thus I think it is not up to the latest research results.

See you over at gjopen.com, if you are interested and have lots of time to waste...

[1] https://en.m.wikipedia.org/wiki/The_Good_Judgment_Project
I'm curious: what is the rationale for "in an incognito tab" being part of the test harness?

It seems pretty arbitrary to me to disable one of the key features - in this case personalization - of the software being evaluated.

Or is the evaluation not between "search engines" but rather "search engines without personalization"? If so, then this restriction does make sense. But that is not the evaluation that "normal users" are interested in.
Yup. This is a rare pen and paper solution for me. I ran simulations to confirm the first two cycles and that I was reading the binary right, but I got the solution directly from the input by hand.

It is my favorite problem of AoC as well this year mostly because it was the first problem in many years where when part 2 popped I didn't immediately mostly know what algorithm they were going for.
> Mozilla's pursuit of other ventures of varying importance is precisely what lead to the Chrome (Blink) monopoly in the first place.

Not Chrome being shoved down users' throats on every corner, including the main page of the internet? Not accidental breakage of competing browsers on YouTube?
Amazon is two businesses in one. AWS is a high margin technology services business. The rest is a low margin box shifting distributor.

To be competitive in distribution you need to be ruthless about costs. I've consulted for a few of these sort of companies and it's insane what they will do to save a few pennies. They are utterly miserable places to work as their frugal attitude spills over into all their interactions. It starts with using doors as desks and progresses to making staff piss in a bottle.

I suspect this culture is what makes Amazon as a whole such a difficult employer.

If they were two independent businesses then it would never make sense for them to merge, just as you wouldn't expect Microsoft to buy Walmart. It would probably be better for both sides if they divorced.