« first day (1720 days earlier)      last day (3222 days later) » 

9:03 AM
baaaah
@NeelBasu baaaaaaaaaaaaaaaaah
 
@rightfold This is how I shuffle the numbers 1 to 33 in Java:
List<Integer> a = IntStream.rangeClosed(1, 33).boxed().collect(toList());
Collections.shuffle(a);
System.out.println(a);
How would I do this in hipster languages? :)
 
user1804599
iex(1)> 1..33 |> Enum.shuffle() |> IO.inspect()
[8, 30, 14, 13, 31, 3, 15, 20, 18, 24, 12, 25, 32, 10, 28, 23, 16, 9, 33, 19,
 22, 11, 1, 17, 27, 2, 26, 21, 7, 6, 5, 4, 29]
 
why do we have another sheep
there can only be one lamb, duh.
 
user1804599
scala> import scala.util.Random.shuffle
import scala.util.Random.shuffle

scala> println(shuffle(1 to 33))
Vector(5, 28, 8, 9, 7, 1, 31, 15, 20, 4, 24, 12, 3, 18, 19, 6, 2, 33, 23, 21, 11, 14, 29, 22, 10, 16, 30, 13, 25, 17, 26, 27, 32)
 
@fredoverflow print =<< shuffleM [1, 33], possibly
 
sbi
9:13 AM
Here's another thing I'm bad at: bash. :( How do I iterate recursively over all *.x files in a folder so that I can pipe the output into grep?
^here's one for you, @sehe
 
that sounds like something I had to do at the unix programming exam
fuck if I remember anything tho
 
@sbi recursively over files?
 
Not to be rude but isn't this like first result on google?
 
sbi
@AlexM. Yeah, so did I, more than 20 years ago.
 
It sounds like something that'd be instant-google-able.
 
9:15 AM
or recursively over directories listing files that match *.x
 
sbi
@BartekBanachewicz I want all those files to be named, so I can pipe them into grep.
@Rapptz Yeah, you might have a point there.
 
find . -name "*.x" ?
 
yea
then pipe to grep
 
perhaps add -type f
 
@rightfold English is a very powerful programming language
 
9:17 AM
or run -exec
 
I think I'll accept the offer the guys made me
it's a good offer
salary's not bad and holy shit everyone looks so smart and organized
 
how much would that be in buckets of potatoes
@AlexM. i.e. not gamedev
 
@AlexM. it's a trap
 
yeah I'll probably gradually explain why I'll never touch a gamedev company again
as time passes
 
sbi
9:18 AM
@BartekBanachewicz Well, I did get that far. However, while it lists all the files just fine, when I pipe its output into grep, the latter finds nothing.
 
Are you grepping stdin to look for your needle in here?
 
the work seems interesting
the focus is this
LabVIEW (short for Laboratory Virtual Instrument Engineering Workbench) is a system-design platform and development environment for a visual programming language from National Instruments. The graphical language is named "G" (not to be confused with G-code). Originally released for the Apple Macintosh in 1986, LabVIEW is commonly used for data acquisition, instrument control, and industrial automation on a variety of platforms including Microsoft Windows, various versions of UNIX, Linux, and Mac OS X. The latest version of LabVIEW is LabVIEW 2014, released in August 2014. == Dataflow programming... ==
 
sbi
@AlexM. See, I have listened to the stories, and skipped that "once burned" phase, going to some other company immediately. :)
 
As opposed to grepping a list of files that comes from stdin
 
@sbi you need more pipes, clearly
 
sbi
9:19 AM
@LucDanton Oh!
 
@AlexM. ???
@AlexM. what do you mean
you worked for one?
 
sbi
@thecoshman But I'm not a plumber!
 
grep has an -R option
 
@sbi bah, all they do is through spanners in the works
 
sbi
@thecoshman O.M.G., you are such an hilarious misspeller!
@Rapptz This one doesn't. (At least, grep --help comes up dry.) Is this what --file obtain PATTERN from FILE does?
Nope.
 
9:24 AM
@sbi find . -name '*.x' | xargs grep foo
 
--recurse?
oh wait it's --recursive
 
@sbi "obtain pattern from file" != "look for pattern in file"
 
@sbi :( stop being mean, at the very least tell me where I am mistaken.
 
sbi
@FlorianMargaine Ah, xargs I had seen before. Damned if I know what it does, but this works. Thanks!
@thecoshman It's wrong throw and throw.
 
@sbi xargs is magical stuff
@sbi oh now really
 
9:26 AM
xargs takes stdin and puts it as an argument
like if stdin is foo, and you do | xargs grep bar, it will do grep bar foo
 
It's silly to use xargs with find
 
sbi
@FlorianMargaine Ah, that makes sense.
I should really remember this. But I haven't worked in bash in years.
 
Just use -exec
 
@CatPlusPlus tell that to almost everyone vOv
 
user1804599
@Rapptz -r
 
user1804599
9:27 AM
Also use globs and for loops.
 
yeah it's -r --recursive.
 
@Rapptz I'd do that, yes
 
user1804599
fuck find
 
grep -rns --include \*.x foo
would work too.
-rns are my usual grep arguments
 
@sbi "through".
 
9:30 AM
@R.MartinhoFernandes ¬_¬ he's being extra mean
 
user1804599
Also use beyondgrep.com instead of grep for grepping source code.
 
someone only gave him two eggs instead of his usually five
 
sbi
@R.MartinhoFernandes No, that's what you do with spanners.
 
I learned something fun about grep: GNU grep and BSD grep have different regex modes.
 
@sbi you're a spanner
 
user1804599
9:30 AM
It's faster and skips many files you're not interested in, and uses Perl regexes instead of some limited incomprehensible crap.
 
@sbi btw, still up for tomorrow's dinner?
 
@rightfold grep -P (gnu grep only) allows perl regexes
 
user1804599
> Meet the women who butchers young girls' genitals with a razor blade
 
user1804599
why'd you want to meet such an idiot
 
@rightfold Perl regexes <3
 
sbi
9:32 AM
@R.MartinhoFernandes Sigh. It's one of the reasons I came here. There's been a development... I am asked to go to some party's party, in order to chat with the party's people, in order to make our case better known.
I am not yet decided.
Would you be able to meet any other day?
 
@rightfold Yeah who butcher young girls' genitals with razor blades??? Kitchen knives are better at butchering by far.
 
@sbi Singular 'you'?
 
what an idiot
 
@rightfold Yeah, mismatched number are one of the worst grammar offenses.
 
@buttifulbuttefly don't be stupid, we have a knife specifically for this, a butcher knife
 
sbi
9:34 AM
@R.MartinhoFernandes That's not why you wanted to meet, is it? If it was just that, I could just ask you any day whether you have time after work.
 
user1804599
@R.MartinhoFernandes lol I didn't even noticed.
 
@sbi K, just checking. Dunno.
 
user1804599
(that was intentional after the fact)
 
But let's go with 'yes'.
Depends on the day.
 
@R.MartinhoFernandes so... what you're saying is... you want more mobile DBs
 
user1804599
9:35 AM
PostgreSQL <3
 
user1804599
PostgreSQL uses PCRE. :D
 
Have you guys heard of Realm, btw?
 
user1804599
> Realm is a mobile database
 
@R.MartinhoFernandes not in that context
 
user1804599
> It can save you thousands of lines of code & weeks of work,
 
9:35 AM
@R.MartinhoFernandes Now let's bet on the average time-to-death of the ones born after 2007
 
user1804599
 
user1804599
> not ... on top SQLite. Instead it uses its own persistence engine,
 
> It can save you thousands of lines of code & weeks of work, and lets you craft amazing new user experiences.
> amazing new user experiences
 
user1804599
1/10 wouldn't use.
 
fuck off already
> Why should I use Realm?
You shouldn't.
 
9:37 AM
@R.MartinhoFernandes nah. Is it good?
 
sbi
@R.MartinhoFernandes Anything from this Saturday until next week's Thursday. Well, except for Wednesday. Sigh.
 
Got an offer to work on it.
 
@R.MartinhoFernandes woah
tell us more
 
user1804599
SQLite is more stable than Iron-56.
 
9:38 AM
Go and make amazing new user experiences for a brand new way to experience life and the world for all of us
 
I heard about it
 
The link is purple.
 
@Rapptz in SO chat? How is it possible?
 
user1804599
> Any single Realm file cannot be larger than the amount of memory your application would be allowed to map in iOS
 
No when I googled it.
 
9:39 AM
@BartekBanachewicz Meh, they're not based in Berlin and don't seem to offer remote work. Dealbreaker.
 
user1804599
let realm = Realm()

realm.write {
    realm.add(mydog)
}
 
user1804599
this code makes no sense.
 
user1804599
no storage location is passed to Realm
 
"I'm not leaving Berlin, and I don't care how much you offer" is my current stance.
 
9:41 AM
This is nice. It's important to realize that effectively you work on a vector of char* now (from a memory viewpoint) and this could impact performance very badly. This is reason for me not to upvote it here, because I think the context is all about maximizing performance, by eliminating allocation/copying. — sehe 18 secs ago
 
user1804599
global state = bad
 
it's the whole realm :getit:
 
Xeo
> Temperatur: 33.95°C
uguu
 
@R.MartinhoFernandes what if they offer millions
 
user1804599
> A a ycombinator company company
 
9:41 AM
Fuck them.
 
billions
 
> Download Realm: Switft Objective-C Android
 
@Xeo back to gettin up at 14
 
Android is a language!? TIL
 
where does it say it's a list of languages
 
9:42 AM
> Switft
 
user1804599
@Xeo 23 degrees here.
 
user1804599
airco :3
 
@BartekBanachewicz one of these is not like the other 2
 
It's a version of Swift for TFTs.
 
@rightfold it's object state though
 
Xeo
9:42 AM
@rightfold 21 degrees inside, here.
 
@R.MartinhoFernandes :D
 
user1804599
Nice.
 
@Borgleader I like Chamber of Aspects
 
@Borgleader sooo
 
I think I have a worgen warrior there
 
9:43 AM
@Xeo open windows during night, close during day
 
my paycheck got paid
 
@Mr.kbok long scale or short scale
 
not on my account yet
give me moneyz
on an unrelated note
I visited a bike shop yesterday
 
oh noes. money drain
 
@AlexM. hmm?
 
9:44 AM
fascinating
 
turns out there's a reason for motorcycle clothes being that expensive
 
@Borgleader WoW realms
 
vaccinating
 
I tried on some high-end jackets
 
they breathe
 
9:44 AM
they are freaking armor that's what they are
 
they are ultra light weight, made from space fibers
 
actually the one I tried weighed a lot
 
user1804599
I'm the best animal on this planet.
 
but being in one felt like it gave more protection than Toyota Yaris
 
that's a low bar
 
9:45 AM
@AlexM. Ctrl+F Chamber yields nothing.
 
those protectors are 3-4cm thick in places
and surprisingly stiff. Like, you can't bend the arm at the elbow freely
 
@Borgleader Chamber of Aspects (PvE) Medium English
note that I'm on EU
why are you on US weren't you Italian
 
oh, of course
 
@sbi I'll let you know.
 
@AlexM. he's from Canada
 
9:46 AM
Canada is in Italy?
4
 
I think it's a running joke by now
 
@AlexM. i told you i wasnt italian yesterday
 
@Borgleader I know :P
 
either way
 
sbi
@R.MartinhoFernandes When would you know?
 
9:47 AM
The clothes for our two would cost around 50% of the price of the motorbike I want to buy
which is a bit higher than anticipated
also the seller made a good point; clothes first, motorcycle second.
 
alright time to go to work
 
sbi
@Borgleader Weren't you the one I either misplaced in Canada despite you living in Berlin or the other way around? Sheepish grin.
 
user1804599
 
@sbi Actually, maybe you'd be up for a picnic at Jungfernheide on Saturday?
 
sbi
During the day is bad. I promised the friend who lives across the street and whose apartment was flooded by the firefighters the other week that I would help her recover stuff, and since I am currently grounded at home with a sick child, there will probably only be Saturday to do that. :(
 
9:53 AM
Ok. I'll let you know some other day tomorrow, then.
 
sbi
@R.MartinhoFernandes Well, if this doesn't work out (come Friday next week I will have kids again, and can't go anywhere unless I find a sitter), I might just drop the party party on Friday night and come to the dinner instead. I am not eager anyway.
 
@MarcoA. that's creepy as fuck :O
 
Ok.
@sbi Just let me know if you decide so, just so Miss B doesn't come up with a different plan.
 
sbi
@R.MartinhoFernandes When does the dinner start. again?
 
sbi
10:04 AM
Well, if I would come late to the dinner, I could do both. The party's party starts at 19, I could probably leave by 21, so I'd be at the dinner by 22. What do you think, would this work out?
 
@sbi Sounds feasible.
 
sbi
@R.MartinhoFernandes You wouldn't leave at 11pm, anyway, would you?
After several weeks, git still drives me nuts because I keep forgetting how to do the simplest of tasks.
 
@sbi I usually leave well past midnight.
Whenever-Sophia-kicks-us-all-out-AM.
 
sbi
Yesterday, I set up a scratch git repo in which I renamed a bunch of branches. It wasn't easy (I am still a git newbie), but I worked it out, pushed everything to the main repo, and deleted the scratch one. Now, after a fetch --all in my non-scratch repo, I see that the other repo still has all the old branches, too. I thought I had done a push --prune, but it seems I hadn't. Then it occurred to me that I also would have to do a fetch --all --prune. Sigh.
@R.MartinhoFernandes Alright, then this might work out. I go to that party's beach party, make smalltalk to slimy politicians, have a beer and a Bratwurst, and try to sneak off around 9, so I can come to the bookstore.
 
@dyp I don't have much qualms about xy answering like that. I feel 90% of answers are xy. The goal of the site is to provide answers to questions provide recommended ways forward in situations where the OP is stuck.
@sbi Yup. These little details of git are about as tedious as writing up that chat message must have been
 
sbi
10:12 AM
@sehe :)
Now how do I get rid of a single branch on origin without running the risk of deleting everything I do not have locally?
 
You fetch it first.
 
sbi
And did I mention I still fail at the simplest tasks?
@R.MartinhoFernandes I have already deleted that branch locally.
 
@sbi git push origin :to_be_deleted
 
sbi
@sehe What's that colon doing?
 
It separates the local ref from the remote ref. There is no local ref :)
Didyou know about man-pages :) (SCNR)
 
sbi
10:16 AM
@sehe Uhuh.
 
This one of the few things that I found that SourceTree GUI does pretty well, by the way. Did you ever try it (disclaimer: I hate it, but many people seem to like it)
 
sbi
@sehe I did. I wasn't overwhelmed, though. I am using a mixture of bash and Tortoise now.
 
Those are my weapons of choice, in that order, too. I like Tortoise for log/diff browsing
 
sbi
@sehe Yeah. I also like how it so nicely skips that staging nonsense. :)
@Columbo So who are you on Twitter?
 
10:20 AM
> The 22-year-old was part of a team that was setting up the stationary robot when it grabbed and crushed him against a metal plate, Hillwig said.
@sbi Oh, good idea, I could tweet this
 
@sbi It's basically src:dst, but without a source, so it replaces the remote branch with naught.
 
sbi
@Columbo Came by my timeline already.
 
@sbi I've started to appreciate staging since Vim+Fugitive. (I know, that's not Ihre Tasse Tee)
 
sbi
@R.MartinhoFernandes That is scary. Really, I do a move locally, and want this to be reflected remotely. That's a simple operation, actually. So why do I have to copy-and-delete manually?
@sehe I have nothing against vim fugitives. I'd even brew them a tea to calm them, if needed.
 
@rightfold Oh, the Scala solution is very nice!
 
10:25 AM
@sbi This guy:
Who laughed in effusive disdain when people were scared from robots taking over? http://bit.ly/1RTqA5Y
 
@Columbo R. Martinho Killnandez
4
 
Murderinho
 
sbi
Es beginnt! #skynet 1st step. RT @BBCWorld Man crushed to death by robot at German car factory http://bbc.in/1IuThFL http://t.co/4RM4ppdKKB
 
Ell
@Columbo human error m8
 
:<
Robot haters.
 
10:35 AM
@Ell That's what the Jews want you to believe.
 
> Rapper Christ Bearer explains why he cut off part of his own penis
thanks BBC
 
Ell
Is it his foreskin?
 
he cut a part at the bottom and only later realized that all of it would fall off
 
I don't know and I don't want to know
cutting any part of the penis sounds equally wrong
 
Ell
I agree
 
10:37 AM
I guess bartek's penis doesn't...
... cut it
AAAAAAAAAAAYYYYYYYYYYYYYYYYYYYYYY
 
Ell
Lmao
 
He wanted a vasectomy.
He was also completely high on everything.
 
Ell
And he thought he could do it himself?
Ah that explains it
 
Then he jumped out the window.
He's proud of it.
He's probably still riding the same high.
 
@sbi I bet he was crushed quickly and cleanly
 
10:42 AM
@Ell lmpo
 
@StackedCrooked Oh yeah, I've been meaning to send you money
@BartekBanachewicz it's ok, you don't have to call it a 'poopper', we can handle 'ass'
 
the only pooper in this room is a drawing of a pirate
hrhrhr
 
Bigots come out of the closet.
 
user image
3
lol
 
Her account is verified.
 
10:49 AM
@R.MartinhoFernandes the fuck do they say there
"no people should be looked down upon", "you can't have a society of hate"
 
@BartekBanachewicz They're no longer afraid of speaking from the heart. And their heart says marriage is between a man and a woman.
 
(lol) "I have friends who are gay"
 
@BartekBanachewicz "I love them BUT"
 
@R.MartinhoFernandes and I guess what's implied is that we should care?
 
@BartekBanachewicz It's a call for people that feel the same to not be ashamed of it.
@BartekBanachewicz It's the usual "I am not trying to be racist, but black people should not be on the same train carriage as white people"
 
10:51 AM
lmao
> AWW POOR OPPRESSED BIGOTS
/cc @buttifulbuttefly
 
@BartekBanachewicz Yep, that's exactly it.
 
@BartekBanachewicz My thoughts exactly
 
but you can't have a society of bigotry
 
OFFENSE
 
10:53 AM
Pure win.
 
OH NOES
HATLOR
 
Dinozaur Lesbian Jew Nazi is Magic in Space Slaves
this sounds like a title of a book that could appear on TWTFS
 
user1804599
@R.MartinhoFernandes lol
 
user1804599
the flag of rightfoldtopia
 
@AlexM. What
 
10:59 AM
> because if the pendulum of social equality suddenly swings back (and it will eventually when rare earth elements start to run out) fags will be the first to get genocided, because christians are the ones with the guns and the military is mostly concervative
I uh
guys I need to help with breaking this thing down because too not
 

« first day (1720 days earlier)      last day (3222 days later) »