skysight-inc/HackerNews huggingface dataset:
Here is a 4x4 font: https://simplifier.neocities.org/4x4.html .

BESM-6 used to show CPU registers content with lights ( http://www.mailcom.com/besm6/ ); with this font, each 48-bit register could show 3 letters.
This can be combated to some extent by registering yourname.com and using it to present yourself. No reason one can't do a little SEO for themselves.
There's nothing legal about that. If you claim that you live in SF to get SF salary but live in Alabama. You are committing tax fraud. You need to file state taxes based on your location. If you live in both places, tax forms allows you to set how long you have lived in both places. You will be earning the benefits of Alabama but paying no tax to them. That's why it's not legal, so if you wish to be legal you shouldn't lie about your location. Also your unemployment tax will be paid to SF and not to say Mobile, Alabama. Outside of taxes, different states have different rules on say over time, paternity leave, termination process, non-compete, discrimination laws that companies need to be compliant with.

You're not getting less, the world doesn't have a global currency with fixed price. It's all about earning power. If a company has an office in Alabama, and another office in San Francisco and another in Accra, Ghana. Employees won't expect to be paid the same, so why should they expect the same because they are remote?
Yes there was a time where you could go to the airport, buy a ticket, and just walk on to the plane. You didn't need to spend hours going through ceremonial activity. And on the plane, you had confortable seats, you could get up and walk around, some airplanes even had a lounge in the back where you could get a drink and socialize. 9/11, and the fact that passengers will seemingly sacrifice all comfort to save a dollar on the fare ended all that.
> Every time discussions about big systems like this one come up, there's a comment that basically amounts to "just solve the collective action problem!"

I think you have it totally wrong. I didn't suggest collective action. That involves organizing, funding, etc.

I just recommended stop giving them your money.

Also, the law already has a process for which this could be solved. That isn't regulation - it's a lawsuit. They damaged her unreasonably for something beyond her control. She should sue.

Regulating how the NCAA acts is not what the government should be involved in. Getting the government to regulate the NCAA is 1000x harder than just suing, and that's 1000x harder than just stop patronizing those organizations yourself. When you aren't emotionally tied into the NCAA, or when you're patronizing an alternative, NCAA fiascos don't both you.
fuck facebook.
How to manage highly customizable websites at scale
Because they mimic our visual input, which we're used to rely on for survival? Just a guess.

> global culture has been shifting from an essentially linguistic culture to a predominantly imagistic one

Cue McLuhan writing about 'hot' and 'cold' media in the 1960s, i.e. the Understanding Media book.
Every single public service is abused by some percentage of people using it. So? The mayor holding a press conference or speaking to the press to score points doesn't make it any more credible than the Reagan's bullshit about drugs in the 80s.

I'm not interested in the incredibly small percentage of people exploiting the system that isn't helping them in the first place, but the large percentage of homeless - transient or long term - that need services but are fought every part of the way by ignorance like this.
The latter, good clarification.
How to physically manage several yubikeys (as a user)?
I have original yubikeys, nanos, bluetooth, and usb-c keys. I currently keep them in a pencil case along with all my dongles, and I usually have to guess which one goes to what. Key labels? Sure, except I also tend to leave one in each laptop ... N organizations => N VPNs => N yubikeys, plus M personal accounts, plus not everything has transitioned from USB-A to USB-C, so in some cases I have more than one for an org. /sigh.

Any suggestions? Google Shopping, Amazon, and Yubico are not terribly helpful here.
Thank you for saving me half an hour.
> Java is useful for writing big monolithic servers while Go is better at building smaller independent modules communicating with each other, but there is much more to them than this.

There's nothing that makes Java any less suited than golang for writing small independent cross communicating modules.

For all the hype in golang about it being useful for concurrency, the fact that it lacks a concurrent collections library sticks out to anyone who used it.
Doesn't crash Firefox though!
I'm using Elliptic Curve variant. There's no "mod". But you got the general idea. Also, all the math is built-in and done natively by the browser.
To be clear, I mean "unrealistic optimism" in a way that is pathological, such as seen in bipolar hypomania. Where it is so severe that the person's confidence and grandiosity is beginning to detach them from reality.
Yep, also we're leveraging components that other organisations build more. For instance, we used to build our own messaging systems, now we use open source projects like Kafka. We used to write our own wire protocols, now we use HTTP endpoints with JSON payloads. We used to write our own authentication systems, now we use authentication libraries. Our patterns have standardised to the point that we don't need to design and document nearly as much as we used to.
> Guess i'm not a reasonable consumer but luckily I haven't spent much money on them.

I used to have an account on which I spent at least $400. After an attempt to change the email address associated to the account I got locked out. It seems the same email address was used to create a different account in the past and the move just destroyed my access and any possible recourse.

So I switched to Android and stayed on Android for the last 7 years. No more iPhones for me, just remembering how my content got stolen makes me turn away.

I used to be a big fan of iPhones when they came out, even had a first gen iPhone a couple of months after launch. But after losing access to my content it all turned into the feeling that I am being abused.
paper & pen
I predict that prng will totally fail the DieHard tests.
Convert hex to binary faster than xxd - part 1/2
#include <unistd.h>
#include <poll.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>

#ifndef EINTR
#define EINTR (-5004)
#endif
#ifndef EAGAIN
#define EAGAIN (-5011)
#endif
#ifndef EWOULDBLOCK
#define EWOULDBLOCK (-7011)
#endif

int writeall(int fd,const void *xv,long long xlen)
{
const unsigned char *x = xv;
long long w;
while (xlen > 0) {
w = xlen;
if (w > 1048576) w = 1048576;
w = write(fd,x,w);
if (w < 0) {
if (errno == EINTR || errno == EAGAIN || errno == EWOULDBLOCK) {
struct pollfd p;
p.fd = fd;
p.events = POLLOUT | POLLERR;
poll(&p,1,-1);
continue;
}
return -1;
}
x += w;
xlen -= w;
}
return 0;
}
long long readblock(int fd, void *x, long long xlen) {
long long r;
char *buf = x;
while (xlen > 0) {
r = xlen;
if (r > 1048576) r = 1048576;
r = read(fd, buf, r);
if (r == 0) break;
if (r == -1) {
if (errno == EINTR || errno == EAGAIN || errno == EWOULDBLOCK) {
struct pollfd p;
p.fd = fd;
p.events = POLLIN;
poll(&p, 1, -1);
continue;
}
return -1;
}
buf += r; xlen -= r;
}
return (buf - (char *)x);
}
int fsyncfd(int fd) {
struct stat st;
if (fstat(fd, &st) == 0 && S_ISREG(st.st_mode)) {
if (fsync(fd) == -1) return -1;
}
return 0;
}
For node / php and python I just expose the debugger ports in docker, and if I'm running docker in a VM I just forward them over SSH. VSCode connects to the forwarded port easily, but sometimes you have to struggle with workspace / source mapping and other issues (like connecting to child processes).
Anyone can upload a Homebrew formula to Github that installs a malicious binary via brew.

Debian, for example, has trusted build systems that compile packages for their package repositories, and some packages already have reproducible builds[1].

Package repositories on Linux tend to provide the sources and binaries needed to install software. Homebrew just supplies formulas on GitHub, which only contain instructions on how to fetch and install externally hosted binaries, or instructions on how to fetch and install via externally hosted source code.

[1] https://wiki.debian.org/ReproducibleBuilds
Could this lead to people intentionally violating terms to try to get their account terminated so that they can get money back for every in app purchase, etc, they've ever made?
Will Renewables completely displace Fossil Fuels by 2050?
Are you claiming that PCG is a bad pseudorandom number generator? If so, you are mistaken
What was mentioned in the article seem like very basic, obvious considerations. Meanwhile, Youtube has custom ASICs which efficiently produce multiple formats simultaneously.
And you'd be wrong

Here: https://www.johndcook.com/blog/2017/07/07/testing-the-pcg-ra...
> you are signing[sic] your comments to the tune of "Never gonna give you up", I'm not going to reply to anything about Birmingham. I'm going to go "Uh, what's with the singing, are you OK?"

What, you mean like https://news.ycombinator.com/item?id=26892923? Or https://www.youtube.com/watch?v=LJ25-U3jNWM, about the other Birmingham? Or https://youtu.be/WQ0y-vO9QLE?t=60?

Come round by my side and I'll sing you a song.

I'll sing it so softly, it'll do no one wrong.

On Birmingham Sunday the blood ran like wine,

And the choirs kept singing of Freedom.

Do you really think "What's with the singing?" would be a positive contribution as a response to any of those? More generally, is mindless conformism ever a positive contribution anywhere? Where could it be more unworthy than on a site named "Hacker News", founded to celebrate the achievements of nonconformists? Who appointed you to the Committee to Suppress Playfulness? Have you never heard that "hacking" is "the playful application of ingenuity"?

> show to everybody how cool you are

Using silly date formats is not a good measure of being "cool". Helping people understand things they didn't understand before—for example, by making substantive contributions to a discussion—is a good measure of being "cool".

> the conversation is exactly where you wanted it

Obviously enough, your comments are motivated by your internal motivations, not mine.
Funny title since the article ends with:

> I sleep like a baby
It's less the storage layer and more the volume mount on OSX - the default is very reliable, but at the cost of a LOT of speed. Mutagen offers varying levels of reliability, and occasionally I have to restart the sync (like maybe once a week), but it's _much_ faster.

The circumstances you're describing sound like it wouldn't be suffering this specific issue in the first place, so I'm not sure how much it'd help.
Convert hex to binary faster than xxd part 2/2
static int hexdigit(char x)
{
if (x >= '0' && x <= '9') return x - '0';
if (x >= 'a' && x <= 'f') return 10 + (x - 'a');
if (x >= 'A' && x <= 'F') return 10 + (x - 'A');
return -1;
}
int hexparse(unsigned char *y,long long len,const char *x)
{
if (!x) return 0;
while (len > 0) {
int digit0;
int digit1;
digit0 = hexdigit(x[0]); if (digit0 == -1) return 0;
digit1 = hexdigit(x[1]); if (digit1 == -1) return 0;
*y++ = digit1 + 16 * digit0;
--len;
x += 2;
}
if (x[0]) return 0;
return 1;
}
#define BLOCK 4096
static unsigned char buf[BLOCK + 1];
int main(int argc, char **argv) {
long long r,w;
for (;;) {
r = readblock(0, buf, BLOCK);
if (r == -1) _exit(0);
for (;;) {
if (r <= 0) goto end;
if (buf[r - 1] == '\n') { --r; continue; }
if (buf[r - 1] == '\r') { --r; continue; }
break;
}
buf[r] = 0;
if (r % 2) _exit(0);
w = r / 2;
if (!hexparse(buf, w, (char *)buf)) break;
if (writeall(1, buf, w) == -1) break;
if (r != BLOCK) break;
}
end:
if (fsyncfd(1) == -1) _exit(0);
_exit(0);
}
I tend to agree with you on this. I've got some anecdata and commentary. So obviously I'm not the CDC or a doctor so don't decide anything based on my story here.

My wife works in the hospital and employees are only given one mask a month or so and must use the hospital provided equipment. For staff that are not in the covid units, incidents of transmission and overall infection rates have been very low. For those in the covid units themselves, the infection rates are 60-70%. The PPE situation is still quite poor, gowns and face shields are being reused where in ordinary times they would be disposable.

For ordinary people without regular contact with the infected and who take reasonable precautions (modeled in my anecdata by the staff outside the covid units) I believe that the masks combined with frequent hand washing are probably pretty effective. If you're in suboptimal circumstances and in constant contact with the infected I don't know. It's hard to tell with all of the PPE reuse.

The story being told is that the cloth masks reduce spread from you to others but do not overtly protect you. I can see circumstances where improper doffing techniques could cause these to be counterproductive but overall I tend to believe this. Properly fitted N95 masks have similar protection of others but also protect you from some, but probably not all exposures.
And yet, despite YouTube's abundantly clear motivation for doing so it took them years and years to develop the hardware and it only recently hit production. Could it be that acceleration for video encoding isn't as easy as people are making it sound?
I would be suprised if FB doesn't use hardware encoders. That said, hardware encoders are fast, but they don't match the quality of the software (CPU) encoding. Slower CPU encoding still provide the best quality.
Even more wild is the JavaScriptCore bytecode VM which is written in a Ruby DSL which is either compiled to C or directly to ASM.

I'm jealous we don't have something like this for CRuby!
That doesn't really pose any difficulties for the rule that you have to refund purchases when you terminate the user's access. Under this rule, Valve would incur a bunch of liabilities to its user base, which it would then mostly not pay because it's bankrupt.

They'd be pretty massive liabilities and would significantly eat into the recovery for other creditors, which could have effects on Valve's ability to issue debt, or might just mean that whenever Valve issues debt there's a clause making that debt senior to any future we-terminated-your-account liabilities.
I wonder if the team has anything planned for Ingenuity after completion of the mandatory mission program. Something that could obtain as much data as possible in the shortest possible time while not particularly caring about the survival of the helicopter itself. Like, a flight to a 100 meter altitude, or something similar.
This depends on what RNG you are using. If the master and the secondary RNGs use the same algorithm without extra internal states (e.g. splitmix or LCG), you will be generating the same stream over and over with small shifts. The end result may not be obvious in your use case, but can be a catastrophe for statistical simulation or the implementation of dropout. PCG32 is a proper solution. Xorshiro provides another solution by using one simple function to advance the internal state by 2^64 iterations.
Thank you. I stopped using Java on a regular basis around late-2009-ish, which was before Lombok became really popular (as far as I know) so it is encouraging to hear that writing Java in-practice isn’t as bad as I feared.

Still... I feel strongly that Java eventually needs to adopt object-properties and reified-generics for it to stay relevant - otherwise it offers fewer and fewer advantages over competing languages - at least for greenfield projects at first, and eventually it’ll start being _uncool_ and fail to attract newer and younger devs to keep the ecosystem alive. Then we’ll end up with the next COBOL (well, more like the next Pascal/Delphi...)
I don't think Pakistan is very interested in not getting the billions of dollars in aid every year.
even with agile processes you will probably need to write some kind of design documents, and chances are that this document will contain more than one sequence diagram or UML class diagram. You still need to communicate with your team members and reach some sort of consenus on what you are going to do and how the service will look like.
Back in the 70's, some contracts required that a flowchart for the code be delivered along with the code. The idea was programmers would prepare a flow chart as a specification, then implement the code according to the flow chart.

What actually happened was programmers developed the code in Fortran, then ran a program that read the Fortran code and produced a flow chart on the printer.

After a while with this, the flow chart requirements were abandoned.
Yes, I predict it will fail most of the DieHard tests.
I use a single app, Bear. It's a nice notes app (think Evernote but with a really refined UI).

My main goal is to have everything in one place: My journal entries, minutes from meetings at my job, project plans and working notes, book/article/film summaries, quotes, reflections. (Bear has both a Mac and iOS app which means I can note things down from anywhere.)

This enables a few things. Search across all my information from one search box. A strong incentive to take good notes because I know I'll be able to find them and reference them later. A 15 year chronicle of the things I've done.

The older blog posts I've written aren't in Bear. This is kind of dumb because they're some of the deepest and most hard-won knowledge I have. Long term, I want to move them into Bear. More recently, I started a new blog that I publish from Bear. This feels much better.

As for learning, I have a few processes that relate to recording:

1. Highlighting useful/interesting passages in books and writing notes in the margins with my thoughts on the material. For really good books, I'll pull out the highlighted passages and notes and organize them into a summary of the book in a note in Bear.

2. I have a note for each skill I'm working on (e.g. designing software architecture, estimating time frames, getting buy-in on an idea). As I practice it I'll write down things I've figured out or reflections on my application of the skill or relevant notes from books/articles.

3. I'll sometimes reference my notes about books/articles as I'm working. E.g. For some reason I've referenced the note that contains a summary of an article I read about the React lifecycle like a zillion times.
The update to this version, with Firefox Developer Edition, breaks the browser under macOS. If the app is in the dock, you need to option-click the icon, then click the button in the window that appears that starts with 'Refresh' to un-break it.
I can’t understand why you’re being downvoted. Unless, of course, the HN crowd doesn’t like anyone putting spikes into myths it likes to perpetuate, like “installing Swift is involved on Linux”.

Hello, it’s “dnf install -y swift-lang”, how less involved does it have to get?

“Burn the heretic! It’s involved! I’d rather curl | sudo bash things all day!”
I could very well be wrong, I haven't checked yet. That said, I have done a bit of work with these sort of things.
well that's unironically a good idea and it's why many of the most livable cities on earth aren't designed around cars, let's do it like Pontevedra, reinvigorated small business, improved air quality, noise pollution and people's level of physical activity:

https://www.theguardian.com/cities/2018/sep/18/paradise-life...
This interpretation of "state created danger" seems remarkably overbroad. By this logic, you could tie just about any danger back to the state with a similar degree of proximity. Take someone hit by a drunk driver, for example. The government repealed Prohibition, regulates and licenses alcohol production and sale, and is fully aware of the risks of drivers abusing alcohol (DUI laws, PSAs, etc). That sure sounds like an active, willing, and knowing participant in creating the conditions of the danger. Can the victim of a DUI therefore successfully sue the government?

I'd fully expect this to get quickly overturned on appeal.
> and specifically, by too many people

"Too many" is relative to the available space and rate of resource production. The ocean is huge, so it will take us a while to fill the capacity, especially if we use genetic engineering to develop more food sources based on seaweed and algae. By the time we get to there, the 700 billion people living on Earth will surely develop new technologies to colonize other planets, and by the time we fill other planets something new will come.

If we try to stay at 7 billion forever, we'll have enough technology and economy to destroy all existing ecosystems, but not enough to restore and to invent more efficient ways of life. If you look at the history the greatest extinction we have caused so far was the extinction of megafauna caused by a very small number of people with very primitive technology.

So the only "sustainable steady-state" is constant expansion. The alternative is everyone dying from an asteroid like dinosaurs.
I'd love to read more about your approach.
I suppose my question is what motivates the use of atomically referencing counting string slice rather than borrowing?
I'd prefer not to.
I used to work on a farm run by vegetarians. As the only meat eater, they all thought it should be my job to do the dirty deed when any animal required killing. One thing I learned pretty quickly was that no animal wants to die. Killing the chickens was bearable, by I came to the end of my tether when I was called upon to help in the killing of a pig. It knew it was going to die, and fought it with all its might. Left the job shortly after.
Borders on fraud, when such a strong unproven assumption gets transformed into a "guideline", which will then be disseminated and reported to a wider audience which isn't inclined to look into the details.
I'd get a similar thrill designing a circuit, building it, and then first applying power to it and watching it come alive.
On your last point, the biggest reason I can see not to share salary information (unless you want to take advantage of people) is that everyone tends to overvalue their own contributions.

Almost any aggregate statistics can be reversed by N-1 datapoints. Even something like Mean and Std. Deviation have a unique solution for the missing datapoint. Even just a band fails in the case that the missing person is one of the two extremes.

If that's the information you want to provide, does it matter how much the data directly reflects reality? Is there a reason to provide an actually min-max band as opposed to your budgeted min-max band (except that basing it on actual data keeps you honest and makes your employees trust the numbers more.)
Its not an incredibly small number of people exploiting the system, its 95% of people in this system.
It used to be a zip, there’s a reason why they changed it to xip
History comes and go.

https://www.youtube.com/watch?v=_Wv4Pe13CK0
> The more appropriate idea is that you create documentation in the form of diagrams for free.

The problem is the diagrams are hard to create and hard to update and usually don't remain synchronized to the code. If there was a good way to create documents from the code (perhaps with some annotations required), it could just be a Make target and boom, free(ish) documentation.
You’re quoting random opinions that don’t pertain to what we were debating. This still doesn’t refute my original claim that India was regarded to have managed the pandemic well just a month or two ago, and that the sudden rise in cases could be due to any number of factors, not just “political rallies” (which were only in a few states) or “opening up” (which varies by location). Literally nothing you have shared or posted proves anything is a “key factor”.

You’re digging yourself into a deeper hole by repeatedly quoting open speculation instead of actual evidence. I have no interest in discussing this further with a new account that is running a Gish gallop, if even that. Goodbye.