skysight-inc/HackerNews huggingface dataset:
An understanding of history and ethics and psychology is also a valuable skill, but if that's your only skill, you'll be making lattes.
Hosting their own ads would at least force them to vet their own ads, which is ultimately what most people want, I think.
A bit tangentially related, but I've always wondered why the syscall instruction doesn't use the TSS for stack switching like int does. I guess it does give you more flexibility to load rsp from gs during a cpl 3 -> cpl 0 transition rather than consulting the TSS to switch it automatically. Can anyone weigh in on this?
Because the crooked politicians usually bring something back to their constituents. And people vote on their local politician.

So the US Senate is usually filled with moderate voices (since they have to appeal to millions of voters) while the House of Representatives is filled with crazies who were elected by an order of magnitude less than senators.

Then you have the incumbency effect which makes it pretty hard to lose your next election so long as you have name recognition and a gerrymandered district, unless something really crazy happens with you (sex scandal, fake-news, corruption indictments, going to prison, etc), and even then sometimes the effect is still strong enough to elect you to office before you have to be removed and have the State Governor appoint an UNELECTED replacement who will then have the incumbency effect bestowed upon themselves.

All in all, the US makes it hard to elect people who will "progress" and not just "maintain".

And don't get me started about off-year elections, special elections, primaries, voter ID laws and various other legalized voter suppression (felons, poor people, minorities), and a plethora of other ways that we use to confuse citizens about voting.
In this example:

fn foo(x: i32) -> Box<Iterator<Item = i32>> {
let iter = vec![1, 2, 3]
.into_iter()
.map(|x| x + 1);

if x % 2 == 0 {
Box::new(iter.filter(|x| x % 2 == 0))
} else {
Box::new(iter)
}
}

Why is it that I can't return `impl Iterator<Item = i32>`? Doesn't the `Filter` type implement `Iterator` for the same associated type?
> Frankly, I'd like Google Assistant to make some of the more soul-sucking calls I have to endure. Perhaps it can call and argue with the insurance company about doctor bills.

People often forget that companies make various types of agreement between each other. Let's keep it simple: I have a complaint with my insurance company and they have some kind of partnership with Google.

What will Google-bot do? I hardly believe it will pursue my interests
Fun Fact: In many parts of the US it is "illegal" for municipalities to run an ISP.
I think this trend really took off with Medium, which encourages large (and useless) banner images at the top of articles. It's an unfortunate trend. It probably also increases bounce rate if I had to guess.
Regarding multiple languages in the same file.
Check out: http://docs.racket-lang.org/multi-file-lang/index.html
Everyone keeps talking about impl Trait (which is great) but I'm super pumped for ? working in main now. Was recently writing some code as I finally got back to rust and forgot about that edge and had to write a match block when ? would have been good enough (felt silly to make a method just to handle that).
This was the title I used, it must have been changed: “Alexa and Siri Can Hear This Hidden Command. You Can’t.”

I couldn’t have added the subtitle because as you say, it would have been too long.
Very simple things make me happy. Waking up to a blue sky on a peaceful day with enough good food to eat, warmth, shelter and family around me is a bonus. Happiness doesn't seem to be a plateau though. For me, it seems to be momentary. Just accepting this is usually enough to prepare me for moments of happiness. It's a mental attitude.
Tenno, One world currency
I read about this thing in Florida a long time ago and got upset about it. When I was reminded about it that all rushed back.

Objectively, tires that have been underwater for decades probably are not a great raw ingredient for making bouncy surfaces for playgrounds or quiet asphalt.

But incinerating them even with emissions controls really only recovers a little bit of the embodied energy, and still makes me feel all table-flippy.
> No widgets

Flick to the left from the homescreen or from the notification screen. They have them.

> constant reminders to sign-in

After an update, sure, but TouchID got rid of most of these.

> constant reminders to update

iPhones actually get updated. Reminding you to install them is good practice.

> no double tap/settings seem harder to find

Please explain this gesture.

> Finger print scanner sucks so bad.

You probably (like me) only scanned part of your fingerprint.

> Little annoyances like the animations to change screen take 0.5 seconds too long.

Dig into the accessibility settings. They let you change a lot more than you think you should be able to.
I really like how often I can get the reminders sent. I am basically in a state of constantly forgetting things so having frequent reminders will keep taking some pictures for my Grandma fresh in my mind as I normally don't take many pictures.

Great idea
most people didn't die in their 30s, if you could make it through childhood you'd usually live to your 60s/70s.
almost as good as Fedora?
Internet access requires laying cables and huge up front costs and is to a large degree a "natural monopoly". In cases of a natural monopoly, even classic pro capitalist free market economists believe in regulation.

On the other hand, Comcast seems to be deaf to competition. I live in an area where AT&T offers 1 gigabit up and down for $70 all in and Comcast still tries to sell 1Gbps up/35mpbs down for $135 and it's capped. I consistently get 940/940 on AT&T. Comcast couldn't get near the promised speeds during peak time when I had them years ago.
I took the Udacity Deep Learning Nanodegree after a masters in CS. It was really fun, and I would highly recommend it.
On a similar note, here's a NYT article from last week quoting a former Fed governor stating that this is something central banks should look into:

https://www.nytimes.com/2018/05/04/upshot/should-the-fed-cre...
I probably should have specified I'm interested in the Google one.

As far as I can tell, Google doesn't post a comprehensive reference, based on:

google now command reference site:google.com

Most any list that's been published is from 3rd party sites, and usually from 2016.

Google's documentation that I've found tends to be of a form of a random list of various different scenarios you can do, but nothing comprehensive.

And besides, my sense is that new development is on Google Assistant, which (I think) requires web search history to be turned on, which in my opinion is stepping over the line. I'm getting tired enough of Google's invasiveness that I'd like to switch to iOS, but I can't stand the UI, and the hardware is all too expensive for my tastes.
I also bought a lemur several years ago, paying ~$150 for customs for Canadian shipment (obviously not S76's fault).

Thought it was worth it because I was supporting a Linux-friendly company.

The laptop had constant fan noise issues and the touchpad stopped working after a year.

Now I use a fanless desktop mini pc that I found on AliExpress that has Ubuntu pre-installed. Life is much better now.
How is that different from any other Undergraduate program. At the end of the day undergraduate degrees are like the bare essentials of education - there is a life long journey of learning in any technical field.
He's referring to the newly-created "computer science" degrees. The thought must be: why create a degree for a subfield of my field?
I agree. A small change to show something peeking from the bottom to indicate there's more would go a long way. I liked Windows Phone's way of having stuff from the next "page" peek from the side/bottom to hint that there's more to scroll to.
Maybe because the current societal environment is one where AI is maligned and prejudiced against as "creepy".
That was when computer science emerged as an academic discipline distinct from the design and implementation of computers themselves; up to that point, an electrical engineer probably had the confidence that they were at the forefront of technological change.
> Cryptocurrency is slower than card networks. It's more expensive than practically any other way of sending money. And as far as scale goes, it would need to become orders of magnitude more efficient to handle even a small percentage of consumer transactions.

Cryptocurrency with a centralized authority is not subject to these issues. After all, if there is a trusted authority then what you really have is a database with some API layered on top. You don't need miners, you don't need a blockchain, etc. It's no more difficult to scale a currency like this than it is for Visa. Canada was looking at exactly this idea about 5 years ago, with the MintChip project.

http://business.financialpost.com/news/fp-street/canadian-mi...

Think of this as a bank account that you can interact with in a programmatic/scriptable fashion using a private key. Which is really a lot of what people find desirable about cryptocurrency.

The deflationary monetary policy ponzi-schemes, the waste of energy and data, etc can all go. And in turn, the government gets to eventually eliminate the cash economy and make sure that all of that gets taxed (this is the dark side of cryptocurrency - since everyone gets to see all transactions, it's quite easy to trace the flows of money, and it's only anonymous until you try to do something outside the network, like cash out or exchange it for real-world goods).
> They do want their users to use one of Common Lisp's least safe features pervasively

It's not an unsafe Common Lisp feature. The standard does say nothing about its unsafeness. Only implementations may be unsafe. The Common Lisp standard says nothing how the implementation deal with type declarations.

There is a wide range of behavior in Common Lisp implementations dealing with type declarations. Some will do nothing with type declarations - thus its not more or less safe if one define types.

Some will add more runtime checks when types are declare. Thus the code is MORE safe at runtime.

Some compilers may add less runtime checks and will create specialized code -> less safe.

SBCL provides several ways to deal with that depending on compiler settings.

That SBCL advanced features are a disadvantage is nonsense.
Here's a thought experiment. Satoshi (who we'll pretend is Hal Finney) owns 10% of Bitcoin, we assume he's lost the keys. Bitcoin becomes a global, and universal currency as we slowly colonize the entire galaxy. Satoshi has been unfrozen from his cryogenic sleep, and remembers his keys. Satoshi now owns 10% of the entire economy of the galaxy.

Seems ridiculous right? Satoshi contributed nothing for hundreds or thousands of years yet still owns the same fixed portion of the total economy.
No, that would be a logistical nightmare, and the amount of waste and complexity added would just bog down the whole thing and profits would fall.

If you have 100 acres of land to farm, it does not get cheaper or easier to manage by buying 10 sets of tractors, 10 sets of farm hands, 10 grain silos, 10 of everything... you don't need all those things, and they all have implied costs which will all eat away at your profit by the time the grain gets to market.
Supporting React Native at Pinterest
I don't have a problem with ISPs. They are doing what is legal, and it makes logical sense. Spend $xx on lobbying save $xxx.

The problem is much bigger than ISPs in my opinion. There is anti-intellectual movement in the US right now. Uneducated population does not understand the difference between a fact and an opinion.

The government should be hiring educated people, some professors for example that understand subjects related to laws. There should be 0 trust in lobbyist.
The guarantee of `impl Trait` is that if I want to call a trait method on the returned object, e.g. for iterators if I want to call `foo(0).next()`, then the function pointer will always be in the same place on the object in memory (static dispatch).

By contrast, if I returned a boxed trait, then calling the trait method requires a dynamic lookup to find the method on the boxed object, and then jumping to that function (dynamic dispatch). In this example, `iter.map(..)` and `iter.filter(..)` return two different implementations of the Iterator trait, so dynamic dispatch is required.

In general, if your function returns multiple possible implementations of a given trait, then the compiler cannot know where the trait methods will be statically, so it is impossible to do static dispatch. Since impl Trait wants to guarantee static dispatch, it requires that only one possible implementation of the trait be returned.
You're painting as if the only risk was them going away, but there are other risks with being tied to a single provider - like getting huge price increases: https://news.ycombinator.com/item?id=2533416

Meanwhile, the original post you replied to did not say to completely avoid AWS, only to use "standard EC2/S3 services" rather than provider-specific ones. It may not be the middle point you prefer, but it's hardly an extremist position worthy of ridicule.
I'm sorry, but we can't have a productive discussion if you're simply going to mischaracterize what I've said and make false assertions as to what my own beliefs are.

I've been cordial to this point, but if cordiality isn't there on both sides, there's no point.
Every major ad-blocking browser extension blocks based on URL patterns and CSS selectors. Requests that match URL patterns on the blacklist are dropped, which is at least as fast and saves at least as much bandwidth as blocking at the DNS level. More, really, since URL patterns can block individual paths under a domain, blocking ad scripts hosted on the same domain as content you want to load.
Here's a fantastic article that covers the absurdity of the "Intellectual Dark Web". I highly recommend anybody that's interested in this topic to read it.

https://www.currentaffairs.org/2018/05/pretty-loud-for-being...
that's one good thing about opensource software that is not sponsored by corporations, they don't need to waste money just because they have a bunch of engineers on their payrolls
I don't understand why anyone would start a company if they don't believe it will last at least 10 years. You should always be thinking about vendor lock in. And in the first 5 to 10 years you don't need AWS complexity. Keep your options open because in 5 to 10 years the landscape will be totally different.
I love the ethics requirements. My current uni doesn't have this and I'm so glad I took it at the college I attended as an underclassmen. The different ethical theories apply so well to a lot of work being done in computer science.
All you need is a VPN (such as OpenVPN) or SNT (such as ZeroTier) to your home router with your Pi-Hole. Which is conceivable on mobile, though it does cost some power (but you also don't see/load the ads saving bandwidth and CPU cycles). A Pi-Hole on a Raspberry Pi doesn't cost much electricity-wise; it does cost something for the hardware but you can use the RPi for more that just Pi-Hole. An alternative is Ublock Origin which works in Firefox and Chrome (even Firefox Mobile) but it isn't OS-wide.
btw, they also have a really nice Styleguide - http://sg.compile.com/

My co-founder worked with Compile way back in 2014 or so. I like his work.
I took Modern Regression at CMU for my Statistics minor: yes, it's rigorous, with an emphasis on linear regression (and the necessity for proper p-value handling), with plenty of matrix algebra and statistical theory.
There's little 'fun' about that 'fact', especially for some of us folks in more rural areas... :/
CMU stats courses are stellar - especially this one, which was written by Cosma Shalizi, I believe
Like many tech executives, Ev's view is that it's up to users to demand more from social media algorithms and tech products:

> But he is not convinced that the problems with social platforms can ever be fully solved, nor does he believe it's entirely incumbent upon tech companies to solve them. ... [It] will be up to users to choose, and stick to, their own information diets.

This echoes FB's VP of Ads, Rob Goldman, who blamed lack of media literacy and Benedict Evans at a16z, who argued that engagement must be king at FB.* To me, this feels remarkably self serving.

Regardless, I made an engineer media literacy guide to encourage a shift in user behavior, and contributions are welcome:

https://github.com/nemild/hack-an-engineer

-------------------------------------------------

* https://twitter.com/robjective/status/964680128092504065

* https://www.nemil.com/s/benedict-evans.html (my response to Benedict Evan's post)
You live in a bubble, your argument is not valid for millions of people that don’t have bank accounts, have you seen western union fees? Africa and Latin America will embrace cryptocurrencies because it will be faster and cheaper and will not require people to open a bank account, only a cell phone with data which most people already have
"Speaking of print, you can pre-order a dead tree version of the book from NoStarch Press. The contents are identical, but you get a nice physical book to put on a shelf, or a beautifully typeset PDF. Proceeds are going to charity."

Which charity/charities?
To add to your comments:

1) Mining is still possible with individual GPUs for certain cryptocurrencies (e.g. Ethereum), although you probably aren't making more than 50 cents per days.

2) Decentralized exchanges will let you convert any cryptocurrency to another (e.g. mined Ethereum to privacy centric coins and back again).

3) In addition to mining, earning crypto for work, and receiving crypto for payments, you can still buy crypto locally for cash.
I think because returning two different types requires dynamic dispatch when using the returned objects, which requires Box; if the function only returns one type then that type can be determined at runtime and further function calls can be implemented with static dispatch instead.
I don't particularly want to either. But then I don't want to subject my local hairdresser to Google's assistant either. I'd rather just restrict myself to the ones that provide a website.
You had a whole class dedicated to UML Modeling? That makes me laugh, I know it gets very complicated in high level java applications, but man that feels like a waste of time.
This seems like a publicity stunt. It sounds like a CS degree where the electives are predetermined. Why couldn't they just make this a concentration when it's so intimately intertwined with CS.

The extra overhead graduates will have to deal with doesn't seem worth it.

"AI majors will receive the same solid grounding in computer science and math courses as other computer science students. In addition, they will have additional course work in AI-related subjects such as statistics and probability, computational modeling, machine learning, and symbolic computation."

They even say "other computer science students".
The mismatch isn’t about the associated type, it’s about the actual, underlying type. One is a Map and one is a Filter. It’s not possible to determine which is returned, so you inherently need dynamic dispatch.

There is some discussion about it possibly being sugar for an anonymous enum in the future, but that’s not what it is right now.
I think he's referencing the beginning of "Computer Science" degrees. Computers were researched by electrical engineers and mathematicians before.
The money has got to come from somewhere. If you want the municipality to run an ISP, then you either have to tax the citizens for the services or take funds from somewhere else. Either way, can we be sure that good intentions from democratically elected local politicians will be enough to somehow make Internet service cheaper than what the private sector is able to provide?
It's not currently 'unregulated.' Consumers are being regulated by ISPs, who are driven by profits and literally nothing else.
Whether those things are true or not, I'm always wary when employers or managers or things from their perspective use words like "outspoken", "pampered", "self-centered". If you subject your other employees to ridiculous nonsense overtime, poor direction, and expect them to make up for it with extra unpaid hours and killing themselves but I think that I could easily get another job and have a huge nest egg because I live with my parents, I can refuse to "play ball". But I'm not really sure that's me being self-centered versus market forces acting normally. It reminds me of the "nice guy" phenomenon where stereotypically unkempt, rude, socially inept men berate women for not wanting to date them and then accuse them of being rude or stuck-up for not accepting their advances. It's not rude and I don't really view myself as self-centered, I just don't think that you're offering anything that I need from you, and it's really self-centered for you to expect me to randomly go against my own interests for your sake in a business setting.
Laws of Thermodynamics [pdf]
>As a co-founder of Blogger and Twitter and, more recently, as the chief executive of the digital publishing platform Medium, Mr. Williams transformed the way millions of people publish and consume information online.

>But as his empire grew, he started to get a gnawing feeling that something wasn’t right. High-quality publishers were losing out to sketchy clickbait factories.

How anyone can write these three sentences in that order without their head exploding from irony is beyond me. Medium is just Upworthy with a shave and a breath mint.
How we used GitLab CI to build GitLab faster
That's basically how the market works, but how much that happens depends on the extent to which universities are actually willing to pay more for things they think/say they don't have enough of.
This functionality is orthogonal to the API.

If say my Gmail is configured to trust my awesome Darth Vader bobble head authenticator, the tiny one I keep on my keychain and one that's in my locked desk drawer with my cyanide pills and then I lose my keys somehow, I go home, use the Darth Vader to sign in, click for the account credentials page, pick the keychain one and pick remove. I can add another one when I buy it, using the ordinary enrollment step.

No new API needed or desired.

The trick to U2F and this whole family of technologies is that the devices are really dumb, your authenticator doesn't remember "I'm allowed to authenticate to Google, I picked this key" it just turns google.com into a number and uses that with some crypto arithmetic. If you never actually enrolled with Google, the results are worthless but it has no idea. If I try to sign into Mike's account with Sarah's authenticator, it doesn't work but there's no clue why. The authenticator doesn't even know it's Sarah's.
The supposed "deregulation" of the ISP market by the FCC is merely picking the members of the current telecom oligopoly as winners. Killing net neutrality isn't about choice, it's about enriching telecoms because they have bought our government.

Thanks, Citizens United, for making corporate speech so much more powerful than individual speech!
This link might work slightly better for some people:
https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.jwz.org%2Fd...