skysight-inc/HackerNews huggingface dataset:
People want to live in SF, NYC, DC, LA, Boston. They don't want to live in Detroit.

Amazon is creating 25,000 jobs each in DC and NYC. Google is doubling its already large presence in NYC to an additional 8,000 or so people.

The real issue is simply that of 1) zoning density restrictions that benefit wealthy landlords like President Trump, 2) overuse of historic landmark status, 3) overregulation, 4) firms such as AirBnb which effectively encourages taking apartments off the market for use for Airbnb, and 5) illegal aliens: NYC has an estimated 500,000+ illegal aliens.

Democrats claim to hate Trump, but the reality is that Trump is only as wealthy as he is because of Democratic city councils in NYC, SF, DC, Boston, LA who restrict zoning density at the behest of wealthy landlords and their campaign donations.

In 2014, NYC only built 20,000 housing units for about 90,000 for all of California, meanwhile in Tokyo alone, 140,000 housing units were built. The reason is that the Japanese federal government has laws against zoning density restrictions which benefit wealthy landlords such as President Trump.

The housing shortages in the US is a simple market issue created by politics.
Before I buy that bridge, I'd want to you to be a lot more explicit about which parts of government, which parts of the media and on which issues. I haven't seen most of the media notably pro-Trump for example, to which I've no doubt you will say "ah yes, well Trump isn't the true government", or some-such.
Yes!
This brings to mind Donald Knuth: "Premature optimization is the root of all evil."
> Finger-printing is not PII

I didn’t say it was. The original conversation wasn’t about PII it was about anonymising. Fingerprints defeat anonymisation.

I reckon in practice with for example an Amazon sales log with names removed and my public Twitter feed you could de-anonymise me with a high degree of certainty.
Having read (and enjoyed) that trilogy, I'm not making the connection. Which part?
Oh, I see what you're saying. Yes, possibly, no idea. Renaissance Capital is also in the business of providing liquidity to the founders of companies so extra confusing.
OkCupid | New York, NY | multiple roles | FULL TIME | ONSITE | VISA

iOS Engineer, Backend Engineer, Product Manager, Data Analyst

Statistically speaking, odds are that someone you know has found a date on OkCupid (seriously, just ask around). And that doesn’t happen by chance. We’re dedicated to “connecting” people, and we work hard to make OkCupid the irreverent, yet reliable service you’ve come to know.

https://okcupid.com/careers
"my family is decidedly middle-class"

Why are you so sure? What are the numbers? It's possible you're in a middle income bracket within a rich region, but if you're shopping at Apple and Williams Sonoma on the regular, I'd guess that puts you in the top 20%. I guess we have to define middle class too...maybe the 25%-75% household income bracket?
Location: Santo Domingo, Dominican Republic (UTC-4)

Remote: Yes

Technologies: Javascript (ES6+), React, Angular 1 & 2+, Android, Java (8+), NodeJS, Play Framework, JAX-RS

StackOverflow: https://stackoverflow.com/users/1525835/pedrohidalgo

My Online CV: http://pedrohidalgo.me/

Medium: https://medium.com/@pedroantoniohidalgo

Email: pedroantoniohidalgo at gmail

Hi, My name is Pedro Hidalgo and I am a Full Stack Software Developer with 9+ years of experience, 2+ of the working as a Freelancer.

Cheers,
What you should learn to become a Master Yoda in Java
That feels like a question of decision making vs execution. I think most people would prefer we don’t let machines choose who to kill. We are probably ok with AI guided projectiles towards selected targets.
Filed in the US (a heavily litigious society) against what was recently the worlds largest company (so right or wrong if they lose they can definitely pay)? I'm shocked that they found only 60 groups who could be both cynical and litigious :P Put yourself in their shoes.
That bugged me, too -- if your entire article is about using a particular tool, then the reason for using that tool should be rock solid.

I found the linked article [1] much more helpful in explaining procedural macros, even though it didn't offer many reasons to use them (other than linking to Serde etc.).

[1] https://blog.rust-lang.org/2018/12/21/Procedural-Macros-in-R...
This is in good fun. What is wrong? I mean the original post is not really a Scientific Journal article. It was posted for fun. So lets have fun once in a while.
If you ever had to do a large refactoring project, I would predict that you either:

1. Had great typing
2. Had very comprehensive automated (unit) testing
3. Had a very difficult time

If you are tremendously diligent in writing tests for everything, the additional benefit of typing (in language where it's optional) is lower. The biggest advantage that typing offers in those scenarios is that there's a large amount of tests that you no longer need to write.

Ultimately with static typing and testing you test for the contract of your code and static typing is much faster.

If you are just thinking of adding typescript to an existing javascript application, this benefit will not be immediately obvious. Using typescript will over time change how you write code, and when you get to that point it will be better, I guarantee it.
Does the "PewDiePie hack", done via UPnP, have anything whatsoever to do with the Chromecast deauth bug, which, as far as I can tell, requires being on the same WiFi as the Chromecast? This article, and some others I have read seem to conflate the two. None go into details of what the UPnP bug actually is.

Routers seem to be allowing access to the Chromecast from outside the network, which seems like a router bug, not a Chromecast bug. Is there something that Chromecast is doing with UPnP to turn this on?
It is true that there is at best very little evidence that code gets better. (Some studies found very, very small positive effects, others found none, some went the other way).

However, the documentation effect is well-supported, and also something I find to be true anecdotally: if you have a library or code-base that you need to figure out, the types really help.

On the other hand, it is unclear whether very large software systems such as the web would be possible as statically typed systems.
Our local mall has lost most of the bigger stores, anchored by a Sears and JC Penny. McDonald’s, subway, and Taco Bell have left the food court.

It almost looks like a flea market inside. Tattoo shops, stands that sell gold by the inch and cheap phone cases, bootleg t-shirt vendors, nail salons, there’s even what’s basically a convienence store.

Cheap rents sound good, but they bring in low-end retailers that don’t stick around and sell gray market product.
Show HN: Server Hunter
Prettier doesn't resolve my primary issue with excessive linting rules.

The way I see it, there are three kinds of syntax linting rules:

1) Potential bugs. These are where a syntax will technically work, but makes it easy for an unintended bug to creep in. Most everyone agrees that these are bad. (There are a few arguments about what qualifies, but this is nonetheless a less-argued-about category.

2) Purely stylistic. This is where Prettier shines, because everyone wants the "more readable" option - where "readable" means "more familiar". Prettier allows you to write your preferred style, though of course anything you READ will be in the defined style (absent two-way conversion).

3) Expressiveness. This is where you're formatting your code to communicate. While Perl is notorious for this - the advocates love it because well-written code is easy to follow and maintain and the detractors hate it because just because you CAN write clearly in it, the skill to do so is rarely developed and the result is near-gibberish, even from skilled coders - like a story that has every sentence written by a different person. Java is the reverse - the advocates love it because the code tends to be very uniform and the detractors hate it because it's universally verbose and unclear.

That last category is why I'm leery of excessive linting. If I'm dealing with code that changes hands often, a Java style makes sense - newspapers written for a low but common reading level, even if the reader is capable of much more nuance. In this scenario nuance would risk being ignored, or worse, being mis-applied, which means the result would be misleading. If I'm dealing with code that is owned by a team that has routine staffing changes but no complete upsets, nuance has a real benefit - reading code is faster and more accurate/informative, with the result of fewer bugs (citation needed).

But saying "It's okay to use Prettier and stop arguing about linting" dismisses the nuanced case. It carries the assumption that linting rules - any rules - are automatically valuable regardless of the choices made, and if you don't like it than write what you like and just use Prettier.

Linting rules (and linting arguments) exist for a reason - these are LANGUAGES that we are using to communicate - and as much as I'm tired of the arguments too, until we honestly figure out how to communicate well, ignoring the arguments doesn't help.
Seems to me, then, that this law punishes the poor who may want easy access to a specific breed, while still allowing the wealthy to do whatever they want. That strikes me as regressive.
I think this is just a badly edited sentence. 011 is the prefix to dial international numbers from North America, so they probably meant "dial 9 to reach an outside line in Houston, then 011 for international".
One Year in San Francisco as a Software Engineer
I figured none of this out. I just read Michael Pillsbury’s new book. He was a diplomat in the Nixon administration and has since felt that a lot of mistakes were made.
European here. Fascinated to find out why anyone - with our huge issues of nations with completely different values sharing the same currency, Islamic terrorism, and both a harder left and a harder right than the US - thinks we have better governance.
Show HN: Ryeboard 0.9 – Simple whiteboards with Superpowers
Does anybody know if there's been a keyboard with dual trackpoints, analogous to dual joysticks on game controllers? I'm almost certain this is whats required for precision mousing.

A software controller might look like this: one nub would move a modest sized circle (playing the roll of the hand) quickly around the screen, while the other would make precision movements within that region (playing the roll of fingers), snapping to clickable regions.
It is a discussion that has gone on forever in the industry without a conclusion.

Certainly a strongly typed language can give better performance. As a Pythoner the thing I like the best about optional types is better completion in the IDE.

I think we've "agreed to disagree" on this issue so there are "scripting languages" with less explict typing and "systems programming languages" with more explicit typing. In fact, one view of the optimal environment for applications work is to combine a scripting and a systems language; say Python and C or Clojure and Java.
> Thing is, Objective-C was the official language on iOS, and yes they did release C++ support, it is called Objective-C++ and exists since NeXTSTEP days.

I am well aware, I have used Objective-C++ myself, but it's irrelevant. No, you cannot write iOS apps completely in C++. you still have to use Objective-C or Swift when dealing with UI components.

Further, Objective-C is not "just" a programming language, in this case. All of Apple's native frameworks are very strongly influenced by it. They allow you to do things that wouldn't be possible in other languages.

Obviously, it's possible to translate that experience to something else (see Swift), but it's an entirely different experience. Worse, in my opinion.

The same is true of Flutter and Dart. A lot of Flutter's architectural decisions are tied closely to the strengths (and weaknesses) of Dart. It would not make sense to switch to a different implementation language at this point.
Can't make up a set of rules, and breeders that don't respect them don't get to send their pets to Californian stores?

Or put it differently: force pet stores in California to sell only pets that were treated humanly.
Seems unlikely. Events where metal music is played generally have lower crime than other forms of popular music.

My evidence for this was the general lack of interest from the London police at metal events, although it seems[1] that could be a way to measure race without asking — the metal scene is overwhelmingly white and also more middle class.

[1] https://www.theguardian.com/commentisfree/2012/jan/10/police...
Easily browse over 13,000+ virtual and dedicated servers offered by hundreds of hosting providers to find your perfect server at the lowest price available.
ahh nice, didn't know that. learned something new today.
For wind and solar, the following sites are eye-opening

https://globalwindatlas.info/

https://globalsolaratlas.info/

Its very likely the first metro area in US to live off Renewables is going to be Dallas-Ft.Worth. Of course, Austin is close too.. but all those wind farms are closer to Big D than Austin.
Scrubbing Carbon from the Sky
oops, s/eorjsy/works. That's what I get for typing on my phone in bed at night...
I can’t tell about Italy. But eg in Germany the air would be quite thin if one looks for a software position above 80k€ or even 100k€ (yes, there might be enough options in the 50k€ range).

Wouldn’t have expected italy to be much different
Additionally, it sounds like shelters have to be a gobetween, so can't just be a pet store and say, "oh i found a bunch of dogs out back and rescued them and they are for sale."
>Lots of disabled Americans ride around on scooters (4-wheeled motorized carts).

I believed we were talking about the razor scooters/scoot-share services, which are too finicky for people with mobility issues to be able to use on bumpy streets.

The types of scooters you're talking about basically use the same infrastructure as wheelchairs. So if you're pedestrian friendly and have inclusive urban design (like curb-cuts) that won't really be a big deal.
Actually that not true. You are reducing my logic to an absurd level.

A static price is not a prevention, but a disincentivization. Enabling people to do something they are otherwise economically incapable of doing is how we got the 2008 recession. Granted this is a whole different level, but the point is the same. A functioning economy reflects the value, not the means. And as a result, some are less able than others. A price point that makes it difficult for someone to afford a pet will (presumably) make them think twice before taking on a responsibility they might not be able to handle.
Thank you for making the valid point that those asian people have a history and traditions as well.

Like seriously? This is the top voted comment?

Sometimes I seriously wonder about HN.
Can we stop with this? I fly rescues as a hobby and of the dozens of pits I've had, I've literally never encountered a hostile one to spite having to put the dogs in a somewhat unsettling environment. Yes, you can train them to be hostile like any dog, but targeting them specifically is insanity.
I don't think I'm "pro-Amazon", but I'm generally a happy customer. Then again, I use them mostly for name brand goods. Prices that are too good to be true are a warning sign for me.
My couple grand spread in cryptos late 2017 turned 6 figures within 2 months during the eoy mania. BITCOIN THE GOLD STANDARD!
I am not QUITE at this person's point yet, as I am currently 29. But I am struggling to find a game I enjoy lately.

I would argue that games have not stayed the same. Video games have become aggressively monetized at the expense of the consumer. Companies are now looking to exploit a small percentage of core users, "whales", hoping to get them to spend hundreds of dollars on microtransactions.

There is also a focus on "live services". Basically releasing the game as a poorly constructed product, and then slowly updating it over years and years while charging for the updates along the way. Look at the most played games right now, and you will notice very few of them are from 2018, but rather are older games that have been continually updated.

Some examples:

1. The other day I logged back into my Destiny 2 account after lapsing over the holiday seasons, and to my dismay I discover that I am now expected to pay an additional $20 on top of the $80 I have already paid total for the game.

2. So, I decide to log into a game that had launched around a year ago but was not in a state I considered acceptable, Battletech. I figured more time in the oven would make it better. BOOM. $20 season pass, otherwise I am locked out of new parts of the game.

3. So I switch over to Call of Duty Black Ops: 4, a game I had not played in a few months but thought was fun enough when I started playing. In the time between they added gameplay affecting micro-transactions AND a $20 "expansion pack" that consisted of a few levels.

4. Last year's Star Wars BattleFront 2 was LAMBASTED due to being a full-priced $60 product which monetized all progression with an absurdly expensive loot-box scheme. After people did the math they realized it could cost hundreds of dollars to acquire some of the characters in the game, and that the drops from the loot boxes heavily influenced gameplay.

Video games have become excessively monetized. Companies have realized they can make more money by making the same games over and over again. Gone is the risky, interesting "AA" games of the last generation. Now the only games are being made are extremely expensive to produce and obnoxiously monetized "AAA" games. Now that these companies have gotten a taste of the loot-box whale money, they do not want to go without it.

Take a look at the work done by Jim Sterling for a more detailed analysis.

edit, adding more thoughts:

Another thing is that they are all the same games. Low TTK shooters turned into team shooters transformed into Battle Royale games.

There is nothing like Unreal Tournament or Quake anymore. Games with interesting movement mechanics. It is all low TTK tactical shooters. Low TTK is an equalizer between low-skill and high-skill players. Even a very bad player can get a point if they sneak up on a good player.

The thing is, the mobile game industry is RAKING IN CASH and the AAA game industry wants a piece of that action. It is becoming hard to justify creating Call of Duty 5 if you can make a lame gatcha mobile game and make more money. Investors want that mobile game money so the big game companies are getting desperate chasing that dragon.
For some of them I'm baffled at how they still exist. Williams and Sonoma isn't a unique selection and quality and price can be easily found elsewhere. While I know I'm not the target market, it's still hard to grasp.
Its Microsoft all over again
Wireless pacemaker for the brain could treat neurological disorders
Some common CSS problems
That old code worked 30 years ago... We have a closet in our office with a computer with Windows XP no service packs, and whatever compiler was used to build at the time. If we every have to release an update for whatever we were shipping we can do so. (assuming that computer still boots after all these years...)

In the embedded world supporting software for 30 years is not unheard of. We avoid it, but it is in the back of our mind that someday we might have to release an update. Fortunately 30 years ago nothing was internet connected, we are worried that we might be releasing security updates for our current products 50 years from now...
Actually they are catching up with the language environments on mainframes.
Agreed. I was anxiously waiting for proc macros to land on stable for quite a while and was very happy when they did.

But, when the time came to implement my custom derive I had to consult many sources. I ended up piecing together what I needed from a combination of:

- Official documentation (The Book)
- Blog posts
- Reading Serde code (And Syn/Proc-Macro/Proc-Macro2)

I also found the introduction of the proc-macro2 shim crate (however well intentioned) caused quite a bit of confusion. Specifically, it wasn't clean if I should use proc-macro or proc-macro2, and if I should be using the TokenStream exported by the former or the latter. Or should I be using one in some cases, and the other in some cases. Ditto for a few other things that I just can't recall right now.

I did get things put together eventually, but I don't feel I understand things well enough to explain to someone else...yet.

All that said, it's a hugely powerful feature and well worth the time if you need to do things that require intimate knowledge of the AST.
That's good Bitcoin PR but clicking the link I hoped for a more in-depth analysis of these ten years, the lessons learned and the way forward. This is mostly fluff.

>These past ten years might be the earliest days of a new golden era of human flourishing, built upon censorship-resistant, sound money.

Good thing they used "might" otherwise I might have scoffed at this grandiloquent and unsubstantiated statement.
systemic failure involving large number of self-driving cars at the same time

This happens to human drivers every year. Snow, freezing rain, fog; these adverse weather conditions can lead to large numbers of collisions at the same time. Expecting self driving cars to never have a problem during rare environmental corner cases is to expect them to be vastly superior to human drivers all the time. If you're waiting for that day before you consent to self-driving cars sharing the road with you, you'll be waiting a long time.
Because what's "required" for the job is way too complex for the perceived payoff. That's why the JS/HTML is winning - the time investment to "do something" matches the outcome.
Show HN: HN.Academy – Top online courses recommended by Hacker News users
Eh, it's more making fun of the people who get in a frenzy over the name. Maybe still in poor taste, but not really glorifying the deaths. In fact, many of the guillotined were Jacobins themselves.
Yes, that would be nice. Anyone know of other good Anki decks for modern JS?
"The web" is an interesting one.

I think web browsers are overwhelming implemented in systems languages, but people often write other clients in scripting languages. Javascript is the dominant client-side scripting language but many people like Typescript, GWT, Dart and things like that.

You certainly can write dynamic web sites in a systems language, but almost always people use a scripting language like Perl, PHP, Python, Cold Fusion, etc. Java may be the exception that "proves the rule" but Java tends to have escape hatches for compile-time binding such as Spring.
One thing I heavily enjoy about monorepo's (I'm talking java/c#/c++ projects) is the ability to navigate the entire codebase from within an ide. That alone has caused me to migrate projects (medium projects ~20 developers) from poly to mono repos. Dropping tons of duplication in the build system in the process. I can think of good reasons to split projects along boundaries when it makes sense, but not blindly by default, and not without carefully considering the tradeoffs.
HN doesn't allow any more replies there, so...

> "How did you dare to hack on Gimp, doing this, without doing us the courtesy of asking for permission first!"

That is a bit of an overstatement.

"It would be nice if you talked to us first" != "How dare you do this without asking for our permission"

Yosh wasn't even demanding permission, just basic courtesy.

Source: https://marc.info/?l=gimp-developer&m=90221516928016&w=2

Free software projects don't usually have an abundance of contributors, as you very well know. So I kinda get why Yosh was disappointed, although I don't think he should've fretted that much.