skysight-inc/HackerNews huggingface dataset:
coal prices in s/New Castle/newcastle/ -- what is this?? can someone say why the price of coal in bulk appears to have raised 3x in 2021? bonus for why that chart shows numbers in the future without apparent change in typesetting from current (real?) numbers
I would say it is an interesting fact, since it's this "good 'API boundary'" that, as you said, enables one to separate concerns, be it between different teams in an organisation or between a service provider and its users.

Yes, you don't need Kubernetes to come up with your own implicit or explicit API boundaries, and these might not be needed for smaller projects.
I agree that Kubernetes is often used where it's not strictly needed.

There are things which strict abstraction, and with it, separation of concerns provide. The crucial point is that certain things are enforced.
RTK base station and zed-f9p if you own the drones. Haven’t heard the best about the TDOA systems but ymmv.
This is the modus operanti from all Fortune 500 whose main business isn't shipping software, for them IT is a cost center.
And you might have missed how the cure for polio was rolled out so quickly.

https://www.npr.org/sections/health-shots/2021/05/03/9887569...

Marketing is a tool. It can be misused. It can also be used for good. In fact, now that I raise the point, I wonder why nobody's thought to use ad microtargeting for COVID-19 vaccine campaigns yet.

They probably have and I just haven't noticed, because when good marketing's working it tends to be invisibly transparent.

If I may: I think your larger problem is really that most product is crap, and marketing's job is to put product in front of people whether or not it's crap. Maybe we should be doing something about crap product instead of advertising of crap product?
Yes. Uematsu's music is part of my soul forever
Two thoughts.

1. If we know what a government can do when it’s not on “your side” whichever your side is, then why do most people on HN always want the “government to pass a law to do $x to private businesses” giving the government more power?

2. Exactly what does “being American mean”? I bet you dollars to donuts when you talk to your parents about the good old days, the story is different than talking to my parents who grew up in the segregated south.
I'm not a professional Java developer, but I work at a company that uses Java, so it just came with the territory to understand things about it, even though I've already had at least a basic grasp of it. I feel blessed that most of the code is mostly straightforward Core Java code (as opposed to any framework-level fun). It is treated a bit like a systems programming language. However, I can agree with this article. It's safely boring to me (despite the fact that having an IDE to write your boilerplate is still necessary for the sake of your fingers.)

Since not being a pro at it and not planning to be, I'd rather toy with other things. The job market is diverse in its technical needs. :)
I'm also voluntarily running uBlock Origin whose entire purpose is to sanitize their borderline malware code into something that I can actually consume. As you said, it's my computer and they really need to submit to my will instead of finding creative new ways to work around it like some malware developer.
Two other superpowers: (1) don't try to impress yourself or anyone else with the sophistication of your solutions, in fact do the opposite finding simple mechanisms that fit the problem. When you do this well, the solution looks simple, and makes the original problem seem much less hard. People don't do this because there's little credit to be had in a simple solution to a non-hard problem. Just keep in your own mind that it was a hard problem and finding that simple solution wasn't easy. With repeated practice, this means you can solve more difficult problems than others because you operate at a lower ratio of solution-complexity:problem-complexity. This is how you deal with intrinsic complexity rather than incidental. (2) Do not think procedurally (like a machine) in time steps. Think in invariants, decompose into independent logical partitions, ensure that logic is composable. When we say make code easy to 'reason about' we want to be able to, at each level, understand only what the subparts are doing, not how, and that those parts do not interfere with each other. If you repeat this at every level, you need to keep far less in your 'working memory' compared to problems that have deep implementations to keep in mind to understand and use properly. Related to this, relate the implementation structure to a conceptual model, and don't be compelled to make the conceptual model into concrete form, that tends to only add incidental complexity. People tend to do this because the conceptual model is cool and beautiful and would like to be able to show it, see it. Whenever you see a deep implementation stack that seems excessive and unnecessary there was probably a simpler implementation where each concept didn't have to be an explicit piece of architecture. Again this is very much less code, and less impressive to the unenlightened, but don't concern yourself with that, lose the ego (or rather feed it yourself instead of externally), only focus on solving hard problems with simple, underappreciated solutions.
Apparently it is now an eating disorder to eat in a way that makes you particularly healthy, as long as you obsess about it more than the author considers healthy. I have no doubt that people can develop serious neurosis around eating behavior. But to call that an eating disorder when the actual eating behavior is unusually healthy isn't right.

"Orthorexia nervosa" is "a proposed eating disorder characterized by an excessive preoccupation with eating healthy food." I'd argue that the "excessive preoccupation" part is the disorder, not the part where you eat an unusually healthy diet. That makes it, in an important way, the reverse of unhealthy eating behaviors like binging or purging.
Right, but then you have to explain to end-users why they need to escape an asterisk, or why they have to have their content on screen twice -- once in source and once in frustratingly flickering preview.

Personally I think it is our job as web developers not to encourage this for end users.

(Unless those end users are writing a book, in which case, definitely. Markdown as a source for Pandoc is fabulously better than a wordprocessor)
Show HN: Prisma Python – A fully typed ORM for Python
I created this ORM to fill a gap in the Python ecosystem. Due to the nature of typing in Python there are no other Python ORMs that can provide correct type hints. Prisma Python manages to work around this by auto-generating python types.

Aside from static type checking, providing type hints means that you will get autocomplete suggestions for you which for me is the killer feature for this ORM (see the GIF in the README for an example).

It's also built on top of Prisma, a next-generation ORM for TypeScript which means that the core query building and connection handling has been battle tested, getting around a potential concern with adopting a new ORM.

Prisma Python also supports PostgreSQL, SQLite, MongoDB, MariaDB and more!
I think those couples who are always in a satisfied state are a minority. As the article mentions, most relationships have ups and downs between satisfied and unsatisfied. So many with the people you know, you only are hearing about the unsatisfied times. So when I see those rates, I think is is those couples are in a "satisfied" zone 70% of the time.
A lot's changed in the 24 years since "Deep Crack".

https://en.wikipedia.org/wiki/EFF_DES_cracker

Maybe somebody interested in retro-crypto-computing could write a Deep Crack emulator for modern GPUs! All the specs and sources for the hardware and software are published in the free book "Cracking DES: Secrets of Encryption Research, Wiretap Politics, and Chip Design". I wonder how fast it could run now -- it would be cool to run it in browsers with WebGPU!

https://news.ycombinator.com/item?id=19916938

In 1998, the EFF and John Gilmore published the book about "Deep Crack" called "Cracking DES: Secrets of Encryption Research, Wiretap Politics, and Chip Design". But at the time, it would have been illegal to publish the code on a web site, or include a CDROM with the book publishing the "Deep Crack" DES cracker source code and VHDL in digital form.
https://en.wikipedia.org/wiki/EFF_DES_cracker

https://dl.packetstormsecurity.net/cracked/des/cracking-des....

>"We would like to publish this book in the same form, but we can't yet, until our court case succeeds in having this research censorship law overturned. Publishing a paper book's exact same information electronically is seriously illegal in the United States, if it contains cryptographic software. Even communicating it privately to a friend or colleague, who happens to not live in the United States, is considered by the government to be illegal in electronic form."

So to get around the export control laws that prohibited international distribution of DES source code on digital media like CDROMS, but not in written books (thanks to the First Amendment and the Paper Publishing Exception), they developed a system for printing the code and data on paper with checksums, with scripts for scanning, calibrating, validating and correcting the text.

The book had the call to action "Scan this book!" on the cover (undoubtedly a reference to Abby Hoffman's "Steal This book").

https://en.wikipedia.org/wiki/Steal_This_Book

[...]

aasasd on May 15, 2019 | prev | next [–]

Afaik Phil Zimmermann was one of the first to do it, in '95 through MIT Press—when his PGP circulated a bit too widely for the export regulations. However, the question of him being protected under the 1st wasn't decided in the court.
Try Winden.co
Communicate. Men tend to overweigh financial stability as a relationship factor.

When my wife and I met, my roommates were eating by shoplifting slimjims from across the street.

We’re more prosperous these days, but the guys I’m around complaining about their wives mostly consciously or unconsciously avoid them. You may not be having circus sex as a couple in your 50s, but some folks slow down on talking too, and that’s how marriages fail.
> Now all the minor clouds need to catch up is to add Managed Kubernetes and they are competitive with AWS.

On one axis, perhaps. This is patently absurd though.

"Minor" clouds still need a hypervisor and control plane, still need IAM, still need VPC-style networking, and still need load balancers and object storage to be technically competitive with AWS - just as a starting point.

All Kubernetes means here is that there is a common API style for these things.
I think communism requires society to operate in an unstable state away from its Nash equilibrium, so it needs a strong dictatorship to keep people coerced into working against their personal interests (even if that's ultimately better for them when everyone complies). If it was democratic, most individuals would see opportunities to do better for themselves one way or another if they had the opportunity, so they'd vote for more individual rights, and erode the communism. Either that, or people really like freedom of choice so much, they'll tolerate a worse quality of life in other areas (assuming communism leads to better quality of life).

With capitalism, the coercion to work is decentralized in the form of people promising to give you somebody else's work (money) if you do some work for them. Being decentralized makes a dictatorship unnecessary to sustain it.
I can't believe we keep on sending tons of CO2 in the atmosphere just to find special numbers...
Shape rotation is often used as a proxy for G.

The shapes generally progress in difficulty until they are deemed “impossible” for any human shape rotator to figure out.

If you reduce the problem to counting instead of shape rotation (3D matrix multiplication) many humans can “shape rotate” to impossibly high levels of IQ
I find any work exhausting
I'm not sure the two are in opposition although I do think the MD example in the article in questionable. (I get the point he's making but, while you're either an MD or not an MD to a significant degree--it's a rather different situation from pro football player vs. not pro football player.) Tournament jobs is another term I've seen used which are characterized by an excess of supply at the entry level.
You don't need a car for this. You can use trains and other means of transportation.

Take a look at other countries. Japan, Singapore, France with cities like Paris, Netherlands with cites like Amsterdam, which transformed from a car centric city in the 1950s to now a very lively city with lots of bikes and public transport.
With the prices going down thanks to the comoditization of offshoring, and everyone becomes another cog on the machine.
> I'm guessing the signals on railways are much more predictable.

Possibly, but it's mostly just a better system which works because railway lines are linear. On British railways at least (not sure about around the world), each signal informs the driver about the current state of the next two signals.

- Red (danger): absolutely do not enter the next piece of track (with serious consequences if breached),

- Single yellow (caution): the next signal is red,

- Double yellow (preliminary caution): the next signal is a single yellow,

- Green (clear): next signal is double yellow or green.

This way you can tell if you are catching up with the red and adjust speed accordingly (and I guess they would incorporate knowledge about the line, ie. if they know there is only one signal to the next station they wouldn't worry too much about a double orange).

I think the "smart motorway" variable speed limits are an attempt to implement this on the road. Unfortunately a large number of people think the temporary speed restrictions cause congestion and others think smart motorway simply means no hard shoulder.

You can't really treat current traffic signals like railways signals, but motorists would do well to learn to regulate their speed better and understand the concept of average speed.
One of the best intros to CRDTs and distributed editing by Jonathan Martin at NDC Oslo 2017: https://www.youtube.com/watch?v=pMMDVphop40
I really like Typora as it goes, I've used it myself, and I've begun to recommend it to people who are writing long-form documentation or books (because I like pandoc a lot).

I have not used Zettlr but I will look at it; thanks for the recommendation.

But I still think Markdown has little place in content management systems for end-users; it's obtuse.
> The best bike lanes resemble motor traffic lanes: straight and continuous with as few interruptions as possible.

This. 100% this. The county highways around where I live have a paved shoulder that is as wide as a full lane of traffic. I routinely cycle on that shoulder safely with cars zipping by me at 55-60 mph and no one gets angry about it.

But I do run into the bottom 1% of drivers occasionally (usually at intersections) who either simply do not see me, despite the fact I'm wearing fire-engine red kit and have flashing headlamp and taillight in broad daylight, or choose to ignore that I'm there and intentionally put me in danger.

There are a couple of longer-distance high-quality road cycling trails around here (one is ~50 miles long, the other is ~120 miles long) but they are an inconvenient distance away. The other park-style trails around here simply aren't meant for road cyclists, for reasons that you've noted already.
> It is important to be able to see who is currently the number 1, 2, 3 in the race.

So in addition to finding the current position of the racers you'll also need some history to determine where they are on the track. You'll also need to define the path of the track in order to determine the rank.
Remember that these financial controls are about limiting access to donations received from outside of Canada —- over half of the contributions to GiveSendGo were _not_ from Canadians.

Canada has the right (just as the US does) to limit foreign influence in its domestic affairs and its democratically elected government is exercising that right.
Indeed, it has a ring of "Hello, fellow youngsters" to it that Intel is even in this space. Maybe AMD and ARM has them thinking they're behind in other areas
> kernel developer community

This effort was funded in part by Google.
I thought he summed up the tone pretty well earlier in the article:

> Java is neither a good nor a bad language. It is a mediocre language, and there is no struggle.

To be more explicit - I think the point he is trying to make is that Java is not very powerful (in sense of expression), which has benefits (making it hard to fuck up badly) but at the cost of pushing the programmer towards mediocre, verbose and inefficient solutions (again due to lack of expressiveness, trying to come up with elegant and efficient solutions is too tiresome).

Perhaps it's the difference between a scalpel and a blunt club. You're not going to cut off your own fingers with the club, but you're not going to be able to perform brain surgery or fix someone's heart either. Not the best analogy because technically Java and any other language is turing complete, but they are not equal in how easy it is to coerce the machine into performing a particular computation, and expressing that humanly.
Erik Meijer has a great talk addressing this https://youtu.be/2u0sNRO-QKQ
Yes this is why anything to do with ai should be open source. It can be too powerful in the hands of bad actors.
Nix Flakes: An Introduction
Vim 9 will be dedicated to Sven Guckes
>boohoo, you only earn 70-80k EUR bruto. And you get to live in Europe as well?? You realize the average bruto salary in (west) Europe is around 20-30K EUR?

Have you looked at property prices in Western EU cities? Those salaries don't buy you anything decent. Meanwhile in places like the bigger cities in Texas, any skilled employee can pay off a big house in no-time.
Your comment made me think of a very difficult programming interview question: Can you copy STDIN to STDOUT in a non-blocking fashion? My point: The most trivial solutions assume that STDIN will give you all the data very quickly, then STDOUT will accept 100% "instantly". Using only Java, I don't know the solution off the top of my head. I will need to do a little bit of research.

However, using POSIX calls with C (select() and friends), yes, I could imagine a way to do it.

Deeper: Can you write a function to launch an external process then (a) write to its STDIN, (b) read from its STDOUT, (c) read from its STDERR -- all independently and without blocking? It's a hard problem!
> The ritual to compile, pack and flash super.img into the device is absurd.

I typically only do a full flash for the first build after a sync. Afterwards I just build the pieces I'm changing and use `adb sync` to push them to the device, skipping both the step that packs the image files and the flash. The `sync` target will build just the pieces needed for an `adb sync` if you don't know exactly what you need to build; I typically use it so I don't have to even think about which pieces I'm changing when rebuilding.

So typical flow goes something like:

```
// Rebase is only needed if I have existing local changes
> repo sync -j12 && repo rebase

// I don't actually use flashall, we have a tool internally that also handles bootloader upgrades, etc.
> m -j && fastboot flashall

// Hack hack hack... then:
> m -j sync && syncrestart
```

Where `syncrestart` is an alias for:

```
syncrestart () {
adb remount && adb shell stop && sleep 3 && adb sync && adb shell start
}
```

Incremental compiles while working on native code are ~10 seconds with this method. Working on framework Java code can be a couple minutes still because of the need to run metalava.
Ask HN: New web service idea that you would pay for?
Thread for ideas of a new web service or app solution, priced on a subscription model.

Which of your needs don't have a good solution yet?

For what app or web service are you ready to pay about 5-10$/month?
Couldn't you say that city planners are to blame for not providing enough supply to meet the demand?

Also, I wonder if maybe lots of people don't like existing hotels for some reason?

It seems the locals get forced out wherever demand vastly exceeds supply, like in the beach town where I used to live, where so many people want to visit and there just isn't enough housing/hotels for them. The locals are opposed to more housing, so inevitably prices goes up and they eventually turn into weekly rentals.
Especially annoying when reams of nonsense also gets 'unexpectedly' sprayed into the web browser of some poor sod using an enterprise app, just because Java is having a bad day. This seems to happen less than it used to a few years ago, so there is some progress going in in software engineering, somewhere.
Well, let's clarify two things. One is a fact. The other is an opinion.

He wouldn't be able to stop it. That's a fact. Diluting himself by taking loads of VC, subjecting himself to a money-driven Board. He just wouldn't be able to stop it.

You can argue he would have not pursued it, that he'd step out before his company became sort of an evil Facebook. My opinion is that the moment he accepted the fact above, it tells me he wouldn't step down. He'd profit from it. And later use the money for good causes to "compensate" and look good to society.

I accept he could have been an outlier, just don't think it's remotely likely.
Takes a bit more typing though unless you some macros dedicated to it.

Not hard to do but Markdown is easy to write anywhere.
Tether/Bitfinex has more than enough funds to back USDT, especially after the recent DOJ seizure.

Would I hold funds in USDT myself? No, I learned my lesson after losing 50k with Liberty Reserve.
Nobody wants to be blamed for something not being in the logs, probably in production. So everybody adds everything to the logs, you can always filter out the noise but not the reverse, right? And very soon the logs are completely unusable for your regular-dev cycle. Of course in java world, the IDE reigns, and checking logs is an "antipattern" anyways, you must use the fantastic debugging GUI that is provided by the behemoth. Everything is normal, you see.
> Nor does it seem like an amount that can make a dent in the energy consumption problem of Bitcoin mining.

If you make a dent in the energy consumption problem, doesn't the network automatically adjust to pop the dents out (increase the difficulty)?
Studios want profit.

When only superheroes or reboots are profitable, that's what they'll finance.

Not sure if Netflix and the other streamers work differently.
of course, the reason that's wrong is that if one drive fails you don't have a 56pb storage system, you have something smaller because of redundancy.

That redundancy, and the performance that scales due to it, place cloud services in an entirely different class from on prem servers.
Repetita Iuvant

they didn't drift

they already had it in their belly, *they simply hid it to take EU money and build their anti-democratic platforms*.

Money was the *most* important factor.

The anti-eu sentiment *was already there*

They simply did not have the money to lead, they were just some anti-communist nut.

Now they are uber rich nuts.

So yeah, in a way it was EU fault, because they invited them in and gave them a lot of money instead of leaving them in the good hands of uncle Putin.
Java: plentiful well paying jobs, good/great tools, good/great runtime. Personally, I like boring, predictable, "easy" (referring to low cognitive overhead of statically typed languages in general) for work, and save the fun stuff (lisp/scheme in my case) for personal projects.
Having kids is weird. I love them a lot, but I also severely miss my life and relationship with my wife from before I had them.