skysight-inc/HackerNews huggingface dataset:
Sorting is very fast since i designed a sorting algorithm tailor-made for this problem, which is about as fast as your approach. Difference being the numbers are 32-bit, so iterating through the entire array of all possible 24-bit mantissas (i know they're 23 bit, but the implicit initial 1 of normal (vs denormal) values is explicit here) would be way too slow. Otherwise you'd be right, 8-bit values you can just use counting-sort, no problem. Or 14 bits, same deal. Now also notice there's a difference between the matrix size and the mantissa size, we care about the mantissa size, so it's 24 bits.
I know it’s not perfect, but I’m pretty content writing schemas and types as validators with zod and deriving my types from those. That you can derive the types easily and the validation then evolves with your typing is really nice.

I’ve worked with people who find it too complicated or they feel like it should be baked into the language, but I’d argue there are so many contentious design choices in these libraries that it might actually be best to be an implementation choice, selected based on a project and its specific needs.

Zod has been very good to me though. It’s quite easy to get up and running with, and its API has never gotten in my way when scaling things out.

My one complaint is that certain patterns I love, such as runtime validation with zod and deriving types from schemas, doesn’t necessarily always play well with something like pattern matching in ts-pattern. The type definitions behind these libraries are labyrinths, and cases where something seems like it should work won’t always behave as expected. On some level, I do wish these were seamless language level features, though I fully recognize these are selfish desires.

But imagine having runtime safety combined with exhaustive pattern matching. I’d be very happy to have that.
I can’t tell if this is serious or satire. There’s no spec.
Yeh, it bears many resemblances to Babbage's difference engine.
You may be right!
I would argue that these charts, which typically depict weeks, have been of interest to me from around 2008 when I saw a Calvin & Hobbes version on Tumblr.

That being said, it is probably no coincidence that I made this soon after my Dad passed away. Though I think it is likely also the impending birth of my first child contributing also.
What is the benefit of using greenthreads+channels over, say, greenthreads+channels+transactions?
You don't own it, AI does
> The novel coronavirus was sufficiently optimized so that no serious mutations occurred for nine months.

D614G happened almost immediately. There were also likely mutations that made it better adapted to mammals/humans that we never saw before it became "good enough" to form a pandemic virus in humans.

Beyond that it was good enough with an R0 of >3.0 and ability to infect the entire world's population that it spread globally and faced no selection pressure to mutate. Once it was facing a population with a climbing amount of immunity it was forced to get better at infecting in order to go after the remaining fully susceptible population, and it faced selection pressure to become more immune evasive and to reinfect.
It's the same ethical gap that dogs virtually any AI art project. In your example, some other actor did work in exchange for some satisfactory payment (possibly free). In the case of AI synthesis, actors' work is plagiarized without even compensation.
I’m not sure which is more frustrating: adventure games where you have to find the right command phrasing or games where you have to find the one magic pixel.

The limited grammar of these early adventure games had such a strong impact on me that I write my to-do lists now using the standard “VERB [ADJECTIVE] NOUN” grammar, as if I’m the character in my own game. :)
> Life 38.10% complete

well that was a downer on the night, i was already having a little struggle with feeling like time is running out.
Great article, but it did give me the "an elephant is like a rope"
feeling—it seems like it's one person's idiosyncratic perspective,
some of which I agree with and some I disagree with, and there
isn't really much justification for changing my mind about the
parts where we differ.

But this is exactly Jimmy's writing style and the entire (extremely long) series is like that - it's not meant to be a wikipedia page.
There is an art to translating whatever idea you have into large building blocks rather that coding it from small primitives.

Actually knowing how to code is important, but so is knowing how to take a problem and implement it without ever doing anything the framework authors didn't think of.

You might need a nasty hack like exporting a bitmap to a ramdisk and then importing it again to read a pixel value, to avoid messing with some nasty AI, or you might have a case where performance matters and you do want to mess with the buggy undocumented crap API.

It's almost like the idea that language shapes how you think. Frameworks are kind of like subsets or dialects of programming languages. If you actually know the framework well, you can often do stuff that seems like it would need low level control, in an idiomatic way that doesn't fight the framework.

I was thinking of building a Bluetooth device you can leave somewhere that alerts your phone should it be disturbed, as a portable security system. However the PineTime, an open source smartwatch, has all the features needed for $25, cheaper than almost any small quantity prototype.

Not sure if I'll ever get around to that project, but if I do, I probably won't be building any single function hardware just for it, especially not without being sure the whole idea is worth it.
Yeah 3.5 still can't figure it out, 4 does though. Hilariously 3.5 gave me this:

Fill the 6-liter jug completely with water.
Pour the water from the 6-liter jug into the 12-liter jug.
Fill the 6-liter jug again with water.
Pour water from the 6-liter jug into the 12-liter jug until the 12-liter jug is full. This leaves 4 liters of water in the 6-liter jug.
Empty the 12-liter jug.
Pour the 4 liters of water from the 6-liter jug into the empty 12-liter jug.
Fill the 6-liter jug with water again.
Pour water from the 6-liter jug into the 12-liter jug until the 12-liter jug is full. This leaves exactly 6 liters of water in the 12-liter jug.
> Rendering requires a number of “artistic” choices so I doubt that precedent would apply here.

I wouldn’t speculate on what might fly in court, but while some rendering can require artistic choices, it’s certainly not a requirement for all renderings, and more importantly, the specific renderings in question here are very low on the artistic choices scale; they’re generic screen-captures meant to demonstrate the library’s functionality, not carefully rendered imagery. The Bistro scene is instantly recognizable, and the view is generic and similar to many existing renderings, and lower quality than what you get if you web-search for “bistro scene render”.

I will speculate that it seems likely that Khronos slapped the copyright notice simply because they got the images from Meta, and that Meta made them of this scene specifically because the scene has an open license, and Meta had no particular intent to assert copyrights. I bet this is only a CYA by Khronos, and not even a question of precedent. That said, I guess maybe I think it lands closer to Bridgeman v Corel than you do.
Companies Think Customers Will Accidentally Cancel Subscription If It's Too Easy
"Free" book. Actually a really annoying (to the point of unusable) dynamic-loading paginated html page. Surely nobody'd ever want to learn anything (much less RISC-V assembly) like this.

<!-- Created by pdf2htmlEX (https://github.com/coolwanglu/pdf2htmlex) -->

The PDF itself nowhere to be found, although I expect one will be generated by hackish means and uploaded somewhere soon. (edit: z-library and Anna's both have it as PDF)

The simulator is similarly locked behind the webbrowser, but seems to be at least based on an open source one[0]. Whether it has been modified is unclear.

0. https://github.com/antoniocgj/RISC-V-ALE
The person you are replying to did not say both of those things.
Khoj: An AI personal assistant for your digital brain
[This article](https://www.city-journal.org/article/where-has-the-money-gon...) paints a picture of gross mismanagement and largesse.
You built it? You personally? That's your web page Langley AI? You're charging quite a bit of money. It's more than Netflix.
This is cool! How did you end up working with Ullman? I guess "being a Stanford dropout" explains how you met him, but there must be an interesting story here. Can you share how that happened and what the process was?
Well, the whole world did it, and the whole world failed, for fifty years. Just as it failed with alcohol, a much more dangerous drug than most. [0]

I'm not sure how Singapore fares, but Japan is also known for its hard-line drug policy. This just pushes the harm underground. Just because you don't see it, and society turns a blind eye to it, doesn't mean it's not there. tl;dr: the hardline policy towards drug use in Japan created a massive underground meth problem. [1]

[edit] It doesn't take much research to find out something quite similar is happening in Singapore, too.

> “People think drugs are very hard to get in Singapore, but actually before the pandemic they were everywhere, and even now there are people selling them.” [2]

Hardline policies don't reduce the harm. They just stop people from asking for help.

[0] https://www.economist.com/graphic-detail/2019/06/25/what-is-...

[1] https://www.vice.com/en/article/xg8q7k/how-stigma-created-ja...

[2] https://www.straitstimes.com/singapore/courts-crime/young-an...
> This appears to be related to a behaviour that ProtonMail has of dropping all plaintext email if any mime-encoded parts exist.

https://github.com/ProtonMail/proton-bridge/issues/26#issuec...

I'm actually more shocked knowing that they drop plain text if there is a mime-encoded part (e.g. HTML). Just verified that all mails imported from GMail and all newer mails I received in PM only have the HTML part now, while GMail shows both HTML and plain text parts in message source. Great, now if I want to use a text-only client to read those mails in the future, I won't be able to.

Now I honestly wonder, how did they think this is something okay to mess up? Is there just no usable email hosting service for someone that want their mails not touched and also stored securely? Like, this is not even going to save storage space for PM - I'm paying for my storage.
> Jump King, Getting Over It both have the same kind of ruthless difficulty

Yes, that’s exactly the kind of thing I was going for! Though I will say: I feel like my controls, although difficult at first, are easier to get used to than either of those two, or at least they were to me. After a while playing with the game, you “get the hang of it” so to say, and it starts feeling more natural.

Also, thank you for your advice! I have some thoughts/questions about some of it:

> Things like describing what "chapter 1" is are basically asset problems.

Well, my current solution is to encode the different “assets” (chapters, characters, images) as source code, and link them with the rest of the game at compile time. The biggest benefit is that I end up with a single executable that is easy to run, and don’t need to bother loading assets at runtime. To me, it doesn’t seem to matter ultimately whether I store information about how a chapter should play out as plain data or as code, and making it code seems simpler insofar.

Though a lot of the assets the game uses (e.g. the dialogue boxes you mentioned) are generated during intialisation, and then just displayed as a set of images during gameplay. Effectively, it shifts some “during build” work to “when the game starts”. The benefits include a simpler build system and fewer required build dependencies, besides being more straight‐forward to work with.

> A simple constraint solver for the platforming physics.

I don’t think I fully understand what you mean by this. Are you saying you feel like it would be better to avoid performing collision checks in order of axis? I.e. that it would make more sense to perform the checks in conjunction somehow?
Nope! I use my local Big ISP, and have for 13 years.

To quell your worries about a prospective service, you can try them without rushing to relying on it. Just point a mail client at their SMTP host and test for a while.
Omission of New Zealand from Maps
There's also help2man, which turns help output into man pages.
It was more like a polished graphical off-shot of Angband. But I wouldn't call it a "version of it" anymore than I'd call Battlefield a version of Doom (or any platformer a version of Super Mario), they are simply games in the same (or similar) genre.
unfortunately, current practice uses the word 'asset' to mean 'file' (or, more specifically, 'file that we are going to put on a web server')

i think this is the wrong side of the balance sheet, so in dercuano i put my fonts and css in a 'liabilities' directory instead
Good abstraction is the foundation for most of what we do.
Bad abstraction is worse than no abstraction.
Not everything needs to be abstracted.
Ontology is bad abstraction (is a has a stuff).
Some people are bad at abstraction and some people are bad at writing business code; Both can be good coders.
I’ve spent most of my 25+ year career working in other platforms/frameworks, and only in the past 5 years or so started working in Java. Not by choice. As such, I’ve got lots of bones to pick about the language and the JVM (the former of which I’ve worked around by using Kotlin, which I quite like).

The meme about factories, however, has perplexed and kind of annoyed me. Isn’t that more a symptom of once-popular design paradigms that overstayed their welcome or perhaps never were, which can happen in any long lived ecosystem (in this case, one I’ve seen pop up here and there in other OOP platforms, such as .NET)? Maybe I’m spoiled by mostly having worked in recent Spring Boot where I rarely see these tedious and awkward patterns, and perhaps the meme is more impactful for people stuck in legacy land, but there is a bit of hubris with these blanket associations that rubs me the wrong way. I’m no Java apologist, either.
All I’ll say is that the police statement and the video of what actually happened are both available. So to anyone reading this: you can decide for yourself how reliable the cops are as witnesses. https://en.wikipedia.org/wiki/Killing_of_Nahel_Merzouk
Now the whole journey of Einstein from patent examiner to physics superstar makes sense to me.
It of course depends on workload but I know more than a little about this specific problem space and reducing the space+energy cost of the multipliers is useful. If the idea proposed worked well enough it might be a useful block in a camera ISP chip, audio interface for wake word and speech preprocessing, and similar applications where the models are small and energy is precious.
This is Sachin - Requestly founder here!

At Requestly, We're trying to build an open-source platform to make frontend devs more productive. Having been a frontend dev myself, I often found inefficiencies like being blocked on backend devs for development & testing. Another problem that I faced very regularly was testing my JS changes directly on production sites.

We're trying to solve this with Requestly being an on-device proxy (Chrome extension as well as standalone app) that helps you capture network requests and reroute and mock responses easily.

Traditionally, people used Charles Proxy or Fiddler for this but many companies have moved to Requestly now for easy use & being present in browser makes it fast to use and without VPN Issues.
Culum Brown on Fish Intelligence, Sentience, Ecology, and Suffering [video]
Vulkan is not supported on iOS / MacOS, which is the major benefit to this release.
At the time, i needed academic affiliation, meaning be in college or more likely have a professor vouch for me. What i ended up doing was return to Stanford undergrad n take classes related to algorithms, show my algorithm portfolio in office hours, then get referred to other profs, one of them being Jeffrey Ullman, in 2019. N then after emails back n forth we met in person in the Gates building, it went from there.

Very happy to have met Professor Jeffrey Ullman.
https://www.leadinginproduct.com/

It's about product management, leadership, engineering organizations, and related topics. I still consider it personal because all of the content stems from personal experience.
You're forgetting that algorithmic complexity deals with asymptotic behavior.

An algorithm that takes N inputs, does N operations, and then sleeps for 10 seconds is not constant time, because in the asymptotic case the N iterations will take longer than the sleep.
Carl's Jr. has several workers and a manager right there to restart the grill and get it working again.

These coners are exploiting a simple hack that would ordinarily be nothing but a minor nuisance to a human driver, but it turns into a showstopper for an SDC, because there is no responsible human for dozens of miles around. It disables the car for an inordinate period of time without a realistic mitigation. It's genius!
Read a paper with few hundreds of cites. They proposed a new algorithm to solve eigenvalue problem. I look at it, decrypt the equations, and then notice that it is just basically a bunch of if-then condition like this:

count = 0

for x in list:

if x == 1:

count +=1

if count != 0:

return 3

else:

return 1

Everything is simple, they try too hard to make things look mathematically rigorous but turn out stupid.

if you want to see how cryptic it is:
https://arxiv.org/abs/2103.07510
Funny to see the lengths some people will go to spin the news their way. It's just a flesh wound! I've had much worse.

"questionably skewed interpretations of city statistics" -- LOL. Who you gonna believe, me or your lying eyes?

"It was all the pandemic!" Right, right. LOL again.

Boudin lost by 60-40. Face it: it wasn't propaganda from big money; people just hated him. The DA does, indeed, have the "privilege" of deciding who to charge; what bail to demand, if any; and what plea deals to make; and that's why George Soros poured so much money into DA races all over the country. If the DAs were just automatons no one would bother.
Are you saying the nucleus? because hydrogen is too
The actual text starts on page 32.

Also, legal texts are the always longer than a conceptual tl;dr of them. Covering for all eventualities. It's not a flaw of the legislation itself that some boilerplate is required. Also, a lot of it is contextually relevant (e.g. there's entire sections for regulating specific industries).

Your average contract contains the same boilerplate by percentage.
It's not a straw man, I'm asking him where he stands. How far does he want to take it?

You mentioned Elixir. You literally suggested a language that was created 6 years after Shopify began.

You wouldn't pick Ruby, thats your choice. People are still making billions of dollars with it.

So, since you took up the mantle, what language should they have used 17 years ago when they started the company?
The weapons and placement is based on the classic board game "Cluedo"
I don’t know, sorting requires a lot of moving data around, which is expensive for energy too. Maybe this will be used for vectors of small fixed/bounded size, but then you don’t get to amortize the cost of the logs as much either.
What percentage of The Pokemon Company does Nintendo own? They must have some exclusive arrangement in writing or a 50% or more ownership because it's never been hosted on a non Nintendo platform.

They certainly had the staff to make Pokemon Stadium and Pokemon Snap. Most 2D games in the SNES era only needed like 4 to 7 developers. It would have been fine and trivial even to pair Nintendo game artists with Pokemon developers for a true console Pokemon game. It just wasn't done. It took until the Switch to see a true console Pokemon game.
Which base model do you work with?
Copilot provides inline completion in your text editor. To me it’s very valuable and saves me a lot of time.

They also have a chat feature on preview but the model seems based on ChatGPT 3.5 and not 4, so it’s a bit useless.
What evidence do you have that allows you to make the assertion that they 'cannot drive a car'?
Have you tried a smalltalk environment?

There's plenty of mature options both commercial and free, and to me, many years ago,they have a similar feeling.
Million Dollar Influencers is an exclusive and innovative influencer collaboration platform that enables influencers to expand their reach, amplify their impact and monetize their influence. This platform is accepting new influencers. Spots are limited.
If I load gunpowder into a cannon based on the current number, such that bigger numbers get more gunpowder and are launched farther, and then I walk the distance and collect the numbers along the way, is this a physics sort?
Understood. One or two stories being missed, fairplay. Wondering if 5-6 being missed indicates its not really worthy of attention/a bit weird to get attn weeks later. :\
I think it will be a long long time before we see an LLM generating a genuinely novel, interesting and fun to play mystery game.

Good mysteries involve providing just enough hints so that the player can make the fun leaps of logic and experience "Aha!" moments. People don't want to play the job of a real detective (collect endless witness statements, construct extremely detailed timelines) they want to be the hero in a detective story, making clever deductions.

LLMs might be able to generate characters and dialogue but they're going to struggle to come up with completely new ideas and mystery mechanics like Her Story
Behind how? There are no good web frameworks for Golang at all, and relatively few sites being built with it.

Elixir? Okay, it's a nice language that is also dynamically typed. It has some advantages but good luck finding anyone with knowledge of how to program in it or has even used a functional language before.

I don't personally use Ruby these days but to say it's super behind is just silly. Golang is as similar to Ruby as C++ is.
That sounds awesome! This is the most advanced game I have ever made, so I don’t feel like I have as much experience as you. I’m glad you seem to have liked what I came up with in some way or another!

I feel like designated initialisers can be circumvented by simply assigning the fields individually. It’s a bit more verbose, but I feel like it works almost as well, the biggest downside being that the compiler won’t warn you if you miss some.

Regarding loops and variables, I opted for just declaring all variables at the top of each function definiton (only using an initialiser for ‘static’ variables), which I find almost reminds me of how Python handles variables, except with a chunk of declarations at the start of each function.

Of course, this is all subjective, but I find this style looks neat, and I don’t think it gets in my way at all, personally.
Perhaps Boost.Metaparse[0] would be of interest:

The library is similar to Boost.Spirit, however while
parsers built with Spirit parse at run-time, parsers
built with Metaparse parse at compile-time.

0 - https://www.boost.org/doc/libs/1_82_0/doc/html/metaparse.htm...
He means both. From his 1974 Turing lecture ("Computer Programming as an Art" http://www.paulgraham.com/knuth.html):

> To summarize: We have seen that computer programming is an art, because it applies accumulated knowledge to the world, because it requires skill and ingenuity, and especially because it produces objects of beauty.

(See also, from an earlier paragraph “When I speak about computer programming as an art, I am thinking primarily of it as an art form, in an aesthetic sense.” — though the summary is a better reflection of his views.)