skysight-inc/HackerNews huggingface dataset:
This is a tangential rant about HiDPI.

macOS doesn't even render to its own high pixel density displays correctly, owing to the (in my opinion) very naïve algorithm used. If you select any resolution that's not a perfect factor of the display being rendered to, then there is blurriness[1]. MacOS renders to a viewport that is 2× the resolution of the 'looks like' setting, and then scales it down to the actual monitor resolution. Clearly, at any non-integer multiple resolution, there is blurring.

This is problematic enough that it defeats Apple's 'good font rendering'. I see shimmering and ringing artifacts around regions of high contrast (i.e. essentially all text) with such a non-native setup. I am forced to use the integer factor resolution, which makes things much too big. Of course, I can scale my browser and VS Code, but besides that the rest of the OS is comically large. Needless to say this also comes with the large performance impact of always rendering to a viewport four times the resolution of a given display. It is also non-intuitive to program against, especially using APIs like GLUT, SDL, etc.

Windows is the only OS that actually does high pixel density rendering correctly for programs that support it[2]. Windows works with the given monitor resolution, and scales UI elements according to the percentage value set (100% is 96 DPI). This is a lot more involved to program for, but when done right, it works exceptionally well. Everything that's not a raster image is always pixel-perfect. If it's not (and people have complained about this[3]), then there's a system setting/registry patch to make it so[4].

Windows also handles moving program windows between displays set to different DPIs quite seamlessly. The only issue I see is when a new display with a different scaling setting is set as the primary (and only) display, and then Windows Explorer scales things weirdly—which is fixed by restarting Explorer.

On Linux... Forget it. On Xorg there are a million environment and per-app-specific configurations to set (just see how long the HiDPI article[5] in the Arch Linux wiki is). On Wayland, things are better, but not yet for me, since I use an NVIDIA graphics card, KDE Plasma, and Chrome, which is the worst possible combination for Wayland. It's not mature enough for this setup—the Windows-esque rendering (they call it 'fractional scaling') was only merged in slightly more than a year ago[6], and Plasma 5, my DE of choice, still doesn't quite use it yet.

[1]:

[2]: https://building.enlyze.com/posts/writing-win32-apps-like-it...

[3]: https://news.ycombinator.com/item?id=38444967

[4]: https://serverfault.com/questions/570785/how-can-i-make-micr...

[5]: https://wiki.archlinux.org/title/HiDPI

[6]: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/m...
That too, but there at least you can find that random person in Nebraska if you really look through your deps. It's more like baseband chips being backdoored but you have to use them. LLMs are a complex black box beyond much oversight, more like entities currently above the law.
This looks super useful for anything requiring optimistic updates, but how do you get data from triplit into another db? Perhaps for analytics or audit purposes.

With something like electric-sql you can just use one of the many Postgres tools, and other local-first options like https://ably.com/livesync have database adaptors for replication. I think this is an important requirement whenever you build your own database
The screen and battery life is better than any Thinkpad offer you can find. That extra $500 is well worth.

I used to love my Thinkpad x260, now I can't stand it.
I can’t be the only person in their late 30s that just a few years ago still had a tony bit of hope of someday working for a FAANG or some other amazing company like CloudFlare. And the longer I postponed the decision to actually prepare and apply the more it became clear that these companies are not what we thought they (anymore?).

Thanks to this wonderful person I can now rule out another company I will not even consider working for.

And if that wonderful person os reading this by any chance, I wish you all the best going forward, you seem like a you would be a great addition to any team.
Sure. But is OF really used as substitute though? Isn't it just interactive porn?
You mean it's like artillery but more expensive and less effective?
The same problem applies to LGPL code and browsers (e.g. ffmpeg.wasm).
I think the problem is with the image size. I will try to fix it soon.
Interesting, because at early CSS3 times, I always had the impression that Firefox had much nicer renderingof shadows etc. than Chrome, which looked rather cheap and fast. Same for font-faces.

They're probably aligned better now.
So - interesting to see this as I did some work for a company a couple of decades ago that did this, but pre-digital. The way that worked, they just took a referral cut of first work done via referral to the referer (well, actually, to the referral network, but mostly the referrer).

Worked quite well!
Yes, it's most likely a session ticket which is not clearly expressed in the article, but the issue seems to be that the game sometimes gets interrupted before it will actually create a session ticket (or rather while waiting for the response from the slow steam servers), and then join the gameserver without having one.
1/4- Ordinary `pip install` works for binary/platform-specific wheels (e.g., numpy) too and even non-Python utilities (e.g., shellcheck-py)

2/3- you need to track only the direct dependencies _manually_ but for reprodicible deployments you need fixed versions for all dependencies. The latter is easy to generate _automatically_ (`pip freeze`, pip-tools, pipenv/poetry/etc).
"is much faster and the one you should probably use in practice" Where is this useful in practice? Exercises maybe. Like doing planks for example. I have never needed to plank "in practice" other than to exercise.
I think it all comes down to the instant gratification offered by modern world that has reduced people’s attention spans. Almost like if something takes longer than a few minutes for people to get started, that move on. Don’t blame them when there are so many alternatives to choose from. Doesn’t matter if you offer a better long term solution if your users don’t even stick around long enough to experience that.
He went to work for Vercel after this became successful.
All you said is true and useful.

Just to chime in on a detail: often the "zero-copy" term is used in the context of data "forwarding" use cases (serving data loaded from disks or passed through a proxy etc).

The idea there is to have zero "extra" copies of the data.

Obviously if you're reading data from disk and sending it over the network there is at least one copy going on: the copy from the disk to the network card buffer.

And unless your network controller buffer is directly addressable by the disk controller, there is also going to be another copy of the data sitting in RAM.

That's often still considered zero copy IO mainly because the CPU is not involved in the copying (which happens via DMA).

In case of network to network forwarding the data can even stay within the same buffers on the same network controller.

Protocols that involve sending large blobs of uninterpreted bytes are particularly amendable to this kind of optimization.

For example you can send a large blob of data from disk and pump it on a TCP connection without having that data going through the CPU at all. Practical necessities as encryption make that even more challenging but there are some network controllers supporting hardware encryption so at least in principle that's still possible.

However when you also throw data serialization in the mix you often end up getting the CPU involved in converting data from the raw form you read on disk and the encoded/serialized form in the network response.

For example consider a server that returns a stream of data using the gRPC ByteStream API which is a gRPC stream of ReadResponse messages that contain a single `bytes` field.

The protobuf encoding of that field is just a field tag plus the field size plus the raw bytes of the payload. In principle it could be possible to implement a gRPC serializer that avoid materializing the body of that data field in memory but instead rely on sendfile or other primitives that potentially can apply further optimizations and at least remove the CPU out of the loop.

But doing that is hard, and affects the API of the serializer and every library that uses it.
I'm not aware of any opensource protobuf+grpc implementations that do this (I may be wrong, long time since I checked and I may be missing something).

I don't mind that the rest of the serialized message would need to be unpacked/repacked to/from different representations, as generally the size of that part is dwarfed by the large blobs.
I think usage statistics tend to require more retention time to discover user behavior and understand how to optimize revenue. In the general case people probably won't care much whether their widget was running at X% CPU on Dec 5th 2019 but they might care more about what percent of users did Y action on that date. When I worked on an observability team (not as an expert but as a general swe) we had two metrics pipelines; one was strictly usage statistics which came from the client, the other was purely server metrics but a subset of them were considered usage metrics which were aggregated and sent down with the client metrics for the folks upstairs.
Cheers! Got it will definitely think about implementing it, will have to try hard to avoid gaming tho
Take in a sunset, a snowstorm or a baby's cry and see why AI is no threat to art
"AI" is literally a marketing term for what we used to call algorithms, macros, etc. until very recently. Nothing fundamentally new is happening, just that what was largely confined to businesses and enterprises before has been adapted to become accessible to every man.

>I find myself reaching for AI over docs

I sincerely hope you read the documentation regardless to verify you aren't hallucinating. At best you'll just get the compiler mocking you, at worst you might find yourself responsible for a 737 MAX.
Some compute might be on the AMX units (dedicated matrix multiplication coprocessor, closely attached to the CPU, distinct from both ANE and GPU). They gained bf16 support in M2.
Well there is the famous old quote "Every time I fire a linguist, the performance of the speech recognizer goes up". Dates all the way back to 1988, believe it or not. Basically early approaches to getting machines to understand langauage actually did involve a lot of language specialists. The mathemathical approach just turned out to be better. Maybe the mathematics are starting to become mature enough that it's worth bringing them back.
I love how Apple has somewhat come full circle on C++. There was a time they somewhat shunned the language publicly and highly discouraged anyone from using it in apps. A lot changed a few years ago when they started dedicating WWDC sessions to new C++ language features. Really triggered my geek zone. That they are working hard to bridge these two languages is really good news and benefits everyone.
https://m.youtube.com/watch?v=Hpm7_INvUHM&pp=ygUJYXBrd3MgYmF...
What would happen if a platform focused on a company like Disney, offering images in the style of Frozen / Cinderella / etc?

Midjourney can already generate fire Elsa[1] and zombie Elsa[2]. I wonder if this kind of usage ever grows enough to start bothering corporations.

[1]: https://prompthero.com/prompt/be1b58e6fef

[2]: (nsfw cartoon gore) https://prompthero.com/prompt/00e7433fb1a
“closed-source” AI applications ...—where the system’s software is securely held by its maker and a limited set of vetted partners. ... while keeping the underlying software secure. ... rapid and uncontrolled release of powerful unsecured ...

"secure, vetted, dangerous unsecured systems, blah, blah, blah."

This is the worst kind of propaganda, supporting corporate AI companies, who in any case can hardly be trusted to guide AI in a direction to benefit all of society.

And honestly, what is the danger? That AI can spew toxic and misleading content? We certainly don't need AI for that!

Open-source AI may or may not be more 'dangerous' than corporate AI, but it is essential for society that AI is open.
No surprise. Apple likely wants to run LLMs on their devices and provide developers with the possibility to create iOS apps using that. C++ is essential in that sense.
I'm sure it does, and I wonder how information about users, such as country, might be worked into the model as non-latent factors.
It had the opposite effect on me, the repetition was like joke compound interest getting funnier the more it was drawn out, and on a 2nd layer also it's sort of meta-funny because he's getting away with sticking with it too.

Also I think the joke is Scottish agnostic, it would have worked for me in an accent, if I'd have seen an American doing it, and insisting to stick with it, it would still be funny. Wouldn't feel out of place on "I think you should leave right now".
It was interesting for me to see lucid dreaming and meditation mentioned as I recently finished Alan Wallace's Dreaming Yourself Awake. I have been integrating this quote from Stephen LaBerge:

“Dream consciousness is waking consciousness without physical constraints. Waking consciousness is dream consciousness with physical constraints.”
Can someone give an example of a useful application of this technique? Honest question, if it is just for fun that is fine with me.
What to Do When You Hire the Right Person for the Wrong Position:

https://www.entrepreneur.com/growing-a-business/what-to-do-w...
are we discussing here "intelligence" or high IQ?
those problems sit on high IQ level for humans, and are not a good fit for testing intelligence in general.
if one claims that passing those tests is a requirement for intelligence, are they saying that humans with IQ 80 are not intelligent?
Why do they tell her it's for performance reasons when they could just say it's a layoff due to market conditions? That seems to be the crux of the issue here.

The rest of their communication was horrid as well.
There's a great Stewart Lee joke that's like this when he's talking about his critic who secretly love him... "I hate Stweart Lee, I've bought tickets to all of his live shows and seen him three times."
China is making it very clear that they are thinking about "rejoining Taiwan to the mainland", which translates into "Invading Taiwan".

So the next question is how US will respond. If the west chooses to defend Taiwan, they are basically at war.
FriCas seems to be quite light in documentation?
It means "you won't get any other reaction from me about it than an awkward look" ;)
I didn't interpret, just said as it is for people who I definitely know how good they are; yours is exactly one explanation why that is so also for fresh vs settled ones that way that I wouldn't (and didn't?) exclude, thr list of details is endless, didn't bring them all. Just wanted to say: evaluating experience and skills of people by LinkedIn profiles is pointless - you cannot compare objectively there.
What's Apple's TC like for roles like these?
Nucleus is the proof that "Small is the new Big"
Nucleus is a small language model based on Mistral (actually, the trimmed untrained version you can find here) and trained in different steps. First, we've pretrained it on TinyStories dataset, then TinyTextBooks to make it a more specific model. This model is just a proof of concept at this point, but showed good promises in early tests. So with proper training, can be a good product over time!
Aren't many of the issues with Jupyter being mentioned in this thread solved by Quarto? I have been advocating for it's use more at work, and NIH has even started offering classes on it through the NIH library.
Perhaps?

Maybe it’s the speed of the SSD that prevents me noticing it, but it sure feels fast and I don’t have a ton of memory
i can understand everything, but why is Apple as global company fixes jobs like this to a single site?
Task vectors and analogy making in LLMs
We are using it for parsing and classification as well and have done a full internal study. The case is financial data collection. There are three side-by-side approaches we are comparing. Human-only, human-led, and ML-only. The only viable outcome for what we are doing is still human-only. The net cost of correcting the mistakes the ML makes in the human-led model are higher than the human-only model. The ML-only model has a capital risk higher than the value of our business. We're still experimenting with training but at least in our case, it's a poor solution.

Ergo YMMV and we shouldn't be spilling absolutes about it. It looks like it might work but does it really? We work in a very intellectually dishonest fashion-driven industry. Some objectivity would be nice in arguments.

As for writing code, I find it does a reasonable job of boilerplate but hits the crack pipe almost always if you stretch it. Then again that's better than any junior developer I've worked with so there is some utility there.
I downloaded my chat history just now and system prompts are not present in it.
You can write it in vanilla JS and then offer framework specific wrappers. A function to update the contents of a tooltip is probably to do it in vanilla JS. Then in your react wrapper you can tie this to a component property or something.
Except Bald Eagles.
Why is Uber paying this? The concept is that you book a ride with no involvement from SFO, and then the car shows up wherever you happen to be, looking exactly the same as every other car.

It doesn't appear that SFO would have any way to collect their rideshare fees except for honor-system voluntary payment.
I think an important distinction in good or poor quality AI art is similar to good or poor quality models made in Blender. A modeler can spend hours or days on a model; testing different cuts and resolutions and extrusions etc to get it just right. Similarly, the difference for AI generated assets will come down to how much time the prompt engineer will spend tuning their prompts, looking into different models, possibly training models for specific styles and outcomes, regenerating over and over again to get things just right.

On the other side, you have the modeler who barely sticks six rectangles together as a “human” and the AI art prompter who ships the first image they get back.

To me, neither is a moral issue. They both require using tools effectively.
https://www.sec.gov/news/press-release/2018-31

What now? I'm sure you are going to say that they settled because they were innocent, right? And that they halted trades 'by mistake', not on a purpose
Not really. The article has about one line of hypothesis ("left behind" for "AI tasks"). The other 99.95% is background.

Besides it uses "AI" so it looks like an attempt to join the current gold rush/religion.

Edit: Hey, I asked ChatGPT to rephrase the parent comment "in a way that will bring me upvotes on Hacker News". Here's what I got:

Ah, the article seems to delve into the details of integers and IEEE-754 floats; perhaps providing links for those topics would be more efficient. But I understand, the author might be aiming to meet a specific word count!
Dunno, I feel sad about artists a bit. I hope they won't stop creating. I am sick of these flashy AI fakes.
>The position is based onsite at Apple's campus in Cupertino, California. International candidates are welcome to apply but will need to relocate; the company will sponsor a visa.

what's the point :o
They definitely have opened some things up, like a full C++ interface to Metal. I think the idea with this current effort is kind of the opposite though - not to encourage more use of C++, but to start writing new features of C++ projects in Swift (the presenter at the C++ Now 2023 talk [1] goes into this). I expect WebKit is a big target for them, I think they eventually want to replace all their C++ with Swift gradually (instead of trying to do ground-up rewrites, where you dedicate a team to doing that for years and you have a replacement at the end with fewer features than the old project).

1. https://www.youtube.com/watch?v=lgivCGdmFrw
> The base pay range for this role is between $138,900 and $256,500

> The average Cupertino home value is $2,663,389

I'm sorry wtf?
A person can’t be good or productive unless they’re in their little Apple town in CA, USA right?
WebDeck: The cheap stream deck (its free)
We were aiming at a static binary, but dynamic would be feasible too, with some love.

For the wasm runtime, we planned to use this: https://browsix.org/
Article says "The base pay range for this role is between $138,900 and $256,500, and your base pay will depend on your skills, qualifications, experience, and location."
Um...mate it doesn't support it that's not about preferences of XYZ it's just about the missing feature.
It is not that surprising when the computer is actually over decade old... i5-2400 released in Q1 2011.

What I find more surprising is that there is any margins in selling those sort of computers. Enough to actually reliably profit.
I appreciate that, thanks!

The next time I'm in an internet argument that seems to be escalating, I hope I will remember these last couple of comments of yours, and be as willing to reconsider my own position as you have been.
Life critical mathematics: you could verify calculations in the type system which are too risky to allow to fail at runtime.
> They are manually aimed, right?

January 6, 2024:

"Defence Intelligence of Ukraine shares footage of the targeting of two Russian Pantsir-S1 air defence systems. Looks like loitering munition was used. As said, today in the Belgorod region of Russia."

Source tweet:

https://twitter.com/bayraktar_1love/status/17437042635308319...

Original source is the Main Directorate of Intelligence's Telegram channel (in Ukrainian):

https://t.me/DIUkraine/3288

Notice yellow rectangles that are visible around the targets in the video.

It seems that AI-aiming was used at the final parts of the approach trajectories, after loss of communications with the drones.
A compiler engineer can always live in a car park :-)
I agree.

But on the flip side if you only use functions you can't use them in xargs, parallel etc.

So I often so use my own wrapper scripts in a dir in front of PATH and I pay the price of occasionally sharing bad scripts with my coworkers. Most of the time those broken scripts are caught by CI but not all scripts are...

I know that technically I could wrap /bin/sh /bin/bash with a wrapper that strips my wrapper dir from PATH but that's too invasive and I don't want to do that.

I wonder if there is a trick? Perhaps some pre-run hook that one can register in some advanced shells (e.g. I actually use zsh)?
This is to ease migration from C++ projects into Swift.

From Apple's point of view C++17 is good enough for their purposes.

Metal uses a C++14 dialect, and LLVM requires C++17 currently.
Because accessibility isn’t as easy as it should be.
Garry Tan: 'Founders Have to Be in San Francisco' as YC Ditches Mountain View HQ
"Fun to hang out with" takes you further than you think. If the person is also attractive then he has a giant halo effect going for him
> This is a guest post. The views expressed here are solely those of the author and do not represent positions of IEEE Spectrum or the IEEE.
NASA unveils the revolutionary X-59 Quesst 'quiet' supersonic jet
I'm starting to think that no one in our industry have any actual pride in their work. Just slapping layers and layers of stuff together until it barely works and then shipping it... And somehow they should be paid lot of money for this...

And most of this stuff isn't even doing anything that special or demanding, which is the sad part.