skysight-inc/HackerNews huggingface dataset:
If a sizeable portion of the country is contemptible or wretched, why on earth would she not say it?

It's not dismissing them, it's saying they hold contemptible views. Just as, at one point in time, I'd imagine 50% of the population were in favour of slavery.

It's not a good political move, but it's telling the truth.
Big problem for NASA: once they discontinued manned space flight, they now have a very hard time getting back into it. The Russians spacecraft is considered relatively safe because they are building upon a proven technology that has been "debugged" for decades now. NASA just has a prototype that hasn't proven anything yet, and I doubt it will be ready by 2023.

The decision to go for a lander with wings and wheels looked so progressive then, and looks so misguided from today's point of view. NASA could build upon decades of expertise with Apollo-like spacecrafts today in order to build their Orion. Having switched to a shuttle, now they have to begin from scratch.
"Well implemented true RDBMSs..." exist only in the weird fantasy world of relational purists. In that perfectly normalized world you just wave your magic wand and all performance problems disappear.
" It should also solve the "don't know how to start" problem, because it de-emphasizes planning and design in favor of just jumping in; you write the tests, and then you do the bare minimum to make them pass"

It doesn't SOLVE this problem. It only pushes it in time, making it actually worse, because you're wasting time on stupid tests instead of actively researching a solution. No amount of tests is going to help you find the right solution if you don't know what you are doing. See http://ravimohan.blogspot.com/2007/04/learning-from-sudoku-s...
> The systems using a Linux kernel are right now running with security flaws. Those flaws are just not known to the developers yet, but they’re likely known to attackers.

I don't understand where he's deducing the second sentence from.
This can work at places where the roads are wide enough. Unfortunately, this wouldn't work in London.
"We've used data from your employer's requirement to register you as a foreign employee, and the fact that you've been shopping at B&Q recently, as probable cause for a broad-reaching search warrant against everywhere you spend time - your home, work, mosque, social clubs, and your best friend's house. At the same time, we're detaining you under the Terrorism Act on suspicion of materially aiding a terrorist operation."

That should be a lot scarier than "they're taking our guns away" or the obvious continuation of capitalism. Many countries across the EU, and the US, have politicians with broad support who are promoting outright fascism. It's not very difficult to see where this road goes for members of our least accepted minorities.
similarly, and less specific to the us election (so maybe of less relevance) is this site, that asks you a bunch of questions then plots you in two dimensional social/economic space:

https://www.politicalcompass.org/

Amusingly political compass says I completely disagree with both Trump and Clinton - they're both in the Authoritarian-Right quadrant, whereas I end up in the Libertarian-Left quadrant. Whereas isidewith says I agree 98% with Clinton and also with Jill Stein, on environmental + criminal + electoral + social issues.

So I'm not sure what we conclude from that. If both sites are accurate then my best choice on the menu is Clinton, but the menu is terrible and doesn't have any options remotely like what I actually want.
My gut feeling is that TDD is just a way to encourage me to actually write tests. I suspect I'd have just as many tests if I had someone prod me every 20 minutes to write a test case or two. Having one or two tests also creates a bit of a wedge to make me write more: once there's some code that can be neglected I can feel guilty when ignoring it.
Regarding pointers, I think a good way would be to teach them both visually and without many C style tricks.

C style pointer tricks are better left for level two, so to speak.

Probably a good approach teach Rust's OO way is to introduce traits as kind of extensible modules that can be composed and go from there.

It is not 100% correct, but I guess it is easier to teach than going full theory with traits being a kind of type classes and do on.
Having a document on how to pull source, build it and deploy it in a development environment

Have a bug to fix for them

A starter project which involves using the codebase in an interesting / different way.
Pretty much the only points which make sense are threats of violence and impersonation. Maybe invasion of privacy.

Exploits and NSFW is just silly and the rest is asking for abuse.

> I'm sure agreement is much higher for their rejection of "Active malware or exploits".

Not really, especially when they use it as an excuse to censor lists of malware-infested websites

https://news.ycombinator.com/item?id=12712648

while providing hosting for years to famous projects like

https://github.com/rapid7/metasploit-framework

Not that I think they should take MS down, of course.
They can be harmful, but diagnosed ADHD/ADD is almost guaranteed to be harmful, maybe especially in todays society. More than doubled risk of depression is only one of the risks of the above diagnoses, and while many of the risks could be said to be more of a societal issue - at least in the beginning - they tend to cause actual health problems over time. Overprescription can always be an issue for any medication, but that's not really an issue with the medication itself is it ?
In Nottingham some buses allow cash but only exact change.
All these allegations, not a single tear-down?
Smells like lazy reporting.
There was another topic on HN talking about these datacenters.

Less than 50 people work in a typical datacenters. All the R&D to make the datacenter is done outside of it, in R&D centers.
Growing trees to cut them down and bury them in landfills is carbon sequestration. /s (but only partly)
And he's never actually meant anything he's ever said, and then he usually goes on to contradict himself if he ever mentions anything more than once, so it really doesn't matter that he hasn't said anything about it either way.
Oh, I know this one!

I use 3 different computers regularly, two tablets and occasionally a phone.

I used to try to keep environments synced across them all. That was fun during the 1990s, but I'm over it now.

Now I do as much work as possible in Jupyter notebooks. They suck on tablets, but I never, ever have to worry about having the tools installed anymore.
The onus of proof is on the TDD pundits to prove anything substantial.
I think in the new left/right post-war arrangement is losing territory in Europe and to a lesser extent in the United States.

What we're seeing I believe is the old right and left coming up. You see that a bit with Sanders (who I see as a moderate leftist who'll be replaced by somebody further to the left), the new Labour leader and then UKIP/National Front and the neoreactionaries which hail from the 19th century.

This is why there is so much aggravation around and fur flying. Lots of people are being exposed to the concept that huge numbers of people seriously disagree with them for the first time. Old questions considered settled are being redebated and the old answers are no longer convincing.

If this is allowed to rise then a form of balance will be achieved. As President Snow articulated in the Hunger Games, you actually require a certain amount of change to keep long term political stability.

If not then yes, I do believe there will be war. I've felt that way for several years now. I think the CIA analyst's predictions and timeline on Europe are accurate.

tldr; If you allow Trump/Le Pen etc in power now, there will be less conflict later on. If the established order in the West cockblocks today then tensions will build into much worse outcomes.
Still, I would hope that this is a planned-for possibility, that git might switch hash functions some day. Though it would create repositories that older versions of git can't use, and I don't know if they ever have made a backwards-compatibility breaking change like that.
Yeah, I switched to VS Code because of the nice Rust plugin, and the editor is now really growing on me! The Elm support is also getting quite good.
Students are not even a good sample for the efficacy of TDD.
A lie flat biz seat/pod, on a long haul flight, generally takes up well more than double the space as an econo seat, no?

"get your own armrest with minimal additional legroom" does exist, on many carriers. It's called Premium Economy.
Let's dispell with this notion.

Telling only one side of the truth is a form of a lie.

If you are actively soliciting, and distributing dirt on only one of the parties involved in an election, though it may be the entire truth, you are not being HONEST.

Especially if the information you are releasing was providing to you by a malicious 3rd party State who/which is releasing it to you in the hopes of influencing the election so that a candidate preferable to that 3d state comes into power (Russia).
That's all well and good, in the dreamy theoretical lands of academia. But when ideas turn into actions, and the actions have been seen before and we know the consequences, can we not criticize those who now promote them?
What I hear strikes me as par for the course in the high life of an era that is now bygone. Honestly, what do you think went on there?

I wonder what kind of saint would be able to resist the trappings of wealth and fame in the 80-90s. Judging from the condemnations all around, we're surrounded by such saints.
Hi

We are thrilled to introduce you to PleasantFish, a job recruitment platform for top tech professionals.

Pleasant Fish is a job marketplace for top professionals. It allows them to showcase their skills and capabilities (reviewed through their coworkers) and apply to the matching jobs relevant to their skill-set. Its a reverse of GlassDoor as it gives insights about potential candidates and their performances at their previous workplaces reviewed only through their coworkers anonymously.

How it works?

- Candidates lists down their current skill-set and ask their colleagues to give them private/anonymous reviews.
- We provide candidates with relevant jobs based on their skill-set.
- Employers/Recruiters can see get insights about their potential candidates from their coworkers.
- Candidates also improve upon their skills through custom skills-related content network handpicked from best sources.

Looking forward to hear your feedback!
> I find TDD helps me tackle bigger code-pieces where I just don't know how to start implementing.

This made me think. There are many axes of software development, and aside from TDD/non-TDD axis, there's also the bottom-up vs. top-down axis. By top-down, I mean you start with a skeleton that provides an interface to the outside world, and the fill in the implementation details. Bottom-up, on the other hand, means you first write some routine that you know will be vital in some form or another, but without immediately seeing how it will be hooked into the interface to the outside world.

Top-down has the advantage that you can have something runnable quickly, and it seems to me that TDD requires top-down development.

But somehow, there have been times when I was working on a piece of code and it just flowed more naturally in a bottom-up manner. It has happened that I went for a day (and very rarely longer) working on tricky algorithmic code before I even tried to compile it for the first time.

This is definitely something that I try to avoid when I can, it's just that sometimes it works out that way. And it is totally incompatible with the TDD way of doing things.

How often this happens surely depends on the type of project you're working on. As usual with these things, it seems like TDD can be a useful inspiration, but it shouldn't be taken as dogma.
Suburbs are popular? You must be kidding.

> "In many parts of the developed world, suburbs can be economically distressed areas, inhabited by higher proportions of recent immigrants, with higher delinquency rates and social problems. Sometimes the notion of suburb may even refer to people in real misery, who are kept at the limit of the city borders for economic, social, and sometimes ethnic reasons. An example in the developed world would be the banlieues of France, or the concrete suburbs of Sweden [...]. Thus some of the suburbs of most of the developed world are comparable to several inner cities of the U.S. and Canada."

More seriously. Suburbs may be the trendy area in the English speaking world but that's not the case everywhere else. Watch out when you go to holidays/business trips abroad, there are 'suburbs' you don't wanna end up for your own safety ;)
Distance Tables Part 2: Lee's Visibility Graph Algorithm
Telling only one side of the truth is a form of a lie.

Real truth doesn't have sides.
MSVC is commonly used to refer to Visual Studio, more specifically the C++ compiler that's part of it (originally "Microsoft Visual C++"), which would explain the parent confusing the two.
Ecuador embassy confirms it is to avoid US elections interference.

https://www.theguardian.com/media/2016/oct/19/wikileaks-ecua...
Experienced programmer may write tests after the main code is complete to make sure nothing is broken during refactoring. It has nothing to do with TDD.
> They refuse to let her host their instance of her product on AWS because Amex's security team supposedly hasn't vetted AWS yet. This despite the kinds of customers Amazon already hosts on AWS (the CIA comes to mind).

From my dealings with pharma companies, I will point out one thing.

For things where they have to follow regulations around privacy, they won't let you host your software on AWS for them to use.

They will have their in house team set up your software on AWS for them to use.

Setting it up themselves allows them to guarantee all the regulatory requirements are being met. The CIA isn't using Joe Schmoe's amazon instance, they spin up their own machines and install the software there.
The Death of British Business
Strange... that slider feature wasn't visible the first time I viewed the site. Maybe it got added in later, or maybe it was a browser issue.

Thanks for clearing that up, it's now a very good comparison.
> But programmers shouldn't need to consider whether the iterator is const or not when they just want to know if the loop is done.

and they don't: http://en.cppreference.com/w/cpp/container/vector/end - there's an overload returning a const_iterator. You don't need to use 'cend'.

And since insertion and deletion potentially invalidate iterators, 'hasNext()' is just as bad.
Amazon isn't: http://www.seattletimes.com/seattle-news/data/amazons-south-...
> that legitimizes DHH firing Basecamp employees who vote for Trump

Except that democratic voting systems are set up to make to make it impossible to prove who you voted for.
> Hopefully we'll have a Pi with better IO by the time it releases. :)

Are there any official plans to release a new model with, say, an on-board SSD connector or SATA port? Or is this just "Hopefully" as in "Hopefully it stops raining before I have to walk to the train station"?
Then, can the lack of serotonin really be the main, or only cause of depression ? If people with sufficient serotonin levels can get depression, then how can we argue that the actual increased seratonin levels is what helps people recover from it ? It seems like a quite strange argument to me.
They (SpaceX at least) are not 100% funded by the government.
Sunday is the most widely read and profitable day for newspapers.

It also helps to remember that newspaper readers are not the source of revenue for newspapers. Advertisers are the actual customers. With that in mind, a campaign promoting the best day for advertising makes more sense.
Reasons Why Everyone Should Visit Armenia
As I've said before: US presidential elections are a two-horse race, but both horses are pulling the same carriage.
Collection of Latest Research Reports for Human Resource Industry Professionals
At flea-markets, i think about 90% of all transactions are non-cash in Sweden. It's nearly all Swish. Swish is amazing - it's mobile payments supported by all the banks with no transaction cost. You type in somebody's phone number, the amount to give them, then authenticate it with your pin code (using a cert issued by your bank - basically another app).
And each Trump supporter, no matter what their ideology is, believes that they are the special snowflake who knows what Trump really believes in his heart of hearts. They believe Trump actually agrees with them just because they're smart and they believe he's smart too. They project their own hopes and needs and prejudices and bigotry onto him, ignore what he actually says while claiming to agree with what he is not actually saying, and cut him slack for lying about it in public, because of their special insight into Trump's true beliefs which just happen to align with their own that they're also afraid to say in public. That's exactly how dog whistles work: "You know what I'm talking about, right." [1] They've fallen hook line and sinker for a con-man whose only interest is the naked pursuit of power and self aggrandization.

[1] http://thehill.com/blogs/ballot-box/presidential-races/donal...
Thanks for that - I feel much more knowledgeable about flash memory now. I'd never even heard of NOR flash (although I understand what a NOR gate is).

One question though: why is NAND flash so much more resilient?
If you don't download any cracks or whatnot the built in is perfectly fine.
Show HN: Get encrypted data from people that don’t know how to encrypt
>USA might be a democracy but there is no power in the hands of the people anymore.

Question: How can we (I live in the US) still be a democracy if there is no power in the hands of the people?

I think either the US has slowly become an oligarchy[1], or it has always been an oligarchy that was merely good at pretending to be a democratic republic. I would vote if I thought it would have an effect, but sadly our voting process is inscrutable. I, like many others, pray for a revolution here soon.

1. Edit: just found out Jimmy Carter apparently agrees with this: https://theintercept.com/2015/07/30/jimmy-carter-u-s-oligarc...
Then we should stop using the inaccurate "astronaut" and call them all cosmonauts.
It's somewhat surprising to me that the "block editor" thing is so popular in these beginner kits. My son (almost 11) was introduced to it at school[1] and did not find it intuitive at all. We then got an Arduino and started to write some simple programs, and he took to it right off the bat. The Arduino programming platform is simple enough to get a 10-year old started off and scales so well to "professional" projects. IMHO, schools should probably just use the Arduino platform. But I guess different kids think differently, learn differently, and what's intuitive for one might not be so for another.

[1] http://biboxlabs.in/
Heh, as someone who was on SSRIs for a long time at high dosages, they definitely do something, but the issue is less whether the drugs do anything and more what you do during that time.

Personal experience with Sertraline - it doesn't make you happy or feel better or anything. It just numbs you, and you're really susceptible during this time. It's part of the reason why therapy is also really important in addition to the drugs to help get down to the core of what you're having issues with.

The old Zoloft "sad blob" to "happy blob" commercials are a real disservice to modern anti-depressant medicine since it is a very incomplete picture. Aside from glossing over the side effects of the medication, the pills themselves don't do much except stop the feeling of absoutely horribleness for awhile. They don't make you feel better - they don't make you feel much of anything. But things at least stop seeming hopeless after awhile, and hopefully you can begin to address the underlying issues.

In the case of true chemical imbalances like it's suspected I have, during this time you help find non-drug related coping mechanisms. Finding ways to help create a strong positive part of your life so the imbalances are offset and don't hit as hard. A lot of this comes just through therapy or at least a counselor while you work.

My first few times on SSRIs were the result of rather serious and dangerous break downs where those around me had pretty good reason to think I was a threat to myself. But these cases were mishandled pretty heavily since the doc just wrote a prescription for Sertraline and sent me on my way. Therapy wasn't even discussed, and our insurance at the time certainly didn't cover it since it was a non-essential medical procedure.

It wasn't until many years later and many changes of drugs later that I was finally in a position when I could do both therapy and have the drugs to assist that I actually made some progress -- the counselor and the psychiatrist worked in tandem; the counselor worked and would constantly try to see how I was when we lowered the dosage, the psychiatrist spent time making sure that the dosage was enough to keep me level, not pushing either way and consulting with the counselor to ensure they had a source of info that wasn't me.

I hope we find something better since looking back at the SSRI period, it was not a very good time in my life and I was lucky enough to get to a situation where I could get proper mental healthcare. I can't imagine how many others were just tossed on an SSRI without the proper monitoring and assistance necessary to actually make use of the effect, or worse, who weren't watched at all as the more dangerous side effects kicked in.
> and concluding that because they disagree, in fact all Star Wars movies must be pretty bad

No, I am not concluding that the TDD is bad, if anything, I am concluding that it doesn't actually matter. Anyway, I am not even clearly doing that, I just wanted to entertain the idea that some practices (such as TDD) can be placebo, so they subjectively feel as a good thing despite the fact that we cannot measure any effect.

Neither was my intent to touch the moral issue about placebos.. I think if it works for you, do it.

In fact, thinking about it some more, there can even be practices in SW development that have nocebo effect, that is, have no measurable impact, but make you feel worse. Daily scrum meeting comes to mind for me.
We are using Galera clustering with MariaDB on 3 nodes for that.

We are using it since 2014. First in line is a HAProxy which directs the traffic to one of the 3 nodes. If one of the nodes goes down HAProxy directs the traffic to the other two nodes.

This works quite well, as long as not all 3 nodes are down / lose network connection. After that you have to initialise the cluster again. One node is the new master and all later changes in the other databases are overwritten. Then we connect each node to the new cluster.

The biggest problems are write intense operations. We had more luck using two nodes as read nodes and using the third node as write node. When the data in two nodes got updated simultaneously the performance suffered heavily. After some smarter scheduling it works pretty well (as long as not all the nodes go down or the network connection between the nodes is lost). The slowest node can block the write operations for all the other nodes.
This is an excellent comment.

The "let's destroy every piece of furniture in the house" is exactly what happened with one of my parents, it's not a fun thing to witness but they eventually got the bipolar under control with lithium but the toxicity on that stuff is pretty horrible, regular blood tests for the rest of your life horrible.
The guy tried that before I join the project, but at some point the specific bulb stopped communicating with the cloud, and we decided to embark on the firmware extraction adventure. Also, it seems like they use SSL with public be pinning, and I am not sure if this could be intercepted by Charles. Though, he gets another bulb soon, we can definitely try this again :)