skysight-inc/HackerNews huggingface dataset:
YAGNI, KISS

Choose Boring Technology http://boringtechnology.club/

Build your system to be level-triggered as much as possible. Its default mode should be reconciliation: examining its current state and transforming that into the desired state, especially if the current state is "something went wrong". Build in dumb reconciliation before worrying about making it more real-time.

The fewer moving parts, the better. Don't go multi-service architecture until you absolutely have to (see YAGNI, KISS).

Keep your business logic contained, separated from everything else, in ONE place. If I open up your business logic code, I shouldn't see anything about persistence, the network, etc. Similarly, I shouldn't find any business logic in your other concerns. The business logic interacts with other concerns via abstractions.

Be unforgiving when it comes to correctness guarantees. Use the type system as much as possible to make errors impossible.
Freeing Software
As long as we are comparing apples to apples. Actually Chongqing is worse since you can’t really commute daily from the hinterland into the city (same with Beijing and even Shanghai). Japan is quite unique with commuter oriented HSR (eg tokaido line for Tokyo, though it would be a horrible expensive life to commute daily from Yokohama).
Amazon isn’t a big company? How about Target? Digital Ocean, Slack? Lyft?

https://stripe.com/customers#b2b-platforms

This list isn’t exhaustive, it’s just a few of the companies that have OK’d being put on the list.
Intangible Drilling Costs to start.

https://www.investopedia.com/articles/07/oil-tax-break.asp
https://www.americanprogress.org/issues/green/reports/2016/0...
Ha! Jerry Yang used to camp out at my place or my friend's house in Tokyo when he went to a VLSI seminar as a, I guess, poor VLSI PHD candidate/student.

We used to chat late at night, and I would say: "Jerry! Nobody is going to advertise on your and Dave's bookmark list!

Oops.
LMAO, Google should just make itself unavailable in California due to 'involuntary violation' of this law to see it repealed real quick. Those who complain can use bing.
Is simple. You construct the blob of JSON by hand, just cat some stings together (or implode with "\n"). Then it's real easy to duplicate keys too. (JK, it's stupid).

Fun fact tho, the PostgreSQL jsonb data type sorts the keys, and seems to put shorter key names first, then keys with the same length in lexographix order - neat!
I almost want to suggest Windows Group Policy for something like this...
You can easily do that in Shanghai if you want. Yes, the low end is lower, especially if you don’t mind gutter oil, but menu items start ranging from 50-80 kuai in middle class restaurants (probably more in SH), and it only goes up from there.

Eating is cheaper overall I. China (50 kuai isn’t that much for an entree), but other things like cars and computers are more expensive, as can rent or housing prices. A pair of Levi’s jeans costs 800RMB, which is why many Chinese come to the states to shop.
Where does $2.5/year come from? Other comments in this discussion have suggested that it would be more like $120/year in the US, or $25/year for a global average
The perverse incentives produced by institutional division
Since I moved to Japan I have always looked back at pieces like this and get a good laugh.
BBs are metallic. https://en.wikipedia.org/wiki/BB_gun

Airsoft is plastic. The goal is to shoot your friends with it. https://en.wikipedia.org/wiki/Airsoft

Regardless of BBs vs airsoft, the article's tagline specifically states that whatever he was carrying is nonmetallic.
Having gone through an eviction in SF, it's not rich residents, but residents who don't want to risk a 5-figure judgement against them and an adversarial relationship with a landlord.

If I didn't mind the financial outcome (because I didn't have the money in the first place) I'd have hung on for dear life.. instead I took the settlement and found another living situation.
By the time we are collecting fuel from the lunar surface there will be well marked solid landing pads and no need for thirty seconds of reserve fuel to scoot over to a new landing site.
It's simpler than the tutorial example for python-clang. It's strictly less work than a responsible unit test suite, and there's not much downside to getting some details wrong on this particular application.
Youtube premium removes video ads. Plus you can skip the product placement ads if you want.
>Chelsea Manning was a really good friend of his

Do you have a source for that? Look at the chats on wikipedia. The chat starts with an introduction then immidiately mentions access to classified networks.

https://en.wikipedia.org/wiki/Chelsea_Manning#Chats
I changed my mind, you called someone a bugman in another thread, so while you're wrong about the current state of QC you're alright in my books
So assuming 2% inflation and maximum property tax rate increase of 2%, that would by 4%. Would a 4% increase be acceptable in your opinion?
The big loss with rent control is the disincentive for developers to create new apartments which has happened in San Francisco dramatically. We should have far more apartments here given the demand with normal market incentives. The incredibly high cost of regulation in SF is also a large negative force, but if the normal market incentives (without rent control) were able to operate, developers would work through the regulation as they do in other cities without rent control.
When I was in China back in the day, a friend bought a realistic-looking bb pistol and probably a few hundred rounds from a crap market. We probably could have robbed a store with it. I'm rather skeptical that this stuff is actually illegal.
> nobody has mass shootings like the US, not even other countries with lots of guns

This is a good argument against gun control as a solution to that problem.
Source: years of personal experience
When I re-read this article and some others in the same context, I think the journalist meant that such type of discussion threads, even though backed up by the 1st amendment is considered to be dangerous and might evolve into a more physical reaction, thus they considered it as dark web.
>say that some of them take a perverse pleasure in the idea of everyone else being worse off, going by the number of facially specious arguments and overtly sadistic rhetoric deployed by many self-styled 'skeptics'.

We don't even have to look at arguments and rhetoric. Simply go outside and observe. You can immediately see people driving conspicuously huge vehicles, and some of them have modified their vehicles to increase dangerous and undesirable emissions (noise emissions, combustion emissions e.g. coal rolling) for no other purpose but than to antagonize the people around them and intentionally degrade the natural environment.

Nearly every street you drive down in residential America is lined from one end to the other with lawns that have chemicals pumped in to increase growth unnaturally, and simultaneously chemicals pumped in to control undesired weeds and insects. None of this serves any practical purpose at all.

Look carefully at the ground and you'll find it's full of fragments of the discarded plastic and metal containers of quick junk food and the so-called "energy drinks". Not only is it bad enough we have to produce these items to satisfy a temporary need at the cost of creating permanent* garbage, we have to go and toss them by the side of the road just to illustrate how utterly callous and thoughtless we are.

Hopeless. Sometimes it feels very hopeless.
> The Fed has been reducing the size of its balance sheet, letting the Treasuries and mortgage bonds it bought following the financial crisis roll off. In turn, that reduces the amount of cash reserves banks hold at the Fed.

I'm somewhat skeptical that the reduction in Fed balance sheet is the impetus for the recent surge in repo rates, especially since the Fed ended its balance sheet unwind in August.

From August 2014 to January 2018, the Fed held $4.4 trillion in assets [0]. From 2014 to 2016, overnight repo rates remained stable and low [1]. In December 2015, the Fed began its hiking cycle. From this point onwards, repo rates began drifting up, consistent with an increasing fed funds rate [2]. It would appear that the changes in repo rates were not driven by Fed balance sheet during this period.

Starting in January 2014, banks held $2.4 trillion in excess reserves at the Fed, peaking at $2.7 trillion in August 2014 [3]. By January 2018, excess reserves held at the Fed had fallen to $2.1 trillion, independent of any change in the size of the Fed's balance sheet. In 2016, repo rates remained steady, despite a $400 billion decrease in excess reserves. In 2017, overnight repo rates drifted up, despite an increase in excess reserves of $200 billion. Here, repo rates do not exhibit any obvious impact from fluctuations in excess reserves.

As Fed balance sheet declined by $700 billion in 2018, excess reserves declined by roughly the same amount. However, even as Fed balance sheet continued shrinking in 2019, repo rates held fairly steady, corresponding to the stable level of the effective fed funds rate.

Given all this, it doesn't look like reductions in Fed balance sheet have been the sole driver of declining excess reserves, nor does it appear that the quantity of excess reserves correlates strongly with overnight repo rates. Furthermore, the Fed announced an August 2019 conclusion of the balance sheet unwind in July's FOMC statement. Finally, excess reserves held at the Fed are now 1000x greater than they were in 2007.

In short, the recent spike in repo rates happened despite a massive overhang of excess reserves and in the absence of a shrinking Fed balance sheet. I wonder if the decline of the interbank loan market, which serves as a source of short term funding for banks, is related. At the time the Fed discontinued reporting interbank loan volume (2018), volumes had declined ~75% from precrisis levels [4]. Such low volumes were last seen in 1979. This, in part, explains the large amount of excess reserves held by banks. If they do not have confidence they will be able to borrow when they need to, they must maintain such reserves.

[0] https://www.federalreserve.gov/monetarypolicy/bst_recenttren...

[1] https://tradingeconomics.com/united-states/repo-rate

[2] https://fred.stlouisfed.org/graph/?g=URW

[3] https://fred.stlouisfed.org/series/EXCSRESNS

[4] https://fred.stlouisfed.org/series/IBLACBW027NBOG
This is awesome! Congrats! Self custody + lightning out of box is a winning combo.
The Simple Reason Netflix Is Paying More Than $500M for Seinfeld
I feel the opposite and love hotels. If I wanted to clean up after myself like all my Airbnb hosts demand I’d just stay at home. I grew tired of all their demands (stripping all the beds before leaving, really?, washing all dishes, really?) and just started staying in hotels again and never looked back.
Who's competing with Nestlé? If the answer is “no one,” why is that?
I have worked in the R&D department of a big company (Google Search). I'm currently a startup founder. There is no way in hell I would want to compete directly with Google on terrain they are dominant in. Several startups have tried and failed (Cuil, Blekko), as well as one big company (Bing) and one that's become a successful niche business (DDG, occupying the niche of privacy-conscious searchers that's significantly smaller than the general population but cares a lot about that one attribute that Google can't match).
It's still cheaper to export those machines to Brazil or something and have someone poorer drive the tractors and combine harvesters around and maintain them. No winter either so the utilization would be higher.
> No, おもう means two things, and they're written differently so you can tell them apart:

A nitpick, but you could tell them apart even if they weren't written differently (such as when speaking).
Citations very much needed...
I guess the calculator he used is https://select-statistics.co.uk/calculators/sample-size-calc.... The calculator includes this caveat:

> "If one or both of the sample proportions are close to 0 or 1 then this approximation is not valid and you need to consider an alternative sample size calculation method."

0.86 is fairly close to 1. And they're not proportions but rather averages of Dice coefficients. The statistics used here seem very suspicious. I'd like to see a Monte Carlo simulation or at least the assumptions / derivation of the formula used.
The point is that the cost of healthcare doesn’t eat up the income difference between the typical American family and typical European family.

Note also that trying to compare health outcomes between countries is extremely difficult. Asians in the US live longer than Asians in countries with excellent healthcare systems like Japan.[1]
Puerto Rico has a similar life expectancy to Denmark or Germany, even though if it were a US state it would be the poorest.

Maternal mortality rate varies by a factor of 10 between US states. The maternal mortality rate in West Virginia is only a somewhat higher than Germany and the UK, while the rate in New York is twice as high and New Jersey is four times higher. Massachusetts and California are lower than France.

[1] Asian American men live longer than white women.
IMO a lot of LLVM bug fixes are driven by particular devs motivated to fix issues in the area that they contributed or that they're willing to take the time to investigate.

If your bug happens to hit a use case important to flagships like XCode or Android -- or any of the internal projects at Apple or Google, you have a much better chance of seeing it fixed.

Unless your bug shows a clear regression and is interesting enough to be a release blocker, it probably won't get prioritized. OTOH if you supply a patch with your bug report, it probably has a decent chance of getting accepted.

LLVM doesn't not care about rust. It's just not a pet project of a heavy hitter yet. So rust devs dig down and find llvm bugs. But a best case scenario would be a "llvm developer" working for Google/Apple/Mozilla who will prioritize features and fixes impacting rust. But that's not necessarily better than another "rust Dev" willing to dig down and find llvm bugs.

I'm not knocking LLVM, I think it's a great community. Just strikes me as more of a BYO-bugfix kinda gang.
Ask HN: My mom was hacked, what can I do?
Hello HN! My mom had her email hacked on Tuesday. The attack seemed odd to me - the attacker managed to enter her verizon email account and then sent an email to themselves that contained her email and password. The result of this was her facebook, amazon, netflix, and target accounts were all hacked. As such, I gave my mom a long talk about re-using passwords and setting up 2-factor auth...

The hacker did take out a credit card through Target, and we also have two email addresses this person is using. I know it's not much information, but is there anything we can do? Or is this just one of those cases where we just have to shrug off and say life sucks sometimes?
On the plus side, anybody who gets in to owning apartment buildings at this point knows the score. The risk is not that you won't be able to find tenants. The risk is that you won't be able to charge them enough to make a profit (because of regulation). If you don't want to roll the dice, don't invest in rental housing. You can't claim that you didn't have notice. If you want good performing investments, you'd better prepare to be a slumlord, or you'd better invest somewhere else.

I say this as an opponent of rent control. The people you should feel sorry for are not the owners. It is all the people who want to come to SF, would have a better life in SF, would have a lower impact on the environment, would be more productive and make this a better country, who can't because housing prices are so high and there are no vacant units.
:( even in Brave browser they caught me.
While I share your nihilism about engineering quality in a startup environment, if you don't keep your doors open, the long term health of your codebase will fall to zero.

If you have an established, cashflow-positive company that's not hell-bent on scaling fast (or being forced to scale unnaturally by VC backers) then the balance swings back and it becomes worth investing in your codebase.
I had the same experience my first go at integrating Stripe.

I was able to accept donations in all the ways I wanted:

- using Netlify (free hosting, includes lambda)
- custom amounts
- one-time payment or recurring
- form on my own site

code is here:

https://github.com/revddit/revddit/blob/master/lambda-src/do...

https://github.com/revddit/revddit/blob/master/src/pages/com...
It's a good idea! They didn't demonstrate a lot of the inputs as the models were training, but that was very entertaining of course.
FWIW, the massacre isn't referred to as "Tiananmen Square" within China, it's called the "6-4 incident" (after June 4th, the day it occurred). I remember this always surprising us when working on google.cn (from the U.S. offices): [tiananmen square] is not blocked within China because no Chinese person ever searches for that (it's an English phrase anyway), but random numbers that contain "6" and "4" are, including Javascript code.
Have you heard a drone? even tiny ones are loud as shit. some guy in my neighborhood flies his drone occasionally and it's super annoying. I can't imagine how annoying these giant drones delivering packages will be.
> Law enforcement is also highly arbitrary

Sounds like Chinese law in a nutshell. Laws matter, when the CCP cares, sometimes, for some people.
Including the Federal Reserve.
I wonder if California could just permit cases to be filed in it's courts regardless of residence or the locality of the disputed action so long as the defendant has a presence there.
If the entire prize is a joke, it'd make sense if you could point to patterns rather than one anomaly.
honestly, "how trucks are actually used" is mostly in a city, commuting to and from work, with the bed completely empty.
>It didn't seem like the OP was making any kind of claim about those pet peeves being held by an average AirBnB user.

Definitely not. They made valid points and I was sharing some thoughts of my own.

>In any case, it seems like a bold strategy to fight anecdata with anecdata.

I don't have evidence as strong as anecdata. I am making assumptions.
I'm not an expert on this, and as such, I would like to "favorite" this submission on HN without actually bestowing upon it a "point." I'm not informed enough to feel confident in endorsing this with the point that comes with "favoriting," rather, I just want to save this submission in the discussion in the comments for later.
Fair point. I was mostly anticipating people's reaction to it thinking people would correlate it with noticeably less AR-15's.
I don't know Lamo at all, but it's worth considering that Lamo may have saved Manning's life, for more than one reason; Manning could have betrayed more and worse secrets than she managed to before being arrested in Iraq; regardless of Lamo's intervention, and even if she hadn't funneled any more documents to Assange, she likely would have been caught anyways, and had she been caught later, her commutation might not have happened --- or worse, her trial could have concluded after Obama left office.
Palmetto State Armory is specifically what I was referencing, but last time I looked was also 3 years ago
> I add bleach, stir, and repeat, dodging the cloud of chlorine gas wafting out of the bucket.

and he lived to write about it...
I just did the calculation on an apartment I rented back in 2000 in Fremont. It was $1300 back in 2000 and $3200 now. So that is about 4.6% increase per year. And this was a new apartment back then with pool, gym, covered parking, laundry in unit, close to BART. Are people really seeing rates increase more than 8% per year all around the bay area?
The article cites low-tech raw resources like timber, paper, nickel, and gold (okay this can be hiigh-tech) being used less in advanced economies. What about ones like rare earth minerals used in high-tech? It would have been nice for the article to touch on that. I would love if someone could find that information. A quick Google search didn't yield much.

The author does mention the energy usage rate is leveling out. Not believing this, I did a basic search on electricity usage and it does appear to be true: https://www.statista.com/statistics/201794/us-electricity-co.... I did not check total energy usage though (petrol, natural gas, etc.)

This confirms my belief that has been derided a bit here on HN. That is, I believe Capitalism one-day, in the far distant future, will end or at the least mitigate resource scarcity. When Capitalism achieves that, it in effect nearly goes away or is at least greatly reduced. Humanity will then reap the benefits of abundance. Hopefully moving beyond Capitalism, thanks to Capitalism.
Pretty cool stuff. I'm assuming you have to set up Antenna's where you have your servers colocated and monitoring the transport stream's going through?

Obviously you don't have to spill the company sauce but I'm trying to imagine the benefits of having all of this data.
I feel like... maybe? But quick or dirty should be enough - you could also build a python interpreter once to map over the data and then maybe write up some tests to confirm the functionality.

Every explanation of why to use bash here seems like it's got a whole lot of constraints on when it's a good to use - I've finished some tasks just in bash scripts but when I'm writing something for anything other than one time passes it seems like more of a maintenance liability than anything else.
I believe chrischen was referring to actual visitor counts, not personal opinions: https://www.forbes.com/sites/ericrosen/2019/09/04/the-worlds...
Coding interview problem: Alternate string characters
Would you pay $5 on top of that ISP charge to Google, so that your search experience is ad-free? Would you pay $5 for fastmail.com's standard plan over gmail?
I thought the Bay Area was unnervingly devoid of birds, I guess I was right.
The only downside to GH Actions rn is the inability to cache artifacts, but that'll change by November 13th at the latest.

https://twitter.com/natfriedman/status/1172387801054113793
Is this true? I always thought the decline was more often caused by removing habitats. Would be curious to know how this is measured and communicated.
There are plenty of markets in which the median household can easily buy or rent the median house, because competition drives the price down towards the cost (labor and materials, which just aren’t that expensive). The crisis exists near big cities because zoning boards have created massive shortages of buildable land, and builders and landlords can’t possibly satisfy more than a small fraction of total demand. Naturally they prefer to accommodate the highest bidders. If more inventory existed they would have to take lower prices for it.

If SF only allowed one Burger King and no other restaurants or grocery stores, the price of food would be shockingly high, yet government subsidy wouldn’t be the most effective fix.
Upon completing the Safari upgrade, I was forced to upgrade to 1Password 7.x, which forced me to upgrade my Dropbox password storage to a new file format… an avalanche of changes and I am afraid I may corner myself into having to spend more on 1Password.
When to Skip the Cold Shower: Voluntary Discomfort in Stoicism
how do they host the Mac workers ? Azure doesn't seem to offer Mac VMs ?!
It got fixed.
... Have you ever met anyone in the US military?
It's the posters that creep me out

http://www.adsavvy.org/wp-content/uploads/2008/12/watchful_e...

http://www.adsavvy.org/wp-content/uploads/2008/12/creepcamz....
> Federal prosecutors ended Lamo's crusade after he hacked The New York Times and the paper pressed charges

Just watched an ad on football tonight about how they're pursuing the truth.