skysight-inc/HackerNews huggingface dataset:
>Because I think you are blaming the victims.

Didn't you read the disclaimer?

>Religious nutjobs deserve every bit of mockery and disrespect.

What? You are out of your mind dude.
I could build a house without using nails or screws too.
Ask HN: Is PHP datatyping broken?
This gives an error:
<?php
$class = new StdClass();
$output = (null) $class;
var_dump($class);

This outputs an empty object:
<?php
$object = (Object) null;
var_dump($object);

Why is this?!
17 years ago, I worked for a hearing aid manufacturer. The common terms in use there were BTE and ITE, for "behind the ear" and "in the ear." Frankly, I thought the initialisms were poorly conceived. ITE is three syllables, same as "in the ear," and less meaningful for the uninitiated. BTE only saves you one syllable, again at the cost of meaningfulness. But either which way, your terminology is both understandable and correct.

Off-topic: While I was there, they asked employees to submit ideas for a new hearing aid marketing slogan, with the incentive of a free vacation to Vegas going to the person who submitted the one they used. For some reason, I did not win the vacation with my suggestion: "Stick It In Your Ear!"
Android and PCs are an apples and oranges comparison.

On PC code can execute and do arbitrary things (Window 8 "apps" excluded). The only security protections on PCs is either ring 0 or not ring 0. It doesn't matter if you're Windows, Linux, or OS X the very nature of x86/x86-64 is either "root or not root." Virtualisation might change that equation one day, but containers still aren't commonplace day to day.

So on PC application run away is a legitimate threat. You trust Adobe Reader, but if a website tricks Adobe Reader into executing an attacker's code then Adobe Reader can do anything it has access to on that PC (which is everything in user-mode, which is a lot). So you use AV as a stop gap to try and catch some of these (although its effectiveness is questionable, things like Click-To-Play on browser plugins, automatic updates, NoScript/Request Policy, and EMET are more reliable).

Android also has ring 0/not-ring 0, but unlike PC very little runs in ring 0 anyway, and every user-mode application also has additional security restrictions placed on it. So for example downloading and executing code, while possible, it is far harder to escape even the application's own context (since most of it is JavaScript in a WebKit component, not bytecode). So most code exploits don't execute "arbitrary" code, they execute very restrictive code.

Plus then you have OS enforced app restrictions (manifest permissions). If an app gets hijacked by a bad guy, if the bad guy wants more access than the original author then they need to request it and that is user visible (might set off alarm bells). Even if they just keep the old permissions that may restrict what they can do.

Lastly the way Android is designed in general means certain common issues are mitigated, for example:

- Cryto-Blackmail (encrypt your stuff then blackmail you into paying or it will be deleted), most apps cannot access other app's content, most content is backed up automatically, and if they can access other app's content they may not get enough access to overwrite it.

- Sending spam or DDoS botnet: Android kills background processes. Android throttles processes using up too many resources.

- Stealing passwords: It is very hard for one app to "spy" on another app (rooted phones not withstanding). So if you enter your password on Chrome, you can reasonably be assured that the Space Invaders app didn't "see" it (unlike PC, where one user mode process can trivially spy on another).
Maybe it's stating the obvious here, but the article is both satire and a few months old (May 2014). Though maybe the casual techie/music listener might plausibly imagine that a DJ might lose a thumbdrive containing their entire set, hence the entertainment factor with this article... I'd like to imagine that big acts with huge productions have slightly more technologically capable people supporting them, and that those people might be backup savvy.
>5. Methods inside the classes

Isn't that the point of methods? Or do you mean there is no way to define functions outside of classes?

Yeah that's terrible because redef will encourage you to add them to the class of the first parameter.
Same sound here - only on my external monitor though, not on my MBP's own screen.
A very good article, but worthwhile to note it's from 2008. Key take-aways: The single-threaded nature of JavaScript and the interaction between this and asynchronous callbacks. Because of this, getting timers to execute exactly when requested can be problematic.
Do you prefer torches or pitchforks?
what are some of the possible consequences of title 2?
OS X firmware bootkit
> But if people practiced them more, they would realized that there is only 10-20 questions that you can be asked, and everything else is just some minor variation of the most common questions, and you don't specialized training to do project Euler or glassdoor.com questions.

My gut reaction to this is that you're not asking very good questions if it's such simple variations. Unless you're being excessively reductive in that all of programming can be done in just a handful of compiler operations, and thus only a handful of programming questions could be asked.
I don't understand how people can remain calm and soldier on in academia, despite abuse from professors. I personally have a real problem interacting sensibly with people, never mind authority figures, who don't reciprocate respect. This isn't the first story I've heard of professors abusing their authority over students; in fact I had a similar issue with one particular professor when I was in college for my undergrad degree. I eventually confronted this professor and told him exactly what I thought about him, but it should never have come to that in the first place.

On a side note, the author of this article makes an excellent point: many professors are never taught HOW to teach, along with never receiving training on how to manage their academic affairs (the author used funding in this case, but there are other things professors are expected to do that they aren't very good at). It kind of astounds me that universities don't provide this sort of training to their professors.
> I don't care if you are using JS or ASM, learn how to avoid using it.

It's a bad idea for a class of languages. Functional languages implementing TCO are a different kettle of fish (especially if your function is tail-recursive). It's an extremely common pattern in these languages.
"Consilience" by EO Wilson is a challenging and rewarding book, especially considering it is thin, uses small words and short sentences. And has no math whatsoever. My recollection is I could only read a couple of pages at time without needing a nap.
We just produced a children book with this technology in Germany:

http://www.amazon.de/Ulff-Backenh%C3%B6rnchen-eine-irre-Verf...

Will be released in the next 4 weeks. It was fun to make, but also quite nightmarish in the technical details. It is a hell of work (we have roughly 30 animations in the book, very small and very big ones). It requires extremely accurate measurements for the grid-foil and a sophisticated workflow and color management.

In the first run, the printer forgot to fixate the ink on the grid-foils with a protective layer, so using the foil would smear the black color.
Шрек – Зарубежные – Хранилище мультфильмов – мультфильмы онлайн
Am I on Reddit? Why is this posted here?
Either the ISP aspect of the Internet is open to regulation or it's not. That's true right now.

If it isn't, any net neutrality effort is going to get knocked down sooner or later. You have little to worry about.

If it is, this is the right kind of regulation to have, because it prevents a potential (and arguably current) oligarchy from effectively regulating the service aspect of the Internet.

I'm all for free market economics as the rational default when starting from an even playing field. However, the current market leaders got where they are by being treated as utilities from the start, in terms of subsidy and privilege for placement of infrastructure.

It doesn't make sense to give them protectionist advantages, then go hands off from there. There's a great argument for not doing the former in the first place (albeit one that probably would have prevented the Internet at current scale), but once you've committed you have to follow through.

I'll worry about the slippery slope of further regulation when it starts happening. Right now, I'm considerably more worried about ICE and ICANN jurisdiction issues and copyright/trade treaties, as far as threats to the Internet by the American government and corporate structure go.

What's more interesting about this to me is the "only 25Mbps+ is broadband" news bit from yesterday. Does that create a big loophole for exemption from Title II for the grand majority of US internet service that doesn't meet that bar?
I've heard DJ cancel a show because someone stole their disc cases. Shit happens, be prepared.
Great reference; with the awk reference on that site, this formed a great resource for learning text manipulation/searching in a Unix environment.
You are totally right. I failed to notice that it doesn't comply with
the OSD, but it's too late for me to fix the title.
and this is the state of the world. you talk about how the white house is curtailing the issue of problematic staff by mentioning how that an online petition is not the correct place for that and everyone responds to you about petitions. to be fair to them I guess you even jumped on the bandwagon within your own comment. still no talk about overzealous prosecutors.
>The article says October 17th, 2001, right at the start, and throughout the first page they speak of the development period informed by data accurate as of December 2000. The "ten seconds exclusive access to the CD" speaks for itself though.

Yes, and once again, I vow to pay better attention to dates and context. I already sincerely apologized. I was reading an article on anti-cracking, so that was the part I was concentrating on. And usually, I filter dates out when I read because the difference between a technical article published in 2012 and 2013 is fairly minimal (while the difference between 2014 and 2001 is pretty massive, which is why HN requires old articles to include the year). But clearly, this filter has caused both me and all the commenters unneeded grief, so I'll turn my date filter off.

>And given the state of the game market (as described in the article) the difference in terms of revenue between a couple months and forever is minimal.

Fair enough. I'm not a gamer and don't claim to know much about gaming.
NYC real estate prices visualized
Really depends on your language. Also, I find (though rarely) that it sometimes help to keep most of the pieces of a given algorithm in the same place rather than splitting it in small functions.
It would be a losing battle anyway. Those sophisticated enough to use VPN in the first place will manage to circumvent any new region blocks put in place. Netflix knows that its a game they'd rather not play, and focus their effort on making the product better. Good news for everyone.
Don’t you just love some good ol’ Nitpicking …
Oh, I see what you mean now. I was referring to those libraries as an example of a useful application of the pattern. My point was, if you disallow passing functions, you disallow those patterns.
I remember that when I was working at Icon Medialab back in the days.
Instagram is actually one of the few social networks which seems to be to be really easy to understand.

Instagram is specifically about sharing cool photos, emphasis on the cool. So you toss out the 90% of photos you took that nobody else would be interested in. It's also specifically about photos that you took, unlike things like Tumblr where people just recycle stock photos. Therefore it's actually interesting to follow a friend on Instagram.

But there are a few more details that make it work. First, it encourages the use of filters. These filters have been criticized a lot for being "hipster", but let's face it -- adding strong sepia tones or making photos really high contrast tend to make people look better in photos. They block out your flaws. The use of filters on a per-photo basis also works in with what I mentioned earlier, the idea that you don't just dump all your photos on Instagram but instead specifically look only for cool ones.

Second, it's simple. Facebook has become this huge, monolithic, hilariously complex and borderline incomprehensible beast. Who even knows what algorithm goes into constructing your news feed? When I go on Facebook I'm inundated with a ton of content almost none of which is "cool" -- ads, links to random videos or articles that someone I know "liked" or "shared", photo dumps, etc. Facebook is like a big family gathering where you cover up that tattoo you recently got with your sleeves, and the talk of the party has died down and now you're sitting on the sofa watching ads on the TV for products that you're not interested in, waiting for the ads to end so a show will come on that you're also not interested in.
AT&T defends unlimited data throttling, says the FTC can’t stop it
Our Curl module is due for an overhaul. A recent example of the FFI would be the bindings of OpenGL ES 2.0 at https://github.com/privat/nit/blob/master/lib/glesv2/glesv2....

The partial bindings to the Google Cardboard Java API may also be of interest: https://github.com/privat/nit/blob/master/lib/android/cardbo...
Great questions. I suspect many operational details were a factor in working with WKBH. Patient load, available space, willing to work with the GE team on issues. CCN [1] in Paris was another trial site. As of now, there's probably a couple dozen installed globally.

Cardiac is one of the big growth areas for CT and Revolution is designed to get better temporal resolution. So absolutely angio imaging is a big part of the publicity. AFAIK there's no direct comparison with cath. But if the Revolution CT cardiac dose was better than the competition (I think it may be), chances are the team will update their dose comparisons between GEHC CT and cardiac cath.

1 - http://www.centre-imagerie-nord.com/
GTD's David Allen on the impact of mobile on productivity
Among other things, you'd get to the end boss and then everything would break.

http://earthboundcentral.com/2011/05/earthbounds-copy-protec...
MESH: Creative DIY Kit for the Connected Life
I agree. I have no idea about the state of x86 decompilation, but decompiling and refactoring the binary seems like a much better long-term plan.

This will work right up until you're on par with the original server, and then you'll be severely limited since you can't change the world generation.
Oh, I agree that even the 7 year sentence was unlikely to have been imposed by a court given the facts (the prosecutor could seek it, of course), the guidelines, and the degree to which courts tend to adhere to the guidelines -- I was just addressing the idea that the sentence that you'd get from adding up the maximum sentences cannot be awarded, and that what the guidelines allow is the real maximum.
HomeJoy is pretty awesome
Pinboard plus a Pinboard extension for Alfred (https://github.com/spamwax/alfred-pinboard). It makes bookmarking and tagging almost instantaneous.
Considering the usual lack-of-concern of the version of PHP the user is installing/being provided, I could see a significant amount of compatibility problems if PHP came out with a version where weird functions (like strlen() vs str_replace(), how would you resolve the difference in convention here?) were fixed.
Changed from http://marc.info/?l=openssl-announce&m=142046772204265. Thanks.
Running short on time. I have a laundry list of Verilog replacement suggestions on another machine somewhere. Brief observations on Cx:

Based on C. Two objections: (1) why not SystemC? (2) why C when the non-HDL world is trying to get as far from C as possible?

My personal prejudice would be for functional rather than imperative style. AFAIK nobody is seriously attempting this outside of academia: http://essay.utwente.nl/59482/

Saw an example with "new" and "import" which are kinda Java flavoured. "new" feels wrong for hardware: no allocation or gc!

Plus points for ngDesign. Another plus point for trying to get hardware designers to use git rather than clearcase or other abominations. Good that you're leaning on the verification angle.

I spent a decade in an EDA startup. It was a tough market but interesting work. Good luck!
Personally I use a VPN to access Netflix within the US since Verizon FIOS in NYC does not seem to have enough bandwidth connecting me to Netflix (either that or they are deliberately bandwidth limiting Netflix).

If I use a VPN I get a crystal clear HD stream instantly. Without a VPN the stream starts out extremely grainy and improves over time, although it never reaches full HD resolution.
would also relate this to the technique of interlacing[1], which I find in this case even more relevant than the very special application of a moire pattern. Just that this one has more than the usual two fields.

Basically you're moving an interlaced still image composite made from multiple frames of an animation under an stripe mask revealing only the current frame, where the ratio of stripe to black equals the number of frames.

Lenticular prints[2] work in the same way, but instead of a mask the lenses blow up each line to full width (much like an optical equivalent to line doubling video deinterlacing), trading resolution in one dimension for encoding multiple frames.

[1] http://en.wikipedia.org/wiki/Interlaced_video

[2] http://en.wikipedia.org/wiki/Lenticular_printing
At the very least it provides a venue to gauge support, allows people to spread awareness of an issue, and causes the petition signers to think more about the situation than a passive dismissal.
Don't Let Your Business Be a Dead Startup Walking
https://news.ycombinator.com/item?id=8853909
Yeah, would you like a list of several hundred things I believe I should be protesting?

I go a couple two protests or demonstrations each year (fewer than I should), but not one every day, which is what I'd have to do to hit every issue I care about.

If we had a single issue in this country/world, I think people would be dealing with it. But we have hundreds.
I can tell you put a lot of effort into the article. Heck, it got a decent amount of upvotes - which is a good thing. Thing is, there are a few veterans hanging around here. They're really don't take factual errors lightly. I have had my run-ins with them too.

Your first mistake?

> web people

You are not web people. You are a developer. Broaden your horizons and stop restricting your experience to the microcosm that is JS and the web in general. Once you do that you'll start to understand why the folks here have some issues with some of the suggestions you put forward.
Let’s Bleed the State Dry
A gun is now more likely to kill you than a car is in the U.S
How to pick a Front-end Framework?
The colours provide contrast. It makes it much easier for a doctor to find the parts they are interested in as quickly as possible. Not to mention the fact that doctors aren't always interested in the tiniest imperfections and may be looking for large changes.

When you have things segemented out and coloured, it is also much easier to view the object, be it an organ, blood vessel, etc. in 3 dimensions, which is something that is very useful.

Admittedly, they can get in the way sometimes, but that's why it is an optional feature.
Which is all quite interesting when you think about it. I wonder what else that mutated gene is doing in primates for the mutation to be so successfully conserved.
"Some surface-mount capacitors exhibit acoustic noise when operated at frequencies in the audio range." [1]

I see that this screen has alternating black and white lines. I count 43 black lines on my monitor. Assuming 60 Hz refresh rate, that is 2580 Hz in terms of the pixels being off or on, which is a perfectly audible frequency. Even with 120 Hz refresh rate, that would be 5160 which is still easily audible. Without knowing anything else, I guess that there may be a capacitor somewhere that is charging and discharging along with the brightness of the screen as it is refreshed from top to bottom, which is causing it to flex in a way that produces an audible noise.

I am curious is Aardwolf can produce different frequencies by varying the width (and therefore the quantity) of black and white lines on the screen. If so, you should be able to play some music on it.

[1] http://www.edn.com/design/components-and-packaging/4364020/R...
Yes, we absolutely want a rustfmt. There's just been higher-priority work to do, and some conventions are still settling out. Gotta know what to format to before you can build a formatter!
The key thing is that the choice of crypto algorithm makes no difference because that's not the route of the crack. The cracked version would remove the SHA check entirely.
We've phone interviewed a bunch of candidates from a couple of the Rails boot camps here in Boston. The candidates have been very mixed in quality, but we've found 3 that we not only brought in and made it through our in person interview but also got job offers. Usually we offer them a 3 month internship. At the end of which we'll offer them a salaried position if they turned out to be as good as we suspected.

We also treat the internship as a real internship, not a contract-to-hire. We expect to be teaching them.

As others have said here in one way or another. The good ones are ones who were coding anyway and just needed some help leveling / focusing their skills. The ones who didn't have a clue about programming when they started, don't come out much better IMNSHO.
Does this work for for anybody on MBP or Retina displays? I tried mouse-wheel, trackpad and scroll bar, can't hear anything. anybody?
Just to add water to your point: the MILL CPU (not implemented yet but has many radical innovations) use varying length instructions (so CISC won) yet it is a VLIW(1) (so RISC won because the VLIW are the "sons" of RISC).

Oh about the RISC vs CISC silly debate: IS is Instruction Set, which one? The one visible by the compiler/user, so saying that x86 are RISCs because their implementation use a RISC internally is st... ahem incorrect.

1: but not a classical one.
Ruby effectively has a standard format, the only significant diverging style is Seattle Style. It's true that there might be some edge cases, but the vast, vast majority of Ruby code looks the same.
Bad link. You're linking into the comments section which hides the article.

Just remove the "?comments=1"
Indeed, however, understanding why it's a bad idea in imperative languages is important when using functional languages. You have to know how what qualifies a function as tail-recursive (and why that is important). You'll only learn that from experience with both classes of languages and most importantly, getting burned due to abusing the stack.

I'd rather people learn from the other direction, you know? I'm not sure how that would be implemented, but I see recursion abuse far too often and few seem to understand how that could be a bad thing.
So, for someone unversed in North Korea, what does this mean exactly? The entire country uses this distro exclusively? Or just by government workers?

There's going to be an entire generation out there who've only ever used Linux?