« first day (1180 days earlier)      last day (3773 days later) » 

9:00 PM
Is that short for "Washington DC"?
:P
 
lol
 
@BenjaminGruenbaum How is that?
 
@FlorianMargaine wtf
 
@FlorianMargaine is that pyramid from actual code?
 
9:00 PM
yeah
 
Where is Octavian Daemian?
 
@qwertynl error objects get a stack trace when created, it's part of their constructor.
@FlorianMargaine I wanna cry ^^
 
@BenjaminGruenbaum But aren't you "essentially" extending the Error object?
 
9:01 PM
@qwertynl yeah, but I have to call the constructor on each new object or set the .stack myself
}).then(function(auths) {
                return con.listOpenAccessRequestsAsync(room.id);
        }).then(function(requests) {
                return con.listRecentUsersAsync(room.id, 50);
        }
@FlorianMargaine these seem to be independent are they not?
 
@BenjaminGruenbaum hmmmm oooo! I get it... There must be a better way though.
 
@qwertynl It's really not that big of a deal
 
@BenjaminGruenbaum nope, just my promisified code is wrong
 
@FlorianMargaine ah, you can do
 
@BenjaminGruenbaum I guess.
 
9:03 PM
I use the results later
so I need to add them to the list of var at the beginning
 
}).then(function(auths) {
    var accessListPromise = con.listOpenAccessRequestsAsync(room.id);
    var usersPromise = con.listRecentUsersAsync(room.id, 50);
    return [accessListPromise,usersPromise];
}).spread(function(accessList,users) {
    //code that uses both here
})
@FlorianMargaine that's closure abuse, avoid that, seriously.
Don't populate closure variables inside promises that's an anti pattern.
 
yeah, but how to you reuse con there for example?
 
That's a good question. My first intuition would be to pass it.
 
posted on January 08, 2014

glsl-transition is a project from Gaëtan Renaudeau which provides a very flexible and extendable way to use WebGL shaders to create iPhoto like slideshow transitions.  It has a promise-based API, supports easing functions, and supports any GLSL fragment shader you can write. The project is from the same author as slider.js, which is a general purpose slideshow framework for JavaScript.  sl

 
But, as long as you don't modify it it's ok, the problem is mainly with mutable stuff.
Just having con and using it is perfectly ok, changing things on the outside is way worse.
 
9:06 PM
yeah I see
but you made me think of a better way to do all this anyway
 
posted on January 08, 2014 by Victor Rodriguez

Researchers crack the world’s toughest encryption by listening to the tiny sounds made by your computer’s CPU Security researchers have successfully broken one of the most secure encryption algorithms, 4096-bit RSA, by listening – yes, with a microphone — to a computer as it decrypts some encrypted data. The attack is fairly simple and can be carried out with rudimentary hardware. The repe

 
@BenjaminGruenbaum great IDE, not sure I'm going to use it though
 
@BenjaminGruenbaum Pretty cool
 
I'm not sure I did good there pastebin.com/8YrCWKxL
 
9:13 PM
stackoverflow.com/questions/21006626/ie-overflow-scroll look how hideous IE handles overflow:scroll for smaller td cells
 
IE is hideous anyway
 
@FlorianMargaine your deserializeUser looks strange in the CB version, doesn't follow conventions.
 
@FlorianMargaine I have to keep browser compatibility back to IE7. It hurts me.
 
@RUJordan whoever is telling you to do that is a moron
 
You're telling me
 
9:16 PM
and they lack basic understanding of economics.
You should be offended that they place such little value on your time
 
aaaand I think I just bricked my tablet.
 
dude!
how?
 
lol
 
It's a non-profit and we keep IE7 compatibility for military access (apartly a lot of the military uses only IE7)
bricked?
 
take it back if you did :P
 
9:17 PM
installed nport administrator suite (virtual serial ports) and now windows is going all bat crap crazy
I hard booted it and it is doing updates now
we'll see in 65% more
 
hey did you DL dont starve?
 
not yet :/
 
I played it on my vita (streaming from my ps4) last night
 
wasn't feeling well last night at all
 
so I finally used my ps4! :P
 
9:18 PM
LOL
 
@Loktar as a paper weight?
 
Somebody posted a jQuery answer on my question about CSS =x
 
@BenjaminGruenbaum oh btw, about the closure thing...
somethingAsync().bind({})
.then(function (aValue, bValue) {
    this.aValue = aValue;
    this.bValue = bValue;
    return somethingElseAsync(aValue, bValue);
})
.then(function (cValue) {
    return this.aValue + this.bValue + cValue;
});
 
@Shmiddty haha
it kind of is right now
 
@RUJordan Don't fight it.... you know what to do.
 
9:20 PM
I've used my OUYA way more
 
@FlorianMargaine much better :) Very nice.
 
but once some more games come out Im sure Ill use it
 
@JanDvorak plugins for dayz?
 
I'd bind it to an actual Connection object you create but either way
 
@Loktar First rule of console gaming: Being a day-oner is stupid.
 
9:21 PM
yeah whatever, the point is you can bind
 
true
but I've been getting them day one for a while now
I got my vita day one, was actually pretty happy with it
 
why?
 
eh idk, like being a part of the excitement
 
there are usually, what, a dozen launch titles?
if that.
 
yeah in the past it was better too..
now launch titles are already on PC
 
9:22 PM
Not to mention hardware issues
 
that was my issue with the PS4
yeah I havent had any issues with any of mine fortunately
 
@rlemon I'm like pringles. Once you pop..
 
I was an n64 early adopter too.. that was the worst one
 
Waiting in line for hours to get yours
 
very few games, and they were like $70
so I rented for the first 5 months
@Shmiddty I havent waited in lines I preorder always
the ps4 I hungout inside of best buy with some other people for like 2 hours
 
9:23 PM
Ok google. You can't freaking find a spelling suggestion for persistant when the correct spelling is persistent? Impressive.
 
are n64 games abandonware already?
 
but yeah for the avg joe its not recommended
 
Do they still have issues with running out of stock and not being able to fulfill preorders?
 
@JanDvorak well since that is such a gray area idk, but are they freely available? yes
 
banana
 
9:24 PM
@Shmiddty depends on the company
Sony did an awesome job
had enough for all preorders
@JanDvorak Im honestly surprised Nintendo hasnt actively gone after sites
they are crazy sometimes.. look what they did on Youtube
 
I think it's better to wait for the price drop.
By that time, there's already a wealth of games out
 
they filed copyright claims against tons of people
 
the hardware issues are all ironed out
 
@Shmiddty yeah or wait for the 2nd model
 
9:26 PM
And I know if it's even worth the purchase
 
@Shmiddty of course - but having it first is a nice perk too
 
(I wouldn't have bought a wii if I had waited)
 
I loved my ps3 so much I knew I would love the ps4
 
@BenjaminGruenbaum that's all ego, man
 
eh I mean it really depends, you can wait to buy anything and talk yourself out of or into it
the same is true for most games nowadays
 
9:28 PM
I don't preorder anything anymore
 
if I really like a company I want to support them out of the gate.
 
@Shmiddty Of course, but it's fun nontheless. I'd like to think of myself as a selfless person that's above petty things like cheap materialistic fun and ego games - but the truth is most people I know, myself included enjoy having something first.
 
SimCity and Diablo 3 ruined it for me
 
I don't preorder the PS4, but if I would I'd really enjoy having it first.
 
@Shmiddty well... many people saw D3 coming
 
9:29 PM
@Loktar that's a company that installed malware that hides itself on people's computers and spied on them, and sued people who tried to use thier hardware as they saw fit.
 
I mean the original team wasnt even working on it..
 
It's not a company I'd pay just to 'support'
 
who, Sony?
 
Yeah.
Or did you forget about the whole rootkit fiasco :)?
 
I didnt know if you meant Apple
 
9:30 PM
That's just the one that got caught
 
yeah but was that the gaming division?
 
If someone installed viruses on my computer using a product they made I paid for I'd be pissed.
 
I dont remember the rootkit thing with sony tbh
 
"Multimedia division" :P
 
I vaguely remember the rootkit scare everywhere
 
9:30 PM
Yeah, it's not just a scare they actually did that.
 
but yeah I agree thats bs, however idk I really like Sonys gaming products
er no I mean I remember the time where everyone was goign crazy about rootkits
 
Yeah, and that's cool, but I wouldn't support them for supporting.
They're not as bad as Ubuntu though. The fact people download that and praise canonical is amazing.
 
haha I havent followed?
what have they done
 
Thank you Ubuntu gods for liberating us from Microsoft. Please, give us your spyware.
 
wtf really?
 
9:31 PM
Was it too harsh to downvote this?
This answer is useless... You are not explaining anything... — qwertynl 12 secs ago
 
Nothing in particular, just that ubuntu is adware.
 
Ugh I'm getting some really dumb answers.
 
The answer was correct, but he explained nothing...
 
The minute you install it it starts giving you "suggestions" for the ubuntu store, and paid search results from Amazon.
 
@qwertynl eh up to you I guess.
 
9:32 PM
Haha he ninja'd
 
@BenjaminGruenbaum ahh ok, well Google does that too
 
Why do people with >400K rep think they can give crap answers...
 
Hello,
can javascript find X Y position of an element of web page and return that value ?
 
@Loktar no they don't. Google are giving you their service, not someone else's.
 
anything that I use thats "free" I expect they are using me somehow
 
9:32 PM
WOO HOOO NOT BRICKED!
 
@Loktar Yeah, but Ubuntu pretends not to do that, that's the funny part. People talk about Canonical like they're the good guys here.
 
@IceD yes you can
 
hi
 
yeah that is crazy, I never realized that
Imagine if MS did that
 
@BenjaminGruenbaum not really
 
9:33 PM
Where in fact they're screwing people over by installing spyware and adware on their computer.
 
the "like they're the good guys" is not true since the Amazon thingie
 
It's not just amazon, and yeah.
 
!!tell IceD google javascript return xy position of element
 
eh, I dont know why everyone looks at linux as the good guys, i look at them as the angsty teenager who's angry at the world and think they can do whatever you can do better :P
 
9:34 PM
nobody praises ubuntu nowadays
 
"Oh I use Gentoo, breath of fresh air bro"
 
@Loktar not at all, some of them are really good guys. Just not the millionaire that got traction and started giving people adware/spyware.
 
Linux hipster. hah!
 
and then.. its always funny to me how fast people turn too
 
you all need to get up on angstrom
 
9:35 PM
@Loktar I don't think of us as the good guys really, but thanks
 
haha
 
the best distro yo
 
> Hi! Our main webserver is down so this is our temporary bare bones homepage. We apologize for the inconvience.
:(
 
Linux is great, really. It's a cool free alternative, the problem is not with Linux or GNU.
 
yeah I agree @BenjaminGruenbaum I was just being argumentative
the competition is great
IE11 wouldnt exist w/o firefox
we would all be on IE7
 
9:36 PM
No way. Netscape Navigator
 
lol
 
To be completely tasteless and blunt:
If someone is fucking me over like sony, I'd like to know. When someone serves me "anal surprise" like canonical - I feel cheated. I don't even get wined and dined when I get fucked.
No one expects Sony to play fair or be nice to customers, when someone who is 'the good guy' does that - it's very funny.
 
yeah thats a great point
 
Speaking of Ubuntu, where is @OctavianDamiean?
 
he's on Arch now :P
 
9:38 PM
bleh deleted before the flags
 
<b> Hi </b>
:/ Hm
 
-_-
 
I'm on Ubuntu now, no easy way to Mint on Chromebook
 
Hi
 
9:39 PM
sup
 
Hi
 
I don't think I can do superscript, sorry.
 
@LoyalKnight markdown
 
3
Q: HTML tag finder

LoyalKnightI am trying to create a method to find and return the first tag in a given HTML string, and returns null if no such tag is found. (A tag would be something like <b>) I looked through the String class methods but I can't find a method that can suit this purpose. I'm thinking my plan is to scan ea...

 
Sorry lol I don't know javascript at all although I want to but I just came here to see what's going on :D
 
9:40 PM
... noone was shocked at this question? really?
 
@SomeKittens I don't mind Ubuntu, I just dislike the hypocrisy ^^
 
@CapricaSix tnx. Found a code there
 
@FlorianMargaine @LoyalKnight you need a real parser for that.
 
4430
A: RegEx match open tags except XHTML self-contained tags

bobinceYou can't parse [X]HTML with regex. Because HTML can't be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not allow you to consume HTML. Regular expressions are a tool th...

 
9:41 PM
I know there are real parsers but I want to try to crete a "amateurish" one xD
*an
 
why?
 
Cuz I can :D
 
can you?
 
#2lernzdacodez
 
I'm working on it :|
 
9:43 PM
WOO HOO desktop software written for windows XP SP1 works on Win 8 Tablet!!!!!!
 
lol
 
I am honestly impressed
 
cool
shows the versatility of windows :D
 
@LoyalKnight so parse the dom into an actual tree.
 
or of the software ;)
 
9:43 PM
@LoyalKnight ah, ok.
 
Creating an XML parser is easy, HTML5 is more complex but not too hard unless you deal with actual real-world HTML which is very malformed and you have to guess a lot
 
^ a lot
 
@BenjaminGruenbaum I think that's the next step. Browsers should refuse to render malformed HTML
 
@Shmiddty didn't work.
(XHTML)
Browsers should 'just work' and process HTML just fine be it good or bad.
I want my internet to just work.
 
9:46 PM
bad HTML is technically not HTML
 
what is it in that case?
 
ah ok
 
English is this sentence not.
Sure, English words, but it's not English.
 
true
 
@BenjaminGruenbaum How many extra processing cycles does it take a browser to render valid HTML because it has to account for invalid HTML?
 
9:47 PM
.... Master Yoda? Is it you?
 
I think broken english is still english, it's just not grammatically correct
 
@nderscore A valid program in an infinite number of languages, but not HTML
 
@Shmiddty HTML needs to be replaced anyway.
 
@nderscore Nope, not english
 
Well that's a completely different argument
 
9:47 PM
!!wiki language theory
 
@KendallFrey No result found
 
that must exist
darn
 
being micromanaged, adios.
 
@KendallFrey jquery click, make alert 2 second timeout, give code.
You understood that perfectly.
 
!!wiki language (computing)
 
9:48 PM
We get that 20 times a day here XD
 
@KendallFrey No result found
 
@BenjaminGruenbaum no, I didn't
 
@KendallFrey Yeah, you did :P
 
You know exactly what a guy wants when they say that. A lot of discussion is through subtext.
 
9:48 PM
In mathematics, computer science, and linguistics, a formal language is a set of strings of symbols that may be constrained by rules that are specific to it. The alphabet of a formal language is the set of symbols, letters, or tokens from which the strings of the language may be formed; frequently it is required to be finite. The strings formed from this alphabet are called words, and the words that belong to a particular formal language are sometimes called well-formed words or well-formed formulas. A formal language is often defined by means of a formal grammar such as a regular gram...
 
Not to mention trivial examples (like sarcasm)
English is not a formal language
 
@BenjaminGruenbaum I don't know. I can at best make a guess
@BenjaminGruenbaum But HTML is
English is just an analogy
 
@KendallFrey that's always true though.
@KendallFrey my point was - it's not a very good one :P Natural language is a lot harder, a lot of the things being said are subtext or worse.
 
afk
 
It gets really really complex :)
 
9:51 PM
@BenjaminGruenbaum English must be formal for the concept to even make sense and be translated through mediums which contain the same information.
 
@Incognito Entirely false.
 
Do go on.
 
We make a lot of guesses.
All the time, in speech, small ones that seem insignificant.
Natural language is very ambiguous, not to mention the things that are not written but implied by context - even if the context is not explicitly a part of the discussion.
 
Say I define a language S::=(S)S| )( is not a valid string, but you can still assume what it meant
 
:Not to be confused with the Pigeon bird. For the instant messaging client, see Pidgin (software). A pidgin , or pidgin language, is a simplified language that develops as a means of communication between two or more groups that do not have a language in common. It is most commonly employed in situations such as trade, or where both groups speak languages different from the language of the country in which they reside (but where there is no common language between the groups). Fundamentally, a pidgin is a simplified means of linguistic communication, as it is constructed impromptu, or by c...
so it would be pidgin-html :)
 
9:52 PM
What separates the formal rules of english from the brain's interpretation?
 
"Did you study today?" "My new PS4 is awesome" - this implies the person did not study today, although he did not say so at all.
 
@Incognito The brain is based on pattern matching and approximation
 
That is information in the meta.
 
English has no formal rules, at least not in modern linguistics. There are some things that are 'built in' (simplification) (at least according to Chomsky) but a lot is acquired.
 
@BenjaminGruenbaum That's not really a language issue
 
9:53 PM
The little things just make my day. Showed one of our directors my project and she flipped out and hugged me :) She absolutely loved and it was above and beyond what she had expected functionality wise
Made my day :D
 
@KendallFrey Language is not just syntax.
 
Colorless green ideas sleep furiously
 
no one hugs me at work :(
 
@BenjaminGruenbaum natural language, that is
 
9:54 PM
:hug:
 
In general.
 
@BenjaminGruenbaum Are you suggesting communication is not formal because it doesn't exist in a static state?
 
Well, in CS theory often language are just syntax, but meh.
 
-- static state of theorems?
 
A formal language has no semantics
 
9:55 PM
Like, "This DFA identifies that language" but we're not talking about those I assume :P
 
I am
 
Ah, HTML is not like that though, it's context sensitive.
It's a 'formal' language but it's harder.
 
don't dfas do context-sensitive languages?
 
No, turing machines do though,
 
so, HTML is turing complete.
 
9:56 PM
@Incognito it's not well defined (yet!)
 
!!define turing
 
@RUJordan No definition found.
 
!!google turing
 
I can match HTML with a regex.
 
9:56 PM
@BenjaminGruenbaum Definition is not the same thing as disproving axioms.
 
@FlorianMargaine No, turing complete is something that you can simulate a turing machine with, not a language one can identify.
 
Not malformed "HTML" of course
 
@KendallFrey Are those computer science regex like those languages?
Because it's trivial to prove you can't with the pumping lemma
(deleted)
 
Not sure what that means, but I do know that regex != regular expression anymore
 
@KendallFrey whats the difference?
 
9:57 PM
@KendallFrey weren't we just talking about formalism ?
 
hehe
 
@RUJordan You need to take a computability course :)
 
@RUJordan most modern regex engines are non-regular
 
@BenjaminGruenbaum I need to learn a lot of things :P
My freelance rate is ~$115/hr — RUJordan 32 secs ago
I think I undershot this one
 
9:59 PM
@KendallFrey Huh?
 
@KendallFrey just because they're not regular doesn't mean they can parse HTML - remember, HTML is not XML and allows for many things XML parsers can't handle. I'm not convinced something like a stack automaton can handle it well.
 
The only CS-related course I ever took was a Flash programming course. I dropped out because it was boring.
 
@FlorianMargaine lol that's a happy llama
 

« first day (1180 days earlier)      last day (3773 days later) »