skysight-inc/HackerNews huggingface dataset:
While it absolutely doesn't hold a candle to 32 bytes :) I'm reminded of the 1691-byte IOCCC entry from 1991 which drew the Game of Life on the root X server window without using Xlib.

I'm completely naive about Life implementations, and I've always been curious if the approach used by this entry is especially interesting; it's certainly a fascinating read (https://www.ioccc.org/1991/davidguy.hint):

The algorithm used to compute the next generation is based on the observation that a cell's state in the next generation is a boolean function of its current state, and the states of its 8 neighbors (ie, a boolean function from 9 bits to 1 bit). This function can be computed by a boolean circuit. In addition, intermediate values computed by the circuit can be shared between neighboring cells, reducing the number of gates per cell required.

These ideas have been used before, to compute the next generation through a series of bit blits. Instead of doing this, we map values in the circuit to bits in registers, so that the next generation can be computed efficiently within registers, minimizing memory accesses.

As a result, the computation of the next generation is performed with about 1.6 instructions per life cell, consisting of .125 memory accesses, .17 shifts, and 1.3 logic operations. The net result is that the time to transfer the bits to the X server, and for the X server to draw them on the screen, dominates the time to compute the next generation.

I'm not sure what I did last time I tried to get this working and failed; it works great on Debian 10 with GCC 8.3 etc:

$ wget https://www.ioccc.org/1991/davidguy.fix.c

$ gcc -o davidguy davidguy.fix.c -m32

$ xhost +

$ ./davidguy

If your X server is not :0, change the last character of the ".slo.-W00,tmhw.W/" string to be one less
in ASCII to the display number (ie 0 -> /, 1 -> 0, 2 -> 1, etc).

The main reason I added this comment was out of curiosity about the technical competence/interestingness of the implementation.
That's pretty much spot on (more generally, I think it's a Central-American thing). Either "pelotas" or "bolas" are the common ones in South America (huevos is present, but rarely used in the same way—"huevón" is the classic insult used throughout).
Without any knowledge of this person - might have been a case of hiring regret followed by a second look at everything that would allow the company to let them go.

Either way, I agree with you - pretty BS.
> I wish there was a straightforward way to take the diff of all the Ubuntu variants.

It's not _exactly_ a diff, but here's a link to the Pop!_OS github page, which contains 149 repos (only 16 of which are forks) https://github.com/pop-os

> one could take Ubuntu and run a few shell scripts (I am grossly oversimplifying) and boom you are now running Pop.

That same link notes that the top languages for the Pop!_OS repos are Rust, C, Python, JavaScript, and (lastly) Shell. So not _exactly_ "a few shell scripts". (I don't know how accurate that really is, but I do know they've written a fair bit of Rust.)

(Note: I don't currently use Pop!_OS and think the name is absurd)
EDITED: the below is wrong (as stated by a child comment). There is a diversity of systems in Europe.

OLD COMMENT: Here's the thing, as far as I know, Europe does not have those companies. So it definitely should be possible to do without them...
A person's ability to pay off a loan is not the true value of the investment. There are positive externalities to getting an education that boost society as a whole. Real wage stagnation, rising income inequality, and compound interest on loans would all serve to make this investment less rewarding for individuals while not decreasing the overall societal value of education.
I feel like the unstated caveat is "there will almost always come a time when you need to do ad hoc queries, and there will almost always come a time when you need transactions or the equivalent." Which translates to "use sql unless you are sure your don't and won't need to do ad hoc queries or transactions." Which... seems correct.
It works fine- Rust only forbids multiple `&mut T`s to the same object, but `&mut T` doesn't exist outside of Rust, so code in other languages doesn't have to care about that rule at all.

These bindings can just expose non-Rust pointers as (wrapped) raw pointers, leaving all the actual dereferencing and mutation to the other language. WinRT objects don't expose anything but virtual methods on opaque objects anyway, so this isn't even Rust-specific.

Outside of WinRT this sort of thing requires a bit more thought, but you can still use the usual tools- `Rc` and `Cell` or their variants, or raw pointers and `unsafe`.

You can think of `&T` and `&mut T`, and their associated "no shared mutability" rule, as a compiler-checked version of C's `restrict`. Stop using `restrict` and the rules go away.
You need to normalize against something when comparing the share price of one company vs. another company. EPS helps you determine the worth of any single share.

Yes, if you're curious how well a particular company is doing over time, then it's arbitrary and not very helpful. But if you are comparing the relative value of a single share of company A vs company B, then it's helpful.

(Which is then also related to the sibling comment about dividends).
I can make it available here :)

Here's the binary:

uBMAzRC6AKCOwovyM/+xAYvp+rraA+yoCHX77KgIdPsmgDWRdDCQkORgityyBDqHawF0C5CQ/sP+
ynXy6wmQKtzQ44uPcwED+YD0BIf+h+k793W/tAyA9ATA7AKK1IDCQbgDAM0QtALNIcMeIBEfJCYX
Jf//AQDA/kAB

Copy that to a file and then: "base64 -d blah.txt > worms.com"

Make sure there are no spaces in the beginning of the lines.

This is from the original document:

"This is a version of the worm game for two players.
Game objective is to stay alive longer than the other worm!
You die if you eat yourself, ie. you are going RIGHT and you press LEFT.

Move the worm with the following keys:
PLAYER A: (topmost worm)
W
A D
S

PLAYER B: (lower worm)
I
J L
K

Winner is indicated by player letter, "A" or "B".
An even game is indicated by a "C". An even game means that the worms
ate each others heads, and nobody won."

Edit: correct base64 formatting
This symbol is for marking external links, distinct from internal links.
> Urbit address space has value, which means the distribution of address space has tax implications. You should speak with your tax advisor about these implications.

oh to be a fly on that wall..
Systemless root + root hiding is a thing.

I run a custom rom and pass safety check and have access to all my apps including banking.
> Feels like a very good use of ML on the part of the mobile OS makers...

The thing is, mobile OS makers, especially the ones with huge investments in data and ML, have a conflict of interest. A large majority of them are in the business of monetizing your attention and the data they can collect about you, not just helping you focus on what's most important to you.

This is a really good case for free/open OSes, and ML projects. But the resources needed to develop free and open software are much scarcer because they tend to be harder to monetize / not as profitable.
Nowadays GPUs are a poor choice for this. GPUs have fairly high latency and are designed to be optimal for embarrassingly parallel computations. Sure you can do 10gigabits/sec but because you're batching that'll result in your latency being high-ish on average.

In terms of non-CPU hardware for routing FPGA's are still king if you need a bit of flexibility. In theory a rule table can be defined in configs and then flashed onto the FGPA for line-speed packet processing. Even then, given how slow FPGA's are to flash CPUs are still king when general packet processing is needed.
I went to Purdue. At Purdue, athletics and student housing/dining are entirely separate divisions from the academic side of the university. Each of those divisions is required to be self supporting without needing aid from tuition dollars.

That being said, a mandatory part of tuition is funding for the student gym. I think it came out to be something like $100/student/semester which I'd consider reasonable.
@antirez

Have you considered hosting your projects on Source Hut?

https://news.ycombinator.com/item?id=23030489
An Infinite Barrage of Mountains to Climb
This may be cynical, but I think this was a PR focused earning to offer better optics.

I think they absolutely had to say something to placate the rising tide of voices against their monopoly and for their contribution to so many retailers' downfall- even without COVID. This will earn them some brownie points as in "Oh- AMZN's sales went up but at least they were not gouging- they invested all their profit in improving their service and employee benefits"
It allows to sort of doing mentally the calculation of if the share price is 10x, 20x the EPS, as to quickly see it the share price is interesting for your perception of that company. That is it helped with a quickly triage for steals.

Probably the EPS metric made more sense before Excel.
Chrome steers you into logging into your Google account for improved tracking. Android Chrome already has this info via OS integration.
The thing is that when the reasonable solution is "Stop the company doing its core competency" you need to realise that almost everything else the company does is going to be "exploit whatever it has left". So forcibly shutting down the company is far more reasonable than just stopping it from collecting credit information.
Ask HN: How do you push website updates to live?
Hi everyone, I wanted to reach out to the community to see best practices for pushing updates to live sites.

I run an e-commerce site running a php shopping cart system. The way the shopping cart is structured is admittedly a bit complicated, which makes me nervous when I push live updates to the site.

Currently, I have a hosted dev site where I make changes, and when I'm ready for a release I manually change the files in the ftp. Not the best solution, especially considering a high chance of user error.

What is the standard practice for pushing updates? Git would make more sense, but implementation seems daunting.
Any advice is appreciated!
To the contrary, it makes this story all the more interesting. It certainly brings a new wrinkle to a news event I hadn't thought about in a while.
FWIW, interlinked chain links symbol is in the Unicode. And it's been the widely used symbol for hyperlink. The box-with-arrow one is a symbol for external link, which is a concept that matters only in few contexts, and which was usually displayed with a globe icon (also in Unicode).

I explicitly don't want it to be "Wikipedia sniff test", because that's equivalent to a "Webpage sniff test", which is equivalent to "anything goes", because icon fonts exist now and are used.

That said, other comments made me realize that Unicode is better described as "whatever was there in all the codepages around the world at the time of bootstrapping the Unicode standard" plus what's typically used in a written language, plus SMS sniff test.
Now you have to explain how students got loans before 1998 and 2005, before student loans were made non-dischargeable.

https://www.forbes.com/sites/zackfriedman/2019/01/09/student...

The fact of the matter is that by making the loans non-dischargeable, lenders loosen their purse strings since risk of default is much lower. And colleges being on the receiving end of these loans are naturally going to move their prices upward to capture the increase.

Going back to the way things were in 1998 would go far in bringing down the astronomical tuition increases we see year after year.
Wealthy people don't leave money on the table. If they can earn "free money" with a credit card point game, then why not?

Some of the cheapest people I know are wealthy. Cheap as in, they negotiate the hardest for the lowest price, even though it is meaningless to them. I have been told out right on more than one occasion that it's not about trying to make something affordable, but more of the shear enjoyment of making someone else take less just because they can.
> I predict that in very near future you just write funny lyrics, select the style and vocalist you want

You probably don't even need to write the lyrics yourself, but just select any topic you want, genre and mood then entire song generated, for example lyrics generated using Artificial Intelligence

E.g. https://TheseLyricsDoNotExist.com
The article looks interesting, I'll have a read in a bit.

Also, the URL to send the encoded calendar is a great idea! I've thought about doing that before, but focused on just creating the message because I thought users would rather just get the text and be done with the site, but I think I'll implement it and see if people use it
Yeah but the difference is the founders had to put in sweat equity while Bitcoin is a passive investment.
Alt Keys and Linux
How much work will IDEO do for $100k?
Don't use Xiaomi, Huawei or other Chinese smart phone brands if you don't want to your information collected by those Chinese companies and the CCP.

That being said Google, Apple and other American companies collect your information too, maybe not as bad, just maybe.

We really need good free and open source OS options for smart phones. Like the GNU/Linux options available on desktops.
I'm blown away. I can't even begin to think how to encode GoL in such a small program.

Jaw dropping.
I think it's a fixed point in the lattice of operational systems.
> "Viktor Fracic: “Code coverage means nothing." I guess I don't have any need to listen to that Viktor guy, then.

The full quote is:

"Viktor Fracic: “Code coverage means nothing. I don’t understand why people are still obsessed with code coverage. It’s not really about how many tests you have, but the quality of those tests. I’ve seen companies that have close to 100% code coverage but have meaningless tests that don’t prove anything."
It’s possible but kinda makes it even worse
Understanding Graph Neural Networks
Wrote this a few days back, would appreciate hearing other people's take on this
Your contract may look different than mione, but I can totally work a second job on my own time. Now it seems unlikely you could do that without impacting your current job, but the GP said they were on vacation, so you probably could in this case.

ANy non-compete would be the same if they were concurrent or sequential.
Was that what we saw happening before such loans were made non-dischargeable?
But does the media even care about that? Or was that the point you were trying to make?
I think Pop!_OS offers the most solid experience of Linux on desktops today. Apart from the lack of proprietary codecs by default (I know there are licensing issues, still I missed it), the default settings are pretty good. I reserved a whole day to set it up when I decided to install it, but right after the installation it felt ready to work, just needed to install some things and transfer my stuff.

Their decision to support Flatpak by default, to create a recovery partition which allows the user to reinstall the system without losing data (in a no-brainer way), and their overall attention to detail won me over. Kudos to the team for creating this distro and making it available for other computer brands.

Edit: typo.
opaque to casual examination means that you simply cannot read the code. You would think that a statically compiled binary blob wouldn't be handled as if it was a perl script, but it is.
There's no way that only 60% of households borrow for a home. It might be that only 60% are borrowing against their home right now, but in that case you're probably talking about 99% of the people not borrowing against their home being pensioners. Those aren't particularly rich people, they're just in a different part of their life. (It also wouldn't matter if they were credit worthy because no one is going to give a mortgage to an 83 year old)
I've seen a engineering wiki migration done in 3 months at another bigco.

Getting documentation off google docs on the other hand seems impossible from a behavior standpoint :(
A kind-of similar thing, showing the... less than comprehensive nature of the background checks. At my current job, I was applying from another startup, but before that one, had spent over a decade either self-employed or running my own company.

They hired some company (forget who) to check me, and got a call from them. They asked me about my company, which had been dissolved like six years earlier. I said as much, and she asked me if I was sure. I said I was the co-owner, and as such was pretty darn sure. Said OK, and hung up.

About an hour later, I get another call from the same person, asking me about my consulting. She did not seem to notice she had just talked to me. I said, yes, I was previously a consultant. She asked who my manager was, and I said I was a one-man shop. She insisted she speak to may manager, apparently not understanding what I was saying. I finally said I self-managed. She accepted that (!) and we hung up. I'm still working here several years later, so it must have been OK.

I guess one moral of this story is, if you want to get away with something on a commercial background check, there are worse ideas than listing your own phone number.
Don't worry, it's only metaphorical blood. Equifax is just a concept, and can't be physically hurt.
> Notice that it is the highlighted part they want you to tweet out.

You mean the highlight that medium applies automatically based on user behavior and the author has no part in controlling?
> Surface Pro X has been well received

The reviews look to all be middling at best, with a common refrain being "Get the Surface Pro 7 instead." Where are you seeing it be well received?
You made a typo, step 4 was meant to be "Raise funds by selling your organisation to Ethos capital"
https://archive.md/rhr59
How can it be true that the community is a hive mind, but also that every discussion is a (sometimes 5-layer-deep) argument? If it were a hive mind, wouldn't there be little argument at all?
Personally I think this has been a good pointer that we need to be careful about what we trust third party libraries and frameworks to do.

I in no way believe that Stripe had any intentions of doing anything wrong, however it is good to hold people accountable and ensure that what they do is above board. I have personal examples of companies caring very little about users data, except when they might be caught out for it.

Thanks for the article.
Great to see things progressing. We're currently self-hosting gitlab, and the relatively tight coupling of repo and issues/issue boards is an itch for us.

How is the self-host story for sourcehut (paid or gratis)?

Is there a turn-key variant with turn-key upgrades a la gitlab omnibus installer?
After being disappointed with Ubuntu's move towards snapification of apt packages (apt-get install chromium installs the snap, lxd is snap only now) along with my growing unhappiness with Canonical way of doing things I have been thinking about another distro. I would prefer to stay on a Debian based distro so PopOS looks promising.

Can anyone answer the following?

Does Pop inherit Ubuntus snapifictation with 20.04?

Do they release newer kernels for the LTS releases like Canonical does with Ubuntu LTS?

Do they pack ZFS in the kernel like Ubuntu?
I think they meant you could theoretically "run a few shell scripts" to install and uninstall packages and configuration to change stock Ubuntu to Pop (or Elementary or whatever) since the core OS is the same.
I did a little bit of work along these lines using gwern's folk music AI model: https://soundcloud.com/theshawwn/sets/ai-generated-videogame...

No lyrics, but the song structure is there. The main problem is that all the pieces end abruptly. It's also midi, not waveform generation, so it's closer in spirit to OpenAI's MuseNet than to Jukebox.

It's also not entirely AI. I didn't modify any of the notes, but I changed the instruments until it sounded good. IMO it's much more interesting to use AI as a "tool you can play with" rather than "a machine that spits out fully-formed results."
thats what i thought and was true for a while but ive found that always having the bleeding edge driver has led to a fair bit of instability. im back to debian and its solid. just add contrib and non free repos and nvidia-driver is there
Microtransacting is easy: someone offers to act as a microtransaction aggregator, I pay them like, $1, and they keep it and disburse funds to the things I microtransact against.

The real issue is no one cares about microtransactions because they're "micro" - and not enough to actually live off. See the artists spotify pays for plays - living that microtransaction lifestyle and making nothing.
Can someone help me understand - CodeSubmit gives candidates take home coding assignments?
Isn't that what coding tests are anyway mostly?

What's the alternative - coding assignments done in the employers office?
On the contrary, I'd say that public companies accurately forecasted that regardless of their shenanigans they'd be bailed out by the government, and acted accordingly in a long-term fashion. That's why, at some point, it will be critical to the future viability of our institutions and way of life to let companies fail when they make catastrophic mistakes, no matter how large they are. One strong slap from reality, and nobody there to back them up, will be a sufficient signal to engender long-term planning that doesn't rely on the public's largesse. Corporate corpses are the best fertilizer for the institutions we need to build going forward.
Because each share 'owns' that much earnings in the company, and revenue is one means by which a company is valued.
sadly, almost all of it is based on samples around this small.
>Doesn't working at a FAANG company imply that you are better than average, considering the status of these companies, their rigorous interview processes, and so on?

No.
Whilst I generally agree with this it's definitely the case that experience leads you to prefer certain tools over others even when they may both be usable for a specific task.

i.e Go is relatively well suited for a simplistic web service. But even if I don't expect to need to extend it I would still prefer to write it in something that is more extension friendly than Go.

Therein lies the problem. Go actually isn't better than other tools at most things so if you don't actually have a tool of choice than Go is rarely the best choice assuming you are comfortable with a large range of tools.

Building a database? C++/Rust (arguably JVM) are better choices.
Building a correctness critical piece of software? Rust/Haskell are likely better choices if this is your main constraint.
Building a big data pipeline? JVM language of choice is probably the clear winner because of sheer ecosystem momentum.
Building a large web application? JVM/C# are miles ahead of the competition here.
Building a bunch of microservices? This is probably one case where Go actually does reasonably well, if you work hard architecturally to constraint to complexity of each service it can do OK here. Unfortunately, just OK. JVM/C# probably still beat it out here because of better tooling.
Building a kernel? C/C++/Rust/D/Zig. GC is a non-starter.
Building a browser? See above.

Once again, I could go on. Go can be used for lots of these but all of the tools above are better for each of these domains. So if you are an experienced professional with a wide array of languages at your disposal what are you going to pick Go for?
https://www.snopes.com/fact-check/luc-montagnier-covid-creat...
That was done for one of the US accounting companies, Arthur Andersen, related to Enron financials.

Noody, including the govt., was happy with the final result.

So although it should be on the table, in reality, it probably won't come from the govt.

https://en.wikipedia.org/wiki/Arthur_Andersen
I generally see that one used as "permalink/create share link to the current page".