skysight-inc/HackerNews huggingface dataset:
interesting. makes me wonder if he were to write it out on paper would that still be ok? since i'd say the spirit of that requirement is the person is still able to express their desire unambiguously
There is a difference between providing useful, constructive criticism and rude complaining.
> I've seen many posts comparing Trump to Hitler

Trump wants to register and record all Muslims in a database. You can't tell me that doesn't smack of Nazism / fascist policies.
Python has always had Go-like interfaces in practice. The problem was that they were not reified into the code, so you had no easy way to know when calling a function and passing it a "file" exactly what file-like things the function was going to do with that "file" without reading the source code. You had to extract the interface yourself.
It's so bad that big companies, like Netflix, have to write a whole service to store a copy of the s3 metadata: http://techblog.netflix.com/2014/01/s3mper-consistency-in-cl...

Netflix have turned the S3 metadata eventually consistent problem into s3mpr metadata eventually consistent problem. The difference is that they can now inspect and reason about s3mpr's metadata.

Spotify have had to do the same thing for Google Cloud Engine.
I can't help wonder if eventually consistent object stores will go the way of NoSQL databases, when a consistent, scalable hierarchical filesystem appears.
The only nice thing about this election is I don't have to give two shits about Podesta's e-mails or the random insane bullshit people like you imagine are in them anymore.
[little spoiler warning]

I wouldn't call it "this exact topic", since the primary attack vector in the story are smart meters, but still can second your recommendation. The book is highly based on a study founded by the german government[0], analyzing the outcome of a great scale blackout. The study is also worth reading, unfortunately only a german version is available.

[0] http://www.tab-beim-bundestag.de/de/untersuchungen/u137.html
It's not that bad, but it is too much.

Regexes aren't a semester topic, nor are the functional elements of Python.

It's appropriate for a survey level course around 3 semesters into a CS undergrad program, if they choose a focus on the user interface side (PyQT or Web, not both).

Structure the material as a series of projects (some building on prior ones, faculty generated source for students that muck up an old project too badly to easily refactor it or where it barely worked).

After the course, these students should have a greater breadth of coverage that can inform their choice on later (specialised) courses and help them pull all of it together for a later senior project or similar course.
Can you provide a use-case for when you would need to be able to easily switch (or potentially hot-swap) cloud storage? It sounds like some of the justification for ORM's; while it would be nice to have if it took no more time to integrate with that API its hard for me to see how it could justify extra effort in implementation/maintenance unless you have a concrete understanding of when you need it.
What are the typical trade-offs of outsourcing all the data manipulation & lookups to the DB. Are there cases when this is absolutely what you don't want to do?

I realize this is a very general and vague question but it's something I've been pondering about.
How I learned React and how you can too
The first time I ran it, it seemed to have "learnt" perfectly after 4 generation ... Now im at 16 still no luck.
Have you seen Trump's EPA pick? We're all going to pay one way or another.
Looks like a handy set of tools. Check the spelling of 'Download' on the linked page :)
Cool, thank you too.
I don't necessarily disagree that they went too far though I assume they probably had good reason at the time in most cases.

I'd prefer it if the decision to trap or not were an option to the compiler.

It would be nice if there were a GUARANTEE() macro so that the programmer could specify conditions that would never happen even in a production build like: GUARANTEE(n >= 0). Also if trapping was enabled, it would trap at runtime. This is a nice post about that idea http://blog.regehr.org/archives/1096
There's another solution. Stop concentrating wealth in a few cities around the country.
Wow good for the environment :)
I know, but it's the limitation on characters for headlines on HN. Isn't it clear with S3, which is storage only?
Nice use of the new top-level domains.

Perhaps it would be more appropriate to make it trumpswall.lol
The best example I can come up with is Compton scattering. Here, you are colliding photons with an unbound particle, therefore one that does not have quantum energy states. The quantum nature of light is shown by the fact that the degree of scattering depends upon the energy (and therefore wavelength) of the incident photon, and not on the intensity. If light were just a wave, then the effect would go away if the intensity were low enough.
Can you make full list of nations which are liked by Russians, please? It will be very short, I guess.
Frankly i think that oversimplifies what happened in Ukraine.

The civil war may or may not have been part of the plan, but the primary Russian goal was to secure their supply route to the Black Sea naval port.

A port that Ukraine had been happily leasing to the Russians since the dismantling of the USSR.

There are no such reason for Russia to enter Norway. They already have Murmansk as a naval port, and they export way more oil and natural gas than Norway.
Same for me in Firefox (on Windows 8.1); it seems to be at about 2010 pixels that the text stops falling off the right-hand edge.

Works OK for me in both Chrome and IE. Also works OK for me in Firefox on Android, at a couple of different widths.
It's probably just the switch (didnt read the article). A 2-3x performance improvement is reported in almost every project that makes the switch.
One candidate was telling you that they were going to do nothing, the other was telling you they were going to do something, but planning to do little to nothing.

I guess my point is that if you want significant action on climate change (I do too!), you were always going to have to fight for it with your representatives (R or D) vs the industry donors.
Yes, integer multiples would be better. Don't know why I said even.
We hold fair elections for the purpose of not rioting.

More specifically, the legitimately of republics (which is what the US is, not a "democracy" in the political science sense) is part and parcel of their solving the succession problem, in monarchies, "The king is dead, long live the king" frequently didn't hold.

Attacking the legitimacy of an election like this is one of the gravest attacks you can make on the nation. It should be thoroughly discouraged.
NYT links are all paywalled for me, but I can't envision any possible excuse for what he did. I understand that "access" is a tricky problem and involves some moral grey area, but sending articles ahead of time for revision and "vetoing", and asking for permission to use a quote... those both strike me as a clear failure in journalistic ethics.
How Stephen Wolfram Figured Out Interstellar Travel in One Night
You call the Flashlight app, "personalTelephones"?
seven years of go and they still don't have a ternary operator.
--------------------------------------------------------------------------------

TRACTR | Montreal | Full-time | ONSITE & REMOTE | Lead Developper

--------------------------------------------------------------------------------

TRACTR is a small, but talented, Montreal based creative-tech team. We write web & android apps for start-ups like gosports.com, plansante.ca, geev.fr, lavitrine.com and others.
We are looking for a LEAD DEV to manage our Montreal's front&back-end team.

Stack: MongoDB, Hapi.js, Angular.js, React.js, Node.js and Docker.

Responsibilities:

* manage and provide guidance to the dev team

* improve our CI and deployment process

* developing and scaling APIs and a frontend products

Hiring process:

* In person meeting/brief on Friday

* Write a PAID sample project assignment over the week-end

* Present work to the team on Monday

Interested?

Say hello@tractr.net
The reviews on Comparably suggests the executives at Twitter are more of a problem than middle management. That is, they get a rating of 63/100, versus middle management's 71/100. I suppose it doesn't matter either way, as 75/100 (or 80 is even better) would be the lowest score I'd be comfortable with.

Ratings according to Engineers: executives = 66/100 and managers = 75/100.

Either way, whoever's bad should go.
If we are serious about climate change, shouldn't we be thinking long and hard about flying anywhere for a vacation? Maybe take a ferry/cruise to the Bahamas or some other Caribbean island?

https://www.frs-caribbean.com/ferry-routes

Or drive to Mexico or another Central American country?
I was pretty happy to find this out recently. It was a non-tech person who brought it to my attention actually. It's definitely motivation to monetize some small projects I've had in mind for a while now.
a combo of cost cutting and safety requirements?
Forget timestamp and use trumpstamp
http://ed.ted.com/lessons/beware-online-filter-bubbles-eli-p...
KITT.AI's ChatFlow builds better chatbots, adds dialogue
Alibaba Posts $1B in Sales in 5 Minutes on Singles’ Day
It's not a secret that Surface has not been selling well. Actually maybe it is, because the numbers have to be derived by working backwards by dividing revenue with ASP. I think it was something like a million units in the last quarter.
If you live/work someplace like Los Angeles where "fast fashion" startups are doing a significant amount of tech hiring, it's useful to understand what they do and the difficulty of being "disruptive" in that space.

It's also useful, as a man, to have a basic understanding of the fashion industry as part of being an educated human being. You can tell a lot about a woman by how she dresses herself. Especially her shoes. :)
The dropout regularization method for neural networks was sort of inspired by this observation, i.e. that recombination (combining genes of more than one individual) makes the resulting structures more robust [1]. The idea is basically that it avoids overfitting to the evolutionary context. This has two effects: the fitness cannot change very quickly in response to single mutations, and, conversely, it avoids that genes co-adapt such that the entire genome becomes inflexible at exploring alternatives.

To achieve the same without sex, mutations would would have both break up the co-adapted genes without breaking their functions and also find a good alternative mutation. With sex, it does not matter if co-adapted genes are broken up, because they are forced to evolve to deal with it. (This is kind of similar to the concept of learning to learn in neural network research.) Also, if a parent gene is unfit, it is possible that the child can escape this mutation by receiving that part of the genome from the other parent instead by a 50% chance.

[1] https://arxiv.org/abs/1207.0580
Thanks. I'll correct that typo asap but currently I don't want to clear the cache :)
FrontApp (YC S14) is hiring software engineers
It's almost like you're taking your personal experiences and extrapolating them to the entire world. Step out of your bubble.
To be fair, she was saying that to acknowledge to her supporters that yes, many Trump supporters are irredeemable as a preface to saying that many others are redeemable and do have real concerns that Democrats ought to try to address, or try to communicate the ways that they already try to address them better.

I don't think there was anything wrong with that part of that speech per se, though in the context of a political campaign it was absolutely a dumb thing to say, even though the sentiment was both accurate and aimed at encouraging reaching out to the other side. Someone should have known what kind of sound-bite that section of the speech was going to be cut down to and heavily reworded it so that wouldn't happen.
> I have decided to get proficient in Go about 3 years ago and I am glad I did. One of the discoveries in the process was that Go enables you to do things that previously were extremely difficult and you'd typically not even consider as options.

Such as?
Significant improvement in response times, TPS, and memory usage are pretty universally observed when switching from PHP5.x to PHP7...

https://www.symfony.fi/entry/symfony-benchmarks-php-56-hhvm-...

http://www.zend.com/en/resources/php7_infographic

https://techblog.badoo.com/blog/2016/03/14/how-badoo-saved-o...

Edit: A slide deck with some detail on why it's so much better: http://www.slideshare.net/nikita_ppv/php-7-what-changed-inte...
That's a terrible analogy. In a production crisis, you have full knowledge of and access to the system being diagnosed, have all your standard tools and information sources available to you, and are able to enlist your co-workers to aid you. Been there, done that and it's's nothing like a interview whiteboarding session.
For a cheater, these are lucrative areas: Areas with low income and education rates, where the populace doesn't typically vote. Stuffing the box won't go noticed due to low election turnout.

In Kansas, we have a system to prevent ballot stuffing. You must show state or federal issued ID. Your name must be in the pollbook for the location and pre-registered before election day.

They have two areas: The first, you show your ID and they check your entry in the location's pollbook. The fact that you showed up to vote along with the ID you presented is recorded electronically statewide and is public information instantly.

They then print an anonymous "voting ticket" and you're taking to a separate area or room. A smart card is exchanged for your voting ticket is put into an air-gapped system and you cast your ballot. Your smart card is removed and tallied on a third air-gapped system. When the poll closes, the tally machine is handed over to the county.

This system makes it nearly impossible to stuff the box, because the number of votes cast at a location cannot exceed the number of IDs presented at the checkin location. It doesn't protect from changing votes, which would require a much more sophisticated attack on the machines themselves.

It's not perfect, but it is fairly good at stopping unsophisticated opportunistic attackers. I would feel much better if all of the USA adopted such a protocol if we go to a popular vote, but that's unlikely to happen, so I can't say I'm comfortable moving away from the electoral college either.
>I can't help wonder if eventually consistent object stores will go the way of NoSQL databases, when a consistent, scalable hierarchical filesystem appears.

Of course they will. Eventual consistency is a huge tradeoff that I don't think anyone would make if they weren't forced to.
> So in 1992 a random university student discovered one of the two "forgotten" amendments and that it was still legislatively "live" -- it would take effect if enough states ratified them. He campaigned hard and got the amendment (which says any increase in salary for members of Congress doesn't take effect until after the next House election) ratified, as the 27th amendment.

A minor correction to this fascinating story: according to Wikipedia (https://en.wikipedia.org/wiki/Twenty-seventh_Amendment_to_th...), Gregory Watson, a UT Austin student, discovered it in 1982. The significance of the year 1992 (in this connection) is that that's when it actually became part of the Constitution.
Don't you mean an NFA?

If there is an ambiguity in the grammar that takes some time to resolve, a recursive descent parser can easily take exponential time. What tail call elimination does is keep you from having a giant call stack, but does not fix the potential (though rare) performance disaster.
Asking all companies: what software do you wish you had that isn't available?
Ask HN: What to do with counterfeit hardware?
I ordered brand new Corsair RAM from Amazon itself (not some reseller) and received something that look like the Corsair DDR3L 2133 sticks I ordered before, with the same label, but that shows SPD information identifying them differently. The label says 2133 however.

I fear it is likely to be some kind of counterfeit item - maybe someone is just counterfeiting label and boxes to defraud unsuspecting buyers, who may not have other sticks to compare.

I tried calling amazon, they said to just return it. I asked my call to be escalated, they didn't seem to care much. Returning it for a refund won't help solve the problem: there are counterfeit items that somehow end up on legitimate resellers site.

I would never have caught that if I had not run a memtest and checked the SPD information.

So I ask HN: what should I do? Who cares about counterfeit hardware, except the client? (there is some serious price difference between DDR3L 2133 and 1600)
Has nothing to do with includes, it has no error. The C compiler will automatically know its imported. He probably thinks that `int *` is 32-bit regardless.
Not exactly what's being asked but I've seen some people (a lot?) incorrectly implying Clinton got more than half the votes. In reality, at the moment, 52.3% didn't vote for her. This is relevant in the sense that in some voting systems a presidential election in which the winning candidate gets < 50% could allow a second vote (sometimes weeks later like in France; sometimes on the same day, like voting for the London Mayor in the UK). In some cases this could also allow defeated candidates to form a coalition for a new majority aiming to replace the winning candidate.

One thing which is usually not discussed is the advantages of some systems where the most voted candidate or party don't win the election like FPTP in the UK.
Trump will just slap a tariff on them.
>What is it being used for? HTTP servers?

Yes, that is one big area - networked servers - a superset of HTTP servers. The Google site that serves the Chrome browser is supposed to be a Go app, and I've read Google uses Go a lot internally. (I'm sure Rob Pike and his team must be using it, after developing it for that very purpose.) Reading up on the goals of Go will give some insight into that. Part of the reason was that they wanted it to write big systems at Google, including networked ones, and wanted a better experience than they had with C++ (build times [1] and also other issues). Rob Pike has written some about it, others may have too).

[1] This video that I blogged about:

Video: C++, Rust, D and Go: Panel at LangNext '14:

http://jugad2.blogspot.in/2016/08/video-c-rust-d-and-go-pane...

has many interesting language-related discussions; one of them is the discussion about the build times of C++ vs. those of more modern language. There are concrete reasons why C++ build times are relatively so large - the use of include files is part of the reason - those are discussed some in the video, between the panelists, including some of the language (co-)inventors, such as C++'s Bjarne Stroustrup, Go's Rob Pike and D's Walter Bright.

There is a nice moment or two near the end where Stroustrup responds about C++ build times - okay, won't spoil it for you and others - go see it :)

Command-line tools is another area where Go is used a lot. Getting the convenience of deploying a simple single binary (maybe at the most a config file or two with it) even by just copying to the deploy target - unlike what you have to do with interpreted languages like Python and Ruby (unless you use something like PyInstaller or py2exe for Python, but that is not officially supported and may or not work for all Python apps [2]). This gives us back some of the convenience of older compiled languages like C where this was the normal way of deploying - but with some benefits over languages such as C (see Go vs. C topics), plus goroutines, channels, etc., I guess. Though I have not come across any examples of what things command line apps using goroutines and channels could be used for - it would be interesting to hear/read about some. I mean apart from a few somewhat obvious ones such as a web client to download multiple URLs in different goroutines, concurrently.

[2] I've tried out PyInstaller on a few Python apps, including command-line apps, and a simple wxPython app or two - it did work okay for those, in the limited testing I did.

Edit: fixed typos, added a few points.
I support the notion of right to die, but the language of this measure is pretty ambiguous with regards to the patient rescinding the request.

I think it leaves the door pretty far open for someone to claim that a person who has made the request is rescinding it when they in fact are not. The language of the measure says that the patient can (paraphrasing) "rescind by any means" their request.

I appreciate that nobody wants to put someone to death if they changed their mind, but I wish the language wasn't so wide open.
As opposed to what? Some other major media outlet, pushing their own agenda on previous elections? Give me a break.
facebook makes each of us our own editorial review boards. we call it, a "wall".

you're all idiots.
1000+ Lead Generation Strategies, Ideas, Best Practices and Examples
Ideally you would put as much of the "business logic" in the go code as possible, and have it "render" to something like JSON which the front end just reads in and displays. Interactions with the front-end just send a new request to the go code to handle and respond with what is needed.

It is a lot more work for small applications compared to something like wxWidgets, but for larger applications the decoupling of the front end from the "back end" can help in a bunch of ways.

It lets you develop them somewhat separately, it gives you a uniform look-and-feel across platforms (could be a pro or a con depending on how you feel about it), and allows you to do something like replace the web-front-end with a native system later if you want (and you could write the front-end in the platform's native GUI widget library for best performance and integration while keeping the backend code identical).

So your go code is basically an HTTP server at that point, but it frees you up to let go do what it does best without worrying about how you will display it, and it lets javascript/html/css do what it does best (display stuff).

I've had great success doing this once before, and if you have some experience with React, it works out really "beautifully" as the front-end can be completely stateless. So what was pushed to it from go is what is displayed. Easy to test, easy to develop, and easy to replace if needed.
In 2008, people didn't demonstrate or burn garbage cans because McCain refused to run a racist campaign because that had been done to him by Bush+Rove in 2000.

This was why McCain lost South Carolina. McCain has an adopted Bangladeshi daughter, Bridget, and the Bush people ran a whisper campaign that she was black as if that mattered but it did in South Carolina.

So in 2008, McCain instead ran pretty much straight up against Obama and since that essentially meant running as a third Bush term, he got buried.

Romney ran a pretty clean campaign only obliquely mentioning the Birther nonsense.

I don't even have to tell you what kind of campaign Trump ran since you just lived through it.
We currently live in a political climate where having the "wrong" opinion means that you are a bad person.
You mean how the left wants to ignore islamic terrorism and instead attacks Christians who don't want to bake a cake for a gay wedding?
When you make labor not prohibitively expensive, these jobs can't pay their workers enough to put a roof over their heads, and food on their table.

If your job can't provide poverty-level income, you aren't helping.
iirc Finn's drink more per capita than any other nationalities...
I'm not sure what point you think I'm trying to make. A language can be better than its competitors/alternatives while still having room to improve.

I'm not saying "Elm is bad", or whatever.
QA Testing Tools forum – place of knowledge about CSS regression testing