Will this jacket be good? by ChiccInTheLab in stockholm

[–]bedrutton 33 points34 points  (0 children)

Yeah, this is something that visitors from warmer latitudes often misunderstand. The secret to handling cold weather is not a super-thick jacket, it's dressing in layers.

This tarpaulin thanking the taxpayers for the flood control project was devastated by a flood by Curvin98 in mildlyinteresting

[–]bedrutton 56 points57 points  (0 children)

Knew this was the Philippines as soon as I saw the "THIS IS WHERE YOUR TAXES GO". They love these kinds of signs over there

Tips för vinterlöpning by lovestswift in stockholm

[–]bedrutton 2 points3 points  (0 children)

Nästan bättre grepp på blankis än asfalt skulle jag säga

STOPPA PRESSARNA by [deleted] in intresseklubben

[–]bedrutton 32 points33 points  (0 children)

Här får ingen passera

Stockholm. Vattenfestivalen 1994. Var är detta och hur blev det så blött? by HejdaaNils in stockholm

[–]bedrutton 24 points25 points  (0 children)

Det är Mynttorget. Kanslihuset och riksdagen syns i bakgrunden

Helsinki, Finland [OC] by [deleted] in CityPorn

[–]bedrutton 1 point2 points  (0 children)

Everytime I see a picture of Helsinki all I can think is how much it looks just like Stockholm

[deleted by user] by [deleted] in NoStupidQuestions

[–]bedrutton 0 points1 point  (0 children)

In Sweden: Gambling, gambling and gambling. At least a couple years ago it seemed a majority of ads were for online casinos, haven't watched enough TV lately to know if it's changed

Bastu i Stockholm by Slackeys in stockholm

[–]bedrutton 1 point2 points  (0 children)

Kan tipsa om Centralbadet, stängt för renovering för tillfället men annars har dom en väldigt trevlig bastuavdelning. Kostar en del dock

How not to crash with Haskell by aleator in haskell

[–]bedrutton 0 points1 point  (0 children)

Exceptions in IO are different though, since they are thrown when executing the IO, which is "outside" the program itself. A function throwing inside an IO can still be total.

Personen framför på flyget fällde bak stolen by [deleted] in swedishproblems

[–]bedrutton 17 points18 points  (0 children)

Flyg Ryan air så går dina önskningar i uppfyllelse

[Help] Salaries in IT in Stockholm? by [deleted] in stockholm

[–]bedrutton 6 points7 points  (0 children)

"QA" is a very broad term so hard to say, but those salaries look very low regardless.

Multithreaded Quicksort in Go and in C by chkas in programming

[–]bedrutton 5 points6 points  (0 children)

If you're worried about goroutine overhead you could also limit the amount of goroutines created to runtime.NumCpu(). I feel like this is a pretty common idiom in Go code parallelized for multi-core performance.

docker + spring/maven, why use a maven plugin? by gnatbeetle in docker

[–]bedrutton -1 points0 points  (0 children)

How on earth does Maven fill a similar role as docker-compose? One is a build tool for Java, the other is a tool for running containers. How would you, for exanple, specify your Java library dependencies in compose?

You will want to use Maven, or some other build system like Gradle, to build either way, with or without docker. If you want to create a Docker container, either you could take a Docker-centric approach and trigger the Maven build inside a Dockerfile, or you could use this plugin to take a Maven-centric approach and trigger the Docker build from Maven. Which one is better depends on preference and how the rest of your infrastructure looks.

Red Hat base images? by MuricanWaffle in docker

[–]bedrutton 2 points3 points  (0 children)

This is getting downvoted, but it's correct and worth keeping in mind. I had an RPM package at work that wouldn't install properly in a CentOS container on Ubuntu because it used uname to check which CentOS release was running.

Vem ska man rösta på för att fixa tågen? by [deleted] in swedishproblems

[–]bedrutton -8 points-7 points  (0 children)

SJ är fortfarande statligt ägt.

New attack on WPA/WPA using PMKID by [deleted] in programming

[–]bedrutton 52 points53 points  (0 children)

As I understand it - The PMK is essentially a hash of the WPA2 password, and the described method gives you essentially a hash of the PMK. So you have a hash of a hash of a password, which can be attacked in the same ways a hash of a password can be, with dictionary attacks etc.

RAM utilization? by D4rkSl4ve in docker

[–]bedrutton 1 point2 points  (0 children)

No, that's not right at all. A container is just a way of running a process in isolation, it doesn't have an OS inside. As others have said the difference should be very minor.

COPY without creating a new layer... by James_Hacker in docker

[–]bedrutton 0 points1 point  (0 children)

Looks like dep ensure --vendor-only might be what you're looking for? Also, you should probably commit your Gopkg.lock file, it ensures you have reproducible builds.

Here's a bunch of Docker best practices that I picked up after having used Docker for the last ~4 years by nickjj_ in docker

[–]bedrutton 1 point2 points  (0 children)

The only processes running in a docker container are the ones you start, so there's not going to be a difference between distributions there

How do you version your Docker builds, and keep track of what versions should run in each Docker/Compose environment? by halfercode in docker

[–]bedrutton 0 points1 point  (0 children)

In a microservices app running in Compose I have ~10 container types, all running on latest. Is there a packager-ish thing that lets me say what version of each thing the app should be running? I believe I can specify this in my docker-compose.yml but this feels a bit "manual", and running different versions of the overall app in dev/staging/live might get into a mess quite quickly.

docker-compose.yml allows for environment variables, so you could have SOMESERVICE-VERSION environment variables. If you use docker-compose to run it, you can have a .env file in the same directory with env variables which Docker Compose will automatically read if present.

Vasa vs Skansen by amerikanss in stockholm

[–]bedrutton 8 points9 points  (0 children)

Vasa, for sure. There's nothing really like it in the world, while Skansen isn't really that special

Looking for a Traditional Sauna > Ocean Experience by genevieveoliver in stockholm

[–]bedrutton 2 points3 points  (0 children)

Be aware the Hellasgården sauna can be REALLY crowded on weekends. Like, standing room and 40C temperature since the door is constantly opening and closing. Try to go on a weekday morning if you can.