skysight-inc/HackerNews huggingface dataset:
I don't see a lot of people suggesting we can legislate our way out of housing prices without building more housing stock.

What I do see is a lot of what amounts to saying that "those people" should just go somewhere else. As long as that somewhere else isn't one where I have to notice their homelessness.

But yes. We have to build upwards. In cities where building vertically benefits the well-off (as in NY), and where it's profitable to do so, it happens. But note that it only generates high-end and expensive housing stock (excluding rules that require including "affordable" housing, which based on the examples I've seen seems to mean "affordable to a family making $120k/yr instead of the $500k you need to afford the market rate units in this development".)

Will adding more housing stock at the top decrease prices at the bottom via market effects? Yes and no. If the availability does trickle down, it takes a very long time.

Here in downtown Brooklyn there's a temporary glut of high-end housing added in the last 5 years. But compared to the number of people added to what was already a tight rental (and sales) market in the city 10-15 years ago, the number of units added is laughable. We're talking almost a million more people living in the city but something like 20-30,000 units (enough to house 50-100k people) having been added.

So what happens? This oversupply will likely last about 5 years. The only real effect will be 1-2 year 10-15% concessions on rent in the new rental buildings until they can fill them up. People looking for high-end rentals will be able to take 24 hours instead of 3 minutes to commit to a specific apartment after viewing it, and might be able to get it if they wait an hour or two to apply instead of contacting the management company within 5 minutes of the listing going live. In a couple years, the high end rental market will go back to its normal cut-throat self.

Maybe the gentrification of Crown Heights will be delayed by a couple years, but I doubt it. This trickle of new housing at $2500-4000 per person per month isn't nearly enough to keep up with the constantly expanding demand for units under $1200 per person per month.

The for-sale units in the crazy high-end buildings will sit vacant until enough new Chinese billionaires are minted who want to park their money outside the country, and then they'll continue to sit vacant indefinitely anyway because they're investments rather than homes. The ones in only normally high end buildings will also sit vacant for a year or so and then generate a tiny bit less profit than the developers were hoping for. But sales don't really factor into the affordable housing market here anyway. If you're having trouble affording rent, buying is unimaginable.
I guess it just depends a lot on the individual. I left my last job in large part because they were adamantly against remote work. My current job is much more flexible with Monday/Friday being in-office days (and even that is fairly flexible) and the middle of the week really being just a matter of preference. I usually work from home 1-2 days per week and I don't feel like it's a negative impact on my productivity at all- if anything I think I get a lot more done at home on the right days (decision making and mentoring seem to work better in a shared physical space with a whiteboard, but when I'm just trying to get in a feature or go through a backlog of code review requests I can get a lot more done at home).

All of that aside though, the main argument I've made in favor of remote work in the past has been that for many people and teams (in software development, I can't speak outside of my field) even if remote work does cost some productivity it's worthwhile because it vastly increases quality of life.
* http://www.musicforprogramming.net

* https://www.youtube.com/results?search_query=shpongle

* https://www.focusatwill.com
Yes, I do understand that people can take the BSD/MIT codebase and make a proprietary/closed source version. In that case you don't even see how the bug fixes are implemented in the new closed source version. So you are free to independently come up with the most obvious, efficient fix. My point is that with GPL, the implementation of the fixes/new features is right in front of you, you see it, yet you can't merge it into your GPL-incompatible codebase.

There BSD/MIT licenses don't prevent you from doing this either, though it's possible in practice it happens less. You can create not only closed-source proprietary forks of a BSD/MIT code base, but "source-available" or "shared source" proprietary forks, where the source is public but under a proprietary license that prohibits unauthorized redistribution or derivative works. There's nothing in the BSD/MIT license that requires you to keep your proprietary forks secret.
that and 10+ million N. Korean refugees crossing the border...
Look at me, I'm an "unprivileged" American. But I'm great and the system sucks.
No, I mean if your spouse only cares to keep you away from other women, but doesn't care which men you associate with.
the industry has previously responded by installing their own root certificates into the trust-store of the OS. Mobile operator supplied versions of android are a good example, ... on notebooks we got Lenovo, ... http://www.wilderssecurity.com/threads/superfish-is-not-the-...

Trusting certificates issued by CAs, companies that have no 'skin in the game' (WoSign), or are too big to fail (Symantec, Comodo, ...) won't work for what we actually want to do (securing the transport layer of critical infrastructure, all the way to sharing economy, and even online-banking).

More HSTS/HPKP?

Certificate pinning (HPKP) is a great example of "security as an after-thought". Not that it's bad (HPKP is great if you know what you're doing) but it's unpractical and can seriously brick your site. There are also several other attack vectors against HPKP: https://news.ycombinator.com/item?id=12434585

The solution isn't to bolt on more X509 on top of a broken foundation. It is on the other hand so typical of how we fix issues in engineering.
There is a motivation segment in the PEP: https://www.python.org/dev/peps/pep-0468/#motivation

I don't quite get it though.
If we had to take a GOOD course in every tool that can be used when writing software then we'd have no time to, you know, write software.

Not all people who write software are full-time developers. Not all people who use git are developers at all, come to mention it. Not all people who use git for one thing use it for everything. Not everyone can justify the time required for a course for something that might be a tiny part of their work.
With this given, why wouldn't collections.OrderedDict be deprecated as of 3.6?
> binary explosives ...

Please, what a frigging joke. Be cooped up in a small bumpy space for hours trying to create a very touchy explosive.

... hydrogen peroxide, acetone, and sulfuric acid ...
put a beaker containing the peroxide / acetone mixture into the ice water bath (Champagne bucket), and start adding the acid, drop by drop, while stirring constantly. Watch the reaction temperature carefully. The mixture will heat, and if it gets too hot, you'll end up with a weak explosive. In fact, if it gets really hot, you'll get a premature explosion possibly sufficient to kill you, but probably no one else.

After a few hours - assuming, by some miracle, that the fumes haven't overcome you or alerted passengers or the flight crew to your activities - you'll have a quantity of TATP with which to carry out your mission. Now all you need to do is dry it for an hour or two.
How you should choose your first side project
> Why all the hate? It's not like you have to use these everywhere just because they exist.

I do, because I can guarantee that some self-proclaimed web designer will use them for absolutely no reason at all.

> The fact that it's possible is good to know as one day it might be a good solution for a problem I'm facing, and then I'll be happy that it exists.

This argument is so useless. "Well maybe someone wants to shoot themselves in the foot. Nobody can come up with any examples, but maybe."

> Attracting attention to options in a demo

None of the effects are really useful for that. Apart from them being too wacky ("did something break?"), anything transitive is bad for that anyway, because what if the user gets distracted for the split-second your animation runs? Fade in some persistent element for that.

> If we restricted web browsers to what developers think we should use, we'd still be using plain green text on black terminals.

Command-line tools are popular for a reason: They get shit done, and don't distract people with useless crap.
Do you mind if I ask what size of machine in CPU/Mem?
Manchuria is close to Beijing and is a relative easy area in China for armies to travel through. It's not mountainous or particularly forested/swampy.

Japan invaded through Manchuria in WW2 so it makes sense for China to have as big a buffer zone as possible in that area.

The border between china and afghanistan is very mountainous and very far away from Beijing.
dict_keys(['c', 'd', 'e', 'b', 'a']) # random order

> random

Maybe I'm nit picky but I find the misuse of that word annoying.
My experience of CPython is that dicts are unordered but deterministic. Not random.
There's some evidence if you read Pinker's stuff that the world is becoming more peaceful so we can keep doing what we're doing.

See also

>The Decline of War -
We are experiencing one of the least discussed, yet most remarkable cultural shifts of all time: war, one of our species’ most abiding and defining social practices, is at its lowest ebb ever

https://medium.com/@angushervey/the-decline-of-war-8760f9a5b...
edit: it seems like this is exactly what OrderedDict does, I presumed it's ordered by key, like std::map (red-black tree) vs. std::unordered_map (hash table) is in C++.

No, this new dict implementation preserves insertion order, it's not ordered by value of the key.

The motivation is to preserve the order of kwargs.
I am sure there is a bit of code out there still calling the method...
>[citation needed]

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

Now where's your citation to the historical increase in violence?
All of those things and more are way easier to do with gitk and git gui.
Enterprise Software Startup DroneDeploy Closes $20M Series B Round
The Better Angels of Our Nature: Why Violence Has Declined -- Steven Pinker (ISBN: 978-0-670-02295-3)
http://waitbutwhy.com/2015/06/spectacular-video-putting-wwii...

Skip to 14:00 for the relevant part.

The number of casualties in conflicts has going down FAST in the second part of the 20th century. We are in a historical worldwide period of unprecedented peace.

The most recent aberrant point in that downward path has been the Iraq war. But even this one pales in comparisons of the horrors of the past.
That's exactly the way OrderedDict works too:

https://docs.python.org/2/library/collections.html#collectio...

> An OrderedDict is a dict that remembers the order that keys were first inserted. If a new entry overwrites an existing entry, the original insertion position is left unchanged. Deleting an entry and reinserting it will move it to the end.
> Is "energy" a metaphor?

Rather "yes" (don't use the term from physics ;-) ). I think Filligree (https://news.ycombinator.com/item?id=12461044) and cmdrfred (https://news.ycombinator.com/item?id=12461049) gave decent short descriptions. I would describe it in a lot more words with: You surely know after what kind of activities you feel really exhausted (in particular mentally, but also physically) that you just want to go to bed (or as an introvert to some silent place). These are activities that exhaust your energy. On the other hand there are activities that will give you energy (for some introverts for example intelligent conversations with close friends).

So "energy" refers to the state whether you are mentally exhausted or have enough ressources available that you would love, say, found a startup, to revolutionize the way something is done (which does not mean you are capable to do or it is a good idea - but you really would love to and mentally you are willing). See "energy" as the noun derived from the "energetic" adjective in "Jane Doe is a very energetic person".
probably worthwhile the world powers reminding themselves that policies of nuclear deterrence rely entirely on rational agents
This video has a great explanation of what a nuclear war would do to the planet and the people on it, how such a scenario might take place (in all likelihood, during peaceful times it would be entirely accidental), plus what you can do about it: https://www.youtube.com/watch?v=Ug-DJtvHFE0
Wait..That is not news worthy enough for Facebook's algorithm.
There's been a few links to this topic posted over the last day. The one with the most comments, and a link to the text in English from Aftonposten, is at https://news.ycombinator.com/item?id=12457004 .
Deprecating it won't affect that code since it's more of a flag to indicate that future use should be limited to ensure forward compatibility.
This is the problem with the notion that micro-housing is somehow going to solve the affordable housing problem. The thing that seems to attract companies to it is that they can charge close to the price of a full-size flat for something much smaller, call it "affordable", and accuse opponents of being NIMBYs and not wanting affordable housing.
It looks like the creator also created a profanity-free version - [Heck Yes Markdown](heckyesmarkdown.com) [HN Discussion](https://news.ycombinator.com/item?id=12461088)
If your hash function is random (seeded), the order will be random over the seed.
This is a well-known fact. Random link after superficial Google search:

https://ourworldindata.org/war-and-peace-after-1945/

Don't pin me down on this one. Statistics differ because they count differently. However, overall they will agree that the number of conflicts is declining.

On a side note, the number homicides is also constantly declining in most developed countries.
> How is the feeling called that you feel when you read and understand beautiful mathematical proofs?

I would call that "awe".
Because this is an implementation detail. The language spec doesn't enforce this.

The real reason they did this was because of the performance gains from the approach - the ordering is just a nice side effect. Its an idea originally from PyPy afaik.

`OrderedDict` is now just a thin wrapper around `dict`.

i.e. if you want your code to be portable among different Python implementations then you should still use `OrderedDict`.
Stable, but not in insertion order or any other order I'd call deterministic.
Oh thanks, I was mistaken. Added an edit to GP post.
How to register your Product as a Trademark
> You don't see the successful introverts, because they don't go on TV talking about their amazing life journey etc.

> Ergo, everyone associates success with extroverts.

Larry Page is known to be introvert.
Do Java generics work like that? I thought the JVM did not know about the generics as the types are erased at compile time.
For context, this question of whether vanilla dark matter models are in conflict with galactic observations has been raging for many years. (It includes both the dwarf galaxy problem mentioned in the article, and things like the "core-cusp" problem concerning the radial dark matter density distribution.) These numerical simulations are fiendishly complicated, and there's always a risk that you just keep adding new tweaks or effects until you get the results you're looking for. I'd be interested in reading a skeptical assessment from the folks on the other side of this question.
Hi. Woman here.

This is a form of abuse, and it seems she has a jealousy or insecurity problem. It is unfortunate that men aren't taught these sorts of markers in the same way as women - women are taught this is one of those red flag things. It is even more of a tragedy that it is culturally acceptable for women to be like this to a point, when we should be calling folks out for it.

I don't know what the rest of your marriage is like, it could be mostly peachy as far as I know. But this does impact your life significantly and adds to the overall issue of women not having equality at workplaces. I'd urge you to suggest counseling as a minimum.
IDM 6.26 Build 1 Full Patch Crack and Serial Number Download
If you don't have another option for funding then it's arguably in the company's interest to not do this if it increases the chance that the options expire without being exercised. That way they're giving up even less equity.

(ignoring second-order considerations, etc)
But China is a strategic nuclear power - the idea that a unified Korea would risk violating their territorial integrity is far-fetched, they are far more likely to be attacked by the North out of desperation!
Epiphany, maybe? https://en.wikipedia.org/wiki/Epiphany_(feeling)
is geocities back?
That's what I've been saying too (open offices are cheaper), but on the other hand, software developers aren't cheap, are in high demand, etc. Which makes me wonder: How come developers don't stand on their stripes more? Vote with their feet? And why aren't companies doing more like offering perks like private offices to top talents? I'd argue that giving a developer a few m2 more space is a lot cheaper than the developer's wage
Each node is something like this:

2x Intel Broadwell E5-2630 v4 (10 core, 2.40 GHz)
128GB - 4X DDR4 32G ECC Registered 2133MHz DIMM
6 x 2.5" 240GB Intel SSD 540
x1 S2S 1G LAN/B W/OCP BRKT ASSY(1IN1)
x1 Solarflare 10G SFP+ SFN7002 PCIe card
TPM Module
Dual Power Supply 1100W each (x2 / chassis)

We have this stuff built by Quanta for us.
Jeremy Corbyn has stated that his policy is for the UK to leave NATO and that this will bring about World Peace.
Why no SSL on the login / registration pages ?
On the other hand all of these options are well documented in the git book and manual, so it's quite easy to check the details you're not sure about (and learn something new in the process).
Someone has an idea, someone else has the money
Facebook slammed for censoring iconic Vietnam War photo
It sounds like the two of you are in violent agreement. If it wasn't hard, people with your level of experience wouldn't be needed to get it right.

Nobody here are saying - as far as I can tell - that they shouldn't have done better. But that'd require them to actually have people with sufficient experience and the budgets and buy-in.
Obviously it was sarcasm. If you read my comment history, you would notice that I keep railing against FB every chance I get.
The one that looks classy and not too distracting is Focus. The one I would consider using someday on a normal website but would probably not use the library for that.
Are you browsing with a toaster ?
I consider myself an introvert too, but with the years, with exposure and with experience, it has become easier. I don't know whether you could consider it a personality shift or not, but, it does get easier. It just takes a long time. And that's an anecdote, it probably doesn't work like that for everyone.

Still don't like going out in the weekends :p.
Can somebody who knows about this tell me how much of the novelty in this is CS and how much physics? For example in graphics all the physics of light is well understood - it's just infeasible to compute - so all advances are in CS and how to sample better. Is this the case here? Or is it adding new models?
My Side of Mountain
JVM doesn't know about generic types at the runtime. There's no specialization of HashMaps, it's just arrays of points to objects all around.

With project Valhalla: https://en.wikipedia.org/wiki/Project_Valhalla_(Java_languag... there's been talk about specialization for value types.
Interesting, thanks for the input
Today is the Foundation Day of DPRK. Probably their version of fireworks.
I had considered that but since this is a product that indexes source code a lot of companies want to host on premise.
Ok, example. You've watched movies where a dude looks at a woman sitting alone or talked to her, and her boyfriend/spouse shows up. Sometimes he gets angry at the random dude, sometimes gets angry at here for talking to him.

Same sort of thing except reverse the roles. It is still a control mechanism, and still wrong no matter which way it goes.

I've had women get angry at me because I'm talking to "their" man, and some will get angry at men for simply looking at a pretty woman or talking to any others.

In the workplace, this means that treating women the same way as men - building rapport, having lunch, etc - winds up causing problems at home.
The biological psychiatry standpoint is increasingly that chronic pain is misperception on the part of the brain. Antidepressants help.
If they're not in upstream but they are in another branch, it's still dangerous.
With these kind of CSS micro-libraries, I usually make a SASS version with placeholders.

e.g.

%focus { ... }
%boing { ... }

.some-label { @extends %focus; }
lots of these are unnecessarily complicated:

> Oh shit, I accidentally committed something to master that should have been on a brand new branch!

# disappear the last commit and all changes from it
git reset --hard HEAD^
# make a new branch using the last commit
git checkout -b new-branch HEAD@{1}

> Oh shit, I accidentally committed to the wrong branch!

first, you don't need to git-add before and after stash, stash will save the working directory and the index (as documented in the DESCRIPTION of git-stash(1)). but for a more logical way:

# disappear the last commit and all changes from it
git reset --hard HEAD^
# get onto the new branch
git checkout new-branch
# grab the stuff from what was on the old branch
git cherry-pick old-branch@{1}

> Oh shit, I tried to run a diff but nothing happened?!

git diff --cached

recommended reading for intermediate git users: the DESCRIPTIONs of all of these commands (git-reset(1), git-checkout(1), git-cherry-pick(1), git-diff(1)), and the entirety of gitrevisions(7).
The end for this could come with voluntary incorporation of North Korea as a Chinese new province.
If the United States' military posture was not so depleted at this point, I would say that it is time to seriously consider a conventional first strike.

Right now, North Korea cannot deliver a nuclear payload anywhere. It's one thing to create a nuclear test device, but it's another matter entirely to miniaturize it for delivery.

However, if allowed to progress unimpeded, North Korea will soon have missile technology that can reach Japan consistently. Around the same time, their miniaturization project will likely be complete. At that point, other nations will lose the option of intervention.

North Korea's government is simply... unstable, in both senses of the word. There is simply no other way to put it. The more closely one examines the country, the more disturbing the picture becomes.

They cannot be allowed to have a permanent nuclear deterrent.
That is perfectly acceptable. Well, you know, some folks will look down on you for the antisocial bit of it (which is a shame, some people relish their alone time), but if you are doing it equally, no real harm done either.
That is correct. I do not anticipate much feedback from others.
Depends if I'm at work or not.
A fluent command processing system for the JVM, in the spirit of Posix
The trick there is to become invaluable; to be a specialist in a certain area (like security, database management, native mobile development, data science, AI, etc) and make yourself in demand. If you keep talking yourself down by saying "Yeah I know such-and-such but it doesn't matter because muh personality", then you will keep having no chance at promotion.

Actually in the IT world, it's better to switch jobs than wait (or ask) for promotion.

TL;DR: Be confident, know what you know, know what an employer needs, sell that.
Facebook Responds to Criticism of Their Censorship by Censoring the Criticism