skysight-inc/HackerNews huggingface dataset:
Ask HN: Why did HN logs me out of all devices?
From time to time, all my HN sessions, on all my devices are disconnected at the same time.

I'm curious if there is a technical reason for it or a "business rule"?

Apologies if this was asked before, I couldn't find a thread for it.
The Asian advantage in education long pre-dates selectivity in immigration. You see the same pattern in the children of Asian peasants. See every generatio of Asian immigrants to the US since teh California Gold Rush.
Agora recently had a publication about hydrogen where they also discussed the topic of storage:
https://static.agora-energiewende.de/fileadmin/Projekte/2021...

According to them there's enough potential for geological storage, it's just that ideally one should start now to build it (or repurpose existing natural gas storage).
> government bribes

Governments mired in corruption, embezzlement of public funds, dumping toxic waste and ignoring infrastructure and human development are not banning crypto out of the goodness of their heart. They're banning it because it erodes and threatens control of their mismanaged currencies.

If we required governments and large corporations to use identifiable addresses then the traceability and immutability of public blockchains makes bribes and corruption much harder to hide. Government spending, which is not used to being held accountable would of course not take kindly to this.
UPchieve (YC W21) Is Hiring a Content Marketing Manager
You could still stream the pixels, you'd just have to stream them in Z order. This may seem pedantic, but this applies to any mismatch between the order in which you store pixels and the order in which the format stores pixels.

E.g. some file formats may be row-major, others column-major, some block-based (like JPEG) or a fancy interleaving scheme (like Adam7). Some might store the channels interleaved, others separate the channels. If any of these choices doesn't match the desired output format, it breaks streaming.
Iteration order through arrays has a big impact on performance due to cache effects. I'd guess that you'd lose a lot of performance by a complicated iteration scheme.
I don't know much about databases but shouldn't

where num1 <= date <= num2

throw an error if it's not supported, yet silently returns false data? The dates are integers.

select * from facebook_event_checkin fb
where 20171201 <= fb.date <= 20171231:

28508 | 5880 | Nudists are people who wear one-button suits. | 20170913 <--
> Are you saying that they’re going to allocate the loopback range as v4 addresses?

Yes, there's a proposal to do so, which was discussed here last week (https://news.ycombinator.com/item?id=29246420 and https://news.ycombinator.com/item?id=29245466).
Tracking isn't necessarily a pejorative. It's still considered a good strategy here in the UK (although it isn't used universally).
How Bullshit Has Dominated the Software Market
No, recent docker uses UID namespaces, where "root" inside a container translates to a high real UID as seen from the host OS (100000 or some such). iptables' "owner" extension would use that real UID to match.

Which could be a problem if intention was to allow it, as your sibling comment points out.
I am in awe with how the post neatly interleaves the why and the how. Having recently implemented L4 decompressor (itself a rather reasonable and "lightweight" standard), I like the QOI even better. Hoping to see the video decoder author mentions as possibility!
I suspect SIMD would help with the encoding. The lookup table is small enough to fit into 8 AVX2 registers, so instead of hashing, you could use direct lookup, which would improve compression ratio further (a little bit).
> The result was that, despite lacking 6 years of formal math education, the students in that district were only one year behind the other students when they went to junior high.

If it is anything like German math education back when I was in school a lot of the early things are simplified to an insane extreme and either have to be revisited later or are completely replaced with a better approach. I think we went through half a dozen ways on how to multiply and divide numbers when only one mattered in the end. If you learned the basics from your parents you could even expect to be penalized since you had to use the useless methods described in the curriculum for the first few years and could get penalized for correctly identifying an equation with a negative result.

> Basically, it seems like kid’s brains are just not able to efficiently learn math

Or it may be related to a really bad curriculum that tries to be "age appropriate" by teaching mostly useless crap.
With so many of these "math puzzles," you can usually solve it by cutting it down to a trivial size and scaling it up.
Btw Often a nat gateway makes sense even for ipv6 because its Easier to firewall
- Boris Johnson resigns or is institutionalised

- house prices in the UK increase by 10%

- Crypto is banned in the EU (and other places?) for environmental reasons

- Jeff Bezos will surpass 300bn USD in net worth

- A billionaire tax will be introduced in the US (only to be cancelled by Trump when he gets back in in 2024)
I wouldn't call it recent. Boost has been doing it since it was started in the late 1990s.
Another problem is that these overly complex systems are often very fragile when something changes. In a very theoretical situation there could be a case where someone with an overengineered client consumes your JSON API and their client breaks when you add a field to a certain service response. Something that should have been no problem suddenly causes total breakage of your software and then you'll have to alter that very complex piece of software. Something that could've been prevented if you kept things simple and robust and simple chose to ignore extra fields or headers you weren't using anyway.
Guess what?

https://www.itsfoss.net/initware-as-a-systemd-fork-on-openbs...
When your service can no longer process requests as fast as they come in, you've hit a wall. Until then the simple solution is to allocate more resources to your service (i.e. scale vertically).
It does: http://www.imda.gov.sg/for-community/Infocomm-regulation-and...

Unfortunately the Act is aimed at out and out spam, not marketing from companies where you actually are a customer.
The font seems a little thin for what it is, no? It's hard to say for sure without seeing on in person, but I'd have probably picked something bolder.
Makes you proud to be Terran..
Any network administrator can control the availability of Private Relay: https://developer.apple.com/support/prepare-your-network-for...
No, you use money/resources from a previous grant to do exploratory work on the next grant while you are writing it. Sometimes you double-dip, so you write up a grant for one place, change parameters and personell slightly for another, etc. Have you ever actually worked in a research lab?
Powershell is also a good option nowadays (although a lot of people on HN seem to dismiss it for various, imo rather superficial, reasons).

PS> (irm https://api.github.com/repos/lmorg/murex/issues) | % { echo "$($_.number): $($_.title)" }
380: Fail if variable is missing
379: Backslashes and code comments
378: Improve testing facility documentation
377: v2.4 release
361: Deprecate `swivel-table` and `swivel-datatype`
360: `sort` converts everything to a string
340: `append` and `prepend` should `ReadArrayWithType`

Or just

PS> (irm https://api.github.com/repos/lmorg/murex/issues) | format-table number, title

number title
------ -----
380 Fail if variable is missing
379 Backslashes and code comments
378 Improve testing facility documentation
377 v2.4 release
361 Deprecate `swivel-table` and `swivel-datatype`
360 `sort` converts everything to a string
340 `append` and `prepend` should `ReadArrayWithType`

Or even `(irm https://api.github.com/repos/lmorg/murex/issues) | select number, title | out-gridview`, which would open a GUI list (with sorting and filtering), but I think that only works on Windows.
Maybe just like the title, the distinction is whether you interpret root as in the plant part or as in the data structure.

In a plant, starting from the trunk, and going towards the source, a root branches into smaller and smaller bits. On topic, the root cause would be a combination of multiple contributing factors all coming together.

In a tree data structure, the root is a singular node. On topic, the root cause would be a singular reason.

I never understood why in computer science, the root if a tree data structure is called the root and not the trunk.
I learned how to read in Spanish, and very shortly thereafter I moved to an English country.

Totally different. You just cant compare a phonetic language to one like English.

My daughter is now learning how to read in the best school in my city and its taking her over year compared to me. We started at roughly the same age, but she and her classmates are struggling through hours of practice.

“Thats a sharp e honey”

“That letter is silent, baby”

“You’ll never sound that out, that words just messed up”

EDIT - punctuation and mistypes
Great Landing Page!
will check out the product too, looks interesting, thanks for sharing.
Before You Invest in Bitcoin
The nice thing is if M >= B^2 (i.e., total memory is large enough to fit a square region of the image, where each row/column of the square fits a full block/page of memory), you can transform from row/column order to Hilbert/Z-order without needing to do more I/Os.

So you can't do such a conversion in a streaming fashion, but there is no need to load all data in memory either.
> they expect each and every one of them to turn into rocket ships

> it is highly unlikely that each portfolio company will actually become a rocketship

You're just rebranding gambling as "taking risk". Every gambler expects his next hand to be a royal flush, while understanding that it's unlikely.
Reliably Allocating Pages in Linux
Non-techs really emphasize specialists because they think it will save them money.
"Cause heart issues"

What percentage of people get it? If it's super low than it's not straightforward to say they cause heart issues.

That's like the few people per year that slip on banana peels and die... "Banana peels cause death!"
> Typeless languages are now out of favor

Javascript, Python, ... aren't they THE two most popular languages?
I know you don't like "design by committee" and overly complex formats. Also, the compression algorithm itself is somewhat independent of the "container format" that it's used with.

However, if I may make a suggestion: If you do end up rolling your own container format for any reason, always include a way to store the colour space of the image!

Treating RGB images as arrays of bytes without further tags is like treating char* as "text" without specifying the code page. It could be UTF8. Or Latin-1. Or something else. You don't know. Other people don't know. There's often no way to tell.

Similarly with colour spaces: sRGB, Display P3, and Adobe RGB are just close enough to be easily confused, but end up looking subtly wrong if mixed up.
> trying to avoid the eyes of the state

Nothing wrong with that. Everyone agrees cryptography is a good thing, worldwide warrantless surveillance is bad, privacy is good. So why is it acceptable for the government to pry into people's finances? Total surveillance is already the norm there. If a blockchain is what it takes to defeat that, then so be it.
Not coming from the vim/eMacs world, I fail to understand what treesitter is compare to a language server? Why would I need both?
Uhm, are you sure.

I multiple times heard from exchange students that the standard of the English curses they had in the US hand been below the standard of the English cursed they had Germany...
>I can almost picture the meeting of the Moving Picture Experts Group where some random suit demanded there to be a way to indicate a video stream is copyrighted. And thus, the copyright bit flag made its way into the standard and successfully STOPPED MOVIE PIRACY BEFORE IT EVEN BEGAN.

This bit made me laugh out loud :D
I'm wondering how scalable would this be for hyperspectral images, with 25 channels for example. I'm guessing it's just repeating the processing for RGB channels but for 25?
Working through this myself...

If you place a coin in the center, then due to symmetry there must be an even number of remaining places for a coin (or you didn't put it in the center).

You can work up from remaining=2 to see that player A always wins with an even remainder.
The original C++ templates used to be entirely contained in the headers. I assume that is no longer the case, but it has been a long time, since I wrote C++.

When I was writing template SDKs, the headers were pretty much the entirety of the library.
I'm sorry but

>username
https://www.sciencedaily.com/releases/2016/06/160613153411.h...

Birds have more neurons than you think
Anecdotal, of course, but this tracks with the subset of my friends/former colleagues who are researchers in biotech. As an Asian person, I thought the focus on the wet markets to be weirdly racist/exoticist. If anything the lab leak hypothesis is anti chinese-state, but not racist, but the Chinese state loves to conflate being anti-chinese-state with racism in it's propaganda.
Curator Accused of Making NFTs of Works Without Permission
Very interesting. Also quite different from a lot of other birds, like seagulls, who are not that into sharing food.

I wonder if the same could be done with Corvidae.
Valtio – Proxy-based state management for React
I doubt it'll be that hard. Just write the same memory intense routine in both languages, and time it running in a loop for a couple million executions.

Make sure the code is idiomatic and optimized.
> Unless you're running something like Firejail on your system, yes they are.

Which I am, but this is besides the point.

> There are a metric ton of holes to plug in the Linux security model, Linux security is a dumpster fire.

Please don't spread FUD. Perfection does not exist in this world but Linux is used in most security critical environments in the world, from banks to military applications to security devices like firewalls.

> But... run Wayland, use Flatpak (and check your permissions), check file access/network access -- these are steps in the right direction, they are security improvements over apt-get.

Sandboxing and installation tools like apt-get are completely orthogonal topics. Flatpak blurs the line and people get confused.

Furthermore, sandboxing can be effective only if the whole UX is designed and tested centrally.

Applications need access files in ways that are compatible with each other and useful for the end users.

Policies need to be written and reviewed by a trusted organization.

You can't rely or random upstream authors to configure sandboxes for different applications independently from each other.

Sample the sandbox settings on some flatpak applications and you'll find they range from too strict to completely lax.

> Android/iOS's model of app isolation is unambiguously more secure than an apt-get free-for-all

And yet the phones are full of spyware/telemetries antifeatures.

> I would not today assume that Flatpak is secure or battle-tested

It's not.
Tech mindset for Early-Stage CTOs (2019)
Found the backend dev.

Really, this is very dependent on the kind of software you work in and what the focus of that software is. There's a wide world of software out there, with all different kinds of priorities and challenges.
Language for Technical Blog Post
slower sales cycles, more risk-averse.
> German Pädagogin justify this by saying there is some neural development issue — I think that is likely bull.

Why would that be bull? Kids brains develops over time.
The article talks about why LSP servers don't typically implement syntax highlighting (performance).
Even better might be breaking it into tiles, so you get some vertical locality happening as well as horizontal.

It would be interesting to know which strategy is used for each pixel. Have you tried making maps of that with four different colours? Particularly interesting would be how much the cache is used and also how often it replaces a colour that it could have used later. Maybe there's a better colour hash. BTW you might want to change "(really just r^g^b^a)" to "(really just (r^g^b^a)%64)".
I was about to post the same idea about a locality preserving pixel order. I was thinking about hilbert curves, never heard of z-curves. Would be nice to see if/how that affects the compression ratios. How surprising that a few simple principles can give quite a good image format
German 7 years old dont speak fluent English at all.
I call it software kintsugi[0].

https://traditionalkyoto.com/culture/kintsugi/
FYI: I have a HN page permanently open on every device I use and have never experienced the problem you mention.
If you find yourself over-engineering due to stuff you think you should be doing, things that ‘real developers’ do, understand you are vulnerable to being pimped. It’s no different than anyone else handing over their common sense and self worth in pursuit of an abstract form of validation (so abstract that you can internalize the validation cycle even in the absence of a physical superior).

If you find yourself defending your bad over-engineering and those that sold you the lifestyle, understand you are fully pimped and are now defending the pimp, even to your own detriment.

Happens to all of us from time to time, snap out of it. Don’t get pimped by ‘faangs’ or ‘notable person of interest’. Don’t listen to everything I said either, lest you want to get pimped by me.

Unless you can wholeheartedly make an objective argument for why you used a pattern, a tech stack, a process, in plain simple words, sans ‘that’s how the big boys do it’, sans ‘this makes me a real developer’, you are simply pimped and spewing out pimped out thoughts of your overlord pimps. Be ready to be wrong and backtrack and own the mistake and correct course, but don’t you dare hold on to it, or I’ll probe to see who is pimping you out.

I was never more free from my overlord developer pimps until the day I realized they evangelized impractical solutions. Never hoe’ing for anyone ever again.
The problem with that sort of tracking is that no one wants to be stuck teaching kids with "medium" and "low" skills. So these kids are going to get matched to the worst, lowest skilled teachers, and no chance of realistically getting back on the "high" track! You can of course fix that by rewarding the best teachers and training them better in effective instruction methods (i.e. nope, the kids aren't going to just "learn stuff on their own"!) but guess what, both of these are political anathema in the public schooling system. Especially in the U.S.
The battle to close Tattle – the most hate-filled corner of the web
All sudo actions on my machines are logged to a remote syslog server (and locally to /var/log/auth.log, which is rotated, compressed, and kept far longer than other logs). That certainly used to be standard. You can't log on as root, you have to log on as your own user and elevate to root (even if that's all you do with sudo), so there's a trail there.

This article suggests there are ways for programs to issue unaudited commands with elevated privileges to systemd.

"Systemd has a D-Bus interface that people can use, there's hardware events that may trigger a reboot, there are various programs that may decide to ask systemd to reboot the system, and under some circumstances systemd itself can decide that a particular, harmless looking process failure or 'systemctl' transaction actually will trigger a reboot through some weird chain of dependencies and systemd unit settings"

Complaining about systemd is as old as systemd, and borders on a religious war, a proxy towards "modern linux" and "old school unix" methods.
There's an important difference between STB-style 'single file libraries', and C++ 'stdlib-style' header-only-libraries: STB-style libraries put the implementation code into a separate section inside an "#ifdef IMPLEMENTATION" block, while most C++ header-only-libraries use inline code (and thus pay a higher compilation cost each time this header is included).

STB-style libraries skip the implementation already in the preprocessor and compile the implementation only once for the whole project.
These kinds of formats have been somewhat explored by camera makers for their raw formats. Since the computing resources in the cameras can be quite limited there are a few formats that try to occupy this space of simplicity with still some tricks for compression. Samsung's various SRW encodings remind me most of this:

https://github.com/pedrocr/rawloader/blob/a59bb78d156277781a...
Reminds me of the ants-on-a-stick problem.

100 ants are spaced evenly on a 1m stick. They travel at 1m/minute. When an ant bumps into another ant, they both turn around and go the other way. When an ant reaches the end of the stick it falls off.

How long before all the ants fall off?
QOI_DIFF24 {
u8 tag : 4; // b1110
u8 dr : 5; // 5-bit red channel difference: -15..16
u8 dg : 5; // 5-bit green channel difference: -15..16
u8 db : 5; // 5-bit blue channel difference: -15..16
u8 da : 5; // 5-bit alpha channel difference: -15..16
}

It bothers me more than it should that the 5-bit signed differences aren't -16..15 matching two's complement but -15..16 instead.
Of course it may vary a lot but i would say a hundred of thousands of users (100 000).

To explain the number, I assume a user will spend 1% of it's time on your app (that mean the average user spend around 15min per day (EVERY DAY) on your app, that may not sound impressive but it aldready is) and an nginx server on a powerfull machine could handle around 1k connection at the same time.

If you want to dig about an exemple of number far less abstract I remember stack overflow published their settings :

- https://nickcraver.com/blog/2013/11/22/what-it-takes-to-run-...

- https://nickcraver.com/blog/2016/02/17/stack-overflow-the-ar...

The 2013 article state they could handle 148,084,883 page load per day with a single database server (but they did use two) for exemple.
What I (on Windows) found interesting, was that I thought the subpixel rendering screenshot looked clearly worse and more blurry… on my FHD Monitor. On a hunch, I dragged it to my WQHD Monitor and indeed, that reversed which of the 2 examples I found to be more blurry.
I think that the 1-click (or 1 command) create-react-app style of development is part of the reason that JS has become so bloated. It encourages thinking in terms of framework and bundling of tons of dependencies as well as closely tying software with any underlying bundle/development/analysis process. The problem with this is that it doesn’t compose well…

However, it is a catch-22. As more things want to become frameworks and wrap the entire process (for ease of use), there’s more monolithic stacks created, and it ends up with making it even more inaccessible without 1-click/command solutions.
This is so neat. Reminds me the recent LZ4 post who manually hand tweaking the encoding one could still create a decent compression boosts after all these decades.
Interesting I have the opposite view. From intuition I would think there is an unbounded set of simple compression algorithms. You can probably make much more effective simple compression algorithms by making basic assumptions about the type of image.
Didn't common core also state that a child solving 4x5 by computing 5x4 fails the task and in turn hindering deeper comprehension.

Or do I confuse this with something else?
Is there a good resource for people who are used to non-systemd systems (something like a gotcha list)? I keep on running into weird situations where I end up finding out systemd is somehow responsible for my woes. Last time that happened was when I changed /etc/fstab but somehow old mounts kept on being remounted, I wasted an hour before I found out I had to reload some systemd service.