skysight-inc/HackerNews huggingface dataset:
> However, you claimed restricting one from killing another is for the benefit of the one. Not so, rather it is to prevent undue harm to another.

I'm not really sure what you mean, I think we're in agreement here. I said:

> preventing people killing each other - that also is restricting other people, for the benefit of the others.

--

I'm not arguing that your views are wrong or unethical, just that they can't stand on natural superiority, it's all up for debate, it all impacts others.

(Drug use absolutely impacts others beyond hypotherical tax paying for rehabilitation - there's potential for anti-social behaviour, littering, and smell/noise/etc. in public spaces. I'm not making a judgement on whether that should or shouldn't be available for individual choice, I just don't see that it's ultra vires for a legislative body to rule on it.)
I agree that our tables are inconsistent for E2 (I sent an email about this internally, we'll try to get it fixed).

tl;dr: You did calculate it right. $10.3/vCPU/month x 2 vCPU + $1.34/GB/month x 8 GB for a 1-year commitment aka $30.78/month (and $22/month for a 3-year commitment). All of the predefined shapes are just "how many vCPUs times $/vCPU + how many GBs times $/GB".

Ignoring the lack of columns for commitment pricing in the predefined shapes tables (which some instance types have and some don't... grr), I want to explain the reasoning. One thing that's different for GCP vs AWS is that we actually don't have a SKU for e2-standard-2 or e2-standard-16. We instead do "Resource Based Pricing" [1], and there's only "E2 Instance Core" and "E2 Instance Ram" or whatever.

So if you have 100 e2-standard-2s and 100 e2-standard-16s running for a month, your bill will have two line items:

- 1800 vCPUs times 2.6M seconds of Predefined E2 vCPU

- 7200 GB times 2.6M seconds of Predefined E2 GB Memory

The price for E2 is apparently the same ($10.03/vCPU/month) for both Custom vCPUs as well as Predefined vCPUs [2] (meaning the price for your vCPUs is the same whether you make a custom E2 with 8 vCPUs and 29 GB of memory, or use an e2-standard-8 which has the same 8 vCPUs and 32 GB). Memory is the same (your $1.34/GB/month for a 1-year commitment).

Hope that makes sense. We'll try to improve the docs. Sorry.

[1] https://cloud.google.com/blog/products/gcp/announcing-resour...

[2] https://cloud.google.com/compute/all-pricing#e2_machine-type...
And it especially doesn’t make sense because resolving to the same IP on the server right now doesn’t guarantee it will resolve the same on the client, or even on the same server in 15 minutes time.
Yeah so where are the remote workers for In-N-Out that are inflating the list?
That's fair to say I guess - but it should be accompanied by some other property to indicate a condition like that.

The API I'm thinking of though was effectively a wrapper around a database query which retrieved items.

That's what gets me about that decision you see. When you get nothing from a database, you get an empty set. The runtime was some version of .NET Framework, which by default would write an empty set as an empty array. So it wasn't even an accident - someone actually had to add extra logic to make it return null.
I did not add the question mark. Take it up with the site admins.
More opaque pricing... awesome.

As someone who just setup services on Google Cloud, I could not be more disappointed and outraged at their billing and performance. It's outrageously high for even small services (and I'm comparing it to Heroku of all places), and the documentation is even worse. Yes, there are examples but the docs are outdated, and make it almost impossible to relate what you're paying to what you're doing until you get the bill.

The $300 credit promo they offer is a joke, it's not $300 in the sense you'll get to try it out, it's that you're likely to rack up at least $300 is bullshit charges before you're even aware...
No I mean in the config file example the PREFIX is set to a static path including a user directory. This means if anyone checks out the config file and tries to run it the path will not exist. Is there an override somewhere that provides the desired prefix at a user level? Something like ~/.condarc or /etc/condarc?

Ideally I would set the prefix for Conda for myself only once (~/.condarc?) and the source controlled config file would then extend that config.

I would expect the conda config file in a project to say nothing at all about the prefix unless it is relative to an existing prefix I set elsewhere.

This way I don't have to manipulate my environment and edit config files every time I run conda.

I should probably just RTFM.
'Best place to work' is different from 'place I chose to work'. Indeed, money sweetening the pot signals that a job isn't at a place that people want to work.

In theory, a place could be so great to work at that people would pay to be there. That would be negative pot sweetening with money.
I'm not sure what you mean by 'invisible'. Notice that I make zero claims of reducing complexity. Layers are only a way to manage and stage complexity.

I responded to tooling questions at https://news.ycombinator.com/item?id=21766557#21767393
I read it all. Mistakes were made due to inexperience. Lessons should have been learnt. Wiser should he be by now.

Being aware of enterprise politics and learning how to play them will give you the opportunity to really impact the business.

Never be the guy who says:

1. "nobody does this in the enterprise"

2. "we are doing all of this wrong"

3. "we need to start from the beginning"

4. "my manager is wrong"

Whispers and grabbing coffees with people are much better weapons than being the one that always brings the harsh truth into the meetings.

Beware: pointing fingers to a colleague or your manager to upper management is telling them that they are not making their job good enough, they are not noticing things, and since they tend not to fail and to notice everything, the failure must be you.
Thanks for sharing. Sounds like a useful project.

> don't make records on search warrants even remotely easily available to the public,

It seems like the right reform would be for all approved search warrants to be automatically posted online one year after issuance.
Can someone explain this to me with beans? Like, let's literally count some beans...
The difference is that humans are capable of manipulating their environment to fit the climate.

We're the only species on the planet that lives in both 100+ degree deserts and frozen wastelands.

As long as it's still possible to grow crops, humanity will survive.
> Using a car salesman as your source of info is honestly pretty dubious for any car

You could pretty much replace both instances of "car" with anything and this would be equally true.

Conversation I had years ago:

$boss: Please do $job using the new $overpricedpieceofcrap.

me: Sorry, $overpricedpieceofcrap can't do $job.

$boss: But $guy1 and $guy2 said it would do $job.

me: $boss, those guys are salesmen.

And suddenly $boss was enlightened.
> Ignoring the lower pay, the pizza place wins more often than you'd think.

It only wins because you're excluding some of the most important criteria. Stay at the pizza place for 12 years and see how you feel about what has happened to your life and well-being. Did you buy a house? No, you couldn't afford one. Did you get married and have a family? No, you couldn't afford one. Did you have amazing health insurance? No. Did you save anything for retirement? No, your bills are pretty close to your wages and the pizza place provides squat for benefits.

The only way the pizza place wins is if you work there for a short amount of time, otherwise entropy will particularly badly eat away at you (in every regard). Low paying jobs are brutal on people over long periods of time, living at the line of existence perpetually is very harsh. You can't fix things that break, you can't acquire values that you want.
You can just go to their calculator (which I find much better than the AWS one).

Here it is with the 1 year committed use: https://cloud.google.com/products/calculator/#id=79186cdb-18... ($30.82/month)

3 year committed use: https://cloud.google.com/products/calculator/#id=afd446fc-74... ($22.01/month)

And here without: https://cloud.google.com/products/calculator/#id=3ff5d861-75... ($48.92/month)
No always though. At times and in some markets it has been others like Yahoo
> Are you thinking of something like Ruby's modules and `include` directives?

Unfortunately I'm not very familiar with Ruby, so I'm not sure

> Is there a reason the editor has to do this rather than the language?

The language would definitely have to support it (though maybe you could accomplish something similar with annotations and/or special comments in an existing language), but without special editor support you wouldn't gain much from it. Your constructs would still be scattered across files in ways that make compromises. Whereas editor support could pretend the files don't exist at all.
An architecture is good if it is serving your business’ needs. My company makes $13 billion a year off of garbage architecture. If we completely re-engineered it to be perfect, we’d probably still make the same amount of money, it would just cost us hundreds of millions of dollars to do it (actually, we tried and wasted about $300mil).
Cars are not airplanes. Electric cars are much heavier but weight isn't a big problem on the road. That's why they work, and they're still catching up to traditional range expectations.

With airplanes, you have to lift that weight using the same energy stored within. In that case, energy density is the absolute issue. Nothing else matters.

There's no magical solution, a high-school physics class will teach you how to calculate the potential energy requirement to lift up a certain amount of weight, and dividing by energy density and volume of current battery tech does not lead to a working jet any time soon.
> An operation is idempotent if performing it multiple times yields the same result as performing it exactly once.

And then he casually offers an API that does different things on first and second call as the "good" example. If you have a "create a virtual machine" API it better create a fucking virtual machine. If I call the damn thing twice, I expect to have two VMs. If there is some sort of unique argument like create a named VM, I would expect API to throw an error if the name is already taken, no to just return like everything is normal.

And this guy is being all snarky about API design?
> Basically you're saying people shouldn't work there because they'd have to live around poor blacks instead of high rise condos with rich whites.

> South ATL isn't all bad but your implied racism is.

He didn't say anything racist! This is a baseless attack.

I wouldn't want to live or work in college park either. It has one of the highest violent crime rates in the entire state [1].

The parent poster even mentioned working around midtown, which is incredibly diverse.

Don't be like this. It's harmful to our community. Even if you did think he was racist, there are better ways to approach the issue than with venom.

You don't even know this person's race anyway. Way to assume.

[1] https://www.neighborhoodscout.com/ga/college-park/crime
I don't think it's "greed" to want to work as a software developer instead of flipping burgers (I've done both). However it should probably raise some eyebrows in Google management (among others) that a company in an industry known for slim margins and low pay nonetheless manages to have happier employees overall.
Each passenger has a 0.0002% chance independently as the risk was measured per flight and not per person. Each person on a flight has an independent chance but the effect is to all passengers.

You can divide that way to yield the risk per passenger, but multiply back out to obtain the per flight amount which is what’s relevant given the group impact.
I don't really consider those 'mainstream news', I've only heard of zdnet - I thought boingboing was a public WiFi hotspot provider.

I primarily mean newspapers. The Times (of London & New York), The Guardian, but Bloomberg too.

The story is probably a wider point about the fragility of online information, for which this is a mere significant event, but without that happening I just don't see the give-a-shit count increasing.
It's certainly interesting, and I didn't mean to pre-judge too strongly. I definitely think we're at the point where we need some new ideas around this stuff, and probably any new ideas at this point will require some kind of special editor assistance, so yeah, I get what you mean in that regard.
> On the other hand, if you had been having ongoing discussions with your boss so everything was out on the table, and just weren't getting anywhere with your boss, then you could mutually escalate it in a productive way, working together to request some higher-level assistance.

Your optimism is refreshing.

Escalation is basically a waste of time. At that point, you need to have your ejection position set up anyhow, so you might as well just leave and have all the offending idiots still think you're a "great dude" who just moved on.

If you have an effective external social relationship higher in the power structure, then you're better off just getting the offending manager removed behind the scenes.
A new tool for mutation testing
Here’s my shot: satisfaction of work performed and stress levels at the end of the day—even if considered relative to remuneration.
As is always pointed out here wealth and income are two different things. Catholic dioceses are independent financial entities but even the nation-level parts of the Catholic church are fabulously wealthy with real-estate and art work and other assets of significant value.

The Catholic Church of Germany is worth an estimated $25,000,000,000. The Catholic Church of Australia is estimated to be worth around $20,000,000,000. Opus Dei which is a weird Catholic-supremacist group is worth $2,000,000,000 alone. The wealth of the Vatican is unknown and likely far far higher.

https://en.wikipedia.org/wiki/List_of_wealthiest_organizatio...
Simple and fun to read + you build full game console and games for it. Has more practical knowledge than my full undergrad degree in Computer Engineering:
https://www.amazon.com/Black-Video-Game-Console-Design/dp/06...
Can you talk a little bit about your infrastructure and how you manage that?

I'm also very interested in the distributed filesystem you mentioned as item 5 in the post.
You’re not reading the metric right. You’re trying to make it a statistic about what the best place _for you_ to work is, or for _a given position_. This is a metric that would describe overall happiness in different workplaces. There’s no problem measuring this across company types or position types, it’s speaking more to culture anyways, and if you want a different metric, you can totally find it elsewhere.
Public sharing of REPLs for anyone even without an account is just awesome. Gitpod or anyone else that I know of doesn't offer this.
A)Why wouldn't you?

B)That's why you do backups. (In the same vein as RAID is not a backup, IMAP by itself isn't one too).

An easy way to do that is to have an IMAP client on another machine that you sync manually.
It's great in my terminal editor. How many people use a browser at that width? If they do, guess what, it works anyway because it's a relative width. Why force (such a small) maximum?
The coverups didn't just protect the church and it's reputation though, they facilitated more child abuse by moving the abusers around.
> Businesses are allowed to impose a surcharge on credit card purchases made on Visa and Mastercard, under a court settlement that took effect in January 2013.

https://www.creditcards.com/credit-card-news/what-are-my-rig...
I set a Firefox UA (the default one available in Falkon's UA chooser) and it worked and I could log in.
This has bitten me. I inserted two URLs into a set. Then the set contained one item, so I tried to debug the set.
This is ignoring the obvious power imbalance, because your boss can fire you.

I completely agree that you should try to communicate openly whenever possible, but let's not pretend like it's a level playing field. Of course, if the situation is so bad you can't talk openly with your boss, I'm not sure how much you're really losing by being fired (assuming you are able to find employment elsewhere, as is often the case for engineers today).
But it goes against the Biblical model of a pastor being a tentmaker (as Paul was, recorded in Acts) and often the pastor has a significantly higher wage than much of the congragation, which opposes the commonality taught in Acts too, IMO. Having a separate paid pastor also moves towards the idea that the pastor has a special place wrt to God, which again opposes New Testament teaching.

My current pastor, until his retirement worked for a pharma company, he was a drug dealer! (Medicinal and legal drugs, of course).
Maybe I'm being cynical, but I'm skeptical that whatever "open standard" Twitter is working on will achieve that utopian future you're dreaming of. In practice, I think the vast majority of people won't even know it exists and will continue to exclusively use their preferred platform (Twitter, Facebook, whatever) despite all the issues with it. The idea of being able to move all of your content to another social network at a whim, with all your connections undisturbed, is (IMO) simply never going to be something that your average user does, no matter how technically feasible it is.

Hopefully I'm wrong and I'm not giving enough credit to social media users in aggregate.
the layout and typesetting on this looks good in Firefox 70!

view-source:https://ourmachinery.com/files/guidebook.md.html

<meta charset="utf-8" emacsmode="-- markdown --">
Could you write something more on metaprogramming in Python ? And how does this compare with Lisp, what do you use it for ? Any good resources to learn this ?
Buy a domain name, point it at Enterprise Business Inc.'s server, submit a link using your domain to a form the operate which does a

if (internalURLs.contains(submittedURL)) {

check. Then change your DNS records to point to some other server, once your domain is in their database and they assume it to have already been validated as internal.
Not just a name, but a whole collection of essays characterizing modern corporate life. And you just managed to summarise its takeaway very eloquently in ordinary, everyday language.
Disclosure: I work on Google Cloud.

I don't wanna distract from the E2 launch, but we definitely have gotten the message on all of those and they're at various stages of in-flight / complete. As an example, Policy Documents should let you do prefix-based matching for GCS: https://cloud.google.com/storage/docs/xml-api/post-object#po...
My first thought was "XKCD 463"
I stand corrected. I should have said: "< 30 days... As far as I know, the majority of hostels in most large metropolitan cities where rents are expensive and therefore lower income normal people might choose to forego having a kitchen/bathroom". At least that was my experience many years ago when I was younger and stayed in hostels in NY, LA and a couple of other places where they had explicit signage that clarified the point.
I only ever use internal APIs at work. I've never used anyone's external APIs and am wondering if there's a whole tech ecosystem I'm missing out on. What are some commercial use cases you all have had?
Right but plane is not the only thing that matters. For instance Allegiant has no 737s (only Airbus equipment) but one of America’s worst safety records. Take care you’re not cutting off your nose to spite your face. Policy, training, hub locations, safety culture all matter too.

Your approach also fails to take into account the non-uniform distribution of accidents at take off and landing vs at cruise, so if you take a 3 stop itinerary on an Airbus-only airline with a worse safety track record, you may be at more risk than a nonstop on an even unpatched MAX.

[1] https://www.google.com/amp/s/www.mcall.com/business/transpor...
Estimated $64M loss as SF street conditions and costs drive out Oracle OpenWorld
Kena.ai – an AI-based music platform to learn, practice and compose music
http://kena.ai/opus

Kena Opus helps discover your unique musicality by sharing skills on the platform with other musicians. Additionally, the platform helps in automating several activities by auto journaling practice sessions, auto-tagging the keys and scales, genre classification, auto transcribing music, auto accompaniments, and cataloging. This works for any instrument and genre.

Early signups get a year's subscription for free! (worth 120$)
The whole 'kirchensteur' thing has me pissed of to the nth degree. What other private entity has managed to get the government to do their subscriptions collection for them based on the amount the person earned? It's beyond ridiculous.

Churches should pay taxes, not use the government to levy their tithe as though it is a tax.

In Germany and a bunch of other EU countries this phenomenon exists as well:

https://en.wikipedia.org/wiki/Church_tax

The sooner this is abolished the better.
Yeah you compare your intended state for prod to what you currently have on prod, and generate the differences.

It's still a "migration", the difference is it's generated from a direct comparison to production rather than a crude reconstruction of the database's history.

Checking production directly is much more robust (more testable, changes made outside the context of the migration tooling are no problem) and simpler because it you don't need to maintain a historical migration chain - there's only ever one migration script to consider.

And using a diff tool directly on the database means you can support database features that aren't directly supported by your ORM.
Some car companies actually don’t want you to buy certain models, believe it or not! The Chevy Bolt was hard to get a hold of because Chevy just had it in their line up for regulatory reasons - they had no interest in actually selling and servicing these cars, it was more expensive than what they’d get for the sticker price, so it was purely to meet emissions regulations on paper. Certain luxury brands will not sell you the “base” model of a car because they don’t actually produce them, they’re just there to be on paper for marketing.

So in reading about this trouble with the Mach E, I can’t help but think that it’s just there to get you in to the dealership to buy the thing Ford actually wants to sell you; a Mustang GT or an F150.
Frankly, it's just a pattern I've observed from playing with numbers myself. I'm unsure how to explain it properly, and I have no academic sources to point toward. You can probably find a better explanation somewhere in an article on optimization problems.

The intuition is that (e) is the optimal water-level when limited water is distributed among a variable amount of buckets where all the filled buckets multiply each other. Alternatively, it's like how volume() is maximized where

volume(x, y, z) = (x y z)
const = (x + y + z)

when (x = y = z). Except in our original situation, the number of dimensions is arbitrary instead of fixed.
It depends on the company. Often the best thing to do is fire back without escalating. With someone like that junior sending an email like that without first talking to someone is a good way to get fired or put on a PIP depending on how long they’d been with the company.
If you have the regex, you'd use it to generate candidate strings. Then, of course you don't have to check any more.

For a more complex regex, you could resort to a simplified version (eg, with larger search space). But the space of all random strings is way too huge to just generate random bitstrings and hope they match the regex.
Prematurely optimizing for death by a thousand cuts is what you're proposing.