skysight-inc/HackerNews huggingface dataset:
The statements of candidate Trump suggested a system far broader in scope than NSEERS to cover US citizens. The Kobach plan to reinstate NSEERS (it was halted in 2011) would presumably involve more invasive point of entry procedures for more countries.

Whichever way it is, the real time to stop NSEERS was when it started in 2002. Since that didn't happen, it didn't stop until 2011. So yes, it is a good time to complain about religious profiling when a new administration is planning to institute it.
fn main() {
let a = "Hello,";
let b = " world.";

let c = a + b;

println!("{}", c);
}

And the result is:

rustc 1.15.0-beta.3 (a035041ba 2017-01-07)

error[E0369]: binary operation `+` cannot be applied to type `&str`
|
5 | let c = a + b; // this is the only part that concats, really.
| ^
|
note: an implementation of `std::ops::Add` might be missing for `&str`
|
5 | let c = a + b; // this is the only part that concats, really.
| ^
timeout triggered!

What?

PS. looks like hacker news can't handle rustc error format, a pity...
Honesty.
The main problem i have with rust is that there is no real book for beginners. Sure thing there is the RustBook and RustByExample. But i need something to guide me. I dont want to slap things together. I want to learn how to do it right. All Rust recourses i found only told me how to do XXX in Rust. Nothing along the lines of: This is could be a real world example for YYY. In examples, you will always only find excessive .unwrap() use and functions which dont borrow anything.

Had the same feeling with go. Looking into big projects like syncthing helped a bit. But first i have to get a better hang of the language. Books like "Atomic in Scala" or "Clojure for the Brave" are taking your hand and guiding you through the Language. Even when taking a peak into books like "21st century C" i learned more, then when i simply force myself through go's "Gopl" or Rust's Book. I know i am probably not the right target group. But i really want to learn one of those languages in my free time, and i had a really hard time to do so.

After understanding go better, i still want to switch to rust. The build system with cargo pleases me and looks somehow cleaner as in go. I just create a project with 'cargo new XXX --bin' and start coding and building some kind of lib in my project. No problem. I go there are 100 different ways to start a project, and most time you will only find people complaining about vendoring etc.
More of a comment on Firebase -- as someone who was using them pre and post merge -- a whole bunch of small things are notably worse.

They said "great adoption" but it was actually forced (my previous company held on as long to the old Firebase as we could), from things to poor naming specs on export, base URL structures changing, the live-view able to handle less data points and a number of other small things, it was a bit of a let down.

Hoping this goes better.
>Even if you get legal rights from each one of the current owners, it still deprives the unborn children of their rights.

Would you mind expanding on this a bit, I'm having trouble understanding what you mean? Does this only hold true for land or other types of private property as well?

With regards to land ownership, was it really solely based on trust, or servitude and force? I'm no expert on traditional Hawaiian land ownership but didn't all the land essentially belong to the King/Chiefs who then allowed others to use the land in exchange for payment or loyalty?

Also, how would you propose land ownership disputes be settled among indigenous communities who went to war with other indigenous communities? Didn't the unification of Hawaii by Kamehameha I involve forced annexation of other islands? Who does the conquered land rightfully belong to, the ancestors of the winning Hawaiian tribes or the non existent ancestors of those Hawaiians who were killed fighting unification?
> Go has the same distinction (stack vs heap)

No, Go does not have that distinction. This is even in the Go FAQ: https://golang.org/doc/faq#stack_or_heap
If you think that's all reddit is (text link, with up and down), you have to go use it a little bit. Subreddits, comments, self-hosted images, etc disagree.
No one will give the amount of invasive data needed to verify a model. So we will never know which model works.
Even though most people in the US don't understand why, Putin is really liked in Russia.

I guess those same people will have a lesson on what it's like to have a leader most of the world doesn't like/respect/understand :)
> Which kneecap do you want the bullet in?

Funniest thing I've heard all day!
I watched the video. I still don't get it. Why would I want one app and company to own all of that? I don't even want one phone manufacturer/platform to own my messaging - I much prefer platform-agnostic Whatsapp over iPhone-only iMessage.

Already the smartphone platform I use can do all of social networking, mobile payments, food, ticket sales, ride-hailing, bill payments, etc on ONE device. I just don't see what there is to be gained by pulling all this down into one app? Switching between apps via APIs is already automatic and rather fast, and will only get better over time. The NYT video makes a lot of mention of "you haven't left the app". Why do I care? As long as I haven't left my phone why do I care what app I'm in?

Having APIs for apps on a device to talk to each other allows for competition and variety - won't it obviously win out?
Okay, thank you.
Some rules are extremely hard to encode as types or the result is extremely awkward.
Or worse, performance suffers due to encoding.

If it feels like translating into a foreign language, then it likely is that exotic or you are using a wrong language.
Use React Native which will help you to make for both platforms faster, here is a good tutorial to start with: https://reactjs.co/react-native-convention/
The misguided desire of wanting our kids to be happy
Very inspiring to learn about US Digital Service. I wished somehow Germany would have something similar.
His point is that if the voters don't have any knowledge about how government works, they can't evaluate (or check) politicians' explanations for the reasons that they did or did not get what they wanted. And the effect of this ignorance is that there's no reason for politicians to be accountable to voters or voters' interests.

With first-past-the-post and no critical thinking in the electorate, "it's the other guys' faults" is an adequate explanation. Unsurprisingly, 98% of Congressional incumbents continue to get re-elected while Congress as a whole has an approval rating in the low teens.
You misspelled "the taxpayers". Student loans are almost exclusively federal affairs these days.

As this WSJ piece from December on the matter of the GAO estimating $108 billion in writedowns (probably a low figure, as they admit their accounting on the matter is crap) puts it:

"To help pay for ObamaCare, Democrats simultaneously federalized the student loan market and projected fictitious savings, all while adding more than $1.2 trillion to the federal balance sheet... then cited the government “savings” to peddle the fallacy that the feds make money off student loans—a pretext they then used to sweeten debt forgiveness plans that have helped keep default rates artificially low."

http://www.wsj.com/articles/obamas-giant-student-loan-con-14...
What are the chances that they'll standardise on the Three Seashells system?
> if not this person, someone
> else will

Tell that to the person booking performers for the inauguration
I've read so many (anecdotal) stories about standing desks doing a number on knees and ankles that I think I'd rather go in a tanning bed than get one.
Man with No Head
And you got the second hand smoke for free, double cheating!
Robot Car Transporter Truck
The military is getting a few more recruits than they need, so they are turning a few away. Discouraging enlistment would therefore not change the troop size until you get to a certain number.

Until then, you'd be tightening the freedom of the military to turn people away, which means lowered standards. There is a case to be made that you want the best possible people to join the military. Because you need a certain level of intelligence and moral integrity to, for example, refuse unlawful orders.

In fact, that mechanism used to be the top argument for the draft in my country (Germany). "Pacifists make the best soldiers" so-to-speak (although pacifists were in reality exempt from service).
On the majority, if not all of Japanese toilets I remember using, the actual flush was just a normal flush. The buttons were just for the various washlets mounted in the toilet seat, and could be safely ignored.

Obviously you have more experience than my one holiday, but it seems surprising that I wouldn't have encountered this problem if it's widespread?
Packet Loss Application Developers Part-I
1. Requirement. Try to give clear requirement since changing requirement leads to frustration. In real world, requirement keeps changing. Try to explain the change and reasons behind it and it will help developer understand the big picture.

2. Verify Implementation. Test code and help developer to find bugs as soon as possible. If there is any issue, you want to find it earlier. This is good for your teammate and yourself.

3. Try not to micromanage. Open to new solutions and leave details to developers as long as the deliverable meets requirements.

4. Try to have less meeting.
I completely gave up on Slack's desktop app and just use a browser. On the Mac, wrapping three teams in a Fluid custom browser saves me nearly a gigabyte of RAM...
It's not true that Go requires import "fmt" to print something.
He claims he is pro-privacy, and that if people get into problems by sharing too much on social sites, it's their fault. He himself is not sharing too much.
I found the study very shallow and superficial. For example, who cares how many people have starred a project on github? And why should I care how many lines "hello world" is in a language [1]?

I would rather see a discussion about performance, platform support, maintainability, governance and do on.

---

[1] someone please create a new programming language where the empty file means "print hello world". Since you can't do any better than that it would once and for all put an end to this stupid benchmark.
Big data and HR industry
What you're getting in LA is tent cities of young people who can't live at home with their parents. You have an entire generaton of working young people who can't afford rent. Its producing a mean society, anarchy is more the outcome than class war, the war of off against all and the growth of a feral meaness in society.
I think he meant the following.

Suppose that for University X, the minimal SAT requirement for white applicants was 700/700, and for black applicants was 400/400.

Suppose that the SAT scores of all white students at X are uniformly distributed over (700-800/700-800), and those of the black students are uniformly distributed over (400-800/400-800).

Now randomly pick one white student, and one black student.

Which of them is likely to have the higher SAT score?

And which do you want performing heart surgery on your child?
> > It's much easier and safer to declare your constraints rather than trying to enforce them.

> Furthermore I am not sure how this relates to FP.

I'm saying that FP is great for ensuring correctness.

> But that is a strong point of RDBMs implementing SQL.

Right. And if I didn't have other functional languages available that might be a bigger issue.
..but but without frequent wars how are we going to run a welfare state for big corporations that produces artifacts with no natural demand. How are we supposed to channel tax payer's money to them so that they can share some of them back by employing people
It will be a shame if that's the case.
> While for some (honestly very small) subset of problems they are still too large most people will never need to worry about them.

This is also true about OS threads!
I wonder what the National Raisin Reserve would have said about that..
I need to write C++ every now and then and I don't dislike the modern C++ itself, but the tooling is a bit rough to use.

Getting dependencies from the system is a big PITA and the build tools, as in cmake, seem to require as much knowledge as the language itself.

Having a C++17 with a tool like Cargo building static binaries and just the right versions of the libraries would make my life with the language much easier.
According to the dashboards everything is ok:

https://www.google.com/appsstatus#hl=en&v=status

https://status.cloud.google.com/
I've seen them at Google.

The base model Washlet is about $400 in the US.[1] You must have a 120V GFCI-equipped outlet within 3 feet of the unit.

[1] https://washlet.totousa.com/product/a100
The idea that rich people got rich because they screwed other people over is quite common but also a made up generalization. It's an excuse that people who worry about their own socioeconomic status make to feel better about themselves. "I'm poor but at least I'm not evil like those rich people.". Instead of searching for reasons why rich people are evil, why not just be happy with your own life? You don't need to be rich. Stop worrying about status and get on with whatever you enjoy.
> The buttons were just for the various washlets mounted in the toilet seat, and could be safely ignored.

Unless they were shared toilets and some asshole had cranked the seat heat all the way up, hot enough that it felt scalding.
> If you add a new type to a sum type in a statically typed language, that's a breaking change for all downstream consumers.

Yes, but that's true regardless of whether the compiler tells you or not. The question is whether adding the value to the set of types that can be returned breaks at compile time or at run time.
Jack Ma is very protective like China, if Americans / rest of the world was like that, chances were unlikely that China could grew so much.

Also, by any measures, China is cheating right now and trying to minimize the capital bubble risk created by the government ( loans that are not payed back with worthless warranties eg. Failed buildings, subsidized shipping, manipulated / protected stocks,... ). Let's see what the future brings.

PS. If downvoted, please explain why and if you have ever travelled to China :)
MIT 6.S094: Introduction to Deep Learning and Self-Driving Cars [YouTube]
Hmm... Actually, it might... Good point!
I have a note about that:

> Note that Go does support a ‘println’ function that does not require import- ing from the standard library; however, this function reports to ‘stderr’, rather than ‘stdout’, and is not guaranteed to stay in the language 19.
This doesn't surprise me at all. I'm not in the US, but the picture I get from abroad is that Americans are pushed to go to college, without really making sure that this is actually what they want to do or is in their best interests. And once they get to school, many will party and play video games instead of studying, ending up either dropping out or with a low GPA and a general degree of no real use. Neither of these is going to help the college-goer get a job that helps them repay their debts.

I remember reading shortly after the start of the Great Recession how student debt was going to be the next big ball to drop. I wonder how far we are from that.
> I almost wish the default was a higher level language with lots of heap allocation etc, and you explicitly declare when you don't want that (c.f C# unsafe/stackalloc and similar)

I don't know if that's really possible. Aliasable mutation just doesn't play well with the kind of memory model that Rust has. If you introduce unrestricted aliasing and mutation like most other languages, then you're going to get a flood of confusing borrow checking errors.
flush is the leftmost button on top of the remote, to the right side of it is also flush, if you only need small amount of water. To the right of that "little" flush, is even more "eco" flush.. This is why they need standardization.
|Get the Most Out of Any Insurance Plan
We Finally Know What’s Causing Namibia's Mysterious Fairy Circles
Yeah that's what I recall aas well, even think I saw it here on HN. Consensus was along the lines of 'an hour of exercise every night cannot cancel out the damage done by sitting down continuously for 8 hours' and the remedy 'interrupt sitting evrey hour or so, e.g. by a breif walk'.
microsoft has a large office in india and many transfer over to US offices
Tesla Owner Stranded in Desert, and Not for Lack of Charge
Indeed, it's a mentality I don't share, but I understand the attraction of a gentle on-ramp. Of course, a bit of time spent understanding why Rust made different decisions might have been illuminating.
Mediterranean plants can ease off the neurodegenerative disorders –says science
Bub? C'mon now. No need for that.
Ethanol credits, duh.
Building it in MongoDB would probably give plausible deniability.
> And that for me that is the way I want to do concurrency and parallelism for pretty much everything I'll ever write.

1. You can get exactly this with concurrency by spawning one thread per request. The only difference between Go and the pthread model is that Go has a userland scheduler.

2. If I tried to do my parallelism work using this model, the amount of multicore speedup I would get would be zero (actually, it would be negative). Sometimes you're compiling multiple .o files--you get lucky and the overhead of spawning a thread per work item is not restrictive. Sometimes you're shading individual pixels--spawn a goroutine per pixel and you're going to be laughably slow.
> so you'd need some serious behavior profiling for that

Name and country of origin goes a long way towards determining it

Of course it's not 100% correct, but should be enough to give a pointer
Did the rewrite coincide with the re-skinning of the UI? Because any gains in performance are imperceptible, as the UI now hides all content until the browser has completely finished fetching. So even if it is 'faster' the UX is actually 'slower'.

I
Think back fifteen years and think about how you used to charge your phone. The mobile phone industry standardized on using USB for charging, mostly because the EU mandated one standard for charging.

And the USB port actually has been standardized with USB-C. Problem with USB-C nowadays is that the connector is not tied to the functionality. Sometimes you get high throughput, thunderbolt, or a high charging port, sometimes you don't.
If I still would be using fabric for deployment I would be concerned.
Its a work in progress, but available bits were helpful.

http://aturon.github.io/
Right, they're not using shared memory for interprocess communication. The article used the term "shared memory", but they just mean read-only sharing.
I am with you. The attention economy has all kinds of unintended side effects that don't seem to have any great solutions.

And its not just advertising most entertainment/propaganda/marketing is designed to just get an instant reaction. No contemplation necessary. Kind of like porn.

And if we have to be honest hacker news is very similar. Nobody needs this much news.
I'm from Denmark (Europe). Looked into it recently. They are extremely expensive. You are easily looking at 2000 USD for a cheap setup. I saw a couple of premium ones for around 14k USD.
At this point, I think the problem is that here is not a big enough market to warrant investment. A Catch 22 until some big company decides to enter the market and others follow.
Done well, unit tests are invaluable. I'm a relative late-comer to unit testing, but can attest to its value.

The discipline of unit testing forces me to think about what risks I'm introducing with my new code.

Unit tests drive better design - smaller classes, looser coupling, better separation of concerns, functions that don't have side effects.

Best of all, unit tests reduce regressions. I can't count the times my test suite has prevented me from introducing a bug in my app.

I can refactor code with much more confidence than if I did not have 400 unit tests checking my work.

Most recently, these tests proved their worth when upgrading my app to Swift 3.0.
> Go makes the stack/heap decision at compile time as well.

No, it doesn't! This is even in the FAQ: https://golang.org/doc/faq#stack_or_heap
communication skills and personality can be really integral to the hiring process. many would rather have a good communicator than a slightly better engineer. your way removes this.
For errors with stacks in golang today, you could try the Meep [1] library.

It's a library for More Expressive Error Patterns. You can declare error types like this:

type ErrFrobnozMalformed struct {
Frob *Frobnoz
meep.TraitTraceable
}

... and any type you compose with a meep trait like that gets superpowers, like automatically attached stacks.

I'm the author. I don't think it's perfect -- in particular you really can't avoid a certain amount of boilerplate :( -- but with meep you get stacks, and you get custom error types, and that's worth a lot to me.

Whether or not you use this code, the idea that might be a useful takeaway is the fact that the stack-capturing behaviors (and others) are a trait that you can "mix in". Whether a stack is appropriate depends on situation. Some errors are fairly regular (e.g. certain kinds of IO halt) and putting a stack on them is not useful (and is CPU-costly). This doesn't necessarily follow any sort of direct inheritance tree. (Java has started doing something similar with adding Even More parameters to exception constructor for e.g. 'capturestack=false'.) I think this is an important point: errors often should have stacks, but not always.

I'm still hugely looking forward to seeing what the Go authors do in the future to make errors smarter. Doing the right thing should be easy, and it's almost impossible to strap something this essential on with a library: special syntax and compiler support for informative errors is warranted.

---

[1]: https://godoc.org/github.com/polydawn/meep
The declining authority of statistics and the experts who analyse them
Testing in JavaScript and in Python (rant)
"A spokeswoman for the Education Department said that the problem resulted from a technical programming error."

I would love to get the story behind this. The cynic in me wants to say it was an Excel screw-up.
> Which is about one-half of Walmart's employee base,

This doesn't take away the fact that there is interest in having these companies operating in the future.

> but the USA doesn't base its foreign policy on the whims of the Walton family.

If by "the USA" you mean the government, yes you are right, because it doesn't have to. Companies as big as Walmart, Lockheed Martin, McDonald's are fully capable of influencing the 'outside world' by their own means.
Right, because it's better to be paid $X/year and have 0 stock options than it is to be paid $X/year and have Y stock options, and no sane person would prefer the latter or negotiate for a Y large enough to be worth something even if the startup doesn't "make it" but is sold for 5x less than they tell you the IPO is going to be. And a company that has already got $200M invested into it is just as likely to fail to grow in value as a 1-person startup operating from a dorm room - it's always a 1 in a million lottery ticket. Only after IPO do RSUs suddenly gain value from 0 to something.
Marine Le Pens demands == advanced plans ?
Nice moving the goal posts there, this is what I was replying to

"Women will never be asking for equal "opportunity" working jobs in the north sea on offshore oil rigs."

QED

I will not be engaging you further.
Go's interfaces are pure subclassing for the purposes of the expression problem.
It may very well be out of your hands. I wasn't able to convince my coworkers to use Kotlin for an android app, even though at the end of the day I was the only one coding it. And Kotlin takes a few hours to pick up if you know Java.
I suspect it may just 'feel' slow, because it hides all the content from you until the fetch requests finish.