skysight-inc/HackerNews huggingface dataset:
> You wouldn't, like you weren't paying to do your military service.

Who do you think pays for military service if not the people? Martians? What is the difference between generation X paying for generation X+1's education, spending g% more than what was paid for their own education, and generation X taking out a loan to pay for their education at a rate of r? The only thing that matters is whether r > g, the growth rate of the price of education. If r > g, then a direct transfer is slightly more efficient. If r < g, then a loan is more efficient. In this case, g is astronomically high. Yet you favor the more inefficient approach, because it hides the fact that most money spent on tertiary education is a waste, and you want this waste transferred to the old rather than kept by the young.

> engaging directly with the world via travel or talking to people outside our bubble
A mandatory year mixing all social classes is, by definition, "bubble-popping".

Ahh, yes, those isolated campuses with safe spaces and psychological violence counselors -- a true bubble popping experience.

P.S.

You can also be old and foolish.
I don't think it matters that a third of the pages are spent on parsing - that only covers 20% of the chapters. It's just that parsing takes somewhat more space to explain because the figures, tables, and examples take up relatively more space than when explaining e.g. type checking. I think it is a superficial knee-jerk reaction to classify this book as mostly being about parsing.

Also, while it is true that production compilers (especially optimising ones) have relatively little effort spent on their parsers compared to everything else, if you consider a bare minimum compiler, parsing is going to be a proportionally much larger part of it - especially if you do not use a prewritten parser generator (which this book assumes you do not, since it's partly about how you would create such a generator).

I definitely agree that too many compiler resources place too much emphasis on parsing, but I don't think this specific book is a particularly egregious case. I have also read Appel's books, and while they are good, I think you need to have read something else first to cover the basics.
This is the view of an insurance as the reversed loan, where you pay the loan before you get the principal paid out. It guess the "perfect insurance" could be obtained by reversing the reversed loan? In case of something catastrophically happening, you are simply guaranteed a loan (with fair interest rates).

To me, the aspect of redistribution is important in insurance. The acceptance that the world is chaotic and we can not predict all the bad luck that might happen to us. Hence, I pay for yours bad luck, if you pay for mine.
Spreadsheets freeze to process more than 1 million records; AWK works like charm;

https://blog.jpalardy.com/posts/alternative-to-sort-uniq-c/
There was another example many months ago of something like this which I really liked and I curse myself for not bookmarking it. My search attempts have failed. I love sites that give ideas in color relationships.
Shooting Range Gun Simulator
I think its that not affording rent leads to higher demand for crime.
Apple Buys U.K. Startup to Improve iPhone Picture Taking
The Container Commandos Coloring Book [pdf]
IBM Engineer Who Designed the Universal Product Code Dies at 94
You Can Now Forward Email as Attachments to Gmail
The design of this website is beautiful. I just wish it didn't reload after each palette change. Also, a toggle for the animations would be nice. They get a bit annoying after a bit.
The story reads like an email my grandfather would send me with 6 pages of fwds and signatures about emails being checked by Norton Antivirus.
What Drives a Driverless Car?
Landing a Silicon Valley Job After Learning to Code in Prison
That’s not what they said. That small premium is the cost of not paying directly for the large actual loss, you are paying for your predicted risk not the loss.

There isn’t likely a perfect loss prediction to be had, e.g. predicting and understanding risk itself influences the likelihood of avoiding a loss favorably. An ideal scenario might be that people become aware of risky behavior then adjust and therefore change the future prediction. Health insurers do it all the time. Helping at risk customers avoid large losses actually helps the customer and the rest of the less risky customers in the pool (everyone’s premium should go down if the risky become less risky).
meh. No, I think this is the sensationalization we expect from pop-sci accounts.
"The printer works by squirting a concrete mixture in layers to build floors and walls."

Is that one a special type of concrete? In places where earthquakes occur I would expect some kind of reinforcement to that concrete mixture, or it would crumble very easily at the first hit, but from the article it doesn't seem they're adding iron bars or any similar reinforcement.
There is an American Crow in an enclosure at a local wildlife rescue. He can't be released because of his injuries, so he's one of the center's permanent residents. He won't speak on command, but he will immitate sounds he hears (he does a ringtone sort of sound) and he will say "American Crow" every so often.
Tiny submarines could make a 'fantastic voyage' into our bodies
I find the animations made me dizzy- a little movement is fine but every single thing moving and fading and sliding is pointless and distracting. I was reading the different stuff about the aspects of a color but I had to just stop.
This clearly makes no sense.... but I'd like to see it go on.

I think since donors have to feel good about themselves they won't just donate concrete and bricks.

And since NGO's can't build houses that are not up to code they can't just use local labour.

So this might work.

Earthship houses have shown after decades of having a cheap house design with cheap materials, that's not enough to solve the problem. Watch the docos read between the lines.

The actual benefit here might even be the fact the NGO makes the government give land titles for under the houses.
The Honest Guide to Habit Tracking (Plus Google Sheets Template)
Two way binding is absolutely awful and what React hooks appear to do is one way data binding which has always been considered superior. Of course one way data binding isn't exactly new but your comment is making some fundamental mistakes.
Seems like a good way to legally discriminate against the poor and minorities. /s
Nah, just prevent dominant corporations like Google to use anti-competitive blocking or redirecting measures.

Vivaldi has to mimic Chrome because otherwise Google throws errors.

It's not that Google is unaware that there are browsers or that Vivaldi is not Chrome.
Build Flutter Apps in the Browser
Google Culture War Escalates as Era of Transparency Wanes
Report for America ended up funding community Wikipedia editor at a library
A regular global variable that is incremented each time you call useState/useEffect/etc and is resetted every time a new component starts rendering. This is why hook order must be maintained.

I have no idea where this is implemented in React, but in Preact it's a simple integer that is incremented:

https://github.com/preactjs/preact/blob/abc162c4d6442d5495f6...

I think there are other ways to implement them, such as treating the return of the render function as an AST and turning hooks into dumb factories, like a free monad. But considering the constraints they have (the need to maintain order) and the way it works (the fact the render function runs multiple times), I'm guessing it's just the same solution as Preact.
Children cannot consent to or directly retaliate against eavesdropping.
> I would disagree that today’s youth are suffering because ‘reality sucks’.

I would agree to the degree that reality has always sucked. Life in general is hard and can be pretty miserable. It's up to an individual to build up resilience and mindset that will allow them to survive and even thrive in spite of this. Of course, having smart parents and other early influencers helps immensely.
No, you miss the point.

Not having insurance means losses follow your exact risk distribution, with a non-zero risk of a catastrophic loss. Having a perfect insurance means your losses follow a distribution with the same average as your risk profile suggests (+premium), but much lower variance and with zero density on the higher end, meaning you never have a catastrophic loss.
> I knew it had to be timing due to store layout.

Even the "store layout" part is nonsense. Really, only vanilla is quick to pick up, and even for chocolate and strawberry (or whatever the next most popular flavors are) you have to take the slow path? Nobody would organize their store like that.

(Also, are dedicated "ice cream stores" a thing in the US? As in, not ice cream parlors that also sell stuff to go, but something you would really call a "store", that is dedicated to ice cream specifically?)
World’s Longest Flight Will Fly on Airbus Planes, Not Boeing
> I would disagree that today’s youth are suffering because ‘reality sucks’.

I would agree to the degree that reality has always sucked. Life is hard and can be pretty miserable. It's up to an individual to build up resilience and mindset that will allow them to survive and even thrive in spite of this. Of course, having smart parents and other early influencers helps immensely. Otherwise, it's easy to fall prey to drugs and other deviations.
I think something like an headline idea and summary, outline, first draft would be the equivalent of 20%/40/80%.
Agree! Awesome idea for a site, but should definitely tone down the animations + disable after the first time.
I guess they mean it accurately captures the "mathematical culture" surrounding this problem, which I can confirm.
I’m sick of Facebook. Let’s steal their users
> bare minimum compiler

But who needs books on that? Especially considering that if I would like to write a simple toyish compiler I would rather use a parser generator (handcrafting a parser makes sense only in the case of serious industrial grade compiler).

These books are books on parsers, not books on compilers. IMHO for learning a compiler craft it's much better to use a parser generator (or even Lisp) to skip the syntax part and move to something that constitutes an actual compiler: runtime interaction, exceptions mechanisms, code generation, type inference, intermediate languages, effect tracking etc etc.
Beautiful :)

You might want to try hosting the JS minified on your own server. As is, it gets blocked by uMatrix and uBlock Origin.
What a wholesome thread :-)
This isn’t reimaganing, this is about increasing the number of people with PhDs, which is surely a step in the wrong direction. PhDs are an incredibly wasteful endeavour, consuming huge amounts of time and human spirit for unclear benefits, under circumstances that invite exploitation.

In case you can’t tell, I’m currently trying to finish my dissertation.
Review of Snowden's Book Permanent Record – Part II: At the NSA
Eric Wastl – Advent of Code: Behind the Scenes
I can totally see how one could be sucked into this problem.

The solution seems immediately reachable. After giving it some thought, I can prove that it is equivalent to "every number will at some point reach a power of 2" because from a power of two you then go straight to 1 through divisions.

This result seems even more reachable since I no longer need to prove that numbers eventually get smaller.

I'm sure this is not a new discovery to people who have worked on the problem. But part of me really wants to spend the rest of the day puzzling around with where that approach goes.

Edit: Thought about it more. The two ways it doesn't hit 1 would be for it to find a loop, that never hits a power of 2 or to grow infinitely.

Thinking about how a loop with 3n+1 and n/2 would have to function, I think it's probably pretty easy to prove that 4-2-1 is the only loop that is possible.

That leaves us with the infinite grows, but without ever hitting a power of 2.

Edit2: Turns out 4-2-1 being the only loop that is possible is actually not easy to prove at all and isn't proven. But no matter, that wasn't how I was going to continue working on the problem anyway.

The most promising solution to me is an inductive proof. Since I know all powers of 2 converge to 1 and only have /2 applied to them, my next step is to find the properties of numbers n such that 3n+1 is a power of 2.

Only for every second power of 2 is this a whole number. The numbers for the powers of 2: [4, 16, 64, 256, 1024] have the possible precedents: [1, 5, 21, 85, 341]. Interestingly every subsequent number can be built from the previous one by 4n+1. Clearly it's 4 because it's every second power of 2. I feel like, if you recognize the structure of every number in the tree, you can prove that every natural number has one of those structures. And then you are done.

Once again, I'm completely aware none of this is original thought. But I enjoy it anyway.

Edit3: Every even number will be divided by 2 until it is an odd number. Now we only have to look at the structure of the odd numbers.
Is that really that obvious? Given that nursing and nursing assitant jobs are amoung the most dangerous and the fact that the vast majority of those jobs are filled with women, your willingness to erase an important aspect of a headline is a good example of the bias that this entire discussion is centered around.
"A while ago" being like 12 years was actually funny, great work, thanks for sharing it :-)
the colors are indeed wonderful
GM’s Former President Calls for the End of Car Ownership
Finding the Critical Problem: How to Work on the Right Things
Boom
Nice
> And for every number you hit along the way, assuming you make it down to 1, you can stop your iteration if you've previously seen the number

You can stop your iteration if you come to a previously encountered value, because the (n+1)th number in the sequence is strictly a function of the nth number. Assuming that you make it down to 1 gives you nothing.

The whole point is to prove that you always make it to 1, or -- equivalently -- to show that you can never reach a previously encountered number without first reaching 1.
This is incredibly useful for anyone designing a new site from scratch. I think it's quite useful for reimagining the colors of your existing site, too, with one caveat. I'd love to be able to enter some of my own colors - and have your tool suggest a color palette.

Not the easiest feature to add, but would be exceptionally useful. Either way, I love what you do, mackenziechild and have followed your work for years.

You have inspired me over and over to improve DarwinMail [1]. Some of your small design tips have vastly improved the UI of DarwinMail. Thank you so much for all your tutorials, tweets and general design inspiration.

PS: I also love that you were a designer first, and decided to learn how to code too. It's so useful to learn in that order. No wonder your projects are always so brilliant.

[1] https://www.darwinmail.app
In Defence of Serverless – The Term
> the project enforces a hard ceiling on the number of lines of code that can ever be in ring 0 at a given time

I tried googling to find what this limit is and where it's mentioned. Could anyone help me out with a link? What is the limit?
It used to be, and was removed in a big purge of add-ons that help you infringe copyright.

Thankfully, Mozilla's open model means anyone can still install it, their security model means the extension can only access a fixed list of sites it bypassess paywals on, and Mozilla's security UI communicates effectively when you click install on Github that this extension hasn't been reviewed but is limited in what it can do.
First they will disable old.reddit.com I think. Then 3rd party apps.
I was annoyed when the article text wouldn't display at all without enabling JavaScript -- but I could read it just fine with Firefox's Reader View.
Or the first time he's achieved an important result. I feel like investing in Terry Tao futures...
I’d love to understand how much of a role psychedelics in the creation of Apple’s story arc. Does anyone have information about where this has been discussed? Thanks!
I still have this problem on my 2004 Opel Astra. When it sits for about 15-20mins I have problem starting, but I just have to start it for about 5 seconds instead of instantly. Longer or shorter pauses are ok.
The proper way to do it sometimes is horrendously complex or uses a build system different from the one you use. Header only avoids this usually.
Good idea. It actually has been implemented already. You are also not very specific IMHO.

How do I know that after a million users you won't turn into another Mark Zuckerberg like czar?

I'd rather stick with the other attempts: Mastodon, Ello, Diaspora. They all offer good levels of privacy.
Side note: it's interesting that it's these male-dominant fields that have the noble "serve" descriptor associated with them. Given that women have dominated the fields of educating children and nursing our sick, it seems that these are more deserving of the serving label rather than those who destroy.
From my experience LSD basically amplifies what's already inside you plus the setting which is around you. So you need to be prepared. It basically real life "the zone" from stalker:

https://en.wikipedia.org/wiki/Stalker_(1979_film)

So if you have some worries, even deep inside, and not acknowledging them, LSD will bring that up for you even if the setting is super relaxing and safe. Also the opposite, if setting is threatening, you will have bad trip.
Royalties for Author of Economics Textbook Exceed $42M
Well, it's kind of his job to come up with interesting results…
Hasn't this comment been made 100 times before?
This is a textbook for a university course. The intended audience for this book needs a bare minimum compiler, because that is all they will have time to write.

You can't just say "use a parser generator". Who is supposed to write the parser generator, then? This book is for people who want to learn how to do all that foundational stuff, not an industrial programmer who needs to build a good product quickly.
As a woman who worked in stem, stem has very bad payoff for me.

It takes a lot of work/efforts to get anywhere if you want to do real work in stem.

It's much easier for me to give talks and become a influencer as lots of men follow me on social media.

So why should I scarifice opportunity meet powerful men in social setting through my work and spend my young/pretty years at a desk job where no one will notice me?

My grandmother told me, men value young women so don't waste your pretty years.
I noticed this occurring on Android Firefox with Ublock Origin enabled. Not sure if that's related, but I'm not about to disable it just to see if that's the distinguishing factor.
I quite liked living in a plattenbau - but then, my neighbors were quiet. The rooms were spacious, and the heating was pretty good.
Navigation is completely broken.

For example, I open a notification (the only reason I have the apo installed - this could be done with web PNs) and then either click back or the X, both wrongly navigate back one time to the same message, then close the app completely. I often have to kill the app to get out of this.

Why the hell can't we stick to documents for reading stuff, and even posting the occasional comment?
It’s all true but though it’s easy to experience, it’s impossible to fully describe because it transcends rationality.
Well remember that this is second hand and paraphrased, so "ice cream store" could just mean "the place where my family goes to pick up ice cream"

And as for the layout - I have definitely seen freezers with a pile of easy-to-access vanilla ice cream in one section then a "miscellaneous" section where chocolate/pecan/whatever are either mixed in a pile or grouped (both require a couple of seconds to pause and search).

The story does seem too perfect, but this part does definitely check out
Had the same thought further down the comments.

Since you're getting even numbers at least 50% of the time, eventually you should go on a run.

You also benefit from hitting a y =2^n x N number because you get to greatly reduced the size of y

Further, every time you make it down to 1, you can append the values you hit on your way down to a list of seen values, as they're part of a convergence chain, meaning if you see them in a future cycle, you can stop your iteration early because you have a known outcome.

So this doesn't necessarily become a computationally heavy problem with large numbers.
They went close to a decade without making Digg's mistakes. But now that investors are involved, they have to start putting up walls and plastering them with ads.
Rigorous Mathematics
On windows:

- firefix (w/ adblock plus)

- chrome (w/ adblock plus)

- git

- vscode

- visual studio community

- desk pins (utility to keep window on top)

- "a ruler for windows" (on screen ruler)

...and that's pretty much it. Everything else I just do when I need it.
In some of the recent discussion of archival (see the Internet Archive / Archive Team and projects including Yahoo Groups, Google+, Flikr, and more), is the nature of past historical archival.

Records are in general scarce. They're special. They're highly skewed in what, who, where, and when they cover.

This affects traditional history and historiography which are document-centric, in that their scope is limited by available documents.

(There are other models and methods of history, some of which approach anthropology in looking at physical artefacts, some based on genetics and other methods. These are illuminating as well, though of necessity omit specific textual context.)

That situation has changed, due to improvements in media, reproduction, literacy, and now, raw data capture. The rate, quantity, and intention of recording is completely different today than 500, or 1,000, or 6,000 (the origins of writing) ago. Then, both recording and storage were highly intentional, for all that implies. Now, it's avoidance of leaving records that is intentional.

I'm a fan of the Internet Archive's work. I'm also cognisant of the potential risks and intrusions that it implies. The Archive tries to make such negative disruptions as small as possible, but the challenges remain.
Buying a textbook for $280 is an economics lesson in itself.
But you'll always reach a previously seen number because 3n+1 will never be a prime number.
I will bookmark this, because I dont have an esthetic sense, and never know wich color to use in my projects.

End up doing everything in black and white.
I would be willing to sign that for $250,000 or more a year outside the California markets.

I had an offer from a game company that went through my list of disclosures and said I would have to report my potential book royalties to them (why? Dunno) and that I could not continue to work for the local university. I was dumbfounded. I explained upfront in the interview I worked 5-10 hours for the school and the recruiter said that was great and that my new manager loves giving back. Unfortunately legal did not. I ended up backing out of the offer. I still kinda regret it because it was a stellar team working on neat problems.

All that to say I can see companies asking you to sign something that wouldn’t hold up if you had the means to challenge it. I suspect most people done have the privilege of paying $300-1000 to have their contracts reviewed / red lined.
I forgot my glasses in the hurry to work today, so I might be more susceptible to this than usual, but some of the contrasts are very low. For instance palette 14 the yellow links on white, or palette 10 the yellow links on green, are both impossible to read. Update: Contrast 1.02 according to devtools in firefox.

Other than that I like the palettes.
Did you try HN's own search?

https://hn.algolia.com/?dateRange=pastYear&page=0&prefix=fal...
I don't want to downplay the good work they do but I can't stop thinking that these people are guinea pigs for the technology. Now, considering their initial housing they can't really complain.