skysight-inc/HackerNews huggingface dataset:
IIRC most of these bugs arise because of things that should be available while the device is unlocked: the dialler and camera for example. Camera is supposed to restrict gallery access and the dialler is supposed to only permit emergency calls. I'd expect that every app trusted with running while the device is locked will have these bugs as Apple goes forward too.

The bugs seem to a bit more nuanced than just testing for a locked device; the attacks seem to rely on performing actions simultaneously to exploit race conditions much like weird glitches in games. This class of bugs is really hard to test for due to the large search space. Model checking might offer a solution, but it's not a magic bullet by any means.
Making it impossible for poor folks to live in a place does tend to reduce crime. Is it moral?
I have two in my sock drawer.
We bought a house last year in what was a moderately complex transaction. What we were trying to do was purchase a "new" home (it was actually 2 years old, but had been the model home in a neighborhood so it hadn't actually been lived in) and, at the same time, build a detached garage on the property. While this seems simple, actually doing this in a way that doesn't involve multiple loans is surprisingly complex.

In the end, it would be a low-risk, vanilla, 30 year conventional mortgage, and we had enough cash for a 20% down payment. It just required some complexity to set up.

Not surprisingly, most major banks wouldn't even try to help us once we explained what we were trying to do. It didn't fit any "profile" they had and the "system" was unable to let them continue. We lost count of the number of times we were told that a "system" prevented them from doing something.

So we went to a local bank - only one location, right in the middle of town. We sat down with an older guy who's probably been making loans in this town his entire life. The president of the bank came over and talked to us, and congratulated us on our coming addition to the family (my wife was 7 months' along at the time, so very clearly pregnant).

After talking with us for an hour or so, before having even filled out any paperwork or pulled any credit, they were confident they could help us. They were even more happy once credit had been pulled, and offered us rates lower than any of the big banks were offering at the time. What we ended up doing was writing a 4-month construction loan for the purchase price of the house plus the cost of constructing the garage. A few months later, when the garage was completed, we closed the loan and had a single mortgage for the whole property.

So after that experience, I've started recommending my friends and family stay away from big banks and work with local banks and credit unions. Big banks may be great for the convenience factor of having branches everywhere, but they fail hard when it comes time to do anything remotely out of the ordinary.
Well, the `const_cast` usage is fine, but calling that function on an actual `const` object is not; it's a lot to ask a compiler to warn on that.
66 Things that Make a Great Venture Capitalist
What do they do? (I don't want to sign up to find out.)
Neo of the Matrix
I thought about this situation and concluded that merging late is the right thing to do; however, many drivers also do this 'get ahead' behavior in areas where it is not advantageous to all.

What I see, is that the best way to ensure even distribution of the merging cars is by merging late in a one for one fashion. Otherwise, you get more merging cars than those originally in the lane. This really only applies when traffic is heavy enough that space is limited.
'Why' is easy to state for things like this. 'How' is a lot more work.

Also, given that w3schools is a non-profit, why not just help them. Yes, they have adverts, however they state that their aim is to always have everything on the site freely available, rather than a business plan of "Actually, I hope to make a living by selling high quality video tutorials", which leads to perverse incentives to keep the quality of the free stuff low, to stop it from outcompeting the paid stuff.
I'm not even sure how they've ruled out that the drivers of the luxury brand cars are simply more likely to be in a rush, living more stressful lives, etc.

And just go straight to - it must be because of wealth inequality that they do these things!

Then they conveniently leave out the difference between minor traffic violations and more serious crimes like rape, murder, etc; and instead talk about how the rich take 2x more candy from children.
Amazing how fast China has started looking like a Johnny-come-lately, now that Snowden has opened our eyes to how the US/NSA/GCHQ were targeting their citizens, allies, enemies and the Internet itself (by coercing service providers and by weakening underlying cryptography).
Great images, though I'd imagine in real life it would look a bit different from uniform beige boxes.
CEL is a similar and more generic script: it can do that for any program and works on Linux and Mac.

https://github.com/Dinduks/change-execute-loop
Exactly. I use W3Schools for reminding myself of certain CSS properties and tasks like that all the time. And I'm not ashamed.
Great new challenges - love the Pub Crawl one
Personifying the companies that create buildings is a cute rhetorical trick, but people are the ones with the desire to live and work in those places. The height limit prevents them from doing so.
I suspect it is a popular topic because of all the things that Linus is involved with, his use of profanity requires the least amount of technical knowledge or credentials to talk about. If you want to talk about something Linus does, talking about swearing is the lowest hanging fruit by miles.
That is accurate. The object reference by immutable msg is hello_world which is mutable. If the value of hello_world changes, then the value of msg changes too. In the simple example, it won't happen, but the point is that it could, especially when multi-threaded.
How about "that massive arctic ice sheet growing now growing well beyond normal reach"? What do you mean?

Reports I have seen show that although the ice did not drop to last year's record low (instead regressing towards the mean as you would expect), it was still well below the average for the last 30 years and the trend is towards reduced ice.

Are you suggesting that this year's result means the trend has reversed?

http://www.theguardian.com/environment/2013/sep/18/arctic-se...
>your offensive, inappropriate retort has absolutely no place in this discussion

I assume that means you're unaware of the historical meaning behind the quote: http://en.wikipedia.org/wiki/And_you_are_lynching_Negroes

The fallacy in question is also known as "tu quoque".

Edit: Also, it's interesting how often I point out a fallacy in someone's reasoning, only to have them say "there's no fallacy". In virtually every case, the situation was that they simply didn't see the fallacy. A better answer would be "I don't see the fallacy you're talking about."
Powercycle driven development
I don't think that dog will hunt. Some of the safest places in Chicago are also the densest (say River North with its towering residential skyscrapers). Same for New York (Manhattan is way denser than the Bronx).

The reason DC has gotten nicer lately isn't the sprawl. It's because it's become a major target for young professionals, which have driven the poor people out of many parts of the city.
Show HN: JavaScript Warrior
This train wreck keeps getting avoided by the community,
but the choo bloody choo is pulling in at the station with a big bomb that has already gone off,
but people are just slow to notice.

Snowden killed the USA-centric internet.

Let's see what we can make out of the rubble.
> "Any one of us would be lying if we said we didn't learn plenty of web development from that site when we were getting started."

W3Schools was launched in 1999. I was "getting started" with web development well before that.

I often use it, via Google, as a reference source now, because its good enough as that. I'm not real attached to it, but don't see the reason for the hate. It may be that the introductory material isn't the best for most users, but, you know, even when books were the main source of tutorial material, you couldn't always rely on whatever book was merchandised in the most prominent position with a title that seemed to be on point for what you are looking for, you comparison shopped, looked through several, and figured out which one spoke to you. I'm not going to develop "hate" because the digital equivalent of the most-prominently-merchandised title isn't necessarily the best for all people. Its a lot easier to check out multiple sources from a search results page than it was to check the limited selection at multiple bookstores to find the right resource, and, ultimately, what is the best learning resource for you is a subjective thing.
I find mozilla developer network (mdn) blows away w3schools in all ways.

e.g. compare these two for CSS "display":

http://www.w3schools.com/css/css_display_visibility.asp
https://developer.mozilla.org/en-US/docs/Web/CSS/display

MDN is more detailed, more up to date, and says in which browsers it works or doesn't work.
w3schools doesn't even have a list of all possible values.

Or for JS "getElementByID":

http://www.w3schools.com/jsref/met_document_getelementbyid.a...
https://developer.mozilla.org/en-US/docs/Web/API/document.ge...

MDN just always explains more details and edge cases, and has much more browser compatibility info (including for mobile).
This is not an implementation I would use. One major reason for using an immutable string class instead of a const string is to get rid of the capacity member. For short strings (e.g words) the capacity member alone can be larger than the contents of the string.
> The only current purpose of which these days is to try and keep people from fleeing to other, better, platforms.

I can't refute this claim any more than you can back it up, so lets not waste our fingers on an argument about it. I agree with everything else you said, though.
> He kept hearing about how all these rules and triggers are automated in the "system" and nothing could be done.

This will ultimately be the downfall of 'computational governance.'
I dunno, seems to me that prospective applicants trumpeting W3Schools certifications is a valuable signal...
The hardware that matters here is not the GPU. It's the touchscreen controller, the display controller, the associated firmware, and to a lesser extent the drivers for those. All either Apple proprietary or heavily customized.
It's like asking a chef to prepare a very simple meal, but what most bad tech interviewers actually ask is "prepare it exactly the way my mom used to make it for me, which I'm not going to tell you."
I was tired of W3Schools good SEO so I use this Chrome extension to remove W3Schools from my Google search results:

https://chrome.google.com/webstore/detail/personal-blocklist...

Now MDN's JS and CSS reference shows up on top!
DNSSEC has the problem that you rely on root certificates as well - which are ultimately controlled by state actors. Where this goes we know already.
Seems to be. Piping straight to the backend works just fine for Drum & Bass if you URL Encode.
... the company has focused too many of its resources on adding new features to handsets, and not enough ensuring that their basic functions work.

Couldn't have said it better. Crazy that we're only now getting number blocking. (Okay, that's a "new feature," but it's a pretty basic one.)
I think you meant "Icelandic" to mean the 'cultural region' (like Balkan). In English you could use "Nordic" instead, and possibly also "Scandinavian" (although "Scandinavian" technically excludes Finland, depending on who you ask).
Will the newer versions of linux, git and co be written in the C programming language, 20-30 years from now?
> given that w3schools is a non-profit

Really? According to Wikipedia it’s a commercial company.

http://en.wikipedia.org/wiki/W3Schools

The footer on the w3schools site states “Copyright 1999-2013 by Refsnes Data.”

Company site: http://www.cprenterprisesonline.com/elearning/about/about_re...
I've built something similar to launch this week. To check, I'm using a Go service which checks filesize, hash, image dimensions, and each individual's pixels difference to calculate changes.
This title is extremely misleading. It is absolutely not made in "pure CSS3". It's very much heavily javascript based: https://github.com/TjRus/Lumia.js/tree/master/js

You should really refer to it as you did in your readme as "imageless".

That said, this is really quite cool. Nice job.
I'm curious to see whether exposing the bird to helium has any effect.
Beauty is in the Eye of the Beer-Holder
Learning how to manage memory is a tiny fraction of the work involved in writing complex applications, and it's done upfront. Not having to worry about it would only give a proportionally tiny increase in 'enjoyment'.
Genuine question - can a process kill itself?

The kill of go-reload was to make sure background processes get cleaned up, but I suspect one of the kill or exit in the close function is superfluous.
They have this in certain countries, and may even be based on your overall networth - as it's not hard to make your salary be $0 per year..
Has anyone tested the difference between Mozilla's Firefox build and a local fully-optimized for your machine build?
Or something similar with another piece of open source software.
I wonder how much the "Gentoo-model" of compiling everything yourself affects everyday performance.
I don't buy it, by calling that function, the caller is saying the value won't change underneath you (because you are being called in multithreaded code). The object itself cannot change itself, though of course there can be mutable members, which tend to be syncronisation mechanisms (mutexes) anyway.
I don't disagree, but when you look at the Arlington, Virginia neighborhoods of Rosslyn and Ballston, you can readily see how the height limit impacts DC. For those of you not familiar with DC's geography, the District of Columbia was originally a perfectly square diamond. The portion on the south side of the Potomac was given back to Virginia due to congressional lobbying in the early 1800's creating laws which mandated building all Federal buildings on the north side of the Potomac. This left the Arlington/Alexandria portions of the District of Columbia as poor, economic backwaters. No Federal money pouring in, and also no congressional representation. Virginia took them back.

The cities of Arlington and Alexandria now occupy the portion of the original diamond that is west of the Potomac. When standing in Georgetown, you look across the river and see 20 story office buildings. Arlington and Alexandria act as quasi-DC, in the sense that they are dense, are connected via DC's subway system (Metro) and separated from DC only by a relatively narrow river.

Lifting the height limit, I think, would be a great thing for DC. It is an overly suburbanized metro area due to the height restrictions.
Yes they can: https://itunes.apple.com/us/app/chrome/id535886823?mt=8 https://itunes.apple.com/us/app/opera-mini-web-browser/id363...
A Visit to Shanghai Hackerspace
God forbid we create more housing so more people can affordably live in DC. Imagine the sight lines. Oh, the horror.
I was using this theme: https://github.com/soulmedia-me/wordpress-svbtle

Is this any better? http://paulyoung.github.io
Which was the act of sabotage?
Paris also was built with a fairly unified style giving it beautiful sight-lines. D.C. wasn't and it's not very pretty in most of the non-tourist areas.
Ask HN: Thinking of creating a Mac App? Hire me.
A few recent samples of my work are in the comments.

I can do everything from UI work to low latency audio stuff. And, if there's anything I don't know, I can learn things in very little time.

If you like what you see and have a mac app related work to commission, send me an email to mail _at_ bibhas _dot_ com

Cheers!
Links to my work:

--> http://d.pr/i/TJwF
--> http://d.pr/i/aN40
--> http://d.pr/i/53NF
--> http://d.pr/i/AxF5
Reminds me of this:

http://static.fsf.org/nosvn/stickers/DBD-Sticker_002-jmt.svg
Of course they will. Everyone was worried that they'd turn on the whole 'only run apps signed with an Apple ID' in Mac OS X, too. They did. Sure, you can manually turn it off if you're an advanced user, but most users won't (and won't know how), so you need to pay the 'Apple tax' as a software publisher on Mac OS X now, too. The walled garden's walls keep getting higher.
I'm actually somewhat curious, why does CapitalOne fuck everyone in their "traditional banking" over, but generally not screw with [ex?] ING Direct customers?
The rational response to concerns about crippling fees is to choose an account without a minimum balance or with low overdraft fees, or preferably no overdraft facility at all. Sure, people living on a financial edge are often less well-informed than the general public when it comes to understanding fees, but it's probably rare for the optimal solution to be paying 2%[1] of your meagre income to the nice guys at RiteCheck, or 20% if you've cashed a bad cheque in the recent past... or eye-wateringly high fees if you actually need to borrow some money
Some banks/credit unions/other places that offer checking accounts with bank cards will sometimes refund ATM fees.
I've been running nightlies for maybe 8 months to a year now. I update every few days to a week. I've had two issues in that time:

1. When the alarm clock app was rewritten/significantly changed it began crashing in startup. Cleared the app data for it and it worked fine.
2. More recently, when they merged in the 4.3 branch from AOSP, it required an update to gapps as well. I didn't actually read the change/upgrade logs and ended up just reinstalling my phone clean.

Really not all that many problems when you consider it, and not all that serious. The worst case scenario (reinstall phone, restore from backups) only came up once.
Do people really think that swear words in and of themselves are the problem?

My understanding wasn't that he used profanity, but he effectively flamed people. Swearing is just another tool in the toolkit as far as chewing someone out is concerned, modulo the ones with obvious gender connotations.
It would make sense to ease restrictions near metro stations first, then later sprinkle restriction lifting throughout other neighborhoods once mass transit and infrastructure gets improved.

Key issues to consider:
infrastructure (power, water, sewage, gas, internet, transit, roads)
traffic impact
walkability of neighborhood (are there food options, etc.)

I think pushing sprawl outward is the LAST thing DC needs, traffic there is already horrible (not as bad as mexico city or sao paulo, but awful by US standards).
I understand that it's not easy. One way to solve South East crime and penury problems is to move these people away. Building corporate offices there could make it happen.

Now I know that the approach of moving Anacostia people away has this problem: ultimately these people will have to go somewhere and the vicious circle will start again but at least we don't know that all these people will go to the same location, so these problems can be spread and be solved by different communities.
I much prefer MDN as a reference. The examples are better and overall it doesn't feel so outdated, important in web development. Just put MDN in your search query.
I second that. you can model all your vectors pretty trivially just using existing canvas api.
To be honest, when I made Vimdeck, it was mostly just-for-fun. I never really expected that other people would seriously consider using it for their presentations.

Now that I've seen how many people are interested in it, though, I might spend some time adding more features to it to make it a more viable option.

As you pointed out, there's not a great way to take this format and use it on someone else's machine.

First, I'd like to point out that all Vimdeck is doing is generating files into a directory and opening them with VIM. There are a few VIM plugins as dependencies. Like markdown syntax highlighting, and SyntaxRange, but it's entirely possible that I could allow the users to bundle their presentation as a zip file, put it on a flash drive and open it on any other computer (most have VIM already installed).

There's no Gvim necessary. Just a couple of plugins and the dynamically generated VIM script. Seems plausible to be able to bundle all that into a machine-agnostic format. VIM already runs everywhere.

And as far as the font size goes, you're right. There's no way around it. You're going to have to increase/decrease the font size immediately before the presentation to get it just right. But there's often a chance for speakers to test that their slides work in the current environment any ways.

I'm not saying text-only ASCII-art-ridden presentations are the best way to present information. But depending on the crowd and the speaker, it might be worth it.
And if so, is that a sign of how unbalanced or unfair our current structures are?
Why We Like Sad Music
The Stanford Academic Who Wrote Google Its First Check (2012)
Since 10.8, OS X has had native Airplay support. Even if your Mac doesn't have the hardware to do Airplay video, you can select Airplay as a sound output device. Applications can output to Airplay via the CoreAudio API, documented athttp://joris.kluivers.nl/blog/2012/07/25/per-application-air....

Of course, Windows users are pretty screwed.
Linux? Almost beyond any doubt at all.

Git? The official tools probably will be, but that doesn't really matter one way or the other. "Git" is more a data model and a frame of mind than it is a piece of software, and you can already choose to use jGit to work on that data model, within that frame of mind.
They use the same renderer...
Amazing photography + projector reversal called Dual Photography
What a horrible hit piece by WaPo against the plan to raise the height limit. As if the taller buildings are going to be windowless slab-sided monoliths!

Height is beautiful: http://1.bp.blogspot.com/_3nsDtd8zatQ/S9382uGLh6I/AAAAAAAAAh...

http://img.photobucket.com/albums/v171/lugnuts/Bridges/IMG_5...

http://www.thewrigleybuilding.com/images/about-top.jpg

Also, the growth of D.C. is something I intensely dislike. It reminds me of Trantor in the Foundation series. It's all fueled by federal spending. The city has no finance industry, not a lot of technology besides defense contractors, no manufacturing, nothing that would justify the growth other than lots of highly-paid federal workers.

I'm actually a proponent of a robust federal government, but I hate the fact that it's concentrated in D.C. I think we need to spend money on say the SEC or the EPA, but we should push the work of these organizations down to local field offices, so the incidental benefits of federal jobs and contracts go back into the communities that pay the taxes to support them. Moreover, local siting makes federal offices much more sensitive to the local culture and concerns.
Well we have a hell of a lot more transparency about where that key is, who generated and has access to it. There's a video of the entire ceremony online somewhere, at the moment I can only find [this summary](https://www.youtube.com/watch?v=b9j-sfP9GUU)
Maybe this was just added, but typing "status" has the effect that you asked for in point 2
Of course, the mere existence of a more esoteric topic of conversation shouldn't preclude discussion of whatever social problems exist on the LKML. Just because social problems are, in theory, easier to understand doesn't mean they are easier to solve in practice.
6 Corporations Control 90% Of The Media In America