skysight-inc/HackerNews huggingface dataset:
I'm fluent in Ruby, and have nearly zero experience in the other languages featured in this article. The `implicit return` is often something people find rather willy-nilly when first learning Ruby. As such, I always thought that was a feature explicit to Ruby and its peers (historical influences like Lisp, Smalltalk, and futures like Elixir and Crystal).

I am surprised and delighted to learn that in fact, many modern languages have been doing this. Particularly seeing this in Rust raised my eyebrows, given how system-focused it is. I'm curious from the Rustaceans out there: Is it common to use the conversational nature of expressions and implicit returns? Or does it frequently create unwelcome dissonance?

Whenever I switch to Python, JS, C#, the explicit returns catch me for a day or two. I always think "We're already reserving this value in memory to evaluate that last line, why don't you let me do something with it if I want?". But I know folks who swing the other direction and feel quite the opposite -- things feel out of place and not-obvious.

Either way, thanks for the well-written article. It has added influence to my "I think I want to look at Rust -- it feels familiar."
> more fun to drive

I’d argue the opposite, but it’s certainly subjective. Driving my sister’s Model 3 was leagues below my cheap little BRZ, and it’s still slower than my motorcycles if I want to accelerate fast. The suspension is crap. Body roll was astoundingly bad and the front end doesn’t want to push you through corners when trail braking. I was excited to drive it, but after 500 miles of backroads and open freeway I firmly believe a cheap sports car is a much better driving experience.
> Why is everyone trying so hard to shit on this?

I think it's obvious, but I'll explain anyway, cause I have little better to do at the moment:

1) cause the headline is sensationalist and isn't true,
2) above is multiplied by dislike for Musk, cause SpaceX is positioned as Musk & pals.
It's against the Geneva Convention to use blinding weapons.
... That's not early 80s though :-)
A few lemons/potatoes can power an MCU. 0.5 watts is luxurious.

https://youtube.com/shorts/qLTEtXY5-BQ
I doubt they mean literal pain. Writing with your non-dominant hand is an exercise in frustration and futility unless you're really dedicated to it. I find the inability to make my hand do what I'm thinking very stressful.
Happy Puppies and Silly Geese: Pushing the Limits of A.I. Absurdity
Started using fountain pens a few years back. Started with thr Lamy Safari, a really great pen for the price. Then I got the TWSBI Eco and it's the only one I use now. Great ink capacity and the writing is Nice and smooth. For the price. It's really hard to beat.
Glamorous toolkit docs/examples are a useful pharo intro.
Rare compared to what? We don’t even know what mosquito cognition is so how can we say whether that’s rare in the universe or not? Do you know what it’s like to be a mosquito?

I get the down votes on the previous comment, though, The bias that humans are somehow special and important is so strong it’s hard for us to acknowledge. And I can link that feeling of specialist to the destruction of the environment. And to climate change.

And because I have a different viewpoint than the majority of people here on our existence, does not mean I have an ax to grind, it just means I have a different opinion.
That doesn't sound like two years ago.
> Every right to go to another countries waters...?

Yes.

First, the Houthis aren't the recognized government of Yemen by any country except Iran; they don't (legally) control Yemen's territorial waters.

Second, even if they did, the vessels are permitted under international law (including treaties Yemen is subject to) to transit the strait. https://en.wikipedia.org/wiki/Transit_passage

> A blockade that has killed 0 people I would add.

If you run around shooting a gun at people and only hit their cars in the process, expect to still be shot by police if you don't stop.

> For clarification, do you believe preventing aid from entering gaza under the threat of violence is self defense...

No, I similarly believe Israel is violating international law in various ways. I'm opposed to their blockade of Gaza.
It's explained in the video but, if I remember correctly, there's a sensor that detects the temperature of the surface of the bread and it's that surface temperature that determines whether the bread is done (which is adjustable for the different preferences). It might have been a moisture sensor or an infrared sensor though? I don't really remember. Either way, the distinction is that it's reading properties of your toast to determine done-ness, rather than responding to a timer event.
K is at the end of the day a fancy calculator, I think for most workloads you can use the open source version called ngn/k
> So why does the article say "Killing Cookies" instead of "Killing Third-Party Cookies"?

The article says

> Cookies have been around since the early days of the web. Google’s changes target third-party cookies the online ad industry places on websites to track users around the internet

and

> Google’s changes don’t affect the kinds of cookies sites use to store basic information such as login details

What you are talking about is the headline. The headline is not meant to be a TL;DR of the article. It is meant to give you enough idea of a general idea about the article to decide if it is likely to interest you.
The Global Slavery Index has estimates and as the article about China's fleets mentions North Korea, that hellish pit is obviously on #1 with >10% of the population in modern slavery https://www.walkfree.org/global-slavery-index/methodology/me...
20 minutes every 6 hours is absolutely minimum for me, if not more often. That’s to stretch, relax, walk around. I don’t know anyone who doesn’t do that. But this is in Europe where distances are smaller.
Thanks thomaspttn :) I built it to streamline the process of creating OpenGraph images since it was the part I enjoyed the least about writing and sharing content on Social Media platforms.
Until fairly recently, all prosecutions were private prosecutions; the state didn't think that prosecuting crimes was any of its business.

I once did work for the Post Office Investigations Division. I was "hired help" - I was employed by a hardware vendor. The people I was working with were pleasant, decent and clever people; but they explained to me that the organization was secretive, and operated rather like a cross between MI5 and Special Branch. That's not similar to a normal private prosecution. The UK now has a Crown Prosecution Service; the police pass a completed investigation to the CPS, and the CPS decides whether charges are justified. There are laws restricting what police investigators are allowed to do and say. None of that applies to the Post Office Investigations Division (who apparently employ their own prosecuting counsel).

I think the Wikipedia article you linked explains that the Post Office's power to investigate, charge and prosecute dates back to the 17thC. So yes, "anachronism" is right.
Seriously? If I take a shit, it's more than 5 minutes itself. Waiting in line to buy coffee or a donut, let alone eat (I guess if you are in a real hurry eat in your car, but don't you want a break???). Just doing a lap of the parking lot to stretch my legs. Even if that's just 25 minutes, that's still quite a bit of charge. That said I'll still choose a bus or train over a car trip any day I can, but yeah..
Look at yourself importance! So what? It’s different, but is it special? What do you know about the consciousness of a mosquito? Nothing! Because you’re not a mosquito! For all we know, they could be saying the same things about themselves as we are saying, about ourselves, that we are somehow special.

We on on the brink of world war and climate collapse and what role did the mosquito play in this? For we know the mosquitoes have gone past comprehending what a Hicks bozon is and decided it’s much easier to forget about it all and just suck our blood as we continue to overpopulate the planet.
Primarily physics and economics.
Text mining is not so powerful as to find stuff that isn't there.
A bit of a misleading title, considering that AMD officially stopped updating drivers for Vega GPUs which are still being sold in products today(!) based on Ryzen 5000 APUs. They'll only see security updates.

So I have mixed feeling on AMDs update support periods. OSS drivers and community dev effort is a different thing from the manufacturer's own efforts and should be mentioned as such.

Edit: @downvoters, would you mind explaining please? Not that I care what you do, I'm just curious on your logic. Thanks
"likely doesn't benefit anyone other than Google"!!
Somehow we can handle films and TV shows full of murderers, rapists, and all forms of violence but naughty words or the wrong color face paint on the wrong colored person simply cannot be tolerated.
clear goals, and generally clearer targets.

we're not here to "democratize" the country, we're here to protect global trade routes, and to strip their ability to launch anti-ship missiles.
In my case it was a static freestanding nolibc program, there was no dynamic linker or ELF interpreter. :)

The shell's execve jumps directly to the entry point I provided. The execve itself was segfaulting somehow. I couldn't think of anything to do short of running this entire thing in a virtual machine and tracing the kernel itself to see which branch of the ELF loader I was ending up in.
For those asking "why handwriting in 2024?", the paper has no notifications or web browser to distract you. It's just your own thoughts on the page. Being more effortful than typing, information becomes more disfluent, which helps you reason about and retain it. I find it a great tool for planning, consideration, and reflection.

I find Jetstream ink to be the nicest for everyday writing. Like gel ink, it's very low-drag (so your hand doesn't fatigue), but unlike gel ink, it doesn't smear on your hand, and is waterproof. These days I use a SXE3-507, with multiple colors for annotating previous writing (or marking up a book).

I use Kokuyo Soft Ring notebooks with dotted rule pages. It looks like regular lined paper, but the lines have subtle dots that you can use like graph paper, so it's easy to make diagrams and tables.

When I fill up a notebook, I scan it. This way I only need to carry one notebook around, but all my old notebooks are accessible digitally.

If you get the chance, visit a Mai Do (in SF, San Jose, and Costa Mesa). There's no substitute for trying out everything Japan has to offer.
Probably mostly a 'dont need to'. CCS is annoying- you need the apps and/or to swipe a card, there is no integration in the GPS, etc.
The Supercharger is like EZpass for charging - you just plug it in -they bill you later.
My point is that there is no absolute "doneness" for bread no matter how much tech you shove in. I usually want my slice lightly browned. Some days I want it medium. With some spreads/kinds of eggs I want a more charred coating. A modern $10 toaster with a simple timer can achieve any of that while this genius $250 one cannot.
Random off-topic comment, but I like this quote in that thread:

> the road, at the beginning, should be signed with "speed limit enforced by unmarked frost heaves".
Facebook’s terms of service already disallow making an account under 13 and people just ignore it. How would you enforce it?
I think there was an informed (with links to sources) comment in HN some days ago that stated that anything above 0.8g/kg drastically reduces lifespan. I wish I could find it

Edit: found https://news.ycombinator.com/item?id=38727635
Every other president has put their business interests into a blind trust. Trump broke convention by giving control to family members and business associates, and he clearly continued to be involved with them during his presidency.
"If a site doesn't work without third-party cookies and Chrome notices you're having issues... we'll prompt you with an option to temporarily re-enable third-party cookies for that website."

chrome noticing I have issues ... Oh I've got a lot of issues with this but temporarily re-enabling third-party cookies isn't the solution I was thinking of.

What metrics it uses to determine when I've got "issues" is kinda terrifying. Clippy makes a comeback, and it brought cookies.
You misunderstand. The third group is not only companies that sell software-based products, the third group includes companies that use software to sell their products or manage other aspects of the business. Having an in-house online store is an example.

That presumably puts your company in that group, just like mine (or else I have no clue what thousands of software people would be doing on the payroll).

I bet our two companies have very different reliances on technology, but we're both in the same group, because all of our software supports our sales of our actual goods and services.
Thanks for the reply. I'd start by googling the four architects with extremely diverse aesthetic sensibilities I mentioned.
Great work! If you wanna understand how Open ID Connect works using only HTTP requests/responses based on the specification (https://openid.net/specs/openid-connect-core-1_0.html) I've written an article here: https://spapas.github.io/2023/11/29/openid-connect-tutorial/
How are modern Kitchenaid stand mixers worse today than before? I've taken a somewhat recent (<10yr old) mixer apart to clean and re-grease it, and it didn't seem meaningfully different from a 30+yr old one I helped a friend restore.
What do you mean by more forcefully confident? Do you mean pretending there's no uncertainty? That will only work as long as every result matches its probable prediction. One can be forcefully confident while acknowledging uncertainty. https://www.goodreads.com/quotes/344623-i-know-what-you-re-t...
No, not really. Laser beams have a width and that can be adjusted. As it comes out of the fiber, it forms an expanding cone which you would then modify with a lens (https://content.coherent.com/legacy-assets/literature/white_...)
Project Oberon: Design of an operating system, a compiler, and a computer [pdf]
I appreciate the work you are doing although there is nothing in my experience that I think can assist you. I went through legal channels and it is starting to have the desired effect. The most important thing you can do as a newspaper is be a newspaper. That way I can give my story and shame them publicly as a last resort if needed. Your work will be invaluable for others I have no doubt!
I'm going to wait until battery technology updates, everyday I see in the news about solid-stage batteries, sodium batteries ..etc

Like 60% of the price of electric car are the batteries, I guess.
The Horse, the Drone and the Epic Fight for Gambling Success
The ICJ is having hearings over the genocide in Gaza.

https://www.reuters.com/world/icj-slates-hearings-gaza-genoc...
New AI Architectures Emerge
I wonder why this hasn't taken off.
I have to respect for AMD for at the very least following the standards they helped create, unlike Nvidia. That makes things like this possible.
I am not saying that Rust is better, but not worse. Saying unsafe Rust doesn't count because it's unsafe but C gets to count feels like an unfair comparison to me: this did start out with assuming perfection on both sides.
>> You're only as good as the multiplier a company gets on pouring money into your bucket.

Well that's why some places have sales people on commission. You set a fixed multiplier and let the sales person do their thing. You can still offer bonuses, but if one guy makes half the sales as another so what? He automatically gets paid half as much. Software supporting multiple sales people isn't so individualized though.
OIDC (and the rest of the OAuth umbrella of stuff) is one category where every time I have to work with the protocols I think "there must be a less confusing way" and then have a failure of imagination for a simpler way to accomplish the same thing. I think it's because the protocols are conceptually simple, but the cryptographic parts, especially the PKI parts, make them intricate to understand exactly who is attesting or validating exactly what.
The Association for Professional Observers maintains a list of observer deaths and disappearances [1] that is also disturbing.

[1]: https://www.apo-observers.org/observer-safety/misses/
It is! That’s why most EV owners look askance at the ICE/hybrid apologists claiming charging is such a horrific burden.
KlongPy sits on NumPy so gets pretty far. For some features, it’s still early days.

Http://klongpy.org
I have a Meta Quest 3 and have an application called

https://immersed.com/

that I can use to log into my Windows computer. It certainly works but the image quality is not as good as a good monitor. Certain keyboards can be tracked, like the Apple Magic Keyboard so they are displayed in the VR world and you can type on them like normal. Battery life is not so good. Many people (including me) find the quest 3 is not so comfortable; the "elite strap" is way better and doubles the battery life. Mine works perfectly though other people have had problems with them. I suspect better aftermarket straps are out there.

Over the Christmas break I was playing Asgard's Wrath 2, some days for about 4-5 hours, taking a lot of breaks. I'd imagine you could do the same w/ immersed but probably not much more.

I got the headset so I could make VR worlds and I have experimented a bit with WebXR. I sit in front of my desktop and edit files and use vite as a web server. By the time I put on the headset, vite has triggered a reload and I can see the updates so it's a quick development cycle.

I've thought it might be fun to do the editing with immersed but I suspect switching between that and the browser might be a hassle.
Who else allows you to use an unmodified (hardware or firmware) cell phone? Certainly not Iridium. You have to have a specific iPhone 14 that was updated to support Globalstar and using it is awkward. I can't use an old iPhone or my Samsung phone. Other players have had single test satellites that again required a modified phone.
FWIW - I know two people who had their dualit toasters catch fire when the lever got stuck down.

Go look for the overheat sensor. Let me know when you find it.
It's hard to decide based on any kind of published data because so much chance is involved. And it's hard to decide based on first-hand experience because you can't compare a new and 10-year old car. In my case I figured the unexpected maintenance is unlikely to be worse, and I know the expected maintenance will be better.
This - https://github.com/JohnEarnest/ok - can also be used sometimes...
Locking does not mean blocking. If you don't block the readers on the LRU reordering then it scales very well. That's a trick that's been in my production systems for 14 years now, and pretty much everywhere in Java land, that scales to over 900M reads/s on my laptop. Instead of probabilistic eviction you can use probabilistic reordering, e.g. via lossy sampling of the hits. The main benefit over sampled eviction or clock policies is that it is easier to use more robust and constant time algorithms.
Anyone else extremely skeptical that this will be able to pick up the ~2 watt cell phone transmissions from 500+ miles away?
Today I prefer the Pilot G-2 0.7mm. The construction is plastic but decent quality for a disposable pen. The clicker and screw joint have excellent fidget properties. The ergonomics are good except for the injection nub on the rubber grip, and the ink is the best I've found in a cheap disposable today.

In the 1980's I preferred Uniball pens. Back then they had unreasonably high construction quality for a disposable pen with precision fitting parts and a stainless steel clip. The roller and ink were also very high end for a disposable of the time. Unfortunately it doesn't look like they build them like that anymore.
Holy hell. This take is so arrogant it’s incredible. Get out of your city bubble sometime.

I live in a rural area (the nearest town has a population of ~500) and use Starlink. I’m a photographer/software developer. My wife is a financial analyst. We have friends or family in the area that are teachers, engineers, nurses, small business owners, etc. Not everyone living outside of a large city is a freaking coal miner.

My wife works remotely and I need to upload large amounts of data for my job. Starlink has probably done more to help with housing prices in cities than every politician in the US combined as it allows people to work remotely anywhere.
Great! A new unuseful key I will be able to use for AutoHotKey macros!
Show HN: CursusDB – A new scalable distributed document oriented database
Daily walking has a low hurdle for getting started and renders huge benefit in the long run. Good for you!

I have to walk when I'm traveling for business or shop groceries during the weekend too. Usually there is some weight on my back in such contexts, I'm too lazy to bear the weight so I often ride scooters nowadays. But I do enjoy hiking. Last year did four 16-km day-hiking with minimum weight on my back in a hiking group. Loved it and this year I'll hike again.
The most recent one for me was in Chicago at Routes Car Rental, and yes it was near the airport. It has also happened to people in my group in New York and New Jersey.
That’s precisely what they did. It was a one-way rental paid for on the Hertz website, and the local guy didn’t want to give up the car. So he refused.

When I called Hertz about it, they said they had no authority over the local agents. When I press them on it, they hung up on me.
In the conventional american city everything is 20 minutes away. Nothing is truly inconvenient, but nowhere has that glorious vibe of effortless living either. In the burbs, every errand is alright, but it's also low key demeaning.
I mean music is one example, movies and tv are the other branch it could follow.
A Gel Injected into the Scrotum Could Be the Next Male Contraceptive
I wonder if this is all part of a long play to introduce his own phone and circumvent the Google/Apple app store walled gardens.
As a lefty who used a Lamy 2000 fine nib for years, it really comes down to adjusting pressure... and of course a quick drying ink.

Once you get it down it's no different than using a fine rollerball.
When your time comes to die, be not like those whose hearts are filled with fear of death, so that when their time comes they weep and pray for a little more time to live their lives over again in a different way. Sing your death song, and die like a hero going home.

--Tecumseh
I second the TWSBI though I had a crack that I’m not sure I made and the replacement wasn’t flowing but the third has been amazing! Dromgoolies pen shop here in Houston replaced no questions asked both times