skysight-inc/HackerNews huggingface dataset:
I won't comment on Haskell's speed here, but function composition can't possibly be making Haskell less faster.

The reason is simple: the compiler inlines the composition operator in the vast majority of (probably all?) cases, since the Haskell standard library source code marks it with an INLINE pragma:

-- | Function composition.
{-# INLINE (.) #-}
(.) :: (b -> c) -> (a -> b) -> a -> c
(.) f g = \x -> f (g x)

http://hackage.haskell.org/package/base-4.10.0.0/docs/src/GH....
A only seems more complex because you're not used to the concepts involved. If you were then it would seem less complex than writing it "longhand".
Its not that complicated. We could just have the fed pay everyones payroll taxes including the corporations share. This would jack up the economy. The problem is getting this policy through congress. The entire macro-economic problem is a political problem.
On one hand I'm really enthusiastic to see attack mitigation tech like that becoming available for more people, but on the other hand I'm worried that this is just another step in centralization of The Internet. We've seen CloudFlare change their policy once and shut down a controversial website, and if they're one of the only people able to keep services online in an attack-ridden web, that gives them far too much power.

Not to mention the already-present breakage of the SSL "contract" by CloudFlare running a MITM proxy on secure webpages.
>Just building a couple school buses (ISS) to float around the Earth took hundreds of billions.

Absolutely, but then just one of these things will dwarf the ISS all on it's own. The old equations of space exploration affordability are being rewritten.

As for people wanting to go, there's a permanent base at the south pole, the peak of Mount Fuji is often a churned up field of mud from all the visitors and Burning Man looks like a ton of fun. Ok so some of that is frivolous. I'm ambivalent about the idea of Martian cities in the next 30 years say, but who can really look further ahead than that?

There's nothing that seems un-achievable about BFR. It seems to me these things will be going to space, and the Moon, and Mars at a ludicrously low cost compared to previous space missions. The real question is what will we do with that capability? I'm guessing we are going to do something with it. Musk's graphics are explicitly aspirational, but we'll do something with these vehicles and its going to be a heck of a lot more than any other plans I've ever seen.
OLD saying is you never get fired for hiring IBM.
I think that "easy to use" means "easy to use from the beginning" most of the time.
Syntax highlighting in very large files is what kills it for me. I usually open very very large files in literal mode to avoid lag
I'm very wary of statistics. As the saying goes, there is lies, dirty lies and then there is statistic.

A typical example is GDP is going in country X, which means X is doing better!!!

Except mean salary is going down, which is a typical for a rich get richer, poor get poorer scenario.
I've heard some B-school grads refer to this as some "inflection point". They were talking about more overseas workers for IBM in 2006 or so. The more important question is in which direction does the money flow?
It has to be net positive for the US albeit not to US upper middle class programmers. My simple rule of thumb is if the move is not filling up CxO level coffers, it won't happen.
Thanks very much. From what you're saying, I wonder then in a hypothetical scenario in which we were 100% confident that all local noise (all non-GW based noise) was eliminated, I imagine we'd be left with lots of actual GW based noise, from which a greater number of specific events could be picked out with the type of analysis you're talking about.

I wonder then if there's work to understand how much GW noise there is, and work on lowering the local non-GW noise floor further, etc. I guess that just means ever larger detectors - and of course correlating results from detectors around the world.

All very cool and interesting work anyways.
In the tech sector at least, the relative salaries of employees located in India is still significantly lower than those in most America metropolitan locations.

This overall reduced cost to a company is significant enough to invest in the market. As India is still considered a developing country, the quality of life, while debatable, would be considered a downgrade for many who could potentially be poached from other regions.
Fluid intelligence is falling since teens, crystallized intelligence rises well into old age.
And that's a lovely quote, but what does that have to do with war between groups. This might have relevance if I were discussing some sort or societal revolution, but where chimps are concerned, "revolution" is the changing of a dominant alpha, not a true societal structure change (and, yes, the same can be argued that differing forms of human government are illusory as they end up degrading to an alpha male style group, but that's a discussion for a different day). War, in most cases, involves violent conflict between disparate social groups. Maybe my comment was mistaken due to the breakdown of English in pointing to different types of conflict, where "war" has become a general phrase for conflict..... otherwise, I don't understand what this imaginary, egalitarian society phrase has to do with war. The real truth of the matter is, when food, sex and space are plenty, conflict is sparse. When any of those become scarce, conflict will happen and might will make right.
They also attempted hacking (according to the intelligence services) 21 state's election systems, with varying degrees of success.

Pretty sure that qualifies as 'unauthorized access'.
Many of your comments have been about how 280 characters won't work well with the way English speakers currently use Twitter. As this won't be the way English speakers use Twitter going forward, none of those comments matter.
Switches are already programmable to a degree. This is out of scope -- and yes, it's slightly worse than the existing story, but not that much worse. I believe, as a community, we've decided that trusting the transport is a bad idea.
Connect to Unique and Authentic Travel Experiences with Beeep
x32 ABI. Although I've never heard of a Linux that's x32 only.

https://en.m.wikipedia.org/wiki/X32_ABI
Because people have been bitten by products and brands being milked, keeping higher price but not higher quality.
TIL, thanks for pointing out that social engineering could probably penetrate lax security operational standards at some companies. All someone has to do is state it's random on every account they already put through with known information but can't answer the password recovery questions upon, put on a flustered & angry act, and I bet some percentage of call center reps will buy it. I'll modify my practice accordingly.
Not that I agree or disagree with the attack being state sponsored, but what other way to find people potentially ripe for being turned into spies than those with crushing debt, or other publicly available judgements against them?

Money is a great motivator, especially when you can use one database to find those in most desperate need of it who are also working for companies ripe for exploitation.
Spoiler....
Only Finishing Your Manuscript Is Not Enough
> if it's a good plaintext markup language, why would we concern about an editor anyway?

I work with a colleague who edits Org mode files in Vim just fine. But if you use Emacs to edit the same file, you get the benefits of subtree folding, syntax highlighting, etc.

You can get the same in Vim too, but someone has to develop a plugin for that.

So talking about my colleague editing Org mode in Vim, once he is done editing, he runs a Makefile that runs emacs in batch mode to run the Org exporter.

> TBH the time it's being useful is when I am writing in _any_ plaintext editor.

You still can, as I mentioned above.

The benefit of plain text is that it can be easily edited in any editor. Now emacs just adds features related to viewing (folding, syntax highlighting) and navigating on top of that. Given time and enough interest, any editor can support those features for Org mode files.
What does "collect" mean? Ask me to supply links? Force me to provide my phone? Force me to export all of my personal data from the platform? Or just ask Facebook to do it for them?

I'd love to visit the US again but everything I've heard about the TSA and invasions of privacy really put me off.
Ha! "Out there" is just par for the course with PKD....

Read "A Scanner Darkly", if you haven't already. That's one of the supreme weird tales.
What happens if the limits are reached? Does the end user get an error or does the request proceed as it would without the script?
To be completely fair, we don't actually know that health care pays for itself. The RAND Health Insurance experiment and the Oregon Medicaid experiment found little improvement in health outcomes and a significant increase in medical spending when insurance was expanded.

Those studies are hard to make because it's hard to measure medical outcomes. For example, for the Oregon experiment they couldn't look into differences in death rates because death rates were too low even among uninsured people. They had to look at cholesterol, blood sugar and other proxies for health outcomes, instead of the outcomes themselves.

This suggests that at some point further spending in health has diminishing returns and we don't actually know if we reached that point yet.

https://en.wikipedia.org/wiki/Oregon_Medicaid_health_experim...

https://en.wikipedia.org/wiki/RAND_Health_Insurance_Experime...
Bob Lord: What I Preached as Yahoo’s CISO
I'm going on 10 years with my gaming rig now. I've given it 2 video card upgrades. (It has a i7 965 Extreme, and cost a lot new, but I only paid $150 for it, and it's been amazing.) I do resent that I can't do such things with a laptop.
That is a story about React in 3 years.
> But in one of his final attempts to normalize relations with Cuba, President Barack Obama in January ended the program, which had allowed Cuban doctors stationed in other countries to get permanent residency visas for the United States.

When I visited Cuba this spring, there was a palpable level of resentment towards Obama for this change, as well as the end of the 'wet feet dry feet' policy [1]. Tourism dollars are good but probably not worth giving up 'plan B.'

https://en.wikipedia.org/wiki/Wet_feet,_dry_feet_policy
No. Netflow makes it very difficult to capture tail latencies, and outliers. Netflow's aggregate model makes it very hard to detect things like buffers falling over, and making intelligent decisions based on that.
As an example of this racism, I'd use this comment from the article:

"It often takes 2 and sometimes 3 Indian employees to perform the role of the North America diluting the savings." https://nyti.ms/2yxCQGX
Yes. Neoliberalism is the problem. We need to go back to pro Keynesian solutions. But we need togo through Congress. Thats the problem as well.
When I binge watch shows, specifically cartoons, I find that I can watch comfortably at 1.5x-2x speed.

I can't quite do this for movies, and I definitely do miss some jokes (e.g. in Bob's Burgers I miss the intro and food of the day gags) but for shows like Adventure Time, I feel like I absorb 99% of what is happening.

I would recommend giving it a shot. Start slow at 10% and work your way up. Stick to cartoons first. It is definitely a different experience, but personally, it's not a worse experience.
Indeed but it does exclude accepting that as an excurse/justification.
It's an interesting idea that roads are what they are due to a vehicle that most drivers despise being in their way.

What is more interesting it that designing 'out' the bicycle from the road is a relatively recent thing. In the 1930s if you wanted to build a major road in the UK you had to provide separate cycle tracks https://www.theguardian.com/environment/bike-blog/2017/may/0...

More interesting is that the attitude of motorists had developed to be anti-cyclist by the 1950s https://twitter.com/MartinPorter6/status/912717455503642624

Yet one western country currently sits at 10% obesity and is estimated to go down to 8.5% by 2030. The Netherlands. Given the UK will be at 35% obesity by 2030, 27.5% now, the implication is that the UK's transport policies are going to be responsible for 75% of obesity by 2030.

I recently did some analysis of travel methods from the 2011 Census looking at 112 cities and towns in the UK. 6M drive to work, 2.5M live within 5km of work (20 minute bike ride), 1M live within 2km of work, a 20 minute walk.
https://docs.google.com/spreadsheets/d/1nDCkK0LvkxqHLeYfd6wS...

Now we could berate these commuters, but those people honestly feel they may have no choice and also include some with disabilities. We can talk about 'forcing' people out of cars, but unless we redesign our road space to provide good cycle networks, what do we expect people to do?

The canary in the mine is how many kids cycle to school in your area. There is a school in Oxford, UK, where 60% of kids cycle to school. They have traffic free routes into their communities.

More interestingly is that Highways England has now recognised you cannot share space safely between vehicles with very different speed profiles and developed design standards for delivering better road networks that support walking, cycling, and driving.
http://www.standardsforhighways.co.uk/ha/standards/ians/pdfs...

If you want people to not drive, you have to give them really good active travel choices that enable people to make that choice of their own volition. If an 8 year old kid can cycle to school on their own and the parent can see that the kid will be safe all the way, you have yourself a great area to live.
What the World's Oldest Papyrus Can Tell Us About the Great Pyramids (2015)
Should You Build a Webhooks API?
What support are you looking for? SQL Server on Linux, is for the most part, SQL Server. Django support for SQL Server should be roughly the same on Windows and Linux, they're just client apps.

All my testing, which is inherently limited to the things I look at, show that apps seamlessly port over from Windows to Linux, unless they're doing something in the file system, or have complexities with SQL Agent and other subsystems. Maybe of the Agent limitations have been removed, I just haven't retested.

MS supports Linux the same as Windows, with lots of their systems people having spent the last year+ learning about the differences between Windows and Linux.

Are they all going to be experts on client interactions? No, but they should be able to provide support in most cases.
Let me provide some other examples then. Often the most relatable examples in this field involve manipulating data structures, or hiding abstractions.

Sometimes you just want to reuse an existing function with 2 arguments. You name it either because you want to give it an explicit type (in many cases the exact same code can do different things depending on the type it expects). People's first exposure to point free style is often "flip", a higher-order function that takes a diadic function and swaps the order of arguments.

As an example, the "cons" function from data.text takes a character and a text object and prepends the character into the text object. It has type: Char -> Text -> Text

But what if we'd like to do this repeatedly? Ideally we'd reuse a function like foldl (reduce in javascript parlance). What we'd like is to have a function like conss that has type Text -> [Char] -> Text. Sadly, foldl expects its reducer function to take something more like Text -> Char -> Text, which is really close to what we already have with cons.

A point free solution feels pretty natural here:

conss :: Text -> [Char] -> -> Text
conss = foldl (flip cons)

We might say, "I actually want to prepend the same prefix to hundreds of strings." A simple point free way to think about reusing our old code:

prepend :: [Char] -> Text -> Text
prepend = flip conss

Often times we use point-free style when we're building other structures. Some time ago I wrote a text adventure game engine to explain Haskell to some kids, and it has this line (https://github.com/KirinDave/Rag/blob/master/src/Rag/Parser....):

buildMaze :: [(Int, Room)] -> MazeDefinition
buildMaze = foldr (uncurry Map.insert) Map.empty

Again, a point free version of this is much more readable and direct than if I were to pattern match into the arguments. That would require a binding both on the outside for the array and in the inner reducer function, adding tons of noise:

buildMaze :: [(Int, Room)] -> MazeDefinition
buildMaze definitions = foldr reducer Map.empty definitions
where reducer = \(m, (i,r)) -> Map.insert i r m

Sometimes, point-free style can also help with very abstract code. A common way to define the functor instance for the Free monad, for example, is reasonable to follow in point free notation but pretty brutal without it:

instance Functor f => Monad (Free f) where
return = pure
Pure a >>= f = f a
Free x >>= f = Free ((>>= f) <$> x)

Trust me, you don't want to see the lambda-ized version of that inner bind. It's really, really bad. It also loses the clarity this one offers about the fact that at the end of the day, you make a big chain of functions and then fmap it (which is actually pointing to a massive performance flaw with this implementation free monad!).

I agree that the author didn't really make their point here. What's more, using the language they did will always make point free notation look awkward. Point free notation thrives in environments where partial application is automatic.
Thanks! I'd say at least some of the blame for that is due to how C-family languages make these concepts appear somewhat ... opaque.
Unfortunately, my state's universities are decidedly mediocre. Both flagships sit outside the top 100 nationally. Bordering states do have strong public universities, so I will have to see if there is any reciprocity. Otherwise, it looks like we'll have to do a lot of close examination of the total financial packages being offered when the time comes.

I graduated in the mid-90s with $20k in debt. That wasn't fun but it was manageable. I can't imagine graduating with a mortgage's worth of debt.
Do you plan on keeping those Atom machines for longer than 2021? Because otherwise it should not be an issue, as you can still use 16.04 with the latest patches until 2021.
I was under the impression that for quite a few people, possibly including the people at SpaceX, the 'F' doesn't stand for Falcon or Friendly or Fantastic or ...
> Roll back the tax cuts to the wealthy who have nowhere to put that money except into speculation and bubbles.

This is pretty directly contradicted by the post. The real estate markets that have higher taxes on the wealthy are showing more bubbly behavior.

Higher taxes on high earners may be a good idea but they’re not a solution to bubbles.
I guess the I in IBM, now stands for Indian.
[It's a joke, don't take this seriously :-)]
> The most deadly terrorist group to hit the USA was the KKK, with over 3000 black Americans lynched

Not to take away from the terror of the KKK, but 9/11 was more deadly - "The attacks caused the deaths of 2,996 people and the injuries of more than 6,000 others" (https://en.wikipedia.org/wiki/September_11_attacks).

9,000+ killed or wounded on a single day, massive economic impact, and a Global War on Terror that is still going on today.
Why would this effect suddenly present itself in 2004? Why hasn't it caused average IQ to decline for all of human history?

"A recurrent fear during the past century is that the mean IQ level of populations will decline because persons with lower IQ scores have above-average fertility. Most microlevel data demonstrate such fertility differentials, but population IQ levels have risen rather than fallen. In this article, a simple two-sex model shows that negative fertility differentials are consistent with falling, rising, or constant IQ distributions. Under a wide variety of conditions, a constant pattern of fertility differentials will produce an unchanging, equilibrium distribution of IQ scores in the population. What matters for IQ trends is how the IQ distribution in one generation relates to the equilibrium distribution implied by that generation's fertility differentials. Intuition fails in this important area because it does not account for the macro structure within which micro results must be interpreted."

- http://www.journals.uchicago.edu/doi/10.1086/230135

Also note that there is "a strong inverse correlation between early life intelligence and mortality".

- https://en.wikipedia.org/wiki/Cognitive_epidemiology#Overall...
+1 for TextWrangler. With it's solid remote file support, inline file browser (if you open a directory or have multiple files open in the same window), ability to not choke on multi-GB files, and solid regex Find+Replace support (including over those multi-GB files), TextWrangler is an amazing piece of software that Just Works©. Combined with an alias[1] in my terminal, it's been such a productivity boost.

[1] On OSX (can give it either a directory or file argument):

alias tw='open -a /Applications/TextWrangler.app'
tw /path/I/want/opened/
Test-Driven Development with React and Redux, Using Redux TDD
Why would it have to be net positive for the US?

If $100 million flows from AT&T to IBM. And IBM pockets $10 million and sends $90 million to India, that would be a net -$90 million for the US economy.
Perhaps. There are tons of SQL Server sites and articles to provide information and details the docs lack.

Plus, the MS docs are now on Github and we can submit PRs to correct and expand things.
An accurate GPS receiver literally weighs a few grams now. I have one in my wristwatch. Weight and bulk aren't valid reasons to leave GPS out of cameras.
That's only true if you never reuse Math.max. I believe the philosophy the OP is espousing is to write a few point-ful funcitons when necessary and then make the bulk of your business logic be recombinations of those in a point-free way, rather than redoing the points at every function the whole program wide.

I will agree it is a big loss of readability for someone who's not used to reading programs that are written like that. And that includes me. But I have faith it will get easier to read and eventually I will find it easier to read code written in that style than code written in the old style.
> with a pending citizenship application

It can stay pending for a long time, mine took forever
Yup, but it's so easy to install extensions. On Fedora, all I've added is a weather applet, caffeine (disables auto suspend/screensaver when enabled), and a permanent dock on the left side. A few switches on an easy to navigate website and I feel my desktop is perfect.
There's also lots of hype from people reassuring everyone that the coins they just happen to have invested in are rock solid, with nothing to back their arguments up.
There was a guy who went around offering bitcoins for real cash. How is that not an ICO ;)