skysight-inc/HackerNews huggingface dataset:
> what if your tests are poorly written

This seems like tautological reasoning. Naturally, if you write bad tests then they won't be effective, but that seems like a poor argument against testing. That's like saying "Yes, bypass surgery could save your life, but consider this: what if the surgeon is reckless and kills you on the operating table?". Obviously, there is a minimum expectation that the surgeon will follow proper medical procedures when operating.
How do you test your test if you don't write the test first?

If you write the code, and then you write the test, then you haven't tested your test. You have no proof that your test will detect broken code. The only way to prove that your test can detect broken code is to run it against broken code. So you can write the code, then write the test, and then break the code and run the test. Or you could just write the test first, and run it. It should fail. Surprisingly, sometimes it doesn't: either because the test was bad, or the existing code didn't work like you thought, or sometimes the language doesn't behave like you think.

I've dealt with hundreds of thousands of lines of tests where I could go into the code and just start deleting functionality en masse, and no tests failed. If you don't test your tests, they're just bloat. They're the kind of pointless bloat people are complaining about in these unit testing threads.
There's not a lot of empathy in these comments, so I just wanted to say that I've been there and I know it's scary. It's a shame that hard-working people with an education can't find opportunities outside of a handful of metro areas. I moved to the Bay Area for the job density, but I understand why people with families aren't eager to do the same -- I'm single and childless and most days I wonder why I keep living here.

Best of luck with everything. If you don't want to freelance and don't mind travel, DM me for an opportunity.
I would guess it's the same as Perl, too much magic.
Has anyone built a bot for forums? I would LOVE to see a forum where all the threads were started by bots and contained bot conversations on whatever topics.
Sure it does, you just have to do it like in the good old days.

The easy way is to make use of object pooling via sync/pool.

The hard way is to declare a static array allocated as global variable in a package for the set of data that one needs to manage and make use of pointers to free slots.

What patches to runtime and compiler?

You are mixing up programming language and implementation.

There are no pure ANSI C compilers for bare metal programming, 100% of them require language extensions.
You ever notice how most people never tell you what state they're from unless you ask them? It's almost like they don't believe their state of origin to be all that important to their personal identity. Some of those people might even be from Texas.

But the hombre from Texas is not one of those people. He will drive for 30 minutes, past dozens of ordinary, mundane restaurants, to reach the nearest Texas-style barbecue restaurant, run by a fellow expatriate Texan, who shoulders the burden of living outside of Texas for the sake of fellow Texans who tragically cannot be in the best state all the time, yet need to regularly consume bits of Texas in order to survive.

Ironically, Texas has so many people in it, all constantly surrounded on all sides by Texas, that you cannot easily identify that guy until he actually leaves the state.

Also, the thing that's wrong with Texas is football. That is easily 120% of my problem with Texas.
If GPO is locking down Edge, but not preventing you from installing another browser, it's a bad GPO...
Not sure if you are Dutch, but if you follow dutch news then you'd known the soap bubble 'blendle' has burst already... Afaics they are at the brink of bankruptcy, and needed multiple financial injections to 'survive' and papers like NRC, FTM and recently the telegraaf have already pulled their publications.

Today the people behind blendle launched a new product, Medianieuwsbrief.nl To me another pointer that blendle is no longer viable and they are looking for new products.

They are what others describe causing brand erosion, as they collect articles from lots of sources, readers will forget/not know who actually wrote the article, which newspaper the good articles come from etc.
There not enough developers to fill the demand though!
> "Another person I know is in a similar situation because his group won’t talk to people who aren’t already employed."

This point alarms me a bit. It doesn't even have to be a family circumstance. What about departures for your own mental health, or sabbatical?

So if I take some time off to learn a new stack (I'm leaning toward Elixir), and build a few projects with it in my free time, I'm a lesser candidate?

This being said, I do have a friend who did take a year off to pursue music. However, he's what they'd call a "rockstar" and has freedoms most of us don't.
All about web personalization
Great job, looks cool!

How does it compare with UCP ?

https://docs.docker.com/datacenter/ucp/2.2/guides/
Apps are already slow enough as it is don't you think ?
That did the trick, thanks.
Why Mobile Apps Fail: A Comprehensive View of the Problem
> a man wouldn't have to think about his personal safety as much by attending the event they won

This is a part I'm not sure to understand. You were supposed to hold a booth in a summit, which I assume was in a public setting. Surely, this should have been a serious deterrent on any physical assault. If despite this your partner started threatening you, wouldn't it have been possible to get the security to step in?
I think it’s because it’s getting into the next stage. When it first came out almost all projects using it were new. Now it’s getting to the stage where new people are coming in to maintain existing RoR code bases, and that’s very different. RoR is great for quick development but it can be much more challenging to jump into an existing code base that’s been running for a while and has had a few different developers go through it ;)
Are there any proponents of serious testing or tdd that don't also promote code review? Why would tests make this code more likely? If anything, I am more confident that I can change it to be better if I have a test suite.
Chaos Testing Reveals Issues with HTTP/2
First, there may not be a tech shortage if teams are “weeding through a stack of a hundred resumes, for one or two or five roles....”

But, if there is, I’m assuming that candidates are just applying randomly to any positions that are available. The ‘Tinder’ strategy is probably a good one if the goal is to maximize earnings. However, if one is a ‘5’ it makes sense to spam all of the positions. But, if one is a ‘10’, it makes sense to avoid interviewing all together because there is diminishing returns: too much work for too little potential gain.

So, the other question is if the hiring process is so ineffective, why aren’t companies innovating? There must be lack of competition in the market if companies are willing to wait several months and spend thousands of dollars to fill a role while also missing out on the best candidates.
> Places like Cobalt, the tar sands in Alberta, or Siberian nuclear test sites are basically uninhabitable without shipping food and fuel in from afar, so it doesn't bother me that they're ecological disasters.

Those things have destroyed enormous watersheds though. A lot of the largest rivers and lakes in Canada are now highly polluted to the point where it's not safe to eat the fish.

There are literally places in Canada that are so remote that no one has ever been there, but so polluted they are uninhabitable.
Thanks for providing the video link
I don't think that is why with Perl. Granted it's been over a decade so opinion might have changed but when I was in college Perl had a reputation as being a "write only" language. Where unless you had comments / documentation to explain it to you, if you encounter code you didn't write (or you wrote 6 months ago) good luck figuring out what it does.

All languages are like that to a certain extent but Perl more than others.

Edit: fixed "read only" to "write only"
On a positive note for a language to be hated on that list it had to be successful and big enough at some point to be useful ;)
Android getting “DNS over TLS” support to stop ISPs from spying
> You could meet that criteria in a single weekend if you wanted to.

So, basically, it's just a absurd arbitrary criterion? I don't think there's anybody on the planet who could claim proficiency in a new language in a single weekend's exposure. Most won't even remember anything it about a week later with that little exposure. Logically, your requirement is meaningless.
There are commercial Java and Oberon compiler variants for Cortex-M level systems, though.
This is fine if it's how you want to handle it, but you can not ever complain about a shortage of qualified candidates.
What's the scariest part of starting a company?
+1's for describing how to overcome those fears.
I must confess the video is making me feel pretty sick. Anyone else feels the same thing ?
Fixie tries: a popcount trie implemented in Rust
> Talking in the level of ADTs (or some representation that is equally precise)

I will argue that ADTs offer no more precision than first-class properties and first-class properties are much more aligned with human beings natural way of thinking.

I.e., "name" is semantically strong/precise, I don't need to enslave it to a Person class. I can give a Cat a name, a building a name, etc.

ADTs are trying to bundle properties together when those properties should/could have strong enough semantics on their own and be much more "composable" (RH's term) and freer to use.
This reminds me that enterprise software is garbage.
I would argue that no one who has commented in this thread so far has actually read the article.
This article really gives me a feel for what it's like to live on the very bottom rung of society: the petty ex-con. It's lower than living as an illegal immigrant or someone on disability payments. The crimes this guy commits are so petty that the criminal justice system isn't even that interested in him.
Hey ho. I'm Chris, I'm on Google's Open Source Team.

One of the replies was right to point out this URL here: https://opensource.google.com/docs/iarc/

The key passage is this:

> As part of your employment agreement, Google most likely owns intellectual property (IP) you create while at the company. Because Google’s business interests are so wide and varied, this likely applies to any personal project you have.

We have two systems for Googlers to release code. We want Googlers to open source stuff. It makes everyone happier. So we have one method, which is really simple and pretty fast-track, usually taking about a week. That's what you see here: Google retains the copyright, we release it under Apache 2 to a Google-owned GitHub organization. The repo owners can then patch their repository without further approval steps (Google owns the copyright on that new work too), accept patches (as long as the submitter has signed the CLA) and we trust owners to act with common sense (e.g. don't change the license :) ). If the Googler leaves the company, they are free to fork the repository.

The other method is IARC as detailed in the URL, where a committee has to approve that the work is something that Google is OK with handing the copyright over to. I think the most common example is Googlers who write games, but of course people have all sorts of reasons for why they want to hold onto the copyright.

We recognize the challenge that comes with releasing repositories under the Google GitHub organization, but for those repositories to be not official. Headlines like "Google open sources [x]" is legally true but not spiritually so: the original author is the person who really open sourced and owns it, and Google is not really putting its institutional brand behind it. We have to balance that with the fact that we really need to know where all our repositories are, and be able to administer them, such as enabling CLA checks and forcing 2FA. The GitHub setup right now means that means putting repos under orgs we control.

We've spoken before about having a separate org that the non-official repos sit under, but this has always presented its own difficulties: if a project takes off, when does it "graduate" to the main org? What breaks if that happens? (Go code would for sure) What if the author feels they should graduate but we don't? Would projects in the non-official org not get the attention they deserve? etc. etc. Given that it's not a clear win, we've not opted to do that.

That said, I feel like I've seen the "Google releases [x]" headline on Hacker News more of late, and I am not sure if that's because submitters are excited and editorializing, or if there's genuine confusion. I'd love to hear any thoughts people have on that.
I don't think Ruby's a bad language, but unless you've built some very good programming habits, it's really easy to get "too clever" with Ruby metaprogramming and do something that's conceptually neat, but makes everyone else who works with you want to strangle you.

I left Ruby behind last year to program Go full time. It's much easier for me to not have to do the mental gymnastics of figuring out where a Ruby method came from.
Where is everybody? An account of Fermi's question (1985)
> For example, Perl is the most "disliked" language; what that really means is that developers have actively listed it as a job opportunity they don't want.

In the specific case of Perl, this makes the analysis highly skewed. I liked
using Perl (I no longer write in it because my current team already knew
Python well and not even a bit of Perl), but almost all the job ads around me
that mention Perl come from big, old corporations. I wouldn't want to maintain
a corporate internal tool written in Perl, because Perl in such an environment
means a very old and overgrown script (virtually all newer are written in
Python) in a complex and complicated system that cannot be updated to modern
architectural standards, and Perl from '90s and early '00s has a history of
being used mainly by dilettantes who couldn't tell global and local variables
apart.
Amazon AWS is something that you should definitely look into. AWS is always hiring!
IIRC it's because the APIs that Edge uses are only in 10.
> Python's continued popularity surprises me. While I like Python and it is good for data science I don't understand why people use it for websites. The PHP and Ruby ecosystems are far more mature if you consider ease of use and if you are going for performance, Go and Java based frameworks are better. Even in the data world, I kind of like R over Python.

Python is very easy to use and often targeted towards non-programmers. You'll find a lot of tutorials online that don't require any previous knowledge of programming, different to other languages. At the same time, Python is popular with many full-time programmers which gives you the feeling that you learn a professional language very easily.

I personally think it's nice for scripts that only run once or need to be adapted continuously, which is often the case in data analysis. I switched from R to Python, I found function naming in R so confusing that I constantly had to Google basics even after years of using it.
I have talked with several people who were in your steps and then I mentioned that "hidden" inside of R is a scheme influenced part of the language. I ended up learning Racket, a fork from Scheme, and I have to say my enjoyment of R has grown, especially using it within the tidyverse family.
That article is garbage. For example, the claim that an object has trillions of states ignores our ability to classify ranges of values. Sure, an int may contain "four billion states", but for the requirements (which he makes such a big deal about) its highly likely that we can classify the integer into three states: less than zero, zero, greater than zero. As a bank, I might not care how much money you have, only that you have more than zero. In a transaction, I don't care how much money changes hands, as long as no money is lost. The article is a tantrum.
You've got a PHD, your probably very specialized. This definitely closes alot of doors for you, but it's you closing the doors.

I don't envy the years I could look through the want ads and say to myself, I can do that, I can do that, I can do that. I prefer now, even though it's a bit a crap shoot whether someone is looking to fill a position with my skill set.
See my reply above.

TL;DR: Google's employment agreement means Google owns the copyright, which is what you see here. That doesn't mean we are endorsing the repo or making any claims to its importance.
Yeah I heard him say that and to be perfectly honest I don't know if I believe he truly thinks that. This is a man who devoted years of his life to create a new programming language because he found it difficult and frustrating to use existing languages. In this talk and many others he talks about how he believes Clojure's features (like dynamic typing and dynamic dispatch and the whole keyword system and others) are really key to writing good software and how many other features (like static typing) are irrelevant or harmful... and now here he's saying programming languages don't matter much?
I would take them significantly more seriously if they open sourced the browser. All of their accomplishments may be impressive but it's a moot point if they're all being kept to themselves.
If you're going to filter on typos, you may as well put a hackerrank/leetcode question as the initial filter, or invent your own question. That will save you and your team more time since you will only get respondents that pass and you don't need to review every resume yourself for typos.
I don't use Chrome.
Edge for android and iOS use the built-in rendering engines on each platform.

Edge for Android is using Blink, Edge for iOS is using Webkit.

They could give you "Edge for windows 7" but it wouldn't be the same rendering engine from Edge on windows 10.
Automation will remain the key for securing web applications in 2018
This seems relevant: "Ripple, XRP and Micropayments",
https://xrphodor.wordpress.com/2017/09/17/ripple-xrp-and-mic...
(17) PONTIOUS PILOTS LETTER TO CEASER ABOUT TREACHERY OF THE JEWS YouTube 36
> It's irresponsible.

While I agree, it would be irresponsible to exhaustively interview isn't a key metric for a _good_ hiring process how efficiently you can find/place candidates who _do_ excel in the role?

By that turn, shouldn't a responsible hiring manager constantly be evaluating and improving their heuristics so that their front-line filtering is less biased and stupid in the ways that materially affect the quality of hires?

I don't think the point is that we can remove heuristic filtering from the process. Heuristics are necessary in hiring but this doesn't justify being dismissive of a discussion about whether a certain class of heuristics is really serving the needs of the organization.
sounds like the dating market
No it doesn't, and the tool integrations are open source.

https://github.com/wakatime
> nobody is taking them seriously

Chrome and Firefox run on Mac and various unices. Edge is just a pain to take seriously for me, a « various unices » user.
Gee, I guess I'm a bit of a sucker. I find myself pitying this man. He seems to have had no opportunity to bond with either a mother or a father.

> the true motivation of the swindler is never money. “They want to have power over other people,” she says. “What is more controlling than the most intimate thing of all?”

Indeed, I suppose if I had grown up like he had I'd feel very much powerless.

True -- Caldwell is bad news and he is really doing harm to his victims, but I think I understand some of what motivates him.
Remove the (oddly added) trailing
duplicate, please check before submitting!

https://news.ycombinator.com/item?id=15532356
Oh, ah, I see your point now. Apologies.

Not every year, no. Laptops are about every other year. Monitors are infrequent, yes.
Django is at least as mature as any Ruby web framework and more performant besides.
Combined with envelope keys it can be effective for many applications.

An envelope key is a securely, randomly generated key used to encrypt the large payload. Then the envelope key (much smaller than the payload) can be encrypted using a one time pad.

The result is that the precious bits of encryption provided by the one time pad are used up at a predictable rate.

Guessing the envelope key is more probable than guessing the one time pad key, but that only breaks a single message's encryption.
And opened the field of programming to many. Delphi, PHP and VB/VBA were the first languages of many of my friends back then who then went on to study computer sciences. They were easy to understand and to create basic functionalities, despite the shortcomings.
ha. except perhaps they're the unlucky ones because they chucked out a great engineers resume and the engineer is actually the lucky one ;)
Except that the featured article isn't saying not to worry about testing at all, it's about how to actually get value out of your testing.
While that makes for a great anecdote, there are action-oriented people should not be heeding that advice. An appropriate balance between rational ignorance and analysis paralysis must be struck. Otherwise, it's left to others to deal with your predisposition towards an extreme.
The presenter said it could be because the work laptops are locked down quite a bit. (GPOs to disallow some browser features is not uncommon in corporations at all.)
> I asked one of the proponents how they handle the fact that tests can easily increase the complexity of a system by adding more code.

Adding more code != more complexity. Complexity comes from high coupling between code, that doesn't separate concerns, which make it difficult to untangle, aka. spaghetti. Unit tests are mean to be simple, and anything they test will be no more complicated that how the system will actually be used. In this way they clarify the code, by encoding the intent, available for all to see for years to come.

> I've gone back to liking larger, more monolithic functions as often I don't want to create a bunch of generic functions for hypothetical use for other projects, I just want some code that fits my needs to a T.

This isn't what TDD causes, it just makes you break down things into small testable units. It doesn't make you create super generic wrappers, which I also agree are useless because of their un-readability.
Addressed here already: https://news.ycombinator.com/item?id=15593500
We'll see. "I will admit I have not tried Face ID yet, but it's hard to imagine a facial recognition system that solves the problem of having to carefully aim a phone at your face." - https://arstechnica.com/gadgets/2017/09/face-id-on-the-iphon...

"[Face ID] worked the vast majority of times I tried it"... (NOTE: Not ALL the time) - and "...it’s definitely faster than the first generation of Touch ID, though perhaps slightly slower than the second gen." -
https://techcrunch.com/2017/10/31/review-the-iphone-x-goes-t...

In any case - I don't lock my phone and swiping will definitely, definitely, definitely be way more annoying than being able to click a button.
Confirmed through sci-hub [1]

[1] http://sci-hub.cc/
The Frenchman Who Followed Chris McCandless into Alaska (2015)