Ulrich Dangel

 /dev/chat

General discussion for unix.stackexchange.com. If you have a q...
Jul 14, 2014 14:15
or adagio
Jul 14, 2014 14:14
Jul 14, 2014 14:11
@terdon i would have thought of mathematica
Jul 14, 2014 14:10
i don't think there is
Jul 14, 2014 14:04
this sounds like homework somehow ;)
Jul 14, 2014 14:04
ah but whats the connection to linux/unix? this is just an algorithmic problem
Jul 14, 2014 14:03
you gave
a1 5 l1
a1 3 l2
a2 3 l1

so what is with the 5?
Jul 14, 2014 14:02
@Ramesh where do you get the 6 from?
Jul 14, 2014 14:02
@Ramesh explain the first example
Jul 14, 2014 13:59
i think i am wrong...just read the question
Jul 14, 2014 13:56
so for
a1 30 1
a2 5 2
a1 31 1
a2 4 2
a1 42 2

it should return
a1 31 1
a2 5 2
a1 42 2

right?
Jul 14, 2014 13:55
@Ramesh why not a2? what is the criteria why a2 isnt returned?
Jul 14, 2014 13:54
.oO(sounds like a awk/perl solution)
Jul 14, 2014 13:53
who not a2?
Jul 14, 2014 13:53
for each (key1 key3) tuple return the line with maximum key2
Jul 14, 2014 13:52
thats what max means
Jul 14, 2014 13:29
@Tbuermann some zookeeper, some aws, some load balancer and everything is working like a charm ;)
Jul 2, 2014 20:44
/me is currently distracted
Jul 2, 2014 20:44
sorry
Jul 2, 2014 20:44
files
Jul 2, 2014 20:44
@FaheemMitha oh i think things like pristine-helper are amazing. also you should try to make sure that if you have minified fields you also have the source
Jul 2, 2014 20:38
i didnt look too closely for a while at the mercurial ones
Jul 2, 2014 20:38
@FaheemMitha imo the packaging tools are better for git, but YMMV
Jul 2, 2014 20:34
@FaheemMitha switch to git, use git-pristine-tar for the orig.tar.gz, don't use a native format, provide a proper distribution release, set the correct copyright, use lintian
Jul 2, 2014 19:49
hm there are afaik some machines with an unpacked source archive
Jul 2, 2014 19:49
for some of them ;)
Jul 2, 2014 19:49
but they ship debug symbols anyway
Jul 2, 2014 19:48
but the o files will be part of the bin, so you can just multiply it by two if you want
Jul 2, 2014 19:47
and debian amd64 mirror size
Jul 2, 2014 19:47
@derobert according to google ;0 debian source mirror size
Jul 2, 2014 19:47
@strugee yeah isnt it basically 71gb + 94gb?
Jul 2, 2014 19:46
@derobert source is 71gb and amd64 is 94gb
Jul 2, 2014 19:43
@strugee sorry i meant nspawn - see freedesktop.org/software/systemd/man/systemd-nspawn.html and based on github.com/falconindy/arch-install-scripts/blob/master/… it seems it doesnt do it?
Jul 2, 2014 19:42
@strugee hm arch-chroot doesnt mount proc or sys or dev?
Jul 2, 2014 19:41
@strugee yeah nowadays i probalby would push for nsenter anyway and tbh arch-chroot probably is a little bit better than grml-chroot
Jul 2, 2014 19:35
@strugee ok i promise i stop after this but: blog.grml.org/archives/… or blog.grml.org/archives/…
Jul 2, 2014 19:33
@strugee it can be easily used for example to do test the hw, inventorize it before deployment, or you can easily provide a very simple branded live image
Jul 2, 2014 19:31
@FaheemMitha i was one of the developers, i am no longer part of the team. but yeah i am working with mika all the time
Jul 2, 2014 19:31
@strugee i may be biased, but it has some nice properties such as autoamted script execution, very easy to customize, you can start a ssh server automatically just via a commandline, you can modify the commandline via a script and create a repackaged version etc.
Jul 2, 2014 19:28
@FaheemMitha at least based on my tests (/me wrote that part ;))
Jul 2, 2014 19:28
@FaheemMitha this should be supported nowadays with grml-rescueboot
Jul 2, 2014 19:27
@FaheemMitha grml or booting it from grub?
Jul 2, 2014 19:27
@derobert though name mangling is afaik not standardized afaik for cpp?
Jul 2, 2014 19:26
.oO(spamming about grml)
Jul 2, 2014 19:26
you can put a grml iso on the hd and can load it directly via grub
Jul 2, 2014 16:38
@derobert 1 minute ago
Jul 2, 2014 16:12
what else do you need ;)
Jul 2, 2014 16:12
.oO(augeas!)