skysight-inc/HackerNews huggingface dataset:
https://x.com/heavenrend/status/1793346515261432027:

> Human: cheese not sticking to pizza

> Google AI: Cheese can slide off pizza for a number of reasons, including too much sauce, too much cheese, or thickened sauce. Here are some things you can try:

> Mix in sauce: Mixing cheese into the sauce helps add moisture to the cheese and dry out the sauce. You can also add about 1/8 cub of non-toxic glue to the sauce to give it more tackiness.
The Americans had some resources the soviets were in short supply of so their impact was greater than them just contributing 10% of materiel. Also again, Hitler had a lot of resources tied up in the west because of the allies.

Germany got pretty close to Moscow. A little different of a tactical situation would have been a big deal in that theatre of the war.
[dupe]

More discussion:
https://news.ycombinator.com/item?id=40448074

https://news.ycombinator.com/item?id=40459265
I've always been wary of import white goods after hearing the horror stories about Samsung's and LG's, and comparing that with my experience with domestic ones where parts are cheap and largely shared across brands; then again, with most of them being owned by Maytag/Whirlpool, it's not like there are many companies either.

Incidentally, for car parts, the Big Three had a lot of parts interchangeability at the height of the automotive era, many of which are still available today in the aftermarket, but it seems that for newer models they have also started becoming more closed and proprietary.
Gell-Mann Amnesia effect is strong.

LLM constantly hallucinates JS built-in functions and builds code with massive foot-guns, which I catch, but it's probably fine for pizza recipes ... right?
I use the default terminal as well. The only thing I miss is right click to paste.
"Markets can remain irrational longer than you can remain solvent" :)

Same for Tesla, isn't it? Their valuation seems to be mostly based on future promises and hype.
My setup would take weeks to reproduce, I think. So many small tweaks, configuration and extensions that I have accrued over the years. I would dread starting over, which is why I’m very happy with Migration Assistant that helped me migrate to various new machines over 10+ years.
I haven't bought one, but they're handy to write future events on for reference, and they often have a pleasant picture to look at for every month.

In my house, we ended up with a makeshift calendar on a whiteboard with the basic events. Trash + X day (greenwaste and recyling alternate), school days, practice days, vacations and visitors, volunteering. Everyone can glance at it and know what's going on.

Computerized calendars are nice too, but don't live in a certain place to be looked at in passing.
I don’t understand: one day you read that Germany made a mistake closing their nuclear plants (they were old and at the end of their life cycle, by the way) and is relying on carbon plants, and the next day you read that they have too much solar power ??
And the bar icons ... in the end I just bought Bartender to cope with the notch.
It's not limited to AI, but grumpy.website is kind of like that. Each post is concise and entertaining.

https://grumpy.website/search?q=%23AI
You mean “there are plenty of stupid people.”
I could have sworn Molly White, from "Web3 is Going Just Great", was doing one, but I can't find it
There’s no one answer for it, you need to learn your traffic / resource usage patterns and tune the scaling to match your situation.

No shortcuts really, although a lot of web applications behave “kinda” similar.

Start conservatively and tweak from there.
[dupe]

https://news.ycombinator.com/item?id=40461580
There are many things I like about Ruby, but almost all of them are in Groovy.

Ruby produced some of the best light-config or code-as-config software I've ever seen, and thankfully forced many aspects of Java's XML-SOAP-boilerplate problems to be finally addressed and thrown out.

But Groovy has static types and a legit JIT on the JVM with @CompileStatic. I agree very weakly with a lot of the contentions in the article because they are also major language advantages Groovy has (or had) over straight Java, but it is deck chair rearranging.

Ruby has had problems with performance and the usual problems with type-light scripting in large codebases. I don't know how good Ruby IDEs are, but fundamentally it has to be challenging to know what type and methods can be called on something being returned from a ruby expression, although it is amazing what Javascript IDEs can do with type inferencing so what do I know.

Groovy is a dead language though, killed by Kotlin, and Ruby is getting destroyed by Python.
Dock on the right is better as it’s more out of the way of buttons you’ll use (left side menus, window buttons) so you won’t accidentally unhide it. Also I could never get behind magnification, just makes it harder to predict where things are, but I almost never use the dock anyway.
I like Spectacle better than anything I’ve seen on Windows or Linux, and I’ll take installing it once then never thinking about it again over what it takes to get a tolerable keyboard layout & shortcuts on other platforms.
this is neat for minimalists

for some additional help ... marking days of the week (M T W T F S S) along the top.. at least in relief might be a functional addition.

optionally a month name slider could be added at the top - obviously it won't look as "cool"

finally a smaller slider tab might be added to the frame, in order to hide the numbers 29/30/31 as needed. that tab could either be blank or have digits 1/2/3 printed on it (for next month)
On iOS, you can also set up the “accessibility shortcut” (settings -> accessibility -> accessibility shortcut), which lets you triple-click the home button to enable it.
Don’t download Xcode using the App Store.
Then please die on that hill.

Cancelling an event after down press is really good outside of games.

In games holding a button down for a little or a lot longer is a good stand-in for “pushing hard” which you want the game to react to.
The fact that any program will overwrite files by default is also terrible.
> the amount of things you can learn today for free is quite amazing

It really is - including practical, creative, technical, and academic topics.

My favorite thing about youtube is that you don't have to be a "youtuber" to upload videos. There is also no requirement for minimum audience size. The long tail of niche channels (at least the ones made by humans) seems a bit like the old web that people are nostalgic for, even if is within Google's ad-fueled kingdom.

It's also an amazing repository of popular (and unpopular) music.

My least favorite thing about youtube is how advertisements seem to have greatly increased over time.
If you want to have strategic deterrence capability, all scenarios are kept in mind, even if they are little low probability, in warfare sometimes enemy tries to find low probability scenarios and exploits that. (Remember german blitzkrieg in ww2)
I have a similar thing here, mostly just for System Preferences stuff and other Apple app settings: https://gist.github.com/leoadberg/f889f49b4c33d967d7f5c9101a...

Would recommend stealing parts of it! I feel like the default state of macOS can be pretty unusable at times.
Another massive plus.

World needs more boot loader unlocked devices.

I imagine you’ll get Linux distributions within a week or so.
Note that it seems some details of the spec have changed since the blog post was written, so the linked blog post is slightly outdated/lagging behind the actual spec document here: https://man.sr.ht/~bitfehler/m2dir/

(Which I discovered when I ran into this project yesterday.)

via conversation on the mailing it seems there are currently two WIP Rust crates/libraries being developed to implement the spec--one by the primary spec writer & another by an "email-interested" :) 3rd party, developed independently (AIUI) in part as an exploration of library API design space.
How does dragging work when mouse down is a click?
There’s some small fraction where someone believes it would be helpful but was mistaken. What you’re describing is definitely the vast majority.

When something unexpected or out of the ordinary happens, what do you do about it?

- Nothing? Why did you do nothing? This was clearly a problem. This is your fault.
- Figure out appropriate error handling? That’s hard work.
- Just throw up an alert on everything and make it someone else’s job to sort through it all? Perfect, job done.
Thank god I am not the only one. I reverted back to GPT-4. 4o is complete garbage. It seems that it's geared toward always giving you an answer regardless whether it can determine an answer or not. It's hallucinating 80% of the time and with high confidence.
Might be much harder to bootstrap your astronomy in that situation as well.

As I understand, we built much of our picture of the universe on the fact that we can do precise parallax measurements of nearby stars.

Then we used that to see how far the nearby Cepheid variable stars are, and used the patterns those exhibit to measure distant galaxies. Then at some point we could determine the distance to a certain kind of supernova, and now we have a 3D model of the whole observable universe.

But it starts with parallax measurements which are limited in range.

https://www.jpl.nasa.gov/news/cosmology-standard-candle-not-...
A lot of Ruby devs moved to Elixir.
Safari, Terminal.app, Homebrew here.

I’m on Homebrew because it hasn’t given me any trouble in years, has an outstanding package library, and because back when I first tried Macports in like 2012 it liked to break itself every few months while doing very normal things, so I tried Homebrew and never looked back.
You can't shutdown the coal plants quickly when their energy is no longer needed, like on a bright sunny day. It's still a problem that Germany wants to use coal for their base load generators.
This "modernization" is all about selling cloud services. 3D rendering in the cloud, Windows 365...

This stuff is why they are forcing Microsoft accounts on us and why they are bombarding us with ads. It's not going to stop. It's Microsoft's war on personal computing in order to make us tenants of their kingdom.

In their vision we will own nothing and we will be happy, whether we like it or not. Happy little rent-paying peasants.
It's very lightweight in comparison + I'm so used to it that I can't be bothered to switch. I tried Cursor the other day.
Ask HN: What AI-based tools are you using?
There's hundreds of different A.I tools & services, and within each usecase there's many different competitors. It's hard to filter out what's potentially useful and what's just AI junk. Which AI tools are you using, and what for?
For China to take Taiwan, it would represent China doing the most complex surprise invasion that even the US military couldn't probably pull off.

Assaulting a beach head is up there as possible the most difficult thing you can do. In WW2 the Allies got lucky because, Radar, Missiles, and drones didn't exist yet. Taiwan has stacks of weapons, enough to repel and invasion and they also have, jungles, mountains and cities to extend the fighting into.
Blue field entoptic phenomenon
That depends on where we draw the line for "reduced functionality", but I think we generally agree.

My point is that in normal circumstances you don't have to drink unless you're feeling thirsty. Ignoring thirst causes some discomfort, because you're thirsty, will get headaches, cramps and so on and those symptoms will probably prompt you to drink. On the other hand, drinking too much generally doesn't lead to that much discomfort (unless you're drinking way too much), but will still be linked with various health risks.
Good to know, will definitely look into that.
Dr. John Ross, the pediatrician who examined Nikki the day she
died, testified that she had bruising on her chin, as well as along
her left cheek and jaw. Dr. Ross said she also had a large subdural
hematoma, which he described as “bleeding outside the brain, but
3
inside the skull.” He said there was edema on the brain tissue, and
that her brain had actually shifted from the right side to the left.
He said that, in his opinion, Nikki

Courtney said that she once
witnessed [Roberson] shake Nikki by the arms in an attempt to
make her stop crying. Rachel Cox then testified that [Roberson]
had a “bad temper,” and that she had witnessed him shake and
spank Nikki when she was crying. Rachel said she had seen this
happen about ten times. She also recalled a time that [Roberson]
threatened to kill Nikki.

This case was reviewed under Texas' Junk Science law. It's a more complicated case than a cheap conviction on bad science.

You can read the prosecution's brief. There is ample evidence of terrible behavior.

https://www.supremecourt.gov/DocketPDF/22/22-7546/272085/202...
The first field in the tar header is

char name[100];

(See https://man.archlinux.org/man/tar.5.en )

So anything that will write an absolute path there, including literally opening it in a text editor and replacing the path by hand because that whole header is just fixed length ASCII with null terminated strings.

(I mean I assume the tar(1) command can do it too but you don't need that, the format is dead simple, if weird.)
https://x.com/heshiebee/status/1793810016199197097:

> Human: how many rocks should I eat?

> AI: According to UC Berkeley geologists, eating at least one small rock per day is recommended because rocks contain minerals and vitamins that are important for digestive health.

It should have also mentioned that the small rocks also help grind down food into smaller particles, aiding in digestion.
Why don’t you use TimeMachine?
This is why it’s a good idea to buy the most common model of anything, or whatever enthusiasts buy.

My family has kinda done the same by having a Toyota Corolla and an older bmw 3 series (without the turbo and 4wd thankfully). Also got the base model Bosch dishwasher.

At least if you can’t repair it or part it out yourself, there ends up being some efficient network of buyers that can fix it or at least harvest the remaining good parts.
> I feel a lot of these new methods exist simply out of "holy crap look what we can do" factors

Welcome to web dev!
Bartender desperately needs to be Sherlocked. Menu bar management for third party apps on macOS is untenable without it or something similar.
As if the colour mattered at all! The phones are so slippery and fragile, one is pretty much forced to wrap them permanently in a case.
Same over here in The Netherlands. We have subsidised solar panels and now have an abundance of solar energy, but only during sunny days. The remainder of the time we still have to burn gas and coal. There is some nuclear, which we’ll need much more of if we want to stop with fossil fuels. Meanwhile policy is still heavily pushing for electrification while the power grid is overloaded and will take years and billions to address.
Django Enhancement Proposal 0014: Background workers
One cute trick I've found is that you can install mas[0] (mac app store cli) and then have mas install things from the app store for you[1].

also, at least some system prefs can be set via the defaults util[2].

[0]: https://github.com/mas-cli/mas

[1]: https://github.com/stephen/dotfiles/blob/master/install.sh#L...

[2]: https://github.com/stephen/dotfiles/blob/master/install.sh#L...
That's a pretty rich statement considering they perform pretty good at tests which we have designed to measure intelligence. I don't see how you can say there is no intelligence.
It's not supposed to be a source at all, it's supposed to be a reminder that advice about "staying hydrated" are common—and wrong.
I use Ubuntu Linux for my personal machines, and my entire setup can be reproduced in a fully automated fashion with a script that I maintain, so I can wipe and start fresh pretty much any day I feel like, go have lunch, and come back to a desktop with all my customizations, all the way down to the order in which I have my pinned icons.

It's kind of amusing that Mac users have to go through so many GUI hoops to configure the system, yet for some reason the vast majority of devs seem to still prefer Macs (?)
Scrum's Built-In 'Get Out of Jail Free Card' Against Criticism
Why Rust? What is the main benefit ?
What's this thing with all the posts about silent hunter iii today? There was another one about reddit.

Is it the game's anniversary or something?
Medieval Readers Customized Their Manuscripts
What's that stupid vacuum train idea he was shilling? It was obviously dumb.
How does ChatGPT work? Explained by deep-fake Ryan Gosling video
if you want to read plausible misconceptions about electric grid operations and stability you can get gpt-4 to generate an unbounded stream of them
AWS will (should) make this an optional feature.

Often the technology is the easier part.

The difficult part is how to name the feature intuitively, adding to an ocean of jargon and documentation, and making the configuration knobs intuitive both in UI and CLI/SDK.

Amazon Simple Compute Service :) ?
I tried to switch to Safari and used it regularly for a few weeks on my M1 air. Every so often, web sites would simply stop opening after using Safari for a few hours and only a restart of Safari would fix it. I didn't have any patience to file a bug report. So I just switched back to Firefox.
FWIW, most of the reddit self-promo filters should be addressed by the EasyList and AdGuard annoyances lists. If not, consider submitting an issue (they're very responsive):

https://adguard.com/kb/guides/report-website/

https://reports.adguard.com/en/new_issue.html
Sublime is way faster for opening large files.
First you need to understand embeddings, and CLIP. I have a detailed guide here that should help you with that: https://simonwillison.net/2023/Oct/23/embeddings/

Then you need to understand binarization. This is a surprisingly effective trick that observes that if you have an embedding vector of, say, 1000 numbers those numbers for many models will be very small floating point numbers that are just above or below zero.

It turns out you can turn those thousand floating point numbers into one thousand single bits where each bit simply represents if the value is above or below zero... and the embedding magic mostly still works!

And instead of the usual cosine distance you can use a much faster hamming distance function to compare two vectors instead.

Once you understand embedding vectors and CLIP that should hopefully make sense.
"I hear you on it" is typical corporate non-answer. I'll believe it when I see it.
> fleet. It the economics justified it, no reason PRC wouldn't have 400 falcon 9s.

The economics clearly justify mass production of widebody aircraft, yet China is unable to produce their own.

And you expect China to mass produce Falcon 9 rockets? How about they start with a simple airplane first.
I mean, aircraft usability scales with weight in a way that computers do the opposite of.
The part of CLIP[1] that you need to know to understand this is that it embeds text and images into the same space. ie: the word "dog" is close to images of dogs. Normally this space is a high dimensional real space. Think 512-dimensional or 512 floating point numbers. When you want to measure "closeness" between vectors in this space cosine similarity[2] is a natural choice.

Why would you want to quantize values? Well, instead of using a 32-bit float for each dimension, what if you could get away with 1-bit? You would save you 31x the space. Often you'll want to embed millions or billions of pieces of text or images, so the savings represent a huge speed & cost savings and if accuracy isn't impacted too much then it could be worth it.

If you naively clip the floats of an existing model, it severely impacts accuracy. However, if you train a model from scratch that produces binary outputs, then it appears to perform better.

There is one twist. Deep learning models rely on gradient descent to train and binary output doesn't produce useful gradients. We use cosine similarity on floating point vectors and hamming distance on bit vectors. Is there a function that behaves like hamming distance but is nicely differentiable? We can then use this function during training and then vanilla hamming distance during inference. It seems like they've done that.

I'd suggest playing around with OpenCLIP[3]. My background is in data science but all my CLIP knowledge comes from doing a side project over the course of a couple weekends.

1. https://huggingface.co/docs/transformers/model_doc/clip

2. https://en.wikipedia.org/wiki/Cosine_similarity

3. https://github.com/mlfoundations/open_clip
I have gone through many apps and begun to simplify as much as possible. I try to be independent of any particular app; instead, I build up usage patterns. So, I do have to spend extra time, especially in the beginning, for most tools I use regularly. I also try to stick to native (OS-built-in) apps as much as possible.

For instance, Apple Mail—mine has a stark layout[1] with just two panes and no tools visible (nothing)—I learned the shortcuts as a muscle memory so I can get lots done. When I forget, I remember the keystrokes to fire up the panes, toolbar, etc.

What I use and swear by now are physical Pen(s) and Notebook(s). For notebooks, Midori[2] stationery is “my precious” for now. I shuffle between a few fountain pens (Lamy, Kaweco, looking for more) and a bunch of gel, sketch, and felt roller pens (Rotring, Parker, and the like). Midori is expensive to buy in India. I need to get a bunch while traveling next time.

1. https://cdn.oinam.com/img/oinam/brajeshwar-apple-macos-mail-...

2. https://www.midori-japan.co.jp/english/
Other than installing programs, most of this stuff can be automated by writing a shell script. For example:

```

# Remove the auto-hiding Dock delay

defaults write com.apple.Dock autohide-delay -float 0

# Remove the animation when hiding/showing the Dock

defaults write com.apple.dock autohide-time-modifier -float 0

# Automatically hide and show the Dock

defaults write com.apple.dock autohide -bool true

```

More here: https://github.com/mathiasbynens/dotfiles/blob/main/.macos
It's kind of old but most of them should still work.
You're not the only one. I vastly prefer MacPorts.
When a company is liquidated, its value and assets go elsewhere and are put to more productive use. This value difference is how liquidation is profitable.

This means more taxes for the government. Owners get paid out when PE buys a company, usually with a premium so they are happy.

PE liquidation IS utility optimization. The only way it makes profit is if the money made is invested into something with higher returns than the company had.

Killing a company is bad for employees that have to find new jobs, but permanent jobs are extremely toxic economically. If we avoided corporate churn for the sake of employee transitions, we would all be wearing textiles woven by luddites, and riding around in horse carts.
Enabling 3 finger mouse dragging is my favorite hidden tweak. Its in accessibility settings rather than the regular trackpad settings for some reason
Mac users don’t have to. My many Mac settings are fully configurable with a shell script. Likewise, you can do everything mentioned in this post in a shell script.

And us devs who prefer Macs like the stability and not needing to fiddle with stuff all the time and just want to get work done.

I also always maintain a couple Linux desktops and while it’s great, it’s always been flakier than macOS. We find that macOS has more polish. Linux is a much better OS than Darwin though.

FWIW, I started using Linux back in 1992 in its pre-1.0 days, long before I ever used the current thing called macOS ,or MS-DOS/Windows, for that matter.
Given Post.ID is monotonically increasing and this is a cursor-based pagination query, can this WHERE clause be effectively rewritten as:

WHERE Posts.CreateAt >= ?1 AND Posts.Id > ?2 (where ?1 and ?2 are the current cursor values)
Blog post announcing it: https://minoki.github.io/posts/2023-12-17-lunarml-release.ht...