skysight-inc/HackerNews huggingface dataset:
1.sh uses two custom filters called yy045 and yy059. These are created with flex.

flex -8iCrf 045.l
cc -std=c89 -Wall -pedantic -pipe lex.yy.c -static -o yy045
flex -8iCrf 059.l
cc -std=c89 -Wall -pedantic -pipe lex.yy.c -static -o yy059

045.l:

/* decode chunked transfer */
int fileno (FILE *);
xa "\15"|"\12"
xb "\15\12"
%option noyywrap nounput noinput
%%
^[A-Fa-f0-9]+{xa}
{xa}+[A-Fa-f0-9]+{xa}
{xb}[A-Fa-f0-9]+{xb}
%%
int main(){ yylex();exit(0);}

059.l:

/* reformat json */
int fileno (FILE *);
#define echo do{if(fwrite(yytext,(size_t)yyleng,1,yyout)){}}while(0)
#define jmp (yy_start) = 1 + 2 *
#define pc(x) putchar(x)
%option nounput noinput noyywrap
%s xa xb
%%
\173 pc(10);pc(123);jmp xa;
<xa>\175 echo;jmp 0;
<xa>\40/[^\40] echo;
<xa>[^\175\n\40]+ echo;
\n|.
%%
int main(){ yylex();exit(0);}
Von Braun: Dreamer of Space, Engineer of War by Michael J. Neufeld (2007)

The Autobiography of Malcolm X (co-authored with Alex Haley, 1965)
This seems like the jump from traditional pointed radar to phased array radar. I can’t wait to have my mozzarella stick breading crispy, and cheese gooey.
Ask HN: How should I get started learning modern programming?
So, an introduction of sorts because I thin it matters. From 1985 to 1987 I was a computer science major and was doing really well. It was Fortran back then. I also grew up using a Sinclar ZX81 so programming is not really new to me. But the programming languages sure are as well as the things you can do with it. I make bash scripts al the time for my genetic research so, well, you get it.

Also, I was a Network Engineer for Cisco Systems before my Bipolar Disorder made it impossible for me to work. That was in 1999 and I have been living on disability since 2003.

I would like to try my hand at programming for Linux applications, possibly MacOS as well. I have a 5th get Thinkpad X1 Carbon running Ubuntu and an M1 MacBook Air.

I am also homeless and live in a minivan. I am doing fine with this life but if I could get back into programming and make some extra money it might be something I can use to get myself back into housing after a while and still be able to deal with the Bipolar Disorder.

I have been looking at where to start but it is overwhelming. Mostly I am looking for a programming language with some longevity.

Thanks for any help!
Ignorance is bliss.

How trivial was to make a simple CGI taking input as it were without ever worrying about escape characters, codification, SQL injections, XSS and so on.

Everything previous to a (security) arms race looks so easy, intuitive and simple.
I'm amazed that some people can actually rotate objects.

On of the reasons I don't drive is for fear of driving directly into traffic, if I make a mistake figuring on which lane is "on the right side" of the new perspective when turning.

Mental rotation is one of the very top causes of mistakes for me and I've learned to always be on the lookout for it, and assume my conclusion is wrong if I find myself doing it.
Consumption really can lead to the development of clean energy sources. People need to develop a growth-mindset on this issue.
It's a 4chan meme: https://knowyourmeme.com/memes/cultures/wordcel-shape-rotato...

So this game going to the top of HN is likely part of the meme where shape rotators strike back against wordcels after wordle became popular, something like that.
There is a sort of aggression in that the West, and most the world's people really, like human rights and democracy and oppose the murderous dictator for life thing. Obvs that threatens Putin and he doesn't want that stuff setting in too much in his neighborhood.
All that info and not a single word about hydrogen bombs ?
The amount of barbers and hairdressers here is something to behold at times. Or even offices for some types of firms. I think it is reasonable and makes lot of sense to have these types of businesses being available near where people actually live.

I'm not really too keen on dark stores that aren't available for general public. I would much prefer regular store to one, even if that store would only be counter and pick-up only.
If you've watched him speak for 30min regarding geopolitics, such writing doesn't seem too farfetched...

Hate him for whatever, he's not uneducated, unintelligible etc.
The elite seem to be able to scale the harm they do pretty well. I wouldn't be against focusing more resources on pursuing elite bad actors, but don't think there should be a minimum bad bar that must be surpassed to get prosecuted.
It's a flamewar trope strongly associated with one side in an ideological battle. That's already enough. Also, talking points like that get repeated a lot, which means they have zero curiosity value (see https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so...). We want curious conversation here.
-10 seconds if you fail a pair should work against brute force.
> We've got webm and so on

The spiritual successor to animated GIFs — by that I mean nonlossy pixel-perfect animations — would be APNG, which is supported by virtually all current modern browsers: https://caniuse.com/apng
Thank you for your answer. That’s all good news. Glad to know better now.
It's this sort of thing that gives me (even more) confidence that pretty much every government conspiracy or at least the more incredulous claims (eg aliens and UFOs) are false. Such systems would rely on humans and humans tend to be really bad at keeping secrets or they simply have a crisis of conscience and release things they technically shouldn't as is the case here.

Look at the Manhattan project. utmost secrecy. Attempts to segregate the workers in towns to limit contact with potential spies. Yet people felt ideologically the US should not have a monopoly on such a weapon so leaked it to th Soviets anyway.

Go back to antiquity and you have Julius Caesar who held ultimate power in Rome and had loyal legions and immense wealth. And he was undone by a handful of principled people with knives.

I actually think this is why things are never as bad as they seem and conversely never as good as they seem.

This leak, the Panama papers, the Paradise papers and so on. I applaud whoever is in a position to leak this information and does so at great personal risk.
Maybe an advanced mode where extra seconds are deducted for each wrong pair guessed? And along with that the ability to skip a turn for extra seconds deducted. That way, since brute force would no longer be an option, you wouldn't find yourself getting hopelessly stuck early on behind a particularly difficult set.
Wow, you have some really selective reading if those are the only apps you saw.

awesome-dapps is the smallest list, check out the ones below since you seemed to miss them:

https://github.com/gdamdam/awesome-decentralized-web

https://github.com/redecentralize/alternative-internet
What a cool website! Thanks!
But mixed zoning usually comes with rules regarding opening hours, and a requirement to respect the neighbors' sleep. If a business repeatedly breaks those rules they get shut down.

That's how in works in my city. The rules might be different in different cities/countries, but at least nightly harassment shouldn't be something that one has to tolerate.
Thanks. Glad to read these explanations.
I love hackthebox. It is an invaluable resource and great for practice. It is not as comprehensive as the OSCP course material, unfortunately, and even the OSCP material has (or at least had, I know they changed things up recently) its warts.
The Broken Tech/Content Culture Cycle
To be fair, if you want to be flip flopped around, you can simply open the front-page of Nature.com, you don't need the CDC to waste your money paying someone to press Retweet.
I've often wondered if a "slow" datacenter could be created, that used low power processors. Amazon, for example, could offer a cheaper AWS tier that used the low power datacenter. Not everything needs to be fast. I'm perfectly happy with many jobs on my computer taking all night.
This comes up a lot and the suggestions are always the same, but here is my question:

Do any of the alternatives have priority inbox? I've spent years training my priority inbox in Gmail and it works nearly flawlessly now.

Does any paid service even come close?
I bet I could find a person saying exactly this, but opposite, in a few minutes on Twitter :)
There're problems with increasing atom number. It is true that more atoms will allow one to resolve QPN easier, more atoms make clock rotations (along the Bloch sphere) much harder, as for a spin-squeezed clock doing Ramsey sequence, you need at least two pi/2 rotations to rotate the squeezed state.
It's actually a Twitter meme by @tszzl on Twitter. It was a 4-chan meme to add "-cel" to words, but the shape rotator vs wordcel meme is from Twitter.
This logic is really no different from stupid Bitcoiner logic that PoW induces demand for cheap clean energy.
>We were able to deliver these treatments to the children in our ongoing clinical trials thanks only to funding from a generous family whose own child is a participant.

Wish this were not the case.
Having your own domain shoulders you from google or any other mail provider. Surely that is vastly better.
The trucking union leaders also donate to Justin Trudeau's party and are friends. Saying that these leaders views represent the truckers views is not correct.

Truckers even if they are small business owners can be part of the working class. So can plumbers and other trades who often own their own business.

Framing working class status around money is missing key elements. Someone willing to work with their hands will be looked down by an university employee even if the trades person makes much more.

Was there a class issue in Ottawa? It appears so. Residents were afraid because these Canadians were different. They hide inside and looked for stories of violence. One lawyer on television went as far as to say he hide inside because he felt appeared different in a suit and a mask. Ottawa downtown residents are more likely to be top national lawyer with connections to the elite than to a drywaller.
Hmm - not so many big threads as far as I can tell, although there was a major one in the last year.

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
BLM in Minneapolis burned down a few blocks of the city and killed people[1].

This person gave $100 so people could buy food.

Losing your job is not mild. This behaviour is not something we should encourage for anyone whether we agree with their views or not.

[1] - https://www.startribune.com/death-of-man-found-in-torched-mp...
Touche, someone who advocated colonialism and apartheid waxing poetic about injustice and the land he's colonizing.
The tiny (non-dedicated) instance types on AWS probably multiplex hundreds of guests on a single host.
Would an e2ee storage be the answer to this?

As an end user I would be sure that my data is encrypted in-transit and at rest.

As a cloud provider I would take care of encryption and privacy promises and transparency and care about my bandwidth and storage costs.

Risks:

- bad cryptography/leaked keys. Mitigation: sound cryptography, open source model of development.

- all possible attacks from the public about potential usage of the service for CP, terrorism and other deadly crimes.

- the rest of the risks that apply to e2ee messaging as well.

// just off the top thoughts
Okay, but now tell us what is the most important thing you wrote in these 100 notebooks.
I'm just thinking of the overhead. That is how much it cost to get that packet of rice in 10 minutes... With all the people involved in whole processs.
Miraculously enough I have no skeletal, muscular, or neurological problems - even though I've probably spent 20 years of my life behind a computer, for far too many hours a day - often with horrible ergonomics.

But with that said, I don't think I want to bank on that lucky streak continuing forever...seen far too many people get debilitating stress/repetition injuries in their 50's, to the point that they pretty much have to retire.
Example: Turning the YouTube JSON into a TSV table using UNIX utilities.

The initial YouTube web search returns a JSON schema that differs from one that is returned from a continuation search.

2.sh 0 is for the first 15 results

2.sh 1 is for the rest of the results

#!/bin/sh
# 2.sh
# usage: 2.sh 0 < query.yts
# usage: 2.sh 1 < query.yts
x=$(echo x|tr x '\34');
tr -cd '[ -~\12]' \
|sed -n "
/\"text\": \"YouTube Home\"/d;
/canonicalBaseUrl/p;
s/\\\\.//g;
s/.*videoId/$x{ \"videoId/;/thumbnail/{/videoId/p;};
/\"text\"/p;
/simpleText/{/views/p;
}" \
|tr -d '\12'|tr '\34' '\12' \
|case $1 in :)
;;0)cut -d\" -f4,22,28,42,64,174
;;1)cut -d\" -f4,10,14,24,32,36
esac \
|tr '\42' '\11' \
|sed 's/snippetText$/0 seconds/;/primaryContents/d;/canonicalBaseUrl/d;/commandMetadata/d'

TODO: 2.sh does not handle entries for "YouTube Movies" correctly.
My only criticism of that article is that it seems to assume that policies and processes have good intent to begin with or that they solved a real problem.

During my time in the corporate world, I'd say most policies and processes are the exact opposite. They're invented to try and formalize human behaviors and interactions, either because the people inventing them are deficient in social skills and anything that makes other humans more predictable is preferrable to them or because they just generally fear uncertainty and don't trust people to have good judgement in unique situations.
We're getting quite off topic here, but the "duration of a human life" follows a narrow, predictable, bell-curve-shaped distribution. "Impact of this feature" does not - it follows the power-law distribution. Life insurance companies can meaningfully estimate when you'll die, but they cannot meaningfully estimate the value of attending any given party/meeting/trip/conversation. Most of those will be meaningless by comparison to the few that cause an inflection point and make your life worth living, often by accident.
The "tax" is already baked in, it costs more to run poorly optimised code.

What we need is a carbon tax, then wasteful use of electricity can funnel back into paying for its impact.
This is incredibly moving. It can feel like there's no good news in the world, and that techno-optimism isn't founded.

But these 2 kids are a lot healthier than than they would have been without this incredible invention. This is the kind of stuff we can hold on to.

Thanks for sharing.
That's a lot of fun, I'm sure pmarca loves it :-). Initial rotation can result in feature hiding that is critical, perhaps making the wobble selectable (easy = big wobble, medium = current wobble, hard = no wobble) The follow on should be the folding one (planar surface with dotted lines, pick the folded version) I always thought those questions in IQ tests were put there so that there would be some "easy" questions that everyone got right, but found later my wife couldn't do them!
In the end I found it way better to not rotate the shapes but use my intuition to match pairs then verify by counting squares and checking chirality. Actual rotation takes me like 10-15 seconds but the intuition+check technique is more like 4-5 seconds.
The linked GBC version is my fork with some improvements (and more in the works).

The current published release uses a similar compression approach by zeta_two, but in current builds I've switched to the compression by arpruss since total data + decompression code size is now a couple hundred bytes smaller.

I did some profiling and code size measurements before switching over.
https://github.com/bbbbbr/gb-wordle/blob/compress_arpruss/wo...

Speed (and code size somewhat) have improved more since then.
It looks like your account has been using HN primarily for ideological battle. Would you please stop that? It's against the site guidelines (https://news.ycombinator.com/newsguidelines.html) and we ban such accounts regardless of what they're battling for or against.

If you or anyone want further explanation, see these links:

https://hn.algolia.com/?sort=byDate&dateRange=all&type=comme...

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
Ask HN: Why is UI design in Unity so hard?
I love Unity , but they’ve been working on UI frameworks for almost a decade , all fall short.

Still I need a 3rd party asset to make a decent UI
I think it's okay to express this, but would be more valuable if you added more to the conversation e.g. what you positively desire.
A lot of people will roll their eyes and yell it's not the same, but you're right - depending on how much you care about puppies dying, I guess.

Caring for a < 2 month old puppy with parvo is a literal nightmare. Force feed it Pedialyte every single hour, watch it puke and crap its guts out, and pray it doesn't die. Basically 5 days without touching REM.
Running your own email server is borderline impossible nowadays. It's the boss of self hosting.
It would catch approximately all the solar wind. "All sorts of rotational moments that will need constant correction" means that, if your orbiters are thin enough, they don't need reaction wheels or thrusters to change course to avoid an imminent collision — just solar-sail louvers. An occasional collision is unimportant to the viability of the system, like dust settling on solar panels, or dermis cells dying in a follicle to grow hair.

N-body problem instances are never undecidable in the automata-theory sense; you can answer any question about the future trajectory from given initial conditions straightforwardly, if slowly, with interval arithmetic. The question of whether initial conditions exist that evolve to a given result is undecidable, but as with undecidability results in general, we do not need to decide it in order to build a working system, only to prove the optimality of a given program.

You seem to be making up reasons to justify a preselected conclusion without bothering to think about whether they are true or relevant or not, and I wish you would not do that.
I don’t think it’s all or nothing. Look at anonymous public personas like Banksy or Dril. People have tracked them down, and you can look up who they are if you try.

But for the most part these people are anonymous, and get to enjoy some of the benefits of that.
Be anonymous

Become ungovernable
I managed 14 after a couple of tries, I feel like if I continued anymore I'd end up procrastinating my entire day!
> Why would hundreds of unlisted videos be against the ToS?

It's most likely against ToS if you use said videos in a commercial way. Youtube isn't your companies private video hosting service.

> OP didn't say the videos contained ads.

No, but they were used to run their business. So it was commercial in nature.

> And why can't unlisted videos contain ads anyway?

Mostly a quirk of how Youtube works.

> And why can't unlisted videos contain ads anyway?

Looks like I was wrong about this one, sorry. It does seem like unlisted videos can indeed run ads. That being said, it still seems like a bad idea to run company crucial part of your business off of a free ad-based service.
I don’t disagree. I just think people who do it are still assholes.
I see no reason why opening hours should be regulated. Then again I'm partial to the hyper market near me being open 24h every day since the change in law. Ofc, during night some services aren't available. And on other had it probably remove competitive advantage from small stores and gas stations. Still, the opening times often don't seem unreasonable.
A trie representation physically removes letters from the dataset. Leaving it in ASCII means that it still leaves enough information behind that can be compressed well (a trie only exploits shared prefixes, not suffixes).
How do you approach a new sizeable codebase?
Let's say you inherit a codebase. It could be a new team, company, or a new language that you haven't worked with. What general tips can you give a person to approach this codebase and so they can get familiar with it and start adding features incrementally?
A title not precisely describing the premise and conclusion of the article is neither misleading nor clickbait. The article is about online anonymity. It could be "On being anonymous" or "To be anonymous"; "Be anonymous" is fine, too.
Your response is extremely condescending and expresses more that you were interested in making me feel bad about myself than you engaging with me in good faith.
In large samples the error bars for the median are sqrt(pi/2) times the error bars for the mean if the underlying distribution is normal (the link gives more general results, but that helps give some intuitions about being directly comparable)

https://en.wikipedia.org/wiki/Median#Sampling_distribution
IMHO python is a pretty good place to start.

Friendly language, that can be used for most stuff (not operating systems or high performance stuff though). Batteries included makes short work of a lot of tasks.

The significance of white-space makes most python code look relatively clean.

I think, you should not overthink it. Get back on the bike and figure out where to go when you are back up to speed.
Ask HN: When is a good time to move to a smaller company?
I'm currently a staff/senior level engineer for a FAANG in America. I have expertise in cloud infrastructure and building backend services - apis, workflows, stream/message consumers, etc.

I've been doing the same job since 9 years, since I graduated and it's been a lot of fun.

I've been thinking of moving to a smaller company, because I'm hoping it will give me more experience with more opensource tools, and I'm hoping it will accelerate my carer.

Compensation numbers are all over the place in our industry right now, and I'm trying to maximize this for the 3 - 4 year range.

How do you decide it's a good time to move to a smaller company?
I did despite my better judgment. The 4chan part is just adding "-cel" to words and doesn't form a direct lineage to the modern meme.
WKRP Song List
Elaborate a little bit on what you mean by "preserving formatting"?
Cool!

Small issue I found - when I run this as native app, always the 2 bottom-left shapes are the answer.
Works well on iOS on iPhone.

I like it. Great fun, thanks.
They could be like the scooter rental start-ups, which seemed to have every hallmark of existing primarily to absorb venture capital.
Its very useful for couples with kids living in the center of a city.
More fair analogy would be leaving your stuff outside, than inside but under unlocked door.
Nvidia’s New AI: Instant Neural Graphics
With so many clones springing up every day, who would?
we have better formats but gifs are still everywhere, maybe there should be a gif222 to fix this stuff and maybe improve compression a bit too
I've also gone for fastmail. I looked at tutanota, but they don't have import of external mails. The pricing plans for protonmail were strange. Not enough storage or custom domains on the plus and personal plans and I recall you couldn't buy more (might be wrong about that - but it wasn't revealed until I created an account ), They have a very expensive "visionary" plan but it's limited to 6 users.

With fastmail you can have multiple domains, and your users can have different payment plans. Their import from gmail was very quick with no hitches.
Keep in mind that Barlow was heavily involved in the GOP. Libertarian yes, but also always on the right to a significant degree.

As a radical liberatory movement this was all doomed from the start.
The cost of a lawyer is far too high. When you appeal you are legally saying that their dmca is false. Typically by this time the company will back off, or, they won't, and now your only choice is to persue it in civil court and prove their dmca was false. Or, the company can even come after you for falsely saying that their dmca was false.

It's not worth it. It's like civil asset forfeiture. The cost of getting back what was illigally seized is higher than the worth of it. In both time and money.