Skip to content

Instantly share code, notes, and snippets.

View tadzik's full-sized avatar
🐴

Tadeusz Sośnierz tadzik

🐴
View GitHub Profile
@tadzik
tadzik / output
Last active August 29, 2015 14:11
4018 function calls in 0.003 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
1000 0.002 0.000 0.002 0.000 /usr/lib/python2.7/urlparse.py:95(hostname)
1002 0.000 0.000 0.000 0.000 {method 'split' of 'str' objects}
1001 0.000 0.000 0.000 0.000 {method 'lower' of 'str' objects}
1000 0.000 0.000 0.000 0.000 {method 'append' of 'list' objects}
1 0.000 0.000 0.000 0.000 /usr/lib/python2.7/urlparse.py:168(urlsplit)
┌─[tadzik@yavin]─[~]
└─[%]─> cat test.py
from urlparse import urlsplit
import cProfile, pstats, StringIO
pr = cProfile.Profile()
pr.enable()
u = urlsplit("www.google.com/foo/bar?argh=fuuu#baz", "http")
a = []
1101 tadzik | lbt, Aard: so there is some work on that architecture graph done already?
1102 Aard | tadzik: graphing for dependencies of packages, querying live repositories for details
1103 tadzik | I see. The well desired thing seems to be the Big Picture[tm] though, as in "I want to scratch this particular itch, where do I look"
1107 tadzik | as in: is it a particular app, or the jolla sdk, or the part of nemo, or part mer itself
1107 tadzik | does that make sense?
1107 Aard | yes
1109 Aard | so the current approach is: architecture split into hw-adaptation, middleware and ui-level. those are then split into areas (like, backup, connectivity, contacts, ...), containing a
| few paragraphs with links to additional resources + explanation why it was chosen
1110 Aard | it's cross referenced with a 'technology list', which is split into areas as well, and just contains short details: component name, repository url, license, dependency graph
1110 Aard | at least the '
┌─[tadzik@yavin]─[~]
└─[%]─> cat script.pl
use strict;
use warnings;
use feature 'say';
use File::Copy;
mkdir 'empty';
chdir 'empty';
my $from = 'one';
┌─[tadzik@yavin]─[/tmp]
└─[%]─> ls chuj
DUPA script.pl
┌─[tadzik@yavin]─[/tmp]
└─[%]─> /usr/bin/perl chuj/script.pl chuj
No need to move chuj/script.pl, it is already in lower case.
/tmp/chuj
Moving chuj/DUPA to chuj/dupa...
┌─[tadzik@yavin]─[/tmp]
└─[%]─> ls chuj
┌─[tadzik@yavin]─[/tmp/chuj]
└─[%]─> ls
DUPA script.pl
┌─[tadzik@yavin]─[/tmp/chuj]
└─[%]─> /usr/bin/perl script.pl .
No need to move ./script.pl, it is already in lower case.
Moving ./DUPA to ./dupa...
┌─[tadzik@yavin]─[/tmp/chuj]
└─[%]─> ls
dupa script.pl
$SIG{QUIT} = 'nope';
$SIG{INT} = 'nope';
$SIG{STOP} = 'nope';
while (1) {
print "choo choo\n";
sleep 1;
}
tadzik@kashyyyk:~/src/UnrealEngine/Engine/Binaries/Linux$ ./UE4Editor
Using binned.
Increasing per-process limit of core file size to infinity.
LogInit:Display: Running engine without a game
LogInit: Version: 4.5.1-0+UE4
LogInit: API Version: 0
LogInit: Compiled (64-bit): Oct 19 2014 18:53:49
LogInit: Compiled with Clang: 3.4 (tags/RELEASE_34/final)
LogInit: Build Configuration: Development
LogInit: Branch Name: UE4
set background=dark
highlight clear
if exists("syntax on")
syntax reset
endif
let g:colors_name = "yellowish"
highlight Normal ctermfg=yellow cterm=bold guifg=yellow guibg=#1B1D1E
highlight Identifier ctermfg=yellow cterm=bold guifg=yellow gui=none
I'd just like to interject for a moment.
What you're referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux.
Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.
Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called Linux, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.
There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine's resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the con