650 karma · joined Jun 13, 2010 (16y ago) · 320 submissions
comment 6y ago · link · parent
Do any of you feel the same way? I have used Myfitnesspal and similar before, but have never stuck with it. Before I have stayed reasonably fit because I usually ride mountain bikes a lot,but the past few years there has been less riding and I'm now +10kg my normal weight at least.
comment 7y ago · link · parent
Being able to do frontend development that /just works/ when it compiles is fantastic. I have yet to use Elm for anything serious because I mostly do backend work, but if I need to Elm would be my choice. No more 'undefined is not a function' mysteries or trying to figure out what part of the latest Javascript framework is stopping me.
Elm has the basics of what you need to develop frontend applications today, even though I'm sure there is work to be done yet.
comment 7y ago · link · parent
According to the very angry and also very stereotypically German Police officer pulling over me and my friend back in 2017, flashing your lights is in-fact illegal. We were doing approximately 140km/h having just passed the police car in the left lane when someone pulled out ahead of us going much slower forcing us to slam the brakes to avoid hitting them. No blinkers were used on their part and we flashed our lights as we had seen and experienced countless times on our trip to let them know we were coming. We had driven all the way down from the top of Denmark, through Germany, France and Switzerland, down through parts of Italy and were then on the way back up through Germany when this happened so we had seen people flashing their high beams like that countless of times, and it seemed like a good practice if you were going much faster than the people ahead.
My friend was driving at the time and luckily got no ticket and kept his license after getting scolded by the police officer for a good 15 minutes.
No idea if it's actually illegal, but considering of angry the police officer was I'm assuming so. We were confused as to why they stopped us at first, and he kept yelling/asking "what is that? Why do you do that?"
Other then that my experiences driving on the Autobahn (and that whole stretch of road) have been pretty good! Very straight roads of decent quality where they seem to use concrete or something instead of asphalt like they do here in Norway. Someone else mentioned the speed limits kept going up and down over short distances, which I remember as well.
I think the most perplexing thing for us driving on the Autobahn is that you can purchase alcohol, even the stronger stuff, at the gas stations along the way, coming from having a strongly regulated alcohol monopoly system here in Norway where anything stronger than 4,7% alcohol is only available at Vinmonopolet, which is only open specific hours and dribks with a lower percentage are also only available in normal stores within certain hours.
This is turning out to be a much longer comment than I intended.
comment 9y ago · link · parent
comment 9y ago · link · parent
And you can go even smaller, such as a pepperfish [3]
This is a small brushless quad with 0703 motors with a 1 cell battery. https://i.imgur.com/EdFFfsc.png / http://rotaro.no 54mm in diameter
[1] https://hoverbot.io/ [2] https://www.banggood.com/Eachine-Lizard95-95mm-F3-FPV-Racer-... [3] http://fishpepper.de/projects/pepperf1sh/
comment 9y ago · link · parent
There are packages for Jessie at the very least.
comment 10y ago · link · parent
First off, this and the rest of the rkt docs is a good starting point https://coreos.com/rkt/docs/latest/rkt-vs-other-projects.htm...
Second, rkt runs Docker images without modifications, so you can swap over really easily https://coreos.com/rkt/docs/latest/running-docker-images.htm...
rkt uses acbuild (which is part of the application container specification, see https://github.com/appc/spec) to build images, and I had a very tiny Docker image just running a single Go process.
I just created a shell script that ran the required acbuild commands to get as similar image.
A good place to get started is the getting started guide https://coreos.com/rkt/docs/latest/getting-started-guide.htm...
Docker runs as a daemon, and rkt doesn't (which is one of the benefits). I just start my rkt container using systemd, so I have a systemd file with 'ExecStart=/usr/bin/rkt run myimage:1.23.4', but you can start the containers with whatever you want.
It's also possible to use rkt with Kubernetes, but I have not tried that yet. http://kubernetes.io/docs/getting-started-guides/rkt/
comment 10y ago · link · parent
I tried reporting it but got pretty much the same answer as this guy (though I did not get banned). Luckily they fixed it like a year later.
Great write-up, and interesting problem! I wonder if more hosting providers are vulnerable to the same problem.
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
Note to the author: I am not entirely sure how the WebRTC connection gets you a local IP, it seems to be connecting to stun:stun.services.mozilla.com. Anyway,that grabs the wrong local address for me, and gets the IP of my docker0 interface, perhaps it could grab more IPs, or is it just displaying the first one it finds?
Edit: Oh, the getIP function just calls the callback on the first candidate it finds.
comment 10y ago · link · parent
Or use a zerobin instance somewhere (encrypts things clientside with AES 256) and pass them a link. https://zb.a.im/
49.
The 2015 SANS Holiday Hack Challenge: Fun for Everyone(holidayhackchallenge.com ↗)
2 points · by flexd · 10y ago · discuss
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
Matt Silverlock (http://elithrar.github.io/article/http-handler-error-handlin...) talks a bit about how you can use some of Go's strengths to create a web services without any frameworks or packages that aren't built-in. Go and net/http is very powerful and allows you to do very much without needing any external packages.
If it was up to me, I would write the service in Go and run it in a container somewhere. But the container is not required :)
Go has been a bit lacking in debugging options previously as you said, but lately cool projects like godebug https://github.com/mailgun/godebug and Delve https://github.com/derekparker/delve have been released, making it possible to debug programs better.
comment 11y ago · link · parent
I would like to be able to continuously check the Norwegian IP-space for compromised sites, because it would be interesting to see. Of course doing this on a bigger scale would be cool as well.
comment 11y ago · link · parent
comment 11y ago · link · parent
Loan interest is very low at the moment, around 2.7-2.9%, and to counter everyone loaning way too much, you need to have 15% of the loan sum in order to qualify. I can expect to pay maybe $320k for a apartment in Oslo, depending on how big and where it is. $320k would typically be >50m2 somewhat central, or 30-40m2 very central (those go for even more). I will need to have about $48k in cash to be able to get a loan at that price.
I also have some student loans, but I have basically my whole life left to pay them off at a very low interest, so I pay like $154 every two months or something I think. It is the best interest loan I am ever going to get, so there is no point just paying it down immediately even if I have the cash for it.
TL;DR: Paying for a mortage is better than paying someone else rent, and I do not want to live in my parents basement forever.
comment 11y ago · link · parent
This does not answer much of what you asked for though, since you are not in the same situation.
When I was in university I worked part-time, and I also got a loan&stipend from the government (as all students do in Norway). I usually made enough to save 40-50% of my income, which is why I have money saved up now. I made maybe $15k before taxes from work and got about the same in student loans. 40% of the student loans gets converted to a stipend if you pass your exams.
By the budget I have planned for when I buy an apartment, it will look something like this:
- Rent/Loan: 40%
- Groceries: 12%
- Utilities/Electricity/Stuff: 16%
And then there are probably more expenses I have not accounted for, but hopefully I will be able to save some money, but probably less than 32%