skysight-inc/HackerNews huggingface dataset:
runserver as in "manage.py runserver"? An issue I have hit a few times is when the app is making a request to itself, but runserver cannot serve requests concurrently.
Say, browser loads request A and waits for response. While processing request A, the python code makes an internal request B and waits for response. This deadlocks because runserver will not start processing B before A has finished. Eventually request A times out, and if it was just some tracking call, the page appears to load, just after a long pause.
It seems unlikely to me that the homelessness problem in SF has anything at all to do with high housing prices. It's certainly not software engineers living on the streets, and I'd bet that even the people that work at Starbucks in SF have homes, even if they're crappy apartments shared with roommates outside the city.
Imagine a pipe that only fits dogs. The pipe has two ends. One side has person A pushing dogs into the pipe - the source. The other side has person B pulling dogs out of the pipe - the sink.

The source can push anything into the pipe that is a dog or more specialized than a dog, ie they can push in specific dog breeds like only terriers. So the source can treat the "Pipe of Dog" as a "Pipe of Terrier". It's okay because they're dogs and the pipe accepts dogs. The source cannot push in any animal that isn't a dog.

When the sink pulls something out of the pipe, they can expect to receive anything that's a dog or less specialized than a dog, eg they can expect that everything they receive will be an animal. So the sink can treat the "Pipe of Dog" as a "Pipe of Animal". The sink can expect not to receive anything that isn't an animal. The sink can't expect that they'll only receive terriers, since the source may decide to push bulldogs instead.

The source end of the pipe is contravariant on Dog. The sink end of the pipe is covariant on Dog.

Edit: To bridge this with programming: A function is a pipe. The input of the function is the source. The output of the function is the sink. A function that accepts a Dog could be given a Terrier, and a function that returns a Dog can be considered to return an Animal.

Data structures are equivalent to functions in this respect. A data structure that produces instances of Dog is the same as a function that produces a Dog - IEnumerable<Dog> in C# is also an IEnumerable<Animal>, Promise<Dog> in JavaScript is also a Promise<Animal>. A data structure that both accepts and returns instances of Dog is invariant on Dog - List<Dog> in C# can't be List<Animal>, Array<Dog> in JavaScript can't be Array<Animal>, because that would let someone push Cats into them.

Edit 2: By the same reasoning, a callback parameter flips the input-output-variance association for every level of nesting. For a first-level callback, the inputs to the callback are produced by the function, so the input of the callback is equivalent to an output of the function, and the output of the callback is equivalent to an input of the function. Eg consider a JS function `function foo(x: (y: A) => B): C { }` This is covariant on A, contravariant on B, covariant on C.
MS engineers can login to your machine and run programs / download documents. There also is some keylogger that sends data back without warning you. I can't remember which bits you can turn off, which bits got backported to 8/7 without warning, etc.

To make a long story short: From what anyone can tell, there is no way for consumers to obtain a version of windows that has security patches and has the ability to run with sane privacy settings. There is an acceptable version called Windows LTSB, but you have to pirate it.

This has been discussed ad nauseum on HN and elsewhere.
That the USA limited Microsoft is not a stretch at all, it happened!

https://en.m.wikipedia.org/wiki/United_States_v._Microsoft_C....
> the versioning problems should be solved by those tools

I'm not a Java developer; could you explain a bit about how Maven/Gradle solve this problem? My understanding is that what people want is something like what Node gives you—the ability to have both libfoo-1.0 and libfoo-1.1 loaded into the same VM at the same time without clashing. Do the build tools use e.g. name-mangling to achieve this?
Cambridge as well. Grocers that cater to a lot of customers who walk to the store have been delivering since before there was an Internet.
I'm not understanding that. You can be very successful without trying to prevent your business partners from making their products better for their clients.
There's a clear difference between what Bing and Google are doing. Please don't mistake the facts:

1. The EC is not asking Google to make their user experience worse.

2. The EC does not have a problem with sponsored search results.

Google's user experience is the generic algorithm that determines what is the most relevant result. Google deliberately did not subject its own comparison shopping service to that algorithm while subjecting competitors' to it. Furthermore, Google took the FIRST result position.

Why would they do this if they have the best user experience and it should come up first anyways?

Contrast with Bing, when I search for "baseball bat": The first 3 results above the fold are organic unpaid SERPs. (Nothing from Bing in the top three spots.) And their shopping ads are displayed to the right of the organic search results.

If Google would've treated these products like ads, then the EC wouldn't have had a problem. But they didn't. And they have a dominant share of the general internet search market.

Google deliberately tried to exploit its market dominance to enter into another market in which it was not competitive.

There's nothing scary about this fine.
Also it looks like you have a change to recover your files until you restart the infected machine. See

https://twitter.com/hackerfantastic/status/87979028071470694...

If you are infected with Petya and your machine has
crashed/powered off. DO NOT POWER UP. Use a LiveCD or
external machine to recover files
Kotlin was designed from the ground up to work seamlessly with IDE IntelliJ (and hence Android Studio), whereas Ceylon joining the Eclipse Foundation was just an afterthought and its Eclipse IDE integration isn't guaranteed to be great.
My company is actively helping enterprise companies and cyber insurers do just this.
I was using a blog for this, but I hate maintaining a blog.

I'm going to use this instead!
Another project which is easy to overlook: Think about how many scientists use Emacs for most of their development and writing. But there is (to my knowledge) not even a single paid developer working on it.

( http://gnu.org/s/emacs )
Thanks a lot, extremely kind! We are very very pleased to have made a difference. :)
You don't have to use that library.

And as I've mentioned, that library started to use it for a reason.

If you use a library that just starts using expensive features (like templates in C++), just because they think they're cool, then I regret to inform you, that you already depend on a bunch of script kiddies.

This is the same thing as we always discuss with functional programming and all those extremely complicated category-theory heavy con-fuck-structs. They make sense in a setting for some problems. ( https://stackoverflow.com/questions/5057136/real-world-appli... )

But it's very much like a special weapon that is large, and heavy, and only those can handle it that are blessed by the priests of The Temple of Homotopy Type Theory, or whatever, and so on. So mere mortals should not touch it.

And in a proper library, those beasts are locked up well, encapsulated.

It's the language's (or the lib's) shortcoming if you can't interface with the library, can't apply parameters to the library without knowing the hairy internals.
Addicionally ignore all the advices given by the Algol community since the 1960's, in spite of the fact the customers were more than happy with the output of their compilers.
There is no reason to deal with multiple flavors of Awk when you have Perl, especially when you are working with different operating systems. That and Perl's regex which is the defacto across multiple languages, made me completed do away with Awk.
That really helps my understanding of the matter. Thanks :)
In many southern tech cities corning someone and yelling at/assaulting them with unknown fluids is a great way to get shot. We recently hired a CA transplant to the dev team and he was shocked how many of us carried.
IOBIT UNLOCKER 1.1.2 DOWNLOAD FREE WITH SERIAL KEY 2017
I wrote a Docker helper script, which resets it to a baseline state when I need to clear out cruft post-restart. I call it harpoon, so I can harpoon the whale when I go to restart my dev machine.
I understand that I posted my comment on a page about gerrymandered elections, but there a polities in the world that are republics but not democracies: North Korea, China (at the national level), Turkmenistan.

Any polity where a country is at least de jure considered a public matter can call itself a republic.
In my phd work I was heavily involved in hippocampal segmentation, and I can say with confidence that FSL FIRST is not a state-of-the-art segmentation method. It belongs to an earlier generation of segmentation methods with poorer reliability, which have contributed to a lot of contradictory results in my field of hippocampal development.
I would not use it in my research.

https://www.researchgate.net/publication/273940329_Assessing...

https://www.researchgate.net/publication/260915135_Volume_of...

https://www.researchgate.net/publication/274252280_Developme...

[edit]
I had meant to point a link to my chapter on hippocampal development.
https://www.researchgate.net/publication/314194708_Hippocamp...
Would you prefer the EU simply prevent Google from operating in their borders? That's always an option.

It's so refreshing to see checks and balances on US multinationals, and I say that as a US citizen.
Talking daily to a world-class professional mathematician for two years will do a lot to help in this respect.
I thought the same, until I tried free range, single source electrons.
because there is zoning
Well, there are a few other reasons:

- $20/meal for a couple or small family is still cheaper than eating out, especially for the kind of meal you're getting from BlueApron

- People like knowing what goes into their food

- Using your cool kitchen gadgets is fun, even if you don't have great recipe ideas

- In some places, to make a specific dish may require a trip to two or three or more grocery stores

Growing up in the 80s with two parents that worked, there was a wife/mom who knew our preferences, but we ate a lot of hamburger helper anyway.

Meal planning is the least fun part of cooking for me and my wife. Executing the plan is easier and funner than than coming up with the plan or getting the ingredients. Maybe we're outliers.

On your subtext, it's true that society has changed a lot since we have two career professionals, but knowing several families that are trying the stay-at-home mom thing, I can't say it's working well for them, largely because there was a lot more institutional support for it in the 50s and earlier. The ones I know certainly don't spend their entire day coming up with luxury meals for their pampered families. But that's a topic for another day.
Agreed.

I think the prime example of this is the common energy policy, that then Germany regularly fucks up with the OPAL pipeline deals with Putin.
I have an automatic pressure cooker. It's awesome. I'd love a service that just delivered a package full of stuff to dump in a pressure cooker and nothing else.
It's amusing, and also, supported by no less evidence than the causality in the headline.
London's Heathrow airport has facial recognition cameras everywhere before the border checkpoint. They consist of small turbine-shaped cameras mounted in the ceiling, with a rotating circle of LEDs designed to catch your attention and make you look directly at the camera.

I've forgotten the company name, but I googled it at the time and it was indeed a facial recognition hardware company.
iBooks, at least, offers a scrolling option (same menu where you select font size)
I've heard some statistic that the non mentally ill homeless tend to get back on their feet in about a year on average in SF. The mentally ill chronic homeless that everyone can see need mental health services.
I've seen estimates that it costs up to $80k/year in the Bay Area to give a homeless person housing and treat their underlying mental illness, substance addiction and other health issues. So for 8,000 homeless we're taking about $700million per year liability. You can't solve homelessness in the Bay Area by throwing money at the problem. The underlying issue is the cost of housing, health care and law enforcement or how those things are applied - all are deep political issues.

My own running list of root problems that underly the homeless epidemic in California:

- zoning. we have technology to build inexpensive micro-apartments, theres just no cost-effective way to gain approval for tens thousands of them convenient to health care facilities and economic opportunities.

- building codes. to build cheap micro-apartments, they need to be prefabricated. building codes enforce customized busy work for individual plumbers, electricians, inspectors and other contractors on each installation. The systems resists pre-fabrication which would be safer and much cheaper overall.

- local attitudes about state power. police use of force. crimes of poverty aren't often prosecuted. City attorneys/prosecutors are highly disincentivized to tackle quality of life crimes. cost of jury trials.

- high cost and poor state of prisons

- lack of police headcount, expense of police salaries/benefits.

- high cost of health care & related labor. regulatory capture by licensed professionals, hospital companies, drug/equipment companies. cost of healthcare liability insurance.

- lack of regional coordination between low-cost and high-cost areas within the state

- lack of state-wide mental health and drug abuse treatment policy

- lack of money for preventative care and early intervention for new homeless - don't tackle problems till its far too late and more costly / impossible to fix
Really? Why is that? In my mind, it is tough to beat ggplot
Wikileaks was not involved, they're securely posting CIA documents.
The Crazy 810HP Rolls Royce Wraith
Auto-vectorization is hard. Very hard. E.g. even in C/C++, the compiler (e.g. GCC C/C++ or MS VC/VC++) is unable to vectorize loops unless you help it a lot, and in most cases, you end writing SIMD "intrinsics" (e.g. [1]) in order to get optimal results. From my experience, despite auto-vectorization being better than 10 years ago, still is very far for optimizing code properly without lots of tuning (e.g. you can try build any graphic processing library and see the vectorization warnings -i.e. why the vectorization was not possible-).

Ten years ago, in the SSE2/Altivec times, I thought that it would be matter of time having much smarter compilers making graphics/pixel processing code much faster, but not. So for JIT the case it can not be better, because is similar, as even taking runtime information, the auto-vectorization phase is equivalent. I would love to see smarter compilers, understanding the code, many steps over current hardwired pattern-matching based optimizations.

[1] https://software.intel.com/sites/landingpage/IntrinsicsGuide...
Lest people think The Christian Science Monitor is a religiously biased pseudoscience outlet, it isn't. In fact it is one of the best news sources available internationally if you are looking for a fact-based news outlet with excellent reporting and minimal bias.

This Reddit thread has more info: https://www.reddit.com/r/AskReddit/comments/cuun9/what_do_yo...
How do you get a job at Starbucks starting as a homeless person though? It could be a hill too high to climb out of, not only purely economically, but socially. For example, how do you convince an employer or prospective roommate to give you a chance when you're a homeless alcoholic without an address?
Gobble addresses the prep time. From their FAQ: "You can cook Gobble meals faster than you can order takeout. Your meal will go from kit to table in under 10 minutes."

In my experience with around 10 different (vegetarian) dishes from them, I've found that to be somewhat true. Most dishes only required some combination of: an oven (oven heating time not included in the "10 minutes"); a sauce pot for pasta/noodles; a 12-inch or larger saute pan; a mixing bowl.

The instructions use pipelining to achieve the advertised 10 minutes, and if you read the instructions in their entirety and execute accordingly, 10 minutes is very doable.

All ingredients except for salt, pepper and cooking oil are provided (this is probably obvious, but perhaps worth stating for people new to meal kits). The ingredients seemed to be fresh and of good quality.

The meals are reasonably tasty, except for the Indian ones, which I felt were not as good as something you could make from scratch at home or get in a restaurant.

A side-effect is that for lazy people like me, it may reduce the inertia to separate prep from cooking. Although I'd often thought about pre-cutting and freezing ingredients to cook later in the week, I found myself actually doing it after experiencing the 10-minute cook time, because my mind kept getting reminded that it's very doable.

An advantage of meal kits for a non-cook like me, is that certain condiments and sauces that I may not wish to stock, are provided in the required quantities with the meal kit. So I don't have to worry about buying a whole bottle of some sauce just for that one meal that requires it.
You are correct when it comes to beer and wine. When it comes to liquor, a drink is usually 1.5oz (which is the size of an actual shot) but bars and clubs will frequently pour 1oz and call it a shot.
Nobody has the same definition for the CTO / VPE split. If I search "CTO VP Engineering" on Google the first result is https://www.ivyexec.com/executive-insights/2015/cto-versus-v... which defines the CTO as someone in charge of a small team doing "technical exploration". At other companies that role would be something like "Head of Research".

Maybe it is time we stop using those titles. I personally saw that confusion cause serious issues at at least two companies.
At least where I live, you're not going to be able to find a restaurant with food of anywhere near the quality of what you get from Blue Apron for less than $10/person ($60/week for 3 meals, 2 servings each—often generous servings). And I don't live anywhere at all expensive.

In fact, I live in a small town in the rural Northeast, and if I want to go to a restaurant and not spend over an hour in the car, let alone the time spent sitting at the table, my choices are nowhere near as interesting and varied as what Blue Apron provides.

Maybe you live in a place where you can get to dozens of different restaurants in a very short time that have a variety of locally-sourced meals changing on a regular basis for less than $10/person, but even if so, I doubt that's the norm in American cities.

Blue Apron certainly isn't for everyone. I love cooking, so I find it a very worthwhile service, but you do need to actually enjoy doing it, because indeed, it invariably takes between 50 and 75 minutes from getting out the ingredients to putting the food on the table, and almost all of that time is active time for the one making the food.
Does that qualify it as fake news?
I understand the new Windows 10 ARM machines are fully unlocked - and are just like Windows 10 x86/x64 in every way:

https://www.theregister.co.uk/2017/05/12/microsofts_windows_...

> It's a full desktop experience which, ironically noted by Liliputing, is less locked-down than Windows 10 S, because the Win 10 on ARM can run non-Windows Store applications.

> It is, as Pulapaka says. “a full desktop experience” – not just Windows Store apps, “your existing x86 apps will run completely fine on this device.”

I speculate that "Windows RT" / Surface RT was a warning-shot to Intel, and that the Windows Store restriction was intentional as not to spook Intel too much - I don't believe anyone in the executive levels of OSG at Microsoft ever believed that Surface RT would take-off - or that the inability to run Win32 programs (provided they were recompiled for ARM) would ever fly with consumers while the device still ostensibly came with an otherwise full Windows explorer.exe desktop experience - restricted only to a modified version of Office 2013.
I want to voice an opinion that I've held in secret, I'm curious if you think that this is completely overboard...(downvotes are appropriate here, people).

While a lot of these startups might be useless Tinder clones or Uber for X, there are also startups that quite literally change the world ~for the better~ in objective ways. Don't we have a moral imperative to cater to these companies at the expense of all else? Isn't it better for the long term to ensure they have all the resources available?

Yes, some of the startups are scum money grabs, but for every cancer researching, ag developing, energy innovation startup shouldn't we extend them every benefit possible?
No, the credit claimed for the side business can only offset income from the side business, and only if your side business is incorporated (but S corporations count).
Actually, it is the right kind of incentive. If you are doing innovative work - go hire more people, because your payroll will be lighter.
Twitter hires new VP of inclusion and diversity
So, not to discredit this number, but here are some things to consider -

1 - Bots. Lots of bots.

2 - Multiple accounts. I've seen people with as many as 4 accounts, used for different purposes(friend groups).

3 - 'Facebook is the internet'. Facebook is free(ie not charged as data usage), and therefore, 'the internet', in many poor nations. I'm not actually sure if this is Facebook's doing, a carrier agreement, etc, but it exists. This accounts for what I assume are the bulk of the 'real' users.
Yeah I was going off Google for that. The closest standard in the US for a shot is 44 mL, which is close to double the UK "single measure".

https://en.wikipedia.org/wiki/Shot_glass
Toxicity isn't the only property of alcohol. Sure, drinking too much water in too little time will kill you, as will alcohol. But high doses of water are going to have relatively benign effects on your brain compared to high doses of, say, alcohol or LSD
They give a more helpful description within the paper as well.

> 1 unit contains 10 mL or 8 g of alcohol

> 14 units (UK guidance per week for men and women) is equivalent to 4 pints of high strength beer or 5 large glasses of 14% wine (see below)

> 24.5 units (US guidance for men) is equivalent to 7 pints of beer or 9 glasses of wine

So 4 pints of high strength beer is 14 "units". 5.2% is the value used, which I wouldn't consider a very high strength beer at all ;)
> only lazy people with more time than money would be interested in this.

Opportunity costs are real, people's preferences are heterogeneous, and also I'm pretty sure you're 'lazy' too – using a computer to perform all of those arithmetic calculations it's doing!
> Every city I know of does not allow those skyscrapers to have apartments for rent, it is all for offices.

Seattle, NYC, LA, Portland?
SDN DDoS Mitigation: Network Anti-Spoofing with SDN Data Plane
You can use this userscript [1] to hide most floating headers when you scroll down the page. (When you scroll up, the header is displayed again, so the site doesn't become unusable.)

[1] https://iwalton.com/wiki/#NoFixed