« first day (1725 days earlier)      last day (3223 days later) » 

8:00 PM
bootstrap button styles aren't tied to buttons. They work on links, too.
also, they don't apply to buttons unless you specify a class, I thought.
 
@Luggage I don't want the button styles.
the default ones.
 
then don't put class="btn"
 
I want to incorp it into a nav
 
@SterlingArcher I used liquibase
 
@Luggage you don't get it.
moving on.
 
8:02 PM
ohh, i see. and you need an <a> becasue the style expects that?
 
yes
but I need a button to submit the form
 
gotcha.
 
so I'm using JS to do that instead
 
hijack anchor click? am I missing something
 
I am also annoyed sometimes that bootstrap cares about which element you use instead of classes alone.
 
8:05 PM
@Luggage lots of .foo>ul>li>ul>a:hover {
they have a crapload of direct child selectors
 
YES!
totes just completed it with href="javascript:void(0)"
now I don't see the hash before the page reloads to the login page
#win
 
hmm, that isn't quite standard
 
!!afk I need a shower.
 
@rlemon lol
 
8:17 PM
@CSᵠ works everywhere
@BenjaminGruenbaum ohh dude, I'm doing some nasty shit to avoid mucking in CSS
 
@SterlingArcher you do not, I guarantee it
 
set the href to a data url :D
 
iirc it does work indeed
 
@BenjaminGruenbaum trollface.jpg
 
@rlemon I'm doing css to avoid JS and I'm mucking as much :D
 
8:18 PM
set the href to "javascript:alert('you, just got trolled')"
 
data uri sounds much bettr
 
@BenjaminGruenbaum That repo is slowly eating my brain out
 
@Zirak es-observable? We're actually getting things done.
 
Soooo muuuucchhh craaappp
 
^ actual code
 
8:19 PM
#38 is the latest wrapped joy bundle
 
!!ragetrain
 
@rlemon That didn't make much sense. Use the !!/help command to learn more.
 
@rlemon You make me sick
 
wow lol wtf huh
 
You gave future me an abortion
 
8:20 PM
the menu is hard coded for a's, and after 20 minutes I couldn't make it look the same for a button.
#fuckit
I'm all hashtaggy today
 
@Zirak I'm not sure what you're talking about, there is actually a lot of interesting discussion going on :P Honest.
There is a ton of snark from two particular people, but other than that it's good and one of those people is useful.
 
It was interesting the first time I read those arguments
 
yeah issues on that repo are basically like jokes that go "woosh" over me.
 
@Zirak a lot of them in that issue are pretty new. Just ignore messages containing "purely functional"
 
8:22 PM
if only someone can translate it into simple english readable by n00bs like me :/
 
I think half these guys are ded
 
@BenjaminGruenbaum always a good phrase to ignore :D
 
Oh yeah @BenjaminGruenbaum in unrelated news I accidentally implemented observables in python, it looks like the most unpythonic thing ever
Lambdas are like Britta
 
@Zirak Python 3.5 has async generators, async/await, async disposers and all sorts of stuff that makes me jelly. Just saying.
 
8:25 PM
@BenjaminGruenbaum Python 2.7 has Queue
 
lol, Python 2.7
 
:(
 
How did you implement them? Why not Twisted or something like that?
 
I don't want event machines, I've implemented event machines, I'm tired of event machines.
And I implemented them as you damn well guessed I implemented them
That's not a sentence, is it?
 
@KendallFrey oh my god
I can't even...
> Pill Cosby
 
8:27 PM
@BenjaminGruenbaum How? I thought Python was pretty adamantly single-threaded.
 
._________________.
 
@ssube unlike multithreaded JS
@Zirak no, it is not.
 
@ssube Not at all
 
@BenjaminGruenbaum JS wasn't because the language chose not to be, although the runtimes often were. Python's runtime and global lock was preventing it, last I heard.
 
Oh yeah @copy I ended up doing the terrible thing I didn't want to do because I didn't know what else to do please don't send me to hell
 
8:29 PM
I tried multi threaded python last week trying to mimic remindor and faced an iconic fail.
 
@ssube that's because Ryan Dahl wanted a language with no io infrastructure before.
 
You can literally replace map with multiprocessing.Pool().map and get multithreading
@Zirak hi, ok
 
@SterlingArcher Did you have any questions about Liquibase? I can give you a general overview of what I know
 
Thanks
 
I'll keep your soul though
 
8:31 PM
@taco I'm just reading the documentation at the moment, my boss will be going over it with me when he's out of his meeting
thanks though :)
 
That's what they all say, at first
 
@SterlingArcher it's fairly straight forward. Only catch-22 I found with it is if you commit a bad change to the db, you might need to delete it from the changelog table
 
@SterlingArcher @taco Whatever you do, never use the raw SQL statements.
Always use the real XML tags.
Rollbacks and sometimes rollforwards using raw SQL can do weird things.
They're also impossible for liquibase to verify.
 
Weird like @KendallFrey weird or like @Zirak weird?
 
@ssube yeah somebody else set it up, we used the changelog.xml in which we appened our list of xml files with changes
 
8:36 PM
Weird like Kendall. Zirak at least sort of works.
 
> sort of
 
Oh damn
 
Raw SQL steps can break your DB real quick, don't do em. The tags can do almost everything raw SQL can, but in a better/safer way.
 
Well I applied to The Weather Channel and threw a crazy number out there. Turns out I know a Director there, so maybe that will help
 
8:37 PM
It's gonna be hard taking Kendall seriously for a while with that starred lol
 
I had never imagined including a small little function in the standard lib will take so much time :/
 
@Zirak doesn't libuv have a python binding or something :D ?
 
@BenjaminGruenbaum 4th paragraph or so, see limitations
I'd have drowned my agony in gevent or something similar (which are really meh, but whatever)
 
8:40 PM
I should be able to hide the chat avatars. I never look at those.
I can only see one starred item on my 13" macbook
 
Chat very well coded
Great design
 
Lovely
 
wow
 
@Zirak async iterator?
 
I just deleted the <ul> list. Good enuff!
 
8:42 PM
Those are Python 3.5 though :D
 
@BenjaminGruenbaum In python?
Thanks
 
Don't thank me, thank Obama
 
"Animorphic Dragonborns"
How didn't I think of that
"Spank me with toddlers"
With pleasure
 
@Zirak child clowns?
 
Several
 
8:44 PM
Bitcoin has gone up this week by ~$25 USD. It's been sitting around ~$240 for a while, now its at $265 or so
 
paste into console.
should work
wrote it a long time ago
 
@Zirak when you say 'data sources', how many are we talking about? 2? 10? 100?
 
@BenjaminGruenbaum I don't care, probably less than 100 though
 
@rlemon I think I have that Userscript thing for the Music chat. Can I just paste it in there
 
8:45 PM
Unless I'm really bored one weekend
 
@SterlingArcher It's gonna be "hard"
 
@taco copy the code. hit F12, paste it in the console
make sure it works for you
then you can add it wherever
 
@BenjaminGruenbaum Why does it matter?
 
@KendallFrey +1 you dick
 
8:46 PM
@BenjaminGruenbaum That thing is huge and I hate the codebase
 
@Zirak fair point.
 
@rlemon I think my browser/exentsion is blocking it.
 
I looked at how they implemented a timer and nearly vomitted last week's leftover orphan
 
:puts down lunch: :sigh:
 
That's so much of not doing anything
 
8:47 PM
I'd do it in a Pythonic way, with async iterators, but I'd use generators for it. A Future class is like... 80 LoC and teaching generators to "eat" it with yield is maybe 20 more, then you'd still have to shim the Python 3.5 for async loops but that wouldn't be too bad since you can yield.
 
or perhaps turning it into an object using eval()? — tofiffe 4 mins ago
oh dear
 
@SterlingArcher s/you/for/
 
owait that's not even it, there's a more terrible one: github.com/ReactiveX/RxPY/blob/master/rx/linq/observable/…
 
@rlemon, nice thanks
 
8:48 PM
@SterlingArcher ur makin me cry sthap
 
@BenjaminGruenbaum Unless I'm missing something basic I can't use yield
 
When life gives you lemons...
 
you don't complain because hey, free lemons
 
Let's say I have a loop which gets stuff from a Queue, and yields them. What now?
It's just moving the loop from one place to another
 
@Zirak you can write a decorator like asyncio does for @coroutine, it's maybe 10 LoC, I can show you how I'd do it in JavaScript. Like a bluebird Promise.coroutine. As for actually pushing things into a stream (so it generates an async stream and not a single vlaue) you'd take an argument.
 
user3119231
8:50 PM
juuuhu
 
@taco once I get my home office setup I'm going to be redoing the dark theme as a new extension. SOChat+
 
@BenjaminGruenbaum But how will the loop look like? You can't have several loops running in parallel, because the function call is blocking to the next yield
 
will have formatting fixes, moar hotkeys, little addons like this, (the dark theme as an option), user colors, and an array of room owner tools
 
@rlemon I added it to tampermonkey, but it doesn't load on refresh
 
So that leaves me with passing a callback, and now I made a small observable, and then I make a bigger observable, and then I come here
 
8:51 PM
@Zirak Do you know how you'd write one for a single function yielding promises? Remember, yield is an expression.
 
@taco shrugs
I don't know tampermonkey
 
ok
 
and I haven't touched that script in years
works for me when I paste it
 
@BenjaminGruenbaum I'm missing out on how you can have several subscribers
With yield, that is
 
Anyone know how to set heartbeat of socket.io client..?
 
8:52 PM
@Zirak let's not go into streams now, let's be super simple and say you have a promise, and you're in JavaScript. Do you understand conceptually how converting it to a coroutine works?
 
Sure
 
Ok, and you understand how you can do it for a coroutine in Python?
(using similar code since yield is an expression)
 
The reverse? Coroutine -> Promise?
durr that's the point. Yes, probably
Sure why not
 
Yeah, generators have a .send method you use.
 
We have single subscriber now
That's easy.
 
8:55 PM
You have zero subscribers so far, the only subscriber is the generator runner, all the calling code gets is a promise so far.
Now, the function can take a sink argument, itself an async iterator and you can call it in order to push values to subscribers.
That way you can get multiple values.
 
That's not my problem
one sec, I'll write it down
 
Then what is your problem? I thought you wanted a declarative way to work with async plural data sources.
 
This is magical to watch
 
@KasperRT interval or timeout?
var socket = io.connect(url);
socket.heartbeatTimeout = value;
socket.heartbeatInterval = value;
 
@BenjaminGruenbaum Have a generator that yields (type, value) pairs, split it into multiple (by type) and map/filter/reduce over them
 
8:58 PM
in any case, you set it after you define the io
 
user986408
ok i got this grunt file and it somehow uses ruby sass for compiling my scss stuff (i searched for a sass path but didn't find any). how can i tell this boar that it should use node sass?
 
any idea how to render flash 11.7 on linux nowadays
 
@copy why would he want it "by type"? Why is that special?
 
seems latest version for linux is 11.2
 
@rlemon timeout the connection serverside
 
8:59 PM
7 mins ago, by KasperRT
Anyone know how to set heartbeat of socket.io client..?
then why did you ask for client?
 

« first day (1725 days earlier)      last day (3223 days later) »