skysight-inc/HackerNews huggingface dataset:
> Java has null in it, all object references can be null, and it’s too late for that to change.

At Facebook I used Hack, which is a fork of PHP. They've spent a ton of time on the type system to the point where I'd argue it's very good. One of the best things is that nullability is built into the type system so for:

vec<?string> $a; // alows nulls
vec<string> $b; // does not allow nulls
function foo(string $s) {... }

you get:

$a = $b; // this is OK
$b = $a; // error
$b = Vec\filter_nulls($a); // OK
foo($a[1]); // OK
foo($b[1]); // error
if ($b[1] is nonnull) {
func($b[1]); // in this block the type is 'string' so this is OK
}
func($b[1] as string); // OK but throws a runtime error if it's null

I was surprised just how useful these seantics are and how many errors could be avoided this way in annotated code (there are an ever-dwindling number of corners of the FB code base that aren't property typed).

Like Java, this operates on type erasure at runtime so there are limits to the protection. I hope other languages with less advanced type systems (and I include Java when I say that) adopt nullability as a first class type concept.

There's a lot of talk here about dependency injection. This was a big innovation in Java 20+ years ago. For some reason no other language seems to collectively wring its hand about DI quite like Java does.

Java does suffer from a lack of duck typing, hence all these typically one use interfaces get created. It also has other issues (eg you can't make your own class that'll be a snap--in string replacement). Guice I consider to be a form of torture.

Maybe it's time Java decides to stop rigidly solving a prroblem no one else seems to have. Maybe that part of a cultural problem.

As for the "enterprise" problem, is that specific to J2EE? Is that still a thing? Or is just the consequences of the patterns J2EE promoted that still propagate (eg rigid DI)?

It's generally better to have some structure rather than none, even if it's a bad structure. Maybe I just don't travel in the circles where you see a lot of bad Java enterprise code?

Java has warts but the runtime maturity in particular is still world-class. I wish Google had bought Sun back in the day (I bet Google does too given the costs and consequences of the lawsuits) but Java continues to plod along and get better without getting massively complicated (I'm looking at you C++) so it all seems mostly fine.
I have a client that wants me to work only on their official locked down laptop, which I do. But it has a terrible camera and microphone, so I use my own better gear.

It made a huge difference in the quality of life of all my coworkers with which I spend hours peer coding or in conf calls.

It's also better for myself, as my client takes me more seriously because in a meeting, as I'm the only one with good sound and image.

Were I to use only approved hardware, I would not be able to make our work life better.
You can’t change code either in Java — annotation processors are explicitly unable to do that — Spring’s magic works through loading new classes up that either implement the same static interface you use, or extending the class, and injecting this new proxy instead.

In short, if you want to log certain methods at enter and exit time with AOP (not manually adding it everywhere), you just create a proxy object and do a logEnter(); targetedObj.method(); logExit();

That’s why some people dislike Lombok as that actually changes byte code at compile time.
OK, we'll merge that one hither.
You should look at Susan Rigetti's post - https://www.susanrigetti.com/physics
The very idea that FP programmers don’t understand OOP is absurd on its face. You point to an undergraduate CS program that is teaching FP before imperative and OOP paradigms; you find me an FP zealot who hasn’t written more OOP than FP code.
This is a nonsense “reverse racism” argument rehashed to be about programming paradigms, and I won’t stand for it.
Tillitis Key’s design encourages developers to experiment with new security key applications and models in a way that makes adoption easier and less risky for end-users.

You can read more on tillitis.se or in the comment I made below.

Tillitis Key will allow you to chain-load applications. This means that you could have a thin loader which does code signing verification of the next application stage, and hand off the secret to it. Basically it's a trust policy that defines under what circumstances the next application stage gets the secret.

Another trust policy the loader could have is requiring m-of-n code signatures, or perhaps that as well as transparency log inclusion. Check out sigsum.org.
I use it basically as the beginning of a pipe, where I want to process, for example, a String, but I have to start the pipe with an IO String.

Simplest example, I have would be to read something from a file and apply some function `f :: String -> String` to the contents of the file, and return an IO String again. Let's say that overarching function is called readFileAndProcess, then it could be defined like

`readFileAndProcess :: (String-> String) -> String -> IO String`

`readFileAndProcess f fileName = putStrLn . f <=< (readFile fileName)`
stripe integration is pretty smooth

the only annoyance is vat taxes / sales tax

I moved from stripe to paddle to avoid that pain
2020, 84 comments https://news.ycombinator.com/item?id=25550685

2019, 33 comments https://news.ycombinator.com/item?id=20380055

2017, 21 comments https://news.ycombinator.com/item?id=15002683

2014, 16 comments https://news.ycombinator.com/item?id=8282923
How to implement test automation for your hardware product?
Comments moved to https://news.ycombinator.com/item?id=32896580, which was posted a bit earlier.
Thought of that keyboard made me laugh. Mine was a BBC Master btw!
> You sound like someone from the 90's dismissing Linux.

Software seems to be very different from hardware. How would a company like Red Hat, Canonical or basically almost every enterprise company which primarily relies on Linux/OSS/GNU products make money from RISC-V? The cost of entry is much higher and there is no clear way of building a business around open source RISC-V (yet)

> The bottom line is that ARM represents vendor lock-in and broken market with only one seller

Yes. But why would anyone who which was capable of building a high-end RISC-V core give their design away for free? Unless there is a clear incentive for them to do that it’s objectively worse than the current situation where anyone can license a high-end CPU design from ARM.

> like Apple did for user machines) but it's certain it won't choose the ARM arch

Right, except in the one case where they did choose ARM?

> that would make no sense

Why? As long as the cost of designing such a processor remains very high, there are no open source designs available and it’s cheaper to build on top of what ARM than build it from scratch it makes perfect sense.

I mean in principle I agree with you. It would be great if CPU design was open source, anyone could take a high end core design improve on top of it and then share their changes with everyone but I don’t see a clear path to that. Instead companies might just take what they can from the OSS community and contribute nothing back. ARM seems like a somewhat decent but far from perfect solution for this (as long as it remains independent)
(fyi — Firefox reader mode works)

> Companies that relied on a “last hired, first fired” approach to layoffs for example, lost nearly 19% of their share of white women in management and 14% of their share of Asian men, according to report which was published in the Harvard Business Review.

So this is a good point. Especially if a company made a ton of recent strides in advertising hiring in disadvantaged communities, cuts based on recency of employment would largely unwind a lot of that progress. And I expect randomizing it risks cutting employees the company actually wants to keep.

I hope twilio publishes their method e.g with HBR later on. It'll either be a good example to learn from and/or fodder for misguided lawsuits, but I hope we get to see their solution to the problem.
> One of these days I’ll find out what the heck is a “bean”.

It does indeed show a confusing lack of Java knowledge.

It is quiet strange that this tidbit was in it, as I'm not sure how it's even possible to not know what a bean is if they've ever worked with the language for any amount of time.

Unless it was meant as a sarcastic remark as the term is sometimes used to express what they enable (eg. singleton services) vs what they are
> Today a DC Metro ride is uncivilized

This is quite the exaggeration. I use the DC metro multiple times a week (but no longer daily). I also prefer to use public transit while traveling. The ride is similar to elsewhere in the US and about 50% of abroad systems.
Related: https://mullvad.net/en/blog/2022/9/19/mullvad-creates-a-hard...

(via https://news.ycombinator.com/item?id=32896658, but we merged that thread hither)
No, but it should not be intentionally obfuscated either; there's a middle ground.

But it should be simplified if it's intended to be read and comprehended by the general public. This is an issue now with terms of service and contracts, to the point where people who cannot comprehend the language are being exploited.
The big problem it seems like is Windows Vista dropped legacy support drivers and 16-bit support fifteen years ago, and Windows 10 dropped even more legacy support drivers. So they keep the ThinkPads around because they can't find the drivers for some things anymore. I've run into that a few times, where old drivers were made specifically for DOS 7/8 or even DOS 6 to interface with custom fabricated CNC machines or injection mould machines. In the end the company that originally created those few hundred units no longer exists, and nobody has the floppies that held the original drivers or software. So you keep cloning the drives for when they fail and hoping there's enough near-spec hardware spares to hold out until a total system replacement.
You sir, deserve a cookie!

I can't thank you enough for pointing this out. Now (finally) my scrolling is acceptable on Fedora 36.

See https://www.reddit.com/r/Fedora/comments/qn0o9w/adjust_touch... for some further fedora specific instructions, but also read the instructions of the repository.

Do you also know a possibility to stop inertial/kinetic scrolling on two-finger-tap / rightclick? (left click works, but since I scroll with two fingers, it would feel much more natural on rightclick)
FTR SoloKeys targets FIDO2, not just U2F
"Humanities teach you that life isn't a ROI thing."

One could possibly acquire that particular knowledge for free.

Also, life may not be a ROI thing, but being heavily indebted is still misery. Do the teachers whose salaries depend on their students being heavily indebted teach that, or do they prefer not to talk about this issue? Or the administrators?

I would call it a material (and painful) lesson on conflicts of interest.
This is because the fido2 libraries follows a lot of defacto standardisation: either to match yubikey or windows hello as the only real implementations in the wild. Fido2 ctap extensions would support all the use cases of the new device except you won't be able to use them e.g. in windows because vendors are ignorant about all the openess to push their own agenda.
It's the same as "Google Authenticator" being used instead of TOTP. I think it's reasonable for apps' documentation to meet users on their turf to aid understanding.
Open Source Plus RPA Cloud Orchestration – New Version of Maestro
this assumes that you’re making a lesser hire and that a parallel skill level hire of a minority isn’t possible
Reader mode in Firefox works around it.
> not in creating reliable, secure and easily maintainable software

Every online banking system I've encountered (4+) was built in Java. None of them have been breached.

Please cite a counter reference
This is the difference. The government backs educational loans and sets different rules that mean the creditor is almost guaranteed never to lose money. If there was no government guarantee, creditors would offer fewer loans to people they didn't expect to be able to pay them back.
Twitter is one of the worst places I've ever visited. In general makes me feel bad after just reading 1 to 3 tweets.

It thrives on snarkiness, rage, anger and outrage.

Even though there are some gems in the mud. In this case it would be best to shut it down and start over.
I think you've misunderstood the suggestion. "excellent instructors at the most critical time of higher education" is a reference to the two years you would spend at a full university after knocking out a bunch of credits at a community college. This would allow you to save around half the cost, while still having a name-brand degree and top professors for your higher-level classes.
The P800 was not a proper Symbian phone? I thought it was one of the flagship Symbian phones back then.
Entitled fans, yes. You can still like something without being obnoxious though.
Why reuse the horrible name microsoft uses to describe using a VM?

I'm loosing hope for anything tech related these days, just bad and concerning
Extending $100k to an 18 year old in general ought to be rethought.
Civilian T-38 Pilot: a Dream Job
I would rather use my long life expectancy to build a passive income through investments and retire for several decades. Something about having a longer life expectancy requiring a longer time in the workforce rubs me the wrong way.
A college degree is a financial decision that has a benefit which should outweigh its cost. If it does not outweigh its cost (both in time and money spent), then you should be doing something else. All college degrees are not equal, whether or not they cost the same. Their cost being the same is the only reason you think these degrees have some level of equality; it seems hypocritical to judge others for their analysis of things based on dollar value when you ascribe value based on price.
There does seem to be evidence that there was a multitasking Concurrent CP/M, and/or Concurrent DOS, and/or FlexOS, from DR for 68K. It looks like it got to at least v1.2 and maybe later.

How much of that got into EmuTOS, I don't know, and I'm not sure if binaries or source of FlexOS 68k survived.

If they did, as I wrote here, they are probably arguably FOSS now:

https://www.theregister.com/2022/08/04/the_many_derivatives_...
As far as I can tell this was a bill written and negotiated in the GOP-controlled House, by the Education and the Workforce committee.

At the time Biden served in the (GOP-controlled) Senate, and not on the relevant committees there.

Do you have evidence that Biden specifically was involved in negotiating about this? Or do you just mean that, insofar as he was a member of the Senate, he “helped” by voting for a ~250 page bill that passed 96–1?

https://www.congress.gov/bill/105th-congress/house-bill/6
You’re not everyone.
Not Twilio.

I recently attended a manager meeting in my own company, where some of the managers were comfortable saying they would insist on a certain number of percentage of new-hire candidates who were of “x”.

Non-white male; but I’m quietly distressed at the implications.

I’ve been thinking over how to even process or deal with this.
It's not even "Nightlife". It's weird, any sort of social gatherings past 9pm just didn't seem to exist (Except for the creamery/diner, some pockets of isolated restaurants). I would expect a college town to have some life, kids out and about after a late game etc. . .not the case, and i was there for a while.

It almost felt . . . suppressed.
> A company spokesperson declined to comment on the specifics of how it conducted layoffs through an anti-racist/anti-oppression lens.

Well I don't think there's much to discuss then... it could mean literally anything.
It's yuu.choose[1]

[1] https://www.ebay.com/usr/yuu.choose
Yeah this is what i've done, I ended up turning it into a dumb TV and hooked an Apple TV up to it to solve all the problems including the crappy remote. On my Samsung, I didn't have to do that as its more than good enough already.
All things being equal, they should just use a lottery system. But that's only if all things are equal. first and foremost should be job performance / salary weighed against necessity of people in a given position.

Trying to force a social context in a business scenario is asking for trouble, IMHO.
Been using it for a personal project [0] and, having built things with JavaScript in the past, I can honestly say my development speed is far far faster with Rust. All the weird things that JS permits and all the weird runtime errors become compile time errors. To be fair, I haven't tried typescript.

[0] https://github.com/rozbb/readtomyshoe
By all accounts Nuvia got substantial help (and probably quite a bit of IP) from Arm and I imagine that would be the case for any architectural licensee - they weren't just get sent a copy of the ISA spec and left to it! So 'nothing in return' just isn't true.
That may simply be the answer; that they are liars. This specific claim has a video [0] to go with it.

In general, when it comes to anything in war involving the word "nuclear," we would be unwise to plug our ear's to the enemy's motivations.

[0] https://www.youtube.com/watch?v=6jSQw35mJrA
Bitcoin is not a backed by a collateral and is highly volatile, two reasons that make it a terrible store of value…
Haha, how funny, when it's TikTok it's national security, but when it is Microsoft, it's not big deal

They even made a blog about it, that's pathetic

https://www.microsoft.com/security/blog/2022/08/31/vulnerabi...
Sweat Coin is the cryptocurrency also called the Sweat Economy, and has its native token named SWEAT. Sweat coin is on the Ethereum (ETH) and Near Protocol (NEAR) blockchains, rewards users with sweatcoins who register the mobile fitness app and does physical activity.
As said in the token's lightpaper, "the open economy of movement" is at the center of the token's design.
In addition to its own crypto wallet, Sweat Wallet, it plans to install NFTs by the end of 2022 and allow users to purchase SWEAT with fiat currency directly.
As a result of the app, the global carbon footprint will be reduced by incentivizing physical activity to improve global health and make the world a healthier place.
CoinMarketCap estimates SWEAT’s circulating supply is 2.05B SWEAT while its maximum supply is unknown. Sweat Economy (SWEAT) is traded on a number of cryptocurrency exchanges, such as Bitfinex, Kucoin, Gate.io, FTX, and others.
Sweat Economy (SWEAT) Price Prediction 2022
Touching the support level of $0.0568, Sweat Economy (SWEAT) price swung from $0.0754 resistance2 to $0.0659 resistance1. SWEAT reversed from support level $0.0568 and is presently sideways in the market and is expected to be bullish.
The long-term price prediction for SWEAT for 2022 is bullish since it is unlikely to break the current support level anytime soon. We can expect SWEAT to reach $0.1 in 2022.
Sure do layoffs based on anything else than performance, role and fit for organisation.
This makes no sense.
People are freaking out over this, and it's a pretty bonkers thing to say. I have a competing hypothesis though. A lot of orgs mistakenly think they have a big diversity attrition problem because minorities and women leave at greater rates. However, in practice, minorities and women leave at approximately the same rates as everyone normalized to levels in the org. It's just that low level people leave more frequently and the bulk of minorities are in low level positions, whereas the top half looks like a a bowl of milk.

I think they did an analysis on who would get laid off, noticed minorities were vastly over-represented vs the whole population, and are trying to hedge here with some PR.

I have no evidence for this.
Not at all. The idea here is to release the dead weight that has the wrong color/gender.
I check on profiles before I flag to see if someone is 1) a troll or 2) a contributor having a bad day or 3) maybe I'm misreading their comment.

Saying "stay mad" is VERY common troll behaviour.
Kind of, however (and I'm not a native speaker) if it would be simplified, it would also be longer / multiple paragraphs, which will also put some people off of reading / comprehending it - especially these days, where a lot of people have very short attention spans when it comes to reading.
The real URL is how.complexsystems.fail

Point 2 is "Complex systems are heavily and successfully defended against failure"

Complex systems do fail. But airplanes are still extremely safe. Because people stacked on even more complex systems, often involving worldwide change in response to an accident that happened once.

You constantly hear about how safe it is to fly. And yet hardly anyone seems to learn fron their successes. When you stop accepting failure and are willing to disrupt everything if it saves even one life, you can do a lot.

Complex systems may be unreliable, but with enough work, it seems we can sometimes make the overall picture safer than not having them.

I can't firmware update all of mankind to never leave a baby in a hot car. But they can put sensors on seats and continually do studies to be sure it's working. Complex systems are sometimes more controllable than people or simple systems.

The choice sometimes seems to be "Add complexity, do nothing, or do something that nobody will accept"
Again, though, that's just not true. The hardware is well-understood and easily measured. Sure, there is slop in the measurement (how much of the fleet is using platform A vs. platform B). But those are comparatively small numbers. Sure, like you say, we might have a factor of two lurking in there (seems high, but I'll grant it).

But a factor of two wouldn't change any of the analysis! If the article said "60 TWh" instead, would that be any less horrifying? No, it wouldn't.
That comment is pointless, if you want to raise the level of discourse actually provide some evidence rather than simply request it from others.
I don’t know, I personally prefer a standard solution for common business requirements like validation, conversions that will be the same regardless of which project I choose over some custom-made ones.

Another way to think of Spring’s magic is just declarative programming to a degree. You write what to validate based on rules, not the how.
Anybody who doesnt lose a billion per year would do it
This comment explains it: https://news.ycombinator.com/item?id=32897307
Thanks! Macroexpanded:

Twilio CEO announces 11% of employees will be laid off - https://news.ycombinator.com/item?id=32894062 - Sept 2022 (16 comments)

Are Race-Based Firings Legal? Twilio's About to Find Out - https://news.ycombinator.com/item?id=32868134 - Sept 2022 (130 comments)

Twilio CEO: Layoffs were carried out through an Anti-Racist/Anti-Oppression lens - https://news.ycombinator.com/item?id=32855380 - Sept 2022 (68 comments)

Twilio promises ‘anti-racist’ layoffs - https://news.ycombinator.com/item?id=32849920 - Sept 2022 (6 comments)

Twilio to lay off 11% of workforce - https://news.ycombinator.com/item?id=32837802 - Sept 2022 (463 comments)

A message from Twilio CEO Jeff Lawson: 11% workforce cut - https://news.ycombinator.com/item?id=32837345 - Sept 2022 (198 comments)

Twilio cutting 11% – Letter from CEO [pdf] - https://news.ycombinator.com/item?id=32837250 - Sept 2022 (106 comments)
Bang...
Well, you can't punctuate.
If that's the case, that there's no common code they're all built on, then why does anyone talk about "Wayland" anything?

All these conversations end up kinda pointless because of a sort of "it works on my machine[desktop environment]".
What exactly is the “measurement”? A hash of the application code?
Given that he’s the co-founder, less likely.

Would have been interesting if George Hu had become the CEO, and what the company trajectory would have been instead since his departure.