Skip to content

u/graycode

In this archive from Jan 2010 to May 2020

1
posts
49
comments
0
media
236
score

The problem with Dropbox is that it auto-updates itself, then the installed binary launches a new one, which KILLS the old one, and this confuses systemd (it tries to spawn a new one repeatedly).

The AUR package installs /usr/bin/dropbox to be a symlink to /opt/dropbox/dropbox. I changed mine to be this shell script instead:

#!/bin/sh

dist="$HOME/.dropbox-dist/dropboxd"
if [ -x $dist ]; then
    exec $dist
fi

exec /opt/dropbox/dropbox

Basically, it checks if the auto-updated version has been downloaded (it ends up in ~/.dropbox-dist) and executes that instead.

This isn't a huge deal, because like you said, it ends up running properly anyway, but I like it when fewer things show up as failed in systemd.

11 points

The area with the trees is the Tiergarten, a very large public park in Berlin. The road is Straße des 17. Juni. At the end of the road where the trees end, you can see the Brandenburg Gate.

They must have done exposure stacking or something to get rid of the cars, because normally there would be a lot on that street.

EDIT: photo was probably taken from the top of the Siegessäule which is roughly in the middle of the park.

3 points

Well, for one thing, it's trying to mount /dev/sda3, but that's just an extended partition; there's no filesystem there. You want it to be mounting /dev/sda5. Check your root= argument.

Don't know about the udev issue though.

EDIT: oops, I mis-interpreted this as being boot-time errors.

This actually isn't anything to be concerned about at all. grub-mkconfig is just scanning all your partitions and trying to mount them (looking for filesystems), so it can generate the right boot arguments. /dev/sda3 doesn't have any filesystem on it (it's an extended partition), and you have kernel messages going to your console for some reason, so you see that one. Just ignore it.

1 points

My best undergrad CS class did exactly this.

It was a software design course, and we worked on one program over the entire semester. Features of the program were assigned over the course of the semester, in chunks, and each successive assignment changed things (sometimes subtly, sometimes greatly) about previous assignments.

The important lesson this taught was that your designs need to be flexible, to allow for future specification changes. Those of us who made flexible designs were able to easily adapt our program to the changing requirements, whereas those who didn't had to spend a lot of time rewriting parts of theirs.

I assert that there's no greater skill in a software developer than being able to make flexible designs like that.

Unsurprisingly, this class was taught by one of the few professors with many years of real-world (aka outside of academia) programming experience. He understood the need for this skill better than other professors.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.