skysight-inc/HackerNews huggingface dataset:
commonly the web browser passes the font data it downloads to the operating system for rendering, and there have definitely been exploitable holes in downloadable font handling in the past, in large part because the font rendering engines were not written with malicious data in mind (because you were buying your fonts from bitstream or apple or mergenthaler or whatever)
Maybe you don’t need it for shapes and what not, but for collaborative text documents it’s really hard to have a good experience without convergent intention preserving async merges on text - you’re gonna want OT or CRDT for collaborative text editing eventually.

I work on Notion, a collaborate editor that (famously?) doesn’t merge text updates. Our editor predates the popular CRDT libraries. We’ve taken the last write wins optimistic model about as far as it will go, and now we’re building CRDT text as the basis for a bunch of new features. It’s challenging to integrate with our existing model but I think the end result will be well worth it.

If you’re interested in this sort of thing and want to work in SF or NY, shoot me an email jake@makenotion.com or dm me on Twitter @jitl
Can you expand on "ship less code"? I think I'm agreeing with you but I'm taking it to mean ship smaller pieces of code, not overall LoC.
I promise you that anyone voting in this poll couldn't differentiate between what does and does not use "AI."

Do people trust this code less now than they did a decade ago when it was written in 2017:

from numpy import loadtxt

from xgboost import XGBClassifier

from sklearn.model_selection import train_test_split

from sklearn.metrics import accuracy_score

dataset = loadtxt('pima-indians-diabetes.csv', delimiter=",")

X = dataset[:,0:8]

Y = dataset[:,8]

seed = 7

test_size = 0.33

X_train, X_test, y_train, y_test = train_test_split(X, Y, test_size=test_size, random_state=seed)

model = XGBClassifier()

model.fit(X_train, y_train)

y_pred = model.predict(X_test)

predictions = [round(value) for value in y_pred]

predictionsaccuracy = accuracy_score(y_test, predictions)

print("Accuracy: %.2f%%" % (accuracy * 100.0))

Data: https://github.com/npradaschnor/Pima-Indians-Diabetes-Datase...

It's all just vibes man...
For iOS 15.0 or later/MacOS Monterey or later, you want to look at TextKit 2. See https://developer.apple.com/documentation/appkit/textkit/usi...

That’s a new layout engine that currently is the default for text fields and on iOS and MacOS, but likely will be the only option some time in the future.
One of your mistakes is thinking that The Guardian is the source rather than a news organization covering the actual sources. They clearly describe that relationship and link to the source where you can learn more about the data and confidence:

https://www.nature.com/articles/s43017-023-00515-9

As a reader, you have to make decisions about trust - one thing here is recognizing that, for examples, climate change deniers have been wrong for decades and keep moving from one wrong explanation to another whereas over the last half century the scientists working on climate change have made increasingly accurate estimates and each new source of data has corroborated rather than contradicting the other sources. The climate is very complex but the trend is clear and we have no reason to expect a sudden and dramatic reversal:

https://oceanexplorer.noaa.gov/explorations/16arctic/logs/ju...

Now, if you really care about lying, perhaps it’s a good time to ask yourself why you find comfort in fossil fuel industry propaganda to the point that you are voluntarily spending your time and reputation sharing it but are unwilling to recognize the scientific consensus which has been established for decades by a community without anything like the powerful conflicts of interest which fuel the denial campaign.
I'm not a font expert, but I do appreciate good typeface. I view typefaces like shoes - different types for different uses. I have my running shoes, my hiking boots, my beach shoes, my dress shoes, etc...

I have my mono-spaced typefaces, my variable-width typefaces, my serif, and my sans serif.
Beware the Helvetica Scenario

https://www.youtube.com/watch?v=-Y-yKmzP-4U
Right. Which is what “ice-free” means to anyone who speaks English. Using it to mean that there are still a million square kilometers of ice is a lie.

They think the lie is justifiable to get people scared. I disagree. Scientists lying will only make people distrust the science.
I’ve used pgvector at scale (hundreds of millions of rows) and while it does work quite well, you’ll hit some rough edges:

* Reliance on vacuum means that you really have to watch/tune autovacuum or else recall will take a big hit, and the indices are huge and hard to vacuum.

* No real support for doing ANN on a subset of embeddings (ie filtering) aside from building partial indices or hoping that oversampling plus the right runtime parameters get the job done (very hard to reason about in practice), which doesn’t fit many workloads.

* Very long index build times makes it hard to experiment with HNSW hyperparameters. This might get better with parallel index builds, but how much better is still TBD.

* Some minor annoyances around database api support in Python, e.g. you’ll usually have to use a DBAPI-level cursor if you’re working with numpy arrays on the application side.

That being said, overall the pgvector team are doing an awesome job considering the limited resources they have.
Official post: https://www.apple.com/newsroom/2024/03/apple-introduces-tran... (https://news.ycombinator.com/item?id=39608793)
If AGI is as transformative as its proponents make it out to be, would it both attract and create those enormous egos though?
The trust isn't there because it's a gimmicky toy and not useful for anything serious.

You have to put up with:

1. Incorrect information.

2. Political proclivities of the company hosting it

3. Spying

Anyone who tells me they use LLMs for anything other then a curious experiment make me suspect. I had one of my PMs tell me he had an LLM make a meeting summary from the minutes so I grilled him on it since I was in that same meeting. The LLM doesn't have context of what's important and will harp upon things it thinks are necessary. That Pm now writes up the summaries because what the LLM made was useless.
That cannot be over-stated enough. I learned my communication skills in the military while building my software career. Those worlds are so incredibly different that I have spent most of my professional life lost.

On one hand my expectations for excellence in software are alien to my peers who just want to complete a JIRA task by any means possible. Yes, it is possible to deliver superior results for an entire day's effort in about 2 hours provided you aren't framed by all kinds of institutional roadblocks and unnecessary abstractions. I am scared to death to actually communicate my opinions regarding software because people tend to whine about how hard life is. For this reason I have abandoned my JavaScript career.

Then on the military side I have to unlearn the high agreeableness that is so necessary for not getting fired in software. By high agreeableness I mean keeping your opinions to yourself, not voicing concerns, treating everything with kid gloves, and making everything as easy as possible. The military side is a much safer environment that expects brutal honesty. Nobody there believes themselves to be god's gift to the universe and they are always in a learning mode, which means they are coach-able and will not whine about corrections and mentorship.
I've always thought LinkedIn was just Facebook for Business™ - has it ever been anything else?
Exactly correct. AWS has a giant suite of services, and if they are forced to reduce egress charges, they would raise prices on other services to keep their margins consistent. The market knows this and thus why the market doesn't react to non-news like this.

An interesting question: why does AWS charge so much for egress knowing that it could dissuade some currently-on-prem use cases? It definitely forces optimization, use of CDNs, compression, etc. Previously it likely reduced transfers to another provider, but as the parent alludes to, the use of managed services makes sticking to AWS much more likely. What else?
F# is my “primary” programming language, I work with it daily and absolutely love it. That said, it doesn’t surprise me that people ignore it or don’t know about it given Microsoft’s own lack of attention and focus on it. Half the time it seems new dotnet features aren’t even compatible with F#.

The day C# gets discriminated union types and true exhaustive pattern matching is the day I’ll have to think long and hard about how much more time I want to put into working with my beloved F#.
The big rewrite. Risky even on manageable codebases, and the leftovers never seem to fully go away. Who wants to score points on re-writing a tucked-away settings page several years into these?

I've seen so many attempts at these you'd think we'd have a framework for rewriting codebases. We don't. Automated codemods require a consistency that few adhered to. The code patterns evolved so much over time, it's like looking at tree rings.

We're basically putting code in boxes, re-arranging the boxes, and rightfully saying some arrangements are more efficient. How come we haven't found a better way? Automations operate at the code level, but not at the box level.
How did that work out for late stage Uber employees?

Also, historical returns don’t take into account that we now live in a time of high interest rates and the public markets have caught on to the Ponzi schemes of non profitable tech companies IPOing
Yeah I'm not so sold, but mainly, I don't understand the logic here

If I'm declaring an async function, why do I need to await inside it?

like, if the return of an async function is a promise (called a thunk), why can't I do

async async_foo() { return other_async_foo(); } and it will just pass the promise?

Then you await on the final async promise. Makes sense?
The fact that there are a bunch of egomaniacs involved like Musk and Altman doesn't help either. The DeepMind guys (Demis Hassabis, Shane Legg) put a better face on it, but in the end they are all rushing to develop this ASAP and it's not at all obvious it'll be a net positive for society.
You're being taxed and you don't even know it. That's what.
> Well, could once. Probably not any more: Apple backed away from ZFS about 15 years ago or so.

No, you still can! Booting from it isn't a mainstream use case for it, but a port of ZFS to macOS is still alive today.

Project website: https://openzfsonosx.org/

Instructions for using it for /: https://openzfsonosx.org/wiki/ZFS_on_Boot

It installs and creates filesystems just fine. The only part I haven't successfully tested myself within the last year or two is actually booting from it.

> I have sympathy for the "servers as cattle" approach, but then again, the Linux world is in danger of forgetting where it comes from: from enthusiasts having fun. From people hacking around, learning, exploring, for a laugh, partly because it's free.

One thing I believe deeply is that no one ever really masters the Unix environment without living in it. Without a solid foundation of interactive use, programming with the shell as your REPL, puttering around your filesystem with `cd`, you'll never properly learn your way around. 'Learning Linux' in a 'cloud-native' context tends to mean being alienated from all of that, and I think it profoundly hampers the development of fluency and comfort with the system.

To get that from a box (server or desktop), it has to be a home to you, and homes aren't disposable (the Impermanence framework for NixOS aside).

I do think NixOS has a place there, in keeping computing fun and exciting. For me, it was the first truly interesting distro (at least among those I'd consider usable/practical for me) in a long time. (This was back in 2015 or so.) I was a desktop Linux hobbyist before I took up any devops-related work, and for several years, NixOS singlehandedly breathed new life into that hobby for me. As far as I can tell, this is not an uncommon reaction to NixOS among enthusiasts, if not among casual Linux users.
It is exactly what they are. ‘Tagged’ or ‘discriminated’ unions are a set of named product types - the name being the tag/discriminator.
This is such a weird take... I just want to know why is that SO important to you? For me that is one of the things that I like the least with Python.
Maybe ReScript?
To expand just a little bit more - the core technology for EUV was developed at US national laboratories run by the Department of Energy and paid for by the US taxpayers.

The licenses and limitations are the standard used for all technology coming out of the national laboratories; it is only unusual because ASML is not located in the US.
I think people assume RAG will just be a vector search problem. You take the user's input and somehow get relevant context.

It's really hard to coordinate between LLMs, a vector store, chunking the embeddings, turning user's chats into query embeddings - and other queries - etc. It's a complicated search relevance problem that's extremely multifaceted, use case, and domain specific. Just doing search from a search bar well without all this complexity is hard enough. And vector search is just one data store you might use alongside others (alongside keyword search, SQL, whatever else).

I say this to get across Postgres is actually uniquely situated to bring a multifaceted approach that's not just about vector storage / retrieval.
After 1-bit quantizing situation from my armchair, the whole series of event looks like a cold and dry business decision that Musk is a risk with low expectancy of return. Isn't that it, after all?
Scientists Create Elephant Stem Cells in the Lab
"sh" and "J" are closer than you think. They're both pronounced in the back of the throat, so one phoneme can switch to the other given enough time, when moving from one language system to another. The vowel on the end is similar.
Without getting into it too much, I think folks could. The gilded age (1870s-1890s, give or take) produced a lot of buildings of a different style, and comparing 1850 to 1910 could be clear. Easier still are subways. They might not have been at their fullest extent in the 1910s, but they were quite present beforehand, and nonexistent in the 1850s. But the biggest that your average person could pick out would be Central Park: built in the 1850s, not finished until later.
You can bare clone and it works fine. This is in part just habit from converting existing repos into bare + worktree repos.
Nice - good way to make auto agendas. In addition to this, my theory is that if you enable all the attendees to give feedback, meetings could really start changing.

I like the idea of declining a meeting if it's not prepared OR 'nudging' them to prepare ahead of time.
> Only go to the event if you have enough meetings with a clear line to enough value for it to make sense.

I agree with this, unless you've never been to one of these events. If you've never been, try to make some connections beforehand, but pick one and go just to see what it's like in person. You'll almost certainly make some connections, and will have a much better sense of how to approach the next one.
Many years ago (2011?) when I was working on PDF at Apple, and when Jailbreaking iPhones was a thing, someone posted a PDF on a Website. Just by reading the PDF on your device, it was Jailbroken.

Apparently the attack was done this way: someone modified an open source font library by removing bounds checking from one of its functions. They then waited 12 months to see if anyone had noticed or fixed the change. They then created a PDF with the font in question, including the embedded jailbreak code. The PDF was then released.
RepoQL: A Python library designed for querying Git repositories
MM lines of JavaScript! That is bloat incarnate.

I've been thinking of re-implementing something like LI, or rather implement my own contact database (without the "FB" features, please).

The only problem would be how to make my contacts migrate over in bulk.

Apart from the bloat, the main problem of Microsoft LinkedIn is that it does not let you export your contacts' infos, which really is a must-have feature of a contact platform.
AI Prompt Engineering Is Dead
My experience as well. Using an SVG as the source of an <img> element seems to have less issues, but that essentially reduces the benefit of an SVG to just a small file size image without scaling issues.

To use an SVG as an actual element, it gets way more complicated than your average Wordpress user is going to want to deal with. It's one of those very interesting formats that can do some very impressive things...that very people want/need/use.
rag is also so much faster and cheaper and energy efficient than running a giant transformer over every single document, it's like not remotely close
More discussion on official post: https://news.ycombinator.com/item?id=39607079
> What really ticks me off is there are seemingly no levers to pull to financially convey to an insurance company that I will only ever call them for a large catastrophic loss. Raising deductibles on car or home affects the rates very little.

This doesn't really surprise me. I suspect the vast majority of their payout dollars go to catastrophic loss. It takes a _lot_ of small claims to add up to the same amount as a total loss (value of the house, value of the stuff inside, cost of temporary housing, etc).

I don't think they're cheating you the way you think they are. I used to work for a very large insurance company that had a line of home insurance. We made almost nothing on premiums, we paid out basically every dollar we got in premiums. Our profitable line of business was investing the premiums we collected until we had to pay them out. That seemed a very fair deal to me. The company manages and orchestrates spreading the risk among members in exchange for the profits from investing premiums. Customers are only "losing" what they could have gained by investing the money, which would be a crazy thing to do instead of getting insurance.

> Whereas now, if you've made the choice to drive around an aluminum framed car that is going to require expensive disassembly, inspection, and rework for what would have otherwise been a fender bender, then you yourself should be paying the increased premiums to cover that cost.

I wonder what the impact would be spread across the insurance pool. I bet it's not that much. Honestly, if I were going to guess, I would wager that medical bills are the vast majority of auto insurance payouts. Even expensive cars are cheap relative to an ICU visit.

$100k cars on the road are uncommon, but every single person on or near a road could rack up a few million in medical debt.
fwiw you can actually one line that

> git clone --bare https://path.to/repo.git .git
Depends. Is the size of pima-indians-diabetes.csv less than a terabyte? Then trust is the same. Else, less.
Scary if true!
The parent article link is "https://www.theguardian.com/world/2024/mar/05/ice-free-summe...".

That's the source. That's the Guardian.
Immigrants get a 30% tax break, meaning that they only have to pay income taxes over 70% of their income. For the average income of people working at ASML, I guess that they have to pay about 30% taxes. It basically means that ASML can pay less to immigrants workers compared to native workers to give them the same salary.

In the Netherlands we are currently having a housing crisis, which is partly caused by labor immigration. This has caused many people, especially those from gen Z, being unable to buy a house. In and around Veldhoven, where ASML has its main offices, house prices have gone up. ASML is investing some money in housing projects.

For these reasons, some political parties feel that the tax break should be removed. Which would mean that ASML would have to pay their employees more and due to this they will make less profits.

ASML is depending on many companies in and around Veldhoven/Eindhoven and even on some further away for parts of their machines. For that reason, I think it would not be that easy for them to relocate to a different country. They would have to build up contact with local parts produces. If the move to a different country, it maybe also would mean that a part of their employees is not willing to relocate.
The current government doesn't have much to do with it, though. This is the results of decades of over-reliance on cheap gas from Russia for energy, chronic lack of investment in infrastructure, and perhaps a little complacency.
China's military capability set to grow faster than its defence budget
Movivention, one of those 3, is scheduled to launch March 7th, two days after the release of iOS 17.4.

https://mobivention.com/presse-en-2/mobivention-revolutionis...
On my phone, my solution has been working well for a few years.

FF Focus is my go-to browser, so most things I look up or do on the web vanish.

I have a second browser (Vanadium) with ~20 tabs open in different groups which I keep open perpetually. Things like my bank's site, my healthcare portal, other things I want to be able to stay logged into. Then there's one group for different articles I'm reading; these I close once I've exhausted the conversation and opened all the links I'm interested in.

(My desktop computer is a different matter entirely.)
In 2003, it rained one day in Feb:

https://weatherspark.com/h/s/68697/2002/3/Historical-Weather...
> 35/7 means divide 35 in 7 equal parts

This means each part has 5 things in it and there are 7 such parts which is fundamentally irreconcilable with the modulus operator. I think it is because of the limitation of the modulus operator which only works for integer values. So what you’re saying makes sense with real numbers BUT the context changes when you’re working with integers. So, with integer values it is 5 groups of 7 but 7 groups of 5 with real numbers
Have been loving this feature. It’s a small but impactful QoL improvement.
According to this Gallup poll last year, anyway, small businesses generally are twice as trustworthy as tech businesses.

https://news.gallup.com/poll/508169/historically-low-faith-i...
Your Code Should Crash
They do have jurisdiction in the EU, like you say. Apple exists in the EU.

In the case of GDPR compliance it is trickier because you can easily end up doing business with entities that will never be in the EU, so while the EU might think their laws apply worldwide, the extent to which you “have” EU rights as an EU citizen in any enforceable way is questionable.

Apple wants to do business in the EU, so the EU can write whatever laws they want, including laws that govern Apple’s worldwide behavior.
I really hope this casual ageism is not something you bring to the workplace. Tech has enough problem with prejudices.
> I’m pretty sure Elon won’t win the case

0%. Not 1%. I wish it were otherwise.
Well, you lose height rapidly, on full engine trust and your nose up for quite some time. I do not know what other conclusion than stall you can make.
Spain blocks Sam Altman's eyeball-scanning venture Worldcoin
>TL;DR please

Dev goes to work for his first large company, sees his first large legacy codebase, says "wat?! Yuck!!"

Also, he explains he was the savior of the entire enterprise and did everything and is super amazing but other people kept having different opinions and his boss didn't like his idea for a project that would take 5 years to achieve the immediately needed change, so he left the large company.

Bonus: It only took him 5 years to decide he didn't want to be at a big company with a legacy codebase.
why would I lie?
They're both bad actors, and they both have good points. I hope they keep fighting each other -- it might distract them from us.