skysight-inc/HackerNews huggingface dataset:
>If we force artists to make art in order to be able to eat, isn't the system already broken?

Can you explain what you mean by that? I'm trying to put it in the perspective of other careers, and it doesn't make any sense to me. Like, "If we force doctors to heal in order to be able to eat, isn't the system already broken?" It doesn't sound broken. I'm a programmer. I have to program to eat. I can choose something else if I don't make it as a programmer, just as artists can. (And in fact, I do some art on the side, too.) But everyone has to contribute in some way to eat. (Well, unless they inherit a bunch of money, I guess.) Why is that worse for artists than anyone else? I think I'm missing some larger point, here. Sorry to sound dense.
The cool thing about dependency length minimization is that you can use it as a principle to derive many of Greenberg's word order universals, in addition to sentence-by-sentence preferences. You can also use it to derive the fact that natural language expressions are usually well-nested (though I'm somewhat dubious: it seems like there are other good possible explanations).
Not an iOS developer, but, say they did extend this, what's to stop a developer taking the (presumably MIT licensed code), using it within his app to get that on iOS too? I guess this doesn't work if it's being backed by some Windows feature, but otherwise?
Interesting how they built their UIView/CALayer stuff on top of Xaml to the point where you can apparently just add any random Xaml windows component into an UIView.

Reminds me about the whole Visual J embrace-and-extend thing in the old MSJava debacle.
I would also like to add that they killed the EHCI controller, making installing Win7 more difficult. Also, TSX is back of course.
List of Pesticides to Avoid If You Want to Help Save the Bees
This at least prevents a MITM or a malicious actor from hijacking DNS, etc - since the car effectively ensures it's at least talking WITH Tesla. This doesn't prevent a malicious employee from gaining access to the update server and pushing out an update, but you're going to have to worry about that regardless.
For dnslib [1] I use a much simpler fuzzer as part of the test suite [2] - this is nothing like as sophisticated as afl-fuzz or go-fuzz in terms of understanding and exercising code paths (just takes a DNS record and randomly mutates it - though still found a number of bugs).

Does anyone know if there is anything similar to afl-fuzz/go-fuzz for python?

[1] https://bitbucket.org/paulc/dnslib/
[2] https://bitbucket.org/paulc/dnslib/src/22cff0cd3e13098c00107...
Thanks. That sounds like extremely interesting research. Being able to say things about liveness relative to probability of failure (or the distribution of probability of failure) would be very interesting.
When I took a job in Dallas my hourly rate was less than that of my job in Kansas City, MO. But my take home pay was higher for working the same amount of hours. Why? MO took 7% out of my salary for state taxes.

For a family making $50,000 (simplified) that's worth $3,500/year and everything else in Texas provided by the government seemed equal - the roads were nice, schools were good, crime wasn't noticable...
So $3,500 a year for no noted improvement in life? That can help pay for college for children, buy a car or nice new technology, or increase retirement savings or charitable expenditures.
Court Rules Warrantless Cell Phone Tracking Violates Fourth Amendment
I still have the WebObjects 4.5.2 (and 4.5.1 I think) boxes somewhere - the last version to support Objective-C on the desktop (that is Windows).

I was really overwhelmed with joy, when I saw how one can add say middle-wheel support to a whole system, without recompiling, or doing some low-level drivers, hacking, etc. - but by just extending it with OO - this is the code I'm talking about - http://www.rubicode.com/Software/Legacy.html#RCWinMouseWheel

It's probably not safe to do things like this nowadays (security), but I still like the whole idea of one being able to replace classes with others without recompiling everything from scratch.
I'm reminded of the classic Charles Baggage quote:

On two occasions I have been asked, "Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?" ... I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.

I'd argue for a pretty high level of transparency in the process - I would like to see whatever classifiers being used open-sourced, for example. And I'd want to know where people are drawing the training data from.

But the nice thing is that the tech industry has a large population of people very sympathetic to transparency, and with a history of a culture supporting it. Quite frankly, I think the legal community has a lot more to learn from the open-source community than the other way around.
It is going to be difficult to achieve a hard 350 us minimum latency requirement on a general-purpose OS with a virtual memory system, regardless of the allocator you are using.
So you are saying, the driver is an employee of the passenger? I definitely control the work delivered when I'm riding. I dictate where to pick me up, and the exact destination. Sometimes I even demand a specific route. And to top it all off, I give the guy a rating.

Uber does none of those things. They don't even tell the driver when to switch the app on and off. So I guess, your point is, that Uber doesn't have much risk that drivers be categorized as employees?

EDIT: I WAS KIDDING GUYS! Except my point about Uber. They really don't seem a bit like an employer to me. Particularly w/regard to control over drivers work. Bigger question, why does anyone think it would be an advantage to drivers to become employees and get lower pay?
What "right to access culture"? Last I checked there was no such thing. At least not remotely in the way you seem to mean it.

Even if there was, it certainly wouldn't define culture solely as "Hollywood movies and pop music". Broaden your cultural horizons.

Just like if you were to say "access to clean drinking water is my right", that wouldn't entitle you access to ALL clean drinking water. Just like "access to culture" wouldn't entitle you to pirating whatever content you feel like.

If you're going to try and take the moral high ground, do it right and just avoid consuming content produced by organizations you disapprove of.

A much stronger pro-piracy argument in my opinion is that of convenience and consumer experience. Legitimate paying customers suffer under the tyranny of DRM while pirates have a much better experience. If I buy a song on the Apple music store I may not be able to play it on every music player[0]. If I pirate it then I can convert the format and consume it however I like. Video games with DRM may require an Internet connection to "validate" when the pirated versions are available offline (remember that Sim City debacle?). What's worse, remember the SONY rootkit disaster? Also, Ubisoft actually had a remote code execution back door exploit for a while. I've never heard of a DRM that made anything better for the paying customer.

[0] This has apparently changed in recent years.
It allows them to sell the products of their labor for money. That's a pretty fundamental requirement of capitalism, no?

Sort of. There are plenty of things we can produce that nobody would want to buy. Capitalism doesn't really describe those things. If there's no market for pre-existing art, then it wouldn't be useful to look at it though the lens of capitalism.
Show HN: gockerize - easily build and package Go binaries into Docker
Until they get in price competition with a few others. Imagine Google launching a self-driving taxi business at 20% lower prices than Uber. It would be a bloodbath price competition that Google would win because of their deep pockets and lower costs.
That doesn't make much sense because iOS already comes with implementations for all these frameworks. You're kinda asking "what's to stop a developer from including wine into his windows app so it can run on windows?"
The legislators' assumption was that lowering the tax rate (eventually to zero) would bring business to the state.
Ignoring arguments about the validity and applicability of the Laffer curve, what made them think businesses would want to set up shop there when several other states have the same benefit?

Businesses have to attract talent, and underfunding services and schools doesn't make for an attractive state.
It is painful to watch how easily the people in charge slide into believing that one simple solution will fix everything. Even the best of ideas and intentions end badly when taken to an idealogical extreme.
Making Life Harder for Pimps
I played 15 names, and 13 of them where non-porn. Was this just by chance or is the repository that biased towards agencies?

Maybe the creator did not find enough porn on the internet? :-)
Wow, this must've been enormously complicated to implement
Internet firms to be subject to new cybersecurity rules in EU
We do the same thing except we don't keep the version number in the main table since we have no reason to ever display that unless we're looking at the history anyway. We have a history table with two JSON columns representing the before and after state, so we don't need to keep columns in sync. (Technically the before state might be redundant, but it makes comparisons simpler). I really like this idea of using triggers, though. We handle it at the ORM event level so the DB isn't entirely self-sufficient.

There have been many times where having the version information has helped us to debug and fix problems. We've had customers call us, freaking out because they accidentally deleted something, or confused because somebody else in the company changed something. We can tell them exactly when, what and by whom the data was changed and easily restore it.
Hodor Programming Language
Yes, specifically you should order arguments so the order will be on average from short to long.

I try to write my code this way. map, filter, and reduce are terrible from this perspective. Unless you have do blocks like in Ruby or Julia!

Also, dplyr's %>% pipe operator is a great way to reduce dependency length in R code.
On that note:

Hypothetically speaking, what would take for a wanna-be candidate that knows Go but doesn't have relevant work experience on CloudFlare's area of expertise to get up to speed?
> That won't be true forever. I've run into some tolls that are EZPass ONLY. Some of them read your license plate and send you a bill if you don't have EZPass.

This is true as of recently for the Golden Gate Bridge as well. :/
This seems to be the talk: https://www.youtube.com/watch?v=TRgni5q0YM8
Which is the very problem with the whole discussion. It requires something that is unnatural and for that reason won't be happening unless there is some way to re-introduce scarcity into the system.
German, especially, loves deeply nested sentences. This means, on the other hand, though, that we use far less sentences.

The grammar of an average english article in a science magazine reads for me, a native German speaker, like first-grader text.
I'm in Taiwan and moving to Japan in a few months, so that's out of the question even though I've got 2.5 years of Go under my belt. :(
>consumers who are quality-insensitive

That is one benefit of the modern internet. As a customer that is quality-sensitive about many products, I can 'evangelize' to insensitive customers and attempt to bring them into the fold and start demanding better quality products, thereby increasing the quality I receive from the product myself.
Artists can pay for rent, food, etc. without selling copyright-protected products. We already see this thriving today. Artists are supported by their fans by selling tickets to shows and merchandise. I would argue that you have less trust in free market capitalism if you have to depend on copyright.
The first three and a half years of my life I lived in Ghana and, apparently, spoke Dutch, English, Spanish (with the local nuns) and Fante (a dialect of Akan, a Ghanaian language). I no longer speak the latter two, although I've been told that I can "bluff" Spanish pronunciation very convincingly off the page.
Valid question though, I've updated the post to be more explicit and added a couple more query examples.
This is a welcome sign for those that do not want to buy Apple hardware and have struggled working with Hackintosh VMs or cloud-based OSX desktops.

Is it still policy for Apple to require XCode and therefore force you into buying Apple hardware (one way or another) in order to deploy to the App Store?
Lower taxes, not zero taxes.
Throwaway because my main account is my real name.

It worked for me. I wouldn't say I made a lot of cash (at least not by come people's standards), but I did well when my company IPO'd.

I joined about three years prior to the IPO when a successful exit was not guaranteed. There were indicators of success though, and I felt confident that there would be a positive outcome.

When I joined, my strike price was in the ~$1 range per share. I was granted my options before a significant stock split, so I multiplied my shares while cutting my strike price significantly.

I'm currently in the lockout period, expiring soon, which means I can't sell any of my shares. They're all exercised and waiting, though, and if I sold today I'd make about $2m. We're not in a high cost of living area, so this could (theoretically) set me up for life with a not-too-modest lifestyle.

I'd do it all again next time in the same way. Certainly a large component of it was luck, but I think joining a company that is at a size where they are still giving out significant stock options to the rank-and-file, while having enough early success that it's easy to see a positive outcome, is the way to go.
For Poland, you have to be local to Warsaw, sorry :(
During 2004-5, I designed and implemented a K-V object store on the top of BerkeleyDB. It served as the persistence layer for a number of applications my then company developed for regulated industries.

The approach was very similar. The current versions of objects were stored in a set of tables, while old versions were stored in separate tables. In order to reduce bloat, I employed a few fairly simple compression techniques. They were reasonably good. On desktop-class machines with a Pentium processor, 256 MB of RAM and spinning hard disks, searching a million objects completed in single digit seconds.

Later, I added bit-mapped indices with dynamically self-adjusting bucket sizes that were determined based on locally-weighted densities along their respective dimensions. They reduced search time on a million objects to tens of milliseconds, with full history searched.

The obvious downside was that there was no SQL for ad hoc queries! So, a command line shell was provided with Ruby as the language, talking to a C API behind the scenes.

All in all, the system worked and scaled very well.
OPM Wins Pwnie for Most Epic Fail at Black Hat Awards Show
In first place let's frankly say that interconnecting entertainment system with anything that affects safety is dump idea. They top-notch security professionals should know that.

I was developing entertainment system for Volkswagen's cars a while ago. At the time their cars have several networks interconnected with a simple firewall. They were separated into domains, if I remember correctly it was core (engine, steering wheel), first level (reporting, airbags, etc.), second level (opening windows, etc.), and then entertainment system.

The firewall was one-way. Systems on lower level are able to intercept some messages from higher levels, but are unable to send anything to higher level (with some exception between core and first level). That also means that the entertainment system is unable to open/close windows for example - you have physical buttons for that.

It was a while ago and my memory is rusty. But you get the idea that car systems can be build securely with competent engineers.
If you could figure out a way to collect it then you've got resources that have already been accelerated to orbit...
I’m Making an App for Twitter, Even Though They Don’t Want Me To
Concurrency issues can be solved by restricting the UPDATE to the version passed in by the application.

If I think I'm updating version 2 of an entity, then only update that version, otherwise throw an error.

I've updated the post to address this scenario.
“Programs That Eat Programs” [presentation]
From the Israeli Army Unit 8200 to Silicon Valley
yeah yeah, wake me up when they find something that ties all JavaScript implementations together :P
On Software Engineering Interviews
1) Sure - it's one factor among many in the purchasing decision. Never said otherwise. It would also be incorrect to assume that this was not a factor at all.

2) Ever looked at a tech company parking lot in South Bay? A lot of people with CS background are buying the Model S. Not all buyers are computer scientists but informed buyers most definitely do exist.
I get and appreciate that, but I really don't think it's appropriate to hit someone over a turkey sandwich. If you're able to eat that and walk around on your own and watch the ball game, pretty sure your suffering isn't sufficient to warrant punching a nurse in the chest.
The answer is: "Who cares about the average citizen?"
This here won't really help you do that. It's for bringing code written for iOS to a windows runtime.
Roads in Texas and Florida are just as nice as in other states. The argument for fiscal conservatism, as noted in Kansas, isn't against all taxes or government spending - it's about using less money to provide certain services or not providing certain services.

Moving from CA to TX as a highly paid person with no change in salary will result in a 13% direct increase in take-home pay. And my anecdotal experience is that I-35 is as well kept up as I-5 and toll-roads in Texas are more easily avoidable than those in Southern California.
Also the site seems designed specifically to frustrate quickly running through the test.
You can develop game scripts locally using Grunt task: http://support.screeps.com/hc/en-us/articles/203022512-Commi...
Looks like they took the MIT-licensed PSTCollectionView without any attribution: https://twitter.com/steipete/status/629364240063799296

Compare: https://github.com/Microsoft/WinObjC/blob/106d8b2738101872a1... and https://github.com/steipete/PSTCollectionView/blob/master/PS...

Edit: They added the license https://github.com/Microsoft/WinObjC/commit/611e9e5a4b837360...
Copyrights main natural purpose is to make sure that no other than the owner can make money from the IP.

It is not made to ensure that you will in fact make money from selling it or that others have to pay to listen/enjoy it.
Far, FAR less than the page- and cpu- weight of the crap they block. As in, it's a hugely transformative experience for web browsing, even for many "normal" sites that aren't merely social media click-farms.

I'll add to the list: Uninstall Flash completely. For much of the crowd here, that's probably a no-brainer after the recent spate of Flash zero-days, but still.
Yes. Unfortunately, as far as I'm aware, you can't deploy an app to the app store without a Mac. But you can (at least in theory) do iOS development on a Windows machine.
I'd also recommend introducing mutation testing in addition to fuzz testing.

There is some overlap between the two techniques, but they approach the problem from completely different directions. Fuzz testing randomly generates inputs and uses that to find bugs where the input is improperly handled. Mutation testing randomly changes the code to make sure the tests themselves cover all the code that is written.

A good approach is to use mutation testing to make sure the existing code is fully covered by the tests. Then use fuzz testing to identify new failing test cases that need to be written. Once the implementation handles the new test cases, mutation test that code to make sure there aren't any untested code paths.

I used this same approach on an Relational Algebra + SQL generator lib I wrote a while ago and the result was something that was very stable -- the only bugs were due to flaws in my own understanding of the specification, not bugs in the implementation.
Main Street headline: "Raw materials are getting cheaper"

Wall Street headline: "Market crash: next global catastrophe?"
AWS Activate – $500 in AWS Promotional Credit
Show HN: How to Go from Nothing to Top 5% Financially
There are studies that show that sticking needles into the skin have various positive effects, but the whole chi/meridians/acupuncture points is complete pseudoscience.
Contrary to the Internet crybabies, online speech in the U.S. is really free
Wait a minute. First of all, the data is simply "there is a reproducible bug in the program". The real hypothesis is that a small, localized portion of the code is responsible for the defect. To find it, you can try binary search. If you have a better idea of the location, then by all means.

Second, when you have a bug and you write a unit test, you are effectively commenting out the entire codebase except for the function under test. When you have a compiler error, whether it's a syntax/semantics bug in your code or a bug in the compiler, sometimes you need to produce a minimal example, so you have to cut cut cut until the bug is just barely provoked. When you have a pipeline of data transforms, and the end result is suddenly borked, it can work to chop off half the transforms and look at the result. When latex is crashing for some unintelligible reason, just comment out half of your document and see if the problem goes away.

Sure it's really dumb if you're just excluding a* .c through m* .c (spaces due to HN formatting rules), but figuring out if the problem is in the first or second half of main is not outrageous. I don't think the guy was presenting it as the first step ("If you have no idea where your bug lives"), but I do agree that it comes across as a little naive, since he should have talked about all of the other techniques available first. So the problem isn't so much the lack of a hypothesis, but the inefficient experimental approach of using a brute force technique indiscriminately.

I think the last resort is reached a little sooner for some types of bugs and some experience levels (language, environment, codebase, programming), and yes in many cases it won't even do anything for you.

Personally I always liked dtrace. This guy gave a demo of it at my university once, I thought it was great, one of the best talks I've seen.
Who is this guy and why are nation state/criminals interested in him?
This is really great. It really sucks to exercise only to have your stock repeatedly crammed away into oblivion to make room for people who swoop in at the end and take all the value you have created and pocket it.
For what it's worth, the historical Luddites also were protecting their own interests, rather than fundamentally motivated to resist progress. (I mention this with no judgement one way or another of their actions)
It would be even more bizarro, but perhaps also magical, if this eventually forms the basis for an alternative to GNUStep.
Your last sentence can really be true in a lot of circumstances.

The overwhelming note of the article was that even at the end of the day practical concerns did override idealism. Although KS has a long way to go and has some huge disadvantages when compared to other states with no income tax - there is a possibility that a zero income tax policy could help the state.