skysight-inc/HackerNews huggingface dataset:
From the article:

> Another criticism is that EVs aren’t about the present, they’re about the future. Assuming electricity grids will get cleaner, moving away from gasoline cars is the only way to approach a zero-carbon transportation sector (not to mention avoiding the political costs of oil dependence). Holland counters that rising fuel-efficiency standards are making gas cars a lot cleaner, too.

Did the author flunk basic physics? There isn't that much room for improvement on a internal combustion engine. And "a lot cleaner" is still greater than zero emissions (and, given the efficiency, _by far_).

Seriously. Were not for the lack of cheap energy storage devices, we would not be having this discussion at all. Cars would have been electric from the beginning (they actually were) and would be still like that.
correct, and we use link to icestorm with permission from our other ice based project.

icestorm uses HX1K as main target, but porting to iceultra should be not an issue any more as almost all work is done.
> Fast/performant is another thing, but books must have a bifolia experience that flips comfortably at a soft reading pace. There is no doubt about that.

I don't doubt that some like it, and that it's an important option to have, but likewise it is important to offer the ability to turn it off, or you will lose people like me that will outright refuse to deal with your books if I have to suffer through page flipping animations. I've discarded dozens (and this is not an exaggeration) e-book readers over page-flipping behaviour, because when dealing with e-books, page flipping behaviour is one of the most noticeable UI behaviours.

I car about pretty much these things in an e-book reader: page-flipping behaviour, speed, text-zoom/reflow, ability to set contrast freely (including invert to light on black background), and well rendered/readable fonts. Everything else is secondary. Animations and interactivity can be fun, but a reader that fails on any of those items is a reader I'll never use.
Beyond silicon: IBM unveils world’s first 7nm chip
I think it "fixes" code in that it makes it work on newer hardware, but the title is still misleading; it suggests that the software is performing bugfixes and correcting code that has failing unit tests, which is totally unrelated.
World's smallest nano chip will double processing power of smartphones
I had the same question. Looks like they just compared electricity generation pollution to combustion engine pollution. Very apples and oranges.
I quit Kickstarter after that Potato Salad kickstarter crap got popular. It lost all legitimacy to me at that point. I can't believe more people didn't put up a fuss.
Grexit – how to guide
It's worth noting that for a lot of applications (anything with UART for instance) you still want to use a crystal. Almost all of the micros on the market have an RC on die but it's usually better to just pop a crystal on the board. The PLL supports it, though you'll lose a couple precious pins.
Microchips wired by human cells could revolutionise drug testing
What I find fascinating about the conspiracy theories is that the moment you start believing in one you will start believing in most of them.

As if the logic gate in the brain suddenly stopped working.
23andMe is the startup world's newest unicorn
Worth noting, lest the name scare you away from a great computer science achievement:

https://coq.inria.fr/news/114.html
They did indeed break the code, in particular, provisions 1 and 9 (it is unclear whether they implemented facilities for point 7 or not), however: they reasonably believed that the experiment was harmless (and they were mostly right, given the experiment's scale), and the data they collected would be very usable for saving civilian lives in case of bacterial attack. So, I'm not saying that it's OK, but it's unreasonable to paint this as something completely evil and vicious.
its 4 layer PCB with 275 micron via pad and 75 micron mechanical drill. I am not joking our PCB fab confirmed its doable technology for them.
Ask HN: What is the best way to learn Sketch?
I do most of my prototyping on paper, but want to pick up a more formal tool. What is the best way to learn Sketch. I'm having trouble learning.
Why not? At some point in time someone probably said why do you want a smiley face in a chat window? Now there are lots of "emoji" symbols. Pandoc uses markdown with inline latex, it gives you multiple ways of typing things and it's less verbose to type. Instead of using an equation array in latex, use a numbered markdown list with latex formulae. Skype has it's annoyances too, ever tried to actually communicate "(B)", you get a great beer symbol you likely didn't intend to write.
Working in a consulting capacity, mainly doing LAMP development with a small team. We use a standardized Vagrant image (https://github.com/readysetrocket/vagrant-lamp) which has cut down on a lot of local environment issues for our dev team.

Previously all devs had their own environment (some MAMP/WAMP, some homebrew, some remote, etc) which led to onboarding and support issues. Setting up a standardized recommended dev environment has helped with that a lot - both in terms of reducing project onboarding and getting junior developers up and running.

Would love a day where we can build projects as Docker containers and hand them off to our clients' IT teams, but that seems to be a way off.

SO thread where the authors of Vagrant and Docker weigh in: http://stackoverflow.com/questions/16647069/should-i-use-vag...
OSH Park (probably the most well-known such service) costs $10/square inch for a 4-layer board, for three copies of a board.

As a ballpark figure, this board should be no larger than 1/5 square inch, so that's $2, for three boards.

Agree on low volumes of the other components, although things like Seeed Studio's Open Parts Library (http://www.seeedstudio.com/depot/OPLopen-parts-library-catal...) is pretty nice for the very basics.

Update: Didn't check if this board meets OSH Park's limitations.
That is highly optimistic and I do not buy into this. This would require an understanding of the human language and here we are FAR off, considering that it is currently even hard for engineers to grasp a user's requirements.
Page-flips are an important experience of books, even

They are - the physical, tactile experience of it is a helpful part of the reading experience. It's not the visual image of a page being turned that's useful; it's the actual physical interaction of reader and book.

Non-physical books that simulate the 3D visual and physical experience with a hideous 2D visual only experience are hideous and intrusive and make the overall reading experience worse. Non-physical books shouldn't try to pretend they are what they're trying to replace; they end up just reminding the reader of what they're not, instead of impressing the reader with what they are. It's like advertising by drawing attention to features a product doesn't have.

Given that this product is meant to be taking advantage of all the things a physical book cannot, to clumsily ape physical books in this way is just silly.
Title is misleading; can a computer program step in and fix it, please?
Seems to be luck of the draw whether each pageload goes through or not
Did you manage to have automatic code reload set up with Vagrant/Docker? Last time I tried the following config: host folders shared with vagrant VM and vagrant folders mounted inside docker containers. Unfortunately, file change events on host didn't propagate to docker containers. As far as I remember, this was a limitation of Vagrant file system.
New Retweet
Oh, I like that one too, but how would they cover their asses in the event of an audit? Retroactive accounting?
Using Vagrant with docker inside for development for some time now and it's been the biggest productivity boost ever, give it a try.
I just visit hacker news every few hours. If it makes it to the frontpage, then it is worth reading (if it interests me of course).

I tried subscribing to blogs and newsletter and I never read them - I just end up with another inbox that I can't empty.

Also http://www.hackernewsletter.com/ is awesome - I get a weekly email with the "best of HN" in case I missed them...
The FBI doesn't want to have to force tech companies to weaken encryption
Same here, couldn't update my packages with composer.
> The sun shines there no brighter than a star

Worth noting though that the Sun looks a lot brighter than other stars from Pluto. Pluto orbits out at 40 AU, so the Sun is 40^2 = 1,600 times dimmer. In contrast, as seen from Earth, the full Moon is 400,000 time dimmer than Sun. Therefore the Sun from Pluto is about half way between the Moon and Sun on earth (on a logarithmic scale). It's roughly twilight.
OPM makes new promises to protect hacked employees
Android Studio 1.3 Beta now includes C++ (NDK) support (preview)
3d detection software handcrafted for use in conjunction with sensor array (slam, etc).
xilinx in DIP8? Really?
smallest coolrunner is qfn32 and that DOES not fit inside DIP8 footprint with through holes..

and coolrunner is so not cool, really..
I have done it all, :) doing it since 1979
The NSA Is Looking at Systemd's KDBUS
git clone --depth=1 path/to/repo

when doing a clone for a deploy, since you don't need the history

edit: but yes, cloning as a developer will take a long time. But, if it really gets out of hand, I can hand new devs a HDD with the repo on it, and they can just pull recent changes. Not ideal, but pretty workable
No of course they don't, they just want a direct back door :)
I think the situation has been generally going downward since the decline of the Soviet Union as a global power and its subsequent fall (I don't think that contradicts the core of hegemonic stability theory, really: late in the Soviet Era, the superpower conflict was less of a source of conflict than it had been earlier in the Cold War, and both the US and the USSR were exerting stabilizing influences in their respective spheres of influence -- since then the US has become unrivaled, but its expanding influence hasn't been enough to replace the influence of the USSR.)

If you look at a lot of the big conflict regions since then, they are often places that had conflicts under the surface that were contained either specifically by Soviet influence, or by the combination of Soviet and US influence because, while both may have sought to exploit opportunities from the bubbling conflicts, neither really was prepared to accept the risk of a major conflict getting out of control where they might lose key interests, and neither had enough local influence and power to be confident of attaining a positive outcome.

But the US's level of global influence through hard power -- maintained by military spending on par with the rest of the world combined -- is probably unsustainable, for much the same reason that the Soviet empire was (the US just started the hard-power spending war that was the Cold War from a much better starting point, and was able to carry it out longer.)
If you're just plugging together library components to produce regular CRUD sites, then it won't have any direct relevance. Hopefully those components will have strong types to make sure they're being used in valid ways, but that's about as far as it's worth going.

If you're building those libraries, then you might want to use some clever type system tricks to bridge the gap between a friendly external API and an internal representation with strong guarantees. Some of those clever tricks might be done with dependent types, and you might use Coq to do them.

If you're building core infrastructure stuff, like crypto libraries, communication protocols, data storage/retrieval, language interpreters, etc. where something as trivial as an off-by-one error might cause large problems, then you might benefit from using Coq to formally prove that your implementations satisfy their specification.
I am not sure how you could possibly tolerate that military entity broke the law and made biological experiments on humans, especially when the said experiments resulted in a tragic loss of lives.

This is pure evil.
Fungi from Yuggoth

http://pastebin.com/Td7u6GUc
I'm using the same setup and it works great. Vagrant shares a host folder into the guest VM, and then the docker containers mount subfolders of that shared folder into the container.

So you change a file on the host computer, and it reflects automatically inside the guest VM which is the docker host, and automatically inside the containers since that same location is mounted by the containers.

I just checked the Vagrantfile, and the Ansible playbook we use to launch the docker containers, and I don't see any special magic required to get the syncing working with the Vagrant filesystem, it just works out of the box.
The Russian Air Force is falling out of the sky
The space is actually recommended by international scientific convention (as it is the least confusing option) and also required if you follow the (American) AMA style.
Vagrant with Docker provisioner:

https://github.com/czettnersandor/vagrant-docker-lamp

Much faster than the Virtualbox provisioner, so it's not an "or" decision, the two thing works well together :)
"Distributing Docker images within a private network also requires a separate service which we would need to configure, test, and maintain." What does this mean? Setting up a private docker registry is trivial at best and having it deploy on remote servers via chef, puppet; hell even fabric should do the job.
If it's not an iPhone, it's worth buying :)
I would put it the other way around. Docker+Vagrant is best used for deployment and hopefully it will be stable and battle-tested enough so I can use it in production.

I love the fact that once I configured the dev environment on my PC and I hit the road on the next day I can have exactly same environment on my laptop by running single line - "vagrant up". Not to mention that any dev working on the same project saves himself ton of time but not having to configure everything from scratch.

I have not taken the leap of faith yet and I am not using the docker in production but hopefully this will happen soon.
They did it in St. Louis as well, and that was testing of an offensive chemical weapon. It's probably unwise to defer to military judgement when they want to test a chemical agent.

http://www.stltoday.com/news/local/crime-and-courts/suit-fil...
Vagrant and puppet. And it's the same puppet we use for production, so we're as close as we can get.
neither, if I would be non-european, I would choose either europe or australia. better quality of life, more personal freedom (yes, compared to US, the land of free), and just a more interesting places to be (EU culture diversity is still astonishing to me even though I live here 34 years already, Australia has all south east asia and great barrier reef just next to it, which are amazing places to explore)
I thought it was pretty well understood that affirmative action as a method for ensuring equality was approaching the issue from the wrong end?

It's pretty clear that there's disparity of opportunity based on all kinds of social/biological factors, which the rational world can agree is bad. Fixing that by trying to level the end-game is far too late, hence the expansion of work in leveling the early game: getting more people from more backgrounds and situations the ability to find what they enjoy and do what they want without being shat on by prejudice, so that by the late game they have the skills and empowerment that in a society of mostly-well-meaning people they can exist on as level a playing field as society, being imperfect, can sustain.

I'm not sure how licensing code such that specific social/biological groups (regardless of which ones) have more rights is actually contributing to greater equality of opportunity.
and this, kids, is why you check in your dependencies with your project. You can refer to them in your vendor folder for fun, no problem. BUT KEEP A LOCAL COPY IN YOUR REPO

This is for Composer, as wel as for NPM.
You now introduced a third-party dependency into your development workflow. What will you do when github goes down for a week?
I can't tell if it's a troll or not. Regardless, it's a wonderful way to get your work/license dismissed as non-free software, as non-professional, and as offensive all at the same time, regardless of the intent. Completely undistributable.

Very sad, considering the software itself seems useful.
Per Wikipedia: "Historians have not fully agreed on the dates, but 1947–1991 is common" (WWII ended in 1945 for reference). But the cold war was a slowly building thing that took many more years to reach fruition.

So now that we've dealt with pedantic complaints that are wrong anyway, do you have any substantive problems with what I said?
It's entirely possible - there are e.g. bitcoin miners written in javascript.

But never attribute to malice that which can be adequately explained by incompetence.
>>> First of all, it isn’t obvious why the OR operator would be used to assign default values.

Really?! This is common knowledge for anyone writing JS for more than a week. It's used EVERYWHERE.
Yeah, I think you are kind of circling around a central issue. Some evidence emerges of something untoward happening and the conspiracy nuts jump on it. There ends up being a lot of noise on top of a little bit of signal. People who fancy themselves rational dismiss it while the nuts keep amplifying it. Then much later more/most of the story comes out and sometimes it's a lot worse than the nut jobs even speculated.
Generators in Objective-C
> I thought it was pretty well understood that affirmative action as a method for ensuring equality was approaching the issue from the wrong end?

It's very well-understood by everyone except the ones pushing for it. Kinda like how climate change is well-understood by everybody except those who deny it.
Thanks, that's an interesting technology. Too bad that it's specific to Chrome and I can't expect any user to run Chrome or install Chrome. But that's a good direction, I only hope that major browser vendors will consider to adapt it or similar standard in the future. It shouldn't take too much resources to implement it, I suppose.
Note that Open Whisper Systems is hiring: https://news.ycombinator.com/item?id=9813309.
Far less, IMO.
It's kind of like "what else are they hiding from me". If the government could lie about X, they could like about Y.
Or... just keep a clone of the upstream repo right next to your project's repo.

I'm all in favor of removing the runtime dependency on GitHub and similar, but that doesn't inherently require keeping deps in the same repo as the project.
If you do, know that I won't be using it. It's a single data point, I know, but I felt I should mention it.

I don't like enabling semi-arbitrary JS from one place among all the sites I visit.
China working on 125 mile undersea tunnel to the U.S
This shit has gone too far. In an act of schadenfreude I'd like if white hetro males went on strike for a week taking out heavy industry, travel and communication to name a few immediate and dire consequences. The multitudes of men are toiling thanklessly, doing the late shift, down the mine pit, driving the 18 wheeler, removing your trash while you sleep, working two jobs, making ends meet to support society and this is how they are treated.
Just be careful. It's worth it at the end of the day.

Honestly, 0 sounds like a default value in most cases anyway.
Lynda.com? Youtube tutorials?
DIY hologram using a 4-sided pyramid
The improvements inspired by the comment of jbrooksuk were merged https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/953
Isn't it more like Docker with Vagrant?
I've used Vagrant for a few projects over the past few years - mostly small things like hackathons and such. Haven't used it much in the past year or so though.

At my last job we used Docker extensively for developing our main software product, based on a Django + PostgreSQL + RabbitMQ + Celery stack. It's definitely a bit tricky to get your head around at first, but after that, it's very nice being able to just type "docker-compose start" and have a working application with consistent configuration ten seconds later.
Domain specific knowledge?

An AI would know how to fill in the gaps when you said "Make me a blog page" or "Make this server scalable."

This may sound outrageous, but some very large percentage of coding practice is wheel reinvention. Developers the world over solve the same problems over and over again.

One of the first applications for useful AI will be to collect and automate that repetition.

There's already a "make me a blog" project, and Bootstrap is so cliched now I'm surprised there aren't more site builders being developed. So this isn't entirely impractical.

The hard part is the visual design. It's much harder to automate that in a way that includes some genuine original creativity.

Of course web apps != general scientific or business coding. So AI isn't a complete solution. But it doesn't need to be to be useful. (Domain specific, after all.)
Apparently "hey, I'm trying to use this 4GB machine for actual work with a couple VMs running and you're driving me in to swap hell" didn't come through as "knock it off".

And that's the story of why I have an 8GB machine now :-/
>Yes and they made a conscious decision to not include so much in the language in order to make the compiler fast so your criticism is rather odd. They made a choice. It results in a faster compiler.

The null compiler (which produces nothing) is even faster, but 1000s of orders of magnitude.

As you can see I'm not in favor of the choices they made to make the compiler fast.

It's not much of a feat -- it's like writing a 8-bit era like game, and bragging that it gets 2000 fps performance.

First, after 60 fps it's dimminishing returns anyway, and second, yes, but at what cost?
>So 125 million base pairs is equivalent to 250 million bits of information. That's the genetic difference between humans and chimps!

I don't mean to nitpick, but epigenetics is a thing.

Also... how up-to-date on the research literature is this essay supposed to be?
It reminds me of this old video game:

https://en.wikipedia.org/wiki/Time_Traveler_%28video_game%29
OpenSSL fixes Alternative chains certificate forgery flaw
I'm only speaking from personal experience, unfortunately I have friends that have been abusing this drugs for almost 2 decades (none that inject so I can not speak about that).

I might have my terminology mixed up, but there is definitely a difference between crystallised and that which has been cooked (possibly again). Some of it might possibly be myth on there behalf, as in they don't get as bad a "k belly" or irritated bladder after a binge on the latter.

As well as the bladder/ut issues, snorting (anything) also leads to the corrosion of the septum and also the bone(s) that supports teeth.. Basically excessive use leads to teeth falling out.
A one time cost of 100 hours of work to put the globals into an interpreter struct and fix the C API to have a PythonInterpreter* as the first argument to every function would be a very small price to pay compared to the decade-long debates and hacky workarounds surrounding the bad GIL design.
We're investigating an issue affecting site-wide availability
>The spam demonstrated that the price of Bitcoin is literally detached from any form of utility whatsoever.

Why should the price track current utility as opposed to expected? If the market as a whole doesn't expect this spam to have a long-term effect, it won't affect the price.
FWIW your claim "I have some seaweed, which cures cancer" is illegal in the UK.

https://en.wikipedia.org/wiki/Cancer_Act_1939
"Let's move forward, by moving backwards!"

The web is already a document system.

It doesn't need to be skeuomorphically constrained into a 'book' with cute page turning animations, and no ability to use a scroll wheel, shift-space to go back (looks like `space` is hardcoded in his script, but only works half the time), or any of the features you already have in a browser. (I wonder how accessible it is in a Screen Reader, too.)