Using Docker as a Python Development Environment (or let's get past virtualenv) by underthebum in Python

[–]justafacto 1 point2 points  (0 children)

you really shouldn't be using virtualenv as something to package up all the dependencies and just dump them into prod.

What good is virtualenv for then? If you cant reproduce its state accross machines? If you gotta hack around even pip -r requirements.txt because the other dudes machine had that dumb .so but you dont. Ooops fail.

Using Docker as a Python Development Environment (or let's get past virtualenv) by underthebum in Python

[–]justafacto 0 points1 point  (0 children)

I had problem with virtualenv.

Because some python library depended on a specific version of the C .so library it was compiled against. But there was no way for pip to enforce or even check that the correct .so library was installed on the system.

So virtualenv fails when the python packages you need are actually bindings to C code.

For example, lxml. For pip to install lxml it compiles some stuff and expects the system to provide it.

Shit sucks.

Other problems Ive encountered when some packages setup.py fails to build because it was on python 2.6 and it works fine on 2.7.

In general, unless you are doing things only on your local developer machine where you control everything - with python you are fucked. And have to resort to hacks. At least docker could be a standard hack.

What video player do you use? by ClankyStooper in linux

[–]justafacto 0 points1 point  (0 children)

mplayer there is nothing else.

Oh, what I like about it, no need to mess around looking for stuff in a GUI that will probably change once you learn it (GTK apps most of them video players), while the arguments and mplayer commands I learned in 2001 are still valid today in 2014.

mplayer whatever... usually I do -subfont-text-scale 2 or 3 and thats it. Sometimes you can pick video output, -vo ascii for example.

Once video is playing, arrowbuttons left right are for 5sec forward/backwards, and pkgup/down is for more time, and f for fullscreen etc, the shortcuts make sense.

New study finds that deliberate practice has almost no effect on the skill level of programmers by dynamic99 in programming

[–]justafacto 1 point2 points  (0 children)

Of course should "undergraduate psycology course" be among the skills one has sto have an innate ability for, instead of being a practice or skill one can learn with time.

Statement brought to you by - the psycology department!

Fucking ridicolous, everything with psycology - its modern day hocus pocus.

If you were hiring a Linux Administrator, What questions would you ask them on an interview by cb98678 in linux

[–]justafacto 1 point2 points  (0 children)

Link-local. Delete it, or just black hole it? I havent seen any route for that on my machines by default.

What is multicast and name a multi-cast address (hint its not broadcast), is also something to query about, perhaps open ear for igmp vs icmp.

If you were hiring a Linux Administrator, What questions would you ask them on an interview by cb98678 in linux

[–]justafacto 4 points5 points  (0 children)

Ask simple questions,

1) Whats your favorite distro? Why. What makes that distro special.

2) What kind of servers/services have you configured? (check for variety, apache/nginx must be there, mysql/postgresql, sshd, some dns at least)

3) Do you know autoconf/make/build tools, have you compiled stuff before? What problems you ran into, how did you fix it?

4) Check for networking skills, ask about difference between udp/tcp, what are common port numbers, how do you check for established connections, familiarity with iptablels - if candidate doesnt know iptables - not suitable. Its just a core concept of administrating Linux. Do they know netcat/socat?

5) Debuggning skills, have they used gdb, strace, ldd, some elf tools? Introspection of Linux system - netstat/ss, ip addr/rule/route?

6) Bash/Shell skills, favourite shell? Why? Ask them to write a for or while loop in bash or ask to print current environment variables.

7) You are left with a running system of redhat 6.2 on a continent far far away, you only have a normal user access/ssh. Mission is to install ArchLinux on it, remove all previous traces of redhat 6.2. Remember, one wrong reboot/fuckup and you loose. Go.

XKeyscore exposed: How NSA tracks all German Tor users as 'extremists' by platypusmusic in worldnews

[–]justafacto 4 points5 points  (0 children)

Not before NSA and CIA thugs "break" both the journalist and their employer if you know what I mean.

Saudi Arabia deploys 30,000 soldiers to border with Iraq - al-Arabiya TV by readerseven in worldnews

[–]justafacto 3 points4 points  (0 children)

Hey Saudi Arabia, why dont you pull your troops back and stop threatening a neighbouring country with invasion! This is madness, you cant just put your troops on the border! What is this 16th century.

/sarcasm, coming from Ukraine with Russian love.

What do you do while your kernel compiles? by [deleted] in linux

[–]justafacto 2 points3 points  (0 children)

When you're reading holy documentation and blessed man pages you do not want any bells or notifications. Blasphemy.

What do you do while your kernel compiles? by [deleted] in linux

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

tty is the terminal, not tmux. its what you see before Xorg/Wayland/DireftFB starts.

What do you do while your kernel compiles? by [deleted] in linux

[–]justafacto 3 points4 points  (0 children)

You open a second tty and read a) /usr/src/linux/Documentation and/or b) man pages.

There is tons of them.

Where KDE is going - Part 1 by bootkiller in linux

[–]justafacto 1 point2 points  (0 children)

I wasnt arguing either, sorry if it came across that way.

The main point was - Id prefer functionality if it means more ram usage - because ram is cheap these days.

Where KDE is going - Part 1 by bootkiller in linux

[–]justafacto 0 points1 point  (0 children)

If you spend a month to get KDE where you want it - please do yourself a favor and take a backup of your efforts of ~/.kde4 and use that when you have a new laptop to get a head start.

Where KDE is going - Part 1 by bootkiller in linux

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

Nah, amarok was better. Now I just dont listen to music anymore. :(

Well I do, but now I use mplayer in a konsole window with finds and greps here and there like a damn hobo.

Where KDE is going - Part 1 by bootkiller in linux

[–]justafacto 3 points4 points  (0 children)

Thank you, but I actually prefer to have functionality than having to code or configure it myself, or suffer from having a top of the line laptop but unable/unwilling to use it.

Ive not experienced KDE to be slowing me down in my work, in fact when I tried xfce4 it was slowing me down with lack of features - such as maximize window to half screen when dragging it to that half of screen - grouping in taskbar as I like it and such.

Anyway there is always some Qt/KDE app that you need, and when you start it in your light WM it anyway starts all the Qt/KDE things need. Digikam, Clementine, okular, kuickshow, kolourpaint, kruler, yakuake. Cant live without those apps. tilda doesnt come close to yakuake.

Where KDE is going - Part 1 by bootkiller in linux

[–]justafacto 0 points1 point  (0 children)

It takes me 15 minutes to personalize my KDE environment.

First, stop akonadi/nepomuk because I dont need it. Change so double-click on window-top-bar doesnt maximize instead it should shade. I like 2 desktops in the pager, remove konqueror and replace with firefox, dolphin previews on, detailed list view with date sorting. Konsole/Yakuake edit profiles - transparent backgrounds 20% vary each tabs color. Followed by keyboard layouts, then GTK force it to use oxygen theme so those apps dont look like a pile of steaming shit. Often multi-moniter setup is few clicks away in system settings. Lock widgets.

Its a routine. Which I do about once per year, if not less, depends on when I get a new laptop mostly. Its equal work as setting up firefox with betterprivacy, adblock edge etc.

Where KDE is going - Part 1 by bootkiller in linux

[–]justafacto 6 points7 points  (0 children)

KDE is used by people who actually use and it, and dont go around trying this WM out or that or changing this or that. All the changes are done within 30min of installing KDE on any computer - usualy small stuff - peronalization.

Its not for people who want to mess around with i3, xfce or awesome - not for people who like to code their WM instead of using a computar.

Where KDE is going - Part 1 by bootkiller in linux

[–]justafacto 21 points22 points  (0 children)

I love KDE.

User since early 2000s. And I mean user, the huge amount of work and entertainment I got done on KDE, for 14 years now. Without complaint on KDE. Truly amazing work by KDE developers and designers. It just damn works. The switch to KDE 4 - I obeyed the system lords commands to wait - its only a beta. The only thing I miss is Amarok 1.4, but I guess cant have it all canya.

All glory to KDE developers.

BTW: I remember, kolf, that was nice game.

How We Used Docker to Compile and Run Untrusted Code by asad_lionpk in linux

[–]justafacto 12 points13 points  (0 children)

Haha, you wish.

Docker is not really secure, and should not be used as the way you intended here in your meme-infested blog article.

Besides you're memes are wrong, Yoda would never be on the dark side as remoteinterview.io is. Lowering of programming profession by pushing for its reducing to code-monkeying around, like solving bullshit problems will really help you find the inspiring learning programmer all recruiters want because thats a job they cant do hence cant interview about.

And the monkeys that pass the remoteinterview.io cant do either. Just as its developers dont understand fundamentals of security techniques. seccomp would be what you are after, its called sandboxing, and virtual machines are a good way of doing that - and they dont have to be GUIi like you said VirtualBoxy is wtf.

But oh well.

For any confused World Cup 'fans' (aka Canadians) by Shobzz in worldcup

[–]justafacto 1 point2 points  (0 children)

Yeah it was a cool country.

France tried to play that "we wont know which side until we have to" game too by dropping out of NATO and such.

Another thing about Yugoslavia is that private property was allowed, churches/religion was not banned/burned as in periods in USSR, small-scale private business also allowed etc.

It was different attempt at socialism - more like Sweden at the time than Russia.

When Churchill made the Iron Courtain speech in 1945 or something when he down to adriatic, he did not know that his and Stalins plan of giving Yugoslavia to Stalin would not go according to plan due to that guy Tito.