Better HN
topnewbestaskshowjobs
Log inSign up

Denvercoder9

5,570 karma · joined Oct 5, 2013 (13y ago) · 1,210 submissions

Submissions

comment 4y ago · link · parent

> decent terrain for a mechanical warfare rush, and local support from Kuwait and Saudi Arabia

This applies to Russia in Ukraine as well. It's mostly flat plains, Russia has support from Belarus and is a direct neighbour itself.

comment 4y ago · link · parent

Why not? It's usually the lowest cost (in money, materiel and bloodshed) option for both sides, so it doesn't seem a bad first option. Of course it's unlikely to happen, so you should be ready to execute a plan B.

comment 4y ago · link · parent

> One thing I understand about Western European culture is that they will never tell you no outright as it is rude to do so. Any sort of hesitancy is to be construed as a no and unlike America/East Germany or Scandinavian countries tough to get a straight answer most of the time.

This is a ridiculous overgeneralization. If you compare e.g. the Dutch with the Southern U.S., you'll find the Dutch are much more eager to directly tell it how it is.

comment 4y ago · link · parent

Regardless of the nuances of what "carbon negative" exactly means (and I agree it often gets misused), everytime we move a process off of using coal/oil/gas and onto using carbon that's already in the atmospheric cycle, that's a win in the fight against climate change.

comment 4y ago · link · parent

Does 10-minute-delivery offer value over next-day delivery in that situation though?

comment 4y ago · link · parent

Requiring a unique file for every installation is not always feasible. Consider e.g. embedded devices or VMs that run from prebuilt images.

There have been too many examples of seed files being reused, it's time to recognize that requiring a unique seed file is not good property for an RNG to have.

comment 4y ago · link · parent

You need a Google account to use most Android phones. You can have a Google account without a Gmail account.

comment 4y ago · link · parent

Just about everything. The consumer price index has risen just slightly less than 10% over the last 18 months.

comment 4y ago · link · parent

The momentum you inherit from Earth isn't in the direction of the sun, but roughly perpendicular to that direction.

It's similar to a car going down the freeway at high speed that needs to make an immediate 90 degree right turn. It can't do that without slowing down first, if it did, it would slide sideways off the sideroad. It's harder in space because the car is going 30 km/s and there's no friction that slows you down.

comment 4y ago · link · parent

For most lectures, there's a link to a video of the lecture in 2020.

comment 4y ago · link · parent

JWST isn't build to fascinate humans with unbelievably pretty pictures, it's build to better understand the early years of the universe.

comment 4y ago · link · parent

There's a reason things like football fields are commonly used as measurements in science communication: it actually helps the average person to get a sense of scale.

comment 4y ago · link · parent

> Also it is a good idea to use metric units for science articles.

It's not if you're writing for an American audience that's more familar with imperial units.

comment 4y ago · link · parent

Because this is a blog post by GitHub about the new release of Git, not in any way associated with the Git project.

The Git project itself posts release notes, but those are more abbreviated and aimed at a audience that's a bit more familiar with Git's workings: https://raw.githubusercontent.com/git/git/master/Documentati...

comment 4y ago · link · parent

Sure, but that doesn't always help readability/clarity. Compare this:

    SomeType result;
    if (!do_something(&result))
      return;
    process(result);
with this:

     std::tuple<bool, SomeType> ret = do_something();
     if (!std::get<0>(ret))
       return;
     process(std::get<1>(ret));
You could improve it a bit by using `auto` or returning a struct with named members, but quite often I still find it less readable. Especially in situations that are more complex than this example, where e.g. you fallback to another function to fetch `result` if `do_something` failed.

comment 4y ago · link · parent

The most common usage of out-parameters is when you want to return more than one thing from a function, in which case they can't be trivially converted to return values.

comment 4y ago · link · parent

That's true, but a lot less convenient and I bet you'll be missing out on a bunch of optimizations if you do that.

comment 4y ago · link · parent

What does ESL mean in this context? Google isn't particularly helpful on this one.

comment 4y ago · link · parent

> tripling the price

The last Nimitz-class carrier, CVN-77, cost $6.2 billion and was ordered in 2001, while the Ford cost $13 billion and was ordered in 2008. After adjustment for inflation in that period, it's only about 1.5x as expensive.

comment 4y ago · link · parent

> It also started erupting in December so there were already satellites paying attention to it.

All images I've seen are from satellites and/or constellations that watch the whole Earth or a fixed part of the Earth, none have been tasked to specifically watch this area because of the eruption.

comment 4y ago · link · parent

They might not be allowed to sell the servicing rights, but they almost certainly can sell the risk and returns.

comment 4y ago · link · parent

A similar thing happened in the Netherlands. The TV show is called Lingo (https://en.wikipedia.org/wiki/Lingo_(Dutch_game_show)), it uses 5-letter words and you get the first letter for free. The guy who more or less beat it wrote a blog post about it: https://vincenttunru.com/hacking-a-gameshow/

comment 4y ago · link · parent

> If you are doing something weird it can make your life a living hell.

I find it much easier to reliably accomplish non-standard things with systemd unit definitions, than it used to be with the ill-defined complex set of shell scripts we had before.

comment 4y ago · link · parent

Any good terminal emulator offers a way to Ctrl+v, e.g. in Konsole I paste by Ctrl+Shift+v. You could remap it to Ctrl+v if you so prefer.

comment 4y ago · link · parent

Those things only matter when your strings contain human-oriented text, but that's not the only (and dare I say not even most common) usage of strings. Obviously it's best to be explicit about how you want the contents of your strings to be treated, but absent that, I don't see how defaulting to ordinal string comparison is Anglo-centric. The English culture doesn't use ordinal comparison. Defaulting to ordinal comparison can actually _prevent_ breakage for people using non-English cultures, because strings suddenly behave differently in ways the developer didn't anticipate or test.

(Also, I should've said codeunit-compare instead of byte-compare, since C# strings are always UTF-16 encoded).

comment 4y ago · link · parent

How is defaulting to byte-comparing strings Anglocentrist?

comment 4y ago · link · parent

> This is horribly misleading; most of these lines of code are drivers, which this patchset doesn't even concern.

That's not true at all, a big part of those added lines are added includes in drivers.

E.g. this commit I picked at random adds 1500 lines, of which just a few procent are in the core kernel: https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.gi...

comment 4y ago · link · parent

The modern trend is autoclosing PR's after they haven't had any activity in X months, so there's not much difference with mailing lists anymore...

comment 4y ago · link · parent

App doesn't exclusively refer to mobile applications, in this case I meant the web application.

comment 4y ago · link · parent

Ok, but if you handle that in the app, it doesn't get invoked for CSS/JS/images/etc requests.
1
192021
41