skysight-inc/HackerNews huggingface dataset:
> Nodejs worked because it was like this from day 1 but java isn’t.

And even there "worked" is a very liberal definition. Callbacks, promises and whatever else you can find will imho never be as intuitive as threads.
I'm not all to familiar with this kind of thing so I could be missing something, but what is a deadline without a deliverable? Surely "We will do something (literally "something", not a stand-in for X) and it will take a month" is worth nothing?
This "extrapolation" (that was very polite of you) is a blatant lie. Indeed fearmongering.
His comment bellies his clear ignorance to both the Java development process and Loom in particular. Such comments aren't unusual where Java is concerned, it's the one language where many are willfully ignorant (well PHP is also in contention).

Pay them no mind though. Java is already the premier server side language for serious work and this is just another tool in the toolbox, hopefully I will see less RxJava in my future. :)
If T=int32 and E=int32, does this behave like int32 | int32? If so, how can you tell which it is? (Presumably you have generic code that needs to know whether this case is T or E). If not, that's pretty surprising.
Imagine if India gets it shit together like China.
Yeah my question was less about work but personal computing. I agree you could just "keep a journal"... maybe it is a personal fetish/desire to have a computer that you can type things into/run an equation or something... it would be nice if technology still had a place wasn't this thing that was just forgotten because no one knows how to work it.

Probably have bigger problems like avoiding disease than a neat little 6502 or whatever.
Same in most other language layouts.

But I'm talking about the euro-layout, there are keys for ý, ä, ü, ö, é, .... All of these are 'western' special characters, no eastern europe (slavic language letters) or greek letters. So users of _these_ languages, need to use dead keys or some other method (I don't know to get greek letters with this layout) for at least some of their 'special' glyphs that are not, by chance, also used in another language (for slovak and czech that's for example ä, ú, á, é, ý and í).

https://eurkey.steffen.bruentjen.eu/pics/layout.png
Why would you fire the team? The software shows you how their estimates relates to real world timelines, just adjust their estimate accordingly and the problem is fixed.

I never understood why managers get so upset over consistent time under estimates, just track it and add the relevant factor without telling the team and it should on average be on point.
It was just yesterday. To sign in you need @clave, but to actually sign the document, you need AutoFirma, that's the java-based tool.
"what are the chances that at that very second, somebody else wants to buy precisely 273 shares of Facebook stock? Probably zero"
This is likely provably false. If you check the order books of Facebook, you almost certainly find buyers of Facebook during market hours that are not market makers. Would the spread be greater than 1 cent without the market markets, sure, but this statement is likely incorrect.
And many orders can be filled partially.
> I can see the point of where you get neither error nor result, but you can get that in both scenarios

No you can't? The whole point of a sum type is that it's definitely exactly one of a result or an error; the language will not let it be both or neither.
rust, nim, crystal, d
> That is completely absurd risk reward ratio to reject.

Not really. The impact of losing is "lose hundreds of thousands, be in debt for the next decade and have my work (and life in general) suffer", while still having to deal with having to then fight for access continuously.

The impact of winning was "losing hundreds of thousands, be in debt for a decade, and still have the risk of custody reversal in a future case".

The only winning move here is not to play[1] unless the odds are greatly in your favour - it's cheaper for the female so the female's impact in a win or a lose is substantially less.

Regardless of the risk/reward ratio, when 10 lawyers tell you not to bother, you'd be stupid to ignore their advice.

In any case, I still want to now where you got your statistics from.

[1] All I had to deal with after that was to enforce the contact. That took 3 court cases (luckily, all in my favour).
The US finally adopts a national recycling strategy
I'm not so sure of that.

If they trained Writers/Journalists better: I might pay.

We want concise researched writing.

Instead of offering me $1 a month, maybe work on better articles?

And yes, I know it's not a simple problem.

I just know, "Try us free for a few months?" is not working for me.

Make the content so valuable people won't look for ways to get around paying.

If I was head honcho, the hiring of Writers/Journalists would be different. Hire an federal prisoner to write about White Collar crime.

Hire a homeless person to write about misery.

Forget about Resumes, and Ivy League schools. Take a chance on a new hire. They might suprise you.

(I didn't mean this to sound preachy. I just never met a wealthy person who was a good Writer, other than when they were poor staring out. I left out Journalists, but feel the same way basically.)
> You know, the kind of code where you have to communicate with some outside device and it is easy to do blockingly but devolves to state machine madness if you need to do other things concurrently.

Speaking personally, I've found Lua's coroutines to have the nicest experience for modeling flows like that. The big issue with async/await is the function color problem [0] -- writing async functions is perfectly fine, but mixing them with non-async functions can be extremely frustrating. Especially if you're doing anything with higher-order functions.

[0] https://journal.stuffwithstuff.com/2015/02/01/what-color-is-...
Industrial countries of modern age are also China and India and most of countries that are manufacturing goods for export.

If China is "exploiting" DRC, it clearly is not going to pay for trees, that it can't get. Prosperous countries can give money to save some tress and locals will accept it and will also sell the tree to China - that's double profit ftw!

DRC is not governed by colonizers and is doing this on their free will. My people were oppressed by Russian Empire longer than DRC was colonized by Europeans and when they gained freedom, they in short time gained prosperity.
It is an insult to the Congolese people, to consider them unable to think for themselves and make their own choices and sacrifices for their better future and that someone from US, who is not living in DRC has better understanding what is best for them.

Trees are not only producing oxygen, but they are also consuming it, so in total oxygen production value of trees around equatorial regions is 0. Threes might produce more oxygen further away from equator, only where days are longer, but they have never been a reason why on this planet there is an oxygen.

https://www.nationalgeographic.com/environment/article/why-a...
Good Job we don’t all work for one company
To be fair there is the new Kotlin based wiring API which avoids that with the caveat you need to instantiate everything manually etc. Which is probably a decent tradeoff for some folks.
I just went through this, like... today.

"Tell me what date task X will occur on." -- where task 'X' takes 5 minutes, but has a long list of pre-requisites that take 1-4 weeks each, sequentially, of which 100% our out of our control.

...

That's not planning, that's fortune-telling. You may as well ask an Ouija board.

Planning is making sure the the pre-requisites happen before you attempt to start the things that depend on them. It is making sure that everyone is unblocked. It is making sure that nobody is wasting time going down a dead end. It is making sure that everyone is rowing in the same direction.

What I see from PMs is that they just want facts from the future, instead of solving problems in the here and now.

Until today, weeks into the project, I could not access the system that I needed. This was the key pre-requisite for 4x FTEs progressing on their own tasks.

The only thing the PM did is repeatedly ask me if he needed to move the date for the completion ETA.

I solved the problem. He did nothing to expedite progress.

Does it really matter which specific date this occurred on? No. It just had to happen as soon as possible. The trick is to make it possible, not to try to pin down exactly when "soon" will occur by repeatedly asking the same question in every daily stand up.

Why do we pay these people, again? Remind me?
Stand News article on the Amnesty HK attack: https://www.thestandnews.com/international/ab%E5%9C%8B%E5%AE....
Jetbrains already announced that they will be making use of this in their coroutines implementation on the JVM (they have native and js implementations as well). So, in practical terms, very little will change for Kotlin users except they gain a few additional ways to configure a co routine scope with a virtual thread pool instead of a real one when using the latest JDK that will have this. I imagine they might make using virtual threads the default for the so-called Main CoroutineScope on the JVM. Right now that would be a single native thread. So, every time you call launch or async, it might be backed by a virtual thread.

Virtual Threads are a somewhat lower level primitive than what co-routines provide. It will allow other frameworks on the JVM to integrate and benefit from it in a similar way. E.g. Vert.x, RX Java, Spring's Flux, etc. Probably using this directly is not a great idea as there are so many nice frameworks to choose from already that will protect you from doing silly things. But it is nice to have a good implementation of this built into the JVM.

Kotlin's co-routines is somewhat unique in how it can work with and seamlessly integrate code written for other concurrency and asynchronous frameworks. So technically, this is just yet another thing that they can work with. If it has something that resembles a callback, a promise, a future, etc. you simply wrap it with a suspendCoRoutine and the resulting function is a nice suspending kotlin co-routine friendly function. Kotlin's co-routine library ships with extension functions for Spring Flux, RX Java, and a few more things and it is easy to write your own ones. It's a great way of taking away the pain of using those frameworks directly. In the browser, you have similar extension functions on javascript promises, and so on.

I've been doing a lot of Browser UI programming using Kotlin JS lately. Co-routines are very nice for that. Works very similar to how I use them with Spring Boot to implement non blocking APIs. We actually share a lot of kotlin code between client and server.
Lots in here to read through, but i want to interject for a moment about this line:

States such as Australia and New Zealand paid a heavy price for misunderstanding what exactly worked and did not work against Covid-19.

Suddenly, with the onset of the Delta variant, the boasting about superior national lockdown policy and execution has ended.
(about Australia's lockdown policy being ineffective).

There were two states that got the lockdown policy wrong, New South Wales and Victoria. Other states managed to wipe out coronavirus and remain virus free. the key for the successful states was to lock down early, when case numbers were still small and manageable. Locking down late (and exiting/easing lockdowns before you hit zero cases is how oyu end up with the nightmare that NSW and Victoria have lived through for the past year.

This seems like useless information in hindsight but it may come in handy if we find ourselves faced with another deadly transmissible disease in future.
I feel like this is going to break many IoT devices (definitely my ones) and I wouldn't be surprised if it's a move to push more developers towards integrating with GoogleHomeSpyware™.

Since there's still no mdns (resolution of .local domains) in android nor in chromium despite long standing feature requests, workaround I (a hobbyist) and likely other IoT devs chose chose was to host a small website that would brute-force check local ip ranges until the IoT device was found. At least for now I have another reason to transfer hypertext securely but I've honestly no idea for future workaround (other than a large banner saying "install firefox")
Even if macros are good, they can be overused (like C++ template metaprogramming).
I have half a dozen websites that have been running without maintenance for the last 5+ years.
Binger? Is that you?
They plan. You know, estimate what and how much people would buy and stock accordingly. Pretty advanced stuff!
In theory 8 bits on 128 is way better than 2 per 16 a it allows to use a better error correction code. This all due to Shannon theorem on noisy channels.

The problem is that this assumes that a probability of flipping individual bit is independent from others. But this may not be the case. And if so rowhummer is possible.
The law of large number works well for some things (say, shoe sizes) and fails to work for others (e.g. income distributions, which follow a power-law).

So it's not odd at all that it would fail to adequately account for people. It's just sad we don't have anything better. Can't we find something better?
I love reading Julia's work as there's such a refreshing lack of pretention about what she does and does not know.

Useful and clear. Love it!
I/O from JNI is very rare in JVM world. I think the most common cases are going to be really CPU intensive libs like compression and encryption implementations. But yeah, just run these on a native thread pool (which you should probably do anyway).
they wouldn't gain leverage if their force just wasn't that great and it all would be just a bluff. I mean, if someone on HN knows that the US government would know that, too. I think what they demonstrate is unpredictability and trigger happiness. people keep their hands of others if they might go off easily.
> How can you know that half the things I can represent are wrong? There are many situations where both returning a value and not returning a value are both valid. And where errors conditions may not dictate what the returned value should be.

In cases where it's valid, you use a type that makes it valid. Much of the point of having a type system is that the return type tells you exactly what the valid things for the function to return are.

Having an explicit declaration of which functions might return both a result and an error and which functions will definitely return one or the other but not both makes your code easier to understand and work with. As it stands, I would bet that most Go programmers ignore the possibility of returning both a result and an error even in functions that do it deliberately, because the idiomatic thing a function with that signature does is return one or the other but not both.
I think corporations have to deal with the issue that their content control is seen as a conspiracy to be honest. Might not be objective, but it is a problem of their own making.
this does not fulfill the requirement of her:
'I could fix them when they break'
The recent A-SAT tests make it clear that there is a strong asymmetry: One single actor can make LEO very dangerous or unusable for the rest of the world.

It's a condition that terrorists love.

There's an argument to be made that A-SAT tests are terrorist acts (perhaps unless in very low orbit with decays of a few days - even then some debris is likely to reach a higher orbit)
Multithreading isn't synonymous with concurrency.

Java was one step along the way, but let's say it had adequate representation of heavy-handed tools we already had in C/C++ that made some forms of concurrency somewhat easier. But it was still some ways from promoting concurrency in that threads were pretty costly and you still depended on locking to move state between threads. And it isn't like CSP hadn't been thought of.

After about 20 years of programming Java and 5-6 years programming Go I wouldn't really list concurrency as a main feature of Java. Because you kind of go at it the way you go at it in C/C++. I think someone who has programmed (for instance) Erlang would feel much the same way.
> Not bothering to file because of a 3/5 chance of losing seems crazy. It's actually pretty hard to tell 60/40 apart from 50/50, especially if there's lots of covariates.

It only seems like that because you're looking at the raw numbers. When you look at the actual stakes, it's quite different.

Let's say we play a coin-toss game: Each time I win the toss, I give you $1. Each time you win the toss, you give me $100.

Would you play? Think it's not fair? Okay, lets make it fair.

Each time you win, you win $1m. Each time you lose, you pay $1m. Would you play against me (I'm not rich)? Would you agree to play against Bill Gates/Jeff Bezos/etc?

It's not just the odds that matters, it's the fact t, even on even odds, in some cases you stand to lose much more than the opposing side.
Threads as an API have proven themselves over and over to be unfit for human usage (regardless of whether they're M:N or 1:1), and higher-level async libraries have already had M:N scheduling for years. This helps absolutely nobody.

Why does Oracle keep throwing money down this pit?
That'll just make more debris spread out over a larger area. Things don't literally get vaporized, unless you're talking megaton nuclear explosions.
I wouldn't be surprised if Bezos owned those ideas.
And those films come from (well, are inspired by) the old fairy tales.
The claw clip hairstyle is more than a ’90s trend
That just causes it to become even more fragmented. Like, is there a solution that will map well to all three/four platforms? Highly doubt.
They already tried with G5. May be they can try again?
Good point there. We tend to forget that Hitler took notes from Mussolini, and not the other way around.
>Safari was slow to support the `gap` property for Flexbox and still doesn't support it for multi-column layout (e.g. `column-count: 2;`).

https://caniuse.com/?search=column-count

??
Doesn't seem related though, since if you ran a public server from home, that server would appear through your public facing "Internet" IP rather than its intranet address.

It might make some homelab setups slightly more annoying, though.

FWIW, I do the same as the article for my home network: I hijack all DNS requests from intranet devices and respond with corresponding intranet IPs. Externally on the internet trying to resolve those same (sub-)domains would lead to the public facing firewall.

This makes it so I can manage stuff like NASes and IoT stuff fairly easily regardless of where I'm connecting from.

Luckily none of my stuff really depends on making cross-boundary requests between intranet and internet services (it's always completely internal or external) so I should still be OK.
I think the worst of all cognitive biases which humans suffer from is the belief that observations about collectives can be usefully applied to individuals. How much faulty thinking, from racism and sexism onwards, stems from this simple category error?
Me as well, specially as Professional Engineer, I can't really see the value of those pseudo-engineering titles.
Youtube gets their content free of costs and sometimes they ban that content like these live streams. I think banning something is a pretty decisive form of criticism.
mbas see whatever they see for whatever reasons they do. it’s usually posturing and signaling to other mba types, often with delusions of grandeur and napoleon complex, not height based.
Yeah why do people have this view on programmers I just don't understand, every other single effing job in the world requires training and ramp-up, except programmers? And the fact that programming is depending on a unique pre-existing really complex code base further speaks against this.

When my product owner quit, the new guy was working in parallel for 2 months to learn the ropes, noboby bats an eye, but a programmer is productive from day zero and all programmers have exactly the same output. It's so wrong
While I understand the narrative and expect that to apply to civilian deaths caused by military action in general (indeed not just those caused by the American armed forces), airliners in particular are very well accounted for; all the world militaries’ combined civilian aircraft fatal mistakes are, I think, just a subset of those cases where we didn’t even find the black box.
There's also Anytype.io, though it's still in closed invitation-only alpha and the promise they will open source it in the future.
Akiflow (YC S20) Is Hiring
Vulkan! Compute! Shaders!

I hate compute-specific APIs so much. Use Vulkan!
I prefer Kotlin for a number of reasons but still use Java heavily as it's still a better choice in many places. I think this will be of massive benefit to both languages. Kotlin coroutines will probably be mostly relegated to multiplatform and JS backends but that is fine, server side Kotlin will take full advantage of virtual threads. :D
Notion team is true to their product all the way. Even using it as their blog.
Well said and Insightful.
"Who can run at the top of their ability? Right. A short distance runner. You can’t run far at that speed. We programmers have figured out how to fix that, though. We just fire the start pistol every hundred yards and call it a new sprint!"

Rich Hickey

https://www.youtube.com/watch?v=SxdOUGdseq4
Not every problem is solved with an array, list or linear search.

Another one, distributed systems are hard to get right.
Elements of AI
The sizes of current CPU caches is enough to run a lot of code…
And Rider is not just Rider, it's based on the IntelliJ platform that can also support multiple different languages, including C++, Python, Java and so on.
In that case, I started with microcomputers in the 1980s, and my development environment isn't that much different now than in the 1990s - emacs, terminal, and a web browser.

I could revert to Usenet days, which supports intermittent data transfers and doesn't require high connectivity.
> SECDED requires 39. I don't know if the 40th bit is used for anything?

FWIW this is completely up to the CPU. "Classical" ECC is completely transparent to the DIMM, it just remembers and returns what the CPU gave to it.

32 → 40 has already been around for quite some time (particularly when the DDR controller only has 64 data lines but you still want ECC you can sometimes do 32+8 at half performance & max capacity) but I don't see anything beyond SECDED in the datasheets... (looked through some Freescale/NXP PowerPC bits)
> Given the widely perceived bias against men, one would expect only the men with the strongest cases to try for custody, and you would expect them to have better outcomes than average men.

Actually, even on close-to-even odds, men don't try anyway (losing has a much larger effect if you're a man). See my response in this thread elsewhere for why I declined to fight when my estimated odds were 3/5.
Well, he became 10x in the domain, and the other did not become 10x, it's not like he was born with this knowledge, he just took it more seriously and went deeper
if you ping a server next to you from your laptop, the packet might still go via a different city. same principle.
I really enjoyed https://overreacted.io
Great read, kudos for using strace to understand what esbuild does! I should do that more often.

This is another reason to favor small and simple tools that do one thing: you can “take it apart” and understand it by using another simple tool. (Simple in a relative sense, e.g. compared to Webpack).

By the way for those who don’t know what strace is, it’s a command line utility that prints out system calls of another process, like opening files or network connections.
It doesn’t block, that’s the whole point. The runtime knows if a given method is blocking or not and under the hood even blocking IO calls are implemented with non-blocking IOs. So those can be preempted.
Scheme at a Glance