skysight-inc/HackerNews huggingface dataset:
This misses out on the main benefit of using annotations: The associated Java code is "just Java". Testing JAX-RS endpoints is just a matter of instantiating Java objects and calling methods on them. Testing grumpyrest endpoints would require mocking the requestCycle other low-level http-oriented classes.

Here's the JAX-RS equivalent of the demo:

public class GreetingResource {
@POST
@Path("/make-greeting")
public MakeGreetingResponse greet(final MakeGreetingRequest request) {
if (request.addendum.isPresent()) {
return new MakeGreetingResponse("Hello, " + request.name + "! " + request.addendum.getValue());
} else {
return new MakeGreetingResponse("Hello, " + request.name + "!");
}
}
}

This is less noisy (no explicit parseBody) and much easier to test - you can just instantiate a GreetingResource and call the method, no mocking required.
CS2, essentially a rewrite of CS:GO using the Source 2 engine is coming "this summer", so there's that.
> What format would you recommend? It would need to be well-supported by podcast players.

HE-AAC. Support for HE-AAC and HE-AAC v2 has been universal on modern media platforms and operating systems for well over a decade.¹

• All versions of Android support HE-AAC v2 playback²
- Google also added encoders in Android 4.1 (2012)
• iOS introduced support for HE-AAC v2 playback in iOS 4 (released 2010)
• macOS introduced support for HE-AAC v2 playback with iTunes 9.2 (released 2010)
• I'm not sure when Windows added support, but it was available in Windows 8
• All open source players support HE-AAC v2 playback via FAAD2

FWIW, I distributed a reasonably-popular podcast (1.2M downloads over its lifetime) using HE-AAC v2 several years ago, and never received a complaint, or found a player it didn't work on.

¹ I read the other comments recommending Opus before responding, and although Opus is very nice, it's not as efficient or as ubiquitous as HE-AAC.

² https://developer.android.com/guide/topics/media/media-forma...
I would argue that if one watches Breaking Bad to its conclusion that it's hard to say that it glorified the manufacture and sale of meth. Everyone involved has huge negative consequences in their lives as a result. The collateral damage is staggering. By the end, Walt seems as addicted to the sense of power that making meth gives him as the user of meth desperately seeking their next hit. He sabotages himself and ultimately gets himself shot (probably killed -- though I think this is open to interpretation) chasing his last hit.
I certainly understand where you're coming from but isn't that only demonstrable right now because BS is the only "huge" instance running at the moment? They haven't federated yet so we assume this is just going to work across the entire federation of servers?

Further, development on ActivityPub is not "done," correct? As in, someone could technically still write/develop their own client and attach its own algorithm over the top of ActivityPub, right?

To be clear, I hope I'm not sounding like my opinion on this is definitive or anything and I'm just having a conversation. There are definitely problems with ActivityPub, it just sounds like BlueSky is trying to solve/fix every problem that every individual person maybe/possibly/who knows will have before they even launch which, in my experience, is generally a concerning approach.
Unless the market is big, most employers give zero incentive to accumulate domain knowledge. Between learning the new hot framework and accruing domain knowledge, one is clearly better for the average dev's career.

The advice is great in a world where people remotely cared about good software and are willing to pay for it. Not such great advice for reality.
South Korea and China have such things, although they don’t cut off the internet, they might restrict flights and driving during those times to cut down on noise and such. See https://www.npr.org/sections/parallels/2015/11/12/455708201/...
Then better go elsewhere, rather than work on Java Virtual Machine.

It is like using UNIX and not wanting to understand, touch, C.
The real number may be far higher.

Somebody bothered to make website to track Tesla deaths and Tesla Autopilot related deaths.

https://www.tesladeaths.com/

Current count is 33 for Autopilot related deaths.

Last time I cross referenced incidents it was accurate, but that was a while ago.
I suspect all of Wikipedia's text fits comfortably on a typical user's phone. How does not having Internet access during the exam stop people from accessing data they've already gathered from when they did?
So fine, he was grandfathered in at a lower price (https://news.ycombinator.com/item?id=36214427) - that doesn't mean he was being untruthful in any way, and as that linked thread shows most API changes have a much longer lead time. Reddit's sole goal was to kill all third party apps, and they were obviously successful.

The thing about "moderator actions being exempt from API changes" is just plain silly. If you're going to put time into making a third party app, you still have to shut down even if the mod parts of your app are free if the cost of other users is untenable.

Every single 3rd party app that I've even heard of is also shutting down, so how people can try to spin this as something specific that Apollo did is baffling to me.
myspace managed to be killed
> I'd suggest Casey Newton's articles on it

That explains why the rest of your comment doesn’t make sense to me. IMHO Casey Newton is a vulture journalist. He specializes in exaggerate and twist every minor problem he can find in tech companies.
Sonoma Under the Hood
As an example, Apollo has around 50k paying members currently. Even if we say 10% are really hardcore ones and will jump ship (and not just use Reddit’s default app which is decent if not feature rich), how many of those 10% will still retain Reddit as a parallel app, and how many of those will get frustrated very fast because growth is very hard in this space owing to federated nature of upcoming social networks and growing personal server costs and the time it will take for that social network to become mature like reddit. Will the remaining ones who stuck with the new ship and probably brought new members as well as part of scaling, be enough to generate enough revenue for those apps to continue investing in the new social network?

Also, what I have understood with these Reddit 3rd party app developers - seeing multiple ones over the years from Alien Blue to Readit to Apollo - is that these guys are pretty good at understanding complexity and solving it via their good designs but a social network is not just all this as we have seen with Reddit itself and now twitter. It’s about moderation, nurturing communities, formulating effective user friendly policies across communities and much more. Which none of these app developers have experience with.
Wow. That escalated quickly. It has nothing to do with the fact he was Muslim and everything to do with the fact that there were no attempts to contact other planes or atc for help. I do not appreciate your false assertion and encourage you to retract your statement.

I am not an expert in the 777 electrical systems but the two minute delta between the last radio transmission - where there were no audial warnings and the pilots were calm - and the transponder ceasing to transmit seems unreasonable for a catastrophic event to take out these systems.
India is far from an "actual" democracy and is often classed as a flawed democracy. Their voting system is among the best, most far-reaching and most fair in the world but their quality of candidates, policies etc are far from good. Importantly, India is increasingly imposing the whims of the majority on her minorities, something any good democracy would try to avoid.
Hierarchical organizations thrives with the press machine and broadcast television. But the internet allows us to communicate everyone-to-everyone. So in theory it might be more effective to communicate between each other instead of top-down.
Opus you'd get away with half the bitrate, or less, than MP3 for a podcast. Gets to be somewhat significant given the length of many podcasts, those 64kbps or so that you save add up over time.

Though I agree, the "works everywhere" aspect is really the overriding factor: everyone can play it, all the services will accept it, etc. I think the only way you'd see it get used significantly is if a major service was transcoding to it, but I don't know that podcast bandwidth is a sufficient cost for anyone to bother.
The Sk8 Hi, or whatever it is, is the only pair of shoes I wear aside from some rain boots. They show little sign of wear after two years. I’ve also had an interesting and and slightly uncomfortable interaction with a homeless person saying “nice old school kicks” and giving me a high five. So my anecdotal data definitely holds up. Perhaps it’s the model. I also have a musician friend who’s been wearing the same pair of the same model for 10 years including a tour.
I think it's because Reddit came to a solution that put a rather large and sudden burden on the app developers.

Had it been something like "starting next year only Premium users will get to auth to the API" (which is analogous to the $5/mo. of Discord Nitro) the lead time would have been greater and the users would have been able to solve the problem of access on their own.

I imagine this being less desirable when individuals have multiple accounts.
it requires both a test pilot

No. Keep in mind most commercial operators are going to run derated thrust (a.k.a. flex thrust) for takeoffs to save on maintenance. Engine failure after V1 is regularly practiced. The big problem will be directional stability on the way V2.

https://www.infinidim.org/b777-engine-failure-on-takeoff-efa...

https://www.airliners.net/forum/viewtopic.php?t=747649
Would be awesome if the menu can be bound to numpad. Press center key to pop-up, then whatever key around that to select and activate.
JVM Bytecode: Introduction
I wouldn’t buy a 1X resolution screen in 2023. I’m surprised they are actually still sold, the quicker we move up to modern resolutions being standard the quicker we can just call them the new 1X and stop all the resolution hackery we have to do to support both at the same time these days.
I think we're at loggerheads here, this is more of a political debate I feel.

There's probably more affordable fast food about. Lately there seems to be a movement towards enabling obesity via lack of shame. If those things changed there would probably be movement.

But whilst that might be interesting to an academic, that doesn't change what a person needs to do as an individual. You're not going to lose weight by complaining about the lack of healthy restaurants around you.
I was an early user of the flight simulator back in the day.

I logged over 2000 hours on the original flight simulator. I kept my flight hours in a log book. I used actual physical maps. I visited every airport within 500 miles of Meigs Field. I flew in all kinds of weather. I bought every extra option. I visited local pro shops and bought a dozen flying books.

I highly recommend "Stick and Rudder by Wolfgang Langewiesche". Best book ever.

I took private pilot flying lessons and knew exactly how to fly.

I pre-paid for the new MS Flight Simulator. I bought pedals and a yoke. I bought a new, high-end laptop that exceeded the specs. Once the flight simulator arrived I flew it every day for 2 weeks.

Half of every day was spent downloading updates. I spent 5 hours talking to a pleasant fellow in India trying to correct errors. I spent hours talking to other MS support people. In fact, for those 2 weeks I spent more hours on the phone with MS support than I did flying the plane.

When it worked it was truly an amazing program. Mostly it didn't work. Constant updates broke everything.

I sent back the pedals and yoke hardware.

I cancelled the flight simulator. MS kept my money.

Your (flying) miles might vary but I would not suggest buying this program.
Mobile devices not supported? When do most people use maps?
Agreed, and i should clarify that i didn't mean it was inactive or w/e, i just think it's less mature of a tech stack, less active as a whole, etc than Mastodon was in it's time of need. That difference i think has a meaningful impact on how quickly new instances can spin up, tooling available, UX of users, native mobile apps, etc.

The shiny things that keep "normal users" around.

Which isn't to say that it is plagued with problems or anything. I just think we have to remember that Federation and a FOSS development model alone will bring a large pile of challenges and confusion to the average user. As you said, we saw it with Mastodon. That friction is survivable if framed right, but any additional friction will be meaningful for normal users. Just my opinion of course, not making any factual statements here.
David Fowler has tweeter threads about researching how Java and Go do it, including an experimental runtime.

By the way, .NET already has structured concurrency via Dataflow.
> JPEG and PNG are good enough. Encoders and decoders are heavily optimized and omnipresent. No patent issues (either patent-free or expired).

I think you're getting downvotes for the sentiment, but I'm inclined to agree with both this comment, as well as the one you made a bit further in the thread.

> MP3 is also good enough. Modern compressors are on par with Opus, AAC or whatever is in fashion now. The format is sane, patents have expired, it run everywhere. It's not worth the trouble.

Something like Ogg/Vorbis would also be under my consideration for audio files, but I find these established and somewhat out of date technologies to be surprisingly stable and reliable. The same way how for many folks out there the H.264 video codec will also suffice for almost any use case (sadly Theora never got big, but there's VP8/VP9 too). The same way how something like ZIP or 7z will be enough for most archiving needs.

I think there is no harm in using these options and not sweating about having to serve every asset in whichever of the modern formats the user's browser in question might support (nor should you chase perfect quality), as well as be sure to actually convert the assets into a multitude of formats and include them in the page, as long as 90% of your hosting costs aren't caused by this very choice. Who cares if a few pixels are a bit off because you saved your JPG with a quality setting of 75 or 80? As long as your application/site does what it should, that's hardly something that most people care about, or will even notice.

> We should focus on other more pressing issues. This one is basically solved.

However, eventually something new is going to come out AND get stable enough to have the same widespread adoption as the current stable and dependable options. Whether that happens in a year, 5 years or a decade, only time will show (let's say, 95% of devices supporting AV1 and Opus). I think that then will be the right time to switch to these new technologies for most people, as opposed to being early adopters.
This might be relevant: https://en.m.wikipedia.org/wiki/Self-authorship

According to the Kegan theory, it's possible. I'd be fascinated to see it if anyone knows of a study that demonstrates self authorship in a population of real people.
The path of the original flight was interesting. They avoided flying over China, but Russia was OK.
Slightly ranty: Ugh I've been feeling this recently in a few areas. I think a lot of it comes down to imprecise technology and assumptions that are made from that terminology.

1.) We have a very large, powerful server we are using for webapps/database. I wanted a simple way to "orchestrate" containers on it (from a friendly web interface or something). I've come to the conclusion that such a solution does not exist - it's either CLI (docker/docker compose) or run kubernetes (which I tried, and got it working, but it's too complicated for me right now, even on one server. Maybe someday)

2.) I want to aggregate various logs from the apps running on the server, and be able to visualize them in something like Grafana. Some currently log to their own postgres database, others to a file. The answer to this is to install half a dozen (or more) services, each with their own config language, quirks, and 200 page manuals, and hook it all together. The good news is I can use a "simple" config since I have less than 100GB of logs a day (wtf?, I have more like 50MB a day))

There seems to be a completely missing middle class of software/devops/sysadmin information. It's either toy programs or "web-scale" 1000 node clusters.

But coming back to the article, it's really frustrating to try to talk to others or find answers. "I want to aggregate logs" causes people to think my logging needs are bigger than they really are. Same with "container orchestration". And then I get told I'm doing it wrong (which believe me, under my current constraints, is the best we can do). I guess overall I wish people would respect my current constraints.
Einstein also had a bunch of real, substantial objections.

One of the big ones had to do with whether the "fields" formulation was valid and primary. One of the issues is that if you follow the fields formulations that Einstein believed in out to conclusion you get things like "atomic oribtals never decay".

Which, of course, is obviously wrong. And an example of one of the reasons why Bohr is considered to have won his debates with Einstein.

Except

Einstein was right! We now know that when you isolate an atom, it's atomic orbital decay gets slower and slower the more you isolate it.

The problem at the time was that all of the experiments that could be run were statistical aggregations and obscured the nature of single state quantum systems.
Until Java finally includes real nullability guarantees in its language (and its standard library) I'll stick to Kotlin when I can.

These improvements are still nice for when you're stuck dealing with Java code, but in my experience getting projects to run on the latest version of Java isn't very easy with various dependencies all needing support first.
It does the antihero bit pretty well. It shows life going on after Walt's brother in-law is killed. In real life people would be a lot more torn apart by it, and not just sad.

The main thing it glorifies I think is that boys will be boys, not drugs per se.
Show HN: The Science of Flatness
The rogue client question is addressed in the article:

> In theory, a bad actor could create their own rogue client or interface which ignores some of the blocking behaviors, since the content is posted to a public network. But showing content or notifications to the person who created the block won’t be possible, as that behavior is controlled by their own PDS and client. It’s technically possible for a rogue client to create replies and mentions, but they would be invisible or at least low-impact to the recipient account for the same reasons. Protocol-compliant software in the ecosystem will keep such content invisible to other accounts on the network.

That is, compliant clients are expected to mute any interactions between blocked users, even if rogue clients continue to generate such interactions. Only users on other rogue clients would be able to see them. So the hope is that almost all recipients would not be using such clients.
https://www.livescience.com/stonehenge-acoustics-amplificati...

>Their research is based on detailed examinations of a geometrically-accurate scale model one-twelfth the size of Stonehenge, as it probably looked and sounded during its prime, about 4,200 years ago.

>By a curious coincidence, the model is exactly the same size as the miniature Stonehenge arch that appeared on stage in the 1984 movie "This Is Spinal Tap." Film buffs may recall that it came about after a confused member of the eponymous rock band specified the stones should be 18 inches (45 centimeters) tall, instead of 18 feet (5.5 meters), which is about the height of one of the real Stonehenge arches.

original from 1984:

https://www.youtube.com/watch?v=zg5Ovdu6bOE

corrected live in 1992 at Royal Albert Hall:

https://www.youtube.com/watch?v=pA4nhoblyMI
Considering that you are intentionally misconstruing that ivermectin position that folks were discussing at the time using the same tired and dishonest “horse paste” media talking point, I’ll assume that “disingenuous propaganda” runs in many directions.
completely different companies
We're talking about disclosing to victims here. There should be no adversarial relationship between the police and a hacking victim that I can see.
More like ASP.NET minimal APIs[0]

[0] — https://learn.microsoft.com/en-us/aspnet/core/fundamentals/m...
Right? That's what I've never understood. Putting ads in the API is irrelevant, since the 3rd party clients will just ignore them.

The Reddit that the loud minority wants is never, ever coming back. These protests are just a blip -- if you don't like what Reddit has become, your only recourse is to leave.
This won't exacerbate human trafficking at all...
I have the same feelings. It just makes me want to throw up now.
I’m being naive possibly, but is it really required to have anything more than “mute”? (To use their language “asymmetric block”, you stop seeing their stuff, nothing changes for them in regards to your stuff)

It’s really trivial to get to accounts blocking you if all you need to do is open it in your browser’s private/incognito/guest mode.

I think activity pub solves this by just not notifying blocked accounts about new posts anyway. So you can just silently stop appearing in their feed. But maybe that’s not feasible in bluesky.
The power trip is enough for most people. And for the right subs, brands approach you with outrageous offers. It can EASILY make you six figures *a month. When I read, it was much smaller. Years ago when reddit it was much smaller and I was working for an agency. We paid $60,000 just for 2-3 months of “posting support”. It amounted to something like 12 posts. I know first hand how much some mods get compensated. And this wasn’t even a major subreddit.
> It’s over 50% ads.

Like 1999…
yeah I boosted docs.rs so I would stop getting crates.rs at the top, that has been nice.
Having run a Mastodon solo instance for a while now, I disagree on several points...

Mastodon has very few federation blocks built-in. Truth Social and Gab are about it. In both cases, the defederation is mutual, because even those two cesspools don't wanna mix effluence with each other, never mind the rest of the "libtards" in the wildly diverse and worldly Fediverse. They've chosen to be siloed.

So that pretty much demolishes the idea that even Mastodon is somehow intrinsically "echo-chambery". There are, again, no other built-in domain blocks.

If Mastodon is "echo-chambery" it's because the alternative is to remain federated with absolute cesspools. I made it 3 months running my instance before I had to start banning whole domains. There's multiple websites to help Mastodon admins curb the incessant shitstorm that exists in the Fediverse. Whole troll farms do nothing but pump out juvenile invective at innocent users... hundreds of posts with nothing but the N-word, K-word, F-word and detailed rape threats.

Again... this is happening on ActivityPub, right now.

You tell me... is it creating an echo chamber to ban Nazi scum?
How does this compare to Tesla’s FSD? AutoPilot is just lane keep assist plus intelligent cruise control (like, cruise with distance assist according to the car in front of you), but most new cars these days have something comparable. FSD is usually what we are more likely to debate on HN.
The Eurodollar Standard Isn't Going Anywhere Anytime Soon
it's about minimising damage in the case of questions leak. The exam paper is the same across the country, so if a paper is leaked from one school, the internet would quickly make the problem nation wide.
How Easy It Is to Lie with Statistics [video]
Nowadays, you could learn more and faster using Chat GPT-4 rather of reading such books.
It’s not homomorphic encryption, but publishing a list of salted hashes seems like it would fit those criteria.