Better HN
topnewbestaskshowjobs
Log inSign up

quicklime

2,911 karma · joined Oct 19, 2016 (10y ago) · 544 submissions

Submissions

comment 6y ago · link · parent

Yes, you're right! It should say "water" instead of "salt"...and it's too late to edit now.

I too have a hard time with the percentages - it's a ratio against the weight of the flour, not a proportion of the entire dry mass. I guess that's why they call them "baker's percentages", as opposed to "the common understanding of percentages" :)

comment 6y ago · link · parent

Grams have become kind of standard for baking, even in the US.

I think this is due to the use of "baker's percentages", which specify the weight (not volume) of all ingredients in terms of a percentage of the weight of flour used. So for example, "3% salt" just means 3 grams of water for every 100 grams of floor.

It's a lot easier to do this using grams uniformly, than some mix of lbs, oz, cups, tsp, etc. The system really takes advantage of the ease of conversion between units in the metric system.

But the oven temperate doesn't change even if you add more flour, so there's no need to do any scaling conversions for that. This let's people get away with using antiquated units for temperate.

comment 6y ago · link · parent

If you care about privacy, you might not want that app installed on your phone. It's been covered on HN before, but the app sends information about what you're listening to back to Bose.

comment 6y ago · link · parent

I don't think it would solve the problem for everyone in those groups, but it would for some. I'd be very surprised if it didn't move the needle.

Also, there's another group that seems to have trouble turning out, and finds digital stuff perfectly accessible: young people.

comment 6y ago · link · parent

Because it would increase turnout!

I'm against digital voting systems for security reasons too, but hypothetically if that problem were solved, the increased turnout would be a good thing.

comment 6y ago · link · parent

Maybe the conscious experience of emotions is the neural response to the chemicals? In other words, the chemicals are just one way to provide an input to the ball of neurons. If the chemicals aren't there but some other input mechanism is, it could generate an experience of suffering.

comment 6y ago · link · parent

Having it on the dash rather than the steering wheel also allows the passenger to operate the controls, which is probably the safest way to do it.

comment 6y ago · link · parent

The outage itself might not have been caused by anything related to the pandemic, but the resolution is likely being done by engineers adjusting to working from home.

comment 6y ago · link · parent

A lot of countries did a poor job of the initial handling of the outbreak, which is why we're in this mess right now. If we're going to demand reparations from countries for a cover-up and exacerbating the situation, it shouldn't be limited to just China.

comment 6y ago · link · parent

I don't understand why you think that. Can you explain why having many release branches is harder in trunk based development?

In a previous job, we would just cherry pick bug fix commits over from master to all the active release branches. It wasn't hard.

comment 6y ago · link · parent

Trunk based development, as described at https://trunkbaseddevelopment.com/, can be used with release branches, where bug fixes can be back ported to.

Are there any reasons at all for using git flow over trunk based development with release branches? The latter seems far simpler but just as flexible.

comment 6y ago · link · parent

If I've calculated correctly, this service costs $1100 per ton. A flight from New York to London emits about 1 ton of co2.

The site talks about averages, but averages can be deceiving. Most people don't fly, and those that fly fly a lot. If you fly, you should probably try to overshot the average (by a lot) when you offset.

comment 6y ago · link · parent

Now that language servers (https://microsoft.github.io/language-server-protocol/) are a thing, the code completion in terminal-based editors like vim and emacs can be just as good as what you'd get in an IDE.

comment 6y ago · link · parent

From a privacy perspective, is that really that bad? You've got a bunch of other people's clicks messing up your marketing profile. This might even be a good thing, because it pollutes the dataset that the adtech people are using, which makes the trackers less useful.

So here's a feature suggestion: instead of removing URL parameters, replace them with a randomly-generated value. Be careful to use the same length and character set (e.g. replace a hex id with only hex digits).

And also, set DNT=1.

That gives the digital marketing people an incentive to respect the DNT header, and an easy way to maintain data quality.

I think that this is a better strategy than blocking trackers and "cleaning" URLs. It shifts the economics of web tracking, which short of legislation, is the only way things are going to change.

comment 6y ago · link · parent

> "I'm going to remain silent. I'd like to see a lawyer."

On TV shows, the guy would then call his lawyer, who is under a retainer or something. The lawyer has all the context on exactly what's going on, and tells him exactly what to do, and he gets off free.

But as someone who doesn't have a lawyer, what exactly happens if and when the cop agrees to this?

Are they obligated to provide me with a lawyer? Or do I need to know one, or know how to find one? Do I need to do this while detained or do I have some time to do it?

comment 6y ago · link · parent

I'm not an American, but I think that France should be a melting pot because of its colonial history.

Many immigrants in Paris who "don't look French" are from former colonies that still speak French to some extent. Keeping Paris white would be denying part of France's history.

comment 6y ago · link · parent

I've never heard anyone say that either, but it's not uncommon for O(n^2) algorithms to creep in and cause problems. Sometimes these issues don't actually "bring the site down", but still cause headaches. In my experience, I end up finding and fixing a problem like this about once per year on average, and I've been working as a software engineer for about 10 years.

comment 6y ago · link · parent

I've never seen the motd come up on my laptop. When I open up a GNOME Terminal, it doesn't print the motd by default. I've only seen it when I ssh into another machine, or log into a console. If this is supposed to be phoning home for analytics purposes, isn't it missing a big chunk of data?

Also, wouldn't apt be a much better source of analytics data? Yes, there are apt mirrors which aren't controlled by Canonical, but most people would be hitting ftp.{countrycode}.ubuntu.com, or at the very least be downloading http://mirrors.ubuntu.com/mirrors.txt.

comment 7y ago · link · parent

That's what I was thinking when I read the article.

When I worked at Amazon, everyone worked out of the same repo(s), used the same build system (Brazil), deployment system (Apollo), deployed to the same place (EC2), most APIs were written using the same framework (Coral), etc. This is not that unlike the other large tech companies, and now that I'm back at a large non-tech company where everyone builds their own slightly-incompatible tools and deployment pipelines, I do miss that standardization.

Sure, some people chose to use different tools here and there, but most people wouldn't choose to reconstruct the universe just to stand up a microservice. It's not like all the "two-pizza teams" were all doing completely different things with incompatible tooling.

It's been a while since I worked there, so things might've changed completely since then. But as a shareholder, I hope not.

comment 7y ago · link · parent

Not that I think this is happening, but in theory they could bump up the averages and use that as ammo the next time they're negotiating their compensation.

comment 7y ago · link · parent

If I'm not mistaken, this is basically template metaprogramming, and you're going to get your answers at compile-time (which means your inputs are also locked-in at compile-time). For applications that, for example, get the countries and/or colors from a user or database at runtime, wouldn't it be better to use a constraint solver library instead?

comment 7y ago · link · parent

I've been using http://ftp.debian.org and http://archive.ubuntu.com for the same purpose. APT mirrors provide GPG signatures for packages, so they don't usually use HTTPS.

There's no guarantee that they won't move over to HTTPS in the future though, so it's nice to know that NeverSSL exists.

comment 7y ago · link · parent

I would've liked it if they had included scrollbars outside of the common GUI toolkits. For example the type of scrollbar that can be found in editors like Sublime Text or VSCode, which is basically a long thumbnail of the document.

comment 7y ago · link · parent

I don't know PDP7 assembly either, but I don't see how it could stand for "previous directory" (and be equivalent to today's `cd -`). Any command to change directory needs to be done in-process by the shell, so it would need to be implemented as a builtin, not a standalone executable.

So "print directory" or (print something about the) "parent directory" seem more likely to me.

comment 7y ago · link · parent

Eco-conscious westerners would do well if they took some lessons from Japanese daily life - the per capita carbon footprint in Japan is about half that of the US, despite all the extra documents they print at work.

comment 7y ago · link · parent

Is it not possible to create an ad network that only supports static targeted ads? The ad network itself can run its own JavaScript, but I don't see any reason to allow the advertisers themselves to run scripts inside ads, other than to make the ad look a bit flashier and interactive.

comment 7y ago · link · parent

I took it as the first map is of the stereotypes that led to the term "alcohol belts", rather than just stereotypes from an individual Wikipedia contributor.

The second map doesn't show any "belts", and is showing that the concept of alcohol belts doesn't match actual consumption.

comment 7y ago · link · parent

777 of the most popular kanji from general Japanese might not be useful for work emails, but if you find the top 777 from a corpus of your own emails, it might be.

It's not hard - I've done this before using a corpus made up of work documents. There's a part-of-speech analysts tool called mecab that gives the word stems, and makes it easy to find word boundaries (since Japanese doesn't use spaces).

The output went into Anki and it didn't take long before I was reading emails and documents at work fairly easily.

comment 7y ago · link · parent

At least some trees seem to be marked with:

> This source is private but may overhang public land. Pick with discretion.

But I also wouldn't be surprised if some cities spray trees on public land.

comment 7y ago · link · parent

Maybe, but don't Ubuntu and Debian also come with GNOME as the default desktop?
1
141516
19