skysight-inc/HackerNews huggingface dataset:
It's hard to gauge its looks as unfamiliar with TS as I am but would the equivalent without the spread operator look any better?

I call code like this 'clever' as it uses the language constructs to get usually a very optimal end result at the behest of being harder for n00bs like myself to parse.

I do wonder what a prettier version of this would look like. It certainly wouldn't be this concise but would it be better or harder to follow? I'm okay with something like this if it solves a very specific problem I hardly see. If my entire code base is littered with this? No thanks. Yea eventually it'd be second nature but I'd rather it be more verbose and slightly easier to unpack than this tightly packed.
I mean, Antarctica, or the bottom of the sea, or the peak of Mount Everest all wipe the floor with Mars on every metric you can think of.

It's all relative. Compared to 99.99999%+ of all of reality, Mars is an absolute garden spot.

but really, if we get wiped out it's going to be self-inflicted

Or, it might be some kind of energetic event we can't even see coming or do anything about. Mars is really just an interim step to humanity becoming interstellar.

compared with the difficulty of setting up a viable colony on Mars, the difficulty of sending a few nukes over there is negligible

Against a Mars civilization with industry and the intent to defend itself? Good freakin luck! It's hard enough to have a credible response when the flight time is only 20 minutes. When your super "rapid response" takes 2 months to get there, and it has to get there through the vacuum of space while announcing its presence with a hot fusion rocket exhaust, good luck! What's the alternative? "Stealthy" craft on Hohman transfer orbits? It's going to take a whole lot to conceal that initial boost.

(Don't get me wrong. Everyone will have stealth, precisely because it is hard and unexpected. But it will be very hard to pull off.)
you are correct :)

I mean, there are a few, and likely more that are local in areas. I think they used to be more popular: For example, I found a salmon meringue pie recipe in an old pie cookbook my grandmother had. But alas, most folks will think more of cherry or apple than meaty goodness.
I think Google's total cost is more than $100-200 billion. It's a bit hard to pin down what "total cost" means in this context, though. But their 2017 operating expenses were $82 billion. Each year is higher than the last, but if you add up the last four years, they're over $250 billion.

Facebook is about an order of magnitude less, so the Apollo program fits nicely between them.
If you keep breaking the site guidelines we are going to ban you. I don't even know how many warnings we've given you at this point, but we've cut you way more slack than most. Nevertheless the slack is finite.

https://news.ycombinator.com/newsguidelines.html
I think the commenter is referring to the process of declaring an order for executing a compute graph. With CSP languages this is established by the order in which the statements appear and reference each other, and computation is explicit: all previous statements in a given process have finished executing at any given point.

This is in contrast to Haskell that uses monads to declare the computation graph (well, functions, but monads are under discussion here). In this world, data is computed lazily as needed. The questions you ask about the code center around functions and their dependencies, not necessarily computation order.

A task that is trivial to express with on paradigm might be non-trivial to express on the other: haskell is excellent about expressing lazy computation and side effects, whereas a CSP language will offer easy reasoning about the specific and correct order of execution.

Note I am not a PL expert, just an enthusiast. My diction may be off for the domain.
"""
The Uighurs see themselves as a minority facing cultural, religious and economic discrimination. When Xinjiang was incorporated into the People's Republic of China in 1949, they comprised roughly 80 percent of the region's population. Controlled migration to Xinjiang of Han Chinese has reduced this share to 45 percent, and it is mainly these migrants who benefit from the economic boom in the region, which has plentiful supplies of oil, gas and coal.
"""

This is the key problem for political instability. China is having the inequality problem worse than any other countries....
It is more expensive, but would it be mor expensive than maintaining a grid for an entire region? The power density is low, but presumably you're not running every electricity using device while you're hooked up to emergency power.

This idea may be worse than just keeping a grid around, but my point was more along the lines that we are not tied to needing a grid itself anymore if we get power generation at every home/business. We still need some sort of backup power system, but it is possible that it takes a different form
How does Tron still exist? After the extremely public reveal of the Genesis scam - I'm confused.
> Is it simply a different and consistent notation, or is there more to it?

I've found that you can use that question to partition people (who have an opinion on the question) into two major groups: Those who dismiss LoF as just another notation, and those who do find something deeper in it or at least claim to.

Pragmatically it's strictly superior to conventional notation: it's more parsimonious and it admits the rule (due to W. Bricken, I believe):

A(AB) = A(B)

Which is unknown in other notations, and permits proofs in LoF notation to be extraordinarily concise and elegant (compared to proofs worked in conventional notation.) It also permits a concise implementation of a SAT solver that has the nice property that you don't have to put your problem into normal form.

Recently, George Burnett-Stuart (not Spencer-Brown), the author of the "Markable Mark" site, has worked out how to encode Predicate Calculus http://www.markability.net/prospectus.htm
Yes, that's a good point. Many binary file formats will also be quite complex, so it makes sense to restrict oneself to a useful subset of the data in a file. Otherwise one would be busy to explain complicated data representation specifics.

Another example could metadata in image (jpg, ...) files for example.
What you fail to address is that the success of software is that it does so much more with so much fewer people. A mobile app developer might be a new job but it actually replaces (indirectly) the jobs of dozens to hundreds of people. That's why it's a success in the first place.

My job as a developer is, in a real sense, to eliminate as much work from people as possible. If I wasn't doing that, there'd be no point to my job. We don't just make software for the hell of it.
When Schwartz and Friedman wrote their monetary history, they found three variables that contributed to the total money supply:

1) High powered money supply produced by the central bank
2) Money held in deposits, available to be increased via the fractional reserve multiplier effect
3) The deposit:reserve ratio, which shows the strength of the fractional reserve multiplier effect

The financial crisis seems to have tanked 2 & 3, such that the Federal Reserve would have needed to do much more QE than it did to keep up with demand for money.

They also found that price growth and wage growth are affected by history: a history of slow money growth predicts an increase in money supply will be absorbed by more output. A history of high money growth suggests that more money growth will lead to modest output changes and an increase in inflation.

Scott Sumner echoes your fear about a coming recession, but thinks that appropriate NGDP growth via the right amount of money printing can lead to a soft landing without inflation. Given that this has been his entire career, I think it is very possible that we won't necessarily see renewed high inflation.

Scott Sumner post here: http://www.themoneyillusion.com/the-next-five-years/
Why would you buy a book you don't intend to read? Is it kind of like buying home decorations? I mean I know how my habits work, I go to a bookstore, browse books, start reading wait to see if the story catches or doesn't, buy it or keep looking. Once I've got the hook on that story I can't shelve it without finishing it. I don't understand how you could not. Maybe people buy the books with a different intention?
> I haven't gone to a theater movie in over three years.

The funny thing about this is that sometimes my wife and I want to go to a movie on a date night but we can't even find something that we actually want to go see. We'll go out for dinner and then instead of going to a movie we'll come home and watch another episode or two of a good TV show. High budget TV serials are so good now that movies can barely compete.
The Tech Backlash We Really Need
Glutamate doesn't have any psychoactive effects because it doesn't cross the blood-brain barrier (to a significant extent). You are correct that theanine and glutamate in theory should have a similar effect on receptors, but receptor activity is only half the story. Other factors like transport and metabolism are important too. For example amphetamine and phenethylamine are structurally very similar, but will have a vastly different effect on your body.
That's my preference, as well. My rationale is that you should pick one or the other: indentation can entirely eschew dangling closing brackets as in LISP, or closing brackets always track nesting. Otherwise it looks asymmetric and ugly.
> at the same time banks were forced to significantly deleverage, so while the fed was pouring money into the systems, banks were effectively pouring money out of the system.

That's not an "argument", it's an observation. Almost all of the QE "new money" was never used by the banks to make loans; it just sat in their accounts at the Fed. Why? Because the banks weren't fools: they knew they had way too little reserves for the loans they already had outstanding, so they just used the QE funds to increase their reserves. That equates to "significantly deleverage".

> I guess it may also have to do with how the QE was introduced. If it was money printed to pay civil servants it might have had a different effect than introduced in the bond market.

Or money printed to pay ordinary people whose retirement savings had collapsed through no fault of their own. And yes, that would have caused inflation, because you would have had a greatly increased quantity of money chasing the same quantity of goods and services. It might also have stimulated some economic growth which could have offset that effect, but that's a chancy thing to rely on.
DNS issue for letsencrypt.org.  Domain in clientHold state.
> So store it digitally where it takes up less space. No need to keep a physical copy around.

That's a glib answer that ignores the complexity of digital preservation. When you preserve something, you want it to last long term--decades to centuries. Storing things digitally entails choosing software, file formats, and storage media; and the long-term commitment to continuously copy and recopy, convert and reconvert, and test and retest as the technology you choose becomes obsolete. Plus, with digitization, you have the added risk of correctable scanning errors becoming permanent, once the originals are destroyed.

Digital works are some of the most ephemeral ever created, to the point where future historians may experience our era as a kind of dark age:

https://en.wikipedia.org/wiki/Digital_dark_age
Paper burns. All those paper archives are vulnerable to fires, and indeed much of paper history has been lost to fires.

Digital archives get duplicated (unless the owner jealously hides it away). Duplication is the most resistant means of longevity.
(IMO) TRON fails to distinguish itself from other decentralized storage blockchain tokens/coins.

This move is a clever circular reasoning where taking their hype-driven valuation and using it to invest in a company that will give TRON more credibility.

Can HN help me understand why TRON is better than the sea of competition (Sia/Filecoin/Storj/Maidsafe/etc)?

EDIT: corrected 'syllogism'
A bit late, but React is your perfect match then :)
If I'm going to "upgrade" from JavaScript, why would I specifically choose TypeScript?

Yes, it gives some compile-time-only type safety in certain places, but it doesn't provide state safety like ClojureScript. I'm more worried about state/reference-based bugs creeping into my code versus type related issues, which I'll be checking via unit tests anyway. On top of that, it doesn't protect you from the usual JavaScript pitfalls since it's backwards compatible, including the bad parts.

Or am I missing something here? Is it popular because it lets you directly upgrade existing JavaScript files? I can see that being a big draw. Small and gradual improvement, yeah?
They should just move to a much smaller bank. To Bank of America, he's just a number, they don't care about him. A much smaller bank would value his business and would take time to discuss with him before shutting down.
You certainly have the academic background and skill to work, but may I ask what you've been doing for the past 20 years?

If you've been working in any type of technical or academic role you'll still be a good candidate. If you haven't worked it will be difficult to land the first one, and I think becoming an expert with common web platforms such as React will help the most. Plenty of small companies are looking for people on contract, and you'll build recent work experience.
Some believe that is the path of Web Assembly. That's still got a long ways to go though. In the meantime MS is working on compiling its languages to Web Assembly. It's most popular experiment is Blazor.
It’s useful but not necessary. It’s hard to offer the simplicity described above while keeping the control in your hands, but some folks working on wireless mesh are working on it:

https://blog.eero.com/mesh-trust-public-key-infrastructure-e...
Yes, but:

1. Market makers don't make investment decisions or hold positions. They facilitate trading as counterparties to investing parties, but do not drive prices themselves.

2. Market makers would make a terribly poor shadowy cabal, because the amount of capital they collectively manage is in the high single to low double digit billions. Mutual funds, hedge funds and private equity account for trillions.
I share your sentiment but I don't think this is the best example of it.
I agree with Steven Gibson. The biggest defense we can have on this is autoupdating routers. At a minimum, just restart at some fixed time after an update is downloaded. More fancy would be dynamically calculating a low usage day and time to restart.

But this would also involve the router manufacturer keeping it up-to-date as well.

Which gets me thinking... Does a SOHO (or any) device exist that effectively runs two firmware instances at once to allow minimal downtime as it switches over to new firmware? I imagine larger routers do, or at least, two identical physical routers accomplishes as much.
> The link between salt and hypertension

This idea is not supported by the evidence.
Using low units (liters) so that the numbers look big, can be misleading. To put it in perspective:
The CO2 mass in the polar ice caps is 1/5000 of the mass of earth atmosphere
The water mass underneath is 1/4 of the volume of water in the mediterranean sea.
You're right, it's the same thing. 'Paying people to dig holes and fill them' is a euphemism for pure redistribution. It's just an old school term used by Keynes himself.
(Though FYI 'the dignity of work' is a very real thing)
I once saw a phd thesis that argued that the best way to go was to use AST diffing at the top level (classes, method definitions, etc) but line-based diffing for the inner parts (method bodies, etc).

Small textual changes can lead to large changes in the AST, which results in confusing diffs. Merging is also non-trivial.

On the other hand, for top level structures following the AST keeps things saner.
China is also populous and oppressive enough that they can outlast the Uighurs in the long run, so there is little hope on this matter.
The “money printing” the Federal Reserve was doing in QE was going straight into reserves the banking system holds, and in exchange the FED received treasury bonds, from my understanding. I think in banking, reserves are not and cannot be lent out to anyone. So it wouldn't enter the economy to circulate. Or at least, this is the MMT perspective.
Useful Cross-Dominance Ideas for Left-Handers
> L-theanine is a structural analog of L-glutamate and L-glutamine

Interesting. I've tried L-glutamine, also several times at common dosages, and it makes me feel strange, like calm on the one hand, while edgy on the other hand. It's difficult to explain, but my voice felt calmer and my ears felt more anxious. I first thought the product I bought was contaminated, so I tried two more brands, with the same effect.

One thing is for sure: L-glutamine has much more effect on me than L-theanine (which basically does nothing).
I don't think this is accurate. Haskell "cheats" by making IO special and magical [1]. GHC has this definition:

newtype IO a = IO (State# RealWorld -> (# State# RealWorld, a #))

The Haskell standard, last I heard, specifies the implementation of IO as being compiler-specific. I may be wrong, but I believe you can't reimplement IO yourself in pure Haskell, at least not the way GHC needs it to be defined.

As the article points out, this has little to do with monads. You can force ordering using unique types [2] (e.g. used in Clean) by having I/O functions take a file handle and return a new file handle in every call. But IO fits nicely into the monadic pattern.

[1] http://blog.ezyang.com/2011/05/unraveling-the-mystery-of-the...

[2] https://en.wikipedia.org/wiki/Uniqueness_type
Age discrimination is illegal only in one direction in America (federally, at least).
> Suddenly the problem is Keynesian economics and not the proliferation of greed, liberalization of finance, deregulation, lack of accountability of credit agencie, etc.?

Keynesian economics doesn't cause those things, true. But Keynesian economics does make it much easier to hide their consequences until they are bad enough to cause a meltdown.
Well, I would imagine we would start with relatively small ones. The cancelled Asteroid Redirect Mission would have targeted one about 25ft in diameter which would be harmless if it ended up in Earth's atmosphere.
It's popular because OOP is the only thing most people know and understand better than any other paradigm and has been a staple of "reliable software" in big business.
The article is obviously on topic for HN. Accounts that flag like this eventually lose flagging privileges.
Tbsvj Turn off your brothers PlayStation but you can still turn it on
I'll take this opportunity to ask the community, what is a recommend router?

It's going to be me and my roommate only (with friends and family over) and I would like to get something secure and also reliable (and preferably on the cheaper side)

Any suggestions? I believe we have Cox if that is any factor....
The problem with that is that they pick awful sets to generate from.

Instead of a string of random letters and numbers, they should be a string of words.

It's frustrating to visit someone's home, and have to enter (on a phone keyboard, no less) some lengthy gibberish that they never bothered to change.
It's less ridiculous than fighting over this stuff in code review.

It's usually teams or projects agreeing on a coding standard, and those standards dictate everything other trivial detail. As a developer, you are an author, and you're writing with a "voice." On a team, it's a courtesy to the reader to write with the team's voice rather than your own.
Legal age discrimination, in fact. Or you could not discriminate. You'll have no problem slurping up all these high quality 40-50-somethings on the job market, right?
"These are important innovations, and they address glaring deficiencies in the pre-2008 models. But they don’t feel like a big break with the status quo. Most importantly, the basic notion of recessions as driven by rational actors’ responses to unpredictable, sudden events — or shocks, as economists call them — remains in place."

One of the fundamental weaknesses of modern economics is its reliance on un-knowable, extraordinary, incomprehensible "shocks" when faced with evidence that their theories have flaws. One thing it does is to prevent their theories from making progress in understanding...economics.

One might even call such behavior irrational.
Reading through this thread we have a bunch of theories about what must be right. And there are a few predictable responses of "the government didn't do enough."

So I'll throw in the Austrian Theory of the Business Cycle to the mix: https://en.wikipedia.org/wiki/Austrian_business_cycle_theory

Basically, the artificial expansion of bank credit kicks off the boom. The bust must inevitably follow. And the credit expansion is enabled by an unsound fiat money and banking cartel protection, such as the US Federal Reserve system.
>>> "Are you opening a burger joint around the corner? Let us talk to the people from the office building in front of it, your potential customers!"

>> Sorry, I can guarantee you that's not what you're doing.

> great, how?

Well...ARE you going to talk to the people from the office building in front of it?
An earlier HN discussion: https://news.ycombinator.com/item?id=17646928
That doesn't seem right. I don't know anyone who uses Azure outside of a .NET-centric programming job. Azure always seemed to be like "hey if you heard good things about AWS and need a place to deploy your code but you've never touched anything outside the Microsoft ecosystem, come try Azure!" I've seen it advertised on Stack Overflow a lot, but I have never even thought of looking into it, for the same reason I have no reason to install Visual Studio.
I've tried it in the past with coffee. It's an interesting additive as it gives you the relaxed tea feeling but with the focus of coffee. Within a few uses the body adapts and more is needed to get the same results. After a few usages I found it not worth the extra effort.