skysight-inc/HackerNews huggingface dataset:
> Slightly OT: Is it just me or is Bootstrap a bit of an overkill nowadays?

Coming from someone whose PHP skills aren't too shabby but his graphical design skills stink, I'd say no.

From the very beginning of my current project, I've had difficulty finding a partner with strong UI skills. In fact, I chose my early frameworks almost solely upon needing to rely on the UI design of others. UI just isn't a strength. Hell, I don't even match clothes well and (I kid you not) I still keep a note in my phone about which colors of shirts and pants match together.

Although Bootstrap is fat, as you suggest, for someone like me having to do almost all UI on my own and who's been told his logo looks like it was done by a toddler with a large paintbrush, it is wonderful to be able to drop Bootstrap in so I can focus my attention elsewhere. A tool like Pingendo makes it even easier for me.
GeoGebra
www.geogebra.org/
A geometry package providing for both graphical and algebraic input.

"Apparatus: A Hybrid Graphics Editor / Programming Environment" by Toby Schachman
http://youtu.be/i3Xack9ufYk
How could somebody have accidentally added a hidden motor and some electrical controls to a racing bike? Why would someone "on her team, who sometimes trains with her" have such a bike? It seems quite clear that either there was cheating, or a very inventive attempt to frame her.
https://twitter.com/SteveStuWill/status/692474630205001728
One of the most consistently replicated findings of behavioral genetics is that the environment shared by siblings (parenting) has no effect.
There is one more alternative that I tried before. Decent.
http://www.pinegrow.com
That argument is made in the context of IRC networks, where the same server can have clients over both encrypted and unencrypted connections. If your own connection is encrypted, an eavesdropper listening at your router's exit can't see what you're typing. However, clients over unencrypted connections will get your message -- unencrypted! -- so an eavesdropper can just as well listen there, and he'll get your messages. He won't get your password, but will get your data.

The argument holds for every similar system. E.g. TLS connections to a SMTP server mean that an eavesdropper won't see what you're asking the SMTP server to send, but if that server then relays your message over an unencrypted connection, all that TLS mumbo-jumbo won't help a bit, because the server just published your data in plain sight. Your password is safe, sure, but your data is in plain view, so if someone wants to spy on you, they don't even need your password anymore.

So if you're sending plaintext data over an encrypted connection, you are trusting that the server won't reveal that data by relaying it over other unencrypted connections.
Apple definitely hoped for an iPhone like leap forward for smart watches, and certainly tried hard to accomplish just that - but they probably realised soon after it was made available for purchase that this was no repeat, maybe even long before that.

The fact of the matter is, the iPhone was a truly revolutionary product(they often quoted that in their marketing material, but that was no hyperbole), whereas the Watch has been an evolutionary advancement compared to what was already at the market, at best. That is to say, it didn’t do anything particularly different, or did what alternative products did differently. It integrates well with the Apple ecosystem, and that digital crown is interesting( from what I am hearing, it’s not that great in practice ), and..well, that’s about it, really.

I believe Apple can eventually transform this into a great product, one step at a time. I am not personally drawn to the Watch, or any ‘smart watch’ for that matter, but maybe it’s because I haven’t experienced yet what Apple hasn’t invented yet that would make me want to buy and wear it.
Maybe next year when the Home Kit initiative enables ‘smart devices’ and the watch to play nice together, or when you can control your Apple Car using the watch and Siri (if you can name your Apple car, I ‘ll name mine KITT), then I ‘ll really want it.
Revolutions Insu-stim forte 100 cápsulas
Not sure if this is the same form of self assembly, but this video has a nice explanation of at least one type: https://www.youtube.com/watch?v=7Dp6EFyROT4
They could never keep it secret. If they had got him the pressure on the CIA to prove they didn't do it would be immense, let alone we can be damn sure if Russia could prove it then Putin would waste no time. Then the pressure would be right back on the Obama Administration to produce him, alive.
We also ignore minor instances of this kind of error in speech (such as mild stuttering), which makes me skeptical of the explanations based on how eyes move during reading or otherwise specific to written language.
I would say not. While debugging, you are using inference techniques to bracket your bug, and using such an approach you are almost certain that you will find it. Whereas in deep learning, you are more blindly trying things (where those "things" can certainly be rigorous techniques, it is just that they are being applied more or less haphazardly), and you are never sure where you will be arriving.
This would cost Switerland about $168B annually, which is equivalent to their total tax receipts today. I assume that they could get rid of a number of governmental services, but seemingly you'd need to increased taxes above the current 40% income tax level. it's hard to see how the economics could work.

That said, it would be interesting to see how basic income might affect entrepreneurship in the US. Entrepreneurs might not have to move to high cost cities like San Francisco and maybe this would encourage more remote work.
> Why would someone "on her team, who sometimes trains with her" have such a bike?

She's a fast cyclist. The pace rider who trains with her may need some assistance.

However, that bike should have been painted bright pink so that it was obviously not a compliant race bike.
Hacker News UI clone
That's what I suspected. That's why I steer clear of PHP codebases
It replaces the (nonoverlapping) occurrences of " " with "" in str.

Regexes have facilities for case insensitive replace, as in most languages.

Maybe I've been programming in Python too long, but str.replace is intuitive to me (unlike, say PHP's str_replace).
I'm guessing you don't program in Python much, judging by your question of string copying.
Healthcare startups are like Cleantech startups were.

There is large amounts of capital being deployed, there are going to be high profile failures like Theranos, but at the end of the day the world will be better because of the few that succeeded beyond our wildest imaginations.

This is how innovation works.
But not the iOS APIs.
People are scared of 'discruption' because it's usually a fast change and 9/10 it has unintended consequences that negatively effect people for a long time.

The youth always want fast and radical change. But the older and wiser segments of the population realize that this isn't usually good for anyone.
OpenSSL re-uses unsafe prime numbers in Diffie-Hellman protocol
Ok, very good point, I had to smile when I read...

> Hell, I don't even match clothes well and (I kid you not) I still keep a note in my phone about which colors of shirts and pants match together.
Digital Biscuit
Why Continuous Deployment matters to business
Most children learn a lot of habits and values by unconsciously picking them up off their parents. They learn from your actions what is correct and incorrect behavior without you having to directly teach it. Good behaviour is comprised of the union of two sets: behaviour that you allow, and behaviour that you partake in. If these sets overlap then you can be pretty sure that your child will learn 'good behaviour' as defined by you.

I would also add that many beneficial social movements favouring equality among humans have been contested by adults who were brought up to share their parents' values. I hesitate to say that most children do not care about colour or sexuality until they are taught by their parents that differences are bad, or see their parents reactions to people who are 'different'.
Turtles on pogo sticks: a short rant on the myth of secure languages
You couldn't get it to install in VirtualBox? That's strange. Are you sure you were using a bootable ISO?
Remember when they killed Mozilla Persona?

Oh, look, here they go again.
You wanna know something worse? It parses braces inside comments. I spent a day debugging a compilation error because i had a random { in a comment.
The OpenTracing Project
The Curse and Cure of the Presentation Update
You may have found a future succesful Hollywood scriptwriter.
In raising my own child in this manner, I am not so much fostering creativity, but not suppressing the person who is already there. We should enable everyone to be the best possible person. We raise or lower all of those around us.
N977GA has a chequered history. It was originally ordered by the US Air Force for use as a general's flying gin-palace. But then, shortly after 9/11, it lost its military livery and acquired civilian registration as N596GA. Under that designation it was employed in CIA "renditions" - or kidnappings. In 2011, the "black" jet switched roles again, transferring from the CIA's contractor to use instead by the Department of Justice (DoJ).
I think every generation has made the same claims about the dumbing down from the previous generation.

This piece paints the early 1990s as a golden era where you had to, and thus did, know about the computer at a low level. (And yes, I remember finding the DIP switches to change IRQ settings.)

But some of those of the previous generation would complain about how kids in the 1990s didn't know how to open up the box, and wire in new hardware, nor understand the circuit diagrams ... which no longer come with the computer.

Those of the first microcomputer generation, of the 1970s, would complain that those of the 1980s had no idea any more how to put things together themselves, like from an Altair kit, or go to Homebrew meetings and share schematics.

My uncle once drove me around in a Model A truck. The engine isn't sealed. The owner was expected to open it up an clean it every year. In earlier models, there was a door in the firewall to adjust the carburetor while driving. Obviously, we are now dumb, and know nothing about cars any more.
Bill Gates's Desert Island Playlist
BigData example, frameworks, and libraries weekly roundup – Jan. 31 2016
Surprise lightening talk by Mark Shuttleworth at FOSDEM about snappy
worse functionality how?

Im honestly curious why anyone still uses these tools.

Ive heard the 'alternatives do not work as well' argument before, but no one has ever managed to articulate to me exactly what it is that premake/cmake lack?

Is it literally just building debian packages in a moderately convenient manner?
"Some 10,000 children are housed in adult jails and prisons on any given day in America."

Relevant chart: http://www.economist.com/news/united-states/21647347-treatin...
You can use TLS client certificates with SASL using the EXTERNAL mechanism.
Unfortunately I'm stuck with the embedded 8.5 interpreter.

And, to be entirely honest, most of the gripes above are likely more due to the poorly designed API than to the language itself.
In your sentence I found the second 'the' to be much more apparent than in the the original.
/switch to serious for a second. Do you have any suggestions for toys/games that are more facile than a soldering iron that delop or impart systems logic for 8-24 months?
My name is Artem. I'm one of the Meshbird maintainer. Feel free to ask questions.
The next generation of journalism students have no idea what's ahead
Remember that HTTP vs HTTPS adds yet another dimension you have to take into account. This bit me the other day.

I run a site at example.com (I prefer a naked domain, for no technical reasons whatsoever), with a CNAME record for the www subdomain. But I only want to serve the site over HTTPS. So http://example.com redirects to https://example.com, as does http://www.example.com. Simple enough, right?

I however started receiving some spurious reports that the Google Account login option wasn't working on the site, which was quite puzzling at first. Turns out, some users were manually entering https://www.example.com as the address (it's not indexed or linked to anywhere in this form that I could find), which was being handled by the Nginx default_server directive on port 443, causing the site itself to appear to work just fine at https://www.example.com as well. But the Google OAuth service checks the authorized origins for any client side requests, saw www.example.com and was expecting example.com so simply failed silently. Doh!

TLDR summary: If you redirect to HTTPS by default, check that all 4 options ([www, naked] * [http, https]) work correctly, and that all redirect just ONE canonical name to keep things sane. And make sure the 3 redirects preserve any request URI parts after the domain as well.
I recently stumbled on the back story of the 1848 revolution in Paris and realized this idea has been already tried out, even if it was a kind of side effect :)

In short:
1. Implemented a "right to work", everybody should have a work at a 2 francs a day
2. Parisian flocked to the state company so they paid anybody they could not give work to 1.5 francs a day for the "right to idle". Something like half the Parisians got paid like this.
3. People started to hear about this from outside the city and started to move to Paris.
4. As you can predict, it ended up as a collapse and one of the cause of this revolution.

Source Wikipedia or this abstract:
https://books.google.com/books?id=rlhDAQAAMAAJ&lpg=PA866&ots...
so, if Uber and airbnb are facilitation in-person illegal transportation and illegal house sharing, shouldn't they be banned as well?
Meshbird is not traditional VPN solution. It's a distributed private networking. Where encrypted packets going directly destination host without passing any gateways. It's avoid performance and availability bottlenecks.

Today we have released v0.2 with OSX support.

https://github.com/meshbird/meshbird.
I didn't downvote, but your statement in no way refutes parent argument. Typically =/= always. It's similar to someone declaring "HN was down", and you reply by saying "HN is typically up"
The future is now for Swiss-led drone project in Rwanda
They're nowhere near as accurate as a quartz, but...I only have to adjust mine every week(ish) and it takes a minute. Not sure about the "quite a pain" part. And, even if I let it drift for a while it takes around a month for it to hit a couple minutes off.

Source: couple of beaters (Hammy Khaki Auto and an Orange Monster)
U.S. And European Negotiators Near Deadline for Data Transfer Deal
I wrote some stuff in the early nineties that still gets spun up once in awhile for testing purposes. Probably the only thing I've written in the past that still runs, or even exists on a disk. So that's cool.

To tweak the question a bit, the things I've written recently that I'm most happy with are personal productivity/automation tools that I use all day, every day. I often need to do "a thing" between tasks. These "things" are not really part of the task, they're just needed to get to the next task, and they're disruptive enough in time and focus that I feel I've gotten off the train and then back on again. Now I really don't think about them, and my involvement with these things is only as long as it takes to type out the command.
Definitely a different approach. I think I will try that. I would imagine you end up refactoring the documentation as much as the code.

I pair quite a bit these days, and this may compliment our process nicely.
> If you're used to gophering in to balrog.example.com then a www probably was required to get a browser to reach the www pages.

Wouldn't the protocol before the domain handle that ? Same goes for ftp etc.
It scares me that it's becomming applicable where ever they want it to be.

Soon we'll have to arrest everyone for drinking alcohol, because that's against laws in some countries, we'll have to arrest all women for driving, because that's against the law elsewhere, etc. etc.

The list is endless, and, IMO, pointless.
I cleared Firefox's cache, opened the waterfall diagram, and looked at the time between when I hit enter (assuming that's 0ms) and the time when the request for the www.* address went out. I was planning to subtract off DNS time if necessary but in all cases it hit the cache and contributed 0ms.

I didn't have wireshark open so I don't really know what happened with google. It surprised me too. Maybe something had to be re-transmitted? Now it seems to take 90-100ms. Perhaps I should have done best-of-three, but my point wasn't about precise numbers, it was about orders of magnitude, and "tens to hundreds of ms" is definitely more in line with what I expected than "a few us".
Impact ejecta, according to http://www.planetary.org/blogs/emily-lakdawalla/2016/0128165...
When I started learning Golang last year I found the awesome-go list quite helpful. Not because I needed every single library mentioned, but because it quickly gave me an impression of how the ecosystem plays out and what typical ways to build stuff are. Because that's quite important in case you're not starting from an existing framework (.net or Rails etc).
Why is the federal government in education?
As long as they're not leading a group of other cyclists and I'm not having to try and keep up with their motor, there is no taboo in my area (Austin).
Ask HN: Do you have any repeating tasks that can be automated?
Do you have any computer related repeating tasks that can be (or already are) automated with software either fully or partially?
If you use margin: auto on an element inside a flex container (for example margin-left:auto to float right), you can position a floated element in correct content order.
> there's nothing that says the host country can't put a captured foreign intelligence officer in prison

There is something that literally says that, which is article 29 of the Vienna Convention on Diplomatic Relations of 1961.

https://en.wikipedia.org/wiki/Vienna_Convention_on_Diplomati...

So, the way we as citizens are subject to the law of our respective governments, is the monopoly of violence. Obviously, a similar mechanism doesn't exist for international law[1], but violating a diplomat is technically casus belli.

Anyway, you're right in that the main sanction is the breakdown of diplomatic relations, but that doesn't mean that the ground rules are vague gentlemen's agreements and handshakes.

1: at least formally -- only a few countries would be able to get away with executing US diplomats without being treated to something resembling a monopoly on violence, yet the Vienna Convention is also respected among countries that could not do that
Show HN: Our hackathon project – Hermione.js a framework-agnostic model layer
I downloaded it one day and realized it was a attempted closed software atom app...just unzip it if you want to comment out their JavaScript security line. Other than that it seems like they took most of their code from a similiar atom project that is completely free and open source.
I live close to switzerland's borders, and it's incredible the disparity in terms of salary/cost of living between switzerland and all it's neighbors.

I do not consider myself poor, but there's no way I can afford any sort of holiday in switzerland.

I have friends and some colleagues in switzerland: for them, a year's rent of my house would equal for roughly a single month of their salary. For those living close to Geneve, sometimes less.

It's mind-blowing, really.
"just" 8 have won nobels and "just" 1% end up in the national academy of sciences? this is unimpressive compared to what?

this article is just bad science and lazy writing. before we can even entertain his conjecture we need two data sets, easily calculable by anyone with freshman college math:

x% of child prodigies become nobel prize winners or national science foundation award winners. the distribution of other scientific achievements for such prodigies has a median of y and spread of z.

a% of STEM college graduates become nobel prize winners / national academy members. the distribution of other accolades is b with a spread of c.

x,y,z compares how with a,b,c

the results can be interpreted different ways but at least we have a starting point for rational discussion. the rest of his article is mere conjecture with emotional posturing with an agenda.
Yes, and the new versions will have updated Swift. The four year old Objective C books will contain valid code with outdated API calls.
Aren't avatars already supported with the CTCP AVATAR command?
I don't talk with people who are saying web in 2016 is possible without JS. They are either trolls or fanatics.
Distinguishing "enforce" from "teach" might help with answering.
We're the Only Animals with Chins
What does Spetsnaz do with this? It's the same as you would say that Delta would prevent some crime in US soil.
What you should be doing with your income, day job or "residual", is investing it starting young or now, and doing it sensibly.

So write some tools to help you do that, with the goal of getting things up to as automatic as makes sense.
India may pull plug on Facebook’s bid to offer free Internet service
Can I ask you to explain that "-o\ /dev/null{,\ }" magic ?
Nobody ever factors in the BI in that tax equation. For some (many?) people, they'd just get their additional tax money back again as their BI payment - net zero.
The Fortifying Pleasures of YouTube Cockpit Videos
Perhaps wooden building blocks with different colours and shapes? You can't go wrong with these - worst case they'll learn category theory ;) But to be fair (and completely serious now) I would not get too obsessed about that. Kids have a way of showing you what they find interesting at any given moment and I think it's best to just go with the flow without planning for specific outcomes.
And if it were reversed where a female subordinate complains about a cursing Indian male project manager? Uh oh Patriarchy!
Are there sites that have datasets other than financial? (I also think financial data is too dry, boring)
Will these changes eventually make it into a new RFC? IRC is an IETF standard.
7 Reasons That Rexx Still Matters (2011)
Rough estimate is the Outlook app has over 70k lines of Swift, which is just over 50% of our codebase (the rest is Objective-C). That doesn't include external libraries.

One of our devs starting adding Swift code to the project about a year and a half ago. After that proved successful, the rest of the dev team then started getting up to speed. For the last 8 months, all development has been done in Swift.

We don't arbitrarily rewrite existing source, but if we're making changes to an existing Objective-C file, we evaluate if it would be worthwhile to rewrite in Swift. Often the answer is yes.

From our perspective, Swift is absolutely ready for primetime. For a large codebase like ours, it takes some time before you see direct benefits, but if you keep with it, I'm sure you won't regret it.

I should mention the downsides: the migration to Swift 2 took time, but it wasn't awful. I'm sure we'll have similar issues moving to Swift 3. Also our compilation times are quite a bit slower than with purely Objective-C.
There's a difference between spies & gun-toting operatives. Spies usually work under diplomatic cover, but operatives (think seal team six) probably don't get their passports stamped when they enter a country.
That's actually likely to happen in any country that offers it; it could only work if they exclude immigrants from either the program or the country itself, else half of the world will flock to Switzerland to live there. Although IIRC Switzerland already has a very restrictive immigration policy as it is.
Check this out. A really good collection of landing pages:

http://www.land-book.com
Reportedly too early can be even worse.
Well, at least they still have the Zune