skysight-inc/HackerNews huggingface dataset:
That code-formatted excerpt is hard to read on mobile due to the narrower page. Here it is without the spaces at the start of each line:

“The door refused to open. It said, “Five cents, please.”

He searched his pockets. No more coins; nothing. “I’ll pay you tomorrow,”
he told the door. Again he tried the knob. Again it remained locked tight.
“What I pay you,” he informed it, “is in the nature of a gratuity; I don’t
have to pay you.”

“I think otherwise,” the door said. “Look in the purchase contract you signed
when you bought this conapt.”

In his desk drawer he found the contract; since signing it he had found it
necessary to refer to the document many times. Sure enough; payment to his
door for opening and shutting constituted a mandatory fee. Not a tip.

“You discover I’m right,” the door said. It sounded smug.

From the drawer beside the sink Joe Chip got a stainless steel knife; with
it he began systematically to unscrew the bolt assembly of his apt’s
money-gulping door.

“I’ll sue you,” the door said as the first screw fell out.

Joe Chip said, “I’ve never been sued by a door. But I guess I can live through it.”

― Philip K. Dick, Ubik
7 Deadly Mistakes to Avoid in Landing Page Design Pt1
I nowadays do an approach where I don't write tests first, but I write down the test titles (I use a language where the testing framework gives a nice DSL to write nicely readable test names compared to method names) and I just mark them as pending (which will report as no test failures or passes but ignored cases). I rarely end up with the same test ideas and names which I started from, but since I only start with names which do not hinder refactorings this worked out surprisingly nicely for me.
Stopping censorship would be good, but there are a lot of DMCA takedowns which are rightfully. Censorship is more complicated.

This status-code is a great solution to inform the public about it.
I know you didn't mean to bring this up as a point against rpm but my ALL TIME MOST HATED PHASE is rpm hell. I still hear people say that they won't use RPM based systems because of RPM Hell which makes me inside want to jump through the screen and shake them and say "Have you ever built a single package?! Because if you ever have you would know this is 100% crap for over 10 YEARS!"

Sure there was a time frame when there was an issue with dependency and it was fixed but everyone treated it like it still was an issue 5+ years later.

Sorry rant over but I just want people to know that RPM issue was just an issue in the early 2000s and Redhat made --redhatprovides and --redhatrequires command line options that if people used them would fix the issues at the time till things got changed with libraries.
GeekNight talk – Functional Programming basics [video]
Building Online Communities: Deeplearning4j
Iceland with its pirate political party, and it still belongs to the European Economic Area, or Ireland, which has a growing tech sector, and it is part of the EU. Ireland is a tax-haven too. The U.S. government complains about Apple's tax havens, but the revenue lost by this move in jobs, and money in the U.S. is quite a bargaining chip.
Any suggestions on any such frameworks for Ruby / Java?
Cool! Just curious to know if this is inspired from https://hypothes.is/ .
This is indeed a good idea. I had some feature request for hypothes.is team.
Request: https://groups.google.com/a/list.hypothes.is/forum/#!topic/d...

I hope this feature request would be useful to you.
> some crazy folks are even testing getters and setters — why?

Well, I can see the logic if your getters and setters are hiding more activity than simply retrieving/setting the value of a private field, which is the point of having separate getters/setters at all.

If you imagine a getFullName() / setFullName(name) pair, for example, that actually reads from/writes to two different private fields for first and last name (leaving aside middle names, internationalisation, etc), then there's some minimal logic there that you might want to test.

In a duck-typed language, when you're trying to ensure a class obeys an implicit interface, it may also have value.

Apart from that, for vanilla getters/setters, it's a little pointless.
Because widget hierarchies are naturally traversable, and objective-c is a dynamically typed language.
I love what Apple is doing here, and I hope they're successful.

But seeing this, and how Brazil is arresting tech executives over encryption, and how France, California and New York are all pushing for laws against encryption... part of me would love to see Apple release CrippleOS, "Specifically designed to meet the specific requirements of government officials", and establish a policy that every Apple Store employee can only sell CrippleOS to any government official. Let the rest of us living in the free world get strong encryption, and let them take their own medicine...

---
http://www.theverge.com/2016/3/4/11160044/france-apple-encry...

https://news.yahoo.com/york-state-proposes-anti-encryption-1...

https://news.yahoo.com/california-anti-encryption-bill-propo...
More StackOverflow survey respondents use OSX than Linux. It's unlikely that StackOverflow survey respondents constitute a representative sampling of all developers.
It's not about the source but the private keys. See my other comment here. The same problem is real with the Linux distribution and the owners of the distributions too. Nobody reads the source of everything that is changed with every signed update.

That's why there's signing in the first place.
This seems like very thinly veiled blogspam around http://stackoverflow.com/research/developer-survey-2016#tech...
See my reply above. I think your view is either naive, or you understand 'implementation decision' in too narrow a way.
Link to the survey: http://stackoverflow.com/research/developer-survey-2016
> Then again, I don't get the culture of strict conformance around iOS (and Apple in general) either…

Really? You don't get why apple would want to avoid software unexpectedly breaking on every OS update (on user devices, to widespread cries of "Apple broke software X") because the dev used an undocumented and unsupported private API which was modified or removed entirely?
There is absolutely no STEM shortage at the Facebook/Google level. Google has been on the record many times that they're happy rejecting good applicants in order to reduce the risk of hiring a bad candidate. That's not what hiring during a shortage looks like.
>A robot that's unable to learn could be programmed with >enough flexibility to walk on any surface it could possibly >encounter

How exactly?
The nature of dynamic language such as Objective C.
I think there's something to be said for maybe saying test first. I tend to find writing tests second a little harder. If its a big complicated feature, its much harder to go back and try to think of all the test scenarios needed when its finished, there might be an edge case or a semi obscure case that may have been apparent at writing the code but gets missed when looking back and writing tests. But its preference.
ZeekRewards+Up-Date:+Will+Dawn+Wright-Olivares+testify+against+Paul+Burks?
How so? To me, dragnet surveillance is a lot easier to explain and conceptualize to non-techies than personal encryption. And I use encryption on all my devices (except my android phone, it's still running 4.x)
Slightly easier than Arch.

Just install everything when it asks you to. You can ignore the kdei disk set if you speak English (and have no plans to run KDE in, say, Urdu), and the kde disk set if you do not need KDE altogether.

Since there is no dependency resolution, when you install from SlackBuilds.org (Slackware's AUR, more or less), you have to install each package's dependencies as well. These are listed in the package info file and tools like sbopkg let you install many packages at a go through a queueing system, so this is not as bad as it sounds.

The benefit of this is a completely user-configurable system, and a lack of errors when you hosed the dependency resolver since there's no resolver to hose. :)
Title is accurate. People don't know what a UIWebBrowserView is, it's their problem.

Hint: It's completely different than UIWebView.
Can we now have native Docker support, Apple? Pretty please? :)
There are a lot of external links for implementations here https://en.wikipedia.org/wiki/QuickCheck
Artificial General Intelligence – EQ, Consciousness, and Reproduction
I would absolutely love to get an insider insight.
> you take the bad data that caused the bug, reduce it down to a test case

That's not really TDD anymore though - post-hoc testing of bad data is always going to be orders of magnitude easier because you have the bad data and you know what broke.
Worst of all, not even attempt to hide it. It is very easy to hide such trivial uses of "private" API.
Hi folks,
This is something that I put together yesterday. Appreciate your thoughts and feedback
While classical manufacturing jobs may be on the decline in the western world, there's actually a programme in Germany to counteract this (https://en.wikipedia.org/wiki/Industry_4.0) whose premise is production of customisable products at scale, whereby the focus is on automation engineering instead of manual labor (that programme is very much a WIP right now; I know the article mentioned it briefly, but I feel it could be a viable way to retain/regain competitiveness in manufacturing).

Siemens, VW and others made short videos on this (e.g. https://www.youtube.com/watch?v=HPRURtORnis or https://www.youtube.com/watch?v=JTl8w6yAjds)
>they leaned heavily on active control, which makes >locomotion energetically expensive.

Could you elaborate?
> - Is China doing this with or without Apple's knowledge?

In this hypothetical, sure. The Chinese govt orders Apple to install a backdoor chip on the production line.

> - If so, then Apple presumably would openly fight this and could even move all of their production outside of China as an extreme last resort.

Moving their production doesn't seem to be more or less difficult than moving their corporate HQ.
Wow! I didn't realize it was satirical and thought is the author a con or crazy.
Then I headed here and the news broke out for me. I'm pretty sure majority of people who only read about ML in press will take it seriously.
its economy. It's = it is or it has.
This code is meant for censorship, not DMCA. Replacing the content with "sorry, this thing broke copyright laws" is how you deal with DMCA, not stopping people from accessing whole sites.
New GooCreate version with Particles, visual FSM editor and lots of other features
Accurate but misleading, I never said the title was inaccurate.
No, there is not a STEM shortage because "STEM" is a nonsense term. The companies you mentioned don't want to hire anthropologists, general relativity theorists, large animal biologists, nuclear power engineers, differential geometry experts, meteorologists, pharmaceutical chemists, or most of the other diverse fields in STEM.

No, the shortage is only in from a much smaller subset of primarily programming related skills.

If there were a real shortage, FB and others would start their own training program, give people scholarships to attend for a year and get up to speed, then hire the best candidates from that pool. We are nowhere near there because it's cheaper to get people to pay for their own education (or get the government to pay for it), and hire from that.

Historical, that's similar to what happened when there were real labor shortages. After all, it's not like all the women welders during WWII came in knowing how to weld.
Turning on Your Reality Distortion Field
>surely agriculture must have tons of uses for robotics, with enough scale to justify higher prices.

Agriculture apparently already uses robots
https://www.washingtonpost.com/news/the-switch/wp/2015/06/22...
Not for long. This will be my last Macbook, because frankly, its too expensive, and there are great, simply great, Linux laptops out there, which after all will give me all the same power, all the same.

I attribute my dis-interest in what has been a decade of OSX adoption (after a decade of Linux/Unix), as a result of having to think, too many times, about the sandbox, the API rules, brew update && brew upgrade && brew doctor, and so on.
Ctrl+P is a bit more "fuzzy finder" than ido-mode. It fuzzy finds paths under the current directory (or up to a project root if there is one above your current directory, though this is configurable). You can switch between "find in filename" or "find in path".

I've grown accustomed to it, but it's not the end-all-be-all. For example, I can type exact filenames in some work repos and get matches that are not for the file I'm looking for because the fuzzy finding is too fuzzy and starts hooking in matching from the directory structure in the path.
Experiments show magnetic chips could increase computing’s energy efficiency
OpenBSD rc.d(8) [pdf]
Klaatu Barada Nikto
The biggest structure in the universe is named as BOSS
> I won’t spend ridiculous amounts of time writing tests when I can read the code and clearly understand what it does.

Is he arguing that simply trusting yourself not to make mistakes is a sufficient guarantor of quality? Ian Sommerville is the author of a famous textbook on software engineering, so it would be surprising if he was.

TDD is actually much more difficult in practice than people realise. I read Kent Beck's book and thought it sounded like utter horseshit. I tried doing it myself and decided it was definitely horseshit.

Then I came to work at Pivotal Labs. Now I am distrustful of code that was written before tests.

As for the argument that TDD distracts from the big picture, this is like saying that indicator signals and mirror checks distract from driving. Sure, when you are learning to drive, you feel so overwhelmed by attending to all the little details that you struggle to drive at all. You become unable to focus on your navigation.

After a while you learn the skill and it becomes automatic. TDD is such a skill.
Major steps toward a bioengineered heart for transplantation
Title should probably include information that "UIWebBrowserView" is a private API and not UIWebView.
That's the main reason I wrote this framework (mainly focused on Django for now, but able to much more than that):

http://hitchtest.com

I took this approach on several different projects, but I figured that a lot of the boilerplate/infrastructural code that you need to actually write these kinds of tests is poor or simply not available.

For example, declaratively starting and running multiple services together, in parallel and at the right time (with service dependencies) and printing their logs out.

Or, mocking the forward passage of time. (click something -> move forward a week -> click something else).

Or, asynchronously 'listening' using epoll for emails on a mock SMTP server that logs out the emails it receives.

Selenium's good for the web interaction stuff, but you need much much more than that to be able to effectively test at this level.

I think this kind of testing would be much more widely used and effective if the tools available were up to scratch.
Can you really not tell them about it, or can you just not advertise it? A product page would probably count as advertisement, but an error code is obviously not.
Interact with smartphones and smartwatches using sonar signals
I cannot see how it is misleading by being accurate. People just need to read the article, then do some research (like a simple Google search).
20 miles as the crow flies from Charing Cross, London.
Or, people should read the article. It's as simple as that.
Sharm El Sheikh, Egypt
Agreed. One OT nitpick: The fire-quenching properties of sand is actually somewhat different to that of water - eg in case of burning fuel/oil.
I in part agree with the pinpointing, though in my experience this really boils down to an issue of scope and how much of the data you want to test in each of your tests. E.g. an API returning user data, do you have one test for the whole set of data or one test per field.

For our use case we have some pretty "fancy" deep-equals logic for nested structures and allow to specific fields as "to be ignored" in our test expectations.

When it comes to speed, the most important part is to cut out everything you don't need, for us this means that our testing framework completely throws away the internals of Node.js HTTP layer. We never create a single TCP socket in our tests, which gives an incredible speed up. As a bonus this also allows to test timeouts and low level HTTP errors in < 1ms, since we can just return the timeout directly from the low level APIs and Node.js will invoke the timeout event on the http client handle.

> Running "noir:mock" (noir) task
> ......................................................
> 1048 passing (10s)

And yes, that really reads 10 seconds and yes I always get a bit bored when I have to run the tests for one of our Django backends, feels like an eternity... :)
Does this mean the Chrome version of uBlock Origin works in Edge now?
Building Android Apps – 30 things that experience made me learn the hard way
I keep seeing this mentioned on HN and other places, I must have added it to my "to read" list about 3 times I think
It's still good, you just need to do it at a higher level.
> by designing systems that can't be circumvented like this again. "Too bad, so sad - we can't do that any more. We're very, very sorry for the inconvenience."

But that's exactly why this case is so, so critical. FBI is fishing for a precedent that will make designing these types of systems explicitly illegal. Apple is well aware of this strategy, which is why they've chosen to take their stand here, as unpleasant as the PR ramifications may be.
This smells of biased fanboyism. Firstly Windows users make up of 50% of the graph, so why doesn't that get any interest? And secondly the difference between OSX and Linux is 4.5%, from a small sample group, not newsworthy at all.

I expect more people dev on OSX simply because of wanting to design for IOS, and being locking into the OS to do so.
I'm back if anyone wants an intivte.
mynickname@yopmail.com
RPM seems hell enough in current versions: https://blog.fefe.de/?ts=a81c11aa

Disclaimer, I've never worked with it, I don't know how accurate the description is.
That's what I was thinking as well. DMCA is just an excuse. Github already blocked content at the request of Russian government, and I'm sure they will block more stuff that they're not legally required to remove in the future.
Reminds me of a situation in Norway a few years back, where a dry autumn, a cold winter, and the power companies using a new cable to the continent to sell their "excess" capacity abroad resulted in skyrocketing prices.
You probably meant an advertising ban to under 18 year olds (no, a form asking for your birthday isn't enough). Only very few games are actually banned, KZ manager (https://en.wikipedia.org/wiki/KZ_Manager) for instance. For those only distribution is banned, possession is legal.
Then again, if there was a demand for that, I could imagine people using AI-driven "persona obfuscators" : )

Applications generating behavioral noise around you so as to confuse the tracking systems as much as possible, and protect some degree of privacy. If you can't keep your information private, get them to choke on an abundance of garbage information

The point is, it's always a permanent race between sword and shield
> We're probably two or three steps or 'events' away from our first Caesar attempting to take permanent executive power.

Or a single election. Hitler gained initial power democratically, after all.
Thanks a lot for your comment, I hope this will help Feldmann.
wicd is pretty much obsoleted outside Slackware because of its atrociously slow development pace. connman beats it by far in terms of "easy networking without bloat", and NetworkManager doesn't have noticeable bloat if you have a desktop environment anyway.
This is just my hypothesis, but I think it's for "brand". They didn't destroyed only books but basically everything, because of this many cities surrendered without even trying to fight back. In that case your civilization was preserved. That's why the mongols were able to conquer so much so quickly, fear build on these horrible actions.
Well, I suppose the point is, we're not going to stop censorship with a vote from IETF.

But, we can enable Internet companies to better-expose when rights requests and censorship has been used to block information.

Before, all you'd get on GitHub (per the release) was a 403, which could have been any number of things and was, in any case, an obfuscation of why you couldn't access the resource. If a person doesn't see a reason to investigate, they'll just move on.

This gets us closer to conversations about censorship.
Psychedelics in Pai and the Reincarnation of the Ego
Hello, I'm from Brazil. First time I read about this case. I'd like to know how Gov. managed to shut down the Lavabit. Which were the arguments?
https://vuejs.github.io/vue-hackernews/#!/news/1

Not exactly any of these technologies, but it is using more javascript at least. I think the example is pretty awesome actually.
I read a chapter of the book, it criticizes non Bayesian statistics too much. For example at discussing p-values. The p-value method is for getting sound results but not for interpreting the particular value obtained in one experiment, for example 5% is for being right 19 of 20 times, the numbers obtained in the experiments doesn't change this.
...so what do we do when quadriplegics get butt-hurt over the NEW symbol? what about old, arthritic people? folks with NO legs who apparently aren't even represented? Why are you making fun of Stephen Hawking?

If this is the kind of stuff people get upset over, then they aren't busy enough getting stuff done in their own lives.
I disagree. I've met people from Canada, France, Germany, the U.K., and other people who have citizenship in wealthy first-world countries through FWD.us meetups and elsewhere. They all had an incredibly hard time immigrating here.

We're not talking about the top 2% or 3%, but the 95% of the citizens of these rich first-world countries. Not folks who have $500k+ just lying around. One of the peope I met at FWD.us was a Canadian citizen, but he couldn't even get a TN visa because the TN occupation list didn't cover his field. See this article for more stories: http://www.nytimes.com/2015/11/11/us/large-companies-game-h-...

Also, the O visa is not "for various types of talent". It is an "extraordinary ability" visa that is really difficult to get. The only viable employment-based pathways to the US are the H-1B visa, the L-1 (intra-company transfer), and for rare talented few, the O-1 visa. The L-1 is a horrible visa where you can't change jobs and are deported if you ever get laid off. If you want the ability to change jobs, your only option is the H-1B visa[1].

I've looked carefully into the visa rules, and it as though Congress wanted to make it as hard as possible for people to immigrate into this country. They've built a incredibly complex system with numerous restrictions and conditions, and Damocles swords.

[1] H-1B visa holders lose legal status the very day after their employment ends. H-1B visa holders can change jobs, but they must be careful to never get laid off. It's insane. See: https://news.ycombinator.com/item?id=11188339
"for me" is something you all have to notice. I started learning programming while doing hard labor at day. I have been in this only for a couple of years and I'm not a computer science graduate. So that is why I said it's low level for me. Anyway your explanation seems to be reasonable. Think I learnt some.
it's not accurate. Apple did not "start" rejecting. They've been rejecting all apps that use private APIs, including UIWebBrowserView. The title should be "Apps built with Ionic are rejected for using UIWebBrowserView"
Stack Overflow: JavaScript is king and 46% of developers don’t have a degree
No More Full Table Vacuums in PostgreSQL
Ha ha.