skysight-inc/HackerNews huggingface dataset:
Java doesn't have return type function dispatch.

If you had something like:

var x = map.get(k);

The type of `x` could not be inferred.

The best they could hope for is a signature like `Optional<V> getOpt(K);`. Which wouldn't be terribly bad as Java currently has an annoying get definition in the `Map` interface because it predates generics (The current signature is `V get(Object)`).

Regardless, if they do want to change the interface, it'd probably be best if they waited for Valhalla to land. One of the problems with `Optional` as it stands is it creates a load of GC pressure. If `Optional` is converted into a value class then there will be effectively no overhead to returning it everywhere.
This has always boggled my mind - If you don't trust me to pick a decent password and maintain my own machine, why in God's name would you trust me to write code or deploy/maintain company infrastructure?
Completely agree in general, but his are not that. Yes he talks about recent stuff but it’s very considered and not attention or influence seeking IMO
Wow, old people get downvotes for being old people now.
I first cam across the term "Chebyshev polynomials" when working on length parametrization of Bézier curves. Although I still do not know what they really are, I fell in love with the term, because it sounds super smart and is easy to remember. Sometimes when I want to impress non-science people I say "I have to go back to work, those Chebyshev polynomials aren't gonna solve themselves".
It's also learned behaviour. Generally speaking, American corporate culture does cherish its pussyfooting around difficult subjects, as do most Asian cultures (I gather, no personal experience there). European and South-American cultures are somewhere on the opposite end of that spectrum IME.
My org has a paid sub to Intellij ultimate, Intellij AI plugin, Copilot. Ive also tried Amazon Q's free version. These kinda work well for smaller classes. I am dealing with huge legacy systems which haven't been cleaned up for years and me and my team are just struggling to maintain it. Something like a one stop code removal by 50% is the dream. Not sure how to achieve this.
No, they are a very standard pattern.
It could be useful for content creators that value reusing their Python expertise over other factors. Also, many apps work better when every integrated component is written in the same language. Also, there’s a lot of code in Python for or supporting web programming. Finally, if people use AI auto-complete, many people say they’re more effective at common uses of Python vs other languages or situations.

I’ve found the performance issue to be serious in some situations. Fortunately, there’s a number of accelerators for Python code that boost its performance. They range from JIT’s (eg PyPy) to custom VM’s (eg Cinder) to writing fast paths in Cython to Python-to-C++ compilers (eg mycpp).

So, you get the productivity and familiarity of Python with performance boosting in many use cases. If it doesn’t work, then it’s better to write that component as an extension in a systems language.
Yes, but they could also generate the text and transcribe it onto paper by hand.

For many people, myself included, 90%+ work on things like thank-you notes, greetings, invitations, or some types of e-mails, is in coming up with the right words and phrases. LLMs are a great help here, particularly with breaking through the "blank page syndrome".

It's not that different from looking up examples of holiday greetings on-line, or in a book. And the way I feel about it, if an LLM manages to pick just the right words, it's fine to use them - after all, I'm still providing the input, directing the process, and making a choice which parts of output to use and how. Such text is still "mine", even if 90% of it came from GPT-4.
Musk Says He Wants to Save the Planet. Tesla's Factories Are Making It Dirtier
I had to buy an Ecoflow river 2 max because of outages, it was quite good for some time. But as it turned out you have to fully discharge and charge it back every 6 months (if you don't do it, you lose the warranty).
I didn't do it, and apparently something happened either with one of the batteries inside or with the sensor that gauges the charge level. I cannot charge it, because it thinks it's 99%, and I cannot discharge it because it's actually 0 and it dies immediately. Previously, I was able to discharge it slowly (it would die but after a while I'd get it to 98, 97 etc) but not anymore.
I can't say I wouldn't do it again because I didn't have much choice at the time.

Another thing I bought which I regret is a used system76 laptop. I originally planned to use it during said outages, but battery life is very far from what I expected (I guess it being old and me using linux doesn't help too).
"No planning" is definitely an extreme stance, but probably more a rhetorical position as a counterbalanced to decades of accrued well-intentioned but misguided planning cruft.
Once you have the tools to manage all of that, you effectively have kubernetes. Container vs VM is largely irrelevant to what the op is complaining about when it comes to k8s.

People that don’t like k8s tend to be fine with docker. It’s usually that they don’t like declarative state or thinking in selectors and other abstractions.
> That might not be legally relevant but it is certainly ethically relevant.

I don't know if it's ethically relevant. I'm sure there was someone named Matt Damon before the actor Matt Damon, and maybe that guy was even an actor, but I wouldn't say today's Matt Damon is ethically violating ancient history's Matt Damon.

What is the right rule for abandonware? It can't be, whoever got there first. Anyway. I don't buy your timeline. Redis-rs comes after the name Redis, certainly, which these guys now own. It doesn't matter when these two events you picked out of a hat occurred.
I dislike the amount of access to your entire OSN screen you have to give to these apps. is there an offline or open source or OS based solution?
I can’t speak to Android, but I’m not surprised by the lack of iPhone sales at all—-they haven’t shipped any AI features yet!

WWDC has gone from a launch announcement to an upcoming roadmap, so these are basically iPhone 17 features for most folks.
Related. Others?

Robust continuous time crystal in an electron–nuclear spin system - https://news.ycombinator.com/item?id=39290173 - Feb 2024 (1 comment)

Physicists link two time crystals in seemingly impossible experiment - https://news.ycombinator.com/item?id=31766804 - June 2022 (94 comments)

Stanford physicists help create time crystals with quantum computers - https://news.ycombinator.com/item?id=29454973 - Dec 2021 (3 comments)

Google team may may have achieved a scientific breakthrough: Time crystals - https://news.ycombinator.com/item?id=28016699 - July 2021 (3 comments)

Eternal Change for No Energy: A Time Crystal Finally Made Real - https://news.ycombinator.com/item?id=28008202 - July 2021 (35 comments)

First Video of an Actual Time Crystal Produced – But What Are They? - https://news.ycombinator.com/item?id=26425354 - March 2021 (1 comment)

Physicists have filmed the oscillation of a time crystal - https://news.ycombinator.com/item?id=26313932 - March 2021 (99 comments)

The Exquisite Precision of Time Crystals - https://news.ycombinator.com/item?id=21270265 - Oct 2019 (20 comments)

Yale physicists find signs of a time crystal - https://news.ycombinator.com/item?id=16990495 - May 2018 (102 comments)

Ask HN: Can anyone explain space-time crystal for dummies? - https://news.ycombinator.com/item?id=13742653 - Feb 2017 (2 comments)

Scientists unveil new form of matter: Time crystals - https://news.ycombinator.com/item?id=13505287 - Jan 2017 (69 comments)

Physicists Create World’s First Time Crystal - https://news.ycombinator.com/item?id=12655114 - Oct 2016 (126 comments)

Time crystals might exist after all - https://news.ycombinator.com/item?id=12474029 - Sept 2016 (53 comments)

‘Time Crystals’ Could Upend Physicists’ Theory of Time - https://news.ycombinator.com/item?id=5634903 - April 2013 (48 comments)

Researchers propose a way to build the first space-time crystal - https://news.ycombinator.com/item?id=4570144 - Sept 2012 (20 comments)
I've been looking at some of the Mikrotik releases; I'll almost certainly be going Mikrotik when I get around to upgrading my home network to 10Gb, I'm just looking out for new APs and will probably replace them all at once.

Current using Unifi AP-AC Pros and Unifi 6 Pro around the house, but I keep having to move them around because the (newer) U6 Pro has atrocious range on both 2.4GHz and 5GHz compared to the AP-AC-Pro and my wife is getting annoyed at the poor WiFi signal on the living room TV (constant buffering), so I put the AP-AC-Pro back and it's better for the TV but slower for everything else.

Not sure if there's a better Unifi AP I can get for this part of the house or if I need to switch everything out as don't want to mix AP manufacturers/management tools.
Every item on the poll is something that I - as someone who has never used OpenWRT but might be interested in it to replace what I have now - do know know why I care. If I developed OpenWRT I'd have an opinion on Rust, but since I don't I shouldn't have an opinion.
Eh... There's pretty good odds Coinbase will still give customers that either deposit to TC or have funds that came out of TC trouble because the broader AML compliance rules very much still exist.

What this ruling does mean though is that the government can't prosecute a US person for using TC.
I deleted the apps and then also got the mobile web/ native apps versions. it also seems the algorithm is very hamstrung given that the browser versions cannot access all of those phone permissions. now it makes it think what all data are your apps even collecting?
Not sure how you’d even measure that meaningfully.

My comment above was more k8s vs classic server rather than thinking about cloud k8s in particular.

I do agree that cloud is stuff is a huge time sink. I’ve learned to look at it in terms of how close it is to FOSS like world. Things that follow normal protocols and standards like say it speaks Postgres or is a docker image then cloud is ok. Things that are cloud vendor specific or a custom product…run for the hills. Not only is it lock in but also that’s where the pain you describe is. The engineering around it just becomes so much more granular and fragile
That’s the recruiter’s job, not the interviewing engineer’s. Once a candidate gets time with an engineer, the assumption should be that they are at least kind of good, and not an outright fraud. A good enough fraud might get through this, but a genuinely good engineer might not get through the nano questions.
Explain what? Sarcasm? :).
Why would these be related?
So no say at all, as to what goes into our own bodies? Really?
Try this: https://github.com/Rilshrink/WebGLRipper

(No clue if it works, I can't actually use it due to Europe)
To me this feels kind of similar to the idea of verifying tokens in a compiler by querying an oracle. i.e. in the script compiler for my game engine, there's an additional pass at the end of compilation that checks things like filename literals or entity ID literals against a database of assets or a list of all the scripts that were compiled, so when I hit F5 in visual studio any typos in those literals are caught before I waste time booting the game up.

It would be interesting to be able to do this eagerly during parsing, so it's neat to see people thinking about doing this at a regex level, though I'm having trouble thinking of specific cases where I would both want to use a regex and want to query an oracle from inside of it...
Fair, but I think the article itself is very clear on the importance of the mentor. It's an fun question that hasn't previously been posed, which itself is quite impressive.
Ask HN: Has anyone successfully POC-ed a math-based alien communications primer?
A common-ish trope in sci-fi movies/books is the bootstrapping of communication between alien beings using a sort of mathematics-based "primer", whereby atomic mathematical assertions (such as demonstrating truth and falsity), etc are used to "build up" a language for cross-alien being communications.

In these stories, it's taken for granted that doing this can indeed bootstrap language.

That said, has anyone actually developed such a proof-of-concept for actually bootstrapping a language based on atomic mathematical principles, or is this simply left as an exercise-to-the-readers'-imagination?
Man, the conspiracy theorists are going to have a field day with this news, but I think this is great! While I'd still prefer we just eradicate the disease carrying mosquito population entirely, this keeps our enemy in the ecosystem where they can be some other critter's breakfast while still helping to mitigate one of the worst harms they cause us.
Nah, it's not lack of trust, it's just compliance and plausible deniability.
An Accident of History (2000) [pdf]
nah, people who know that cars kill a _whole_ bunch of people each year, and believe that car ownership should come with full responsibility by the owner when it comes to whether their computer-on-wheels is compromised or not are just as free to post to HN as people who think that that's not the car owner's responsibility. If you have car with remote shutoff/control, you owe it to both yourself and especially your family to stay up to date on news about that. The world's bigger than just the US, some countries place more value on personal responsibility than others.
[Recycling a comment from another submission on this]

> The court found the contracts aren't property because no one can control or change the application's code any longer. In fact, the creators took pains to make sure of that.

Hmmm... Hunting for analogies, perhaps it's like an event where people arrive at the park, everybody puts a fixed $20 in their own opaque anonymous box, and everyone blindly shuffles boxes before leaving with (probably) someone else's box, thus cross-shuffling their money/coins.

Sure, the $20 before and after is property, but the event itself isn't really own-able in the same way.
I mean, this isn't even parody at this point.

I guess when projections are crumbling, the faithful need encouraging fairy tales.
Author here!

It’s a fun problem to solve and one I’ve come across before when trying to alert on your monitoring tool being down, but slightly different when it’s your product.

Hopefully interesting if you’ve hit similar puzzles before.
has anyone dug into whether one sec is safe (private offline on device as it states)? it requires access to accessibility settings, which means that it could be reading all of you cryptocurrency apps, passwords as well as two-factor authentication
In the unlikely event that this happens again, boot to single-user mode by typing `-s` at the `boot:` prompt. Then you can re-mount the filesystem as rw and change root's password:

fsck -y /dev/hd0a
mount -w /
passwd root
sync
reboot

Then log in as root at the graphical login prompt and you can use the graphical NetInfo admin tools to list/create/reset regular users.

One can also replace/reset the local NetInfo DB entirely by copying `/usr/template/client/etc/netinfo/local.nidb`, `/usr/template/client/etc/hostconfig`, and `/usr/template/client/etc/hosts` over the files at the same paths minus `/usr/template/client`.
What I did (helped me eventually delete them) was offload the "bad" apps on my phone so, if I wanted to access them, I'd have to wait for them to re-download. This is an iOS feature where the pointer to the app and the local data remains, but the app bundle itself is deleted. I think it's primary use case is to manage scarce disk space.

It forced me to reckon with the fact that tapping on these apps is often a system 1 instinct. The forced delay to reinstall the app is an escape hatch into system 2 thinking, a mode in which I normally realize I don't even want to use the app, I'm just bored. And then I'd pick up a book or use my newspaper-reader-app (i.e. a more intent/system 2-driven choice).

Off-loading apps or even just removing them from the home screen is really helpful. It gives your system 2 brain an opportunity to mutate your environment to make system 1 processes lead to more fruitful outcomes.

For the same reason, I clear my browser history every month or so and avoid bookmarking certain sites like hn or reddit.
Opal is incredibly helpful for me. Exactly the right amount of control and annoyance to get me off social media.
Coming next - Microsoft CPO Lionel iPad tenders his resignation...something to do with intangible not-quite-right "fit" with the org.
Thanks for +1 what I just said. So, apparently, it's not just me and my peers who think like this.
They shipped earlier this month, but were underwhelming:

https://arstechnica.com/gadgets/2024/10/apple-releases-ios-1...
No way I'm doing anything work related on any of my personal devices. I have a separate work phone. I turn it off at the end of the work day, and leave it at work.

I used to answer emails from bosses and managers while at home (at a previous employer), but it gets out of hand quickly and then they expect you to do it. Never again. Set boundaries immediately. At 15:00 I'm gone.
S3 has touted 11 9's for many years, so before shardstore definitely.

The 11 9's is for durability, which is really more about the redundancy setup, erasure coding, etc. (https://cloud.google.com/blog/products/storage-data-transfer...)

fwiw availability is 4 9's (https://aws.amazon.com/s3/storage-classes/)
> So no say at all, as to what goes into our own bodies? Really?

Right? Everyone has been kindly asking malaria to stay out of our bodies for ages now! Malaria has no respect at all for our rights!
>which has become completely diluted at this point.

Isn't it common in TCS to consider the class X with oracle access to decide L though?
Antartica is a lower difficulty level, I think. Small permanent antarctic bases are borderline feasible, and manage to exist, just about. Everest would be considerably more difficult (though, obviously, not remotely as impractical as Mars).
The word "captured" was very apt, as food companies make donations to the American Heart Association and the American Diabetes Association in return for their stamps of approval. This is not a conspiracy theory, but has been documented:

ADA takes money to promote Splenda: https://www.reuters.com/legal/litigation/ex-director-accuses...

AHA takes money to promote foods like ham which raise heart disease risk:
https://huffpost.com/entry/health-news_b_4398304

AHA advisory cherry picks trials to reference, on the back of funding from Procter & Gamble (Crisco) and Bayer (soybean oil): https://www.latimes.com/science/sciencenow/la-sci-saturated-...
How is it great? It's the equivalent of someone coming up to you with a needle full of something and stabbing you with it (that they already stabbed other people with) without your consent.

I just don't see how injecting people with genetically modified parasites without their consent is "great".
Tesla Is Looking to Hire a Team to Remotely Control Its 'Self-Driving' Robotaxis
> Intentional planned consumption/obsolescence

No it isn't. It is simply optimization of price and the features/form-factor that many buyers have demanded.

If anything, the lifespan of a ~$1.50 household LED bulb is quite incredible. I'm not sure exactly how anyone would be able to increase the lifespan at that price point and keep the traditional Edison form factor.

> Amazon should be required to test all [..] products on its site such that they can prove safety and standards conformance.

No, the manufacturers should be required to... the same way it works for literally every other product with safety regulations.
This sure reads like paranoid drivel. Can anyone comment on the veracity of any of this?
The app I always knew I needed but never thought I wanted too.
Interesting: it didn't work at all when I tried installing it only a few months ago... time to revisit it!
on the spectrum of “right <————> wrong” answers…

… because it is a spectrum as it’s not binary/mathematics we’re dealing with here, it’s fuzzy human stuff…

… there is a difference between “absolutely wrong” and “not right as much as that other person we interviewed”.

there are absolute wrong answers. if you tell me in the interview that you worked for north korea’s security services im noping the fuck outta that interview.

but if you say “i hate XYZ” and our team loves XYZ, then, like, i mean, yeah, that’s not ideal. it’s not wrong. maybe we could put you on something where you don’t work with XYZ directly. but are you going to be as happy and productive as someone who actually likes XYZ? cos you’re gonna have to deal with XYZ at some point working here.

there are absolute wrongs, but, 99.99% of people don’t say things like that in interviews.

and the things you seem to be referring to in a binary manner right/wrong are, really, more about where in the SPECTRUM of right/wrong you come out in the aggregate.

that’s why we tell people in interviews that there’s no wrong answer. it’s to help calm them down, help them feel comfortable, so we can find out where they sit on the spectrum of “fitting in” without interview anxiety getting in the way and making them give stilted answers where we, as interviewers, don’t get a chance to find out who these people are.

edit: sorry i added a bunch after posting. i’m having one of those days.
The aim of maximising happiness is doomed to fail as a public policy
In some ways it does reduce the climate crisis. A person sitting on their couch browsing memes is less carbon intensive than someone driving to their friend's place or something outdoors.
GDPR compliance also requires explicit opt-in, so ignoring those popups has the same effect as refusing to be tracked. YMMV of course, but I don't see why ignoring cookie banners should lead to worse results than laboriously denying to be auctioned off.
At my last job we had a Kubernetes upgrade go so wrong we ended up having to blow away the cluster and redeploy everything. Even a restore of the etcd backup didn't work. I couldn't tell you exactly what went wrong, as I wasn't the one that did the upgrade. I wasn't around of the RCA on this one. As the fallout was straw that broke the camels back, I ended up quitting to take a sabbatical.
I'm intrigued by the possibility of Sumerian-level civilization existing prior to the Younger Drias.
The core foundation of OpenWRT is very solid. It needs items that make using and maintaining OpenWRT devices easier. A way to have centralized management of multiple devices (why do I have to manually update my SSID on every AP?). Make it easy to update (like Attended Sysupgrade). Make common 'extras' easy: setup a Wireguard VPN server, connect your network/wifi to a WG VPN, use DNS over HTTPS.
One Million Dinosaur Comics
Look, I know this is confusing (no, it isn't).

The person I replied to replied to me. I never mentioned city, but they injected the word city nonetheless probably because they had no idea what they were replying to or what the words meant. What qualifies whether any fixed permanent or semi-permanent settlement is actually a city, town, hamlet, or village is entirely subjective.
Why remove ssh from the LAN? Brute-forcing a cert-based login is unrealistic, and passwords should of course be disabled. You can add a passphrase to your ssh key to make it useless when stolen.

What am I missing?
Not strictly mathematical stuff but the wikipedia page has references to a whole pile of the more serious ponderings on this https://en.wikipedia.org/wiki/Alien_language
RISC-V Changes for Linux 6.13 Deliver Pointer Masking in User-Space
Second that. GDPR actually made those aspects clear and never caused a headache during implementations I've seen or participated in (more like a checkbox on a list). When I see any complaints, then it's clear some iffy user sniffing is happening.
also see "pay for indulgences" for a preview of Chapter 2