skysight-inc/HackerNews huggingface dataset:
You shouldn't need asdf to work with JVM stuff.
I would suggest learning how to use SDKMAN: https://sdkman.io/

It will manage the JDK for you. Usage is basically this:

# Install a JDK, that version is now default
sdk install java <version>
# Another one, it asks if you want to change the default
sdk install java <another-version>
# List available and installed versions
sdk list java
# Change which one you're using in this shell
sdk use java <version>

That's all.

You can also manage Gradle/Maven installations with SDKMAN, but that's not necessary, usually, because most JVM projects include a "wrapper" script which downloads the needed Maven/Gradle version for you.

This works regardless of whether your project also needs Kotlin/Groovy etc. as those are just managed by Gradle/Maven (the only exception I can think of is if you use Kotlin Multiplatform as that will depend on the platform dependencies as well).

So once you know SDKMAN, you can manage any JVM-based project with just this:

sdk use java <jdk-version-used-by-project>
./gradlew build # or ./mvnw package

If you need to do anything else, you should complain to the project authors as this is really all you should need!
But if the issue is a local breaker flip, then being on a different phase is very effective!

I don't have a power outage more than once a year, but we manage to blow a breaker more than a few times a decade (vacuum + water boiler was one).
I suggest you read the following. Because it's pretty obvious that a lot of you guys live in some parallel universe where things are just black and white.

https://paulgraham.com/submarine.html
If you work a white-collar job the US standard of living is substantially higher. If you're a laborer the opposite is true but you also probably have a harder time getting in to Europe in the first place.
Ask HN: How secure is desktop Linux? Is it stuck in the nineties?
When I switched from Windows XP to Linux, it was considered the more secure OS. On Windows, users were still running with admin rights by default.

I've used CrunchBang Linux, Lubuntu and Linux Mint since then, and while the security of dominant consumer OSes—now Android and iOS—has improved significantly in the past 15 years, not much seems to have changed on desktop Linux.

Where on my smartphone I can grant an app access to only the one photo I need it to have access to, on Linux, for all I know every program that is running under my user account may have uploaded all of my personal files to a malicious actor a thousand times over.

Where on my smartphone I can deny an app access to my location, on my laptop any application can easily get my external IP address and a list of wifi access points and bluetooth devices.

I read Windows and MacOS have adapted to the age of always online computers as well. Why are Linux distros not keeping up and applying the principle of least privilege?
From the article:

If you really love strings, you might now
be thinking "better than a string? easy:
multiple strings." And you wouldn't be
that far off! Some editors do represent
text as an array-of-lines with each line
being a string. VS Code's Monaco editor
worked that way for quite a while, but an
array of strings can still be plagued by
the same problems as a single string.
Excessive memory consumption and
performance issues made the VS Code team
look for something better.
MIDI is pretty great, I am about as musically inclined as a wet rag, but I recently bought a bank of midi sliders as it was the cheapest way to get a bunch of dials, buttons and sliders. At first I was looking for libraries to interface with it. But after looking at the spec, it turns out midi is dead simple and designed to be easy for hardware to parse. Super easy to read and generate. So I am sitting here happily hacking away building the dispatch interface for this thing. The icing on the cake is that it turns out openbsd's sndiod includes a midi transport and control system. Which was just one less thing to worry about.

https://www.akaipro.com/midimix

https://computermusicresource.com/MIDI.Commands.html

http://man.openbsd.org/sndiod#MIDI_CONTROL

Update: that was not a great commands introduction, here Are my thoughts. if bit 1 is set it is a command otherwise it is data. commands are split into two half bytes(nibbles?) the first 4 are what command it is(first bit is high so 3 bits or 8 commands) the second four are the channel. some commands have two following data bytes(low first bit remember) and some have one. The main exception is the system command. which is complicated
You've just scratched the surface of the UK's insane ticketing systems. More detail here: https://busandtrainuser.com/2022/02/13/the-crazy-world-of-ra...

You can't make any assumption or inference about anything based on the price presented to you in a given context.

This is likely going to be an issue in this year's UK election. The only people who are happy about this is train operators who profit from customers getting bad deals.
GraphRAG with LangChain and Neo4j
In my vernacular, I distinguish between "life jackets" and "buoyancy aids". Apparently most people don't.

A buoyancy aid has a foam core, and always provides buoyancy. It's the sort of thing you'd wear while kayaking, but it's far too bulky to want to wear it unless you expect to go in the water.

A life jacket is inflatable, and normally automatic. If you're at risk of falling in, and to do so would be dangerous, you should probably wear one of these -- if you go in the water, it'll inflate automatically. This isn't suitable if you might get wet without wanting the life jacket to inflate, though, and you can get equivalents with manual inflation. The ones you get on aircraft are cheaper than ones you're expected to re-use by wearing multiple times but in neither case will you inflate it multiple times.

The downside of a manually-inflated life-jacket is that you need to be conscious to inflate it. The downside of an automatic life-jacket is that if you get wet, it'll inflate. The downside of the buoyancy aid is that it's always bulky, but on the other hand if you're wearing it, it'll always work.
Where in that stack is the biggest loss of performance? DOM? Javascript? Browser? Or is it because everything needs to sync to the cloud as you edit it?
I dont agree, there is way more help in terms of writing efficient code today than there was back in time, ive seen horrible code from that time which would not have been produced today.
I'm not aware of any email service what would allow you to tag some incoming messages with an "expire in 30 days" or something rule. Except the spam folder.

But again, the main purpose of Gmail is to harvest your behaviour data, not providing you a good email service.
We recently moved an old page from plain html and everything generates by the backend to react and we had a drop down take several seconds to open with a thousand or so items in it. Was like 100ms to open the entire page before.

It was suggested to only display the first 100 items and let the user type in 3 characters until it started rendering.

Unfortunately this is the reality for many these days.

Of course instead we just fixed the shitty react code and it rendered instantly.
You may have out of date information there. Mise was previously jdx and it used to use some of asdf plugins directly. Most of those have now been replaced by built in mode plugins for the popular runtimes. I believe it still has the option to use asdf plugins if you want to though.
Yeah there was probably a "_" or "-" in the link... Sorry about that I'm still working on the quirks.
I may be way off-base here but this is what I imagine the problem is:

1. Company executive decides their developers need top-of-the-line hardware to remain competitive in today's market

2. Developers make web apps on their company-provided M5 Ultra Pro Max 128GB RAM powerhouse laptop

3. They never test it on their father's old 2010 family PC, or at least they don't test often/thoroughly enough to realize many parts are broken or unusable
Soapbox: Stall speed is an approximation. It's baffling that GA aircraft don't have one of the most safety-critical measurements: AOA. Stall airspeed varies with a number of factors; this includes the mods described in the article, and weight change from burning fuel, passengers, payload etc. AOA is more invariant to that as a metric for choosing stall speed, speed down final etc.
I missed reading a few words in your message :P.

> You have to watch live TV on iPlayer. That's the legal requirement.
This is not true, for example the entire mobile test infrastructure is written in python.
Personally I don't think for-profit surgery, or for-profit medicine generally, is a legitimate business.

Sorry, but I'm not willing to have this discussion. As I said, you'd better grow up and face the realities of the world you live in.
Something like this maybe? https://github.com/luukvbaal/nnn.nvim
(hoping to hear more of an American perspective on this story - comments very welcome!)
JQuery UI is a widgets library like datepicker, autocomplete input and progress bar but also has UI controls to make things draggable and such.
If it's localized to one company it is but that's the beauty of a sector-wide slowdown... where are they going to go instead?
Nah, it's simpler for me when I have an _urgent_ problem. I then _know_ what I focus on and prioritize to fix that problem. I basically... rudely ignore anything and anyone else. When the priorities are not as clear is when I feel like wading through mud.
Btw, how much AI goes into designing the exterior of a car (panels, lights, windows, grill) ? Can they just drag a slider for "How much muscle do you want" from "Yes" to "Beige" ?
In the FOSS market, definitely, how are those reverse engineering efforts outside Raspeberry PIs?
Well for sure, but it also helps make sense of why you'd see tech executives clamoring for something to be done about inflation even as they were clearly benefiting from the inflationary environment in some sense.
The same techniques that native apps use to process large documents should be possible in JS/WASM land, no? Given, you probably won't reach native performance, but it seems to me a snappy text editing experience even for large documents should be perfectly doable using web tech.
You can't use Qt?
People shit on web devs, but lower lvl things arent better either - try compiling llvm
Yes, it repeats itself so much I kept thinking I had accidentally scrolled up.
We aren't making software. Where making features (and bugs) for the next Friday deadline.
I suppose that Cloudflare scanning payloads for known malware could potentially be effective if they could make the performance work.

Closed partnerships programs are a bit concerning though. Once they’re up and running there’s an enormous economic incentive for CF to squeeze members with fees that capture the economic upside.
My opinion about this is that yes, we lost our way, and the reason is very simple, it is because we could. It was the path of least resistance, so we took it.

Software has been freeriding on hardware improvements for a few decades, especially on web and desktop apps.

Moore's law has been a blessing and a curse.

The software you use today was written by people who learned their craft while this free-ride was still fully ongoing.
There are a lot of nuanced features that explode in complexity when joined with other features. The number of permutations is massive, and handling those combinations of requirements is what modern day software is about.

Today’s software systems are more generalized, though they are solving the same business problems, just with more details / functionality than before.
That paper of Shor just shows how a quantum computer with a large number of bad qubits can be the equivalent of a quantum computer with a small number of good qubits.

The paper does not prove anything about the upper limit for the number of bad qubits that are physically realisable.

There are doubts that this upper limit, which is unknown yet, is high enough for most practical applications.
"Jewish Mathematics"?
I’m in leadership ic role at a big tec company. We pride ourselves in engineering.

hiring bar was dropped. expecting a mid level engineer to work with a byte buffer is considered “too complex” and non differentiated work.

the literal goal is to pump out features written up by mba/product team. none of these mbas use the product mind you. theyre chasing stupid features they think vice presidents want, because the thinking is it will drive promotions.

this is a cynical post and i will stop here. my org has problem of incentives. nothing else. you incentivize wrong things then this happens
Intel's dropping x86, and moving all to amd64 with UEFI, that's just as bad.
I think you're right, if access to shared is not in any way synchronized. But the correct way to handle this, at least in this case, is to mark shared as volatile, which guarantees thread B will only ever read null or a fully constructed Foo from shared. This has been the case since Java 5, released 20 years ago, thanks to JSR-133.
Show HN: A Toolkit for Generating Fractal Zoom Animations
I made this a while ago, but updated the README.md recently to include a proper tutorial with screenshots so now it's useful for other people.
I believe Oyster cards are to be retired in due course
When you are in a place with perhaps the most mundane music, if it gets even the least bit decent and you get up there and dance ecstatically, the band will love it.

If there are no dancers and you get up there at all the band will probably love it.

They might just not play so mundane after that.

And others who may be the least bit inspired will often get right up there with you, hesitating much less than they would have normally done.

Even if it's all by yourself.

There's a song about that, Dancing with Myself by Billy Idol:

https://www.youtube.com/watch?v=1s2qZ6zc6ts

Where he basically draws the dead up onto their feet, he ecstatically blows them all away, they love him anyway and everybody ends up boogieing like zombies.

>You won't see me at a nightclub, a bar or any place made for people to socialize over inane discussions, alcohol and crap "music".

You won't see most people, they're usually hanging out socially with others they met like that or at equivalent places they prefer to gather whether or not alcohol was prominent, discussions were inane or music was crap.

Or whether there was anything like music at all.

But if there is music, you know what to do ;)

Trust me, I'm a scientist.

OTOH there's a lot to be said for striving to widen social circles using remote technology more so than direct contact. Haven't gotten around to that yet so I don't have much to add there.

EDIT added anyway: Helpful tip: It's probably better to leave your phone at home so it doesn't get broken while ecstatically dancing or anything else. People that are interested in what they see will often be understanding and more than willing to text your phone while it is still in repose back in its coffin. You can then power back up and raise the phone from the grave when the time is right. But it's well recognized that a lot of people need to raise their gaze and their fingers well above the plane of a touchscreen, to further points of interest more than they do.
I agree, but would add this: I think turning buying an operating system into a push-your-luck video game with serious, real-life, negative consequences is bad. Average consumers (and many contractors) are not equipped to evaluate the risks they are taking on with this stuff, and the marketing puffery is impossible to decipher even for people who do this for a living.
This is such a pain in the ass/security nightmare because without this you have to grant full read/write on your repositories using classic tokens.
You're preaching to the choir here: I much prefer datamapper ORMs when I even want an ORM at all (I'm not quite the OOP astronaut I once was). I'm saying AR's poor design isn't a noticeable drag in small scopes, especially for short-lived models whose only purpose is to populate a view. It's like having really fancy DTOs, and keeping them in the DTO bin is what keeps you from getting stuck with all the sharp spikes. Life can be comfy in a minefield when you have a map and don't wander too much :)
It depends on the specific tool and how it's configured. But that has been my experience with many tools configured with their recommended settings.
I think this article looks for sense and a plan where there is none.

I think it's simpler: Fukushima changed the political landscape so that there no longer was a majority in favour, and the use-by dates on the existing power plants expired. Coal also hasn't a majority in favour, but the use-by dates are different, so it's fading out of use in a different manner, rather slowly.
There is perhaps some irony in the fact that this blog was posted to Medium, which serves 10.88 MB for a 265-word article.
Quite true even full-frame DSLRs typically use CMOS sensors for some time now.

CCD was the first thing that came to mind as 'charge' is right in the name.

Out of curiosity, looked up invention dates for CCD 1969 and CMOS 1963 and CMOS sensor 1993 (quite a gap). I was playing with DRAM light sensitivity in the lab in the late 80's. I'm guessing CMOS had too much noise to be useful for a long while or something.
Contactless is the normal word used in Britain for EMV NFC payments. It's also the word used by the EMV standard [1].

London had RF ticket cards (Oyster card) since 2003, EMV payments since 2012.

[1] https://www.emvco.com/emv-technologies/emv-contactless-chip/
Previously [0] (18 points, 3 days ago, 14 comments)

[0]: https://news.ycombinator.com/item?id=40162438
Bloomberg: "Strong possibility" of M4 debuting on May 7 with new iPad Pro
A modernized Inferno for the web (with unicode) would have been much better than... this.

It looks like a joke seeing an i5 choking on files opened by PC's from 2003.
Free counseling sessions for a focus group
We're seeking volunteers for a focus group study to receive free mental health counseling sessions, provided by fully licensed counselors with 10+ years of experience. For this particular group, we look for busy professionals in their early 20s to 40s based in the U.S., preferably individuals who have prior experience with using counseling.

If you're interested, please DM me and I will follow up with you to provide more details.

Thank you!
I could not find the pin capabilities. Is it possible to build an sdram controller or even drive ddr?
Non sequitur from non-pilot: I was once in Duluth, MN in the bitter cold and watched a Cessna with skis (for landing on the frozen lakes of the Boundary Waters) land at the airport. It was the utterly bewildering to see how slowly it was going in the air. And how little distance it took to stop. Short Landing Kit I assume. I've seen ducks and geese come into land on lakes at higher speeds!
whenever I do native (native as in, compiled without going through some bytecode / VM / interpreter ...) apps for mac / windows / linux I don't have to do any of this, I just use Qt
Interesting fact that this article has been posted on Medium, resulting in a 7.32 Mb page.
Autonomous Driving Through Dynamic-Complex Traffic-Dynamics in India [video]
I think we are lucky it was created when it was. The temptation to make a much more complex and fragile protocol would have been harder to avoid if they weren't constrained by what could be cheaply and efficiently implemented on microcontrollers in the early 1980's.
Yeah they were kind of known for that, although I personally think this was also a bit of a myth.

Even back then there were add-on interfaces like the Steinberg Midex which used some kind of timestamped buffered timing, which was probably even better. And many synths actually had quite bad latency anyway.

But for sure, having direct access to hardware and a non-multitasking OS made things much more deterministic "by default" and that was certainly an advantage for this use case.
> I think this is a bad example and false equivocation -- Das Kapital is a scientific text and analysis of economic models that was a work-in-progress for the entirety of Marx's life.

There is absolutely nothing scientific about Marx’s works. The Envy driven garbage produced by Marxists and current neo-Marxists leaders is directly responsible for unimaginable human suffering.

I remember well trying to explain to an academic audience that teaching anything or even reading Marx is the economic equivalent to reading the Protocols of the Elders of Zion and taking it seriously. Both are 100% fantasy and evil. Das Kapital is a slanderous attack on the capitalist heroes improving the human condition by an evil dark and envious soul.
I'll admit to complete and total ignorance, but:

> ...we just use the number the manufacturer publishes.

From the article it sounds like this plane was radically modified, to the point where the manufacturer's stall speed would be irrelevant.

Why wouldn't you want to confirm for yourself where the speed is after so many changes?
> Cessna aircraft have a hinge line on the upper surface. As a result, turning the aileron down causes a sharp angle on the upper surface. The air is unable to flow around such a sharp edge and stays attached. The result is a sudden right wing tip flow separation.

Should this say "The air is unable to flow around such a sharp edge and does not stay attached"?
I find people to be inconsistent.
This conversation has happened more than once:

"I really like Carter's presidency because he was a good person."

"Oh so you must hate Clinton."

"Well, you can't judge a president based on his personal life."

"..."
Office 365 probably would have worked. Microsoft's proprietary format is handled best by Microsoft.

Also, cloud-based synchronization using CRDTs is a complex problem that is significantly more complex than just loading the document.

Can't claim we are going backwards when comparing apples and oranges.
"My boss is always interrupting me with questions, and the office is very noisy. There's no easy fix for either of those external things, so you're lucky that all you have to deal with is internal ADHD and tinnitus!" /s
Teslas have no issues in road trips in most places. Choose the right brand and most if not all of the issues with charging are solved.
what about Kotlin?
But then you have to use c++ or Python, and figure out a good way to ship 10 dlls
It has been working for me, even through all the stuff months ago. I wonder why some people seem to be affected constantly and some don't at all.
> they still only take around 30 mins total from first to last passengers being let through a gate

Compare to the Shinkansen (bullet train) in Japan which loads 3x the number of people in 2-3 minutes
Don't Forget to Launch (2020)
"Barely any reason"... except they created and maintain the entire plarform and tooling that you're building on. And in Apple's case they give it away for free with any mac.

I'm old enough to remember when buying development tooling for DOS or Windows was $$$$$$
I mean to manage the rental experience more than the car.
> until I realized that was their tactic to make sure you don't "steal" credit from them by working harder.

Definitely true from a office politics standpoint. And incredibly painful. Not all problems are solvable in the office and this is for sure one of them - when I was in this position, the only thing I could do was switch jobs.
Aha! makes sense.
I recreated that in grad school, also using QNX. We set it up to run a paging (POCSAG) system that you could put the floppy into any computer, hook up a DSP board and modulator, reboot the machine and you'd have a paging system. My advisor showed it to Andrew Viterbi, and got us grant.

When I went to recreate it, I contacted QNX and asked if I could speak to the guy who did the work, and he had died the year before. So, I just took apart his floppy, and figured out how he did it.

The things you can do when you invest your time 100% in something.