skysight-inc/HackerNews huggingface dataset:
I wonder why all these eink devices seem to be stuck on Android 11. Did google change something about bringing android to weird devices?
Now we just gotta combine Hacker Typer with GPT streaming a token of code on every key press.
> And it’s safe, which a country without a strong legal safety net and a lot of poverty arguably shouldn’t be. There’s no real urban crime.

Interesting, my outside view without any concrete data was that India is relatively unsafe.
> For nuclear power to be cost competitive with renewables an investment cost of 1.55 MEUR/MW must be achieved

Cost assumptions in table 2

Offshore wind 1.9M EUR/MW, 1.67% O&M, 30 year life at 0.51 capacity factor

Onshore wind 1.03M EUR/MW, 2.51% O&M, 30 year life at 0.37 capacity factor

Solar PV 0.6M EUR/MW, 1.50% O&M, 40 year life at 0.14 capacity factor

So they are claiming nuclear (which has a > 0.9 capacity factor in Finland, and 60 year life) needs to have an investment cost between onshore and offshore wind to make sense.

Due to energy system constraints, there might be reasons for down regulating the nuclear power stations, thus as an output the capacity factor might be lower than 90%, but never higher. The study allows for nuclear power to be down regulated to 25% of the maximum load in for instance hours with high wind and solar production.

So the authors decided that the non-dispatchable wind/solar has market priority over nuclear. Hence it is important to pack out the high nuclear scenario with renewables. Also note how the all renewables scenario adds biogas (presumably from all the pig slurry) to firm up demand along with 6GW of inter-connectors to friendly neighbours.

By way of contrast, https://liftoff.energy.gov/wp-content/uploads/2024/09/Nuclea... Page 5 forecasts a 37% reduction in costs when nuclear is part of the energy mix in California.

Edit :- Closer analysis of the high nuclear with district heating scenario (figure 4, in the supplementary material) reveals a total electrical demand of just under 10,000MW (unflexible + heating + transport). Note that the authors have chosen to represent nuclear as a continuous 6,686MW of power (rather than the nameplate capacity of 7,400MW).
As I read it, that's 100% wrong: Isn't the discussion precisely about using the distro-packaged version vs. having other versions statically linked?
Another thing I have come to recognise is the sheer population density that makes everything the way they are.

I won’t compare Indian city(Chennai where I was born) with most cities in US or most cities in Europe because they pale in comparison for people density. Just a wild comparison- take the touristy chaos of New York City - now, you see the pattern emerge on what happens if density gets higher - people stop following the rules, trash outside the bins, people becoming more self-centered and out for themselves, on guard for burglars, traffic chaos.. you get the point. It’s as if India is NYC on steroids _everywhere_.

When you have a 8 lane highway for the density of Europe and the US, sure following the rules is _easier_ and will become cultural over time. When you constantly have to fight for resources, it is the other way around. People get used to not following the rules because that is the only known way to get it to work.

It’s not straightforward as one can think..
This still feels like a poor idea. It is as if the manufacturer of the boards don't really know where the serial port is mapped or where the USB is, but 3 months later someone will fix a DTB that allows you to find it.

Noone would accept an x86 pc to not know itself well enough to hand you a list of its parts, but for some reason having to find the right mix of kernel, u-boot and DTB is considered "fine" for ARM boards, which I don't really understand.
You are of course right. However, there are two aspects of "write off your loss". Mental one, and a legal one. Unfortunately in our jurisdiction (Serbia), as soon as your company issues an invoice, it's counted as realized income for tax purposes. I've just opened this can of worms, but apparently you can delay that on-paper income if payment is late, but in the end you might need to sue the other party and get court documents to prove they can't pay.
There is a difference with nurses being that instead of being static, they will walk and move most of the day.

You can easily see the difference of walking through a city that you visit for a day, versus standing still for 3 hours in a concert hall.

It's like for the risk of thrombosis when you take an airplane, just standing regularly will not help that much. It is the body movement of walking that will enable blood circulation in the body.
It sounds like any one of those idealistic libertarian 'crypto island' projects that ends up just trying and failing to be a playground for rich people, instead of succeeding as a community project that takes the interests of people other than the investors in mind...
How is rand() broken? It seems to produce random-ish values, which is what it's for. It obviously doesn't produce cryptographically secure random values, but that's expected (and reflects other languages' equivalent functions). For a decently random integer that's quick to compute, rand() works just fine.
I would miss the in-order collects, actually collect/maximize/... features, destructuring of lists, direct type declarations, ...

I also find DO not easy to read and understand.

The code from above I would actually write in LOOP as

(loop for a from 1 upto 5
and b = 10 then (* b 1.5)
collect (* a b) into c
finally (return (list a b c)))

I find that to be readable.
I've been thinking a lot over the past year about the tradeoff between optimising systems and making them more robust, so I decided to write my thoughts down.

The takeaway is spelled out with the headlines:
1. Efficiency tends to increase fragility
2. The exception is when systems are constantly destabilised (evolution creates anti-fragile systems due to constant destabilising forces during optimisation)
3. Our society is increasingly stable, and efficient, and therefore also increasingly fragile. This should be a cause for concern.
Nothing to do with C++, but:

I kinda like the idea of 6-bit byte retro-microcomputer (resp. 24-bit, that would be a word). Because microcomputers typically deal with small number of objects (and prefer arrays to pointers), it would save memory.

VGA was 6-bit per color, you can have a readable alphabet in 6x4 bit matrix, you can stuff basic LISP or Forth language into 6-bit alphabet, and the original System/360 only had 24-bit addresses.

What's there not to love? 12MiB of memory, with independently addressable 6-bits, should be enough for anyone. And if it's not enough, you can naturally extend FAT-12 to FAT-24 for external storage. Or you can use 48-bit pointers, which are pretty much as useful as 64-bit pointers.
Nope! Because then you will also define an alias, and Suzy will define an alias, and Bob will define an alias, ...

We should all agree on int and uint; not some isize nonsense, and not bobint or suzyint.
I had the exact same reaction
Thanks for the hint about Knuth's literate programming! I hadn't heard about it before but it immediately looks great. (For those of us who hadn't heard about it before either, here is a link: https://en.wikipedia.org/wiki/Literate_programming)

About your other point: I have experienced exactly the same. It just seems impossible to instill the belief into most developers that readable tests lead to faster solving of bugs. And by the way, it makes tests more maintainable as well, just like readable code makes the code more maintainable anywhere else.
Thanks so much guys :)
Life is not a story
2checkout (used them in the past, switched again since last month). Some people recommend PayPro Global (don't misread it as PayPal like I did at first).
Not sure I follow. Have you seen UIViewRepresentable? You can turn a UIView into a SwiftUI view in 5 lines of code. If you need to move state there is a two way bridge you can choose to implement called a Coordinator. It is a blank protocol with zero obligations to fulfill and only exists as convenient a reference type simultaneously accessible by both the UIView and the SwiftUI parent.

I can’t imagine how it could be implemented more simply.

Even if you are rendering a complex chain of compute shaders with multistage heap fences onto a process shared IOSurfaceRef with several concurrent threads greedily realiasing your scratch buffer to queue up more work, it doesn’t matter. Eventually you’ll up with a UIView or CALayer and it’s still just one function call to bring it into SwiftUI.
Show HN: Feta – Better way to run stand-ups, retros and sync-ups
Nah, a byte is 8 bits.

This is a normative statement, not a descriptive statement.
There is a strong winners history effect driving your thinking here.

Marrying the wrong person and sticking with them does not make anyone happy. Some of us resist SOFA as late as our mid 40s on the basis that we made a promise, marriage is forever etc. it’s a massive mistake in almost every case. I know nobody who regrets a divorce and isn’t substantially happier after it.

If you have kids don’t blow up a relationship on a whim. But at the same time know that divorcing when kids are in their teens is absolutely no easier on them then when they are younger. In many ways my perspective is that it only makes life for the adults easier.
you probably have a condenser mic. dynamic mics should be 1-2 inches away from your audio source (think of a handheld mic)
Yes, it's blown out on cost, primarily because of tunnelling issues.

Your point about large amounts of storage and the network capacity etc is correct, however, no one "just assume[s] a infinite copper grid". AEMOs ISP includes transmission network upgrades to both connect Renewable Energy Zones (eg offshore and rural REZ in Victoria).

The problems of "baseload" disappearing both because of the age of the generators and the variability of RE because "always on" generation doesn't work well with variable generation has to be solved, but storage is growing now at the same sort of rate as generation, especially co-located solar/storage.

It is exceedingly rare for unexpected weather events lasting several days across the entire NEM. In fact, it has never occurred.
How do you end up at the point where someone calls you to say "the organ donor is still alive" and your answer is to "do it anyway" ? There's something more to this story, I refuse to believe someone would be THAT corporate.
> We pay the price by having a weaker economy, they pay the price by having less dignity in their life, but there is eventually balance.

It doesn't need to be black or white.

A country can have decent consumer protections without e.g. a tax policy that is hostile to startups. But many EU countries are seemingly uninterested in the latter — presumably because there are no votes in it.
This is an awesome guide, but with mix dialyzer taking that long I'm curious: are you caching your PLTs? And if so, why not?

I've worked on some pretty huge Elixir apps, and I've seen the dialyzer take that long on the first run, but once the PLTs are cached it usually takes only a minute or two even in GH Actions
Although some companies are trying to promote ARM hardware for gaming, current efforts still seem to be focused on mobile devices. Overall, the transformation of the traditional gaming market will take time, and more obvious changes may be seen in the next few generations of consoles.
They built a dumber clone of Stockfish, and they call it ‘zero’ for some reason. What is the meaning behind ‘zero’ anyways? It used to refer to zero-shot, but now it seems like it’s just a marketing term.
I think it's great advice, but the "finish rarely" part is maybe understated. The goal is to try as many things as possible, as quickly as possible in order to find your true calling. You'll stick with it once found.
I will send it again. It probably got lost in the high traffic volume of LKML last year.
I like it, you have the FEATHER cushions of the SOFA.

> I think both this and the article's "SOFA" are useful frameworks to deal with perfectionism.

I feel it's understated how perfectionism and fear of failure are two sides of the same issue.

SOFA "call it quits and win" vs FEATHER "get to the end and celebrate" ideas both fight against an internalised conscientiousness where a thing is only done right if it's thoroughly explored and completed in all dimensions. Which isn't normally possible or worth it IMHO.
There is massive confounding here. Think of the counterfactual — kids who live in a house with a failing relationship, or one where the adults can’t meet each other’s needs.

It’s not at all obvious this would be better, and none of the research suggests it’s better for kids for adults to stay in a troubled relationship. In fact the reverse - conflict in the home is a much stronger predictor of poor outcomes than divorce per se.
Internet Archive Services Update: 2024-10-17
Immigrating into the US is notoriously difficult. There is a ton of demand. The US does not do even a mediocre job of prioritizing this demand, but it feels like the argument “I’m a normal person so I didn’t think about this” is rooted in lala land. If I was trying to immigrate into any other country (let alone the US), I would immediately and primarily think about how marriage might impact the status of my application. It would literally be the first thing I’d think of.

Not saying it’s wrong to get married as you’re trying to immigrate into the most competitive country in the world, but you do assume responsibility that this might impact your application.
Here are a few other 6809 FP libraries:
https://gitlab.com/dfffffff/fpo9
https://github.com/spotlessmind1975/ugbasic/blob/main/ugbc/s...

If I remember correctly, the ROM of MO6/TO7 contain also a fast implementation, but I was not able to find a disassembly.
It's funny, you are asking what test names have to do with quality, and you proceed with mentioning a really bad test name, 'toTryToFitTheTestDescriptionIntoItsName', and (correctly) stating that this has zero benefit.

Just like normal code, test methods should indicate what they are doing. This will help you colleague when he's trying to fix the failing test when you're not around.
There are other ways of doing that of course which can be fine as well, such as describing the test case with some kind of meta data that the test framework supports.

But the problem that OP is talking about, is that many developers simply don't see the point of putting much effort into making tests readable. They won't give tests a readable name, they won't give it a readable description in metadata either.
Ok but that's exactly what it means when we say that clocks are ticking slower in a gravity well (after all you can implement a clock by bouncing light).

And this effect falls out directly from the warping of space-time described by general relativity

am I understanding correctly that you claim that the warping of space-time is just a mathematical trick and that the phenomena are better explained by just postulating they light slows down in a gravity well?
Rust is all about ring-fencing the scary parts in unsafe. A rust program that doesn't use unsafe, and only uses dependencies that are sound with respect to unsafe, is guaranteed to be fine. And it is very easy to write code without using unsafe. Unlike C, where code style that is guaranteed to be memory safe is nigh impossible.

The difficult bit with Rust is still the sound use of unsafe, but it is quite feasible to do that by hand. It does, sadly, require looking at the entire module that contains the unsafe code.
Something I really like about this technique is that I stay in complete control of what I expose to the model. If I don't want something fed into the model I omit it from the screen recording.
looking forward
Provided you don’t later conclude it’s an unsatisfying account of many fundamental questions for modern humans, and then need to leave a community or repress interesting and valid ideas.
Another gem in my graphics toolbox is edraw [1], an embedded vector drawing tool for Emacs. I use it to make quick sketches in Orgmode files, and it is highly recommended for any Emacs enthusiast.

[1] https://github.com/misohena/el-easydraw
You can do that in Java as well. Can't remember if it's exactly the same syntax
> Why don’t more places like this exist?

They do. They're called villages. What usually happens, though, is that they either grow to become cities, or people voluntarily migrate towards cities. The main reason is convenience. Few people want to do hard labor to sustain themselves or their community.

The author has a rosy vision of these places from childhood memories, but seems to be unaware of the work required to keep them running. Life won't just be yoga classes and board game nights.

But maybe I'm just bitter from seeing hippie communes discovered by city dwellers and marketed as ideal places to live, so good luck to them.
OpenAI just launched ChatGPT for Windows; it's coming for your office software
I agree with you, but I actually like UI/AppKit so I’m biased. The only “pure” SwiftUI components I trust are Button, Image, and Text. Everything else gets built out “old-school” and wrapped in a UIViewRep. It’s just so much easier that way.
SwiftUI Lists are half baked. Sheets and popovers feel like they were implemented by a stoned intern that thought it would be funny to troll everyone.
I assume it's 'zero' turns lookahead/search, i.e. only look at the current board state.
Unfortunatly trying to keep it on the downlow just serves to enable it. We have seen this in many communities that tries to hide wrongdoing. Dirty laundry needs to be aired.
With jest (Amonsts others), you can nest the statements. I find it really useful to describe what the tests are doing:

describe('The foo service', () => {

describe('When called with an array of strings', () => {

describe('And the bar API is down', () => {

it('pushes the values to a DLQ' () => {
// test here
})

it('logs the error somewhere' () => {
// test here
})

it('Returns a proper error message`, () => {
// test here
})
})
})
})

You could throw all those assertions into one test, but they’re probably cheap enough that performance won’t really take a hit. Even if there is a slight impact, I find the reduced cognitive load of not having to decipher the purpose of 'callbackSpyMock' to be a worthwhile trade-off.
Is Factorio HNs favourite game or is it Civ V?
The EU fining Apple is not a national security attack upon the US. When the United Fruit Company fell upon regulation from a democratically elected Guatemalan president the US was also not under national security attack.
This is an egoistical viewpoint, but if I want 8 bits in a byte I have plenty of choices anyway - Zig, Rust, D, you name it.
Should the need for another byte width come up, either for past or future architectures C and C++ are my only practical choice.

Sure, it is selfish to expect C and C++ do the dirty work, while more modern languages get away skimping on it. On the other hand I think especially C++ is doing itself a disservice trying to become a kind of half-baked Rust.
I don't know, but I have to say I was surprised how quickly this one took off, esp. given it's the middle of the night across the U.S. :)
It also affected eMacs compilation and the fix is in the trunk now.

Wow 11 years for such a banal minimal code trigger. I really don’t quiet understand how we can have the scale of infrastructure in operation when this kind of infrastructure software bugs exist. This is not just gcc. All the working castle of cards is an achievement by itself and also a reminder that good enough is all that is needed.

I also highly doubt you could get a 1 in 1000 developers to successfully debug this issue were it happening in the wild, and much smaller to actually fix it.
Factorio is much more like software development. Especially when you notice that your earlier assumptions were wrong and you need to refactor your base, tearing down all the stuff you build earlier.
Why Surgeons Are Wearing the Apple Vision Pro
Or something like Catala language - https://catala-lang.org/? Catala: A Programming Language for the Law - https://arxiv.org/abs/2103.03198
The actual C++/CUDA code is here:

https://gitlab.com/mebassett/quixotic-learning/-/tree/master...

about 1,000 LoC overall.
I saw that you are stringfying the dom and recreating the dom again inside your product. How does it work for webpages with cross origin iframes? In extension of that, how do you keep up with introduction of new dom elements that don’t get stringified easily (shadow dom / audio / canvas / dialog) ?
It's definitely all of them. Even HashMap uses unsafe.
Is slony some sort of language joke? Slon is czech (probably slavic in general) for elephant.

(which may be actually derived from the turkish aslan, for lion, but somehow the animal got mixed up)
And the fact that the dev has a weekly newsletter with dev updates, that helps

FFF (Factorio Friday Facts)

https://www.factorio.com/blog/post/fff-432
So, not using any currently conceivable (concretely) technology or economic model.
Inkscape has been a staple in my toolbox for decades. The only gripe I have is that it could have been a bit more stable at times.
> Good documentation is good as far as it aids understanding. This might be a side effect of tests, but I don't think it's their goal. A good test will catch breaks in behaviour, I'd never trade completeness for readability in tests, in docs it's the reverse.

The D language standard library uses both. When you generate the documentation from the comments attached to a declaration, the following unittests (they are identified using a special markup, (that is just triple slashes...) are also included.

Example once rendered [0], in the source you see the examples are actually unit tests [1].

[0]: https://dlang.org/phobos/std_algorithm_searching.html#.all

[1]: https://github.com/dlang/phobos/blob/master/std/algorithm/se...
He's right. I asked Microsoft Copilot what Salesforce does but it could not explain
I accidentally closed a very heavy door on my childhood cat and thought I killed it but it just bounced back and was perfectly fine.
Or you can have 8 bit bytes, and 3 byte words. That’s still 24 bits.
Factorio.

As a developer, I'd never thought I'd like to solve for getting off the planet, fighting monsters, building trains and tracks while trying not to pollute too much.
In any case, you might like https://docs.rust-embedded.org/book/

I've recently done a bit of work on Rust in something like embedded systems. Only instead of real hardware, we are running our software on Zero Knowledge VMs, ie on math.
As a regular Twitter user, I kinda disagree with this perception. Twitter has objectively become slower and more bugs have been introduced as well.
Tests and documentation are things that I'm increasingly using LLMs for. Writing exhaustive tests and documentation is somewhat tedious work. You do it to help others. Or if you are smart enough to realize it, your future self. But LLMs take the tedium away.

Example: I wrote a little fast api endpoint and realized that having some decent openapi documentation would be nice. Support for that is built in. So, copy paste into chat gpt, "add openapi documentation to these endpoints" paste it back. And then "write me an integration test that exercises these endpoints and tests all the exceptional responses". Simple stuff. But the point is that the generated documentation is pretty good and helpful. It's exhaustive. It documents all the essentials. I could sit down and do it manually for an hour. Or I could just generate it.

I also generated a README for the same project with instructions on how to setup all the tools and do all the key things (run tests, run a dev server, build a docker container, etc. The Dockerfile was generated too. Dockerfiles are also great as documentation artifacts because it precisely defines how to build and run your software.

LLMs are really good at documenting and summarizing things.
Today will be the last FFF before the expansion launches next week.