skysight-inc/HackerNews huggingface dataset:
The gcs bucket just needs to be set to region? See documentation:-

Data egress from your bucket to a non-Cloud Storage Google Cloud service is free in the following cases:

Your bucket is located in a region, the Google Cloud service is located in a multi-region, and both locations are on the same continent. For example, accessing data in a US-EAST1 bucket with a US App Engine instance.
Your bucket is located in a multi-region, the Google Cloud service is located in a region, and both locations are on the same continent. For example, accessing data in an EU bucket with an EU-WEST1 GKE instance.

EDIT 2:

the cloud ai documentation suggests the correct setting is regional/regional

https://cloud.google.com/ml-engine/docs/regions

Cloud Storage
You should run your AI Platform job in the same region as the Cloud Storage bucket that you're using to read and write data for the job.

You should use the Standard Storage class for any Cloud Storage buckets that you're using to read and write data for your AI Platform job.

EDIT 3:

----------- I don't think you can set a region for colab, so I am not sure you can make egress free. ----------
> Owning a private jet (no time lost booking a flight, going through security, etc)

The problem with private jets is that they severely limit where you can travel, unless you don't care about leaving the continent. Private jets tend to be small (unless you're John Travolta), and small jets have limited range. Accordingly, they can't easily cross oceans. If all you care about is going between NY and FL or CA, then they work fine, but if you want to fly to Asia, you'll have to book a ticket on a major airline like the rest of us.
To be fair (I'm the submitter) I thought of it as more of an interesting article about social progress and the leadership in some areas of countries not always in the news - rather than being a political story per se.

From the guidelines:

Off-Topic: Most stories about politics, or crime, or sports, unless they're evidence of some interesting new phenomenon.

(My emphasis, and I've clipped the addendum about if it would be featured on TV news it might not be relevant here).
I've never tried any psychedelic. But I am able to lucid dream sometimes, I just never got deep into it. I guess I should read more about it.

I agree with your second statement, this so-called dream machine sounds a lot like a future iteration of Facebook's Oculus Rift.
I think you're running into a situation of geography or class. There are absolutely lots of young conservatives, but if you're not in a region with a large % of conservatives, you may not run into many of them. This especially apparent when you're college-educated person in a blue state.

Guns bring together young conservatives. Perhaps joining a shooting club will grow your circle of like-minded friends. Archery is a decent alternative if you're less than enthusiastic about guns.
Lists like this make me feel like I have a fundamental disconnect with serverless. I've yet to experience this low cost of development. Granted, I have a fair bit of sysadmin experience. But, with serverless it feels like I'm trading general system knowledge for arcane provider knowledge.

I tried for weeks on nights and weekends to get anything beyond a simple todo app running with AWS Amplify. I kept running into issues with DynamoDB or AppSync or Cognito. Every time I tried to do something even remotely off the beaten path (e.g., sorting todos by creation date rather than by DynamoDB's non-deterministic sort), I had to tear the whole thing down and start over.

I tried to use the serverless tool, but couldn't even really tell how to get started. They usher you along a sign-up flow before you can even try anything. And a lot of the documentation is just a weird mix of sample projects in various languages.

I eventually gave up and just went back to using Heroku for now and will probably land on a DigitalOcean droplet. I really wanted to like serverless, but it wasn't saving me any time and scaling isn't a concern for a side project :-/
Overall I agree with you but...

> In reality, that engineer doing all that cool stuff in the Bay Area in their shared studio apartment probably doesn’t have a better retirement plan than the community college sysadmin with a paid-off single family home in upstate New York.

I don't think this is accurate, the net worth of the former is probably a multiple of the latter accounting for age.
What Did the U.S. Get for $2T in Afghanistan?
This was my same thought. Really impressive as an exercise to develop this yourself, but this is core functionality of a lot of ORMS. Rails' ActiveRecord is kind of the shining example of this, with it's `schema.rb` versioning file
Molten bismuth 3D (single pass simulation)
Like Symphony and Laravel Yii2 is an open-source framework for both back-end and front-end programming.
China Orders Government Offices to Purge Western Tech
I've actually read this book no fewer than three times. I disagree that it trades on excessive verbiage. I think people were far more eloquent when the book was written and the excessive verbiage is an artifact of that. The book's real value stems from it's ideas around expressing honest interest in other people and making proposals in terms of other peoples needs, for example.
You could use your virtualization technology to run it, execute reference SeaBIOS using that. Qemu, Xen and VMware apply.

Of course this won't fix your driver problems, if any.

Alternatively load and execute a CSM in your UEFI firmware, but we do not have a reference implementation of that and AMI, Phoenix do not want to share.
Sounds reasonable to me :-)
Your hex snippet produced my usual outcry when I read other's AHK scripts: "Wait, you can do THAT?!"

It's been added to my growing toolbox(which I lovingly call i3_emulator.exe), thanks!
"An immutable in-memory database and Datalog query engine"

Most uses of GraphQL is to expose existing data from a relational database through an API, so although this looks like an interesting project, is doesn't look like it would be a contender against any GraphQL implementation.

I'd argue there are two faulty assumptions in the OP: 1. "GraphQL serves the same use case as Datalog.", and 2. "Datalog is better at that use case."

GraphQL is not a general purpose query language! There are practically no query operations at all built into the specification - it's all about field selection and parameter passing. At heart it's more like a RPC protocol geared towards requesting tree-like data. You would evaluate GraphQL against options like plain REST, OpenAPI, gRPC, not against Datatalog.

A more relevant question to ask is why Datalog never took over for SQL, but it would be harder to pretend that SQLs dominance is due to it being the current passing fad.
Occasionally. You randomly get a K80 or T4. It's annoying.
It seems like hubris is an inescapable trait that most countries/empires exhibit before their collapse.

A trillion dollars is not an insignificant amount of money. The wealth squandered and potential unrealized will be a sad epilogue in the books ultimately written about the American Empire.
Debugging Python Projects with PySnooper
> sometimes the software is not compatible without the developer knowing it

Sure, but this should be considered either a defect or something highlighted by a major version number jump.
There are (at least) two pieces to WireGuard. The wireguard "wire" protocol itself, which is implemented in the kernel. And the authentication and key exchange, that are done by userspace tools.

Right now there exist the "default" tools, which require a manual exchange of key pairs and do only very rudimentary user mapping and authorization.

However: It is perfectly possible to implement much more complex authorization schemes, with all the two step auth, logging, etc. you desire. Somebody has to write the tools for that, still. But the nice thing is, that this is a pretty much independent task, which you could do over any transport/protocol you desire (HTTPS, SSH, custom made, etc.).

An idea I've had for a longer time, but don't have the time to actually invest developing it, is using wireguard for a pure IPv6 mesh VPN.

- The ULA network part would be the key-id (lower bits) of the mesh public key (i.e. with knowledge of the mesh private key you can join the mesh), used for the mesh setup.

- The Host part would be each individual host's key-id (again lower bits of the public key).

Since wireguard uses Cryptokey Routing (https://www.wireguard.com/#cryptokey-routing) this would directly map.
I'm in flyover country. It's certainly prestigious here.
Any time a business paper makes grand claims about the data they collected by referencing things that don't matter (billions of dollars?), it's a good sign the conclusion is BS.
Yes! This is a great point. Right now, I'm talking with each person before moving forward with them, so I gather it later. I'm actually leaning toward connecting people who living in drastically different economic climates. Ie. global south-north.
At least in my Bay Area town, the people already live here.

We have serious problems with people living in RVs taking over entire streets. They don't just live in the RVs quietly. They spread their stuff (furniture, garbage, sometimes large collections of stolen goods) all over the street. They harass nearby businesses and homeowners. They park in ways that are not just technically illegal, but dangerous to drivers, bicyclists, and pedestrians. Crime has gone up in nearby areas. I'm not saying RV people are all responsible for the crimes, but I'm aware of several instances where the crimes have been committed by the RV people. They're not all homeless, either. Many of them own homes in the East Bay or further afield and just do a week long commute to their $100K+ peninsula jobs.

Single family houses are housing 6-10 adults. Their cars are all over the streets. Some neighborhoods are can barely be navigated, and its dangerous for driver and pedestrian alike.

We'd all be better off if there were affordable apartments (with parking garages) for people to live in. We'd see an increase in city revenue. We'd reclaim our streets. We'd have a cleaner city. We'd have fewer accidents and safer walks. We'd no longer have city council members hiding behind 'compassion' when it comes to removing the RVs.

Yet every single development is opposed.

"It will make traffic worse." Not conceivably possible. Every development includes requirements of $$ to improve nearby streets and appropriate parking. Parking has gotten so much easier since one major development included public parking. (One guy argued that the amount of money a business was willing to offer wasn't enough to fix a problem area. As if it is not the responsibility of the city, county, and state to fix the existing problem. Or as if $X million is worse than $0 million for fixing a problem we already have.)

"That area is already a mess!" Yes. It is. That's why it needs to be improved.

"It only adds X homes!" X is better than zero. They're also generally trying to add them near downtown and public transport.

"It will bring more people to the area!" I don't have the numbers on this, but I suspect this is largely a red herring. Anecdotally, several of my friends have left the area, many still live with their parents after graduating, and my girlfriend wants to leave.

"They're only building luxury apartments!" So? It means more houses. It means all the houses get more affordable because supply is trying to meet demand.

"But the town will be so different!" Different than when you grew up in 1965? It's already different. And it's trash. It'll be different from now and it will be better because it will actually be meeting our needs.

"But my property values!" Just kidding. No one ever says this, but they all mean it.
How to Use Web Speech Synthesis
> I don't know that using an Asian bank for the study is going to give you results that translate at all to the western world. Very different business and interpersonal cultures.

This is by the way how most online studies look when you’re not in the US. The incredible amount of studies done in the US but presented as general facts about humanity is staggering.

It’s of course because US researchers make a ton of valuable research, it still makes it super weird when Japanese magazine rely on US results for psychological studies for instance.
> And the absolute worst, is when a man gets it into his head that he despises a women (usually for speaking up to him). There's no end to the retribution.

s/a woman/an employee/

I’ve seen more male careers hampered by vindictive bosses than female.
you can use a tool like snap or appimage to pull down the newest full release of your software.. at least then, all the dependancies are 'bundled' into the image, and your not having people go randomly install crap from around the internet with no real way to update.
Confirmed, yardie's definition is straight up wrong.

EDIT:

It's worth noting that the collateral is usually government bonds (this is called "general collateral", or GC), with bonds from quasi-government bodies like Fannie Mae or the World Bank being the second most common kind.

One way to look at repo is that it's a way for companies with a big stock of bonds (eg banks) to pawn them to borrow money. This is usually the cheapest option for them to borrow money at scale, and so the repo rate is seen as an indication of banks' financing costs.

Another way to look at it is that it's a way to buy government bonds on credit - you can buy a bond and then immediately repo it, using the money you've borrowed to pay for the bond. You have to pay the interest on the repo until you sell the bond and pay it back, but you never have to come up with a big pile of cash.

I have no idea which use case is more common.
> may be criminal fraud

I can't say it isn't, but I also can't think of a specific reason that it is.

Payment processing uses address information for two main purposes: (1) determining sales tax jurisdiction/amount and (2) as an authentication factor (along with card number, CVV, and name).

In any normal purchase, giving a fake address could cause you to pay the wrong amount of taxes and/or taxes to the wrong people, which would be a legal issue. But this is a charitable donation, so that doesn't apply here.

The authentication thing is probably OK, too, since you are an authorized user of the card. You are giving wrong information, but not in order to gain access to something you're not supposed to have access to.

Maybe there's some other reason, though. Also, giving a fake address might violate some kind of agreement with the card company, although I kind of doubt they care if it doesn't cause them a practical problem.
I wouldn't put having a chauffeur in the same category as flying private. Sure, having someone else drive you around allows you to make phone calls, check email in the back seat. But flying private allows you to set your schedule and not wait around for the next flight out.

There is a video (and I believe it's linked in this thread) about a Walmart exec visiting stores across the country. It's likely in some small to medium sized town with a regional airport. If they meet with the team from 9-12 and the next flight out isn't until 5pm, they are wasting that time waiting. Instead they fly their plane in, meet, fly out at 12:15 and are in the next town with the next manager in 45 minutes.
Well there's a difference between having kids and staying at home.

Even so, you can still point to the discrimination being traditional gender roles, where women are the ones who typically stay at home. Or even to the economy itself; we don't value raising kids as much as we value rising through the ranks of management at some cooperation.
How to Become a Data-Driven Product Manager
Ninja is an optimized back-end for other build-systems (including but not limited to CMake). It's not really intended to be used directly.
Ask and you shall receive:

https://youtu.be/opSuHFpeZKA

https://www.youtube.com/watch?v=PP8SVeSZKVg

https://www.youtube.com/watch?v=VMT60zd1dkE

https://www.youtube.com/watch?v=aF9J9dc8UYw

https://www.youtube.com/watch?v=Kt8jxBig3wc

This one is really intense:

https://www.youtube.com/watch?v=4WzTh9l3mrQ
Ask HN: No Love for Stackdriver?
My team loves Prometheus. It's scalable and versatile, but it's costing us quite some time to keep it running and scalable.

Since our company is moving towards GCP / GKE, Stackdriver might be a good alternative which might free some precious time on our metrics and logging stack.

However, I can't seem to find the same love for stackdriver as for prometheus. How come? Why is there seemingly no love for stackdriver?
Awkward perhaps, but when would you ever run into it?
The new slab memory controller in Linux kernel
My grandmother grew up on a ranch. It now is mostly family cabins, but the original cabin is still there with the original hand cranked washer. One summer we spent a month there and had to do our laundry by hand and then dry it on the line. It gave me a great appreciation for modern washers and dryers.
comedy?
“In 2009 Paul Volcker, berating a banking industry that had taken finance to the brink of disaster, quipped that “the ATM has been the only useful innovation in banking for the past 20 years”.

From:
https://www.ft.com/content/052f9310-5738-11e7-80b6-9bfa4c1f8...
AR Funding Exceeds $1.3B in 2019
Want to fight climate change effectively? Here’s where to donate your money
For issues such as this, results in either direction will make some people uncomfortable or even angry. Some people will be enraged by the suggestion there is systemic bias against women, while other people will be enraged by the suggestion that there isn't. This is what makes the issue a "hot button" or flame bait issue.
I think you missed the key difference where men don’t nearly as frequently drop out of the workplace to have them.
Just because we're currently well paid doesn't mean we wouldn't benefit from a union
>I think this is a very bad idea safety-wise. Aviation with small planes has a lot of risks .... Just in the last weeks there have been several crashes in the US, some covered by the media.

A lot of famous people have been killed in small-plane crashes. If we could go back in time and keep musicians from flying on private planes, just imagine how different music might be now: Buddy Holly, Randy Rhodes, Stevie Ray Vaughn, Lynyrd Skynyrd (band members), Rickey Nelson, Ritchie Valens, just to name a few.
> Repo rate is the rate at which the central bank of a country lends money to commercial banks in the event of any shortfall of funds

That’s the discount rate. Repo rate is the rate of borrowing under repo agreements. Both private and monetary participants repo.

What’s a repo? Secured borrowing. Imagine you want to borrow $100. I quote 2% interest for one year with collateral. So I give you $100 and you give me a claim on your computer monitor. In a year, you give me $102 and I release title to the monitor. If you fail to pay, I get the monitor. This is traditional secured borrowing.

There is risk, though. You could trash the monitor before I get it. Or you could refuse to co-operate with my requests.

Here’s another way to structure that loan. You sell me your monitor today for $100. You further agree to buy it back from me (and I agree to sell it) in a year for $102. When things work, it’s the same transaction as above. When they don’t, I already have the monitor.

That’s repo in a nutshell.
Right, if we consider O(n) "ideal" (for many domains, this is true), we can consider processing per item as a more convenient metric. If you go above, say, O(log n) processing per item, you're in trouble proportionate to the unintended success of this portion of the code. Very easy to write a sloppy utility with a nice API, only for it to be 'the perfect fit' for someone else's tight deadline, become an idiom in the code, finally see a 10,000 entry example much later
Given that the placebo effect is a well-documented meta-effect, to what degree can we suggest that any particular weak psychological effect is real and not placebo? This is not rhetorical; to what degree do you believe that psychology even exists as a reasonable experimental science? The main lesson of these meta-analyses and examinations of statistics is that we cannot trust our minds to be honest.

Your failure to be cynical in the face of ever-mounting evidence is a clear sign that you are failing to show the skepticism demanded of sincere scientists. From [0] linked upthread:

> This means, presumably after about Jan 1st 2025 utilizing willpower will increase the available resources to utilize in willpower tasks. This in turn will require us to hold back from utilizing our willpower in order to prevent exponential amplification in a loop… However, holding back from utilizing willpower itself requires willpower, leading to actually super-exponential ego growth. Shortly after midnight Jan 1 2025 all humans will vanish in a blinding flash of pure ego.

Clearly something is wrong here; clearly ego depletion, as described by the literature of psychology, does not exist. (Or I am about to write a lot of code in the next few years!)

The thread-starter you are criticizing was obliquely referring to several well-known failures of the psychologist community: power poses [1], priming [2], and more beliefs about food than you knew you ever held [3].

As somebody elsewhere says, the point is indeed that perhaps it's all rubbish. Do you have a coherent reason to believe, or is it something taken on faith?

[0] https://statmodeling.stat.columbia.edu/2019/11/19/break-out-...

[1] https://en.wikipedia.org/wiki/Power_posing

[2] https://www.nature.com/news/nobel-laureate-challenges-psycho...

[3] https://en.wikipedia.org/wiki/Brian_Wansink
How about the code written by Backblaze (cloud storage and backup company)? https://github.com/Backblaze/JavaReedSolomon

Is it comparable?
Web Development in 2020 – A Practical Guide Course List
Browser Functions: A new serverless platform
I use it mostly so when I come back to the project after months, the Makefile is a reminder of how to build it. Also autocompletion.
The flip side of density increases is the changes in culture and required increase in shared resource organization.

I’ve lived in NYC and in the country. You can’t simply increase housing density and have it work. You have to learn different ways to interact with people. You have to create shared transportation and parks infrastructure. And you have to admit there are trade offs.

You do lose a lot when moving toward very high density cities. The night sky. Quiet. Calmness. Yards.
"Back in the day" this wasn't even a consideration. It's only been very very recently that people have started thinking about plastics breaking down and going into the water system.
And probably completely irrelevant if managers know the person to be promoted directly. You don't rely on biases, you rely on the info you have on that person. Maybe relevant in huge companies, but I would doubt that too.
Earning Thousands by Solving the Wrong Email Problem (Part 1)
If your model can't be used to predict things in reality, then what good is it? If I throw a feather down from a rooftop and then I let a brick fall down, the brick will hit the earth first. The heavier thing falls "faster".

You can use a bunch of words to explain what's really going on there, but it won't change that the brick hits the earth first, hence it falls faster. Unless you can predict the future correctly and communicate this simply to your peers, what's the point of being correct in the terminology?
The company I work at is considering this as part of a pretty big shift in our infrastructure. Beyond the obvious upsides, what cost do they come at?
Maybe.

But he did make a fundamental scientific discovery. He proved that snakes and elephants cause Gaussian distribution.
Regardless of which side of the fence you're on, what's considered acceptable is just a matter of cultural norms within a given context or group of people at a specific time. If you don't agree with that cultural norm, then you're "the bad guy".