skysight-inc/HackerNews huggingface dataset:
Good question. (Incidentally, it provides a good example for my words in the comment you have replied to.)

Words could be objects. But I will tell you more: you can start breaking words into characters and making them objects too, if you needed to. The key to performance here is to do the necessary stuff on the fly, on demand, dynamically. In other words, the word may become an object only when it needs to become a seperate entity. Suppose you use some data structure for storing sentences or paragraphs. Let's assume it's just a list. So, before a word needs to become an object that stores some information about itself, it can just be a string:

'("This" " " "is" " " "a" "sentence" ".")

Now, if you wanted to tag the word "This" with some info (like stylization), you could turn that word into a more complex object:

'(("This" :style bold) " " "is" " " "a" "sentence" ".")

In fact, if your application requires such an optimization, you could even store it as a simple string

"This is a sentence."

You can choose whatever storage unit you like, as long as you can make your editor work with it. Structural approach allows specialization on the fly, you can just adapt to the granularity when you need it, since there's just full programmatic access.
I believe because it shows how much we depend on good behavior of Big Tech (or Big anything really) and are at their mercy. I think most people do generally have the expectation of big corps leadership behaving somewhat decently most of the times, at least publicly, and not being totally disrespectful since that harms their reputation. Musk goes against that expectation, quite spectacularly.

This is changing the game somewhat, people also are up in arms about google shutting down useful services even when they give many months notice - this is far, far worse.
His was a very interesting journal, technical yet engaging, it would draw you into the daily life of a kernel developer with wit.

After he switched to using his journal as an exercise in Gaelic, I lost touch, as I don’t read the language.

I later found out that after the passing of his wife, he retreated, and worked on an 8-bit Unix.

Twitter and Wordpress/Blogspot don’t have the same aesthetic, as when you’re reading someone’s personal blog. That’s like you’re visiting someone in their living room, they’re offering you tea and a chat in their own space, which does as much to convey an atmosphere as the content, something that cookie cutter platforms sorely miss.
High resolution 3D sneakers using latent diffusion
And now dhh is back in real world and rediscovering reasons why companies adopt cloud services, one after another.

My guess is that we’ll see more of these posts :)
Oh, boy, how did I miss that one... heh.

You have a point there, I have thrown in a TLDR.
> I feel for all the developers scrambling to make a mastodon app now in an effort to restart or secure their clients

Is anyone doing that? It would be incredibly foolish to believe that people that paid for a Twitter client would suddenly be fine with a paying for a Mastodon client.
We remember facts better when they are in story form.

For example, suppose I ask 100 people to memorize a list of fifty words, and then I ask you which word was a food item. Many people find this challenging.

If I change the experiment so that I tell a story using all fifty words, and then ask you "what did the grandmother have for breakfast?", you're much more likely to do better.
I love the Nintendo story. Would be hilarious if you could find the list. As someone with young kids I almost feel guilt tripped when I read articles about how once you say no to your child you have to stick with it or else your child will own you forever more and inevitably turn into a crackhead. Sometimes you just have to give in!
You’re a better person than me! My parents were also abusive and I haven’t spoken to them in years. Even just thinking about them gets me sad and upset still. No way I’d send a dollar their way!
It should be $/month of the third party app developer or a tiered plan where you choose depending on the number of users using it.

An easy win-win-win-win for Twitter, partners, users and developers.
Exactly! I pleaded with the window company not to put vents in the new windows, as my house is already very draughty. They said it’s the law. They are cheap and poorly designed so they let in lots of noise too. And I had to tape them off because of the draught they let in even when closed.
Thank you - this could solve a problem in my house. We had CO2 build up in our bedrooms and the only way I have found to ameliorate the problem is to have our HVAC fan running continuously at night to circulate the air in our house.
Sure that could happen. Nothing against that. But I am not fully confident. As a counter example, we have ORMs. They bring value but I have seen enough devs who are too reliant on it and don’t develop a good understanding of how the underlying database behaves. This could be actually detrimental to the work.

Maybe we will have a mixed result similar to ORM example. It can lower the barriers to entry, which is good, but won’t eliminate the need for deep expertise. At least initially.
In case you all have overlooked this fact, we are all going to be this old person, soon. We have time to show kindness, and we have time to live an interesting, fulfilling life. I'm at a point when I wonder, when I hit that truly old stage, who will even believe the stories I could tell, never mind listen. It might be better to write a book, before I'mn old, so that it won't seem like just the ramblings of an old person.
Yes we are going to use our current values to guide our actions.

We will use our current values to define taste, justice, and cultural behaviour. We will try to look at the actions of the past with understanding and we will try to think what people in the future might think as a lens to consider our own current situation.

And we'll laugh at anyone who tries to argue philosophically about definitions of right and wrong.
China is in the special position of having both a great industrial capacity for complex products and at the same time being the main source of complex products that are poorly designed/constructed. So referring to "Chinese junk" identifies an objective economic phenomenon and is not simply a product of prejudice.

"Chinese junk" can also be used as a term of criticism for a tendency among Chinese suppliers to dishonestly skimp on quality. Hearing of the many troubles American companies have with suppliers in China, this seems to be a valid criticism. However, having worked in the Middle East, I can testify that this problem can be as bad or worse elsewhere.

It is noted than Japan had a similar reputation in the early 20th century, and I think Switzerland also had a reputation for poor quality in the 19th century. In both cases, the governments started programs to change things. There is desire within China to change their reputation. I've read that Alibaba is actively trying not to be seen as a venue for selling "Chinese junk."
I think if you do Graal native compilation then you'd effectively get that. The linker should chuck unused code. (though tbh I haven't tried it myself)

But to just say "no reflection" and tree shake your JVM code - not that I'm aware of unfortunately! I'd love to just treeshake entire unused dependencies. At the moment I do it manually - but it's a chore and it's hard to do comprehensively.

Now that post- Java8 you're supposed to jlink the JRE, I somehow doubt this will ever happen. The people that care about executable size would probably be doing Graal Native.
I said they are borderline ruthless, didn't I? So yes, as far as I know they do. Fun, if they try to use it in Europe so., because usually you have to pay people make them leave over here. Reasons for termination are hard to come by.

Lately so, a much as I disagree with stack ranking and so on, I came to realize that the oposite of handling those things (pretending to be ultra-nice and so on) just moves the backstabbing to a different room, one without any rules. So yeah, in a sense Amazon is doing a lot of things right, as hard as it is for individuals.

Edit: Amazon did have stack ranking while I was there, no idea if still do, but I assume yes.
net/http is production ready. Performant, handles h2, terminates SSL, etc. It’s nothing like the toy HTTP severs shipped with some other languages, e.g. Python’s http.server. The standard answer to “why would you do that” is “why not”.
I see some early trends in Poland (a lot of soviet-style concrete blocks of flats) where the modernisation is done better.

Article in Polish, but worth translating or just looking at the photos: https://www.money.pl/gospodarka/w-tym-miescie-nie-martwia-si...

Shortly: insulation, new windows, solar panels, heat pumps (heating + warm water).

They do not show "before" photos, but I found some similar building before renovation on the same street: https://www.google.com/maps/@51.3586963,21.5793371,3a,75y,16...

They mention 90% savings in heating costs, which apparently pays off the debt they had to take to make the upgrades.
Thermal mass is usually not a factor you're looking at when choosing windows; thermal resistance is.

In a nutshell, stone, concrete, metal, and glass are very good at transmitting heat, so the inside of your house will quickly be as hot (or as cold) as the outside. Plastic, wood, and especially air are very bad at transmitting heat (or good resisting to heat transmission) and this is what you want for your house. Back to windows, multiple sheets of glass are only desirable because they have an air chamber inside. Three layers of glass mean two air chambers, each at its own temperature.
Capital gains tax in Sweden is 30% and property tax is around 0.75% IIRC. I don't think they are that low - they're higher than most of Europe in fact.

And VAT is a double-edged sword... It's the only tax that essentially nobody can avoid, and thus the only tax that also applies to people who are already wealthy and could otherwise live their life without paying any tax.
You have my attention re crackhead kids. Source?
Completely resonates with me, my time became more precious the older I got, playing a game for 20-40h with quests that feel like work, even worse, menial work (go here, gather that, bring it back) is just utterly unsatisfying and unfulfilling.

That also made me notice that, even though I played quite a few single-player games when I was younger, most of my fun with games was on multiplayer/competitive games, it could be a grind to get better but there was a practice and I could feel myself leveling up my skills and playing them better, some up to competitive levels. That's always been more satisfying to me.

Newer high budget single-player games (feels like in the past 10-15 years) also feel much more like an interactive movie than a proper game, I don't want to be clicking to interact with a movie, I like mechanics and figuring out the metagame, I realised that watching something unfold with some interactive action in-between is not really my kind of gaming.

For the last 10 years I've basically stopped playing videogames, my gaming nowadays is mostly getting together with some friends and playing tabletop, it's social, it's fun and you always get to see a different persona of the people you know.
Of course. That is pretty much a requirement for traditional dungeon family values.
The accusing people who are just getting on with their lives of manipulating their partners is also pretty tiring.

There actually are people studying non-monogamous relationship models out there so yes those experts do exist if you seek them out.

If your source is just "in my experience" that's fine, just make it clear that's what you are citing. Because otherwise it's just the same appeal to authority issue that you are accusing me of.
Recent research in England and Wales shows that conservatories, extensions and changing behaviour cancelled out any savings [1]

[1] https://amp.theguardian.com/environment/2023/jan/01/rebound-...
Sounds like you could enjoy being a security engineer and focus of identifying and addressing security vulnerabilities in sofware/systems. More problem solving, less engineering. Or maybe just go for a pet project with people you actually like, because the aversion to processes might just be a sign of bad management.
Different South African here, but I grew up in Durban and now live in Cape Town, with regular visits to Johannesburg (2-4 times a year). Single-glazing is used in all three by default, despite the climate being quite different in all cases. Durban is tropical; winter (we joke that it doesn't have one) is dry, and summers are wet, but its warm year-round. Temperatures can vary quite a bit between seasons in Joburg and Cape Town. Cape Town has a Mediterranean climate; summers are warm and windy, while winters are cold and wet, often getting to 7°C at night (it's a cloudless 25°C summers day today though). Joburg can get a little colder, although its a much more dry kind of cold.
>If you have a list with a NaN in it, how should you make sort terminate

Do whatever you want. If you're sorting floats, sort them to the front. Every language I've ever used for developing numerical software has a trivial IsNaN equivalent. So that's not a complaint worthy of claiming NaNs are not useful. I've written lots of numerical software and not once has this been an issue for me.

What value do you assign sqrt of a negative without some NaN type item? Or any of tons of other "not a number" results?

>so IEEE does technically make this hold, but only by redefining ==

There's no "redefining ==" here. You are upset that bit patterns are different, but == is not for bit patterns. You are confusing == for floats with == for bit patterns, which are not and need not be the same thing. I've never seen a language that gets these confused. If you want float ==, simply use language ==. If you want bitwise ==, then you usually have to do (often not portable) fiddling to convert to a bit pattern. It's like claiming reference == and structure field == should be the same, but both have uses. So languages have all sorts of ways to use the concept of equality, and they are all useful. Confusing them does not make the ones you don't like invalid or not extremely useful for people that do understand and use them.

>Yes. My day job is in solving Differential Algebraic equations, but I also have written a bunch of Julia's Libm.

Good. Then you should understand why, as an example, C++ std lib has a massive amount of functions like fma, expm1, log1p, hypot, and many more. Sure you can simply write log(1+x) instead of using log1p, but log1p is vastly better in this case because properties of IEEE 754 allow more precision. instead of hypot(x,y) you could write sqrt(xx+yy), but hypot is much better. These functions exist since IEEE provides tools to analyze these and make much better versions than the naive way to write them. Unums, with varying precision, make this vastly harder (and losing precision over the domain, making it hard to analyze anything).

So unums, with varying precision, violate fundamental properties for scientific computing, namely, they lose precision in really messy ways. You cannot start with P digits of precision and do even simple math and get an answer with P digits of precision. IEEE does allow this.

For example, sqrt(x^2)=|x| in IEEE (for no under/overflow). This does not work in unums, since they lose precision. Square something and lose digits. Fundamental to lots of scientific computation is the requirement to maintain precision throughout a calculation. Unums fail this spectacularly, making it incredibly messy to do correct scientific work.
Perfectly reasonable would be telling their existing API users “we will revoke your access to the APIs you are using and will introduce a new program where you have to pay a bit more to use them” with some kind of notice period that overlapped with the introduction of the new program.

What they did was suddenly yank access for a handful of apps then go silent for four days, before sending an email out to API users for (maybe?) a new program which we can’t be 100% sure was part of the plan or just an old scheduled mailer by a now-fired person. We are left guessing because nobody really knows what’s going on at Twitter any more.
AFAIU, Fortran acquired most of its bad reputation in the 60s and 70s. I think it was much more widespread than it is today. Then, as time went on, Fortran moved to the niche it was intended for originally (scientific computation) and was replaced by other languages for general purpose programming. Fortran continued to evolve, but few people got to see that, unless they cared to look. The rest of the world remembered the FORTRAN of old.
If they were actually competent the styling changes would have been caught/fixed with automation.
If they can’t set up linting and formatting as part of their CI…well I don’t think they have any right to call themselves senior.
Cmon now this was 20 years ago. Anyone involved in that decision is dead, retired, gone or has learned their lesson
I doubt it very much: cout is so bad (ever tried to display an hexadecimal number? Barf!) that in many case printf is used instead even though it isn't typesafe.
Which isn't so bad when you use a static checker in the CI, which you should anyway the C++ being so full of traps.
From the (in)famous Star Trek fan canon, "The United Federation Of Fuck It Hold My Beer I Got This"[0]:

> Also, they did turn that sun into a torus, and no one actually knows how.

I guess that's how you do it.

--

[0] - https://imgur.com/gallery/wpZ4w
How can you come to the conclusion that this is an "ad" for that "deno thing"? Is using a non-mainstream technology always an ad for it? What if there's no ulterior motive and they just prefer it?
> "Running floating point array kernels on CPU cores seems pointless"

This is true only for 32-bit or lower precision floating-point numbers.

For 64-bit or higher precision floating-point numbers, which are required for the bulk of the scientific computation applications, CPUs are much better than the modern GPUs.

In the latest generation of both NVIDIA and AMD "consumer" GPUs, the throughput ratio of FP64 vs. FP32 has been reduced to 1:64. This ensures that these GPUs have both a performance per dollar and a performance per watt that are worse than those of CPUs.

The "datacenter" GPUs have excellent performance per watt, but their immense prices ensure that these GPUs either have a performance per dollar that is worse than that of CPUs (except for those who buy hundreds or thousands, to be used 24/7, so the savings in power consumption can balance the high acquisition cost) or even when the performance is so high that the ratio performance/price is similar to CPUs, the magnitude of the price is so great that it is far outside the range that can be afforded by a small business or by an individual.

More than a decade ago, NVIDIA claimed continuously that the GPUs will completely replace the traditional CPUs for all high-volume computations. Nevertheless, they themselves are those who have prevented this from happening, by segmenting the GPU market and raising the price of the 64-bit GPUs by more than an order of magnitude.
This is a blog post that is trying to organise a thought and not quite managing it. There are too many threads and they aren't woven into something orderly or poetic.

There is an unfortunately high tolerance of obvious mistruths in politics and finance that could easily be mistaken for nihilism. But it isn't, it is usual lies by people who are powerful. Nothing new. Always been there. Now that the internet exists it is easier to see behind the curtain.
If two people are unhappy with each other, maybe drawing in third parties isn't a good idea.

I have no problems with such relationships. Certainly would never want to be in one and I don't believe they need state sanctions for anything. You can have the relationships you want and nobody stops you.

Maybe guardianship transferal could be made easier, but tax benefits for relationships should only be valid for people that actually have kids. It is also questionable for people in marriages that do not have them.
“RDNA3” Instruction Set Architecture Reference Guide [pdf]
Not in Europe, besides some old mountains huts.

It's always a very strange feeling when I see how in the american home-reconstruction TV shows they're tearing the walls and it's all wood.

Same case when I see the effects of hurricanes... it all feels very fragile comparing to what we have here.
You can't become a sovereign entity without territory on which you can enforce your norms. Amazon doesn't and (for the foreseeable future) won't have sovereign territory.
Ivory from the makers of Tweetbot. The project was started before the whole Twitter API fiasco started, but apparently they've had to accelerate the development of it now.
'It had just vanished' – the shock when tech fails
Some journalists managed to urge Airbnb handle refunding better
https://www.elliott.org/the-troubleshooter/cant-get-refund-a...
It allowed European to transfer/steal massive amounts of wealth from the rest of the world which in turn funded unparalleled investments into R&D. Eventually technological improvements (which according to some wouldn't have been possible without the transfers of wealth and labour into Europe) resulted in widespread (if uneven) net benefits to the entire global population.
It's not about arbitrary wishes anyway. It's about respecting people's remains and a decent burial, which are rather timeless values (if we look backwards in time) even if customs vary.
Does anyone actually use it? I’ve never even heard of this thing and I’m a professional Java dev
Almost all my double glazed windows have now failed and I'm looking at replacements, but my fear is that the failures are due to the amount of vibrations this house gets (I'm close to a busy road, every time a lorry goes past I can feel it in some rooms).
I think of it like this: every revolutionary change like this starts with a Wild West. We’ll drop the baggage…. It just may take some time.
Ask HN: Do you find it offensive when someone uses ChatGPT to respond to you?
I've just received an email that looked like an AI generated response and GPTZero confirmed this assumption. Not sure how I should feel about someone feeding our entire email conversation into ChatGPT to generate a response.
I have seen this too, but with the genders the other way around. She wanted variety, he did not, but because he wanted her he agreed, and died quietly inside.

I've also seen poly people who were all into it equally, with various partners, not all of whom were shared amongst each other, if you get my meaning. I think if everyone is into the idea ahead of time then it can work for those involved.

AFAICT it varies a lot, and while we shouldn't generalise about all poly relationships, I think it's fair to say that some are the suffering-in-silence kind. But then you can say that about most relationship types.
I'm not in Norway, but here in Finland I don't appreciate having nearly 30C indoors in the summer.
Could be "fixed" by disabling reflection.
State or religious marriage is a relationship with an authority. You can swear eternal loyalty to anyone and however many people you want to without any of that.

Primarily state marriage is about sharing privileges and duties before the law.
Things got weird out back for RWD vehicles with the advent of brake-based "electronic limited slip differentials". Now the rear brakes have to potentially soak up gobs of energy to prevent a one tire fire vs. an otherwise open diff.

I remember helping a friend do brakes on some blown rwd v8 AMG he had (sl55 perhaps?) and the rear brakes were just as beastly as the front in every way because of this.

Since the Tesla's don't have a motor per rear wheel I wouldn't be surprised if they similarly rely on the brakes for limited slip.

https://en.wikipedia.org/wiki/Limited-slip_differential#Elec...
They are now. Some of them weren't. Maybe it was a local error for me. Or maybe PEBCAK.

Anyway, cool blog. I'm reading it.