skysight-inc/HackerNews huggingface dataset:
I see the instructions discuss $(mkdir /zb) <https://github.com/256lights/zb#linux-or-macos> and after seeing references to Nix I wanted to ensure this wasn't a hard-and-fast directory choice since macOS has immutable / and it causes no end to the Nix stupidity on macOS
Some old tools had bugs where they'd read a line (up to the new line) and then process it, so if the last line didn't end with a new line they'd never do the processing. So a manual workaround for bugs became the convention.
Ten years ago, via 'past': https://news.ycombinator.com/front?day=2014-09-19
TIL: https://www.reuters.com/technology/intel-walk-away-54-bln-ac...
The other case where it matters is SIMD instructions where you're serializing or deserializing multiple fields at once, but the SIMD operations are usually architecture specific to begin with and so if you shuffle bytes into and out of the native packed formats it will be specific to the endianness of the native packed format, and then you can forget about byte order outside of those shuffle transformations.
It's probably faster to memcpy the thing then "swap" each element (the swaps may be no-ops under the hood). This should be portable and fast.
My computer isn't great, I'll admit, but I'm making a relative comparison. I visit many different websites on my low spec computer but discord is a noticeable outlier on how it affects the performance.
> it's very easy to misconfigure, but basic security practices like these are highlighted in bright, bold warning text in the Firebase docs.

I'm sorry but if the whole design is "one big database shared with everyone and we must manually configure the database for auth" there is a problem that's deeper than just having to read the doc. It means the basic understanding of what it means to keep data as private as possible is not understood. A shared database only works when the server accesses it, not when client has direct access.

What Arc needs is to segregate each user's data in a different place, in the design of the database, not as part of configuration of custom code. Make it impossible to list all user's data, or even users. When, not if, an id is guessed, related data becomes accessible by someone else; make it so that someone else still can't read it, or can't replace it.
Q-Learning for Temperature Control
I made a small project that demonstrates how to solve a simple control problem with Q-Learning.

It has a well written explanation of all the basics so the text should be a good start even for people with no background in control theory.

Appreciate feedback.
The Unfinished Project Release Form looks cool! Thanks for sharing.
Something similar happened to me once. I still don't know what exactly happened, but in Dropbox some files were deleted, I still had my local copy, but then Dropbox synced the file deletions and I didn't notice. Only when it was too late did I notice that files were gone and their support was unable to help. I think I managed to recover some files with one of the NTFS "undelete" tools, but that was probably the day I started to treat "the cloud" differently. Nowadays I don't even know what's still in my Dropbox ...
File Provider: https://developer.apple.com/documentation/fileprovider/

Interesting, I hadn't heard of this. First impression skimming the docs is that they've gone to significant trouble to make it not generically useful as a FUSE replacement but I could be misreading.
That's basically the concept of Turing

Tarpit,

where everything is possible but nothing of interest is easy.

https://en.m.wikipedia.org/wiki/Turing_tarpit
It's pretty easy to design the best 5G modems when you're are almost (effectively) the only company that's legally allowed to make them. They are basically a monopoly...

Intel would be doing much better as well if they didn't have to share x86 with AMD and could sue ARM into oblivion...
Oh excited to see the NES and unfinished SNES code. This will help my learning.
Ok, so this is the final commercial design. It's inside the window. You can see the electrodes on the small glass sheet (100cm x 25cm?). There are 8 coax connections to 8 patch antennas. They don't cover the entire window and since I can see them they aren't very transparent (that's pretty normal for off angle low resistance ITO since you can't easily match the index shifts with AR films). The antennas aren't very big (why would they be for GHz+ frequencies) and they still have to go through the windows.

I don't know that a white box on the inside of the same window (which covered the wired coax connections) would be that much more conspicuous, especially from the outside. Maybe they require special exterior windows, but those don't seem to be part of the very visible "transparent" antennas. If you lowered the drop ceiling anything would be less conspicuous on the inside.
Been receiving those for years now, as I fully moved to Google Drive + 2 local copies.

The weird part of it:

- I'll never actively delete that account because even if it's way out of date, it's still an additional copy. Beyond laziness, I've counter incentives to not do it.

- GDPR directives would probably allow them to delete the account after X years of inactivity, it clearly hasn't happened. Or there's still some of my scripts logging in somewhere even as it doesn't sync anything ? Or they didn't flag me as EU user and are now lost on what they can do ?
+1 for OrbStack.
Be aware that if you actually want to do as the article prescribes, don't just copy and paste -- you shan't take anything at face value in C: https://news.ycombinator.com/item?id=31718292.
> The Security Council statement said Budanov had provided evidence that Russian special services could access Telegram messages, including deleted ones, as well as users' personal data.

I think the amazing thing is that they gave it the benefit of the doubt until now. Given Russia's track record, if someone had borscht once in 1994 it's safer to assume they're a Russian agent until proven otherwise.
Is another crap electron app?
Explain how we keep treating essential tremor as a disease of the elderly to be managed with CNS depressant drugs, when we have known for decades the disease is entirely caused by a single substance (harmane) which can be mostly avoided by stopping coffee, tobacco and meat consumption?

There are plenty of other examples.
When I want to watch a movie I don't just watch a movie as random. Do I want something like airplane? Or do I want an epic like LOTR or do I want action a la John Wick?

Same with games. Depends what you are looking for at the time.
I'm not sure what you dispute or your point is here. If people slightly or strongly start aping Trump's writing style in various forms I'd say there's a good chance those people are right wing or simply "not the same people writing in all lowercase" you know?

You highlight stylistic choices. I'd say we can observe the differences in different styles and see how uses them. Is Trump writing in all lowercase? No. Is this poster writing like Trump? No. Do a lot of left-wing people use the all-lowercase style? I see it all the time, yes.
Because it has infinite RAM, technically the Turing machine is not a machine.
It's quite foolish to risk a nuclear war to prevent a country from taking territory they literally had less than 20 years ago.

Everyone is now worse off because the land is filled with mines and thousands have been killed. China and Russia
It's often literally not possible to ship everything. You wouldn't want to spin up a second X11 (or Wayland) server, for example, because you can't have two of them talk to the same video card device at the same time usefully.
Open source misses the point of Free Software. The distinction is important.

I have some tips that might help you develop a better relationship with Free Software.

Try to be egotistical about it. Contribute because you want a change in a software you use. If the maintainers are giving you a hard time, fork it with your changes and be happy.

Stop donating to software foundations, you will be disappointed on how they use your money.

Never sign away your rights with a contributor agreement. Fork it and move on.

Use copyleft whenever possible.
Agree. This is absolutely deceptive. It's too bad how the OSS moniker is being misused these days...
Yep. However, before the Apple Silicon migration, VT-x gave us extremely low-overhead virtualization. We built a tiny linux kernel that booted in a second or two and were able to run whatever we wanted with minimal perf overhead.

In the Apple Silicon migration, obviously emulating x86_64 got slow, but even when we built ARM64 VMs, performance was still miserable: there was (is?) no way -- at least no way we ever figured out -- to get reasonable perf out of virtualization on a macbook.

It's possible that this changed post-M1 and it sounds likely it's set to change with M4.

EDIT: ok, I'm probably hallucinating more problem than there actually turned out to be based on the pain in the first year of the M1 chips.
Pretty obvious now that Arc will only share security alerts with the people who "catch" them at it - as few as possible

Leaves no choice but for this community to make the rest of the Arc community aware of it as they refuse the transparency
Where did they acknowledge the issue? There’s nothing about this issue on their website or their Twitter feed.
memcpy is extremely slow. On any high-load Linux webserver, you can type "perf top" and see 20%~ of the CPU usage consumed by memcpy/syscalls/virtual memory.

This article is a good demonstration of the performance improvements via mmap zero-copy: https://medium.com/@kaixin667689/zero-copy-principle-and-imp...

Netflix also relies on zero-copy via kTLS & zero-copy TLS to serve 400Gbps: https://papers.freebsd.org/2021/eurobsdcon/gallatin-netflix-...

However, the performance gap can get even larger! (The kernel is historically not great at this.) For NVME & packet processors, you can see an increase of 10,000%+ in performance easily via a zero-copy implementation.
See: https://www.dpdk.org https://spdk.io
How does this work in practice? What systems are in place to prevent someone selling an exploit and then turning around and disclosing it properly as soon as they have the money, potentially getting even more money through legal channels? Is there some sort of escrow?
Yeah it's not a hard thing to do, but I think Zig does it very cleanly.

As for reading structs, that's supported too: https://ziglang.org/documentation/master/std/#std.io.Reader....

readStructEndian will read the struct into memory, and perform the relevant byte swaps if the machine's endianness doesn't match the data format. No need to manually specify how a struct is supposed to perform the byte swap, that's all handled automatically (and efficiently) by comptime.
The compiler can optimize this. See https://gcc.godbolt.org/z/hxW7hhrd7

#include <cstdint>
uint32_t read_le_uint32(const uint8_t* p)
{
return p[0] | (p[1] << 8) | (p[2] << 16) | (p[3] << 24);
}

ends up as

read_le_uint32(unsigned char const*):
mov eax, dword ptr [rdi]
ret

This works with Clang and gcc on x86_64 (but not with MSVC).
Filesystem perf is definitely an issue, but cpu wise virtualization perf is basically free on Apple Silicon. I don’t know why you think Hypervisor.framework went away or became useless in the architecture migration. Obviously x86 VMs are slow, but we’ve been using arm64 VMs for years now with great results.
And the NES version is bonkers, using sprites to render the vector graphics.
I really like the whole Rancher ecosystem. Setting up a cluster with rancher is such a pleasant experience.
I was not referring to React Native, I was referring to Turbo Native. We've often been mistaken as a WebView and not actually "native".

Our position is the build once, run anywhere isn't ideal for many use cases. When we target the actual UI frameworks we are automatically opted into a huge ecosystem that is already built for us. We allow Apple and Google to do all of the work of building and documenting the UI framework and developing apps that feel best on each platform. The other advantage is we can target every single device. For example, LiveView Native already supports iPhone, iPad, MacOS, AppleTV, AppleWatch, Apple Vision Pro. We can build for anything that SwiftUI can target. The same will be the case with Android/Jetpack.

As far as the implementation cost, our position is that managing the state on each device is a big time sink. We remove this repetition. Also, we can abstract above the markup with LiveView function components. The components compile out to the platform-specific markup. As we develop that I feel most people will be working mostly in the higher abstraction.
Scientists have captured Earth's climate over the last 485M years
The already-here future of prototyping
> Honestly, I really do find the traditional nomenclature to be a little pointless. It seems like the classic saying assumes that it's somehow okay to assume infinite time for re-delivery, but not infinite memory for memoization for some reason.

This is exactly where the argument is coming from. The same people who will say "you can get at most once or at least once, but not only once" don't realize they're doing the exact same thing as the "you can get only once" people, when they criticize the conflation of delivery and processing. They'll argue "delivery" and "processing" have to be kept separate because of memory/storage/bandwidth/etc it uses up in the retries, which is why "only once delivery" can't exist and they actually mean "only once processing", but if you keep that reasoning in mind, there's also no such thing as "at least once delivery" - you'll run out of something at some point (or even just hit your retry limit) and have to drop the retries, resulting in no delivery.

The people saying you can get "only once delivery" by using "at least once"+idempotency are working under other group's definitions, then getting annoyed when the definitions are changed so this implementation of "only once" isn't allowed.
Huh. That's new. I'm guessing it must have been someone who read it here, I don't think I ever even posted it anywhere else. I'm not sure what they could think it's phishing for; there's no links out, no redirection, and nowhere for you to enter any personal information; the only thing it does is pull images from wikimedia, plus the source code is right there for all to see?

If it was anyone here who reported it... mind telling us why?
China Has Throttled Its Private Sector
> only needing to know YAML, and not some custom DSL like chef or puppet.

YAML may be a known syntax, but the use of it still requires domain specific knowledge, and is still a domain specific language expressing those domain specific concepts, as to what the expected keys and values are allowed to be and how they are interpreted.
I wonder if Intel still have a suitable Arm architecture license that would be transferable? It seems unlikely without Arm approval, but a bundle could offset some of the cost Qualcomm might be thinking about, as that lawsuit might be getting too expensive, even for them.

For context: https://www.reuters.com/technology/arm-qualcomm-legal-battle...
Wow neat! There's a great collection of Māori-made technology for te reo Māori. I'm thinking also of Te Hiku Media's work building a Māori speech recognition system: https://blogs.nvidia.com/blog/te-hiku-media-maori-speech-ai/
- zstd v0.6.0 -22 --ultra: 215,674,670 bytes

- zstd v1.5.6 -22 --ultra: 213,893,168 bytes (~0.826% smaller)
Yes I mean this to anyone repeatedly, consciously fighting natural convention and muscle memory to purposely type every letter in lowercase, knowing that this produces in the reader a slight dissonance and distraction constantly, and choosing to do this instead of using convention that everyone understands so that "syntax" does not become the focus and instead the content of the message does.

Otherwise they're "drawing attention" to the style and themselves for narcissistic reasons. I would simply assume they'd have to know the annoyance this brings to the reader, so I assume it's on purpose.

I would feel the same about someone writing code in a consistently purposeful unorthodox style and against convention in such an obvious and effortful way that no one is used to. Personally, and YMMV, I like to try to write in as clear a way as I can to get my point across as much as possible. Useless stylistic fluff in something that isn't poetry, seems counter to that purpose.

>mistakes

It's not a mistake though to ensure every letter one writes is not following convention and English syntax. Accidents and mistakes are a different thing.
Any implementation of an algorithm is slow when your baseline is not performing the computation at all.
Feature-Sliced Design: Architectural methodology for front end projects
Sweden has a debt-to-GDP around 30-35%, Denmark is below 30%.
The touch screen on your laptop/phone are definitely made with "transparent' conductors. These range from ITO and Silver Nanotubes on LCDs to patterned aluminum mesh (Samsung's OCTA is On Cell Touch AMOLED) and semi-transparent cathode (~10nm Ag/Mg ground current return layer) on OLEDs.

Those electrodes are literally used as capacitive antennas to detect the position of your fingers and they range from about 300ohm/sq to 1ohm/sq. Depending on the capacitive coupling they range from GHz to 100kHz bandwidths.
It's a joke - the real world is generally continuous at the scales of our perceptions, but our perceptions can make errors like not seeing a car off to the side then suddenly becoming aware of it and swerving or screeching to a halt. I think it comes under the rubric of "if you took calculus and then pay attention to your own life."
What Happend to CLIF and Pywrapcc?
Both CLIF and pybind11clif aka pybind11k aka pywrapcc seem to be stopped. I thought these were pretty cool projects, I had been following what they did, and even have some of their stuff patched in my local python/c++ ffi code. Did the team just get shifted to something else?
And the production infra for running isn't even available, just a pared down "development server" via SSPL. This is a long way from OSS.
Pfff... I think you can easily replicate that UX with an ftp server and CVS. :D
I put in a request for one, would love to get my hands on it to integrate with our framework.
> memcpy slow

Uh...

Compared to doing nothing, yes it's "slow."
I have fond memories of the System/360 M67 (and its successors, starting with a System/370 M168) I used from 1970 to the early 1980s. It ran the Michigan Terminal System, and we had all the modern conveniences (terminal operation in the IBM world was klunky, but PDP-10s at the same time did that right). And of course Unix dates from exactly that period.

The fact that Linux runs well on a modern zSeries demonstrates that, even with all the historical baggage this 60+-year-old architecture has, it carries with it many of the architectural innovations that current OSes and languages need.
I would also encourage people to look at Podman desktop which has pretty good support from Red Hat.

https://podman-desktop.io/
Why would less competition and more market concentration be good for the US semiconductor industry?

It's not like Qualcomm has been the most innovative company ever, they make ARM/Cortex based chips (which is almost a commodity) and control the baseband/modem market because of their patents, so unlike Intel the have basically no competition.
yea man, I think it's stupid for a text editor like Atom to be 200mb and take up 1gb of ram because I have a "complex". I'm annoyed at the 120 independent copies of CEF on my computer using 20gb of disk space because I'm "insecure"
I've been using a similar concept for my Android wallpaper for a while now[1].

I love the idea of artwork that actually conveys useful information.

[1]: https://play.google.com/store/apps/details?id=kaka.wallpaper...
Thank you for the inside view.

It is interesting that there's a huge rush to grow; the bigger and lower quality you get, the more incentive Google has to change the algorithm. The business could completely evaporate overnight.
Perhaps you're just not playing the right games?Perhaps you're not reading the right authors?
You gotta narrow it down a little, what's not exciting? Is it the cost to joy ratio of the console/graphics card/hardware? Overcommercialization?
Why would this make games dead?
Board gaming is growing rapidly, have you tried playing physical games?
What kind of meaning do you seek? Can you give examples?
Are you asking a rhetorical question or do you actually want to find answers?
Cheers,
M
Note that it is possible to enable longer paths in Windows 10 and 11 with a registry change, setting HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled to 1

Also note that my IT department refused to do this for me on my work machine "because it might cause compatibility problems with others."
> How do I fix it?

Image the partitions to a backup location. Zero the entire drive. Clear nvram. Reinstall macOS 15. See if it’s resolved.
Will they ban Israel too or it's just slava yukrayini nonsense
The purpose of zero-copy can be to avoid deserialization at all. All you do to deserialize is:

uint8_t *buf = ...; struct example_payload *payload = (struct example_payload *) buf;

That's why when you access the variables you need to byte order swap. This is absolutely not portable, I agree. I also agree that it is error-prone. However, it is the reality of a lot of performance critical software.
Endoscopy wait times are kind of a notorious worst-case, right? There's something weird going on with them here. I had specialist care in Chicago (at Rush, not NWU) booked and delivered inside of a couple weeks.
This seems like it would be really useful for electronic musical instruments. E.g. Linnstrument (https://www.rogerlinndesign.com/linnstrument) which uses a grid of force sensing resistor strips. Do these sensors interfere with each other if they're sitting side by side?
Fivetran will build a Streak integration if you bring a customer who will use it (sometimes as little as one): https://fivetran.com/docs/by-request-program
This will for sure happen.
Can’t any computer with external connectivity (ie serial or network connectivity) be considered to have infinite memory?
Excellent article providing plenty of ways for users to improve their online privacy and security!
I meant that if I deviate from apt (e.g. I want a newer version of something than what the repo has), I carefully consider what ramifications compiling and installing something from source may have on the stability of the system, which likely shares many of the same libraries.

Much of this is just grumbling. I love Debian, hate Ubuntu, and think things shouldn’t change a lot.
Haha, it's zero-copy! I never said it was "faster-copy" (-:
Of course Orbstack is fast, it uses LXD, not actual VMs. In fact, Orbstack on Mac is what made me switch to LXD (Incus) on Linux to replace Docker and virt-manager.
Ok, probably I'm over-interpreting some first-year pain with the new chips.

Anyway, even at that, virtualization isn't really my preferred way to solve any of the problems I have.
Deals can be amended for $$

The idea is to keep the number of x86 suppliers low, but enough patents are expired already you could probably make an x86_64 avx2 era cpu without asking
Yeah, I’ve occasionally had to manually special case big/little endian code, but most of the time you can write the generic code and the optimizer will take care of it. Unless you’re doing something very complicated it’s a quite trivial optimization to perform.
After a decade of being assured that the short support window for Android devices had a root cause in the lack of support device makers received from Qualcomm, they are the last company that I want to see buy Intel.