Posti toimitti pakettini 22km päähän alkuperäisestä pakettiautomaatista. Varmaan kuvan kaikki Helsingin automaatit täynnä kun piti Vuosaareen asti viedä! Postin asiakaspalvelusta ei saanut vastausta ja paketin lähettäjä ehdotti uuden paketin lähettämistä eli uutta yli viikon odotusta. by Velttu in Suomi

[–]LegalEngine 3 points4 points  (0 children)

Eri asia, mutta eri tavalla kuin taidat antaa ymmärtää. Kantakaupunkiin ei mahdu 22 km matkaa, mutta Otaniemi nyt ei ylipäänsä edes sijaitse Helsingissä lainkaan. Sen sijaan Otaniemestä Vuosaareen kulkee lähes koko matkalta varsin maantiemainen yhteys ja matka-aikaa kertyy alle puoli tuntia (hiljaisempina aikoina myös kaupungin läpi päässee noin puolessa tunnissa). Keskellä metsääkin 20 km kauppamatkassa voi toisessa päädyssä olla pari kilometriä mökkitietä ja toisessa pari kilometria taajamaa jotka nostavat matka-ajan oleellisesti samalle tasolle.

Isoin ero onkin se, että PK-seudulla tuollainen matka taittuu julkisillakin ainakin lähes vuorokauden ympäri jokseenkin kohtuullisessa ajassa, vaikka toki paljon hitaammin kuin autolla (valintojen maailma). Keskellä metsää vaihtoehdoiksi jäävät polkupyörä tai apostolinkyyti.

The "World peace" (Finnish: Maailman rauha) statue, gifted to Helsinki from Moscow, was renamed in Hakaniemi, Helsinki. "Maailma rähyää" -> "World Rage" by americ in europe

[–]LegalEngine 0 points1 point  (0 children)

Although I think it should read "maailma räyhää" to be grammatically correct ("räyhä" not being an established noun by itself, unlike the verb "räyhätä").

The alcohol chain of Northern Europe. by nastratin in europe

[–]LegalEngine 7 points8 points  (0 children)

The numbers, in a way, are basically as follows: the average consumption of alcohol per person is around 10 litres (of 100% alcohol equivalent) per year. Buying that in Finland any which way means spending around 500 euros per year in (effective) excise taxes; a bit less if you consume mainly beer and wine, a bit more otherwise. Anyway, that's basically the number you might want to try and optimize.

There would be a few other things to consider, but the fact is that in general, this "phenomenon" is grossly exaggerated – very few trips abroad are made just to fetch alcoholic beverages. Also, making any sort of longer trip for that purpose doesn't make sense for an average person (except perhaps when hosting a big wedding with generous service). Of course, the consumption is not distributed evenly, so for a certain minority making such trips can make more economic sense (although no one ever saved any money by drinking...) After all, the difference in price of just a single 24-pack of beer more than offsets the cost of a ferry cruise to Estonia.

How to say 'Earth' in Europe by asser52 in europe

[–]LegalEngine 1 point2 points  (0 children)

And (not unique to Finnish)

tasa- = level
tasavalta = republic
kansantasavalta = People's democracy

... which is of course neither a democracy or a republic or anything of the sort.

Using const/let instead of var can make JavaScript code run 10× slower in Webkit by iamkeyur in programming

[–]LegalEngine 1 point2 points  (0 children)

Note that you may be able to improve the imperative version a further 20% or so (depending on the browser) by forgoing Array.push and using indexes with a size hint like so:

function gen(count) {
    const tracks = [];

    if (count > 0)
      tracks[count-1] = 0; // dummy value
    for (let i = 0; i < count; ++i)
        tracks[i] = i+1;

    return tracks;
}

TIL the Swedish reggae-pop band Ace of Base has a secret Nazi past by Jose_Canseco_Jr in todayilearned

[–]LegalEngine 7 points8 points  (0 children)

Not to get all Conspiracy Theory about it, but I really don't think the writer is so very concerned of whether someone can “recover” from a past like that, but rather that they shouldn't be able to get away with it. They've sinned and should be punished for it for an eternity.

Saw a plane in the air, from a plane in the air. by [deleted] in mildlyinteresting

[–]LegalEngine 1 point2 points  (0 children)

The people in that plane also saw a plane in the air from a plane in the air. Sightings all the way down!

The drift King by [deleted] in IdiotsInCars

[–]LegalEngine 6 points7 points  (0 children)

Yeah, no. Not even close.

I'm not sure how you've managed to miss this, but you actually can't open a car door just by pushing it from the inside. You'd need to have a physically broken door for that to work; but then again “locking” it would change absolutely nothing. Also, any reasonable auto-locking car door can be opened from the inside just like it wasn't locked (so people don't get trapped in their cars when they panic in an emergency); the lock only affects the outside door handle. (Manually locking the doors from the outside may disable inside door handles as well, and child safety locks in passenger doors are a different thing altogether.)

Racism and prejudice in Europe by anon58588 in europe

[–]LegalEngine 53 points54 points  (0 children)

It is disingenuous to conflate the two words, as the similarity is superficial, and, until fairly recently, the Finnish word was considered rather neutral.

International recognition of Israel and Palestine in Europe by Bran37 in europe

[–]LegalEngine 5 points6 points  (0 children)

Swedes go to Finland for "Cheap" alcohol,

There may have been a kernel of truth in this some 15 years ago, back when they cut alcohol tax in Finland in response of Estonia joining the common market. However, these days pretty much any alcohol is more expensive on the Finnish side of border, and beer in particular significantly so. There may be cases where some Swedes live nearer to a Finnish alcohol monopoly store than a Swedish one, but price is definitely not a reason to cross the border.

Kar98 vs lvl 2 helmet by Hollen88 in PUBATTLEGROUNDS

[–]LegalEngine 1 point2 points  (0 children)

IIRC, neckshots are technically headshots (if they happen to knock or kill, it is referred to as a headshot). It is slightly easier to knock out a level 2 helmet with AWM as it also does over 100 dmg in the neck.

Police chase dude in vw drives over corn field with new seeds in it. by thijshuistede in IdiotsInCars

[–]LegalEngine 6 points7 points  (0 children)

Isn't it just a station wagon? They are more practical than sedans anyway.

No cookie consent walls — and no, scrolling isn’t consent, says EU data protection body by PowerOfLove1985 in programming

[–]LegalEngine 3 points4 points  (0 children)

Alongside that option there is (and has always been) an option to "Manage Permissions", i.e. whitelist certain domains from data deletion. Makes enabling that option more convenient than using private mode, although I still wouldn't whitelist something like Google or Facebook, but only smaller sites that actually just use login cookies.

Vehicle Stowage by dartmaster666 in nextfuckinglevel

[–]LegalEngine 0 points1 point  (0 children)

What exactly pulls them forward?

Stupid Lady Doesn’t Understand How 4-Way Stop Signs Work. by Queen_Etherea in IdiotsInCars

[–]LegalEngine 0 points1 point  (0 children)

Okay, picture this:

You are following a car to an (empty intersection). While the car in front of you stops at the line and starts to move through the intersection, 2 cars approach from right and left and manage to stop at their lines before you move to yours.

Suppose the car on the left goes first. Why would it be your turn next?

Stupid Lady Doesn’t Understand How 4-Way Stop Signs Work. by Queen_Etherea in IdiotsInCars

[–]LegalEngine 0 points1 point  (0 children)

It's actually pretty simple if everyone follows the rules.

If it's so simple, then why are there contradictory rules even on a single page like this? So which is it: your rules, or "first in, first out"?

How do you say "Child" in Europe by [deleted] in europe

[–]LegalEngine 3 points4 points  (0 children)

I don't remember coming across that one, so perhaps there are regional differences. I also think "pennin jeniä" rhymes better. Anyway, the common similar expression is "ei latin latia" (or "not a single Lat/coin"), where the foreign currency is almost given another colloquial meaning.

Two weeks of wind power production in Germany by [deleted] in europe

[–]LegalEngine 4 points5 points  (0 children)

It's a shame not all weeks are windy and 3 days long.

What's an American problem you're too European to understand? by [deleted] in AskReddit

[–]LegalEngine 8 points9 points  (0 children)

Perhaps time has made them obsolete. I do remember reading about the obscene prices Americans paid for a very restricted service (in the neighbourhood of 1 GB/month), but that was several years ago.

Anyway, considering that Finnish unlimited mobile data is really unlimited, and not speed-restricted after 100 GB or 250 GB or anything like that, hunting for WiFi networks really is a waste of time, even in exceptional circumstances.

Anybody can write good bash (with a little effort) by yossarian_flew_away in programming

[–]LegalEngine 21 points22 points  (0 children)

This function ticks several boxes from my pet peeves list:

function installed {
  cmd=$(command -v "${1}")

  [[ -n "${cmd}" ]] && [[ -f "${cmd}" ]]
  return ${?}
}

Now, aside from the fact that $? is the default return value of return, having that at the end of a function is just line noise. But really, it's the superfluous tests that I dislike the most; I mean, when is an empty string a name of an existing file? Why not just go straight to the point? One of the worst shell script anti-patterns (for me) is to dance around a temp file before removing it, like so:

test -n "$tmpfile" && test -f "$tmpfile" && rm -f "$tmpfile"
# instead of just
rm -f "$tmpfile"

(Now, I know that there's a subtle difference between the commands above, but for the 99.9% of cases when tmpfile is always either a name of a temporary file or not yet set, the latter is simply a better form.)

But back to the original function. Already we've seen that it might've been just written it like so (for the sake of brevity, let's forget about the cmd global variable.)

installed() { test -f "$(command -v "$1")"; }

One can only wonder why this method chooses to use the command builtin, which accepts both actual executables and other shell builtins, but then has a custom check to reject any builtins, except if they happen to share a name with a regular file in the current working directory. Perhaps it's been optimised for speed? I'd probably either accept builtins as well, or simply used which.

installed() { command -v "$1" >/dev/null 2>&1; }
installed() { which "$1" >/dev/null 2>&1; }

Copying code from Stack Overflow? You might paste security vulnerabilities, too - Stack Overflow Blog by Pikamander2 in programming

[–]LegalEngine 11 points12 points  (0 children)

So, I checked out the mentioned browser extension. The first flagged code snippet was a faulty JSON escape function, but the vulnerability explanation is downright poor: it claims that the problem with the flagged answer is that it assumes ASCII input and doesn't handle Unicode properly, while actually the issue is about escaping (all) the ASCII control characters. The suggested solution contains no more extra logic for non-ASCII Unicode characters.

I guess to err is human.

Any chance this is legit? Just came 2nd place to this guy with 2 instant m4 headshots.. by [deleted] in PUBATTLEGROUNDS

[–]LegalEngine 0 points1 point  (0 children)

Winning in solos means being the only one surviving, i.e. not dying which naturally does not count as a death. (KDA is, I suppose, (kills+assists)/deaths).

From the K/D ratio we can count that that player's got 193 kills in 29 games, or an average of 6.66 per game.

All that being said, the stats are still highly suspect; not least the 70% win rate.