skysight-inc/HackerNews huggingface dataset:
Show HN: Dimage.js – Never settle for two dimensions
Interesting but his scalar code is slow. When you care about performance, better to implement such algorithm so it reads bytes one by one, but move blocks with memmove when switching from write to skip state.

Pathological case (skipping every other character) is slightly slower, but on real data it’s much faster overall.

Unfortunately I don’t have AVX512 hardware so I can’t test.
it's hilarious, to underscore the fragility of the conventional domain name system under pressure of politics and money, and portray it as an argument against blockchains,... this is literally what Namecoin (probably the second significant blockchain proposal) was designed for! of course lots of time has past now, and better mechanisms have been formalized (especially Algorand)...
I do like the idea that "Most files go straight to the default suggested path".

Maybe the rest is a little Google-centric for me. Perhaps that's why I'm having trouble being organised; I haven't bought 100% into any ecosystem.

Do you not keep source code locally? Or is it in two places?
NASA Conducting First Real World Test of Its Planetary Defense Spacecraft
Also (IMO) python is a nice compromise between Ruby and JS and C/Java style. It's dynamically types but has classes out of the box, and it has Ruby "magic" methods but as double unders so you can actually tell that they are magic from the source.
That doesn't seem dumb at all. Making BCD the default would mean floats use 17% more space for the same precision. That might seem like a small loss, but it's also for an incredibly small gain. Programmers would still have to be aware that testing two decimals for exact equality is dangerous. I don't see the problem with 0.1 + 0.2 = 0.300000000000001 if you aren't testing floats for direct equality.
Only because they're some of the most recent philosophies that have had a very widespread impact and also due to them emphasizing Collectivism as opposed to Individualism. Postmodernism is born out of Marxism and Marxism pushes the equality theme hence fairness. I'd say that's a fairly valid reason to cite them?

Matthew 13:12 "For whosoever hath, to him shall be given, and he shall have more abundance: but whosoever hath not, from him shall be taken away even that he hath."

One could take that to be in reference to the general dynamics of power laws.

But, to reiterate my actual point, you find the same behavior related to 'fairness' in the animal kingdom, so it's not a uniquely human thing. That also makes Marx and Postmodernism irrelevant. They're almost a natural consequence that arises from some deeper, pre-existing thing.

The Is-Ought problem is relevant. If we accept that the distribution of power in society and the distribution of individual contribution follow power laws (they certainly seem to) then in response to "what is" as a society we have to make a decision about "what ought to be" in terms of how we run our society. You have to make that choice but the David Hume points out with his Is-Ought problem that you cannot link the morality of what you think "ought to be" with what is.

This means that whether Marx is saying well it seems that Capitalism has some problems that eventually result in it eating itself with all this power and wealth going to the top, the middle being stripped out and the rest winding up dirt poor on the bottom, so we "ought" not to do things that way OR You say something along the lines of supporting the current capatilist paradigm, you can't compute whether or not you are making the "right" choice from a moral standpoint in either case.

My line of thinking for what "ought" to be is that if nature really does seem hell bent on organizing things a certain way, how likely is it we can do anything about that? And if going against the grain seems to produce perverse results without much benefit, than why not just go with the grain and take the good with the bad?
Name-calling is indicative of a weak argument
Being upfront would bring more press... Alternatively, how many of your friends are going to read this article?
So what was it that made unions in these now low-paying jobs vanish? What enabled companies to say "we're going to drastically drop wages" and made unions unviable? How did America, seemingly within the span of years, end up with a tremendous number of jobs that "no American wanted to do"--jobs that Americans did and earned living wages for, for many, many years?
I was an audio visual technician for years, and we had quite regularly requests to stick monitors at weird angles for visual effect. I could have definitely used this feature to do some cool looking stuff.
Awesome, thanks! I'll play around a bit with the algorithms and see if I come up with anything neat. I'll email you if I do.
I completely disagree with the statement that I "deliberately misrepresent[ed]" anything. I read through the wikipedia link before sharing it. Did you bother to read it before attacking me?

A small excerpt:

> On May 29, 2014, the U.S. House of Representatives Committee on Oversight and Government Reform published a highly critical staff report that concluded:[21]

> “	Forceful prosecution of those who defraud American consumers is both responsible and admirable. However, Department of Justice initiatives to combat mass-market consumer fraud must be legitimate exercises of the Department's legal authorities, and must be executed in a manner that does not unfairly harm legitimate merchants and individuals.

> Operation Choke Point fails both these requirements. The Department's radical reinterpretation of what constitutes an actionable violation under § 951 of FIRREA fundamentally distorts Congress' intent in enacting the law, and inappropriately demands that bankers act as the moral arbiters and policemen of the commercial world. In light of the Department's obligation to act within the bounds of the law, and its avowed commitment not to "discourage or inhibit" the lawful conduct of honest merchants, it is necessary to disavow and dismantle Operation Choke Point.

regarding Gab, your 2nd paragraph seems to agree with what I said, so nothing to say there.
Good point. Yes, I meant logically short. Maybe logically compact is more apt.
That's because we don't get many outright lies about how those are good economic decisions. They're usually framed honestly as "let's buy some culture".
So does nVidia.
There is no such concept as 'privilege' in biology or biological ecosystems. To exclude humans from these models would border and idiocy (which does not stop some liberal arts majors to force the meme).

As the saying goes, according to the nature of this Universe, contradictions do not exist (the Universe is an one single unfolding process, so it does not step on itself) and if we stumbled upon a contradiction we have to check our premises - at least one of them is wrong.

The proper premises are that the concept of equality does not applicable to biological entities, which are unique by definition of biological evolution. Equality is applicable only to abstract entities such as numbers and, perhaps, atoms (given that location in a coordinate system differs).

When one begins from right premises and right principles one does not have any difficulties with reality. Yes, there is no such thing as equality and never will be, no matter what liberal arts majors would argue. Biology dominates memes.
I should clarify - I wouldn't accept a PR just to shorten a method for its own sake, if it's already written and working.
I keep thinking that C could support monads with a little work.
The paper you cite is just about the Great Pacific Garbage Patch.
Wow. But then the question is - what word does the letter represent: is it a topic, a project, the name of the tool ... ?
Whoops, I didn't sleep much last night. Just meant it to be the one all the way at the bottom.
Not a specific thing, no. It tends to be trade knowledge or bits of history & beliefs that were printed, or orally known. I have a certain store of oral history regarding a few 20thC movements that was passed down, for instance. But there are no electronic editions of that information - if you find it on Wikipedia, it'll be filtered, somewhat mangled, and altogether minimal in description.

These days when I want to find obscure knowledge, I purchase books written on the topic by scholars; they concentrate the information very well with good sourcing.
From a bit of googling, it seems like it stopped because online piracy became faster and easier than decryption and hardware hacking.
A slightly more detailed writeup: https://www.ipwatchdog.com/2019/01/04/patent-eligibility-gui...
> Can it be put in a very silent case but still with a fan so as to not overheat?

The fan itself probably will heat up more than the chips here.
I look at that differently. My favorite epigram goes like this:

Very few worthwhile projects are ever successful on the first attempt. Failure is just another useful metric giving guidance on the re-formulation of the problem and the solution. Failure has nothing what-so-ever to do with guilt.

For the longest time as a young man I did not understand this. I though something was wrong with me because I failed so often.
He REALLY wanted to be a movie director

Like half of Hollywood.
I mean, you’re not wrong.

But phone-sized, pocket-sized touch screen devices are a unique user interface to have to deal with.

Sub 6 inch 16:9 aspect ratio, hand held, high resolution viewports have specific requirements, and they are intrinsic to the form factor. They can’t be modified away by additions to the chasis, or tweaks to the GUI.

What really happens is a slow creep of size right on back up to the laptop form factor, and all the gaps in between. It started with phablets and plus-sized iPhones. But the Tablet itself was a laughable “innovation”. The iPad was just the iPhone, but bigger. And for what? Mostly just to watch movies in bed. Not much else going on there.

Meanwhile pocket-sized items remain an established niche. Standing around, out and about, everyone is staring at their phones. No one is carrying a keyboard. No one seriously snaps it into a clamshell frame with a keyboard. A pocket sized item is a slab of glass and nothing else. All the rest has to be handled in the UI.
Since you seem to store everything on various Google services, what is your backup strategy in case you loose access to your account?
As weird as it sounds, Microsoft had implemented the full namespaces stack in Server 2016 (unavailable in Win10 as the base for native containers is Server where kernel differs a bit), which Docker supports (and k8s in alpha/early beta).

Docker switched from LXC to containerd in 2016.
Fair point, I was a little fast and loose with my words there, which is definitely dangerous when it comes to things like C language / ABI standards! :-P
Land value rises? I would think noise and traffic decreases it.
I mean, some insights are crap, regardless of what chemicals you are on.

But psychedelics have been clinically shown to help people have genuine insights.
I'm on a Mac. On my main hard drive:

Applications go into /Applications, unless they're games, in which case they go in ~/Games.

Downloads stay in ~/Downloads unless I have a reason to put them elsewhere. I also clear the Downloads folder whenever I'm running out of hard drive space.

Pages documents and similar go in ~/Documents.

The Desktop is my temporary workspace, for active projects.

I have a script that automatically downloads podcasts and Youtube Videos every evening. These go in either ~/Movies or ~/Music depending on whether they are audio or video.

---

Now, I also have a separate mirrored ZFS pool I consider my "Archive". This drive is meticulously organized to a semi-ridiculous degree I can't fully describe here, but here's an overview of the top level structure:

• Books: A collection of audiobooks, organized by series.

• Games: Video games, organized by franchise. All either DRM Free, or with patches included to remove online-activation requirements. Also roms of console games, for use with flash cards or emulators. I don't separate games by platform, because if I want to play a specific game, I'll move to the platform that game is compatible with, and not the other way around.

• Movies: Contains BluRay rips and decrypted iTunes purchases of both movies and TV shows, organized by franchise and/or season.

• Music: My (sadly small) music collection, all thrown into one folder because there aren't that many songs. I keep meaning to buy more...

• Personal: This contains my birth certificate, schoolwork, past job applications, health records, social media profile data exports, photographs, etc.

• Software: All software I've purchased or written myself, and free programs I want to remember to use again. Organized by platform (macOS X, Windows, DOS, etc.) with a separate folder titled "Multi-Platform" for anything compatible with multiple OS's. This unfortunately means that if I need to retrieve a Mac program I need to check both the Mac and Multi-Platform folders in order to find it, but I can't think of a better system.
Most people don't obsess about rockets.

Not any more. That was back in the Space Age, 1956-1973.
I have a fairly specific system that I've developed, mostly due to my being fairly anal about not wanting to leave random files lying around after I'm done with them and wanting to keep as little as possible in my home directory. I tend to try to keep most things in my directory that's sync'd to cloud storage (previously Dropbox, now Nextcloud since Dropbox doesn't support non-ext4 on Linux); ~/Documents and ~/Pictures are both symlinks into that folder so that I don't have to keep track of which machine something is on. I try to keep my ~/Downloads directory fairly clean, and move things to the trash liberally (through trashcli) once my initial use is finished so that I can still access them later if I need to. The only other two (non-hidden) directories I keep in my home directory are ~/dotfiles (which is a private GitHub repo that I symlink my dotfiles from) and ~/code, which has subdirectories for various categories (`forks`, `scripts`, `projects`, `scratch`, and maybe a few others I'm forgetting). Finally, I have a ~/.scratch directory where I put text files I use to take notes, short scripts I write to test something, and other files I only need for a short time.
I'll tell you I'd rather live in the current world where the compiler emits a warning 'foo may be uninitialized' than the world we are heading into where that enables a half assed optimization that speeds up a ubenchmark on an architecture no one uses anymore.
"Most" use cases? You mean the use cases that don't involve heavy math, like graphics, physics, and statistics?
FWIW, the same thing happened to me (had been paying consistently on time for two years and forgot to pay before going on a short vacation). It's just a standard practice thing for landlords to do for a variety of reasons, especially in places where it's difficult to evict people.
off topic but it always irks me when people get it wrong: it’s “I couldn’t care less”
"The point is, we need to build systems that enables geniuses to be discovered regardless of races, resume, age, skintone, college."

Which the US did in the 1960s, out of fear that the USSR was gaining. Heavy IQ testing and attempts to identify gifted students. Now it's all about "no child left behind", trying to do something for the losers.
the 90s are back, baby! the demo page and the animations casually remind me of animated gifs back in the day. just a bit more updated.
I do. I climbed stairs for 45 minutes four days a week for 2 decades. At 70 I was doing 1780 steps at a time. After my metatarsals complained, I began interval training on a stationary bike. During the summers I scramble up and down the Klamath Mountains looking for gold. It won't last forever, but I'm ok for now.
That's what I thought this article was... Maybe I opened both of them, read the other one and closed it, then came back surprised to find this one.
Imagine your life being so wired to devices that turning on and off the GPS button is making life harder.
> and you end up jumping all over the place to work out that "auto result = ..." is actually "uint32_t result = ..."

Just hover over "result" and your IDE will tell you the type.
> Everything else goes into folder called "A Reference System" which contains a folder for each letter of the alphabet.

Wouldn't it be easier to just keep the directory structure flat, and use software to jump between letters? For instance, on macOS I can just press the "C" key and Finder will jump to items that start with C.
Unboxing Rose: Not your typical unboxing.  (Fiction)
First, let's keep in mind that Alexandria Ocasio-Cortez suggested a marginal tax rate on income over $10M/year. That's a pretty mild proposal. It affects a tiny fraction of people, and it still leaves them with more wealth in one year than they'd need to live comfortably for multiple lifetimes.

> It's easy to make the argument that a person with a lot of wealth should help those less fortunate than them selves but it's not so easy when you are forcing them to help the less fortunate.

I think you may misunderstand the mainstream arguments for tax rates this high. There are several, and this won't be an exhaustive list.

1) Extreme wealth indicates disproportionate benefit from social programs. Every business (and therefore business owner) is an upstream beneficiary of monthly welfare payments, for example. Roads are another: Tim Cook makes a lot more money off of road infrastructure than someone who works at a grocery store.

2) A rising tide raises all ships. A highly-taxed, rich person in a secure, well-funded society may actually end up netting more money in the end.

3) Your actual wealth goes down if your country doesn't have the foundations of a good quality of life. For example, my uncle lives in Brazil and spends $200k/year on a full-time security team. Someone at his level of wealth in the US would never do that. It just isn't worth it because the risk of being kidnapped is almost zero.

4) A lot of ultra-wealthy people aren't value creators. For example, some very highly-paid people every year are actually failed CEOs who are riding their golden parachutes out of their company.

There have been literally thousands of books written about this concept, so I suggest digging into it through someone more authoritative than me. Piketty might be a good start.
> The non-AVX version might be improved by removing the if alltogether, and replacing dst++ with dst = followed by dst += (src[i] == ' ' || src[i] == '\r' || src[i] == '\n') ? 0 : 1

Could you give me an example where that would actually generate different code?

Every time I've checked, if 'if' form generates a branch, so will the ternary form. Of course, that's also what one would expect, because both forms would generate same or almost same AST.
Yes you need both compiler barriers for the ordering, as well as memory fences to ensure the global visibility of previous operations in order.
It is possible that the mutex implementation he used does no spinning in case of contention and just context switches each time. That could explain the poor performance of mutexes but I don't know the implementation.
Your unstated premise is that you have to use a smart phone for everything. Once you free yourself from that restriction and chose to do some things on a desktop computer it is much easier to control what runs on your computing device and what it communicates with.
C: windows, often used software (fastest SSD)
d: personal storage organised by type(folder), e: client files organised by client/project (future modifications get a new project folder), reference files have their own folder inside the client/project they are associated with.

More generic references go onto my personal drive.

I have it this way due to losing a ton of old work when I lost a hd, since then client files on their own drove that I backup online regularly. If I lose my personal/games drive it's no big deal to re download.
It was PRIVATE land, zoned for OFFICES, owned by SALEFORCE, then sold to the Warriors. And 50% of the land is still being used for corporate offices (Uber HQ will occupy it).

Not sure what closed doors you're talking about.

The Warriors stadium is literally a gold standard and a model that other sports teams should follow. Not only did they pay out of pocket, but they donated millions to the city to help manage traffic in the area.
While the city of San Francisco put too much city money into the ballpark, that really was a run down warehouse area at the time.
Mentorship is hard to come by or even give when the common advice for ambitious people is to job hop every year or so basically - what kind of a professional relationship can develop within maybe just a year that is of substance? This is easy enough to do in an area with a lot of good tech companies and community to develop a stronger professional network but is really unlikely to happen in a lot of places with maybe a handful of employers with any decent size (software) engineering organization. I lived in Asheville, NC (about as isolated as any rural area in the US) for a bit and I was a little surprised to see I got more LinkedIn job recommendations for mechanical, chemical, or other “hard sciences” type of engineering jobs because Greenville, SC was the closest metro area evidently and even the Google and Apple datacenters were pretty darn sparsely staffed. Most of the software community there worked remotely as can be expected, but I was glad to see how talented and passionate everyone I met was. Thing is, almost everyone there had developed their careers before moving - staying put in an area that can’t reward you is obviously not good for a career but this begs the question of why decently talented people do not move to better opportunities.

But really, moving makes it super hard to build a good professional network and you have fewer opportunities as a result which causes a downward spiral of lack of improvement in skills. I’m really not that much better at anything besides rote memorization of some trivial technical facts than I had 10 years ago because I never have been challenged technically in that time period. This causes atrophy no different than lack of physical exercise. And unless you work another 20-30 hours / week outside of work you’re not going to catch up with those that do spend their time at jobs that appropriately challenge them and help them realize their full potential. Hence, location is among the more important factors as someone early in a career I’ll stress and is precisely why moving to some high cost area is worthwhile... if you can make use of what they have to offer.

Most of the advice I give to my juniors isn’t about code itself as much as larger design and architectural patterns that can cause years and years of effort to go down the tubes or require millions of dollars of human effort to correct. These are the decisions that cause major rifts even for architects. Heck, some older programmers I’ve worked with refused to write tests because they thought they’re a waste of time / crutches - does this mean I am a bad student or something? Not necessarily.
Gotta give credit where it's due; CSS transform effects kick some serious butt!
Lasers vs. Microwaves: A Billion-Dollar Bet on the Future of Magnetic Storage
Having seen both sides of this, people are arguing about the proper way to skin a cat. The standard only cares the cat be skinned not how.

On OS it's done by the OS for security and performance reasons. One you don't want people to snoop on memory freed from other processes. Two the OS can use the MMU to map in previously zero's pages of memory on demand, so you don't need to actually zero the entire .BSS section on startup.

On a bare metal system usually it's done either in assembly (or more cheezy in C) + linker magic.
There is interesting ongoing research on representing exact reals:
https://youtu.be/pMDoNfKXYZg
How can this be at the top of HN?