skysight-inc/HackerNews huggingface dataset:
Not sure where you get a pure hydrogen source on this planet without using some energy. I'd like to own such a source. Sort of like owning an oil well.
I'll second LO2. I use it to keep notes of what I do every day.
In the past six months I've seen an uptick in the number of politically motivated software projects appearing on SocialCoder.org

Examples;

- CollAction [http://socialcoder.org/9dy]

- Fight Back Wisely [http://socialcoder.org/80s]

- Carpool Vote [http://socialcoder.org/8qv]
They do an ok job of going on and explaining the limits of a PRNG. They're trying to target this to the broader market...
I'm at work, and it's blocking "casino" sites but google this [1] for a start:

"Roulette - Biased Wheels and Wheelhead Speed - Casino News Daily"

I read the cached version, its an advisory for casinos about how to look out for biased wheels. I'll look again tonight when I get home.
UML as a specification language is the right tool in software architecture. I find it to be very flexible tool, helping software projects or process models. However _Enterprise_ architecture need to work with the "Business" (consider COSO, COBIT, ITIL, and why they emerged when UML foundations were already so strong).
Total BS. I have seen this first hand both as a hiring manager and as an applicant. I have been rejected from jobs based on totally insane interview questions that have nothing to do with the job. In one case I interviewed at 2 competitors. One gave me nothing but trick whiteboard questions, the other emphasized my experience and gave me a real world interview. I was rejected by the whiteboard company and hired by the competitor. My first day on the job I sat down and commited code that ended up in production the very next day and did that for many years afterwords.

I have also hired people that had to pass insane interviews due to the company culture and watched them fail at being a developer. I know many good devs that cannot pass these interviews that would run circles around these super whiteboard problem solvers.
I don't think your interpretation of the_mitsuhiko's words does reflect what was meant. Because if it was, the comment of the_mitsuhiko as a whole wouldn't make sense.

This is an interesting example for the difference between "reading by the word" and "reading by the meaning" (there's not a good English word for this, but in Germany we call this "sinnentnehmendes Lesen".)
There are no later editions other than the 2nd, from 1988. Draw your own conclusions...

(I'm very fond of the book as a historical artifact, btw)
Do you think there will ever be a standalone package that has all the blessed crates? Getting approval to use boost at work was hard enough. Getting them to approve any random 3rd tier dependency I might unintentionally pull down from crates is not even worth asking.
> The tech gains are mostly in areas which don't benefit consumers beyond fancier phones and bigger TV screens.

Mobile payments, video calls, mp3s, social networks, wikipedia, google, driving directions with live traffic updates, Coursera, YouTube, Uber, Upwork.

These are not trivial changes. Coursera, for example, was a life-changer for me as it allowed me to switch careers long after college.

Inequality and inefficient healthcare are big issues, sure, but I wouldn't trivialize the benefits of technology because of that.
> Specially since many don't even bother to write type safe C++ wrappers and call C APIs directly.

Even though it's controversial, I think this is why it's a good thing Rust can't #include a C header directly (requiring bindgen to make a crate). The community has put work into making safe abstractions over the raw C.
No, if you multiply by colors it gets much worse. 100's of thousands of possibilities...

Of course not all parts exist in all colors so that helps (a bit), but it is quite an interesting problem to work on. Every assumption you make will be challenged.

Prints and stickers are counted separately but that's not a really huge number and they should be correctly identified (so the surface decoration matters as well in the classification).
I would argue that burning a voodoo doll should at least count for intent to harm.

Lets say I am completely mistaken about how chemistry works and I think that adding salt to wine will somehow make it a deadly cocktail. With intent to kill you I make such a concoction and serve it to you.

In that case I should still be able to be punished under the law.
I agree with your general point here.

> There is no honest company which pays a fair salary for H1Bs.

..

> I have a huge circle of friends in many companies. We discuss our salaries and issues openly. Not one of them says that they are paid equal to their American colleagues.

I am not your friend, just a random person on internet. But I am on H-1B, and if this offers any solace, I know that I am paid par with my American colleagues. My boss is on H-1B; both he and I have American and H-1B employees reporting to us.
in fact it made it worse.

the germans attacked the serbs because they were so integrated into the empire that a few of them were very rich. war meant leaving bank accounts and those business spots open for the taking.

and later on, Japan attacked the US because it was afraid its only source of oil would block them out.
> Perhaps not quite as safe, but at least that they deliver the important parts of that safety without the cost of the learning curve.

Sorry to say this but a lot of unsafe code has been written in Java or C#, putting aside the NPEs and such. In Rust safety isn't only about eliminating SEGFAULTs and buffer overflows, but also preventing data races and most concurrency issues. It's common to add threading to cpu-bound code, without worrying about deadlocks or race conditions.

Rust also allows some very high-level code. Some of my favorite options out there:

- option (std): https://doc.rust-lang.org/std/option/index.html

- serde: https://github.com/serde-rs/serde

- docopt: https://github.com/docopt/docopt.rs

Some more features: generics (traits!), immutability by default, type inference, first-class functions, operator overloading, conversion between related types.
The "Shortage of Engineers" myth that just won't die. If you're going to claim there's a shortage of a good, you need to mention the price you're willing to pay. I want a new BMW for $10K, but can't find one. Therefore there's a shortage of BMWs.
Sounds similar to a traditional Inuit diet (from my very limited understanding). They don't have any of the problems OP mentioned.
No. This is NOT how it works. China exports its domestic demand to the US, the US absorbs Chinese overcapacity. This initially began as China importing inefficient US industrial production in the 70s-90s, in exchange for US expectation of access to an enormous Chinese market. That trade never really occurred as the short terms incentives weren't present, resulting in Chinese inefficiencies and massive imbalances for both sides.

Read this:

http://carnegieendowment.org/chinafinancialmarkets/66485
>He's not making a threat of any kind, he's making an empirical observation that countries that trade with each other tend to go to war less.

That's more wishful thinking though. Many touted the same thing in early 20th century: that the increased trade between European powers, economic interdependence, etc. will mean the end of war.

Then WWI and WWII came along.

Trade is itself a kind of soft war (for resources, for markets, etc) and can easily be extended to full war when those are not ample enough.
The rules have been changed, if youre not aware.
Lot of my friends have moved between jobs on H1B.
There's no uncertainty there. Moving after approved i140 prevents the greencard process from resetting.

I work in autosector and my salary is definitely equal or higher than my coworkers.

edit: i am on H1B
Change to roulette, chaos theory, and physicists -- using 8bit hardware in shoes -- and you get the fascinating book "The Eudaemonic Pie" by Thomas Bass. Highly recommended.
In case it isn't clear: yes the female pill causes depression. It may, also, like the recent male pill, cause suicidal thoughts. However the female pill categorically does not prevent coitus, whereas not having an erection does.
I could see it being overturned. We used to believe in the old food pyramid which has now been revised.

http://blogs-images.forbes.com/michaelpellmanrowland/files/2...
The lawyers may take issue with that one. Anonymous equity seems rather far-fetched.
Well the difference is that the implementation of incremental builds in Rust nightly doesn't handle this case yet AFAIK.
Good for her. It's a shame there are some men (usually men) who are so insecure they think to -- via the anonymity afforded them by the internet -- harass women like this.
Is there any way, as a citizen and consumer, to stop Pai? Or get him fired from FCC? Will writing Congress help?
Everything but fast, unfortunately.
It looks like a palm touch.
I readily admit that what I said was incorrect. Your turn.
It's not just the trendy parts. Eventually even nearby suburbs become very expensive. Yuppies are not moving to KC, they're pushing the poorest city residents further and further away from the city. It's fantasy to think it's the relatively well-off who will have to move, or that the poor people who are being displaced have that much mobility. Just look at all the people trapped in economically depressed rural areas, why don't they all "just move"? Lots of Americans have literally no savings and very little job mobility and moving a long distance is pretty much impossible.
If that's all you ever need to do, then sure. Not everyone has that choice, though.

I've needed to build rich, complex UIs under a deadline, and React has made that way easier and more maintainable than if I'd done it the old way.
Again a few examples that are often used to justify calling 7 million people lazy.
If the visas are being used for for cash register and pumping gas jobs (how many states pump gas for you?) then this might make some sense but these are just isolated events and fit a narrative convenient to corporations to justify many practices that are mainly beneficial to the corporation.
That's the standard book for developing an economy.

The USA did that to Europe, specially to England.
How is the US subsidizing China's policies? US consumers buy lots of Chinese products because they offer cheap prices. Is a trading deficit really that hard to understand?
It's just a rule of thumb as to what long run P/E ratios look like in the equity markets.
> The phrase “virtue signalling” came up a lot, which is the sequel insult to “champagne socialist”; again, it doesn’t have very much meaning, beyond “person X holds views less compromised and more ambitious than mine, ergo, person X is a narcissist who uses other people’s misery as grist to their own self-fashioning.” It was invented by the mild-mannered rightwing polemicist James Bartholomew.

https://www.theguardian.com/commentisfree/2016/apr/10/labour...
How We Improved Node.js Server Response Time by 100 Times
Do you work in/for the Gendarmerie?

I seriously doubt it's like you say. It's probably a lot more like a "custom made distro" that's based on Ubuntu as Linux Mint is based on Ubuntu: all the core stuff exactly the same, and a few things on top different (namely the DE in the case of Mint).
I think the pure Capitalist peace theory is wrong, but with some exertions if fits.

German both in WW1/WW2 had governmental elites in control that were not beholden to the broad capitalist (market). The capitalist (and Im not just talking big industry people) who were standing to lose from war, had no (or not enough) political power.

The question is how reliant are the political elites on the broad bushiness community.

P.S: Yes, Hitler was helped to power by many large Capitalist but after he solidified control he and the political elite were no longer reliant on them.
For reference: in 2016, the Dutch police only investigated 157 cases out of 50,000 cases of internet fraud. So it's not like we don't have any criminals, the police just doesn't do shit about it.
He acknowledged that this may not be spotify's fault. Where the blame lies is completely orthogonal to whether or not it makes him not want to use the service.
Personally, I find it hilarious that people will proclaim copyleft as the "most free", when it not only is more restrictive, but forces people who use it to open source their own contributions as well. I don't think any license should be able to tell people what to do with their own work, which yes, includes contributions to existing work.

Even though I personally believe in open sourcing everything possible, when all else is equal, I would always choose something that isn't copyleft over something that is. Because I shouldn't really have to be bothered by copyright infringement concerns when using open source software.
This implies that the American way of looking at these things is the ONLY right way of looking at things and that Chinese need to accept western companies on western terms.
> [Firearms] may become extremely useful in times of civil unrest

Not really:

* There is always someone with a bigger gun

* There is always someone who wants to steal your gun/ammo

* There is always a bigger gang that wants to steal your gun

If your solution is to join up with others to make your gang the biggest/best armed and enforcing a monopoly on the use of violence, congratulations, you've either reinvented Warlordism, or in the best case, reinvented the idea of a police force, depending on whether or not the head of the gang answers to a civil authority whose legitimacy comes from something other than "might makes right".

All that said, I don't mean that firearms aren't at all useful, just that they aren't more useful than other important tools. You for a group to be able to defend itself you will find that basics like picks, shovels, sledgehammers, crowbars, hammer and nails, axes and hatchets, saws, ladders, wheelbarrows etc. are all at least as useful as a firearm.

Generally speaking, making the other guy waste his ammo can be a winning strategy.
> Japan was worried that the US would cut off all oil exports to Japan, so they attempted to gain control of the pacific in order to solidify access to oil.

Errr, the US did cut off all oil exports to Japan in August 1941. As you say, though, they needed to keep their machine going; the obvious prospect of a US declaration of war in response to their planned (and executed) seizure of oil-producing regions in the South Pacific was the key motivation for the "pre-emptive strike" on Pearl Harbor.
Enumerating Oracle Paths
I don't remember this issue coming up at all during the presidential election. Although, I'd wager even if it had, the outcome of the election would not have been altered in any significant way.
Like a simplified Heroku?
There are studies performed on this stuff by actual economists out there, to save you using self-reporting surveys from online recruitment companies.

http://spectrum.ieee.org/at-work/education/the-stem-crisis-i...

http://www.epi.org/publication/pm195-stem-labor-shortages-mi...

>The average hourly wage for college-educated workers in computer and math occupations rose 5.3 percent over 11 years, from $37.27 in 2000 to $39.24 in 2011 (in 2012 dollars), which translates to an average wage increase of less than half a percent per year. If a labor shortage existed in these occupations, one would expect wages to rise sharply as employers try to lure scarce workers to their firms.
That's why the big threat is teams.

The one actually doing the counting can play haphazardly and consistently lose money but they will covertly signal the partner who comes in with big bets when the situation is advantageous. The big better plays until the count favors the house again and then walks away. The counter keeps at it until the odds are again against the house and then they'll signal the next big better to come in and so on and so on until they win their set amount and move on to the next casino.

It's not illegal. It's not unethical. It's merely unprofitable for the casino and they'll ban you if they figure out that you're doing it.
This is the likely outcome.
Working my way through it now, in my efforts to re-learn C. Besides the treatment of modern standard C, I like that it treats the C development and distribution environment as a first class subject.
Maybe they should rent them out to the UK, we've got loads of spare prisoners.
I think the messaging is like this because folks approach Rust and often try to write Rust code as if it were C. You can do this in C++; you can't do this in Rust.

unsafe is highly discouraged, but designing the innards of abstractions like datastructures is one of the places where you basically need it.

Be aware that good generic datastructures are just as hard in C++. See https://news.ycombinator.com/item?id=13580418 . Naive datastructure implementations often have strict aliasing bugs or mess up on the destruction behavior. Using unsafe to write datastructures in Rust isn't particularly hard; it's just as tricky as it is in C++. Having to use unsafe is annoying, but it's a minor annoyance. The nomicon helps teach how you're supposed to use unsafe.
"..the company can’t prevent the departure of Americans.." this is part of the problem. I have seen people (especially young ones) jumping ships in less than six months from startup to startup in SV because of the competitive market salary. Even though larger companies can take this hit but for a startup of <10 employees this can prove to be very detrimental. I agree that Indian consultancies have been abusing the H1B program for a while now, and even though American companies pay them same or actually more (consultant hourly rates are always on the higher end), these consultancies keep the lion share to themselves and pay minimum to the consultant. The problem is not just with immigrants (both educated from US colleges and brought in by the Indian consultancies) but also nomadic nature of young American tech labor. Should there be some sort of collateral such as one year contract? Probably not a welcoming idea in a free market of USA.
This was actually possible before using origin trials. I've used it and it works quite well. The security implications are more or less non-existent (despite what everyone claims).

The only problem is BLE on Android is still a hilariously buggy mess. Maybe they can rewrite the stack again...
Yup. If we had mature education systems our governments would hire economists to get proper estimates of labour market requirements for different skill sets.
I think an issue lost in the discussion is that citizens are losing jobs because of this. I'm all for the plight of the immigrant, but as an American, my concern is first and foremost with my fellow countrymen.
If a from-scratch refactor is what the TPP needs, then nixing it is the first step...
+1 to the ncdu recommendation. Of all the other tricks I've used to reclaim space, this is the most efficient. Found it when an admin of an HPC system I was using complained about my usage on the site-wide Lustre. Turns out, I had core dumps neatly tucked away in a project dir that I hadn't looked at in 3+ years.
The author is generalizing to when there are more fields here.
Right, just about every sort of engineers except "software engineer" (the way SV throws the title around) has ABET accreditation requirements, the Fundamentals of Engineering exam, the Professional Engineering exam in their field of work, the Engineer in Training work apprenticeship steps, and finally the Professional Engineer certification and the organization involvements and professional learning requirements to keep that certification current.

I've considered trying for a PE certification (now that there finally is a software engineering PE, which was not the case when I graduated) to get the "engineer" back into my title at my current job (which as a broader engineering firm that serves multiple disciplines has an absolute requirement for a PE to claim the title), but getting the certification wouldn't really help me much in the industry anywhere else, so it doesn't seem worth it.
That's a good point.
I think ultimately it would still need to be pipelined as if it were in-band. Perhaps synchronization codes with a timestamp/uuid that corresponds to point-in-time against the data.
It's not obvious at all. Shipping lower skilled jobs to other countries mean higher margins for US companies. Which is good in itself for the US economy. Buying manufacturing from other countries means it's easier to sell stuff to them as well, which is also good to US economy. The fact is that the US has a very good overall economy, so maybe one has to look at the issue of redistribution of wealth for instance.

Economy-wise, the problem is a lot more complex than what you make it appear. You can't just say: economically speaking it makes sense to close the borders...
When people say that females are equal in America or that systemic sexism isn't still a thing, they forget that what constitutes america is more than the actual laws in place... the practical experience is far more important to focus on...
It's really not bad. I'm always having fun or making money or exercising. Will retire early too.
Health Insurance / Hospital.

I'm old enough that I now go to the doctor more frequently than I used to and it's a mess. A health insurance company that could reliably allow a user to change their address on a website would be competitive. Having all of your medical procedures and orders accessible through a simple CRUD app would be a threat to a lot of multi-billion dollar companies. It's still all done through phone calls and faxes and there are lots of mistakes and it's hugely inefficient. I went to the ER last year and got 5 different bills from different departments of the same hospital. The online payment portal doesn't work unless you call them to set it up. That's not the hospital network I usually go to - my usual provider is probably worse.
>It's the US' problem to find what to sell. And only the US can solve it.

This is completely wrong.

China has huge barriers in place to dissuade the importation of products that compete with their own. 30% tariffs on certain items, selective application of VAT and currency manipulation all make it near impossible for the US to sell goods in China.
This could be said for many things: food, alcohol, mobile pay-to-play games, etc, etc. The whole advertising industry is built on making you believe something will be worth it, regardless of rational thought. Seems unfair to single out casinos.
You bring up another reason why 90% of applications might be rejected: false negatives.

Consider a hiring filter which rejects 90% of good applicants and 99% of bad applicants. In such a world, consider a population of 10 good applicants. These 10 applicants will go on 100 interviews, be rejected on 90 of them and each will find a job. So in this world where every applicant finds a job, you still get 9/10 applications being rejected.

This seems to agree with your (anecdotal, and likely biased [1]) experience.

[1] "I got rejected after an interview, therefore hiring is broken" is a perennial topic on HN.
Incorrect. His comments are coincidental with Chinese military announcements that smell like a campaign to manufacture a crisis that gives Chinese negotiators an upper hand in trade talks and US legislation to come.
Can't you use mem::drop to (effectively) deallocate memory before it goes out of scope?

(I know this isn't quite the same thing as liballoc on nightly)
Show HN: Flu Monitor- real time flu tracking tool with Twitter data
Are not American corporations getting a god deal here?

Because it seems to me that they are profiting from the difference in wages. Maybe a case of eat your cake and have it?
Show HN: [Colearn] Find people to learn with you
Thanks - I've reached out to them to discuss