skysight-inc/HackerNews huggingface dataset:
> Business is not a social justice exercise, especially not for engineers.

Actually, ethics are especially important for engineers, as they are often the ones with the skills to bring about impactful changes to society.

Makes me think the IEEE and ACM codes of ethics should be more known:
* http://www.ieee.org/about/corporate/governance/p7-8.html
* http://www.acm.org/about/se-code
> Sadly, it turns out they're all discontinued

You can probably blame Apple for this, the CPU was from PA Semi.
Expiring All Sessions of a User in Spring
Raise a human, not a hacker.
It is interesting to note that a few hundred years ago, people didn't make that big of a difference between chattel slavery and wage slavery (labor). Both were university acknowledge to be great evils, and it was as dehumanizing to rent a person than it was to own a person.

Somehow we've all accepted wage slavery as alright. Good even! If someone doesn't have a job we deride him as a lazy ass for not wanting to sell his labor to a capitalist. A solution: universal basic income. Give everyone fuck you money. Then you'll have a free society.
http://ibm.com redirects to http://www.ibm.com and so on. Not https.
I think it is great to be an employee in Switzerland, because it is the only place where net-salaries are comparable to the Bay Area or NYC.

I live in Zurich, read my story here: "Eight reasons why I moved to Switzerland (to work in IT)": https://medium.com/@iwaninzurich/eight-reasons-why-i-moved-t...

If you are interested in coming to Switzerland, just shoot me a mail.
Be aware that this doesn't count for all meat. Grass-fed red meat is actually healthy, partly because it contains way more Omega-3 compared to Omega-6 and seems to prevent cancer.

See also here: http://www.anh-usa.org/you-are-what-your-food-ate/
Deleting words (Ctrl-Backspace) does not seem to work.
Ask HN: Any hacks/ideas to identify tech trends from the bottom up?
Vinwo – The open-source virtual world with real investments
Astroturfed/sockpuppet votes and comments are not ok on HN and will get the offending accounts and sites penalized.

Since the current post looks like good work, and we hate to see good work penalized, we'll override the penalty this time. But please don't do it again.
The UI looks and works nice. I specifically like the the markdown quick reference in the bottom right corner.
Hi HN, Vinwo aims to be a open-source virtual world, in which you could be the owner of a part of the world. What do you think?
Happy to answer any questions you might have. Thanks!
Probably much less than 1% - you can smell H2S at incredibly low concentrations. Single digits parts per million AFAIR.

Edit: at 0.00047 ppm you know something is there. 2 ppm is dangerous. At 10–20 ppm you would experience eye irritation. At 100–150 ppm your nose goes numb. All far below 1%.

Edit 2: the concentration of farts would obviously be higher than, uh, "outside," but as much as 1% would probably cause harm to yourself and anyone around you.
Recurrent Neural Network Tutorial, Part 4 – Implementing a GRU/LSTM in Python
Doesn't seem to be working in Safari on Mac. I'm getting over 650 CSP errors in my console.
This is not surprising but I fail to see the downside. The internet is complex already. The new top level domains won't add much to that.

I think that there was no end-user demand whatsoever for more so-called DNS extensions, [or] global generic top-level domains (gTLDs)," he said.

I run a lot of websites and it was a pain to find good domain names in the last 15 years. With all the new TLDs that problem is completely gone.

There will be a time when the multitude of TLDs won't bother anyone. Limiting TLDs doesn't add security. Educating people about the dangers of the internet does.
https://news.ycombinator.com/item?id=10447142
"We live in a city with 1.5m people living below the poverty line - that means we have 1.5m people at risk of being homeless."

Not exactly. First, the poverty line is federal and does not move with the ebb and flow of NYC life. Second, a lot of homeless in NYC are that way by choice rather than by direct inability to get a room somewhere. Sometimes this is due to mental issues which are not caused by low income. Third, there are people who make money but spend it all, ending up paying taxes above the poverty line but actually having zero or negative savings. Plenty of people in NYC are in that category.
How does it compare to other similar libraries (Caffe, Theano, Groundhog, etc.)?
not sure if black pepper is that addictive or allows your to see the future
Disclaimer: I'm (technically) an engineer, not a physicist, but I took a course on this back in uni, and as far as I can remember, you're correct. The gist of it is that BCS theory, which satisfactorily explains conventional superconductivity, fails to predict the behaviour of high-temperature superconductors, and there simply isn't a better model available at the moment.

For any sane individuals reading this, the answer is "We're trying really hard but so far we haven't been able to deduce a formula for the highest temperature."

I'm not very optimistic with regards to this ever happening. I remember reading a paper regarding one of the many high-temperature superconductors, BSCCO; it has a crazy crystaline structure, it's quite unlikely that we'll ever come up with an analytical model describing its superconductive behaviour.
http://www.dillinger.io/ is much alike, minus several integrations, collaboration and discussion.
The root problem seems to be that the web security model is broken because you can get onload AND onerror callbacks from img coming from 3rd party sources regardless of CORS.

You are not allowed to read the content of those resources for security reasons, and the fact that you can detect whether they have been loaded seems just as broken (although obviously this usually only has privacy impact, while reading the contents easily allows impersonating the user or stealing secrets).

This attack abuses this by using HTTP URLs and causing HTTPS to trigger onerror by using a content security policy that disallow HTTPS, which allows to measure timing of the HTTP->HTTPS redirection, which is instantaneous if the site had already been visited due to HSTS caching.

So I think two changes are needed:

1. The browser should never fire onerror on non-CORS-allowed 3rd party resources, but instead fire onload even if an error happens

2. The onload event should ideally be triggered 1 second after the resource has been seen regardless of whether it has been loaded or not. If that breaks too many websites, the timing granularity should be rounded to the greatest period possible.

There is also the problem of lots websites having CORS policies that allow * , so should probably also fix browsers to not allow sites to have CORS * policies, at least for this purpose.

Alternatively, it might be possible to load those resources normally, but effectively consider them to be a "3rd party origin from 1st party origin" that is different from "3rd party origin" and from other 1st party origins for all caching purposes.

However, this seems risky because if the 3rd party site manages to somehow fingerprint the user (e.g. because the IP address is whitelisted) then that information is potentially leaked to the 1st party site. For example, it would be possible to detect whether your IP is whitelisted by a domain that otherwise returns errors to everyone.
An email signup cannot be a Show HN. Please read the rules:

https://news.ycombinator.com/showhn.html
Names on the blockchain for the win. The process is obviously broken and corrupted - we need protocols at the root.
I still use my Amiga machines, but I want nothing to do with AmigaOS4. A new desktop proprietary OS simply makes no sense in the present world, even more so if it only runs in special hardware.

AROS (free implementation of AmigaOS3) and Minimig (free implementation of the hardware for FPGA) is where it's at.
I remember hearing on the radio about the UK Government, many years ago doing a census of all the homeless in the UK.

They had somebody on the radio who worked with the homeless who was tasked to do it in her area. Her instructions were only to count those on public property - i.e, if they were in a shop doorway or a car park they didn't count.

Funnily enough the count showed a large decrease in the number of homeless, congratulations all round etc etc.
This is a totally crazy out-there idea, so be kind:

Rather than trying to create a layout system that can adapt to any window or screen size, as with CSS/HTML, Java, iOS, etc., what if instead we had settled on a small number of permitted aspect ratios for screens? I'm carrying the analogy from paper sizes: A4, A5, A1, etc.

So probably we would have gotten this wrong when we first defined them (see iPhone aspect changes), but presumably after a while they settle down and then we can stop testing for the old aspect ratios.

Monitors, laptops, tablets, phones, would all standardise to a set of options just like most books and magazines standardise to a given size.

I know there are downsides, but imagine how much easier this would be for designers. Cross-platform UI design would be much simpler.

Just a radical thought I had.
Another one from today:

"does ctime always change"

Google returns:

Showing results for "does time always change"

Search instead for "does ctime always change"

None of the results are relevant because Google thinks I made a typo.

If I then search instead for "does ctime always change" the top result is:

"Does directory mtime always change when a new file ..."

Google has fuzzed ctime to match mtime which is not the same thing.

My intention was to see whether ctime would always be updated if there was any data or metadata change to a file or folder, or if there would be some edge cases where it would not change.
Do you know svg-edit (http://svg-edit.googlecode.com/svn/branches/stable/editor/sv...)? It is an older project but it works quite well for me when I need to draw some SVG (not very often). It would be interesting to see how the two compare.
Well it depends on how you implement it. I wouldn't imagine that each microservice has it's own haproxy-consul-template router. If it did, then sure, you're going to swamp it.

Maybe I'm not understanding the situation correctly, and granted, I've not ran it on a cluster of more than 5 machines with more than 10 microservices as we decided to use Rancher instead.
If we could run a CPU with no heat generated, what limits the clock-speed? The speed of the electric potential-change in the conductors?
Seems very standard IRC channel; I look at IRC once in a while and write a bunch of replies.

This wouldn't change so much, although I'd need some sort of bouncer on earth in order not to ping timeout.
Code Reduction or Spartan Programming (2008)
That looks interesting. I'll check it out. Thanks!
Much appreciated. Didn't know about aa.
The editor is great, but the UX flow between creation, upload to Wordpress, save, export is very confusing.
I have not been able to figure out how the connect to Wordpress works in the first place.

The top menu fails to work when in full-screen browser mode (on chrome) because the "you've gone fullscreen" popup blocks access to the top menu.
Oh, cool, that's interesting!

Thanks for the heads up. Missed that one!
Let’s talk about Product Management
Maybe the way it happened involved corruption. But I personally like the new TLD's, not all of them but some like .team, .work, .chat.

A few other sports specific domains are also nice, like .soccer, .tennis, .football ...

Almost all of the meaningful .com's .org's and .net's are gone. It's time we had new TLD's that make more sense.
Aspect ratio isn't every thing in design. The size of the window is just as important. A 3x2 21" screen needs very different UI approach than a 3x2 3" screen. And standardizing screen sizes is not really a sensible option.
How to Sync to the Beat of a Fractal Metronome Without Falling Off the Treadmill
The subthread veers on a generic broey dating-advice tangent that is clearly not on topic here.
https://stackedit.io/ is my markdown editor of choice. You can sync your documents with Google Drive, Dropbox, publish to GitHub. Really not easy to beat, in my opinion. However, there's no live collaboration feature currently in Stackedit so I'm interested to see what Classeur has to offer in this respect. (Now I see that Stackedit and Classeur are related projects, apparently both authored by https://github.com/benweet).
>we're in a sort of tortoise-and-hare race between theory and experiment, where each one advances a bit when the other one catches up and makes a new discovery.

So, business as usual ?
How secure is your (backdoored) hotel safe? [video]
15 Quick Tips to Make Any Website Look Better
Can someone make it clear how two way data binding works here ? I didn't get it :(
> Older candidates don't know the latest tech. They spend their evenings with their families / kids whereas young folk are constantly learning the latest stacks at home.

Do you feel this is any more justified or fair to individuals than saying:

"Female candidates don't know the latest tech. They spend their evenings with their families / kids whereas men folk are constantly learning the latest stacks at home"

I think both statements are completely unfair to an entire blanket group of people, many of whom don't fit the stereotypical profile.
>"sat on their hands, done nothing"

Sounds like Bush's response to Katrina.

"Brownie, you're doing a heck of a job."

Was Cheney the big dog they hired to bark at Bush in case he attempted to touch any of the buttons?
Infographic: Why You Need a Responsive Website Design
One API to rule them all? Nucleus – Platform as a Service abstraction layer
Can you elaborate? Why only two things?
Yea, right. Maybe if it had OS X or Linux on it? I'm sure the hardware is ok, but at least developers need a POSIX compliant environment, and Microsoft does not have anything much to offer these days. It's a new world.
The James Webb Telescope has a planned mission life of up to 10 years. At some point after that, it will fail. Given that it's going to be parked at L2, what happens at the end of its life? Presumably it'll just sit there waiting for a future salvage ship to come along and scoop it up for parts?
".com" forever? There is no reason we can have better naming systems. Consider ".io". It's often used by startups and signals quite a lot about a domain.
> Aspect ratio isn't every thing in design. The size of the window is just as important. A 3x2 21" screen needs very different UI approach than a 3x2 3" screen.

Good point.

I was thinking more along the lines of the fact that design tools and tech that enable adapting to an arbitrary screen size are unlikely to be as easy to use and expressive as those targeted for a specific aspect ratio (for example, you could use absolute positioning).

> And standardizing screen sizes is not really a sensible option.

Suspend disbelief for a moment, or consider only from the POV a single large corporation / group (e.g. Apple or Android).
Every REST API? Third part objects need to be checked, and aren't always in the shape you expect.
Safe Operations for High Volume PostgreSQL
That isn't true. There are causal links between meat and cancer. You have:
IGF1, saturated fat, sulphar-based animo acids like methionine, mycobacterial load, oxidative stress, purification in the intestine and more recently, that nuXX sugar found in protein.
Strange. I disabled "scripts from 3rd party sites" and "frames from 3rd party sites" by default in ublock origin and this site successfully loads 329 external JS ressources from other sites (none are manually enabled). Does anyone have the same problem? Is this a bug of ublock origin or expected behaviour?
Any idea what ide/editor Linus is using?
New TLDs are still fresh and people get confused

I wouldn't worry about that too much. The general public concept of the Internet is really not all that old (15-20 years). People will adjust remarkably quickly.
Vegetarians still consume proteins from animals like casein and cholesterol from eggs. There have been a lot of studies connecting casein to cancer as well (when protein intake is over 7% from calories).
The frustration due to IE having one model and the spec and every other browser having a different model. Everyone who worked with CSS in the dark ages of IE6 felt that frustration.
From what I can gather, it doesn’t seem like it runs on PowerPC Macs. Too bad, I would’ve liked to try it out.
Go to any campground in France and nearly 90% of the tents are Decathalon. Kind of like Walmart for sporting goods: reasonable quality a wide breadth (but narrow depth) of products and a great place to get gear for everyday-level outdoor activities. On Mont Blanc and the surrounding massif, you typically don't see as much Decathlon stuff however everywhere else, it's ubiquitous. I do like the store about as much as I like Target in the US. I buy some gear from REI on occasion, but it seems like the stores tend to lack the depth for serious gear purchases. For example, it was nearly impossible for me to find high altitude mountain boots. They suggested I order online and return them if they don't fit, however with mountain boots, your life (and toes) depend on a perfect fit, which often requires a knowledgable salesperson. That's where REI could (and used to) win, however their selection now just seems like a greatest hits collection of weekend warrior gear; not much I can do in an REI that can't more easily be done at a proper genre-specific shop.

If anyone is ever in Chanonix, the place to go is Snell Sports; three generations of the owner's family has ran the place and they literally have almost any piece of gear to take your from the Alps to K2. If you're a non EU resident you can even get the tax refunded. Snell is my model for what REI could have been. Instead REI is really just a Walmart for the Starbucks crowd. Admittedly, I do like REI and am a member, but it's really a shadow of what it could be.
I am not concerned as much by the loftiness of the claims (i honestly don't have much reference to judge them by), as i am worried about the lack of sources cited for the claims.
"This is a perfect example of confusing correlation with causation."
You are confusing two different fields of science. This isn't physics where an action causes a reaction. This is biology and the human body is a massive ecosystem.
The 800 studies that "eventually" reached the WHO is the best way to determine a connection between two things. This is decades of research and maybe around 1million human subjects that were studied in total.
Globalization test days report for Fedora 23
You still can insert external image into a page and poll its size either directly or detect it via layout changes.

Maybe the root problem lies in HSTS and browsers using HTTP by default (because that is why we need HSTS)?
Precious Lunga spoke at Business of Software on this topic, seems like the work of Econet Wireless seems to be trying to address this issue. Some interesting stats here: http://www.slideshare.net/marklittlewood/bos2015-precious-lu...

Additionally there is a whole raft of IoT enabled devices making this possible too - think the future is bright :)
>80 analysts who review and scrub data mostly based on experience, lookups, cross comparison or simply informed guesses.

Nice to know you wrote IA. Thanks to you for emulating the complete intricacies of the human brain!
There is no dry-ice necessary. You can cool something down to -70C and lower with a freezer as used in biology or medical labs. Such a freezer isn't even that fancy, they look and afaik work pretty much like the household appliance variant.
It's really about the burden of the effort, it can either be easy for the users and a pain for the developers or it can be the other way around. We can standardize the ratios and sizes and that would make things easy for devs sure but then that would decrease the variety and innovation for the user. If there really were a handful of fixed sizes and ratios then that would make things like google glass, smart watches, galaxy edge or any other kind of unconventional device with non standard display that much more difficult to ship to the masses.

We don't know what kind of display size and aspect ratio the next contact lens display or the next building sized display will have. So I believe it's better to keep our self open to new possibilities.
There is a huge shortage of pilots...who are willing to work for the starvation wages the regional carriers offer.

By the time "Bob" in the story had the status and seniority number to be captaining a trans-oceanic route for a major, he'd be making well into six figures a year working 11-15 days a month. He'd have enough to lose that the Saudi prince would need to pay him his salary until age 65 (mandatory retirement for part 121 airline flying) to make his choice to walk away a rational one.
Most popular topic on this site – Excel to JSON or JSON to Excel
Introduction to Functional Programming in OCaml
Yes. As a first approximation we can use Bernoulli equation, which states that 0.5V^2+gz+p/rho [1] remains constant through a streamline. If we assume incompressible flow, no friction, perfect discharge, no altitude change etc., and that speed in the pressurized reservoir is null, we can obtain that p_reservoir = 0.5 V^2+p_ambient and thus V = sqrt(2(p_reservoir - p_ambient)) if I'm not mistaken.

---

[1] Where V=velocity, g=gravity accel., z=height, p = pressure, rho=density
In this particular case, having read the article, it didn't seem as if the man in question really minded the lifestyle of homelessness.

There is a perception that to be without a static home is a terrible, terrible thing, but really, I can imagine for someone who appears to have his life together in many other ways (and free from other issues that plight the homeless community such as addictions) - then it could possibly be quite a liberating lifestyle.

I can of course see the other side of the equation where it would also be a prison - having to lie about his home for embarrassment etc. But in this very specific example, he seems to have got on with it and made the most of the situation
I have this dumb C program that scans a folder of .mp3 files and fixes their id3tags from shift-jis encoding to utf-8. Shift-jis isn't officially supported for mp3s, but Japanese Windows uses it as the default encoding for non-UCS2 strings, so when you display a tag that's "latin-1 encoded" on a Japanese locale, it shows up fine, but shows up as gibberish on everything else - https://github.com/moshev/tagfixr
"we have created a dedicated SVN resource"

I'm surprised to see such out-dated technology still being used today.
Modern art installation removed by cleaners who thought it was party aftermath
1 pixel game
Poster: Napoleon's March
I am using https://google.github.io/flatbuffers/ right now, it's going slowly but I'm still learning c++
The WHO report is very clear: red meat and processed meat cause an increase in risk of some cancer. And they're very clear that it's causal, not just correlation. And they're clear that the risk is increased by 15-20%. But that increase is on a very low risk.
I grew up as the few asians in a hispanic/latino whatever neighborhood. Yeah, there are racism when you're the minority.

There are racism everywhere, you learn real quick to either work with what you got or cry about it. Maybe white have it better.

It doesn't matter, you work with what you got and ignore all the hater. America can always be better but it does give you the ability to move up in class wise and a great country.

Oh but you know what? I knew an Asian girl attending my university. She was born in the 1990s, and her family photo is like a college text book. Bunch of mixed races, white, black, asian, and hispanic. Turns out her uncles and aunts marry outside of their race.

It's all good.
Launching.io: A community of tech startups
#ICANHAZPDF Access to Academic Papers on Twitter