skysight-inc/HackerNews huggingface dataset:
isn't that the whole point of journaling! Of course database can handle kill -9, they are designed to. That doesn't mean it's friendly to do that because you'll pay a price in redoing journals.

also -9 can leave ipc hanging so some ipcs might be needed.
The one map you need to understand Ukraine’s crisis
> [...] and the other suggesting you uninstall any program where -9 is necessary.

And vice versa, remove any program where -9 may cause damage.
Would this mean that it would be okay to swim to the beach?
I played it and tried to like it, but really I could not.. it' just not my kind of game, though it might implement a good AI..

The "game" part involves fun.. and I don't see enough of it in just guessing an AI calculated pathway or seeing it react to mine, so to find in the end who will shoot who.

But, it's probably just not my kind of game as I am seeing it has received high votes and had many posite reviews.

Anyway thank you.
Or use "kill -0 <pid>" to check if a signal can be sent/the pid exists.
SIGUSER is quite common for that. Or SIGHUP.
Walmart understands that being on the low end requires an attention to the realities of the low end, Square doesn't seem to get that.
It's not without its own faults (and it used to have some huge gaps, such as address book access), but the iOS privacy model is simply a more user-centered paradigm than on Android.

Android apps ask you if you want to update to the new version or stick with the old one indefinitely; privacy settings are non-negotiable. iOS apps ask you as they go: If iOS had an SMS API, Facebook wouldn't need to ask you until you enabled two-factor authentication (assuming that's all they use it for). And you could turn it back off later if you weren't comfortable leaving it on.
FWIW, I'm pretty sure that's a picture of a Boa. So much for attention to detail.
Something like how California does prop 65 warnings would be awesome; 50% of an $x000 fine for each violation reported by each person, per day. I'd be happy to spend an hour or two every morning racking up a new violation (and swimming), and I'm sure busloads of poor people could do the same.
The job they are paid to do is move people right? They aren't paid to monitor the app while driving. Is an employer liable for a worker crashing on the way to work?
That's OK wisdom unless you are aiming for high performance. I'd put it at about the same level as "Don't use C if something higher level will work." If you are hoping to gain from vectorization, or if you have enough of them to care about memory usage, single precision is twice as good, unless the extra precision of a double actually gains you something.
> they famously employ Guido

"Employed", it appears: http://en.wikipedia.org/wiki/Guido_van_Rossum#Dropbox

I only just discovered this recently.
So its OK if Chinese workers are cheated, as long as you get a bargain?

The ultimate impact of foreign slave labor on US free labor boils down to this: Is free labor superiority per hour more than counterbalanced by labor that can be flogged, worked to death, and quickly replaced? Is there slave labor with which no free labor can compete? If your answer is no, then go on buying cheap goods produced by slave labor, because it will have no consequences for the US standard of living. But if the real answer is yes, then buying slave-made goods paves the road to slavery for America.
Why do you think you're doing something wrong? Are you just in it for the points? Why would you care?

I actually clicked on your McLaren link earlier today, but it wasn't interesting enough for me to want to upvote it.

I only upvote things of interest, I only comment if I have something to add to the discussion.

I don't think people should care about how well their submissions do. That isn't the point of HN, maybe a shift in the way you view HN will change what you submit, but either way, enjoy the content, add to the community, don't try to 'win'.
Is a good practice store images from Facebook?
How CodeCombat Was Built
Open Compute is really desirable if you meet one criterion; you are designing a purpose built infra for a SOA app.

If you are building a singular app that requires a DC specifically built to meet your scaling requirements, then Open Compute can fit your needs.

If you rent a rack, cage, area in a DC - then you'll fail.

The Open Compute initiative i similar to Zuck's H1B Visa actions; they are solely designed to meet his specific needs. To put it bluntly; don't be fooled by this effort for FB to PR their personal optimizations...

Notice how GOOG never even promoted their internal server/system/DC design and kept all their design vendors under NDA lock and key?

FB tried to "open source" a proprietary architecture approach (they stole from google) in a PR push to look like they were doing the industry good...

The fact is that open compute CAN be great - so long as you're operating at the scale that you can really benefit; OR if a provider embraces the full scope of open compute deployents... this is ONLY recognized with players such as amazon and rackspace (lesser)....

It is NOT an capital sot savings; "It takes money to make money, but once you have money; money makes itself"

No way a small ISP is going to be able to operate this way.

The benefit for open compute infra going forward will be in the modular space.
If a database cannot handle kill -9 then it cannot be considered transactional and shouldn't be used.
Your reply is the real answer to the linked question. SIGTERM serves a real purpose, and almost always it works to end the process cleanly and promptly.

If a process doesn't respond reasonably to SIGTERM, then you should consider removing it from your filesystem.
When you care enough to send the very best, kill -15. When you want evidence (core dump), kill -11. For all other (most) purposes, kill -9 never hurt anyone but a process you wanted shot down anyway.
More to the point, why would 37signals ever want to take investor money, much less need it? Surely, the founders are wealthy enough now that getting more would just be bouncing the rubble (see Jason Cohen's "Rich vs King"), so money is unlikely to motivate them. And from reading Jason Fried's extensive writings, it's very clear that they're more interested in making a company that's a truly excellent place/way to work than they are with making a company big.

The only reason to take investor money is to grow the business faster than you can with cash flow alone - or to sell it in order to become wealthy and/or go on to the next big idea. The 37signals apparently don't want either of those things.

I can imagine a line of venture capitalists basically begging for them to take some investment, and them just refusing.
Does anyone know how to get a version of this without the animations and stuff? It's a little hard to read.
I wear regular glasses and use sunglasses that cost less than $5 US that slide between my glasses and my face: http://www.amazon.com/gp/product/B00012K3N6/

I think these would work with Glass.
Xen+Xen-tools with Ubuntu 12.04 LTS, unlimited VMs, 2 sockets per server: $0 per server, baby.

Edit: Downvotes? I'm sharing my server setup, which is simple to set up (in conjunction with Puppet), works wonderfully, doesn't involve any bullshit RAM or core/socket limits, and doesn't cost you as much as the hardware in software licensing costs. Sorry if it was a bit flippant, but I think a better approach would be to point out the advantages that these extremely expensive bits of software bring over the free open source software that many of them are ultimately based on.
What kind of things you can voluntarily, bindingly agree to is another matter. I just wanted to point out that the constitution has nothing to do with our rights as human beings, and can't remove or grant any. It's wrong to think about rights as something the government gives you - actually the government only violates them.
Yes, and consider

char* c = malloc(...);

char* d = c+ 100;

malloc_size(d);

Perfectly cromulent C, and I submit the result of the call is not what you might hope it will be.

The article is correct. There is no way in the C language to get the size of the array. Any implementation is, of course, free to build in anything extra in the memory allocator, but it is not part of the language. Specifically, you cannot add anything to the array itself, because memory layout is prescribed. ptr[0] must point to the first byte of memory that was allocated, and if you added some kind of table you'd be pointing to that.
I think the important part is the remedy.
This FB app is what you're looking for: https://play.google.com/store/apps/details?id=com.danvelazco...
This is probably the first reasonably sophisticated attempt to describe a test-driven design/development process I have read.

The observation that "[s]ome teachers deal with this problem by exhorting developers to refactor rigorously with an appeal to virtues like discipline and professionalism" reminds me of E. O. Wilson's remark that "Karl Marx was right, socialism works, it is just that he had the wrong species."

If test-driven design were the programming panacea its proponents sometimes seem to make of it, Knuth would have written about it in TAOCP. Instead Knuth advocates Literate Programming. TDD seems to attract a cult-like following, with a relatively high ratio of opinion to cited peer-reviewed literature among proponents.

TDD as this is commonly understood seems to me like the calculational approach to program design (c.f. Anne Kaldewaij, Programming: the derivation of algorithms), only without the calculation and without predicate transformers. Still it can be a useful technique.

There is no "right" way to program. This was evident from the beginning, when Turing proved the unsolvability of the halting problem. (Conventions are another matter.)
Most people are good. You're born good. You are friendly and welcoming and like to make friends. But ultimately we grow up and fall victim to the tragedy of human condition. We form tribes, we alienate others, we hold grudges, we harbor prejudice. You can't just go around with a happy-go-lucky attitude when it comes to life. There are bad people out there. I think dropping bombs on people is wrong. I do not, however, have a problem with keeping a ton of pre-aimed nuclear weapons armed and ready. I'm all about our nations defense. People can't fuck with us, they'll lose. It's a deterrent.
Just delete facebook already.
Martin's Beach is a place just south of Half Moon Bay, nowhere near Malibu.
Amusingly, wasn't the original 'brogrammer' pitch used to describe programmers that were not excluded from the rest of male culture; that fitted in with the 'usual' non-nerdy male fraternity stereotypes - athletic and sporty or physical - but also intelligent...?
I went straight from Apple BASIC, FORTH, and 6502 assembler to Turbo Pascal, and C seemed esoteric to me at first, and even unneccessary -- compared to Turbo Pascal that is. Then when DOOM was released compiled with Watcom C, I realized this 32-bit C compiler thing was a big deal.
What sprang to my mind is Jensen's Device: http://en.wikipedia.org/wiki/Jensen%27s_Device . This is a clever and little-known trick, that depends on pass-by-name semantics.
I cloned from http://hg.nginx.org/nginx to try and reproduce with your configure arguments, but i actually error out elsewhere;

src/http/ngx_http_request.c: In function ‘ngx_http_set_virtual_server’:
src/http/ngx_http_request.c:1955:32: error: ‘cscf’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
cc1: all warnings being treated as errors

which i'm not interested in following up. My `ngx_string.o` did build successfully though. Using gcc 4.7.2 on Debian 7

Are you using a new CPU with an old(er) gcc version? Try specifying -march explicitly instead of native.
> The only thing that's natural are the laws of nature, otherwise known as physics, and there is no law of physics that prevents me from torturing someone.

Good thing I didn't imagine the idea of rights would physically prevent you from torturing someone. Basically, rights are an idea meant to help us in drawing boundaries between what's acceptable behaviour and what's not. But it's got nothing to do with the government, and everything to do with reason, logic, consistency and common sense. A government or a piece of paper can't grant any rights or take any away, and in fact, governments only violate our rights.
H7N9 bird flu resurges in China ahead of Lunar New Year
Windows 8.1 Update 1 Preview: Now with More Integration
In 1000 BC the summer solstice was on July 2nd [pdf]
Google Glass with Designer Frames
Square is just another PayPal and I don't understand why people can't see that.
Sometimes you have to kill -9, but you shouldn't do it unless you tried other signals and they didn't work, and you know what the consequences are.

For example, postgresql forks a process for every connection. What you may not know is, if you kill one of these processes, it needs to clean up it's use of the shared memory pool. If you kill -9 any of postgresql's child processes, the other processes will see that a peer died uncleanly, and postgres will just shut down rather than risk corruption.

Oh, the things we learn the hard way.
I have to say, this puts Vinod Khosla markedly ahead of Tom Perkins.
Frankly, if someone came uninvited to my office to settle a dispute, I'd feel somewhat at risk, too.
Binary Clock Demo: Hoplon Lifts HTML into Lisp
Hoplon is ambitious, seeking to unify HTML page markup and the JavaScript environment.

If you've been intrigued by Facebook's React and Om, check this out.
First Android bootkit malware spotted on over 350,000 mobile devices, in China
I took apart my Glass, added magnets, and have it attached to my eyeglass frame. Thing with mounting this on to frames is that you actually spend a lot of time micro-adjusting Google Glass.

This is all the real problem.

The real problem is just that Glass is boring. The UI is also really awkward. Voice recognition is pretty decent but saying ok glass ten thousand times a day is annoying.

Google still sucks at devices. Though they have the best VR compared to Siri. God, does Apple suck at voice.
What is interesting about volko is that he was the the deputy head for terrorism in the middle east for the CIA during the bush era. The CIA claimed it was a time when they were pushed unwillingly into providing bad analysis and shonky evidence to support the neocons worldview. So when in 2010 volko designs a game where muslim states that are not pro american are necessarily pro-terrorist, a key part of the justification for the attack on Iraq - its pretty clear that there were resonably senior CIA analysts who were hard core neocons and remain so.
The approach suggested by the parent comment needn't be contained entirely within the NSA, or even involve the NSA at all.
Know your latency
There's a bit of confusion around this, but "deep learning" is nearly interchangeable with "neural networks". So PCA, for instance, isn't deep learning (which definitely doesn't make it bad, it's just definitionally not deep learning ie not a neural network).

Now, as far as the difference between PCA and eg an autoencoder (which is similar to an RBM, but different--both RBMs and autoencoders are "deep neural networks")--well, PCA just learns a linear mapping. You can stack PCAs on top of each other I guess, but it is functionally equivalent to a single layer. So it makes certain assumptions about the behavior of the data--specifically, that it's linear.

A neural network layer calculation looks like this: nonlin(Wx + b) A deep neural network forward pass looks something like this:

W3 .* nonlin(W2 .* nonlin(W1 .* INPUT+b1)+ b2) + b3)

Nonlin can mean a variety of things. Usually tanh, sigmoid, or max(0,x). If you remove those nonlinearities, it basically becomes like PCA, like a model that learns a linear mapping. When you have those nonlinearities, you get a non-linear mapping which, theoretically, lets you address a wider variety of problems.

But yeah, if you want to learn about deep learning, just learn about neural networks. It's the same thing.

Also, re: your point on local minima--on the upper end of experiments that have been done, you've got over a billion parameters. 10 million parameters would be on the relatively small side. I think it's reasonable for there to be a variety of possible solutions to any given problem, and the whole idea is that we're using models that are very flexible due to their high capacity. The problem historically has been using the capacity effectively. However, regularization methods like dropout help a lot, and I've found it's easier to think of neural networks as "feature learners". Each one of those neurons is theoretically a feature its learning. And even still, if you look at the features that are learned by convolutional nets (which are easier to visualize due to their being used on vision problems), they tend to arrive at similar features even though it starts from fairly different initializations.
Actually he did say he was ignored. He said nothing about being treated like shit.
> Design is how it works, not how it looks.

+1
You don't need to. Apps can't read SMS and for the rest: You get asked for everything and can deny it.

On Android it's all or nothing.
Looks like not many people knew it. If it's available on Android, FB should ask user's permission instead of force them to accept. If it's for the sake of a feature, when user declines, only need to disable that feature.
I noticed that too, the pic is one of the first served up when you search for "warren buffet" in google image search.
or MIUI that comes directly with the privacy feature.
For anyone else curious on the __dsb() call, from ARM's docs:

The Data Synchronization Barrier (DSB) acts as a special kind of memory barrier. The DSB operation will complete when all explicit memory accesses before this instruction have completed. No instructions after the DSB will be executed until the DSB instruction has completed, that is, when all of the pending accesses have completed.
Vinod is a very, very hardball negotiator.

Having taken money from him myself, I advise that nobody else ever do so.
DHH discusse that here: http://youtu.be/fPrvnlvnu-k?t=1h12m11s

He says it was just to take some money off the table, and should encourage the founders to stay in the game.
Or use kill -USR1 <pid> to check the progress of dd
This is absolutely, technically true, but sometimes it's just so much easier to write something that doesn't handle being kill -9ed gracefully...

hangs head in shame
Improve your public speaking in 5 minutes
New Android Malware Now Disconnects Phone Calls
Google chrome – Global marketshare by version
iOS may use SIGKILL when out of memory or you're killed in the background (in most cases it sends a memory warning or -[NSApplication applicationWillTerminate:] message first and gives up to 5 seconds before SIGKILL).

You do need to be a little careful as an app writer. All your file writes should be atomic (either SQLite/CoreData or using the atomic write methods in CoreFoundation and Objective-C) or you must be able to detect and delete partially files and recover in-situ.
This just about sums it up:
"Don't use kill -9. Don't bring out the combine harvester just to tidy up the flower pot."
(from this answer http://unix.stackexchange.com/a/8927)
GCHQ Teaches NSA How to Monitor Facebook, Twitter account at Real Time
Fruit Fly Born in Outer Space
Includes awesome image! And I kid you not!
Heading should have been proper if it was 'Android allows apps to read your text messages'.
This exchange is pretty hilarious...
The easiest “NO” delivered by our angel fund
Mitre-Harvard's Nanocomputer May Point the Way to Further Miniaturization
>This makes sense. These policies are probably warranted for actual credit card companies. But, the OP's grievance was with Square, which isn't liable for fraud and probably doesn't need to use such excessive security.

I think the parent comment (which seemed fairly well informed) actually says the complete opposite of this, that is, not only is square liable, they are specially exposed.
Cell tower data is sufficient to determine phone location via triangulation. Additionally, spies can get real-time data from the carrier directly, as can law enforcement.

The parent comment said nothing about real-time access, but if someone has a remote exploit that gives filesystem access (and if jailbreakers can do it, then the NSA can, too), that location data file would provide a detailed history of the phone's location.
Which sadly misses (according to their map) where I live.
You can also cancel (sigint, eg ctrl c) processes via kill.

Or use sigchld to a parent to get rid of zombie children.
IBM reveals radical email interface rethink
Did you read the story? -- it went to court and Khosla won. Apparently the land rights stem from the 1848 Treaty of Guadalupe Hidalgo, which predates California statehood, therefore the CA Constitution doesn't apply.
As a bay area tech worker I'm hurt twice by this. First I'm robbed of access to a beautiful beach and second my standing in the community is tarnished further. With leaders like Perkins and Khosla I can hardly blame bay area natives for thinking we're all entitled and out of touch. The worst part is we have to take the brunt of the rage while we get on the bus to make more money for these people.
From my experience, and I started all my projects with freelancers. I was very lucky with russian and ukraine developers but also polish & czech developers seem to have kind of the right working attitude.

The main issues I had with indian developers is the "yes yes culture". It seems that their culture does not allow to say "no, it won´t be ready" or "no, it will take longer...". They always say "yes, sir", "for sure, sir". this is something I can not work with.
That is a problem with the stdlib and not so much the language. There is nothing stopping you from creating a more robust string implementation that stores size and does bounds checking for some operations(You can't easily/safely enforce anything like string immutablity at the language level... unless anyone out there can think of a way). I've seen it before, but not often. Usually the C code I'm working on does very little string manipulation and speed/size matters.
"general population". I don't mind spying on relevant, narrow targets if it's really necessary.
Tech Billionaire Compares Self to Jews under the Nazis
With only a couple of very narrow exceptions (Malibu, Stinson), California beaches are indeed publicly accessible by law (which is the main point of this situation).
We (Wingify / Visual Website Optimizer) are completely bootstrapped.
If you don't care about precision use single floats. That's most of the time in games. Some people even used ints as fixed precision fractions.

If you care about precision - doubles still aren't precise - for currency use bigdecimals, for some stuff ratios can give precise results, for irrational things your only options are doubles, but be aware that you aren't precise, even for simply looking operations. No way to compute 10% of something precisely with doubles.
Angry Bird And Dreamy Smurf Are Watching You