skysight-inc/HackerNews huggingface dataset:
It's important to not forget that half of the land in Los Angeles is the Santa Monica Mountains (hollywood hills, ect), and the San Fernando Valley.

Now, there are still neighborhoods in central areas that don't have much multifamily housing, but these are the areas that need to be targeted. Multifamily sprawl is just as bad if not worse than single family home sprawl, as it only feeds into traffic. The real problem in LA is a lack of proper transit oriented development, especially around employment.

I should also add that LA is the densest metro area in the US, largely because even though LA has so many single family homes, subdivisions are far smaller than you see in NYC suburbs.
When I heard what they were charging for the iPhone X I thought it was a joke. but I know several people who now have them, and they all say it was worth it. And they can't explain why. I suspect they're all deluding themselves, like people who have watched 9 seasons of a terrible TV show and try to convince you it was worth the time and you should watch all 9 seasons too. I can't understand it. I wouldn't even spend that much on a full laptop. I stay 2-3 years behind the curve. I can buy a phone that was state of the art in 2015 for <300 and do everything the guy with the iPhone X can do.
> intersectionality is about how one describes reality

I am sorry, but this is one of the most useless definitions I've read lately. Almost any human activity and any point of view can be described as "about how one describes reality", from quantum gravity theory to buddhism. And, on top of that, it does not contradict the premise bitlax described above.

I am all for thinking critically but if you proclaim that the description above is wrong - and not only just wrong, but so obviously wrong as the wrongness to be obvious to the author, and thus "bad faith" - I think the minimum requirement for you would be to produce a better definition. And "read the wikipedia, it's all there" is not providing a better one.
> “There is an all-too-real possibility that other nations will attempt to leverage our actions in China in order to demand our compliance with their security demands.”

.,.. And the country to make the most demands for private user data, according to Google's transparency report is ...
Ask HN: Beginner lost in modular airthmetic division
i can't wrap my head around why 3 % 4 =3. Why? somebody please provide explanation that beginner can understand?
You think it’s more likely someone drew on a rock with a crayon unintentionally?
Yea, as someone who does this sort of thing for a living much of that was quite painful to read. I mean hats off to them for getting a nice result, but they could have done it so much more efficiently by using the right tools.
> It isn't a computer, it can never replace my macbook

That's probably why most people don't mind paying that much. They see their phones as their personal computer and don't need an actual desktop, or even notebook anymore. And a phone delivers a lot of extra value like the camera. A high-end GPU alone could be seen as luxury and some of their MSRP are already over $800.
Digital Credit Score Beta Testing
# Use a structure-of-arrays rather than an array-of-structures.

Could you please explain this in more detail?

# To build graph-like structures, reach for a Vec of components, and indexes into the Vec for relationships

And that also allows you to reference deleted nodes?
Bowler: Safe code refactoring for modern Python
> Use a structure-of-arrays rather than an array-of-structures.

instead of this:

struct World {
players: Vec<Player>
}

struct Player {
name: String,
health: i64,
}

which is a "array of structures", see Vec<Player>, you do this:

struct World {
player_names: Vec<String>,
player_health: Vec<i64>,
}

"A structure of arrays".

"Player zero" is no longer an index into a players array, but an index into many arrays, all of which hold certain kinds of data about a player.

> And that also allows you to reference deleted nodes?

... which is why the talk then references generational indices as a way of dealing with it.
I've worked with C++, assembly, PHP, Ruby, Javascript, MATLAB, Scheme, SQL.. the list goes on.

Honestly when it's all said and done, static typing is very low on my list of worries. Type hinting and contracts and all that stuff is nice, but the main problems in most real-world, large-scale projects are:

* mutability

* object-oriented business logic (rather than functional/declarative)

* friction

* build systems

* async

* drowning in inconsistencies

Some languages like Ruby have conceptual errors - for example its try/catch mechanism (rescue) defaults to using StandardError instead of the base Exception class. Which means that even though it implemented one-liners like:

load 'my_file.txt' rescue puts 'file not found!'

In practice these are rarely used because they may throw LoadError (which is lower in the class hierarchy than StandardError so is not caught by rescue, and we can't say rescue Exception puts 'file not found!') so the script crashes. Each time I look deeper into Ruby, I find more and more of these idiosyncrasies that don't build from first principles, so I can't tell what problems they're trying to solve (some of its errata seems to have been inherited from Perl). So I would advise against using Ruby for new development until it has a sister language like Hack that attempts to solve these longstanding inconsistencies and move Ruby forward.

In contrast, PHP has implementation errors where some methods in its standard libraries are camel case and some are snake case, or they decided to use backslash when declaring namespaces. Since these decisions have no bearing on business logic, I can largely overlook them. When people say that PHP is a fractal of bad design, I tend to agree, but do NOT agree that it's a fractal of bad engineering. In fact PHP is by far the most productive language I've ever used (at least an order of magnitude more than the next closes contender, say Javascript in Node). The only language that comes close is MATLAB, which comes from a completely different paradigm of matrix operations so simply provides more leverage per line of code.

Static typing mainly becomes important when you're working with other developers, or have large/legacy codebases. If we're strictly talking about our ability to write business logic as effortlessly as possible, then the conceptual problems I've illustrated above (which pop up repeatedly across frameworks/languages) have much higher priority IMHO.

Also on a personal note, I find that dynamic types tend towards rapid application development (RAD) because I often work at a high/abstract level. I find that the friction of assigning types steals brainpower from the task at hand - generally composing logical units that pass around hierarchical data like JSON or tabular data like CSV. If we stick to RAD, then building out strictly-typed/over-architected class hierarchies is generally a waste of time and expensive to maintain.
LogDevice has this concept of "node set", which is the set of storage nodes that can be selected by the sequencer as recipients for a record or a block of records. A typical node set size is around 20-30 in our deployments. Each storage node in the node set contains a subset of the records (or blocks of records) of the log, we call that subset a log strand. The amount of IO capacity available to append records to a log or read records from a log scales with the size of the node set.

All of this is done while preserving the total ordering guarantee thanks the separation of sequencing and storage.

The operator could for example set a bigger node set size for logs that are known to have multiple consumers and require more IO capacity.

At facebook, we have use cases where a single consumer will need to replay a backlog of records in a log, sometimes hours or days worth of data to rebuild its state. We call this a backfill. Node sets allow the IO to be spread across multiple disks which improves backfill speed and helps reduce hotspots.

-- Adrien from the LogDevice team.
The One Device details the people and history well.

https://www.amazon.com/One-Device-Secret-History-iPhone/dp/0...

It just came out a year ago.

You can also try my user-editable site (https://theymadethat.com/things/k4z/iphone) where I aim for the same goal but with a different approach. The iPhone entry still needs a lot of work.
Hacking Tutorial: WeirdAAL (AWS Attack Library) Basics from the Authors
Who Moved My Cheese?
Apples been challenged about restricting supply on models before and always vehemently denied it, that it would be a self-defeating strategy, including ex-employees speaking retrospectively. Supply chain analysis seems to back them up. I’m sorry I can’t give references, there’s a long complicated history of this.
Amazon's been losing money since they started but seem to have thrived nonetheless. I wonder if their finance guys have some insight into how that works for them?
How about the most sensible choice:

4) Move to a more affordable location.
>If you are writing a compiler and NOT using Prolog you are almost certainly working way too hard.

If you are trying to write a compiler for anything but a toy language in Prolog, you are going to be at it for far too long without getting anything done.
Ranking of universities by replicability

https://replicationindex.wordpress.com/2016/03/02/replicabil...
Unfortunately Illinois borrowed from future generations and horribly mismanaged the economy. Now they're struggling just to avoid bankruptcy, let alone building out huge public transit projects.

Not to mention a multibillion dollar, unnecessary tunnel linking O'Hare with downtown which will almost certainly cost multiples higher than Elon Musk and Rahm Emanuel claim. We'd rather spend money on vaporware than build something that would actually help.
https://hashgame.io/
What You Should Know About Cryptokitties and Why
If you don't wish to reach all of the way back to the Kitty's CaveCat ancestors, you may always narrow your search to a certain number of generations. At the core of CryptoKitties is making it simple for individuals to enter and purchase a kitty. Each Kitty have a special ID and its very own public page on the domain. Other Kitties are rare since they're not simple to create.

More than 800,000 cats are created, and 75,000 cats are sold. It is tough to think that cats existed before the world wide web. Granted, breeding digital cats is silly, and it will probably be a short-term fad. You start by buying a digital cat in exchange for Ether. Also, each kitten is completely owned by the person that has bought it and the company supporting the game, Axion Zen, does not have any additional control over the game beyond the way that it was initially coded on Ethereum.
Weather, accessibility of diverse food options (this exists in new york too, but you'd need to go to queens), housing that is cheaper on a price per square foot basis (units are still expensive, but they tend to be larger), larger geography (beaches, mountains, national parks). The list goes on.
I used a Moto G 2015 until earlier this year. With Firefox and uBlock Origin, browsing didn't seem slow to me at all. I browse a lot of sites but not a lot of webapps. I used native apps (Slide and Materialistic) for this site and for reddit.
You do realize you're talking about featureless slabs of glass, right? Yes, I'm making a joke, but out of all possible objects acquired for reasons of taste, a phone has got to be one of the least personal fashion accessories. I suppose you could always put a colorful case on it.
Someone already mentioned Luna Lang. Another similar project that is further along is isomorf. You get projections into 6 or so syntaxes, and deployment to AWS Lambda.

https://isomorf.io/#!/syntax-picker/tours-ideas
It's difficult to think of very many people who are more intelligent than they think they are. I'm not sure why this characterization should be used for any group other than to troll them.

There is significant judgement inherent in this observation.
I don't think any book has significantly changed my life. I've read a pretty wide range of books, and remain basically the same schmuck I've always been.
The best programming professor I ever had was a part-time adjunct Masters-level guy who worked on government projects as one of his day jobs (I think the guy had several jobs). He had a ton of real-world experience and knew how to make abstract concepts digestible. The purely academic profs in comparison had no clue what they were doing.
Some of my favorite clips:

> True liberals contend that societies can change gradually for the better and from the bottom up. They differ from revolutionaries because they reject the idea that individuals should be coerced into accepting someone else’s beliefs. They differ from conservatives because they assert that aristocracy and hierarchy, indeed all concentrations of power, tend to become sources of oppression.

> Liberalism thus began as a restless, agitating world view. Yet over the past few decades liberals have become too comfortable with power. As a result, they have lost their hunger for reform. The ruling liberal elite tell themselves that they preside over a healthy meritocracy and that they have earned their privileges. The reality is not so clear-cut.

> Yet ruling liberals have often sheltered themselves from the gales of creative destruction. Cushy professions such as law are protected by fatuous regulations. University professors enjoy tenure even as they preach the virtues of the open society. Financiers were spared the worst of the financial crisis when their employers were bailed out with taxpayers’ money. Globalisation was meant to create enough gains to help the losers, but too few of them have seen the pay-off.

> It is the moment for a liberal reinvention. Liberals need to spend less time dismissing their critics as fools and bigots and more fixing what is wrong. The true spirit of liberalism is not self-preserving, but radical and disruptive.

> They must rediscover their belief in individual dignity and self-reliance—by curbing their own privileges. They must stop sneering at nationalism, but claim it for themselves and fill it with their own brand of inclusive civic pride. Rather than lodging power in centralised ministries and unaccountable technocracies, they should devolve it to regions and municipalities.
Samsung's 75Gbps 250W ultra thin cable
No, the common playbook now seems to be to accuse anybody disagreeing with the hard left in racism and intolerance as an attempt to avoid any discussion with them and if possibly, demolish their personality and their life so nobody else would dare to speak up. While posing as "society as a whole" and taking on oneself to define what is nonnegotiable (which curiously seems to be exactly matching the views of whoever is declaring it) and unilaterally deciding that only the views the declarer holds or ones extremely similar to them are even worth discussing, and people not agreeing to them must be unpersoned.
How to Celebrate Your Dutch Birthday
This is very misleading and doesn't mean what it sounds like it means.

NYC has a homeless population of 76,501, but according to HUD, only 5.1% of NYC homeless are unsheltered. In SF, the unsheltered rate according to HUD is almost 90% - nearly the worst in the country. That means NYC actually has fewer unsheltered people than SF on the streets despite a much larger homeless population.

So while NYC has a big issue with housing affordability and homelessness, they are actually doing a much more effective job of keeping people off the streets and reducing the rate of the kinds of severe public health issues you will see everyday in downtown SF.
Not Rust specific, but in the same train of thought, here is an excellent series of articles going into other issues with OOP and game development, and touches on a few similar topics of cross-cutting concerns and their interaction with interface/class design:

https://ericlippert.com/2015/04/27/wizards-and-warriors-part...

https://ericlippert.com/2015/04/30/wizards-and-warriors-part...

https://ericlippert.com/2015/05/04/wizards-and-warriors-part...

https://ericlippert.com/2015/05/07/wizards-and-warriors-part...

https://ericlippert.com/2015/05/11/wizards-and-warriors-part...
In vivo CRISPR editing with no detectable genome-wide off-target mutations
FB realized they dont have any skin in the HW acceleration game whilst having their business so dependent on it. This is a very interesting positioning in AI HW space.
FWIW, this is an often-claimed "strategy" in the UK (run up as many debts as you can while you are a student, then immediately declare bankruptcy). In practice, it isn't an issue.
I approve of people thinking they're smarter than they are, because that's a worthy aspiration. Compared to, say, people who think they're hipper or more attractive than they are. If it makes people read literature that stretches their mind, that's great.

Pretension can be the first step towards not needing to pretend.
How to entirely freeze ChromeOS / Chrome in one line of JS
Try this:

Ok, maybe this is a silly question, but I am {...}.... Question: what is a house and why would I want one? In my mind I think of it as a big, but inelastic, tent. If that's true, why wouldn't I want to just get multiple tents instead?

A mainframe is the kind of computer you can buy and set up, turn on, and run for two decades (or more, if you like) non-stop. It doesn't need reboots, it most often doesn't even need to be powered down for hardware replacement or upgrades. It's the epitome of reliability.

Most people don't care about reliability. Heck - most people use Windows, so they can't even possibly imagine what reliability and consistency might be like. Therefore, most people can't even imagine wanting reliability because what they have seems "good enough".

People who run services which should never go down, on the other hand, love mainframes.
Great article. The problem is that "liberal elites" aren't really liberal anymore. They're just powerful, and their allegiance to liberalism seems to really be about convenience and profitability and not about values. Unfortunately the anti-establishment types don't seem to have those values either. And neither does the electorate for that matter. It's hard for me to even see what could happen that would change the way things are headed, and it's pretty sad.
What I meant is that sometimes, when you have to write unsafe code, it's easier to make it not thread-safe. Then later on, someone uses that piece of code and tries to parallelize it, and runs into problems. This can be prevented with language support.
In reality, credit is not essential for maintaining a pretty standard US lifestyle. I've had what I assume is terrible credit my whole life (judging from the fact that I get turned down for things like checking accounts, and had to debate my bank to get a secured credit card months after depositing the proceeds of selling a company) and I've been pretty much just fine. I rented apartments no problem (pay your rent, get reference letters from landlords), managed to rent cars when I needed them, and simply didn't use credit cards (I still don't understand what the purpose of a credit card is). I got 3 mortgages (in 3 different places) during that time frame too. Maybe it's harder to get one now? Who cares? You're 25, wait a couple years to buy a house.

(Preemptively: for almost that entire time, my family was living basically paycheck-to-paycheck, and our largest expenses were rent and food).

People do leave college and rack up enormous credit card debt. The reason everyone doesn't BK is that there's a social stigma to it, and also, in general, the average American consumer does not have a good idea how the credit system works. Read Patrick McKenzie about this sometime. If more people understood how generous our creditor/debitor laws were to consumers, or how clownshoes disorganized consumer finance was (why would they give a shit? they're judged almost entirely on growth), people would take much more ruthless advantage of it.

But there's also a difference between accumulating $50,000 of revolving credit debt over a span of 5-10 years and six figures based on a decision you make when you are eighteen years old.
3 billion miles away, typo?
That was worth reading. capitalism's fixation on quarterly reports is ruining successful companies like DST.
As far as the larger LA area goes, it's a few hours from Vegas, next to the beach, Santa Barbara and San Diego next door. Access to various Mojave type deserts and national parks (Joshua Tree is amazing). Big Bear / mountains nearby. Various price points of housing, anything from affordable-ish family homes to expensive upscale condos (downtown) and ridiculous mansions (Hollywood hills, Malibu, Belair etc). Great for all stages of life, whether you're young and want to mingle, or have a family and want to live somewhere safe (Pasadena, OC). Access to decent UC schools. Absurd amount of entertainment all day every day for whatever taste you have. Food from every corner of the Earth. Ethnic diversity. Major airport next door. If you're into fashion, arts, cinema, music, tech, real estate, science, there's a place here for you with that interest. Tons of people from all walks of life. Oh yeah, shorts and t-shirt weather all year round.

Only big downsides are commuting and cost of living. Also homeless everywhere unless you're locked up in a suburb, but not as bad as SF since they stick to certain areas. Skid Row is both fascinating and terrifying to visit.

Please don't come here though, rent is going up as it is.
Personally I'm interpreting a no show as a vote of no confidence.

And given the footage I've seen of late from such hearings, I too have no confidence in their abilities.
3 / 4 = 0, remainder = 3. This is essentially where the 3 comes from
I've been pretty happy with my Moto G5+ 4/64 GB, except for a few things:

Updates: Its lesser powered successor, the Moto G6 (no + in the U.S.) runs Android 8. The G5+ certainly could. Moto's X4 has the same 630 CPU along with a GB less RAM and, I've read, will be advanced to Pie. The G5+ could be, if Moto chose to do so.

Camera. Take one of these "budget" models, and add $50 or even $100 to the price to put in a top-notch camera. I'd buy it. I don't need CPU "up the wazoo", nor a super-whatever bezel-less display (a good IPS is enough, for me); however, I would like to take really good pictures. (Really good, less the "AI" stuff -- and its cost -- that I'm not asking for; rather, top notch optics and sensor.)

I really don't need, nor even want, a $1000 phone. Only, the manufacturers refuse to make some modest upgrades to the lower tier models -- because money, I guess.

It also, in my opinion, reflects the lack of real competition in this space. In a truly competitive market, I believe my "market segment" would be found to be far from trivial and so worth pursuing.

Hell, with a generation older CPU and such tech (I don't know about cameras), all the tech is well known, has stable drivers and all, and is probably more easily supported. Should be a no-brainer, at this point -- except, well, money.

P.S. I haven't had the models in-hand, to compare, but putting together all I've read on them, I gather that both the G6 and the X4 have worse cameras than the G5+ . The G5+ camera isn't bad, but it doesn't perform nearly as well -- in detail, low-light, and some edge cases -- as the top-tier cameras -- even those of a generation or two ago.
He is not CEO anymore that's all he has to say about it.
I only stay logged into Chrome to sync bookmarks/extensions, but I too strongly dislike tying the browser login to website logins. It's likely very frustrating for anyone that has multiple accounts on any Google service. Also it just doesn't feel right- those two things should always be separate actions I have to perform. My browser account is my browser account- my web accounts are my web accounts. Crossing them over is building a bridge where there shouldn't be one.

Reconsidering other browsers (and really, moving off of Google services entirely)