skysight-inc/HackerNews huggingface dataset:
>> [SyntaxError, IndentationError, TabError]

> Well, doh :) Type system or unit tests won't catch that. Tooling, tooling, tooling.

You need neither unit tests or a type system to catch those. And you also don't need any tooling. The Python interpreter will throw these exceptions as soon as your program starts.

(Unless, of course, you rely on stuff like heavy dynamic importing at runtime, but that's really rare. I usually see this only for web servers in debug mode, where they auto-reload the app after a changed source file. But then my above comment applies: The faulty program crashes right away, you can't miss that.)
Some corporate VC are also very detached from the parent company and are actually closer to "regular" VC than you might think.
I don't see why the compiler is allowed to assume that. For example, the class might collect statistics on #allocations, log them (e.g. for debugging purposes), or the iterator might create new objects (e.g. when the iterator is iterating over a (potentially) infinite sequence that gets created in a database on the fly)

I think the compiler should prove that constructing and destroying the object doesn't have side effects before skipping those steps.
That's an interesting point, and a fair question.

I didn't actually want to imply that lacking checked exceptions unreasonable. I was merely trying to paraphrase isthe null problem in terms of checked exceptions, which the person I was replying to seems to favour. It was just an attempt to create an "aha" moment, showing what kind of pain is created by allowing null references.

A proper answer would probably have a lot more substance to it, but in short I get the feeling that null-free programming is a lot easier to achieve in general than exception-free programming. In fact, in most cases, not allowing nulls seems to be the implied default, yet it's hard (or impossible) to declare this explicitly (in most languages, like Java, etc). It just happens to be an extremely common problem that can be solved in a nice way, unlike exception checking in the general.

TL;DR: The added safety that is given by allowing the type system to reason about nulls - when looked at in the light of the amount of boilerplate code that it creates - compares favourably to checked exceptions.
WebcamMax 8.0.0.2 Crack and Serial Number Free Download
What if your family and close ones live there? Your children's friends etc. Moving is not that easy for families and when you're not young.
agreed. nothing is obvious, everything needs to be tested
It isn't patronising to point out the failings of weakly typed languages
There's plenty of hardworking people who never get lucky and hit jackpot, but who nonetheless build happy fulfilled lives and can give their children many opportunities.
This article reads to me like pastoral romance, with little other than middle class guilt motivating its conclusions. Schools may have been founded to prepare children for the factory (that wasn't the motivation in the UK, AFAIK), but that doesn't mean they cannot change in the intervening century, and they certainly have. Etc.

Can education be improved? Certainly! However, mass home schooling is not the answer if you want to keep any semblance to current society. Most people have to work to make enough $s, for instance.
I also think it is not so bad. It is the responsibility of the reader to style the content, for example to auto-size images via css so they don't get too big. If the reader does that, the feed content will in 99.99% of all cases be at least as readable as with the original styling.
Do you have any data supporting those claims?
Exactly. Here in the Netherlands, housing is also subsidized: you can roughly subtract the mortgage's interest from your income before tax is calculated. The only result is that houses are more expensive.
Simple alternative to `NSUndoManager` using generics and structs
I'd be more interested by pointers for Javascript front-end principles, because I feel like I'm lacking some background to understand much of what I'm encountering, whereas there's quite a bit about machine learning (which I haven't checked, still I have good hope it covers the fundamentals).

Deduction systems: see https://www.youtube.com/watch?v=R2Aa4PivG0g for instance.
Thanks for the correction. Did Canada actually send troops to Europe at that time?
Npm “isntall”
Section 3.4:

For Internet Explorer, it attempts to create several
instances of ActiveXObject to get the versions of
Flash, Shockwave, Java, RealPlayer, Windows Media
Player, and Microsoft Office (classified as either
2003, 2007, or 2010).

For non-Internet Explorer browsers, it attempts to get
a list of enabled plugins from navigator.mimeTypes.

For all browsers, it captures the user agent, whether
cookies are enabled, the OS, the size of the browser
window, and the timezone. It classifies browsers into
different versions, denoted by letters, based on the
existence and behavior of certain JavaScript methods.

The script attempts to exploit an information leak in
older versions of Tor Browser. We explore the
technique used in Section 3.5.

For Windows browsers (except Opera, and versions of
Internet Explorer before IE9), it sends a series of
XMLHttpRequests to 127.0.0.1, which we believe are
designed to deduce if the computer is running any one
of several specific antivirus programs. The code for
this appears to be borrowed from the JS-Recon port
scanning tool.21 The creator of JS-Recon presented the
tool at BlackHat Abu Dhabi in 2010.22 We explore such
techniques in more detail in Section 3.6.
A Laser Hair Removal Permanent (With Video)
Plenty of people talk about it:

http://googletesting.blogspot.co.uk/2015/04/just-say-no-to-m...

The dirty little secret that nobody talks about is the cause of the ghosts: poorly engineered tests.
Indeed.

Where are all the multibillion unicorn startups created by people from working class backgrounds?

Meanwhile:

Elon Musk - engineer father, privately educated

Jeff Bezos - landowning grandfather who was also regional director of the Atomic Energy Commission, engineer father

Bill Gates - father lawyer, mother on the board of IBM, privately educated

Steve Jobs - working class adoptive parents (but a complicated and interesting genetic background), father not an engineer but encouraged tinkering

Larry Page - father had PhD in CS and encouraged tinkering on hardware around the house

Sergey Brin - father maths professor, mother NASA researcher

I'm not sure if this has been researched, but it looks as if success in tech correlates with high IQ parents and plenty of opportunities for experimentation and hands-on tinkering.

I'm sure there are people doing okay in tech who had no parental input at all, but I'd guess they're much rarer than those who had opportunities and encouragement.
Google Increases Titles and Meta Descriptions Length
Why you will marry the WRONG person
I'm suggesting he change it to Hotel_UDP.html from Hotel_Music.html so it does not spoil that it's music.
No. It's not absolute fasting, although I do that some times. I've been doing alternate-day fasting or a 3/5 diet, for around 6-8 months at a time, for the last several years because it makes me feel better.

There was a great program on the BBC[1] about "fasting-like diets", which generally consist of extreme caloric restriction for some time -- where what counts as "extreme" and "some time" varies from programme to programme -- and when it got to Michael's own experiments with fasting, the description of the feelings are what encouraged me to give it a try.

[1]: http://www.dailymotion.com/video/xvdbtt_eat-fast-live-longer...
Good thing is, that once they fully destroy our job, we will have achieved the singularity, and all jobs will be destroyed. Ergo, our jobs will be the last to be destroyed ;-)
Yep:

https://en.wikipedia.org/wiki/Acceptance_test-driven_develop...

I much prefer this approach. The looser coupling gives you more freedom to undo your initial architectural mistakes.

You also can't effectively do unit test driven development on big balls of mud.

I dislike Gherkin-based languages though. The syntax design was not particularly well thought through.
Measuring GC Latencies in Haskell, OCaml, Racket
You can access Linux files without bash. They are hidden under \AppData\Local\lxss\rootfs. But you can't run them without Bash. Also, you can use files in Windows right away too. So have both file structures for your disposal.
Except that the project has a life of its own :)
The sinfest RSS feed is technically still there, but it's no longer updated which kind of defeats the purpose.
Unfortunately gastric bands don't stop food addicts.
The point of Olm as an independent Apache-licensed double ratchet is absolutely not to fragment E2E, but just provide an alternative clean-room implementation for those who want it (and to be one that we can easily audit and build on for Matrix). We will do everything we can to ensure that Olm directly interops with whatever the OMEMO team ends up doing. Given Olm is written to be compatible with TextSecure this shouldn't be an issue.

Just to be clear: mismatched E2E is obviously the mortal enemy of interoperability. Which is why it's really exciting that so many systems are using Axolotl derivatives, and it's absolutely critical to ensure they can interwork.
Micro-optimizing your Scala code
Thanks for the clarification. Now your first comment makes a lot more sense to me.

It was not clear to me that you were asking for something. I thought you were trying to explain something.
"Unit tests are unlikely to test more than one trillionth of the functionality of any given method in a reasonable testing cycle. Get over it. (Trillion is not used rhetorically here, but is based on the different possible states given that the average object size is four words, and the conservative estimate that you are using 16-bit words)."

It's the most bizarre reasoning I've seen for a while. Well, yes, of course, and my string trimming function will always have coverage of essentially 0% no matter what I do, since strings can be of any length, and there's way more possible strings than atoms in the universe... we clearly have a different concept of "functionality" though

"When developers write code they insert about three system-affecting bugs per thousand lines of code. If we randomly seed my client’s code base — which includes the tests — with such bugs, we find that the tests will hold the code to an incorrect result more often than a genuine bug will cause the code to fail! Some people tell me that this doesn’t apply to them since they take more care in writing tests than in writing the original code. First, that’s just poppycock."

Of course, because in reality it's not about being more careful or attentive. It's about the fact that tests don't (or aren't supposed to) contain any logic! (Meaning conditional statements of any sort, loops, etc.) It's logic that breeds an overwhelming majority of bugs. If your tests contain any, it means they're written badly.

"even if it were true that the tests were higher quality than the code because of a better process or increased attentiveness, I would advise the team to improve their process so they take the smart pills when they write their code instead of when they write their tests"

No, it's not about "smart pills" (this condescending tone is so annoying), it's about the fact that - otherwise than with my tests - I can't keep logic out of my production code.

"Most programmers believe that source line coverage, or at least branch coverage, is enough. No. From the perspective of computing theory, worst-case coverage means investigating every possible combination of machine language sequences,
ensuring that each instruction is reached..."

...oh God, enough.

I don't know the author, but it's quite clear he's some CS professor rather than a real-life full time software dev

Remember this article? http://blog.triplebyte.com/who-y-combinator-companies-want

https://phaven-prod.s3.amazonaws.com/files/image_part/asset/... - that's who YC startups want. When I saw it for the first time, I wondered why "academic programmers" rated the worst.
This is an absolutely superb write-up. It's highly disconcerting to read the level of detail that malicious (and supposedly state-sponsored) actors go to target speciifc individuals.
Dual Band Mobile Phone Signal Repeater (CDMA800&PCS1900)
Have you heard of quantum bogodynamics?

The theory is that there's an elemental particle, the bogon. When this is absorbed by a piece of equipment, it frequently malfunctions.

Good engineers, over time, become bogon sinks, so that when there's an engineer around the bogon absorption rate of the equipment they're working on drops. Meanwhile, managers tend to become bogon _emitters_. So, give a device to them and it instantly fails. Pauli, here, sounds like he was a massive bogon source.

This handily explains the effect where the device will reliably fail but when an engineer shows up to look at it, it works fine. It also explains why demos are so flaky: all those people watching the demo are emitting a massive bogon flux...
just phenomaly practical
You often don't have that option in game dev.
.oO( we're good at writing code, but bad when it comes to reasoning about code, so why not write code to solve that problem... )
Non-visual methods to protect the site from spam. Part 3
Next generation marketplace for 3D filaments – 3dprintmaterials.guru
OpenID has been deprecated in favor of OpenID Connect:

* http://openid.net/specs/openid-connect-core-1_0.html
* http://openid.net/connect/faq/
80+ Great Apps and Online Tools for Entrepreneurs and Startups
Xiaomi – Broken engagement
Not true. Dex and Hydra both support it, although you need to implement a little bit more stuff when using Hydra. Read it in the docs: https://ory-am.gitbooks.io/hydra/content/connection.html
I once saw an american cartoon episode (of Freakazoid!) where the hero went back in time and prevented World War II from ever happening, by intervening at Pearl Harbour.
Privacy-Aware in 2016
Donald Trump Facebook Bot
The 4 best alternatives to JavaScript
There is no such belief. Argue like an adult.
I am also curious to know, what are some things which would be worth specializing and hold great value for the future? (Of course, it is hard to predict the future, but would just like to know what the HN community is betting on)
Evaluating IPv4 and IPv6 packet fragmentation
Why Startups SHOULDN’T Have Growth Teams
Vulkan and OpenCL also support the same intermediate format SPIR-V, which allows you to run the exact same kernels on both APIs.
Understanding the Fisher-Yates Card Shuffling Algorithm
I read the first line as: "Have you heard of quantum Bogeyman"

Going to get a second cup of coffee now...
Google I/O 2016: Here is what Google has planned for future
> We agonize over which brand is healthier for our cats and dogs, but it's all an illusion.

Does manufacturing the product at the same location imply that the content is the same?
Nobody is complaining about people playing around and inventing new stuff. That's the hacking spirit, that's the essence of progress. I like browser experiments just like everyone else, even if half of them lock my computer up.

No, we're complaining about those inventing new ways to make people's life much worse in exchance for the off chance that someone leaves them more money.
Also, why would he say that when he knew, very well, that OOP was invented in Norway?

http://coldcomfortgames.com/blog/object-oriented-programming...

https://www.quora.com/Why-did-Dijkstra-say-that-%E2%80%9CObj...

It seems no one is able to find the source of the quote, it's in fact much more likely he did not say anything like that, and that the quote is a fabrication.
World most expensive vulnerabilities TOP list
> then that's unsustainable in the long term

I agree that it sucks, but I'm not sure if it's unsustainable. There are plenty of worse situations in the world that pretty long-lasting.
How React Makes Web Development Scalable
Sure there are ideal designs, but only for certain requirements. Operating systems are a good example for changing requirements: Operating Systems were seen as a field where everything was solved until multi-core came along. Today we have the situation that instead of protecting the system from users and users from each other we have to protect the user (singular!) from malicious programs.
I've been off alcohol and drugs for 2.5 years, and abstinent from compulsive overeating for almost a year. Food was harder to get a handle on than meth, no joke. Quitting refined/added sugar in particular was almost as bad as quitting smoking. (Haven't smoked in 1.5 years either.)

In my experience, compulsive overeating is every bit as much an addiction as alcoholism, smoking, or hard drugs. I saw myself exhibiting the exact same behaviors around food as I did around alcohol (splitting my shopping up between multiple corner stores so none of them would know how much I was eating) and feeling the exact same way about myself (I'm a worthless piece of shit, I'll never get a handle on this, I might as well just dive in and die young).

You might argue that had I not learned those behaviors while being an active alcoholic, I wouldn't have put them into use with food. Maybe. I think that's beside the point. The point is that I couldn't stop even though I desperately wanted to.

In my case I had food problems before I got sober. I hear about people turning to food after they stop drinking (in fact one very well-known program explicitly recommends it), but for me food, booze, drugs, nicotine, and casual sex were/are a package deal. They all hit the same place in my brain, perform the same function for me emotionally, and are impossible to quit on my own.

(Posted anonymously for reasons I hope are obvious.)
Even for std::map gcc generates identical code:

https://godbolt.org/g/C6kooc

https://godbolt.org/g/7RS5PQ

godbolt is a great resource to see just how good modern compilers are.
I think I know why I don't enjoy writing test. Most of my enjoyment from programming comes from feeling of power when I am able to write concise code that does a lot for me.

Testing spoils the fun as now I need to write another piece of code for each, single thing that my original piece of code is doing.

I am no longer a wizard casting fireball into a room. I'm also the guy that has to go over the corpses and poke each one with a stick strong enough and for long enough to check if they are absolutely totally dead.
That's not a reliable source, and it does not specify source of the quote.
The libraries (SDK) I used for my first project for had security flaws. OAuth2 is super simple to implement, but hard to get right. It's not just two endpoints, it's multiple specs with ~200 written pages. Some people for example don't even know that [rfc6819](https://tools.ietf.org/html/rfc6819) even exists. Most SDKs are also very limited or hard to extend (e.g. adding OpenID Connect).

I believe that adding a docker container to your deployment and creating a consent token (JWT) is even less work than integrating with an SDK and implementing the missing parts every time you hit that new edge case. On top of that, you can be sure that it is backed by an open source community.
Oh I do want an AI to decipher an API for me, it's usually annoying to discover how it works
Isn't that their choice if they want to work so far from where they live? Can't they get a job somewhere else, like in their own neigborhood? These teachers, firemen and policemen must be really hanging to the edge of long term unemployment if they're only able to work in this one small far-away neighborhood. Perhaps the problem then is that we have an oversupply of such workers and those most unemployable who have no choice except Palo Alto should consider changing careers.
Maybe you should read? The secure enclave is completely separate to TrustZone on an iPhone and has nothing to do with Qualcomm.
I'm not sure I follow your reasoning? Are you suggesting that control of ones labour is inextricably linked to property rights?

Being able to decide how to spend your time, and having exclusive access to particular resources are completely separate things.
The example you gave is actually different code and are not directly comparable. With i = 0; x = array[i++] will access the first element, x = array[++i] will access the second element. So of course in the second case the array load will wait until it gets the incremented value.

Edit: The same code with a preincrement notation would be x = array[i]; ++i;
There was a guy who decapitated himself with a drone just a few years ago. I think you vastly underestimate how easily carbon fiber propellers going at full speed cut through things.
Audiobello – Search Engine for Royalty Free Music
> I've spent more time fixing tests because we changed something on purpose than I ever have because they caught something we missed.

That's why I love the "dump results into a single large string and compare" style of testing. Declaring a given output as known good (until proven otherwise) is a bit of a gamble, because yes, you do think harder when you are writing individual asserts. But when something changes it is very easy to tell a bad, unexpected change in the output from a good one and replacing the previous known good copy with the new one is just a few keystrokes away. A comfortable anything-to-JSON tool and a good diff viewer should be part of any testing arsenal.
The "Demo effect"
“Login” is not a verb
I don't think it actually helps with spam issue, at least not in China.

Almost every iMessage user who activated with a Chinese mobile number has been receiving 3~10 spam iMessages everyday about online gambling and etc since ~2012 when iMessage service went live in China. The content for those messages have been pretty much the same with some minor variant on wording.

With the scale of the spam, I believe it's likely not sent thru UI scripting, but the iMessage protocol might have been well reverse-engineered and exploited by spammers. So disabling UI scripting won't help anything but cause trouble for developers with legit usage.
SORT JSON ALPHABETICALLY – Supports Objects/Arrays/Collection
> Rotating certs is like restoring backups, if you only do it when shit hits the fan (server crashed or cert expired), you're doing it wrong.

you restore backups even if the server is still ok? why?!
> And because of the way the free market works despite the average family working twice as many hours as one in the fifties they're no better off

IMO the fifties in the US were a total anomaly and they're not coming back ever. It was a time where (more than?) half of the world was taken out of competition due to idiotic economic system of communism, and Europe, the only potential competitor to the US, was still in shambles after the war. The US were a sole economic superpower, no wonder people had it great back then.
Sorts JSON object alphabetically. It supports nested objects, arrays and collections. Works offline and beautifies JSON object too. Quite useful for comparing similar objects.
Kotlin Tips: Named Parameters and Default Arguments
OAuth is a framework not a protocol. The security it provides can vary greatly between implementations.

Fosite (which is what this is based on) is a very good implementation from a security perspective: https://github.com/ory-am/fosite#a-word-on-security
Pimoroni BilgeTank – Clusters, Docker, Brambles and Raspberry Pi Supercomputers
> After going through a lot of pub-med researches about decreasing my blood triglyceride levels, I found out that I have to get rid of sugar and saturated fat completely, and eat foods with low glycemic index.

I'm doing basically the opposite - I avoid polyunsaturated oils as much as possible, and prefer simple sugars (fruit juices) over starches. I'm starting to sleep much better, which I think is a good sign, for me.