skysight-inc/HackerNews huggingface dataset:
Man, I feel like the only one here who doesn't really like static types. I like dynamic typing just fine (it's crazy, I know: it must be the lisp influence). And if I want static typing, TS feels a bit intrusive. Flow is much better in this respect.

I also don't think JS is the root of all evil, and I use Emacs rather than an IDE (although we do have really good integration with regular JS, in the form of the famous js2-mode, and flycheck's linter integration). I, mean, do you really need your IDE checking your types as you type? It's not that slow, and us Emacs users have M-x compile, so we can run our code, and than jump back to the problematic line when an error occurs, and I know IDEs have similar functionality.

Don't get me wrong: static typing can be good at times, and option static typing and compile-time type analysis are useful tools, and I'm glad TS, Flow, and the like exist. But I always see a flock of comments saying that they couldn't possible live without static types, and thanking TS for taking them out of the hell of dynamism, and wishing there was something similar in Ruby/Python/whatever.

I don't really get that.
> Nature actively tries to kill you and you spend a lot of your time just dealing with that.

Hahahaha that's what makes it awesome! :D

I'm presently adjusting to the complete lack of decent internet speeds. That has been my single biggest issue with moving to the country. As soon as I figure out alternate methods to delivering my work, I'll be a much happier person.
They mention HAProxy, but it doesn't look like it's based on it.
I'm an American, so take what I say with a grain of salt... but maybe part of it is that Canada has a small population but a large land area.

There's basically four major cities a Millenial would consider: Vancouver, Toronto, Monteal, and Ottawa. (And I've heard the latter crapped on even by Canadians.)

Montreal is lovely, but if you're an Anglophone.

Compare with the United States: New York is a large city, but I could live in Philadelphia if I wanted to go slightly cheaper. If Seattle is to expensive, there's Portland.

It seems to me that basically everyone who wants to live in the "big city" seems to either cram themselves into Vancouver or Toronto. (Ottawa didn't seem to have the level of bustle I'd expect for a capital compared to say, London or DC)

So basically, the TL;DR is people in NYC or SF choose to be there. You basically pick a climate, then pick a price range.
Amazon Prints
Yahoo's announcement (link changed since some of these comments were posted) says the "vast majority" used bcrypt.

I've been getting an "Unexpected sign-in attempt" email from Yahoo every day for the last couple of weeks, but I don't see any evidence that the attempts were successful.
That was submitted two days ago, not last week.
Do any of the infocom games ever come up in /r/TheMakingOfGames? Looking at the page now, none happen to be there but just wondering if they have in the past.
And even very slight preferences for living near people who look like you can lead to intense segregation:

http://mindyourdecisions.com/blog/2008/10/28/game-theory-and...
Or perhaps wasn't stolen, during the year that may or may not have been 2014. Sorry, ALLEGEDLY 2014.
According to this great series on the making of Crash Bandicoot¹, Spyro used walls to reduce the number of polygons visible concurrently.

¹ http://all-things-andy-gavin.com/2011/02/02/making-crash-ban...
Relationship-building-fast-success-network-marketing
I think it depends on the discriminatory value of the "profile". If the profile is "male", I don't think it's OK to stop and search every male found, because it's just not enough of an indicator by itself. If the profile on the other hand is "person wearing a neon-green jacket with pictures of lolcats", it seems perfectly fine to use that as the sole indicator needed to stop someone who was to be sighted wearing such a thing.
uBlock orgin
No, that idea was crazy enough. :) The collision detection system and camera control code were also insane. Mark Cerny helped me make the collision code fast enough. Very clever assembly language tricks there, and we used 2K of "scratchpad" static RAM built in to the PS1 (for some reason) to make it fast enough.
Unless I misunderstood various explanations of the sub-prime crisis, this is a Mount Olympus sized characterization is it not? "Favorable terms" doesn't implicitly mean a repeat of the multivariate conditions that caused the housing collapse, just as the housing collapse can't be strictly pinned on "favorable" mortgages.

Welcome to correction here from a more informed perspective.
Or maybe racism falsely informs that risk model? If that's the case then one can likely deploy capital like its low-risk to "higher-risk" (and thus higher APR) loans. Of course competition will eventually destroy this model, but initially it could be profitable.
neuralnetworksanddeeplearning.com is a free online book by Michael Nielsen. I'm reading it right now, and it's wonderful. In the first chapter, he walks you through implementing a basic neural network in Python that works with the MNIST data and uses no libraries (except numpy). He's really good at explaining a lot of the math for a more programmer-ish audience that might not have studied multivariate calculus.
My two cents? Because they have based their entire business and clientele around an open source piece of technology. Their contributions back to the community which gave them the core of their company feels... anemic.

Even if their entire stack was open sourced, GitHub would still be a profitable company simply because it's GitHub. They're hosting hundreds of thousands of repos on bare metal and providing tools around those repos allowing for the maintenance of a community - that's why they are making money; not because of some secret sauce in the code. Otherwise, GitLabs would have eaten their lunch by now.

I could definitely be wrong, and they do have 8ish pages of projects they offer up themselves, but so many are just meaningless dumps of one-off projects.
If you're so worried about "giving up" your privacy, why do you have a Facebook account to begin with?
Where would you place the nostrils?
So, is this just brute-forcing API calls to create a training set?

Is this only for supervised learning?

Also, couldn't this be done offline, pseudo-legitimately, using your API call log data later on? I don't see how that can be mitigated.
The minerals themselves are completely irrelevant in taste. They're extremely trace.

Once dissolved, the salt is completely undifferentiatable. The only difference is that if sprinkled on top of food, the size/shape of the salt will change how strong the salt taste is on the tongue and how long it lasts,
To ensure that that is actually the case, police department should be held financially liable for any damaged caused during searches and seizures.
All you need for self-segregation to occur is that individuals don't want to be a small minority in their local area.

As people exercise that preference by moving around, they will create enclaves where certain groups dominate.

http://nifty.stanford.edu/2014/mccown-schelling-model-segreg...

http://www.citylab.com/design/2014/12/an-immersive-game-show...
Hey, I don't see TypeScript as being behind on control flow analysis or anything like that.

If you're referring to differences in the way TypeScript narrow types based on control flow analysis, we don't see one as being "better" than the other, but TypeScript takes a more optimistic approach to avoid putting users in frustrating scenarios where the analysis is too limited. Most users tend to prefer this to the slightly more rigid approach used in Flow, so we felt we made an ideal choice there.

If you have any specific thoughts or ideas, feel free to leave us feedback on our issue tracker.
When I was studying computer science in an American university 10 years ago, white people were (massively) underrepresented. So you think it would be "ok" for me to do an "ask a white computer science major"? Of course, I already know the answer.
Agreed.

Considering the amazing value Github provides for the IT world, I really don't care if they release their code.

Isn't it enought that they have revolutionized development workflows, project hosting and made contributing and collaborating so much easiert?

(to be clear, GH wasn't the first site of it's kind, but the network effect of having one site that that basically every developer uses daily -and be it just via one of the documentation site on GH pages- really was revolutionary)
The Transparency Economy [pdf]
this product seems interesting, especially for a small company with high demands (scale out), however it sucks that you don't write any prices for your cloud product on your page.
I know that a lot of these prices will be created with your customers but still If I just want to use it in the cloud via my AWS Account it would be cool to have PPM shown anywhere. something like 1€ + AWS Node for a cluster of X.
Having a price upfront for Cloud products is actually why we my company is using the cloud. It's just simple to get started without any sales person. Just click, deploy, automate.
Pretty cool. Subscribed x 2
That's essentially the idea behind Protobuf and friends, is it not? It's not quite as optimized because there's a bounds check, but that's about it (and in many languages you can't get around a NULL or bounds check anyway, and just rely on the branch predictor).
I have often wondered if it would just better to get straight to the point and outright bribe journalists. Most are making a pittance and a few thousand dollars in cash handed under the table should make any startup story come out like it is the new Uber.
I know to just avoid most news site except for maybe 5 or 10 that don't have terrible ads (5-10 isn't that hard to just remember). Mobile ads that redirect to the store are annoying and there's no great way to deal with them but I don't seem to run into those much where I go (maybe happens to me twice a week). Other than those the only real concern is drive-by exploits from legitimate ad networks, which doesn't seem to happen very often in the wild.
I whole-heartedly agree with your points. The ability to transform programs programmatically is extremely powerful. But, FWIW, I tend to see that as a form of generic programming.

When I think DSL I think regular expressions (especially PCREs) or SQL, where the syntax is tailored-designed for the specific task at hand.

The problem with in-program transformations is that you're still largely bound to the syntax of the host language. That's particularly the case with s-expression. That binding has amazing benefits (e.g. when auto-transforming programs into resumable state machines) but also puts constraints on the language syntax you can employ. That's not a problem when you're dealing with experienced engineers and devising technical solutions, but people tend to stay away from DSLs generally because they fear the burden imposed on others (including their future selves) having to learn a new language, how to use it, and how it integrates within a larger framework. You minimize that burden and make DSLs more cost-effective by maximizing the expressiveness of the DSL in the context of its purpose, and minimize switching costs by making the delineation between the host language and the DSL clear and obvious.

So, for example, in concrete terms you'd generally implement arithmetic expressions using infix notation. You can sorta implement infix notation in LISP, but you still have the s-expression baggage (such as it is; it's obviously not baggage from the expert's standpoint), which among other things makes it difficult to know where the host language ends and the DSL begins.

Lua had a head start on most popular languages with its LPeg PEG parser, which makes it trivial to parse custom DSLs into ASTs. For all the limitations of PEGs[1], they're just amazingly powerful. But to drive home my previous point, while expert LPeg users use the Snowball-inspired pattern where you instantiate PEG terms as Lua objects and build grammars using Lua's arithmetic operators (with operator overloading "a * b" means concatenation instead of multiplication, and "a^1" means repeat 1 or more times), newbies tends to prefer the specialized syntax which uses a notation similar to the original PEG paper and to typical regular expression syntax. (LPeg includes a small module to parse and compile that notation.)

Converting the AST into useable code is another matter, and that's an area where LISP shines for sure. And now that I think about it, the best of both worlds might be a PEG parser in LISP. But I'm completely ashamed to say I haven't use LISP or LISP derivatives.

[1] Yes, implementing left-recursion can be taxing using a PEG. But the syntax is so intuitive and powerful that the alternatives just can't replace it. Regular expressions are limited, too, but they'll never replace PEGs (or anything more sophisticated) because their expressiveness is just too powerful and cost-effective within certain domains. Instead we supplement regular expressions rather than replace them; and if PEGs continue catching on I expect PEGs to be supplemented rather than replaced.
Other inventions that have taken 500 years are not comparable: We're now 7bn people whereas the total number of people since the beginning of Earth is ~100bn. That means research can advance as much in 1 generation as it advanced in a thousand years, and it's accelerated by 1/a much greater proportion of people who can do research full time compared to <1% at the time of Da Vinci, and 2/greater access to better tools.
If the village cannot survive without taxes and without a subsidized ferry then I think the answer is clearly to allow the village to disband. You'd no longer need to force other canadian taxpayers to subsidise island residences lifestyles.
I feel so old.
I remember KDE beta, before 1.0.
At the time, a graphical file manager under Linux was revolutionary.
https://en.m.wikipedia.org/wiki/K_Desktop_Environment_1
>All you need for self-segregation to occur is that individuals don't want to be a small minority in their local area.

If that was the case (or enough), we wouldn't have this:

https://en.wikipedia.org/wiki/Racial_steering

and this:

https://en.wikipedia.org/wiki/Housing_segregation_in_the_Uni...

I don't think many blacks care of being a "small minority" on a posh white neighborhood...
No. They do what you do: Leave the site and go somewhere else.
The word "probability" is right there in the term. I don't think you're going to find a lot of experts that will look a the data on how likely residential IP addresses are to correspond to actions at their addresses and say that the correlation is weak.
It's lawyer talk. They don't want to say anything definitively in case they have to walk it back.
What countries/cities worldwide are the least racially segregated?
Could you explain what "baking" means in computer graphics?

I spent a few minutes googling, and all I've learned so far is that:

- there isn't "baking", there's "texture baking", "light baking", and many other "<insert noun here> baking"

- it seems to mean any kind of precomputing stuff

- apparently the term was coined by Pixar in some paper
Ask HN: Python: Procedural vs. Object-Oriented – what factors matter?
Having never worked as a programmer in my day job, I'm wondering when to write Python from an object-oriented paradigm vs. just procedural.

Case in point: https://github.com/dhruvkar/stic

I wrote a script to generate my static site. It's all functions, no classes. Looking at other, similar sized, site generator scripts, almost all have classes (e.g. [0]).

What factors matter when trying to decide which is right for the situation?

[0]: https://github.com/cbednarski/icecake
Assuming a simplistic model where households swap locations (without handling population growth and new housing), a black household would have to move for every white household that moves.
> How do you declare methods on non-struct types? Or are you disallowing defining your own non-struct types?

It will be allowed, through type opening (which isn't implemented yet). It's mentioned in the intro, I called it "structure opening" but actually it will work on any non-builtin named type.

I'm not sure how the syntax will look like yet, but say that you have a struct:

struct A:
func MethodA():
pass

Then you will be able to open it and add new methods to it, it could look like this:

open A:
func MethodB():
pass

> How are the generics implemented? The general tone seems to suggest that you do naive template expansion, but the section about when makes it seem that you are using interface{} and type-assertions in the generated code.

No, it's closer to template expansion, "when" is "executed" (for lack of a better word) during compilation. Inactive "when" branches are ignored by the code generator (and type checker, thus they can contain code that's invalid for given instantiation). There's no type-switch in the resulting Go code.

> How is the overloading of make handled (assuming it's actually just implemented with the existing generic mechanisms)?

Right now it's not handled at all. I don't want to add default argument values to the language, so, unless I come up with something better, I'm afraid that there will need to be more than one "make" function, each named differently.

Thanks for your feedback! I'm well aware that the chances of Have becoming popular are tiny, but I'm having lots of fun working on it anyway.
The de facto excuse to use when you get hacked these days. Who could possibly defend against an entire nation? And it's incredibly easy to "prove" that some Russian IP accessed your system at some point, therefore Putin is directly involved and no amount of security would've prevented him from getting in.
Another Emacs JS dev here. I find Emacs + Tern works very well for me.
There are such vendors for Postgres too.
Thanks for the link to the book, it looks like an excellent read. I'll be digging into that tonight.

Yes, the show points out exactly what you say. There was an increase in large scale, industrial fishing using huge trawling boats that quickly depleted the resources.

It seems this is an ongoing theme - as humans we just think natural resources will never run out.
I'd seriously be fine with that. I would not mind giving up all social services, especially not if I got a cashback. That said, I would expect this to come with 'no taxation in the future' as well. That said, I am not everybody.
Is school funding distributed in such a small district that tax revenue in the district itself affects the school budget?
When a tool dictates how and where its human owner is allowed to use it, that's too dystopian for me to support.
Yahoo Says Information on at Least 500M User Accounts Was Stolen
I hear you. Panama and Belize are poor man's tax havens if you can work remotely with a foreign source of income. I live in Panama. I haven't seen a homeless person since leaving SF.
I agree with the reasoning behind this description, but would like to add a couple points:

* Junior developer - Will produce some value with guidance, probably not much if left alone. Code will be terrible if left alone.

* Intermediate developer - Will produce value if left alone, but will write code in a way to just "make it work"

* Senior developer - Will produce value if left alone, but will write code considering the long term implications of whats been done. Is it maintanable? Is it easy to read? Is it easy to extend?
Originally from Canada, now in the USA. I've noticed palpable distrust and hatred on both sides of the street. Its not just that whites are racist against blacks, its the total breakdown of trust on both sides of the coin, leading to social exclusion. Just as a black person may have trouble breaking into a white man's only club, a white person would have no possibility of entering black only spheres w/o experiencing racism as well. IMO the only solution is deeply intentional integration such that all classes and colors begin to experience all aspects of life together, ultimately including marriage and child birth. Until we see "them" as "us" there will be allegiances.
Not necessarily. It's possible for individuals to not want to be a small minority in their local area and for real estate brokers to steer them away from the area. There's no rule against overkill.
Sometimes the Noise Is Signals, Too
> We have confirmed that a copy of certain user account information was stolen from the company’s network in late 2014 by what it believes is a state-sponsored actor.

GCHQ? Although GCHQ seems to have hacked them even earlier than that.

https://www.theguardian.com/world/2014/feb/27/gchq-nsa-webca...
>and is absolutely incorrect for New York City

NYC is 14 million people -- bigger than lots of whole countries. There are tens of states smaller than it.

Think instead of this trend in NYC as divided into boroughs and neighbourhoods. How many blacks with 5th avenue apartments overlooking the park?
> user account information was stolen from the company’s network in late 2014

The fact that it's taken two years for a statement to be made is horrific. Now I'm not sure if it took them this long to find out that this happened, or if they decided to keep their lips sealed until now, but either way it looks terrible for their company. I'm sure their valuation is going to take a hit for this, and I hope no one has been harmed as a result of this breach.
"Success" is meaningless without goals to be successful at, so...
Google reviews for Harold N. Bornstein, MD. D. Trump's doctor
do you even have this leak from yahoo loaded? where did you get it from?
Racial steering could simply be the result of real estate agents recognizing the tendencies of people's preferences and prioritizing the showing of units that are the likeliest to be a good fit.
We have a few links to our pricing calculator in various places, but we'll work to do a better job surfacing. You can find the pricing at: https://console.citusdata.com/pricing
I've used Middleman in the past, but I actually just switched to Jekyll for my personal single page website.

I found Jekyll to work very well out of box. All of my content is in a markdown file, with styling broken out to layout HTML and CSS.

IMO, I find the community around Jekyll, along with the understandability of Ruby to outweigh using a simpler solution.
Possible yes. The case? I doubt.
Grow your small business social media through influencers
I'm not arguing that overt discrimination doesn't occur or that it doesn't matter, just that as long as people don't like being a local minority, eliminating explicit discrimination will not be sufficient to integrate neighborhoods.

At that point, you would need to something like the state to force people to mix.

> I don't think many blacks care of being a "small minority" on a posh white neighborhood...

I respectfully disagree. I'm Chinese-American, grew up in the US, but still see definite advantages to living where there are other Asians: better access to food that you grew up with, a doctor who might be more familiar with your genetics, not being the only person in the room who looks different, better access to Chinese school if you want to send your kids there, etc.

My college roommate was black and we went to school in a town that was >95% white (besides the student population). There wasn't a single stylist in town who knew how to cut black people's hair properly, so a few entrepreneurial black students would actually go around cutting their fellow students' hair on campus, like they would show up at your door and cut your hair in the dorm bathroom. They were in such high demand that sometimes it would take a week or two before you could get on their schedule.

It's these sort of minor annoyances that people do take into account when deciding where to live. Constantly feeling like your own needs and preferences are out of the norm can be a stressful experience, even if nobody is being overtly racist.

Would I necessarily mind living in 90%+ white Middle America? Probably not, but it would not be my first choice, and all that's necessary is for a slight preference to exist.