skysight-inc/HackerNews huggingface dataset:
>A major difference is that the Go compiler will not run build scripts when you build the code.

Go actually has a built-in "Go generate" command that will look for magic "//go:generate <command>" comments in the code and automatically run code generation based on them, although I'm not sure how ergonomic it is.

>It just allows you to logically separate build time I/O from runtime I/O, which I find is nice for reproducibility of builds and maintainability of code.

This is a reasonable argument. For what it's worth, compile-time IO in D is more limited than in e.g. Haskell, as it seems the only compile-time IO D supports is reading files (or at least I can't find any documentation suggesting otherwise). Most of the power of its compile-time code execution comes from non-IO code (e.g. generating an optimal lookup table for a dictionary of values known at compile time, hard-coded in the code, or automatically generating fast JSON serialisation/deserialisation code for a struct without need for macros). While Rust also plans to support this, full support could be years away, while D supports it now.

>As far as your comment about databases, you should look at Diesel. It handles this very nicely in Rust, so... that’s not a problem at all.

Definitely shows it's possible to get the benefit of type providers without language support for them, hats off to the Diesel team!

>Is it compatible with 100% of the code that the current DMD release is compatible with? That’s all I ask for in alternate compiler implementations... but it seems like a lot, sometimes.

It's eventually compatible, sometimes lagging a few versions behind. Using LDC for release builds is somewhat comparable to only using stable Rust for release builds, except D has a slower pace of new feature additions than Rust since it already has so many features.
Isn't he?

I mean, he started his talk[1] out by posing the question "Is Big Tech good for the U.S.?", which frankly seems like a question worth exploring - especially since the reflexive position of most everyone (e.g. those who post on HN) would be in the affirmative, and likely emphatically so. Being contrarian to a fault, I expect that there's something Thiel thinks is under attack here. Be it more broad things like the general fraying of social and civil cohesion through social media use, or more specific things like Google's enabling of the Chinese surveillance apparatus, Thiel at least has a starting point in this argument. I can't find a video so I don't know what he actually said but below are some notes I found (that seem to mostly rehash what he's said in a bunch of other places, so he obviously seems to think it's an effective rhetorical payload).

[1] https://medium.com/@bonniekavoussi/notes-from-peter-thiels-s...
> I think in some respects the US has coasted on it's former economic glory - I mean sure Silicon Valley is a mecca for folks like us but then you look at things outside of the those types of Nexuses and its a very different picture.

This is not intended as a political statement or a commentary on current politics. But its often said that Americans vote against their own interests and I think this is particularly true in issues surrounding the social safety net, like universal healthcare, parental leave and other things that some other first-world countries have already figured out.

Unfortunately, this puts us at an ever growing disadvantage with the rest of the world as the only people who can attain these benefits in the US are FAANG, some fortune 500 and other megacorp employees. This also exacerbates inequality between the FAANGs and FAANGnots. (horrible pun, I know)
If the old hacker news server in this example were to crash, wouldn't that mean they lost the context of their continuation)? Wouldn't this mean it is better to use the discrete data as the continuation (which they achieved by realizing all the continuations in code)?
"target every cookie that belongs to a specific IP address"

That shouldn't work if the GP uses a VPN, as theg'd have a perceivably different IP address.

More likely they are logged into youtube, and their account has been associated with their girlfriend's account (location data from gmail/android phones/maps/etc, probably not using the VPN 24/7, etc)
The frame is incidental.

It is the little parts that matter. Not just screws; really-spherical ball bearings, ceramic-hard bearing races, micrometer adjustment.

Without good bearings, friction and wear make it a short-lived toy.
The Obama Regime
https://www.nationalreview.com/2013/08/obama-regime-deroy-mu...

"The president has become dictatorial in nearly every area of governance"

https://lmgtfy.com/?q=%22obama+regime%22&s=
Or consider how useless you would be if transported back 400 years.

You would be able to offer great advice about washing hands or the solar system generalisations. But actually create something to show people....even the simplest things would be beyond most of us.
Because Thiel is making the claim, that not only are they senior management, but they are both actively influencing the company from working with the USG as well as transporting, what maybe now Google's most important IP back to China. This would mean either large swaths of Google senior management are complicit or negligent, and that Google has no, or easily defeated safeguards around that IP. If Google had a track record of playing fast and loose with data, I'd more seriously consider his claim. In fact if it was coming from anyone else I'd consider the claim more seriously.

Aside: I'm not downvoting you as you have a fair question - I don't know why you are negative.
After skimming through, the author uses present tense for the rate:

"
Greenwood County, which has the highest lynching rate in South Carolina with 6.87 blacks lynched per 10,000 people in the black population in 1900,...
"

But then uses past tense for the voter turnout

"
... had a black voter registration rate in the 2008 presidential election of 72.4 percent.
"

But I am not sot sure that I understand why either.
Having money just gives you more choices. The paradox of choice, however, is very real (at least speaking for myself) and often when you do find yourself in a situation where you have a lot of choices you can easily end up confused, anxious, and overthinking things.
Ask HN: Store short notes based on tags
Though I use evernote, it is perfect for the big things but it falls short in dealing with small things. There are many small things like some tips or quotes or an idea or the rent in a locality near me. Sometimes is some random conversation, somebody mentions a price of something and if I can note it down, it will be of help in the future. Bascially small things that you remember randomly but are useful. Most of often I find that I dont remember it in the right time. So I decided to write it down.

The tool that just helped is Google Keep. I dont write a title, just the note. These are basically text less than a tweet (280 char). For easy searching, I write associated keywords. But the issue is I might use many keywords for the same idea or misspell a keyword. I regularly write 'color' & 'colour' or 'code' & 'script'. So I feel tags are more appropriate. If I can group the tags, then its easy for me to drill down the closest keyword I have and save it. So, when I want, I just browse through instead of searching visa specific keywords.

Know of any tools for this? Is anyone doing a practice similar to this? How do you organise the small stuff in life?
In decentralised networks, everyone is naked [pdf]
If each employee was paid the same to pick half the items, then they’re effectively being paid twice as much to do the same amount of work. Amazon would have to hire twice the workers (if not more) to fulfill their order volume, which means shipping items becomes more expensive.

So the real question is: Who is going to pay the bill?

And the problem I see here is, whoever you ask this, the answer is always “not me!” Everyone wants to reap the benefits of cheap labor (e.g. cheap, fast shipping), while proclaiming they want to treat the labor force well, but without a willingness to actually “put their money where their mouth is” and pay for it when it actually comes down to it.

For example: If you could willingly add 50% to the cost of every Amazon purchase if it gave workers better conditions, would you? If your first reaction to that is “Hey, that’s not my problem! The [government/market/unions/etc.] should have to solve that!” ... then yeah, we’ll the thing is that’s what everybody says when asked these sorts of problems.
I doubt many people of the time thought that the photovoltaic effect was compelling evidence that hinted at a whole new layer of physics beneath the classical theories. Only hindsight is 20/20. There a lot of loose threads in modern physics that seem unrelated or even inconsequential, but that might ultimately turn out to be revolutionary. So like you said, us being close or very far from a total understanding are both plausible.
It only seems like a nice idea if you don't care about efficiency. If your tool can do all the things then it's going to be a very expensive tool (or will suck) compared to something that's specialized.
No, brontosaurus turned out to be an incorrectly assembled/restored partial skeleton with incorrect skulls substituted when unavailable, including bones from two different animals (apatosaurus and diplodocus or brachiosaurus), to depict a single animal. This naming fiasco happened starting around 1969 and validity opinions became widely held toward the end of the 1980's.

That's why Jurassic Park went with brachiosaurus as the lead sauropod. Brontosaurus, for a period of time, was viewed as incorrect and the product of archeological errors.

Since then, naming conventions have re-adopted brontosaurus as a subtype of apatosaurus to alleviate some of the confusion as to whether brontosaurus is a valid dinosaur name. As of 2015, opinions have solidified with deeper context and better data. It's sort of like the rebellion against whether Pluto is the ninth planet or not. So many people just like the name, brontosaurus, that there's been a consensus to squeeze it back into a usable, valid place that doesn't leave the world confused and dismayed.
Really Thiel's frankly fascistic rhetoric is far more treasonous than even the absurd worst case of "Google gave access to literally all of their technical data to gain market entry". And here he is calling for abusing power to stifle dissent for exercising their rights of who they work with. What they and the nationalist bedwetter coalition forget is that the Military serves the Civilians. Not the other way around.

The whole accusation is recursive bullshit if not fractal bullshit on so many levels. Essentially anything can be considered weaponized. Not only would cars count but when it came out freeze dried food would count as 'weaponized' because of logistical advantages. US government's efforts at promoting cybersecurity have been pretenses to gain power while making it less secure.
To someone who understands statistics, why is the method conducted by the researchers:

"
To examine the connection between historical acts of racial violence and modern-day voting behavior among blacks in the South, Williams examined county-level voter participation data in the six Southern states where individuals are asked to identify their race when they register to vote.
"

Where they basically drew connections between two sets of statistics, different from what 'spurious correlations'[1] takes aim at? Although the article doesn't mention at any greater depth as to how the research was done.

[1] https://www.tylervigen.com/spurious-correlations
Reforest an area the size of the US to help avert complete climate breakdown
> The impression I got visiting the US in general (NY, Seattle, San Fran, LA), is that it all seems quite ran down, full of inequality and social problems, and lacking soul, mainly from being so consumerist.

Having lived in at least two of the cities listed above I can confirm.

Thinking about this point, some of the most valuable US based companies make gadgets and consumer items for us to play with, or services to entertain or glue us to our screens… Apple, Facebook, Netflix, Amazon (Alexa, etc).

While I can’t seem to live without my iPhone I wonder if our innovation is somewhat misdirected. Where is high-speed rail, broadly adopted forms of alternative energy, new feats of engineering in bridges and infrastructure, ambitious national projects that improve the lives of citizens and bring a higher standard of living not just to coastal cities?

Its worrying, but I wonder if we are here now, where will the US be in 20 years? No doubt the US will be still generating significant shareholder value but have a widening social inequality, crumbled infrastructure and disappearing coastal geography.
Many of the noted violations were on US soil.
Not really, the base game is well worth it on its own, especially at sale price
That's fascinating, the lengths that people will go to to get their site ranked is amazing.

What about backlink providers, there's thousands of companies that try to increase your ranking by backlinking for you, does Google penalize those companies?
> Baumol and Bowen pointed out that the same number of musicians is needed to play a Beethoven string quartet today as was needed in the 19th century; the productivity of classical music performance has not increased.

it’s kind of odd to consider a performance more productive if it can be done with fewer people. what if productivity is being able to entertain more people with the same number of performers?
Some more information on the actual amount of tree planting in china.

>China has been conducting what the United Nations has said is the world’s largest tree planting crusade, which increased its forest coverage from 8.6 per cent in 1949 to 21.7 per cent last year.

>By March this year, the total area covered by China’s artificial forests reached 69.3 million hectares, larger than the size of France, according to the State Forestry Administration.

https://www.scmp.com/news/china/science/article/2162083/more...
I think I partially agree, but that it mainly depends on the audience. I've found that parsing and recursion appear in more areas than just compilers, to the point where it'd be relatively difficult to avoid them. Machine code generation and the underlying implementation of high-level primitives (closures, tail-call recursion, and the like) hasn't, at least in my experience, been "naturally-occurring" to the same extent.

In terms of creating a "learn compilers from scratch" resource, Crenshaw's approach is definitely better. The trade-off would be that it'd take longer to get past the "writing a recursive descent/LR parser" phase, and it might never get to higher-level language features at all depending on the input language you go with.
Check https://tiddlywiki.com

It can be as complicated or as simple as you want to make it. Can be used locally only or deployed on a server. Single self-contained html file, can be encrypted too.
If there's no regulation standing in their way, or the potential profits outweigh the consequences, of course they'll continue their malfeasance

Well, yes, but that’s really “if voters and customers are happy” isn’t it? No corporations exist in a vacuum. It’s like Nike making shoes in sweatshops, people moan but buy them anyway. Voters could sort it easily by imposing punitive tariffs on any country that doesn’t comply with US labor and environmental laws.
IMO if you have a net worth under $10M, you don't need materially different financial advice than a middle class worker saving in their 401(k): use low-cost index funds. Consider a lazy 3-fund portfolio: U.S. Stocks, International Stocks, and Bonds. Hold those in proportions that match your risk profile (young = more stocks, near retirement = shift into bonds, etc).
In the SpaceX report, it says that the NTO struck the valve at high speed and pressure, causing it to shatter. Before that happened, the NTO leaked though the valve into the helium tank slowly and did not cause a fire even though it was in contact with the valve for a much longer amount of time.
>For example, you can write "let x = Default::default(); f(x);" and the compiler can determine the type of x from the type of f.

That would be less helpful in C++/D because their compilers don't do Hindley-Milner style bidirectional inference, so even if they had typed generics they wouldn't necessarily be able to do that inference. But I suppose that's an argument in favour of Rust, stronger type inference.

>It's not exactly something you'd want to use, though.

Ergonomic HKT can make writing various kinds of utilities easier. E.g. imagine I want to write a function Singleton that takes a collection C (vector, list, stream...) and an item of type T, and returns C<T>, a collection containing a single instance of that type. I can write that in Haskell, D or C++, but not in Rust. Or perhaps more usefully, a function Fill, that returns a container C containing n items of type T. For Rust it seems I'd need to write a separate implementation of Fill for each container type, I couldn't write one parameterised over any C?
Bicycles in Africa can exist only as output of the massive industrial base elsewhere.

Chinese wheelbarrows are the real endpoint of pre-industrial transportation.
Isn't it facing a massive desertification which this is trying to slow / stop?
Actually, I can 'play' a Beethoven string quartet from my phone by myself. So technically classical music performance productivity, in the loosest definition possible, has increased. Of course, as you mentioned, that could be considered an arbitrary metric.
NASA has kept Apollo moon rocks safe from contamination for 50 years
It’s not about fixing the price as much as it is fixing the actual product. If someone pays for a product and then has it taken away by the seller —essentially a racket— it damages the validity of the marketplace.
yup, as part of a research project way back in college, we even made crude artificial muscles out of mesh wire sheathing[0] and custom-formed long, thin rubber "balloons" actuated using compressed air. the efficiency was horrible, but we were primarily interested in the gait dynamics of our robot, not efficiency. it was a fast little bugger though!

[0] something like this: https://www.donathenrc.com/mesh-sheathing
Are these commercial plantations? And what is the biodiversity in the forests?
Even a highly compensated US tech worker can be bankrupted by medical costs. Seen it happen.
And since USB 4 will be Thunder Bolt, expect cable length to become even shorter.
I don't think he's really making a point about social cohesion here. It seems like what he's asking is "has the US captured Big Tech well enough to make sure the gains don't leak out to other countries?"
Brontosaurus has always either been a genus or a younger sysnonym. The most prominent species of that genus has always been Brontosaurus excelsus, apart from the few years up to 2014, when it was Apatosaurus excelsus,
Burn scrap nothing, In Colonial America they'd burn decrepit houses to get the nails. Enough that colonial governments passed laws against it.

Which reminds me when I was a little kid people would carefully pull the nails out of old boards and save them.
Did you know that recently it was shown (on HN I think) that Magic: The Gathering can simulate a Turing machine as well (but the cards you need make it difficult to pop up in a match).
Revers engineer Buzzfeed algorithm to create an online media for developers
He is speaking as Merkel's boy :D
I don't like these articles for the simple fact that climate change deniers use it as "evidence" that climate change is fake
Agreed. I’ve often thought that the banes of regulatory arbitrage and labour arbitrage could be simultaneously killed by allowing the free movement of people across borders. It’s strange to me that corporations and money can cross borders easier than people.
> In 100 years will we wonder why recumbent bicycles took so long to catch on?

In 100 years, most likely only crazy hipsters will know what a bicycle is because everything will be electrified. E-Scooters will eradicate bicycles for most uses in the next 10 years or so.
I was speaking to someone employed as a state forester recently and we were comparing maps we had brought to the meeting. He talked about how he had access to all sorts of cool maps like infrared and even aerial maps dating back to the early 1910's and 20's. I joked that those maps must just be the tops of endless forests (this was in a northern state known for its forests) and he said the images seen were the opposite. He explained that farming back then was incredibly inefficient and farmers would clear cut as many trees as they could and till as much soil as possible on any piece of flat land they could access. The forester said that with advancements in farming and increases in efficiency, the countryside contained more forest land now than any previous point in time starting from when farmers grew crops for more than just their own family. It was a fact that I found interesting and had not considered before as I had always imagined the woods in olden times to be a larger percentage of all available land.
Or people should follow the general advice and only break with it if they have specific knowledge otherwise.
> the paradox of choice

What do you mean by that?
Scientists close in on blood test for Alzheimer's
> I lost a large chunk in the 2008 market crash

Oof.

> ..if I had kept my capital and invested it in index funds, and continued to work, I would now have so much wealth that I would never have to work again.

I really think this is just a testament that you should hire an FA if you come into money and don’t know what you’re doing.
General Dynamics never claimed the F-16 was just a slightly modified Cessna in order to avoid having to retrain pilots and have it safety tested, however.
You're right, and I've been there. That room gives me the chills! To me, 1903 was the beginning of the modern era. To go from that to landing on the moon in less than a single lifetime!

Who could ever believe such a thing could happen?
What on earth does reforestation by humans have to do with climate change?
> At this pace, it seems like the US might end up being the last country on Earth without some sort of government-backed universal coverage scheme.

IMO this is a quickly growing competitive disadvantage for the US.
I was curious haw this is actually measured, so to make it easier for others, LAI stands for "Leaf Area Index" [0], and is measured as "the one-sided green leaf area per unit ground surface area (LAI = leaf area / ground area, m2 / m2) in broadleaf canopies.[1] In conifers, three definitions for LAI have been used"

I'm a bit surprised to see the greening in the Rockies, and in North America in general given the devastation that the bark beetle has caused over the last 20 years. But it's nice to read that some trends are in the right direction.

[0] https://en.m.wikipedia.org/wiki/Leaf_area_index
I’d like to see a study Measuring Long-Term Casual Impact of LinkedIn recruiter activity on LinkedIn users.
I know this is tangental, but it fascinates me that you could hold a stock that pays <5% dividend yield whereas the bulk of the economic impact is wages, salaries, business with other companies, etc.

The assumption that your stock price necessarily should go up I think is an assumption that will change somewhat in the next 50 or 100 years. In this sense, the rich, those with pension funds, but largely the financial managers dictate a lot of what happens in the economy.
When I made $45k I had fuck you money. I could (and did) quit my job and spend two years not working if I wanted to. I wasn't beholden to anybody at $45k, I had my own apartment, health insurance, car, and no debt. You may not be completely financially independent after one year at $500k, but you have the human capital to make a minimum of $50k for the rest of your life, so you can say fuck you to any job, any time.