logs archiveBotHelp.net / Freenode / #2f30 / 2015 / August / 21 / 6
FRIGN
k0ga: I bet it's like 40K
because scc doesn't do so much I/O
__20h__
k0ga, here's slow internet.
k0ga
FRIGN: dynamically linked is 53K here
(O2 and stripped)
FRIGN
k0ga: how big is it statically linked with musl?
k0ga
let me try (I have neved used musl ^^!)
s/neved/never/
Evil_Bob_
k0ga: -Os would be smaller probably ;)
FRIGN
I'll try it
sec
cc1 is 85K
with -Os and -s
cc2 is 43K
Evil_Bob_
wut? static?
FRIGN
yes
Evil_Bob_
very nice!
FRIGN
~/dev/scc $ file cc1/cc1
cc1/cc1: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped
~/dev/scc $ file cc2/cc2
cc2/cc2: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped
Evil_Bob_
(Action) fap
FRIGN
:)
k0ga
wow
FRIGN
I told you
k0ga
and cc1 is near of being a complete c89 frontend
FRIGN
given how little scc uses from the stdlib, it only makes sense
the weight comes from the big interfaces
k0ga
__20h__: where are you now?
atmc
if i'm on a master branch
in a git repo
and added changes
not committed
can i still switch branches?
k0ga
no
atmc
or add a new branch
k0ga
you have to commit, or stash them
atmc
and commit the changes to that
even with a new branch from master?
k0ga
my advice is commit when you have to commit something, if you need to change to someother branch use git stash
atmc: the problem is that if you change to another branch and you have changes not commited, then you are going to lose your changes
atmc
i didn't switch branches after my last feature merge to master
Evil_Bob_
i almost always create a new branch for it
when its just one file i just cp it to a temporary directory or w/e
k0ga
Evil_Bob_: the implementation of git stash is like a branch
Evil_Bob_
yea
atmc
k0ga: okay whats the workflow for me now?
k0ga
it is only syntax sugar
atmc
i'm on master
with changes
i want to add to a new branch
k0ga
atmc: git stash; git chekout other_branch; some_stuff; git checkout master; git stash pop
atmc
(i make abackup of the directory first)
k0ga
git stash save all your changes
atmc
eh so i can't pop the staged changes into another branch?
k0ga
git stash pop recover them
atmc: you can
atmc
okay thats great
__20h__
k0ga, I'm in a city nearby.
atmc
Dropped refs/stash@{0} (33c88848489273dfa7bfda023a0c3ee972dacd1f)
k0ga: perfect thank you!
i need to read more about git
so powerful
and so makes so much sense
k0ga
atmc: try to understand the file layout of git
if you understand it, all the rest is easy
I think is the only tool where it is easier to understand the internals that the abstractions
xD
FRIGN
lol
k0ga: *than
k0ga
uhmm, yes it is true
FRIGN: thank you :)
openfbtd
http://www.youtube.com/watch?v=YbBU06irWT8
Wrong channel
atmc
not getting tired
:/
« prev 1 2 3 4 5 6 next »