skysight-inc/HackerNews huggingface dataset:
The solution is to use more specific names. E.g. Cowboy.DrawGun(), Shape.DrawTo(canvas)

Yes, sometimes this isn't an option when you want to satisfy the interface for two different libraries, but I've not seen this occur very often. More likely you're in control of one of the interfaces; so rename your method to be more descriptive.
Ah, I see. You're right, then.
In some countries/cultures, letters of reference are handed out in a sealed envelope.

The interview process involves taking lots of weak signals (you can't tell much about a person by talking to them for ~30 minutes) and trying to take a hire/no hire decision. Every little thing contributes to this decision. When people give more importance to incorrect signals, you end up with a bias (which can end up reducing diversity in the work place).
> If font and color choice with a few vectors was all this designer ever did, then he was in trouble with our without this tool set.

I would say it's more like, for many businesses, a few icons and color choices is all they want in the first place. The bare minimum to have your site/app/whatever not be ugly or unprofessional. And now there are a lot of ways to do that without needing a designer.

I don't think this is a good way to make software, without someone whose job is to think about the person on the other side of the screen, but it is a way.
And you still can do that—supply the source when you sell an app. But to be able to not just give your customers the source, but to give them access to a GitHub project that they can follow, and submit pull requests to, and pull new updates and so on from... plus, to not have to set up your own storefront, and manage the source permissions and whatnot. That would be a very nice feature for GitHub to have.
Tried a sameple and it works -- amazingly simple solution to a really annoying problem
Re performance: It's not a question of raw speed, it's a question of predictability. GCs introduce unpredictable hiccups and require significantly more RAM (GCs are happiest when the working set is very small but the heap is very large - basically, the greater the percentage of RAM used is garbage, the happier the GC will be)

Whether or not you can afford this very much is an upfront thing. You cannot push something like this off until later. For things like a web browser or game engine or other highly-interactive, highly-latency-sensitive, high-ram-using thing it's known far in advance that the GC will be a curse.

This is why C++ continues to be the language of choice for those sorts of systems. Control over memory is crucial for them.
Misleading labeling (like there is with organics) is worse than no labeling. What you end up with is a product of questionable quality that is more expensive than it should be because someone has to pay the inspectors.
> You've conveniently ignored the case of the non-drawing commands. Should they be Drawables with a Draw which does not draw anything?

In particular, you can't implement Quit using a virtual method, unless you do something like have every function return a boolean to the caller indicating whether it wants to quit (or panic and recover, but that's too awkward for words).

You also can't have methods that set local variables in the caller, unless you do something like pass in their addresses to the function, which gets awkward quickly if you have a lot of local variables.
It's not the same.

In Hungarian Notation, the type is enforced by a declaration, but it's documented by the prefix.

In go, the enforcement and documentation are one and the same.
That's definitely a trade-off compared to strong authentication, one that I wouldn't want to make in critical environments. But indeed a very nice feature for 99% of low/medium risk applications.
I think he was not saying a physical connection was necessary, only that a physical button on the key fob was necessary to start the car. Still wireless, it just requires interaction from the driver who must physically have the key fob.
> the 30% is definitely not going into training, hiring more or providing responsive and helpful customer service

It should, certainly, and it's not, but I didn't claim that it was.
Even if your lump of gold has just 100 atoms, each with a quantum “spin” that can be either up or down, the total number of possible states totals 2[^]100, or a million trillion trillion. With every added atom the problem grows exponentially worse. (And worse still if you care to describe anything in addition to the atomic spins, which any realistic model would.) “If you take the entire visible universe and fill it up with our best storage material, the best hard drive money can buy, you could only store the state of about 300 spins,” said Swingle. “So this information is there, but it’s not all physical. No one has ever measured all these numbers.”

I realize this is likely a translation error, but the amount of space required to keep the state of 300 up/down spins is 300 bits, or 38 bytes.

Now, the space to keep all possible states of 300 spins, that's different. That's what lazy evaluation (and a lot of time on your hands!) is for.
Your example is not idiomatic Go either, the interface should be named Drawer not Drawable.
The Four Most Common Evasive Techniques Used by Malware
The purpose of providing references is to close the deal. It isn’t to find out if you are telling the truth about your dates of employment, verify if you have the proper skills or even assure the hiring authority he’s making the right decision to hire you -- though each reason contributes.

If a company is having difficulty deciding which of two individuals to make an offer to, references are usually the deciding factor. If more job seekers understood this, they wouldn’t view the phrase “references provided upon request” so casually.

http://www.jobdig.com/articles/843/The_Real_Purpose_of_Refer...
Scroll-up to earlier discussion there, it's about security implications and conditional byte swapping, so it;s not all about the performance.
Not all 380, but certainly some[1]...and I can find many more, but leave that as an exercise for you.

Linked story is of an unarmed teen, with hands outstretched being killed by police. Also there was a video. However, teen is white officer is black. Officer cleared of charges. Very similar to Ferguson, but no riots, no fanning of the social injustice flames by the media, etc. No national story.

I point this out to show that police are doing this sort of thing all the time, however the media (defined as TV news, online news) are very selective of the ones they promote because they know they will get a reaction.

[1] http://www.huffingtonpost.com/2012/10/11/gil-collar-shooting...
My biggest gripe with Go: Unused variables. Unused anything doesn't let me go on with coding. It's obviously a design decision from the makers of Go, but the way I usually program is "experiment first, then clean up".
UI for a Next-Gen AppleTV
When I have worked at places that required them, I looked at who they gave (didn't care what they said). Recent ex-boss is good -- boss from 15 years ago when you were an intern: troubling. I would not reject on this, but I might ask about it.

The best places I have worked don't ask for them and don't check them if you provide them.
Masterlocks: Cracked
It's bizarre that they launched the Nexus 6 without someone flagging that up. I'd love to know what internal discussions were had about this.
how to copy paste and install banners
For most workloads, increasing the number of machines does not increase the amount of data sent over the network, so the ratio of computation to network bandwidth stays the same. As a result, increasing the cluster size doesn't make workloads any more I/O bound.

At some point, a larger cluster will be more bandwidth-constrained because of oversubscription, but given the network utilizations we saw (<5% at the median in Figure 5), a cluster would have to have pretty high oversubscription for the network to become the bottleneck.

The one caveat here is, for example, matrix workloads, where the data sent over the network increases with the number of machines.
Hydra is a distributed data processing and storage system developed at AddThis
With the infrastructure described, I can imagine the turnover increasing as 'paper' length decreases. When there are lower barriers to sharing with other scientists perhaps the scientific method will become a more iterative and communal process: less cathedral, more bazaar.
William Pye: Water sculpture
Logo designers are safe from automation until someone invents an algorithm that can understand design trends happening out in the world and create something that stands out.
Latest Sexting Scandal Shows Many Adults Have Some Growing Up to Do
Show HN: Analysis: 25 verticals, 366,596 posts, and 130,279,586 shares
a way to automatically pinpoint and remove duplicate content
"It may be possible for such an attacker to execute arbitrary code with the privileges of the user running file(1)."

This is what I am saying...given the right input, file(1) could do anything and everything. Yes, it's only due to a bug in file(1), but still that's kind of ridiculous.

We have all sorts of things in place to protect against other bugs (for example, segmentation faults), and there's 27 years of evidence that we need some more help.
And yet you're still paying 4-5x the price for 4G, with ridiculously limited data plans and excess charges.
This great comment would be better without the needless insults. Consider omitting them next time.
Not exactly, there are many LED driver ICs with SPI, and you don't really need a 1000A-capable 3V bus, just 500 or so small wall-warts ;)
DBUS is a "weird" one.

It came out of the initial freedesktop project to improve interaction between KDE and Gnome.

KDE already had system called DCOP for internal use (allowed for instance Konqueror to be web browser, file manager and multi-pane FTP/SFTP client all at once).

But as with much of KDE it was created using C++. And Gnome is made using C.

So DBUS is something like a reimplementation of DCOP in C.

And the rest is history...
Our food pre-GMO Round Up resistant seed was sprayed with herbicides already, just not Round Up. They would have to spray for specific weeds and do multiple of sprays and mix these herbicides together. To argument is that now that it is one herbicide it is actually less chemicals and less mixing of different chemicals to keep out weeds.

GMO that are naturally resistant to insects will also help lower the amount of pesticides that are used.

In the 1990s I had friends that were wheat farmers and I would fly out there and work for 2 weeks for a vacation. It was fun but I also would go out and inspect the fields to see if there were bugs or weeds (Wild Wheat and mustard was the worst) to see if something had to be done to say the crops. My friend always was worried about losing his crops to something and sadly he did sometimes lose whole square miles of crops.
Well... they might have a better antenna or just a bigger amplifier than your car does. And if they can just walk past you to unlock your car, that's still pretty unnerving.
> Is interview process not enough?

Some people are frighteningly good at bluffing their way through things like interviews, through techniques like reading body language cues from the interviewer and telling them what those cues reveal they want to hear. (Jon Ronson's excellent book The Psychopath Test (https://en.wikipedia.org/wiki/The_Psychopath_Test) profiles several people who mastered this kind of thing.) So it's useful to have ways to validate a candidate's bona fides that are external to the interview.

> I will only give references from people who will give me a good reference. What is the point?

Just the fact that you can rustle up two or three people who are willing to say nice things about you tells the employer something positive, namely that you have not spent your career burning every bridge after you crossed it. If you can't even get over that low hurdle, it provides cause to wonder if working with you is more trouble than it's worth, regardless of how sparkling your technical credentials are.
Summary:

1. Environmental awareness allows malware samples to detect the underlying runtime environment of the system it is trying to infect.

2 .Confusing automated tools, allows malware to avoid detection by technologies such as signature-based antivirus software.

3. Timing-based evasion to run at certain times or following certain actions taken by the user.

4. Obfuscating internal data to include any number of tricks to run code that cannot be detected by the analysis system.
AWS Summits 2015 – London – Session Recordings and Slides
> Yes, sometimes this isn't an option when you want to satisfy the interface for two different libraries

This is assumed in the description of the problem. Go has no solution for it. (Java doesn't either, but this is one of the things that C# got right over Java; it's unfortunate that Go has the same issue.)
In defence of hungarian notation, the way Joel tells it makes a lot of sense [0]:

"Simonyi’s original concept for Hungarian notation was called, inside Microsoft, Apps Hungarian, because it was used in the Applications Division, to wit, Word and Excel. In Excel’s source code you see a lot of rw and col and when you see those you know that they refer to rows and columns. Yep, they’re both integers, but it never makes sense to assign between them. In Word, I'm told, you see a lot of xl and xw, where xl means “horizontal coordinates relative to the layout” and xw means “horizontal coordinates relative to the window.” Both ints. Not interchangeable. In both apps you see a lot of cb meaning “count of bytes.” Yep, it’s an int again, but you know so much more about it just by looking at the variable name. It’s a count of bytes: a buffer size. And if you see xl = cb, well, blow the Bad Code Whistle, that is obviously wrong code, because even though xl and cb are both integers, it’s completely crazy to set a horizontal offset in pixels to a count of bytes."

It's actually a practice I now use myself in certain contexts.

[0] http://www.joelonsoftware.com/articles/Wrong.html
So, you can get some of these kinds of cycle counts by changing the event that gets used for record.
https://perf.wiki.kernel.org/index.php/Tutorial#Events

So you could use record -e branch_instructions, for example.

Past that, things like "time spent in stackframe setup" is not sane to measure on an optimized binary, because the instructions hat set up the stack frame may be all over the place (due to shrink wrapping, etc).

This means the overhead of counting them would probably require instrumentation and be quite high (and perf is sampling based, not instrumentation based)
You sound like you have a knack for stumbling upon all the right people
Systrace was added to the base system 10 or 11 years ago (3.6, IIRC), but there was some hesitation among some key team members to use it widely (the argument being that privilege separation utilities themselves will almost always have security problems). That ship seems to have sailed, though, in more recent years.
Maybe Apple can add a low-power GSM/2G phone modem to Apple Watch v2. Then one could do outdoor sport without carrying a smartphone in the pocket.
Top Gear did this experiment and it worked.
New Treatments for Thinning Hair for Women
http://en.wikipedia.org/wiki/Halting_problem

Welcome to the joys of parsing.
Oh, it is so tempting to reply with "PDF files: What's Wrong With Them, and How Can We Fix Them". There, I did it.

Here is a 30 second summary of the paper from one of the authors: https://www.youtube.com/watch?v=-t0U7-BiWHw
A Universe in a Nutshell – The Physics of Everything, with Michio Kaku [video]
Yes! But often they have a hard time expressing it in terms of a problem, but instead think of a way to solve it, and present that to you. This is bad both because you as the developer don't know what they really want to do, but also because, being inexperienced at software design, their proposed solution is usually not very good.

So often I find the first step is to back up from their proposed solution, by gently probing what their reasoning is, then once the problem is better defined, only then going forward again sketching out a solution.
I would try a subscription model similar to Spotify.

Let Bethesda charge 2 dollars a month for access to their workshop. Modders then get a piece of the kitty for the number of subscribers to their mod.

Quality would increase because modders would want more subscribers, they would work to keep their mods up to date so that people stayed subscribed to them, and modders would not have to build an infrastructure to service and support a customer base as if their entire enterprise was a single mod.
I was not expecting "one of the most heated forks in free software" to involve two pieces of software I had never before heard of; nor am I entirely sure, after reading the article, what these packages actually do. Despite the mystery, it's more interesting than reading yet another account of the emacs vs xemacs split, or gcc vs egcs, which I suppose are drifting on back into ancient history at this point.
And while it was probably a "good" idea, the implementation was terrible. Absolutely zero binary compatibility between SLES11 on a POWER7 and SLES12 on a POWER8 (same for RHEL). I think the official line was that compatibility comes in the form of being able to run the older OS in a VM...

This is worse than the HP-UX PA to IA transition, the mac 68k to PPC, or PPC to x86, transition/etc.

The least they could have done was some kind of elf loader, and some fat libraries that flips the execution mode for one generation while everyone transitions.

The stated claim was to make it easier for people to transition to POWER from x86 (aka little porting effort), but what they really did was screw their existing customers by requiring them to port their software (big porting effort). I question, why if I'm going to spend the effort to port from BE POWER to LE POWER why I wouldn't just port to x86...
> Not all 380

So the claim was false, so why did you make it?

> and I can find many more, but leave that as an exercise for you.

Its not really my job to support your argument. If its not important enough for you to present evidence, its not important to me to go look on the off chance that you might not be exaggerating again.
I really like the idea of capitalization selecting public and private scope. However, how do they use protected scope?
Freedesktop was a interesting idea at the outset, but has since grown into what seems like another branch of RH alongside Fedora and Gnome.
Audi samples diesel made directly from carbon dioxide
> People have been protesting peacefully in Baltimore all last week with 0 answers from the police or elected officials. No media was talking about it, [...]

It's almost a law of the internet that when someone claims media is not talking about something they turn out to be wrong:

April 24th: stories in New York Times, New York Magazine, Wall Street Journal, Boston Herald, NPR, NBC News, ABC News.

April 23rd: CNN, The Guardian, ABC News, Washington Post, Christian Science Monitor.

April 22nd: TIME, Daily Mail, New York Daily News, ABC News, Christian Science Monitor.

April 21st: CNN, Washington Post, New York Times, ABC News, Huffington Post, The New Yorker, The Guardian

April 20th: New York Times, NBC News, Washington Post, The Guardian, Slate.

April 19th: CBS News, Al Jazeera America, Wall Street Journal.
I don't believe it's possible to do triangulation in anything like a remotely accurate fashion with anything that'll fit in your pocket.

I don't see how ultrasound helps matters at all. You just change the nature of what the attacker has to relay.
Crazy seeing what kids get away with today. However I think the medium has just changed:

Nothing like this ever happened when I grew up, we were not passing photos of girls around. If you wanted to see someone nude, it would have to be done in the basement of the school or the backseat of a car.
Job Skills Companies Want but Can’t Get
You also enter into a Looney Toons lemonade situation where someone can release your exact mod for slightly cheaper.
Reminds me of https://www.youtube.com/watch?v=5FFRoYhTJQQ
Oh yes, that would obviously work, but of course you're changing the nature of the device. There are some easy ways to prevent relaying if you're open to that. It's more interesting to me to think about how you might solve the problem without changing anything from the user's perspective.
This is awesome. I've been on the lookout for a thin wallet and this checks all the boxes in addition to it being very reasonably priced.

Just ordered brown/brown, nice work guys.
"The proxy server isn’t responding"

Site does not work where I am :(

What is it? Data analysis for HN as a whole?
If so what are verticals?
Cyclomatic complexity may just be another way of saying "lines of code":

(http://www.scirp.org/journal/PaperDownload.aspx?paperID=779)

We found that due mostly to issues regarding population variance, that the linearity of the relationship between these two measurements has been severely un-derestimated. Using modern statistical tools we develop linear models that can account for the majority of CC by LOC alone. We conclude that CC has no explanatory power of its own and that LOC and CC measure the same property. We also conclude that if CC does have any validity as a measure of either complexity or test space size, then we must conclude these factors grow linearly with size regardless of software language, paradigm, or methodology.

I was looking for another reference, and I found this one, which seems far better researched.
Most hotels will do the same thing FWIW.
Indeed, it would _hurt_ his wife. It sounds like a place I'd like to go to.
Can you explain to me why older cars are easier to steal? I'm not familiar with auto theft/security and I'm curious.
Did TSMC’s 20nm process harm Qualcomm’s Snapdragon 810?
Safari, Chrome, Firefox works fine. Can you share the certificate this site serves to you?
I can't edit anymore, but expanding on the GPS idea: I just realized that we pretty much all carry around a GPS-enabled "fob" these days. If you switched away from using a dedicated fob and instead authenticated against a person's phone, you could double-check proximity that way. It would only need a quick check before opening the car, so battery life shouldn't be affected too much.