« first day (2200 days earlier)      last day (2970 days later) » 

Wes
Wes
00:49
15m then bye bye social media #totallynotaddicted
 
1 hour later…
02:04
you're crazy
Wes
Wes
02:14
i am
Meh, TWD got really bad the last few seasons.
Once they started making really dumb decisions I was done with that series.
@DaveRandom Windows. General document writing. It's my Dad who needs it, doubt anything fancy.
libreoffice?
02:30
@littlepootis Where you from? Or more specifically what languages do you speak?
So random.. South India. English, Telugu, Hindi.
Ah fair enough thanks.
@Ekin Are you just English and native?
I speak Spanish as well
well, Castellano
02:34
I can score 4/10 in a French 101 exam.
I could do that much for a German one I guess
Ah, Spanish they should have but don't so not needed :)
eih, maybe less now
what's up?
Just some translation requests. Small few key words but a 1:1 translation could be incorrect so wanted to ask speakers.
ah, I see
02:36
FR, PT, IT, and DE needed.
So nice to be able to have a coffee again in the mornings :) hot one that is.
Wes
Wes
do you have access to jeeves account? or only peehaa has?
I don't, probably DaveRandom has access too
dunno really
Wes
Wes
02:51
@PeeHaa clickme
user6820627
what server stack do you use to develop php apps?
One with PHP mostly.
@Ekin Looks a lot like Limbo
yeah
but it has a pretty predictable end
Is it more art or game style for you?
are you asking specifically for that game or in general?
well, anyway game style > art or quality I guess for me.. kinda depends.
on an unrelated matter...
can anyone see which tag am I supposed to use for currency symbols? scs.leeds.ac.uk/ccalas/tagsets/brown.html
Wes
Wes
03:12
halloween avatars are back! :B first victim is @Fabor i.imgur.com/hdS5ZSf.jpg
(sorry)
but you get to choose who is next :B
03:23
@Ekin for that game. But sure.
Like Indie games then?
yeah
been a while I haven't touched any game actually
Shovel Knight <3
Yeah, a little part of me is wishing I didn't sell my DS. Though I just want to play pokemon or something.
TIL: \p{Sc} matches any currency sign
Wes
Wes
i wish pcre supported unicode character properties
Wes
Wes
03:34
hey joe \o
@Fabor didn't like the avatar, it seems :B if you want i'll delete it from the internet
lol no it's good :P
better than TWD :P
Wes
Wes
:B
5 minutes photoshopping just for the fun. i did it in the past two halloweens here
o/
Good morning guys!
mornin
03:51
\o
Mornjoe
@DaveRandom some of this is confused
we'll chat later ...
yo fab
@Ekin you can't have "pos" in the name of anything ...
:( why?
mornin Joe,Fabor,Ekin
mornin Linus
03:58
because in the vernacular it means "piece of shit"
ah lol ... that
ha, piece of shit tagger
yeah
that's what I read for all of those names basically
> also called grammatical tagging or word-category disambiguation
maybe something in one of those ... I never heard of any of this before ... so am pretty clueless
actually, this is brill tagger
> The Brill tagger is an inductive method for part-of-speech tagging. It was described and invented by Eric Brill in his 1995 PhD thesis. It can be summarized as an "error-driven transformation-based tagger".
although I'm not really sure about "error-driven transformation-based" bit
error-driven sounds bad
yeah but it seems like it means this:
04:03
but I'm sure it means error in some other sense than I understand it ...
- a form of supervised learning, which aims to minimize error
- transformation-based in the sense that a tag is assigned to each word and changed using a set of predefined rules.
but yeah, I think in any way brill-tagger makes more sense
so, not driven by error at all, it's error aversive ...
right indeed
thank you, you made me avoid having a piece of shit tagger :P
I want pizza :(
that's probably not the right word ...
@Ekin sounds better to me ...
04:07
now that pin can go away... but current question: BrillTagger or brill-tagger?
I'll rename the class to the former, but I don't know for the repo/package name
put a new poll up and I'll switch it ...
SuperAwesomeExcellentBrillTagger
but another thought occurs
hmm?
it's probably not a one class thing, right ?
Brill\Tagger
Brill\Tag
Brill\Rule
Brill\Parser
Brill\Banana
04:14
actually at the moment, it's a very simple one class with tag() method
because in principle it is simple
okay then, none of what I was thinking applies
there is a lexicon file that serves as a dictionary, which I generated using the brown corpus The input text is first tokenized, or broken into words as it says.
I know some of those words ...
I know most of them actually ...
04:16
The hardest part was creating the lexicon file using the brown corpus and for that I used python
Wes
Wes
i think i'm going to do joe now
...but only after i offered him a beer
@Ekin traitor
^^
but there is a really good tool called nltk for py and actually without that it would take such a long time...
:D
at least you didn't use js, if you had used js, I would have to stop talking to you ...
:D
hehe, well, the tagger itself is just PHP ^^ no one will ever notice there was python involved (except this chat)
04:19
@Wes you need to work on your chat up lines ... you don't just announce your intention to do another person ... woo me ...
Wes
Wes
lol
waitforit
what am I waiting for ?
@Ekin I looked up nltk, I get it ...
yep, I made a repo for all that stuff, this is pretty much the reason I went with that: github.com/ekinhbayar/brown-corpus/blob/master/scripts/brown.py
course after that I used other py stuff to dedupe it and all... a bit tedious still
Wes
Wes
@JoeWatkins making halloween avatars for regulars, it's the third year i do this i.imgur.com/NJdyqM9.jpg
:D
Wes
Wes
04:28
joerdie/cyclops/thor'sphphammer
Wes
Wes
even part star trek borg
damn this come out good :D
they're cool ... I don't remember last week, so is all new to me ...
Wes
Wes
no probs. do you remember peehaa's avatar sweeping blood from the ground? :B
I can't tell
Wes
Wes
04:33
though i just made a few, like 15 in total
when you said that, I conjured an image of it ... I don't know if I remember that, or that was just my brain trying to remember something I'm obviously supposed to remember ...
where's the image ?
Wes
Wes
peehaa's you mean? eh, lost in chat search :D i did it last year or even the year before, i don't remember
does it have like a fantasia brush in it ?
do you even know what that means ?
Wes
Wes
yep, but with blood
ah then I think I do remember ...
Wes
Wes
04:36
yes, i'm old, i know fantasia :P
I don't think it's about anything is it ?
Wes
Wes
i don't remember either other avatars i did... i just remember peehaa's
just images of dancing buckets with mops
Wes
Wes
yeah, makes no sense :D
trippy shit, there's a couple of clips on youtube ... I think you couldn't do that now, people would ask what it's about ...
it was a showcase, I'm not sure why we got to see it ... it should have been used to get investment in the film industry, but it never really belonged in the hands of people ...
Wes
Wes
04:51
tbh i don't remember, it was the 20th century when i watched it last time
i just remember dancing brooms, and the music
all I had was mops and buckets, but it actually does go on for ages with the most random stuff
yeah same, I wonder why that sticks in memory
it seems right that what we remember was animated in the 1940's
which is remarkable, if that's right ...
I don't think I know what either of those mean
why does that dragon have dogs ears ?
Wes
Wes
watch them with your kids... they might find them odd in 2016, but you will like them, i think :B
how about this, joe? static.dolimg.com/lucas/movies/… :D
brb, coffee
the dragon also has dogs legs, and that's a frightening duck
Wes
Wes
05:04
that's howard the duck :P
heh, I had forgotten how nice are the City and Colour albums
Wes
Wes
never heard of them. how bad is it?
BTW. Dr Strange movie hype anyone? Going to see it Saturday :X
Wes
Wes
benedict cumberbatch looks great as dr strange
actually, perfect
posted on October 24, 2016

New Cyanide and Happiness Comic

05:16
Yeah I love Benedict Cucumbersausage in loads of films.
Wes
Wes
cucumbersausage
:B
hi guys i have a dought but that same my dought the below question already here:stackoverflow.com/questions/40211074/…...
please solve this
@Fabor please help me
Wes
Wes
05:33
please don't ping randomly
^
doubt* not dought. And the word you're looking for is "Problem"
sorry
really sorry @Fabor please give me a idea for my doubt
if anyone would like to help they will don't ping people
Wes
Wes
!!anmol
What do you call cheese that isn't yours? Nacho Cheese
Wes
Wes
05:39
:B
:P
ninromg
gninrom
@Gordon my German friend. Would you be so kind as to translate a few words to German for me? Most simple ones but for the sake of clarity I prefer asking a native speaker.
@Fabor sure
05:55
featured, price, "daily rate", "long stay", "site map", "our mission", and "submit" please.
@Fabor fleischwurst, hähnchenkeule, bier, schnitzel, mobiltelefon, jägermeister, feuerwehr
4
Danke
Hold on a minute -_-
price sure does look delicious.
featured is kinda hard to translate standalone. might be easier with context
price is preis, daily rate is tagessatz assuming this is what you charge pr day
long stay literally means langer aufenthalt or langzeitaufenthalt as a compound
featured as in like we are featuring these blog posts
site map doesnt have a translation I think. Is that for a web site map? then its just sitemap
06:01
Furry
our mission is "unsere mission"
submit is abschicken/senden if you mean submitting a button, else it could also be nachgeben
Awesome thanks.
not sure how I would translate featured tbh
It's okay. Doesn't have to be super accurate nor direct as long as the meaning is the same.
Featured as in promoted
same thing. it would probably be hervorheben or sth like that, but "wir heben diesen blog beitrag hervor" doesnt sound right
06:08
Moin all
Wes
Wes
@Gordon schnitzel? :B
It's okay, only the single word is used in this. No sentence.
Makes more sense than fleischwurst
@Gordon something like this maybe?
@Fabor gtalk'd you
Good morning!
06:20
o/
06:30
@Ekin yeah, "vorgestellt" would work. /cc @Fabor
Thanks guys
oh and what's "more information" ?
Mehr Informationen or Weitere Informationen
Hi guys good morning ....
just thinking how to store parent and child rows in same database table?
row_id parent_id other_column
06:42
911
foreach($get_ss as $ss){
$ss_name = $ss->name." | ";
}

why it doesnt loop?
@JoeWatkins now I can't help but wonder... whether having something like nltk as an ext or something is a doable thing...
it only gives the last query not all query
@PureRhymerOrganization .=
also why dont you just implode('| ', $get_ss)?
oh i see ty
yes i tried implode but it gives me error
06:44
ah wait, yes. you want to do it for ->name. nvm then.
so it does give an error on implode? because of ->name?
@PureRhymerOrganization not because name but because implode will try to concat the array elements, but your elements are objects and they dont implement __toString() apparently.
but echo implode('| ', array_map(function($el) { return $el->name; }, $data)); would work
ahh i see so thats why i get an error
or echo implode('| ', array_column($data, 'name'));
but i have an $ss_name=""; above foreach loop
06:56
@PureRhymerOrganization do you understand the difference between = and .=?
@Jimbo when shall we two meet again?
yes yes it is the same of $q = $q.$q.$q
it append
@PureRhymerOrganization it's not $q = $q.$q.$q but $a .= 'foo' is the same as $a = $a .'foo'. So yes, it appends.
consequently, when you do $a = '' you'll get an empty string in $a. but when you loop over your get_ss and do $a = ss->name you are not appending but overwriting and then it will contain whatever is the last element in ss. hence you need to append there.
ahh yes. Thats what I mean
it will loop until the last data
07:23
@Wes \o/
Morngins
@Wes that looks awesome af!
morning PeeHaa
@Jeeves new look awsome ^^
Do I have to opt in again or am I getting it anyway @Wes?
morning
Wes
Wes
@PeeHaa the avatar? :B
07:27
yeah
the day doesn't start optimistic, there are plenty of peaople complaining on my first RFC because they can :(
Wes
Wes
eh it's hard to invent stuff on the gravatar one :D
brb
I know :P I've heard that last year too :D
morning...
good meurning!
07:31
is it possible somehow to toggle a value in DB table with checkbox in view
true/false value
without form
and submit
Anonymous
monting
this sounds like a solution for me...
8
Q: jQuery Ajax checkbox state

oshirowanenI have checkboxes on my page for which I would like to send their state back to the database via ajax. I know how to use jquery with ajax, but I don't know how to get the checked state, both checked and unchecked along with the id of the checkbox so I can send it back to the server. Any ideas?

moagain
moin
I had some thoughts re App::run @DaveRandom
?
(i updated the PR with naming fixes, btw)
07:40
well, right now, if you step through main, with or without blocking, and in that loop, request redraws, you will end up requesting way way way many more redraws than anything can realistically handle, the queue gets long, and when you request a redraw for something new, it may take a long time to happen, making stuff strange ...
there's no way to interact with the queue in libui
^ I wondered how that actually works
Have you got some API docs you are working from @JoeWatkins?
there is only libui header, and testing
I've been trying to figure out how I would e.g. write an amp based app with it, i.e. how I would listen for UI update events in my own event loop
so I have here App::onTick
which will enter into the vm (call the user defined method) by the App::run loop, but can only exist in the queue once, this makes for nicer redraw of canvases
here's the problem though, if you just do uiMain(), control is never returned to enter the tick function into the queue
@JoeWatkins please can you explain to me, in more english words than there currently are on the docs page, exactly what all 3 variants of invoking run() actually do?
I'm really struggling to make it gel with what I know about how native windows gui applications work
I feel like if I can make that leap then I will be able to have an intelligent conversation about it
right now I have a bunch of disparate pieces in my head
07:49
App::run() just executes uiMain() which never returns control to the caller
App::run(true[, false]) executes uiMainStep(0) which returns control to the user non-blocking - it does not wait
App::run(true, true) executes uiMainStep(1) which returns control to the caller, but waits for a ui event first
OK. Is uiMainStep(1) interruptable?
btw, in windows GUI applications (and I believe OSX as well) it's common practice to have a "UI thread", i.e. the UI loop runs separately from the application business loop. Communication between the UI and the business logic happens via signalling.
I think it's not ...
I've been told that it's even more complicated than that, that osx does all ui work in a single thread, and it has to be in the first thread the os executes
This is a model that makes way more sense to me, because e.g. if I have a network-based application, none of those options ^ let me handle a network event and a UI event in a timely manner, because I'm only ever listening for one or the other
the reason I haven't done this before, is because I don't know anything about the underlying operating systems ui sdks, or threading ... I've done a few .net apps in my time, and a bit of messing about on android, but I don't know anything about this stuff ...
@JoeWatkins Not sure about that "first" business, however Windows has a similar thing in the sense that you cannot manipulate UI elements from another thread, any operation that requires a window handle must be performed from the thread that created that handle.
07:53
I'm not sure about that either ... I've also been told that gtk-3 just simply doesn't allow you to pass controls around ... but I know that's not true ...
anyway, if you have a network based application, what is wrong with it doing it's work in another thread ?
there's no problem having a ui thread and a reactor thread ...
nothing at all, the long of the short of this is that I suspect that in the real world threading is going to be required - however this is the sort of thing that will be handled in userland by frameworks like amp
oh there's a mechanism to queue a call in the main thread, which is how you post the message back to the ui from another thread ...
(onTick is using that mechanism)
the upshot of this, though, is that basically every practical application will be using App::run(App::Loop | App::Wait)
handling it in frameworks may be impossible ...
07:56
@Patrick I have thought about final and think I'll change my opinion. At least to some extent. My main argument against final is that it hinders testing and offers little benefit for that drawback. However, the first argument doesn't apply when the final classes implement an interface or extend an abstract type, because it's very much possible to mock these.
But in practice, you don't always have interfaces or abstract types for everything and mocking an interface might mean you need to fully implement a mock, so it still comes with a cost and I am not yet fully convinced it's worth adding these additional artefacts just so you can use final.
@DaveRandom not really
before you enter the main loop, you could have started a pool of threads already, when something is clicked you submit to a background pool, when the background job finishes it queues a function in the main thread
@JoeWatkins Right, but wouldn't you implement that basically as:
while ($running) {
    $app->run(App::Loop | App::Wait);
    // post data to background thread
}
no you wouldn't
you would just do $app->run() and onStuff handlers would be submitting to background when invoked
Oh right of course
@Wes the main reasoning is: I have a cheap-ass-20$ video card at work for running multiple monitors. It's lagging in basic linux window animations. Modern desktop environments use hardware rendering. And the same trend is visible in browsers. If you want a bit cheaper GPU, then look at AMD's R7 360 cards
07:59
OK then what use is uiMainStep() at all?
but while you can't manipulate controls from other threads, you must be able to pass the address around

« first day (2200 days earlier)      last day (2970 days later) »