skysight-inc/HackerNews huggingface dataset:
Petroleum is literally exhibit number one of the failures of ruthless capitalism in that its negative externalities have led to the possibly irreversible destruction of our climate. This is not a good start to your argument.

> Or a "guaranteed public option"? Or is the idea to have more of a "centrally planned" housing market, where the means of production^W^W^Whousing stock is owned by The People but decisions about how to employ the housing stock is made by the government?

Basically yes. The “progressive” position on affordable housing generally calls for major government investment in housing. This is not a new idea; in the U.S., much of the big buildout of middle class housing last century was heavily subsidized by HUD.
Preventing renters from living in high density housing will make the number of people on the planet go down?
I don't think it's fair to compare 'Refactoring' and 'Design Patterns' based on their respective number of pages. They are both catalogs, but they are cataloguing different things. A design pattern IMO is harder to explain and understand than a refactoring, it needs to provide some context, and by definition you need to prove that it qualifies as a pattern by showing a few examples found "in the wild".

Also, the authors had to show how these patterns can be implemented in different programming languages (Smalltalk and C++). Fowler could get away with one simple example of a refactoring in Java each time.

Having said that, Fowler's prose is super clear, something that cannot be necessarily said about GoF, (IMO of course)...
You're really stretching that 'supposed'.

I think if we were closer to ideal science, we'd work harder to verify numbers as a first step. More replication means stronger foundations and less wasted work.

There will always be some bad results that stick around for a long time before being overturned. But the median lifetime of bad results can change based on how we prioritize research. That statistic might currently be far from optimal.
I am a CA landlord of a single house. Keeping track of “market rate” is an annoying exercise and I tend to just leave the rate unchanged for multiple years (3-5) then bring it up in one go. The last time I did this the rent increased ~12%.

Before, the tenant was happy because they got below market rent for 4 years, and I was happy because I could defer pricing work without long term penalty or risking a move-out during an already busy year. This new law will likely result in my tenant paying more, and me working more at times I don’t want to work.

It’s not the end of the world, it’s just one more annoying piece of red tape that doesn’t seem to help anyone.
Its smart. A lot of people didnt upgrade to the X, and the lower price makes it very appealing to get the 11. Apple tv+ seems like a great deal at only 5 dollars, and should attract tons of new customers, even though the service really doesnt have a great width of content, but apple is good at hiding that, marketing it as a viable alternative to netflix. Shareholders will be very happy at the next earnings call, and the stock has already been showing that.
Not that we know of, and yet the proof is still illusive despite many great minds attempting to solve it. That's what makes it so alluring.
There is truth to it.
class foo {
foo() = default;
~foo() = default;
};

Is actually the idiomatic version of that C++ class, far less repetitive.
Missed statistics on the second bit. It's not just calculus though statistics use it.
Interesting. Mind sharing a little bit about your production hosting setup?
That's because your employer is choosing not to dictate your hours on their own volition. But an employer has every right to exercise that and that's the talking point.
Go isn't designed to feel mature, it's designed to be boring and effective. It's designed to keep code complexity low even as the complexity of problems and solutions increases. It's designed to allow large teams of medium-skill programmers to consistently produce safe and effective solutions. The most precise description ive heard to date is: "Go is a get shit done language."
WeWork loses its chief communications officer ahead of planned IPO
Wow. But if Matt Levine can get it wrong too I don’t feel so bad.

But the insider trading you suggest above, is predicated on having material non public information of ExxonMobil’s.
> Nonetheless, the astonishingly bad performance of the Python version is surprising.

In the paper, they point out that the Python version is the only one they didn't bother to optimize.

However, my takeaway is that practically everybody can handle north of 1 Gigabits per second (2 Million packets per second x 64 bytes per packet) even on a 1.6GHz core. I find THAT quite a bit more astonishing actually.
I'm in SoCal, lots of companies around here will do low five figure starting bonuses now if you ask. I've seen 5k-15k in my offers at either smaller startups or non FAANG.
Go re-read all the Snowden leaks. Many of those systems (or versions of them) were in operation for at least a decade before 2001.
As others have said, E=mv^2/2 only holds at very small fractions of the speed of light. I believe the equation you need is E=mc^2/sqrt(1-v^2/c^2)-mv^2.

https://en.wikipedia.org/wiki/Kinetic_energy#Relativistic_ki...
Okay so write your own crappy (excuse me, graceful and elegant) pile of shell scripts that nobody in your company but you understands? Sounds good to me.

The second you leave, somebody is gonna rip that crap out and replace it with docker. All while mumbling under their breath...
nice, but the nigerian prince free money hydra email can never be stopped
You might find the Kubernetes offer interesting. Pod Security Policies[1] expose seccomp and selinux configuration in the form of annotations.

[1]: https://kubernetes.io/docs/concepts/policy/pod-security-poli...
Products becoming commoditized won't take Apple by surprise. Think of how they survived commoditization of mp3 players, "disrupting" the iPod themselves. They pay attention to logistics curves and can predict with great certainty how viable their products will be long into the future. If the bottom drops out they won't be standing on it, partly because they will always remember the Windows disruption of the 90s. That's just my opinion. The same author offered his opinion in 2010, addressing your point, and drawing upon "The Innovator's Dilemma" by Clay Christensen.

https://stratechery.com/2010/apple-innovators-dilemma/
Lazy Loading Angular Libraries
https://robferguson.org/blog/2019/09/12/lazy-loading-angular-libraries/
“A QA engineer walks into a bar. Orders a beer. Orders 0 beers. Orders 99999999999 beers. Orders a lizard. Orders -1 beers. Orders a ueicbksjdhd.

First real customer walks in and asks where the bathroom is. The bar bursts into flames, killing everyone.”

https://twitter.com/brenankeller/status/1068615953989087232
You still need spaced repetition for actual retention of the skill.
Though it is easier to recover a forgotten well learned skill.

It's also known in layman terms as practice. 9 months of cramming is not good enough. Neither is 4 years of tests without actually using the taught things in practice and laboratory exercises. And preferably also homework.

Source: SuperMemo research, Piotr Woźniak and his citations. No reason why it wouldn't apply to CS or programming.

The amount of information useful requires essentially lifelong interleaved focused learning at least hour a day. You can also maybe pick some things up in a job, but these have stricter limits.
Maksim3199
[ my public key: https://keybase.io/maksim99; my proof: https://keybase.io/maksim99/sigs/Nff46N_I1cw6TrSKk_2odOM9xNNU8KIUDQeqsA8lveM ]
> Assuming that Uber has a competitive advantage because of their brand

Woah - I see Lyft as the one with the competitive advantage due to Uber's brand. Uber is toxic while Lyft is seen as friendly.
Things that appear black/white seldom are.

Do you believe in evolution? The children who live are more likely to have anti-malaria related genes and so will there kids.

Would you save 250,000 children today just to condemned millions in the future as populations increase and more children as exposed and side effects are discovered.

I would probably save 250,000 kids today but tomorrow when millions more are at risk I will wish I thought longterm.
It should be a setting in a standard dot file. I don't understand why Mozilla can't create a simple configuration file like most applications.
Before Mountain View landed rent control a few years ago, my rent was being increased 10% year over year - I had enough after 3 years and moved to Sunnyvale where my rent was $50 more a month for an extra bedroom and 300-400 sqft extra.

Interestingly, my rent has remained stable ever since moving - guess it's possible to have much better luck with smaller landlords.
Brief Thoughts and Observations on Yesterday’s Apple Event
You must really dislike GitHub then.
Constructors do not return, and return type and lhs are decoupled, so you are looking for

auto const &lol = make_wtf();
I'll add the Ancillary (Imperial Radch) series by Ann Leckie to these good suggestions.
There has to be a line somewhere, though, right? We don’t want people to be able sign away their labor for the next X years and accidentally reinvent indentured servitude, for example.
> I would completely agree with that, but for some reason it isn't as politically do-able as this rent control legislation was.

The reason is that landlords know exactly what rent control does.

Landlords know that the tenants with the strongest interest in local housing costs are the people who already live there and plan to continue to do so indefinitely. Rent control is a method of buying them off without actually solving the problem in general, so that overall rents and housing costs remain high but the subset of people most likely to be politically active in doing something to correct that gets a bribe to stop objecting while overall housing costs continue to rise faster than inflation.

What it is, then, is not a step on the road to a real solution, it's a roadblock preventing that from happening by weakening opposition to the status quo by just enough that no actually effective reforms can be enacted.
Could someone provide an actual example use-case for immutable data structures in C++?

The linked document only mentions high-level examples, all of which seem to be trivially implementable via mutable data structures and a bit of being careful.

Does this buy anything beyond peace of mind that if you pass an immutable DS to another thread, they won't be able to change it?
UWB is being touted as the best solution for next generation car keys, as all wireless solutions for car keys to date are susceptible to relay attacks (exception being car is online and controlled by an app).
With an UWV chip in there, Apple could store your car key credentials and use their phones as a secure key.
You could be killing 100,000 people a day if things go differently than you expect.

Caution is in order.
His post on Bitcoin from 2013 is pretty funny: https://www.quora.com/q/kyvdkhixnlhvdjdp/There-Are-1-3-Billi...
Why do you hate pensioners who worked all their lives, paid off their mortgages, and paid for the roads and such you youngsters use for free?

Repealing Prop 13 will result in hundreds of thousands of old people being evicted from their homes. (Liens? Quite a lot of these same people sustain their living by reverse mortgages. Liens will destroy it.)

And techies are wondering why they're seen as a*les by those without fancy degrees. You only need to look in the mirror to see a prime example.
Getting back at owners for opposing new construction by instituting rent control is cutting off your nose to spite your face. Rent control adds even more people who have no financial incentive to reduce the cost of housing in their neighborhood, thus making new construction even more politically difficult.
This reads like an advertisement for ATT AilenVault.
There are many lots that don't get built on because the cost of construction is higher than the value of the home once built. I have done the math on a number of such lots, and the permitting fees have been roughly the amount to tip the scales. Add to that the one year minimum build time due to at least 4-6 months of bureaucratic delays, and it just becomes unfeasible.
You can do quite a bit without understanding it properly. As tons of cool kids have shown none of that shit actually matters if you are trying to create the next big thing that's going to make billions.
A process making a system call to the kernel functions the same way regardless of whether it is in a container or not. How exactly does the security model differ at all?
I do think there is some truth in immunity (I grew up in Limpopo province) but there is also very localised variation in spread of malaria. The area where I am from is in the malaria area, but few people get malaria. My grandmother had malaria six times, but ever since Dr Annecke's time the area has seen few cases of malaria and you are more likely to get it in Kruger or Vhembe. So it could be that your family members live right in the centres of some of the localised malaria areas.

I've never had malaria and the general approach is 1) if you think you may have malaria keep on testing until it's positive. This is very important as you'll get multiple false negatives. 2) Taking medication is counter productive if you live in these areas permanently or visit frequently as doctors in Limpopo are probably the most clued up on malaria of any place in the world, should you get infected. (Commercial pilots, on the other hand, take very expensive and effective anti-malaria preventative medication.)
I don't normally suggest things.. but this immediately screamed at me going to the 'video' category..

I'd suggest if there aren't any posts for a given day, don't show it, so only days with posts are displayed.
And also, then populating a page (pagination-wise) with X-amount of posts, rather than X amount of days, just to give a more consistent experience between pages :)

Other than that, seems like a great idea :)
Topics from the 2019 Linux Open Printing Micro-Conference
One thing that's kind of impressed me about Angular is its ability to have fairly stable API in spite of all the recent advancements to the ECMAScript specification. Dynamic import came about and it fit right in with their paradigms. There's other things I'm not a huge fan of, but once you learn to "think in Angular" --and it all clicks-- it's not that bad.
SF isn't uniquely expensive. Every city with opportunity has a huge premium. It's all for the same reasons.

I'm not sure if I wish they'd go away.

If housing were more affordable, we could easily have 10B people on the planet right now. Most people truly want to have families. They want homes to raise those families. People can't go own reproducing forever. Could we have had 2% population increase over the last 30 years in the US instead of 1%?

Yes, but we'd already be over 10B people. In another 30 years, we'd be at close to 20B. It's not sustainable.

And even if it was, it's not necessarily a better situation. Who's to say that education, health care, food and other basic necessities wouldn't be more scarce and cause the overall cost of living to be even higher? Inequality would almost certainly be much worse.

The Malthusian trap plagued the world since the beginning of mankind. Until the industrial revolution, life for the average person was getting substantially worse over time. Then suddenly, productivity growth outpaced population growth, and we went through -- objectively the best time in human history. This is a time that includes monstrosities like the world wars and the threat of nuclear winter, and it it's BY FAR the best time humanity has ever seen.

Productivity growth is starting to decline. Do I think that making housing more affordable and jump-starting population growth to keep GDP numbers increasing at a steady clip is a good trade off? No.

Cheap housing sounds great. But I don't think it's a miracle pill. There are unintended consequences to everything. I wish we lived in a fantasy Utopia where everyone could be hold hands and be happy all day, but we don't.
Nothing a good arson won't fix.
This is a weird post. A CS degree and programming bootcamps aren't mutually exclusive. I'd say they're not even really comparable.

There's many reasons why a CS degree would not be a good fit for someone. Some people just don't perform well in an academic environment. Some people simply don't have the intelligence required for that kind of education; not all tech workers are "software engineer", there's "tech workers" stretching from PhD level all the way to near minimum wage. Some people might not have 3 or 4 years of time to spend on a CS degree. Some people might not be able to afford a CS degree, depending on where they live.

Basically, I think your post just mentions a lot of the positives of a CS degree (without mentioning any of th negatives), and then somehow uses this to conclude that "bootcamps are rubbish" without actually saying anything about bootcamps themselves, as though there's a binary choice between the two where both options are always equally viable.
Why is AMD not interested in selling chips in China? Seems crazy to ignore that market unless the price for access is too high.
California Bill Makes App-Based Companies Treat Workers as Employees
Fire suppression is required everywhere AFAIK. Solar is not yet required, but will be next year. So it has had no effect on current Ca housing. That is a stupid rule and should have exemptions for areas that don't receive enough sun due to fog/trees/etc. But solar will still be far, far cheaper than permits and will add value/decrease ownership costs for most homes.
> most

That is exactly my point: it is a fashionable trend.
What has changed with the new rent control law is the risk to the landlord increases, and that means rents rise to pay for the risk.
very great sir
If the startup you work at takes off, I assume you'd get some of the upside; catch-up to you peers.
Also, I tried clicking on one of the projects and got a 404:
https://sideprojects.net/out?url=https%3A%2F%2Fwww.producthu...
Ask HN: How do I pay taxes on options?
Throwaway, because people know who I am and I don't want to get pre-emptively fired tomorrow.

I have a decent chunk of equity options. Not a ton, but not bad. I'm planning on leaving the company soon, but still believe the business is sound and that equity is valuable.

Afaict, the tax penalty for executing options is the difference between the strike and exercise price. But what if there isn't any liquidity for the stock? How do I assess the exercise price? Can I defer the tax penalty until I realize gains somehow?

Thanks, obviously new to this.
I didn’t read the thesis for each implementation, but it would have been cool to see how long it took an engineer to write each network driver. I bet the Go version, while definitely not the fastest, was one of the fastest to finish.
> The fact you have to share the entire Docker socket for containers to be able to control other containers, or that it's not trivial to run Docker-in-Docker, is terrible.

FWIW, if you enable the remote API, which, granted, isn't as trivial to do securely as it should be[1], then you can connect from any Docker client by simply setting the `DOCKER_HOST` env var and using the right TLS certs. This makes Docker-in-Docker much easier to manage, avoids the security issues of sharing the Unix socket, and works remotely of course.

[1]: https://docs.docker.com/engine/security/https/
Personally, I think it stems from HN readers having a chronic inclination to try to be clever (myself included and no judgment intended).
> want to know what is so similar about C# and Go that is causing them to have about the same performance.

I looked at the C# thesis. I think with care the programmer was able to reduce the amount of heap allocations and memory copying enough that it's similar to the mix in the go driver. I think also the modern processors ability to execute multiple instructions/code paths in parallel tend to negate the advantage efficiently compiled languages like C and go. So cache misses, heap allocation, and garbage collection tend to dominate over raw numbers of instructions executed.
Make It or Break It: How to Increase Your App Downloads on Google Play Store
If the random move was invoked when an exception was caught, I think I can defend saying a bug saved the game, but the wording makes it sound like the machine did what it was supposed to and the Deep Blue team just godt lucky.
Could you please stop posting unsubstantive comments to Hacker News? You've been doing it repeatedly, and we ban accounts that post like that.

https://news.ycombinator.com/newsguidelines.html
Correction: if I click on _any_ link to go to a project, I get a 302, which doesn't redirect, with the text:

Not Found!

We're sorry; whatever you were looking for isn't here..
How NLP Works?
I'm a renter in Oregon and I've been outspoken about this long before the laws were passed. From my experience, people who support heavy laws, regulations and taxes don't spend enough time considering potential side effects. They feel like with enough support, they can just force anything they want to happen, while completely disregarding the market.

You know I was neutral on this stuff, studied economics and some business law, have actually read Adam Smith rather than just little excerpts. When I was younger most of the 90s working as a tech in and around the financial sector, so while I don't consider myself an expert I do think I'm quite well informed. I spent about 25 years giving market economics and the investor class the benefit of the doubt.

I've changed my mind.
Hamilton’s The Reality Dysfunction was the stupidest book I’ve ever read and took hundreds of pages to expose itself. Are his others any more grounded (like your other suggestions)?
Cities Where Job Growth Is Outpacing New Homes
Well at least it is shipping with 64bit UEFI.

Lots of these cheap Intel chips like Z3740 found in many Wintel tablets only shipped with 32bit UEFI making them un-usable on FreeBSD.
Feel free to call me what you want. One can make $1 out of $1000 per day easily. Waking up this morning I saw $1.57 profit per $1000. It is the greed that busts accounts.. I am not advertising anything. I am merely stating what is working for me and a couple of friends. Btw this is my side-gig. My main profession is related to financial services and IT which I have been serving (both) for the last 20 years, so I have an advantage when it comes to any kind of botting (algo trading).
Ask HN: How much does it cost to maintain your own fork of a FOSS project?
Please describe or summarize your situation, and say how much it costs you to maintain a FOSS fork — either in money, time, or both.

Question stolen from / inspired by Devon Zuegel: https://twitter.com/devonzuegel/status/1172021531788005376
Why do you think construction price, and not land price, is the limiting factor?

I'm in a high-demand city in Canada. The house I'm in right now is worth about $70k. The land it sits on is worth $900k. Shipping containers aren't going to help with that.
I think tptacek's comment is just fine as it is.
It's a joke that is meant to both criticise category theorists and ring theorests (elsewhere on HN someone mentioned these kind of jokes have a name).

But I don't think anyone here understood the joke. For a category theorest N and N_0 are equivalent. You have an initial number and a successor function, that's it.

For a concrete mathematician, such as a ring theorist, it is much more important whether it's a natural number or not. They ask questions about numbers and how you can study properties of numbers (like number theorists).

So my point was that if you find a category theorist insisting that 1 is a natural number and that 0 is not, then they don't view it as a set with an initial number and successor function. This would be somewhat unusual. For that matter you can start at 42 and include all numbers > 42. Then you can just get back to N via a bijection.