skysight-inc/HackerNews huggingface dataset:
Except if the program needs to run for a non trivial duration or you need many instances of it at the same time/run at the same time as other processes.

Still you have obstacks where free is a no op - here you allocate off the stack (assuming that you dont need to store pointers after you are done). Ngnix and apache allocate a chunk of memory per connection and free it all when the connection is finished - but this results in high memory fragmentation, also this is not so good if connections take a long time.
True - in other countries it's called corruption; in the US it's called lobbying.

Police and so-called "correctional facility" unions are among some of the highest and most effective of lobbying - especially elected judges (yes wtf).
Picturing Websocket Protocol Packets
Apple's desensitisation of people to fundamental security practices
I'm not 100% certain, but is that to just delete the HSTS Header that is saved into the browser?
I politely dissagree. Puritan / christianity beliefs may have once been at the core of America's original founders visions but it has been a rather progressive 200+ years. We now can find and see things, rather common place at that, that a majority of the forefathers would be enraged over.

I think while morality issues play the largest role in such a decision, it is in reality a 'technically' hard problem that we still feel we can 'fight'. (War on drugs since early 60's and seventies). The majority is not ready to admit defeat by accomodating, no matter what benefit.
You raised some very interesting points here. Thanks for taking the time to provide your insights.

I don't actually want to change where I live (I live in Australia), just want to make myself more useful when working with contractors etc.
We're not doing environment variables per environment yet but we would love to, see https://gitlab.com/gitlab-org/gitlab-ce/issues/20367
"maybe we can make a dent in the more than 20,000 Americans who choose to shoot themselves every year, or make a difference in urban gun violence."

If those are your goals (and noble goals they are), why not work on health care, notably mental health. If we fixed that, we would probably make an even more substantial dent on the number of suicides, improve the quality of life of those who aren't killing themselves, reduce the amount of urban violence, and even possibly make an impact on mass shootings.

I can certainly understand the compelling societal goal- but I'm a big fan of using the least restrictive (and most effective) means to achieving those goals.
4 Keys to Becoming a Pre-MBA Venture Capital Associate
Mathematical Software: Is It Mathematics or Is It Software? [pdf]
Major linux bug allows root shell by holding enter key
Ah, yes–it's a bank. That's a great point. Not sure what I was thinking. I imagine you could set up a separate transport with special rules that dumps them somewhere outside of the normal mail infrastructure for that message thread but it wouldn't be worth it when the problem happens infrequently and just adding sender restrictions to the list is quick and effective.
http://hmarco.org/bugs/CVE-2016-4484/CVE-2016-4484_cryptsetu...

If you use Debian, Ubuntu, Fedora and have encrypted the system partition you are potentially vunerable.

To exploit, reboot server, hold down enter key for 70+ seconds and you'll be dropped into a root shell.
This is cool to see.

I even more enjoyed the oral history of Deus Ex development that it links to from the intro. A really fun, nostalgic, and pretty relateable read. And somewhat in contradiction to this post, has the quote:

> From what I can recall, there was no continuously updated design doc for Deus Ex. If there was, I never saw it and I didn't get access to it.

Another cool excerpt:

> Basic sounds in speech, like "ah" or "ooh" or whatever, they all have frequency fingerprints, basically. Even with the low CPU power at our disposal, I could do a really low-resolution fast Fourier transform to analyze the speech as it was being output to the sound card, chop it up and try to match it with phonemes. Then I could use that to send hints to the animation system to move the lips.

> So I had the artists animate the face bones, of which we only had like two, I think -- it was super low-poly -- and I had 'em go with eight phonemes to animate face poses for. Except, they'd do it on the base pose and I'd blend in the animations on the face in real time based on what the audio does.

… for a game that came out in 2000! Pretty cool.

http://www.gamasutra.com/view/news/240456/Developing_Deus_Ex...
This article itself felt like fake news being that it states they didn't solve the fake news problem: "A Chrome plug-in that labels fake news obviously isn't the total solution for Facebook to police itself."
Yeah it's going to be harder to find another job once you are laid off. Also unemployment tops out at 940 a month can you pay your rent on 900 a month, unemployment hasn't been increased here since 1976 being laid off is a disaster unless you really don't need to work to start with.
Fascinating how the design doc simultaneously seems to describe an entirely different game yet already shares so many similarities with what would finally become Deus Ex.

EDIT: The postmortem linked at the end of the post also includes an even older pitch for the game from 1994 which has even less in common with the final release. It's amazing how the game mutated from "rugged ex-cop action movie shooter" to "cyberpunk conspiracy drama" where it's actually possible to beat the game without killing anyone.
Epson Expression Home XP-215 Driver Download
You can say it's irrelevant, but obviously lots of us find it quite relevant. (Telling us again it's irrelevant is not persuasive.)

I also don't need to look to other countries to ask whether a given law makes sense. If it makes sense (reduce the prevalence of guns to curb gun deaths), I'd vote for that no matter what other countries were doing. If the cultural mix here makes guns more deadly than in a more uniform society, well, then that's just what we're dealing with, and let's figure out what to do about guns deaths in that context instead of saying "well, can't do nothin'."

Aaaand, if we're talking about developed nations, then neither Argentina, Lithuania, nor Turkey are on that list. They're all still considered developing nations. Saying that the U.S. is in the middle of the pack of developing nations is pretty shameful for us.
In this case, the city is only 4.3 square miles, and there's enough homes within walking distance to saturate the new transit stop. The garage isn't a commuter rail parking lot. Rather, it's a parking lot for people working at the school and city hall, on the presumption that they won't want to take the light rail to work.
> Once an employee learns how equity really works, they often leave startups. Want to make money? Go work at Google.

Want to be happy? Stop worrying about making money, accept you never really will, and go work for a startup with people you like who are trying to accomplish something interesting.
Since excess parking is required by law, everyone will just park somewhere else rather than renting my spot.
GET requests are coming through with 'content-length: 0' when that header was not sent.

Some other headers are not coming through, e.g. `te: gzip, deflate`

Otherwise, trying to use HTTPS instead of HTTP takes me to "Simon’s Filedump"
It's always struck me as weird how the prevailing opinion on hacker news is anti-foreign students / workers...
Does this indicate if it will include a REST API to build some quick applications off of or is it easier to return a JSON from a query?
> I don't really see the spread of capitalism as a virus, and indeed none of the founding Marxists did either. While capital's inherent drive to expand is the core of most imperialist theories (and therefore "bad"), the accompanying spread of bourgeois ideology to the entire globe--and with it the social integration of the whole of humanity on scale which was previously unimaginable--is unquestionably a good thing.

Interesting. I wasn't expecting that. I'm sure you're familiar with self described communists who identify with Agent Smith's description of humankind in the Matrix, so you know where I got that impression from.

> On Silicon Valley, the anti-political technocratic ideology it seems to be producing is a minor phenomenon. There may be something to the notion of bits vs. atoms as the "stuff" of production, but what gets obscured is that capital and the law of value rules here nonetheless.

We may mean different things by anti-political. I didn't see Thiel's exploration of unusual fringe ideas as being the complete rejection of all politics, but an attempt at making a new kind of politics through technology. So here anti-political meant 'outside of the mainstream' for me. Out of the world of Washington, not out of the broader world of political philosophy.

Along the same lines I think SV ultimately is competing with Washington. An old form of politics vs a new form, similar to the competition of monarchy and democracy.

I think it is in a nascent stage yet, I just think we're being fed the idea their interests are parallel merely because they have converging interests, and I believe that to be a very big mistake because of Girard's ideas about mimesis, namely conflict is more likely, not less likely, because of similarity.

I agree with you though, the same economical laws are ruling still despite this talk of a new economical world order from Wired. It is remarkable as Thiel has been pointing out, just how few new forms of wealth have been created ex-computation in the past few decades. There is a terrific amount of talking but little impact and often the Ted-Talk-People portion of the middle class becomes intensely uncomfortable when this is pointed out to them.

> On Girard, Theil's affinity with those ideas seems to me to be bound up with his struggle to reconcile his libertarianism with Christianity. My guess is that if he dropped the Christianity, the Girardian thought would fall away.

I believe Thiel has noted of himself before, that he likes to have (and looks for in others) paradoxical or perhaps contradictory ideas. I think he believes there is some kind of gap between oppositional ideas that either spits off new thoughts or at least keeps you on your toes.

> My main point is that Theil is a particularly good "personification of capital" and that if you drop the stupid anti-capitalist politics and see capital as neither good nor bad but simply the ruling principle of the world, then it can explain a lot.

Agreed.
> We make things illegal for a reason. Often times, a very good reason.

I think more often than not the other option rather than making stuff illegal is to leave it to the individual's responsibility. Unless there is a clear story that an individual is going to go to harm someone else by pursuing a specific behavior, the rationale for illegality is not very strong.
So, same as how people don't have to actually first use an Apple device and its new features to comment on how it's bad, Apple is doomed, etc etc -- for 15+ years now.
Death of the hatchet job
Ask HN: Why are FOSS projects beginner unfriendly?
I have been in the FOSS community since a few years now and projects either lack documentation or they don't actually support new comers to the projects. I faced an issue recently about docs too, it seems like big projects do not care about total newcomers, why is it so?
Sure, if you constrain the discussion in such a way that you restrict the candidate set to only countries that have lower homicide rates than the US, the result set is empty. But even then; let's take all countries with a human development index in the 'very high' or 'high' categories; there is Argentina, Turkey, Russia, ...

Or I can just as easily flip this around: why don't you list some countries with as high economic inequality and poverty problems, and as diverse a social make up, with strict gun control laws that has lower homicide rates?

If you're going to subset countries into comparable groups, at least do it on honest criteria - like relative poverty rates or other income inequality metrics. Then it becomes obvious quite soon that the major driver of crime is (get this!) economic in nature.

(edit: changed 'you if' to 'if you')
#HoloLens lady warrior FPS gets a bird's eye view #gamedev
Current 15-213 student here in the middle of malloc lab, my current solution is probably worse than anything in that link (left unclicked).
Depends on your take. Was he re-enacting the disabled reporter? Obviously not. Was he ridiculing him in a mocking caricature? For the audience, who is mostly unexposed to the subject, it seems likely.

Such exaggerated mimicry is a regular occurrence in American secondary schools. I saw his exact performance targeted at the "special" kids, some of whom were quite normal, many times in my youth. If Mr. Trump was raised in America, he would know not to use those kinds of expressions.

> You can either accept the evidence that they lied and manipulated the reader, or continue to follow the narrative. Choose wisely.

No, those are not the only narratives. Here's a third: Donald Trump, regardless of his intentions, briefly acted the part of the fool. The media, acting in their own self-interests, covered the story -- with dramatic embellishment -- which had practically been handed to them. Either way, it's his own damn fault.
In Australia you have a lot of East Asian and Southeast Asian languages spoken by immigrants, so that might be a useful thing to think about. Bahasa (including Malay and Indonesian) is said to be easier than Mandarin for English speakers -- no tones and written using the Latin alphabet! -- which is said to be easier than Cantonese (six tones as opposed to four, and fewer instructional materials or accurately written texts useful for learners).

Edit: in terms of the tones, phonology, and writing system (which some people consider a big barrier), Tagalog and Polynesian languages would also be relatively easy, and Thai and Vietnamese would also be relatively difficult. Like Chinese, Thai and Vietnamese have tones and have a writing system that you won't understand easily from the Roman alphabet (though Vietnamese writing is based on the Roman alphabet with a variety of additional marks to distinguish tones and other things). Like Bahasa, Tagalog and the Polynesian languages mostly don't have tones and their writing system should be quick to learn for English speakers.

I guess Tagalog speakers who migrate to Australia are more likely to speak English than are speakers of the other Asian languages I mentioned, because it's more widely used and taught in the Philippines than in other places in the area, but lots of combinations of language proficiencies are possible!

Of course, there are hundreds of other languages spoken around the region, so this shouldn't be taken as an exhaustive list. :-)
Just doing my part to ensure people who read my comment aren't taken advantage of by their employer.
The boldest and bravest, huh? I thought we were talking about Manning. Incidentally, what are the war crimes that were specifically revealed by this leak?
Yeah they only added 9.5 a couple weeks ago, very recently.
Is this where you want to be? Are loyal to the job, value the position? Then stick it out, understanding it will likely be tough to find a new gig. If you don't want to be working at a place that makes you uneasy, then move on. Control your destiny? A new employer should understand. If they are laying off people, you and they might be best served by freeing up the capital. Could always talk to your manager about your concerns. I'd prefer my team to come talk to me about their concerns then holding it or jumping ship.
> you'll have hard time finding something optimal

I wasn't intending to imply that one could use any old sand in the machine, only that disposal shouldn't be unduly bad for the environment (unless your recycling comment was intended to focus on the economic aspect rather than the environmental aspect).

Taken in the context of being a first-generation device, I don't think this is a bad product at all. First-generation 3D printers were way less polished than this appears to be (though of course I haven't used it myself). It remains to be seen how much maintenance it will require, but even current-gen 3D printers seem to manage to break down once a week or so, so again I don't think DIYers will be deterred there. :P And in particular, I think hackerspaces with a decent amount of cash but with scant floorspace might find this product compelling (our waterjet is easily the single largest tool in the shop). This might also appeal to folks with personal shops who can't justify the enormous expense of a full-size waterjet, who might purchase this out of sheer novelty. AFAICT it won't appeal to rapid prototypers, because prototyping in acrylic (or wood) via a laser cutter is already so much faster than waterjetting (unless you need your prototypes to be metal, in which case you already own a full-sized waterjet).

TL;DR: empowering DIYers is good, even if initial appeal is limited, and hopefully subsequent generations of the device will improve the economics.
Fun fact about old floppy drives, the write lock didn't actually prevent writes from happening. It was just an indicator. Write prevention was handled by the disk drive which could choose to ignore the write lock.
I didn't say that you are wrong. I didn't say "that everyone with experience agrees with [me]". I specifically used the words "mostly favored by" twice. Mostly does not mean "everyone".

It's fine if you want to use different words. But you either have words for the different types or not. And if you have separate words, you either use the five existing ones or try to push five new ones. I think it's significant that you objected to my claim about the popular taxonomy without suggesting five alternative terms with even a fraction of the adoption. (I've built an entire career partly on popularizing this stuff and I've never even encountered a competing set of terms!)
That sounds like useful information, thank you.
"If you are reading this on an unauthorized device, it will explode when you turn the page."
The impact of this bug is rather limited. It only matters when an attacker has a (local, not SSH) access to the console and simultaneously does not have an access to the hard disk.

When you have a physical access to the hard disk, you can do the same things without exploiting this bug.
> And yet if you compare the US with the next umpteen countries combined, totalling the same number of people, gun deaths in the US are vastly more common.

The comparison is not as simple to make. Virtually very few other countries have metropolis/urban centers like in the US, or any culture resembling it. I know it's the best data that we have, but it's certainly not apples to apples.
Setting up bitesize tasks is the best way to make progress. Add a new div to my page today, set up a function to handle it tomorrow, clean up a page after, etc.
No problem in Version 54.0.2840.100 (64-bit)
In retrospect, that class was amazing. At the time, I hated it.
One famous piece of trivia about Deus Ex is that, if you look at the city skyline during the missions set in New York City, the Twin Towers are conspicuously absent. The real reason for their exclusion isn’t very interesting: something to do with memory constraints. So in the game’s fiction, the Towers were destroyed by terrorists. Deus Ex was released in 2000, a year before 9/11.

----

'How deus ex predicted the future'

https://www.google.com/amp/kotaku.com/how-deus-ex-predicted-...
My feeling after reading your doc is that "mock" is an ill-defined term and asserting the specific meaning here is just prescriptive linguism.

Not only does your own doc agree that in common usage, "mock" is a generic term for any test double, your docs also assert that a "partial mock" is "any actual object which has been wrapped or changed to provide artificial responses to some methods but not others". So by their "precise" definitions, a "partial mock" is actually not a partial "mock". Come on.
I completely disagree. C++ was not created to extend or enhance C; its an entirely new language providing backwards compatability only for legacy reasons. Using C in C++ introduces deficiencies and dangers that C++ was designed to overcome. As a C++ developer I come across a lot of code where people still use things like FILE* and close the handle in a goto. That should be frowned upon, there is no advantage for this method vs. using a stream; which handles the file handle while being scope bounded. Promoting the use of C in C++ is something terrible misguided and plain wrong.
Pushing the state of the art in application level memory management? Too lofty? Come on, it's fun :)
What's your threat model? In other words, is your primary goal to find a vehicle that's easy to repair, or easy to tinker and modify, or one that is less vulnerable to malicious actors that target electronic components?

In either case, your 'new' qualifier makes things increasingly difficult, as rear-view cameras will be required in all new cars sold in the US in 2018 [1]. Electronic Stability Control has been mandated since 2012 [2].

Edmunds published a blog posts last year on buying 'low tech cars' [3] that seems to fit your criteria, where they name some base models of cars that are less fitted to the brim with electronics.

[1] http://www.nhtsa.gov/About-NHTSA/Press-Releases/2014/NHTSA-A... [2] https://web.archive.org/web/20100111175448/http://www.nhtsa.... [3] http://www.edmunds.com/car-technology/how-to-buy-a-low-tech-...
Show HN: SimpleMoney – A portfolio tracker for Indian investments
I've been using this feature for a few months, in conjunction with my RSS reader.

It's a very nice alternative to YouTube's UI, as I can just pipe my stream of subscriptions to youtube-dl + my preferred native player.

Glad to see someone else is doing so!
I like this idea better than any of the ideas I've come up with or have heard from others. I think this is something that could accompany full blown legalization, as a few people have pointed out(and I agree) that some drugs are more likely to have a person react outwardly(heroin, meth, pcp) as opposed to something like cannabis.

Could you imagine being able to convince your great aunt who has back pain to head down to the local safe space to try out a small chunk of a cannabis brownie? You could rent a room with a tv and some movies/video games/board games and just let it ride out. Once she realizes how much she can take safely and how she feels on the drug, she can purchase some from the dispensary around the corner and confidently enjoy herself when she'd like to at home by herself.

I'm not familiar with the effects of more serious drugs as I haven't had any interest in trying them but I imagine there are similar things you could do for a person who wanted to try them or who was addicted.
I'm sure there's scientific and unscientific ways of calming someone who has lost touch with themselves on different substances.

We could do so much for each other if we are to embrace the fact that humans have the propensity to ingest substances to directly impact our state of consciousness. Whether it's for fun or to escape, it's a reality of the human condition that we can't ignore for much longer. What we're doing in response to this behavior is extremely damaging to our world and our kind.
Is the actual PDF available somewhere instead of having to jump through Scribd hoops?
Electrostatic, sure. You can deflect a stream of water from a faucet by holding a comb near it. But magnetic?
I am following the thread, and you aren't answering the question.
The paragraph on "move to the left" does not make any sense to me.
Flavor may suffer after a year, or 10. But there's no bacteria left to go through with the usual rotting process.
The fact that you learned it years ago doesn't change whether it's an unsourced rumor. Every single state certifies their ballot totals and every single state counts each vote. I challenge you to find a single state where their policy is to only count absentees in close races.