skysight-inc/HackerNews huggingface dataset:
> I didn't want to invoke any contest, but to remind C is used a lot in those contexts and zero termination seems to be one of the bug magnets. A very common source for security vulnerabilities as well, pretty large portion of them are related to string processing.

I understand. I think the gross majority of this comes from the C standard library though, and not from the C language.

qmail for example had no buffer overflow problems -- the first security vulnerabilities found 10 years after release wouldn't affect any system that qmail was developed to run on simply because nobody gave their mail server 4GB of ram! Surely the author should have predicted this problem, but it demonstrates methodology can protect against this issue.

KDB takes an interesting approach of reference counting in all operators. Operators can then be optimised for situations where one argument (or both) have a reference-count of exactly one. This means writing C code with KDB's memory management library can make things very simple.

Antirez also has an interesting string library that uses a combination of length+null-termination specifically for the purpose of finding bugs.

> There's just no way around it. I do want to delegate things to other people. Defensive coding tends to catch and prevent a lot of mistakes at that point. Many of them have pretty cowboy attitudes towards details such as parameter validation or error checking. Some of them will need to maintain it in the distant future.

I understand what you're saying, but I think technique can help a lot more than we think: Most of the software engineering industry wants to move to smarter and better tooling, and I'm just proposing we upgrade our brains some too.

I don't have all the answers yet.

> You're not going to put 300GB string in any standard string abstraction.

In KDB this is actually pretty common, but it doesn't have a "standard string abstraction" because while it meaningfully supports byte-arrays that are in the 300GB range, the string-atoms (symbols) which are used similar to strings in python et al, never approach 1MB let alone 300GB.

However in C I just did mmap() and updated the file. It took about 15 minutes to write and debug, and a few minutes to run on the server.

> I don't think anyone wanted to enforce immutability. Just to have it default.

I don't know. I parsed I don't know any good reason to deviate from these rules. as "enforce". I might be wrong, you'd have to ask "cousin_it" what he/she meant at the time. I know at least later they either were convinced, or clarified[1] this position.

However what I meant was that I don't want to enforce those rules because I can think of an exception for each, and they understood that. Sorry I was unclear though.

[1]: https://news.ycombinator.com/item?id=10842858
For a Better Society, Teach Philosophy in High Schools
If you need your business to be open for the same amount of time, reducing maximum hours to 3/4 means increasing worker count to 4/3.

Judging by the abysmal labor participation rate and unemployment stats in the US, this is easily done. Per-worker overhead costs would force an increase in the labor budget for most companies, though.

As many businesses have been ruthlessly slashing that budget category for a while, that is likely to prompt a lot of bitching and moaning from company management--even from businesses that depend on consumers being able to afford their products.

It's just a scheduling problem. If a business elects to be open longer than 6 hours per weekday, it will need to have some workers work at different times than others. But I do recall visiting the government license office once on my lunch break, only to discover that most of the workers there were also out to lunch, and took more time out of the middle of the day than I wanted to.

So, anecdotally, whether or not the world functions when you need it to function depends more on how much the business cares about serving its customers than the number of hours its workers are on-site every day.
With point 4, it's a sad reality when you feel you need to get drunk to have fun.
From Side Project to Profitable Start Up – Part 8 – December's Details
Design Mill to Showcase Torch Mixed Reality Gaming at CES 2016
To me, well done, is still creepy.

I am from Brazil, and I am openly dissident of our government, and here assassinations (And other unpleasant things) DO happen to dissidents (example: in the last year a couple anti-government bloggers all in the same region where "murdered", the police claim it was just normal murder, but the coincidence is too great to be just normal murder, they were obviously assassinated).

What happen, if some day the government decide to assassinate me? They can just waltz in with a market company, offer a lot of money (or if they refuse, a lot of pain), get my data, and know all that stuff about me.

Then, they can do with me, what they did with Toninho and Celso Daniel: intercept them on the street, kill them, and pretend it was a robbery gone wrong.

Toninho case was very obvious: He was intercepted while fetching some suits he had bought before, using the tech you mentioned, assassins would know for certain that he was there, since they could know he would need to eventually fetch the suits, and that once inside the building, you could intercept him at the exit, indeed as he was exiting the shopping mall that had the clothing store, another car drove by, shot him (not "at his direction", but at him, directly, Toninho died instantly because of direct hits), and sped away. The police claimed it was a random incident where random criminals randomly passing by got pissed off at him cutting them off in the traffic and killed him, beside all that being unlikely, Toninho had some days earlier said to the press that should "something happen" to him, stuff were already set for his successor.

So what matters to me is: How I don't get tracked, unless I go "off grid survivalist style" ?
Piketty: Capital Predistribution and Redistribution
This flying machine uses ducted fans for propulsion and control
Unaffordable cities: this criminal lack of housing is a global scandal
You're saying that the problem is that the Southerners are just eating too much rich food. The article, and I, are saying that that is a symptom of an underlying problem. The underlying problem is the eating habits which are artifacts of growing up in poverty-- Poverty caused by the civil war.

Hence the leap to "Civil War --> Heart disease"
It sounds like with the new Emergency Access they are generating a key pair for the emergency contact, encrypting to the public key and escrowing the encrypted the symmetric key for your vault data [1]. However LastPass also controls the private key... which seems counter to the marketing, e.g. LastPass should never have access to your symmetric key.

[1]: https://helpdesk.lastpass.com/emergency-access/
That's about the date I went back to Linux.

I really hated that the old KDE4 was just a clone of WinXP, and later Gnome until 2010 was just a clone of OSX.

Ubuntu's Unity is the first linux that's proud to be itself, and it shows.
Show HN: Stark – Improve Your Home Instantly (Beta Testers)
Show HN: Metabot – a Markov chain Slackbot generator built with Go
SpiderOak Encryptr password manager released
Minecraft!
There is a well-explained overview of TXL and other parsing and transforms techniques in the thesis of the Ragel author:

http://www.colm.net/files/colm/thurston-phdthesis.pdf

https://news.ycombinator.com/item?id=10841002
Your idea actually only makes sense if load is not equally balanced. If it is equally balanced that means all servers will become "full" at approximately the same time. Unless you exchange information about load between servers (which is difficult) this means a client will have to try a large number of servers until it finds one that is not "full".
I think you're missing the broader argument, which is using 'mathy' concepts to dress up poor reasoning. Obviously priors matter, but what matters most of all is how good/complete your evidence is. Using a mathematical formula to lend credence to weak evidence (through liberal use of assumptions) is a hallmark of pseudoscience. The same could be said of many of the abuses of statistics and Bayes theorem is merely one good example of this.
Yes, it does. I talked to legal as well as export compliance department at Apple and they confirmed this. Maybe they were being overly cautious but so was I.

With HTTPS, what puts you clearly out of every potential exception, is the fact that you are encrypting the requests. Someone asked about this in the blog and I replied with more information.
I guess a hard-line frequentist (if such a person exists) would counter that you can't assign probabilities to hypotheses or fixed parameters. Then Bayes's theorem (and every other statement about probability) is true only when applied to statements about how often a certain event will occur.

But of course, most people do assign probabilities to hypotheses and fixed parameters, even if only informally. Bayesian probability theory is an attempt to formalize that kind of intuitive reasoning.
So a company with zero customers, brand, or other non-reproducible assets is worth almost $400m..? I'd be asking questions about this if I was a Google shareholder...
> Why do you blame the programmer, but won't blame the tester, or the guy who designed the test, or the guy who designed whole workflow, or the architect who planned the system?

Where did you get the idea that I don't?

I think people make mistakes sometimes (myself included), but I don't somehow think that diminishes the mistake.

I also think the programmer has less responsibility than the architect, or the CTO (which is why we pay them more). I don't like that shit only runs downhill.
I agree with the article that a general problem of our society is a lack of teaching thinking and analysis skills. As someone with a background in philosophy, philosophical tutelage can't really begin until someone is at a college age and a college maturity, at least with the American understanding of maturity. I assume that if the school system were completely destroyed then rebuilt with critical thinking at its core rather than obedience and conformity, it would be possible to have more mature students who could handle learning philosophy in high school.

High schools do in fact serve to create bare minimum interchangeable peons who are not mentally competent to apply critical thinking or analysis. Forcing a philosophy class into the curriculum won't change the fact that it won't be taught correctly, as the emphasis is on sitting still in the seat and turning in homework rather than genuine contemplation and forming of a cognitive capacity.

With that being said: our population needs a massive boost in thinking ability, so something's gotta give. It's been a dream of mine to someday make a kind of school to teach critical thinking and other thinking skills-- but the children today are not capable of taking advantage of such a school with the way the education system is currently.
It's nice that the Android APK is available as a direct download, no Play store required, for those who are particularly security/privacy conscious
Same here back in mid-2015. We got a call from scammers with valid service ids of some of our equipment from Dell. I hope Dell comes clean on all of this.
...What is it? All your page is doing is asking for an email address. I even gave it my email address, and I still don't know. Then it asks me to share. Why would I share it, I don't know what it is?
I've never played Prison Architect. I got this "clone of prison architect" from the community.
I agree... I've had a lot of absolute beginners ask me to "teach them to code" and at with their experience level, installation instructions alone would be enough to scare them off for good.
THIS IS COOOL
Nurtepe Kiralık Forklift
About unicode symbols part, I am using Scala to implement a some ideas distributed among some white papers and there is a mathy notation. I use ac-math and Emacs to enter unicode symbols for names of some variables/methods which translate directly from the papers and are easier to read. Also unicode symbols allow me to use math notation in comments to some extend. I'd like to have an environment where I can write LaTeX in comments.

An example use of unicode in comments:

case (Zero, _) ⇒ g.sign == Positive // ∀x ∈ ℝ⁺. 0 < x
I've always wanted arXiv to fill that role.

I understand though that simple anonymous comments don't cut it. It can devolve into youtube comments quickly -- personal attacks to the authors, low effort comments, spamming, "trolling", etc.

Those sites need a private reputation system: you can vote comments but the commentator is anonymous; it's hidden reputation should help sorting the comments.
> "Performance" can be seen as your ability to play ball with bullshit things and people at work.

Bingo. At my last job, my boss placed me on a PIP largely as retaliation against me over office politics.

I started looking for a new job that day, and I accepted the first offer I took just to get out of there before they could fire me.
> I've always believed a cultural difference between USA and France would be that we do not overreact on violence (e.g. We wouldn't invent the TSA or we'd never present false proof of WMD at UN). We've just proven otherwise.

Not quite true. We haven't started an illegal war and dragged many other countries in base on fake evidence yet.

The bloodiest attack ever in France during peace time happened only 1.5 months ago, maybe we need a little longer to digest.

It also false to say that investigations have not yielded any result.
This headline does not reflect the article and is needlessly inflammatory. This article is an explanation of Bayes theorem and overall very positive of it. The "used wrongly" quote is just stating that it's not immune to biases and error. Pretty much any tool "used wrongly" can cause errors.

(In case it's changed, the headline currently reads "Bayes theorem used wrongly, can promote superstition and pseudoscience")
Can Thalmic and Pebble compete with this onslaught?
CES 2016 has revealed a huge array of wearables. The fitbit blaze, Under Armour/HTC bands, MS band 2, Misfit; And of course an Apple Watch 2 is just around the corner.

A long with that, some are incorporating gesture control as well, and even Sphero is jumping into the ring with its force watch.

This all begs the question, can hardware start ups like Thalmic and Pebble, who were leading there wearables division, still compete when all the big guys jump into the ring and give it there all.

In software, the big guys can have difficulty matching the growth of a young start up and its popularity, but in hardware everything moves slower and there are many more factors a start up must hone that leaves them susceptible to being passed by a big player.

What are your thoughts. Will the expensive and now somewhat not as unique tech from Thalmic and Pebble survive this onslaught?
I recently read an interesting book called Looking Backward, by Edward Bellamy. It was written in 1887 but could have been written yesterday.

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

It was basically about a guy who accidentally travels forward in time (sort of like idiocracy) except he finds himself in an American Socialist Utopia. It was a really good book in general but there was one idea in particular that the author had, which seems pertinent here.

Essentially in this utopia everyone gets the same pay check and the opportunity to work. Instead of getting paid more money for a demanding job you get "paid" in less hours. Meaning, all jobs start out at, say 40 hours per week. A job that doesn't get any applicants would decrease the number of hours it demands and correspondingly, the number of open positions would increase. Eventually an unappealing job would decline to a number of hours where someone would be willing to do it.

For example, that coal mining job that nobody wants to do? Well it pays the same as every other job but you only need to do it for 4 hours a week. You can work more of course if you want but you get the same paycheck. The rest of that time you can do whatever you want, spend time with your family or do art or whatever.

Also, in For Us, The Living: A Comedy of Customs by Robert A. Heinlein there are some very interesting ideas about American social economics, including a social credit system. Which I believe is a pretty old fashioned idea that we have almost completely forgot about.

https://en.wikipedia.org/wiki/For_Us,_The_Living:_A_Comedy_o...

This constant back and forth about work hours and minimum wage and the inexorable pull towards wage slavery makes me think its time to explore some completely lateral options.
Setting Up a Linux EC2 Instance
Everyone buy Klingons.
ASGI (Asynchronous Server Gateway Interface) Draft Spec
All probabilistic tools are accurate in theory, otherwise we wouldn't use them. Bayes' theorem is no different from e.g. the t-test in that regard. The question of whether it's worth using Bayes explicitly rather than other tools is and should be a question of whether we find it aligns with our understanding and helps us think more clearly.
They can, doesn't mean they want to or will.
Actually, the limited vegetables and fried everything happened much later. Before and after the civil war(up until modern times) southerners ate much more and a wider variety of vegetables. Vegetables were simply cheaper and more widely available than meat.
Location: Portugal

Remote: Yes

Willing to relocate: Discussable

Technologies: JavaScript, HTML, CSS. Frameworks: Backbone.js, AngularJS. Others: SASS, tooling (Grunt and Gulp)

Résumé/CV: http://goo.gl/tF0qjH

Email: [My HN username] [at] gmail [dot] com

I'm a product-oriented UX researcher, PhD, favoring work with users (ethnographic-oriented methods such as job shadowing, contextual interviews). I can help you gather valuable and valid insight regarding your potential users and turn it into actionable requirements and improvements. If you want to make sure you're creating a product for real users and their real needs, I'd be very happy to help. Currently most of my job is front-end web development (8 years experience, currently working in a large-ish Angular application interacting with a M2M/IoT solution).
Sanders will pledge to break up big banks within first year in office
I wonder how much of a pain in the ass putting X509 (or something like it) into POTS/caller ID. It would stop spoofing dead in it's tracks.
a TL;DR would be strongly appreciated, the first page is basically: .... bla bla .... went to the toilet ...
Working 3 10-hour days during a week and 6 5-hour days during a week seems equally doable, but I think I would get more complex, brainy problems solved with the latter, and more simpleminded grunt work done with the former.
AI Algorithm Learns Human Handwriting
I lived in Boston in the mid nineties for about three years, doing shipping logistics that served the downtown & surrounding areas. I didn't have a frame of reference, and really only ever knew the city in the midst of that debacle, having to design courier routes throughout the area. Needless to say I was intimately familiar with the Big Dig.

I had the pleasure of returning to the city in 2015 for a brief bit of work with my current company and was utterly blown away at the transformation of the boulevard, the green spaces, the visual beauty...and just the sense of openness and lightness. I felt like I could breath easier just walking down the street.

It's a shame to have had to overpaid so dearly for that, but what an amazing result. It was a great city before, but this just felt next-level.
I get echoey awful voice, and it takes 30 seconds to load hacker news. Ditto for most of my commute on the "el" (above ground)
I agree, it needs a better value proposition. It's more like a h1 call to action.
My simplified response to Paul Graham's simplified essay
What powers Facebook and Google's AI – and how computers could mimic brains
Why isn’t the U.S. counting meat producers’ climate emissions?
Depends on where you live. If you live on the red line (I do) taking the blue line is almost always slower than the silver lie (sic). Remember that there's no red-blue connector, in fact the govt claimed that the silver lie was the red-blue connector because it went to the airport!
The internet is a global market. The old industries would like to keep that for themselves by denying buyer the possibility of buying something from another region. They are free to shop around to keep their costs low but the instant we do that we are criminal sum. Back to the point. What incentive does me buying the film give to Kurosawa to make more films? The alleged point of copyright. I find it hard to believe that he will make some more because I, or anyone else in this thread, bought one. He's dead! Of course if I take the copyright industry's line I would be literally reaching into his grave and taking the money out of his pocket. I have no idea whether his films are any good. I don't like many Hollywood productions of the same era. Perhaps being Japanese his films will be better.

Let me get this straight. YIFY isn't allowed to filter video but Criteron are? Also I'm not surprised you've got a bad impression of ripped video if you're still downloading 1CD files. Don't try and 1-up me on the topic of video encoding. I have never seen YIFY cut credits. I will admit that there is one time where I have seen them make a mistake. Wreck-It Ralph: the audio on the credits cuts out a few minutes before the end.

You shouldn't have posted a link to a shit website that doesn't ship internationally if you didn't want to be insulted.
Of course C relies on an OS. The point of an OS is securely mediating access to resources; a C program is going through the OS, using syscalls, in order to do stuff like 'write a file'. Which bears a certain resemblance to what this code is doing...
I've been saying this for years, and this is a large reason why I find the LessWrong folks to be almost entirely full of it. Their inability to come up with accurate priors is completely lost on many of the folks who follow this kind of thinking.

A couple of comments are saying, "no duh" to this article, but those folks likely don't realize quite how many other people are falling into this trap. "Garbage in, garbage out" is only good advice when the person you're saying it to realizes they're putting garbage in.
In the spirit of hacking to make things better(while waiting for Slack to launch their feature...) I bolted on message threading onto Slack. It consists of a two part effort. First using the Slack api to overlay a reference map on to all messages and then secondly, overlaying a UI upgrade onto the slack web client (via JS/dom manipulation encapsulated via a chrome extension).

Conceptually, this means it is possible to also 'upgrade' various other sites/apps that we feel is lacking in some way or another.

Try TalkHq out and tell me what you think!
It's not just the Fortune 500. That currently cuts off with United Rentals at #500 with 12,000 employees.

Lots of small 50+ employee companies use SharePoint. It often works even better for them: they can solve problems by dumbly plucking software out of a catalog and clumsily grow their business processes around best-practices implied by that software.

In some future marco.org universe you can apt-get an entire business infrastructure and it all works great provided your MacBooks weigh 1.7 pounds instead of 2.3 with a 220dpi screen instead of 135.

In the meantime, small companies tend to be full of people who haven't figured out what the heck they're doing yet and being able to buy an HR application makes a lot more sense than hiring 6 Ruby devs who 1) know nothing about HR 2) don't care about HR and 3) can't learn about HR or even gather specs because the person in charge is the owner's dumb son who doesn't know much about HR yet either.