Better HN
topnewbestaskshowjobs
Log inSign up

runejuhl

45 karma · joined Jun 18, 2012 (14y ago) · 32 submissions

[ my public key: https://keybase.io/runejuhl; my proof: https://keybase.io/runejuhl/sigs/NxaW_y51ZVliW7Ubv8BaBpSnKjp4UhPMOcVSU-RAnc8 ]
Submissions

comment 9y ago · link · parent

Or just put key IDs in a .gpg-id file:

Initialize new password storage and use gpg-id for encryption. Multiple gpg-ids may be specified, in order to encrypt each password with multiple ids. This command must be run first before a password store can be used. If the specified gpg-id is different from the key used in any existing files, these files will be reencrypted to use the new id. Note that use of gpg-agent(1) is recommended so that the batch decryption does not require as much user intervention. If --path or -p is specified, along with an argument, a specific gpg-id or set of gpg-ids is assigned for that specific sub folder of the password store. If only one gpg-id is given, and it is an empty string, then the current .gpg-id file for the specified sub-folder (or root if unspecified) is removed.

-- https://git.zx2c4.com/password-store/about/

EDIT: Better formatting

comment 9y ago · link · parent

I use pass ( http://passwordstore.org/ ). Uses gpg, has addons for all major browsers, works on Android, is completely transparent, supports segmenting your password "tree" to use different PGP keys depending on path (e.g. all passwords in www/ encrypted to both my safe GPG key and my less safe key unique to my phone). Highly recommended.

comment 9y ago · link · parent

Or, for a more cross-distro approach, `lsb_release -a`, although it requires the `lsb-release` package installed.

comment 10y ago · link · parent

From the network tab of Chrome developer tools:

  AngryBots11.wasm	GET	200	webassembly.org	xhr	UnityLoader.js:187	11.9 MB	54.38 s	GitHub.com	
  AngryBots.mem	GET	404	webassembly.org	xhr	UnityLoader.js:72	5.6 KB	172 ms	GitHub.com	
  AngryBots.memgz	GET	200	webassembly.org	xhr	UnityLoader.js:47	314 KB	1.30 s	GitHub.com	
  AngryBots.wasm.mappedGlobals	GET	200	webassembly.org	xhr	AngryBots.js:279	3.1 KB	250 ms	GitHub.com	
  AngryBots.datagz	GET	200	webassembly.org	xhr	UnityLoader.js:47	36.3 MB	2.9 min	GitHub.com	
  HWStats.cgi	POST	200	stats.unity3d.com	xhr	AngryBots.js:6595	149 B	3.80 s	Apache/2	
Just shy of 50 MB all in all.

comment 10y ago · link · parent

Thank you for responding.

The listed roles were just to show the idea of the service; an role providing mail and calendar (e.g. Kolab) would only have a few required options (if any). Any additional detail would be optional and have our default recommended values.

comment 10y ago · link · parent

Would you be interested in a service where you buy your own server (metal/VPS/whatever) and through an API/web interface select which profile to run? E.g. webserver (apache, nginx, ...), mail server (postfix, exim, ...), load balancer, database (mysql, pgsql, ...), or "app" (ownCloud (has CalDAV support), Wordpress, etc.)?

The idea is that the server is yours, and yours only. We manage the setup, monitoring, alarms and all the boring stuff. If you need any assistance, we have sysadmins that can help for a fee, and depending on how critical it is for you, we'd offer multiple levels of subscription with different service levels and response times.

comment 10y ago · link · parent

For those of you who're interested, the mail to LKML can be found here: https://lkml.org/lkml/2016/6/28/629

comment 11y ago · link · parent

How timely. Right now I'm sitting in a house on the beach in Tolú, Colombia. I work remote 32 hours/week for my employer in Denmark doing development, sysadmin and consulting.

I'm here with my wife and my two kids (4 and <1 years) and we've been on the road for almost a month.

So far it's been great. It took a few days to get started with remote work; tooling, getting the computer set up for low bandwidth work etc. I don't have fixed working hours, although I try to work a few hours in the morning and then 3-4 hours at night after the kids are sleeping. That might change soon, though, as I think we'll have to incorporate a proper siesta after lunch for my wife and the kids' sake; I'll probably use that to work. It's just too hot in the middle of the day here to do anything if you're not used to the heat (and even then -- the locals have siesta as well).

We're staying in this place for three more weeks (been here one week), and then we're off to another place. Currently it looks like we'll buy a used car to avoid some of the hassle of traveling with kids and to be able to see places off the beaten path. We're talking about heading North to Santa Marta, but nothing is planned yet.

I've been working from home in Denmark for some months before we left, so my family is somewhat used to me shutting them out when I'm working (or trying to). Re: work ethics: I guess it helps loving what you do -- although the beach is really inviting when it's pushing 35 degrees outside... Realizing that the reason why we're even here in the first place is due to the trust of my employer helps as well!

comment 11y ago · link · parent

That's pretty much what I came here to say. I travel frequently, use my credit card everywhere, both online and offline, and I have never had any fraudulent charges to my cards.

Only once have I canceled a credit card before it expired, and that was after finding out that a popular hostel booking site let the hostel managers look up all credit card details, including the CVV number, for all bookings. I talked to the manager at the place we stayed for a few nights in Lima, Peru, and he told me that the site would only show the details once (or for a limited period), so they would always print the page. Of course they kept the printouts in a binder in the common area of the hostel...

I really don't understand why USA has such a big problem with credit card fraud, and how that problem became big enough that people would actually avoid paying online, with the exception of major chains/processors (Amazon, Paypal, etc).

Although, come to think of it, Denmark is a bit of an outlier. We have a national credit card, Dankort, that was conceived and implemented sometime in the 1980s (I'm a bit too young to remember the details...). It was written into law, and part of the law was that transactions should incur no costs on the user, which resulted in massive adoption, to the benefit of both the banks (who were proponents of the Dankort before its introduction) and the consumers.

comment 11y ago · link · parent

Just prepend the command with `\`, that disables aliases.

comment 11y ago · link · parent

Possibly this one: http://www.gentoo-wiki.info/TIP_Bluetooth_Proximity_Monitor

I remember using it at The Party in Sweden, circa 2006. A bit newer then :)

comment 12y ago · link · parent

...and so are you: https://www.google.com/search?q=%22you+are+the+first+person+...

comment 12y ago · link · parent

I recently got a new work laptop. I've used a Lenovo X200 for a few years and been immensely happy with it, but it was starting to show its age and the display was becoming less and less bright. The recent Thinkpads are utter crap, IMHO. Give me some fucking mouse buttons instead of going the Apple route and hiding them underneath the touchpad. The 'clit' is still there, but it's almost unusable. The resolution is too low.

I initially bought a T440, but it died in BIOS on second boot, and after 2 motherboard changes and 1.5 months in Lenovo's own lab they were still unable to even put in the serial numbers (needed for the Windows license that came with it). In the end, and after much delay, the gave me a new one. I promptly gave it to an employee running Windows instead of even trying.

For my new, new laptop I chose a Dell XPS 13 (9333) Developer Edition. No Microsoft tax! I'm not an Ubuntu person, so I ditched the pre-installed (though not after booting it up and noticing that Dell wanted me to sign some EULA before continuing on to the desktop).

Instead I went with Debian. The monitor shows up as "Synaptics Large Touch Screen". Bluetooth and wireless works after installing non-free drivers. Suspend and resume works. It's fast.

There are only two problems. One is the irritating coil whine that the series exhibit. Sometimes it's there, sometimes it's not. Usually I can remove it by toggling the keyboard backlight, but it doesn't seem to matter if it's from on to off or the other way around. The second, and somewhat worse, is that keys seem to get stuck. Sometimes, and I haven't actually found out the cause, the keys seem to get stuck and repeat until another key is pressed. It happened in emacs a few days ago and was almost catastrophic (I do keep my backups, but still..).

The last issue is with Dell rather than the computer. It seems weird to offer a Developer Edition with decent drivers and a pre-installed Ubuntu, and then only offer their BIOS upgrades as a Windows and a DOS executable. I used a USB stick with FreeDOS to apply the update, but seriously, why couldn't they just give me a utility that works? My little sister, my wife and my mother-in-law all run Linux, and they'd probably be able to work a simple program that had a one-click BIOS upgrade button. Boot FreeDOS with Grub, apply the update, reboot. Why do I have to do this by myself?

comment 12y ago · link · parent

I installed Debian 7.4 on a Dell XPS 13 using a live hybrid ISO (`debian-live-7.4-amd64-standard+nonfree.iso`) two days ago. After enabling UEFI and adding the USB stick as a boot device, I had to do nothing out of the normal to get it to work. It was incredibly painless.

comment 12y ago · link · parent

Because of your comment I tried the site in my installed browsers: stock CyanogenMod browser, Firefox, Chrome, Opera and Dolphin. I tried looking at the source of the page, and I've looked at it in w3m and elinks.

Bottom line? Works great.

comment 12y ago · link · parent

I'm European, and I've never been hassled during my travels. The worst I've experienced was having to pull 10m of ethernet cable out of my carry-on in Stavanger Airport, Norway, but that's it -- and I can easily see how a rolled-up cable might've hindered the airport security from looking through my bag. Off the top of my head I've been through England, Denmark, Croatia, Slovenia, France, Switzerland, Austria, Sweden, Norway, Hungary, Spain, Egypt, India, Nepal, Germany, Holland, Italy, Portugal and Peru, and I've never had any trouble.

Maybe you've just been targeted because you're American, just like Brazil is fingerprinting US Americans[1] to pay back the amount of trouble foreigners often find themselves in when visiting USA?

[1]: http://en.wikipedia.org/wiki/US-VISIT#Similar_systems_in_oth...

comment 13y ago · link · parent

...or you could run something like

    cat /proc/`pidof program`/fd/2
That, of course, won't eliminate the need for a second terminal.

(change to your needs, stdin==1, stdout==2, stderr=3)

comment 13y ago · link · parent

Something like this?

    ls -al | tee >(cat) | gzip -c

comment 13y ago · link · parent

I can only recommend getting in contact with Atlassian wrt. your problems. I've contacted them twice about errors on their pages and I've gotten great service both times.

I regularly send out emails when something is amiss, and getting a proper response AND getting the problem fixed is rare. Sadly.

comment 13y ago · link · parent

Firefox 24.0 on Ubuntu amd64 (raring). Looks like same problem as described in parent. Have a look at http://imgur.com/SfdVQ7k -- screenshot taken with a brand new profile.

comment 13y ago · link · parent

Read this recently, followed by Homeland. While I'm a bit older than the target audience, I enjoyed the book and chewed through it in a day.

Homeland was good, but not great. I felt a bit let down. Both books made me think of Neal Stephenson, especially his Reamde book -- but that might just be because of the theme.

comment 13y ago · link · parent

Hm. You're right. Next time I'll read a bit further in the man page.

comment 13y ago · link · parent

It should be noted that rlwrap works on all programs that use readline. I've used it when starting out with programming in SML and getting annoyed at the missing arrow-up command history.

comment 13y ago · link · parent

When creating excessively long oneliners (you know, the kind that should actually be a script, because you know you're going to find a use for it in a few weeks), the following key combo is golden:

    ^x ^e
It opens up the exported EDITOR with a tmp file containing whatever is on the command line.

Using SSH, especially on campus/in a train/other places where a wifi connection doesn't long, mosh is really a godsend. In places where mosh isn't practical or available, the following combos are really good to know:

    <RETURN> ~ .    # end ssh connection
    <RETURN> ~ ?    # show available commands
Paired with autossh which will reconnect by itself, it really takes the pain out of traveling while doing remote work.

Oh, and when you need to know what the decimal value of 0x65433 is, it's good to know that bash can do stuff like that:

    $ echo $((16#65433))
    414771
Reading the bash man page is not a bad idea in itself...

comment 13y ago · link · parent

You might want to put a link to your blog somewhere.. :)

comment 13y ago · link · parent

And the awesome AAUSAT3: http://www.space.aau.dk/aausat3/

It's the third cubesat developed at Aalborg University in Denmark. From their homepage:

"The AAUSAT3 educational project was initiated in the fall 2007 - introducing students to all aspects of satellite design and development. The objective of the AAUSAT3 mission is to fly two different types of AIS (Automated Identifications System) receivers. One of the AIS receivers onboard AAUSAT3 is an SDR (Software Defined Radio) based AIS receiver. The other AIS receiver is a conventional hardware receiver. The goal of AAUSAT3 is to investigate the quality of ship monitoring from space."

-- http://www.space.aau.dk/aausat3/index.php?n=Tech.AAUSAT3InDe...

comment 13y ago · link · parent

..and that article is from 1997. I wonder what the response would've been today. Not better, I fear.

Being a Dane myself I can't help smiling when seeing the parent story. I've got a 15 month old daughter, and throughout her entire life she's slept outside for daytime naps. Besides the random playing kid making too much noise, it's been completely uneventful. As a bonus, it means that you've got 1-2 hours of lovely silence indoors before hell breaks loose again...

comment 14y ago · link · parent

You could also use 'ls -lh | sort -h'.

comment 14y ago · link · parent

I concur -- org mode is fantastic. I've only started using it recently, but I think it'd be safe to say that I'll use it forever.

Just the tables feature (http://orgmode.org/manual/Tables.html) alone is worth it, but inline LaTeX comes close. Mixing math in LaTeX with a proper table editor (unlike LaTeX) and being able to export to anything that matters (HTML, PDF and LaTeX) -- bliss!

comment 14y ago · link · parent

>Given that Paypal, my bank, Google and Facebook use 1024 keys, I think labelling 1024 bit as "snake oil", might be a stretch. ;) It's no less snake oil just because every con man sells it...
12