skysight-inc/HackerNews huggingface dataset:
Perhaps I took "storming the barricades" too literally, but the author kept repeating it.

If the author did mean some kind of violent uprising, then I stand by my point. There is little historical basis to think that the sort of inequality should be expected to lead directly to a revolution.

If that's not what the author meant, what did he mean by "storming the gates"? I guess it was a metaphor, but for what exactly? What purpose did it serve? I guess you can say the real point is elsewhere, and the title was just linkbait.

Regardless, it would almost be a challenge to not read the entire piece. It was incredibly short -- but I double checked just because you asked, and yes, I did make it to the end.
https://www.youtube.com/playlist?list=PLxj9UAX4Em-Ij4TKwKvo-...

Those videos show "real world" application, namely the "redoing make" portion of the playlist.
Pretty sick, chrome makes it clear that silent updates can definitely be a good thing if used appropriately. Compare to the sad new version adoption rates for pretty much all microsoft products.
Absolutely - I was really thinking about the scope of the application as suggested by the parent post.
You should check out our implementation of our own SRS for learning how to read and write Chinese at http://whizzlearning.com.

I agree that Anki can be a bit clunky and I don't like how it makes you manage your deck. We should be able to have an algorithm help you learn more efficiently.

However, we don't allow you to create your own decks either... we figured it was better to optimize for ease of learning and reduce frustration/anxiety since Chinese is considered to be so tough.

We are looking for beta users for our next version that streamlines the experience, adds traditional characters, etc. if anyone is interested.
Or someone will recreate it, support credit cards, and eat his lunch because that someone can actually do business with people who don't know what SHA1 is.
This is very biased. Of the total sample, more than 50% are classified as other.

http://clicky.com/marketshare/global/web-browsers/versions/
In this case, using old Spanish/Mexican land grants/law to get around historical community access makes Vinod a giant douche. The approach to being above the community and it's history is a prime example fueling frustration amongst many against the riches Silicon Valley has helped fuel.

I had hoped he would be above being an ass, understanding community, history, and honoring the way things were. Nope, hiding behind a holding company? Par for the course it seems.

Edit: At least Larry Ellison and Steve Jobs were up front with changes they wanted to make with historic properties - constructive or not.
Professional C programmer here...

The points are great and this is generally a good primer for someone who wants to understand the C mindset.

The bit at the end is a bit off, though. It feels like the author is saying "yeah, C is weird and crufty for historical reasons and some people just use it because they're backward like that". Yeah, I write kernel drivers, but I also just plain like using C, for the same reason that I like driving a manual transmission and usually disable the safety features on stuff: C tries really hard to not get in your way.

I enjoy programming in Ruby and mostly enjoy programming in Javascript. But there are times when I think "this is an unnecessary copy...this is inefficient...I wouldn't have to do this if I were writing in C".

(There are also times where I think "this one line of code would be over 100 lines of C", but we won't get into that right now...).
Well that's interesting... Thanks for debunking my notion of SSN as an identifier. Sounds like a problem that needs to be solved.
It'd be interesting to see the government just build a road to the beach as a workaround.

If there is the political will, the government can win regardless - they could, if for no other reason than to deter future land-owners, make a tourist attraction out of this beach and completely ruin it for the land-owner.
Except there are other safer languages to choose from, like Pascal and Basic compilers.

http://www.mikroe.com/mikropascal/

http://www.mikroe.com/mikrobasic/
I too had already been through that particular part of the ARM7-M manual, after coming up through the data sheet to the technical reference guide, to the Cortex M architecture manual, and yes to the base ARM7-M architecture specification.

There is "should" and "does" :-) I had followed the exact same sequence and discovered on my system it didn't cause a system reset. I escalated it a bit (in this case ST Micro) and the caveats came out, "Well if you system is correctly designed, if the actual reset pin isn't connected to something that is interfering, if the core is in a state where it can actually take a reset, ..." This being unlike pretty much every processor I've worked on, from PDP-8's, 11's, 10's, VAXen, IBM 360/370, Sun 1, 2, 3, 4, Motorola 6800, 68K, 68K, Z80, 8080, 806, Pentium *, the list goes on. Most actually have a reset instruction, usually privileged, to force a system reset. But the difference is that the reset sequence was guaranteed to force a system reset if it executed, all of those previous processors had a company that made the processor as opposed to simply licensed the processor to a third party. Since it is completely reproducible on my system I've got an action item to create a small test case for errata analysis.

Yes, that is the code they suggest, with assurances that it will work in pretty much any case. Except when it might not. It was a bit stunning for me, I still marvel at the notion. Like an add statement that will 99.999% of the time add its operands together[1] unless it doesn't.

[1] No there isn't such a thing in ARM it is just the way I hear "It will almost always reset the system."
Have you seen what happens when holiday food drive barrels are brought front-and-center to techie venues? Basically empty. Go to any Midwestern state whether an office or a supermarket, and these same barrels are most often overflowing. The generosity and consideration of the less fortunate should shame and humble more people than it does.
We live in such comfortable times indeed, when a person can actually believe that, absent government, he would have any rights at all.
That ruling applied to a very different situation than anything under discussion here. For one thing, the metadata was collected for only one subject, not 250 million at once.
And there was no July in 1000 BC as the month is named after some Julius Ceasar who lived quite a bit later. The whole argument is a silly, ahistoric play on calendar definitions.
Is there a way to access data on players, teams and coaches? Including micro-stats like passes, assists? Possibly, last 5 years?
Note that he can only keep people out who want to cross his land to reach the beach. If they come in by boat, and stay between the ocean and the high tide mark, he's got nothing.

I wonder if one could make a profit with a shuttle boat service to bring people to and from the beach for a small fee?
From the Future
First 3D printer using carbon fiber.
Modula-2 back in 1978.

Async is provided via co-routines and is as cache friendly as C.
To be consistent with this logic, most of California should be returned to Mexico. And if there were a serious effort for it, it's a safe bet that some other contrary excuse would be trotted out.

(When bullshit arguments are used, use them against an adversary and raise the stakes.)
It's not the most positive exchange but I have yet to have one with him that didn't result in the insertion of distortions or focus on the people carrying a message instead of the message. This was made clear with Hastings and Brown themselves being focused upon instead of the content of their articles.

After things like Nickelback started to be brought up.. I stopped believing responses were being made in good faith. Fast forward to now and apparently I am saying 100% of that maker's devices are backdoored by the NSA, any other interpretation "doesn't make sense."

While I acknowledge this is a public forum I would hope tptacek would also acknowledge I asked him not to engage me anymore previously, before he announces the forum's open presence as his mandate to respond.
I totally agree with this. This has happened at two places where I worked. We had to bring back development in house because once the project got started the main guys we talked to the first time where no where to be found.
That's a creative and varied set of ideas you have there. Got more?
if you're not familiar with simon tatham, do poke around his site [http://www.chiark.greenend.org.uk/~sgtatham/] - he has an eclectic and delightful assortment of code and writing. probably best known for putty, but the rest of it is a lot of fun to browse through.
I was bit bothered that with all the talk about malloc it was never highlighted that not all memory needs to be manually freed: local (stack) variables are quite safe, why it is a common pattern to give pointers of local variables to functions to store their results in. There are some common exceptions for this when you just need to call malloc, but these should be treated as exceptions.
How about 'Root Null'? With a name like that, their systems would tremble.
He wrote PuTTY and all of the assorted tools. I'd say that's a fairly large codebase.

Also, one of the main reasons Go was created was that the authors were tired of the compile times caused largely by preprocessing.
What baffles me is that this is the type of coding young developers associate with C and C++, whereas we had lots of options to choose from, as you well list.
> "I mean, is it worth having the private beach?"

Honestly, if I was given the option of appearing to be a massive dick to the general public in exchange for a private beach, I'd probably take it.
Vs. their future NBA earnings?
Great questions - this FAQ page should hopefully answer all of them: https://assemblymade.com/help/profits
http://www.gocomics.com/calvinandhobbes/1987/01/18
> First of all, fuck you. It is because of people like you that believe we should be permanently at war that we are permanently at war.

Did you reply to the right comment? I don't believe in permanent war. Do you think I believe that? If so, why? Please be as specific as you can.
Everything you said was true, but that wasn't being debated.

The point was that Square has terrible customer service. The other payment co's mentioned actually support people with this problem.. they allow the user to mail proof of ID.

Square doesn't pay enough people to work support, instead opting to deliver an artisanally crafted, gorgeous "Fuck You".
> However the ceil function gave the wrong answer for many numbers it was supposed to handle, including odd-ball numbers like ‘one’.

Given all the special and unique features of the number one, I sincerely cannot tell if he's being sarcastic or not.
Not really.

It will show which APIs are being used, but not WHY they are being used.
Salman Khan Turned Family Tutoring Into Khan Academy
Off topic: the cliff in the first picture totally looks like the place where the Jackie Treehorn party is being held in The Big Lebowski. Is that it?
They have a tool for you to use. It is called jdeps.

http://download.java.net/jdk8/docs/technotes/tools/windows/j...

So you will have Java 8 timeframe to make your code behave nicely.
The misinterpreted quotes from the Constitution above are trying to state that metadata that ATT generates about your call history somehow belongs to you and is not available to be collected by a 3rd party. This is incorrect.
A Bug, a Trace, a Test, a Twist
The article does exactly what it sets out to do: introduce C to programmers used to more modern languages.

I started programming in C again a few months ago after a 15 year hiatus and the language I remembered loving seemed strange and tedious. This would have been a great reminder of the many differences that after a while you just take for granted. Something similar would be useful for most languages but just more so for C (or say, FORTRAN).

My only quibble would be that while malloc/free are covered many variables are simply automatically aloocated and deallocated on the stack. C's dual approach to memory management is yet another frequent source of confusion.
Several of the answers on stackexchange and comments here are absurd.

SIGKILL shouldn't be your first resort but sometimes is necessary as a last resort. If the sky falls and you can't deal with it, there's something wrong in a lot of places which have nothing to do with signals.
Using the structured sources (like freebase) is much better than trying to do dependency parsing on some blog post and try to make sense of it. Powerset tried that and it didn't work then, and won't work for at least a few years.

Evidence extraction from unstructured data is a pretty active area of research. Clearly structured data is "better", but the issue with many structured sources is they don't accurately represent knowledge.

For example, answering "What is the capital of Israel" and/or "what is the capital of Palestine" really depends on both who is asking and who is answering. Unstructured data is generally good at showing controversy like that.
Some databases allow local shared memory connections. So, if you kill -9 a regular client that connects to the database that way, the whole database goes down. Fun times!
How hard is it to get Glass right now?
"stay out of malibu, lebowski!"
Show HN: Bro-ify the best browser extension for bro's and brogrammers
I can't speak for other techies but I will never buy canned food for food drives. It's one of the least efficient ways to donate.

Instead I write a check which helps far, far more. Here's an article on the subject: http://www.slate.com/articles/business/moneybox/2011/12/food...

An overflowing food barrel represents very little in value, compared to the large cash donations made by wealthy techies. Cash donations are buying entire warehouses of food that you just aren't seeing.
I would hope (though I'm probably wrong) that people would know his history with Sun.
Would you really have a relaxing stay on your beach with protesters chanting from nearby and blockading roads near your house?
And they're all way too slow for what I'm doing.
Well, as you can't catch -9 (SIGKILL), any task in your program that shouldn't be interrupted... will be interrupted. That's generally a good rule, but programs aren't usually SIGKILLED. It is SIGTERM the one you're supposed to take into account.
Err, yes, but on any modern version of Android, Google Hangouts is the SMS app - so I thing that's a bit of a red herring, and completely unrelated.
Hence, the douche.
Unfortunately, Cyanogenmod's Privacy Guard does not block everything (e.g. your IMEI is still readable if permission READ_PHONE_STATE is granted). XPrivacy can help in this case, but its UI is quite convoluted.
'Why Is Pennsylvania So Haunted?': The U.S. According to Autocomplete
OpenPDroid.
Best to wait sufficiently if possible, because what's happening might just be important to somebody.

If nothing else works, kill -9 -<master pid> to kill the whole process group, otherwise detached processes owned by init could get messy.
This feature is nowadays called Privacy Guard and it works so well that I have it on by default for all apps. With the exception of apps that actually need to read my contacts (say WhatsApp), I have not had to disable it for any applications and haven't seen any complications. For example Facebook and Twitter apps, which require a whole rainbow of permissions, function just the way they used to. I've never made a lot of use of their location dependent features though and would expect those to suffer from being deprived of GPS data.
The Dockerfile shouldn't run any processes that need to persist between 2 stages as each stage will be created in a new instance. You can either do fancy one-liner bash scripts (my favorite) to configure simple service / app startup scripts, or include a configuration file from elsewhere using the `ADD` directive. The only non ephemeral command should be the final `CMD` or `ENTRYPOINT` as far as I can work out.

I too am just learning this stuff, but that should hopefully help you out!
This looks great. It looks a lot like what I've scraped together using a fabfile and Python dicts for configuration, but much more formal. I'm excited to try it out.
No it couldn't, because the compiler cannot make assumptions about the heap allocator beyond what the C spec says, which is basically just the function signatures. An allocator that never frees memory is entirely within the C spec and would need not know individual allocated sizes after allocation.

Or, if a compiler decided to anyway, it would have to link a compiler-specific standard library because it's entirely implementation-dependant what and where bookkeeping information is stored. In turn, this means you couldn't safely link code compiled by different compilers. Bjarne might think that fine and dandy, but C never had that level of damage.
C/C++ Macro Pitfalls & Tips
I believe he's (dramatically) saying that you'd expect someone to have checked that number manually, if not by other means.
It's just unfairly easy in Lisp :)

There are macros in many non-homoiconinc languages (eg. Rust, Dylan), and there are add-ons for several of the languages lacking them (eg. SweetJS for Javascript, MacroPy for Python).
Wow. So crazy. Such arrogance.
One jumbo jet please!
Prominent Bitcoin entrepreneur charged with money laundering
I'm not doubting that US drug policy remains the driving force. It pushes people who would consume drugs legally or illegally into a black market where they inevitably do business with some extension of these powerful criminal organizations. I agree with all that - and it needs to change.

But too often I see people using the stupidity of US drug policy as an excuse for all sorts of morally reprehensible deeds. Case in point: when asked, Ross Ulbricht trotted out all sorts of high-minded rhetoric about freedom and libertarianism and the gross injustice of prohibition, but in private he was ordering hits on his own users, and as far as he knew and was concerned, the murders were carried out successfully. Is that in the spirit of libertarian ideology? Is that about protesting US drug policy or is it just Ullbricht's greed?

People will go through all sorts of mental gymnastics in order to rationalize their personal appetites. In the end the consumers of drugs have to know that they are buying from people who either engage in violence themselves or work for someone who does, and because they are participating in this marketplace they are in some way partially responsible for the violence that occurs because of it. It may be unrealistic to think that they will realize that - but we should not relax our personal criticism of them just because its convenient for our political position.
Because it has a pretty icon.
I haven't had issues, but I'm only using -O2. I also have to do "-march=native -mno-avx -mno-aes" because I'm on a Xen instance that doesn't allow the avx/aes instructions.
This is fantastic. I've seen similar sites, but this kind of thing never gets old no matter how many sites there are. I'm from Australia and I find it highly comical that every street I was given was basically a dirt road in the bush, haha. I wasted a good while on this, not the kind of thing I should be doing when I've got work to do!
Deep Mind's neural networks play 7 Atari 2600 games with more skill than a human
It might not be that simple as ops folks often have to support specific versions of stuff on apps that use db-specific features. In that case, it might be worth a prof services contract with a db shop.

(I've supported clustered Oracle on AWS handing massive numbers of micropayment transactions and seen weird shit in prod where it "kind-of failed" according to our ops dba. Classes of survivable bugs vary from apply a vendor hotfix to edge cases not worth downtime.)
You wouldn't use ints for currency?
I know that names are somewhat holy to some, but your legal name is another matter. User Kevin Chen, but change your legal name to include a middle name. Preferably something unusual but fluent.

http://en.wikipedia.org/wiki/Name_change
Meh, the writer's trying weakly to draw a meaningful comparison between Ukranian politics and American politics ... and as you note, it doesn't work all that well anyway.
Show HN: React 2014 – A 3 Day Conference About Building Reactive Applications
Why are they slow?

If you are going to invoke the usual C FUD about bounds checking and such, you can disable them on parts where performance REALLY matters.

Plus all compilers share the same backend.
Uber claims to be a platform like Ebay. When I buy something on Ebay, I pay the seller not Ebay.

When I get a ride on Uber, I pay Uber. Uber pays the driver. Uber cancelled the drivers account. They fired the driver. Uber is screwed. Luckily, they have a lot of money.
Can the map tell me why this guy's wearing a pasta strainer for a hat?

http://twitter.com/JohnPugh/status/426369689216745472/photo/...

The riot gear I understand. The other, not so much.
I'm trying to break this down. I haven't decided yet whether or not Uber should be liable, but your analogy isn't working for me.

Per your analogy, I'm guessing that for the sake of argument in your mind, Uber driver was working for Uber.

Your analogy goes:

1. A has employee B.

2. A has insurance for accidents affecting B during work.

3. A was physically associated with an accident that affected B.

4. B was not working at time of accident.

5. If, 1, 2, 3, and 4, then A is not liable for accident.

6. Therefore, A is not liable for accident.

I think the point of contention in the Uber case is whether #4 is true. If #4 is false, your conclusion doesn't work. Ways that #4 can be false have already been discussed thoroughly in these comments.

Again, I haven't decided for myself whether or not Uber should be liable. But this argument doesn't convince me that Uber shouldn't be liable.
If you have a Samsung Android phone, there's a Permissions Manager that allows you to firewall what apps can and can't do.

Same as Cyanogenmod without having to root your phone.
> I think that 'simulate' in this context mean 'producing same output' rather than 'doing step by step the same'.

That is correct. But "producing the same output" means not halting when a TM does not halt. Otherwise it is not the same output.

But halting is actually a red herring in this case. Because the number of states that a cpp-machine can visit is finite, it is easy to construct a TM (or even an FSM) that halts on all inputs but produces a different output than any given cpp machine for some input. For example, a TM can do bignum arithmetic that halts on all inputs, but for some input it must be the case that such a TM will produce a different output than any given FSM, and hence any given cpp-machine, since cpp-machines are strictly less powerful than FSMs.
Oh I see, your confusion is because you don't see industrial sabotage and espionage as acts of war. To you it's somehow a friendly thing that superpowers do to each other. You've swallowed the latest military propaganda remarkably well, congratulations.
"biased" how? That simply means that for the more recent data set, the owners bothered to decypher a small set of user agents (those represented in the graph - latest verions of dominant browsers), everything else is marked "other" and it shows that in Jan 2014, ~20% or fewer of clients were connecting from anything but some latest-version browser (and of whatever resources this covers, Chrome is by far the leader). That doesn't strike me as bias - just data simplification.
Cool study with nice insights!
It's disturbing, indeed. Even moreso to consider, if the government puts a gun to the telecom's figurative head, they can find out:

* which people are in the vicinity

* which people "turned off" their phone near the vicinity

* which people removed their phone's battery near the vicinity

Depending on how paranoid / authoritarian, any of the above or all 3 could make for a good list of people to harass (to put it nicely).
yeah dude, story time