« first day (506 days earlier)      last day (4456 days later) » 

3:00 PM
actually jsfiddle has done really well since moving to the cloud
 
I can't stand the internet here, the freaking router is crap and keeps cutting out.
 
I havent gotten the crazy issues from before
 
Going in search of better internets, cheers all.
 
@GGG Dude, hell yeah. Companies will spend money at the drop of a hat.
 
Hola
Shalom
 
3:04 PM
A certain size of company will consider anything under a given cost "free"
 
GGG
global better have universeman
what a great song that is
when he goes swimming does he get wet? Or does the water get him instead? Particleman.
unfortunately all this new jazz still can't do stuff __proto__ can do
i wish they'd just make __proto__ required and be done with it
does this triagle thing have any preference in any other language btw? It seems awkward to me
try actually typing it =/
 
1) Hold shift
2) Hit keys
 
GGG
3:19 PM
you have to either use left shift or switch the finger that's holding down right shift
 
If you're typing correctly, both those key strokes should use left shift anyway
 
GGG
really? i guess i'm not typing correctly
 
Typing with right hand = left shift
Typing with left hand = right shift
Given "home row" positions, at least
 
GGG
hmm now i'm trying to figure out how i usually type
 
hehe
 
GGG
3:21 PM
i think i might always use right shift
and left control
that is weird
 
I rarely use right-ctrl
 
GGG
i don't think i ever do
 
It's just kind of awkward to reach
 
GGG
Damn Son Put On Some Undergarments
yeah i always use right shift
left alt, left ctrl, right shift
i should map all those other keys to do something cool
and the context menu key, i never use that either
 
Yeah... I'm not sure anybody uses that
 
GGG
3:26 PM
people who can't use a mouse
visually impaired i guess
or people with a broken mouse
 
are you kidding I use context menu all the time
okay, not all the time, but i use it a lot
 
@ThomasShields ... the button on your keyboard, or right-click?
 
@RyanKinal the button on the keyboard (yes, i read conversations before I enter them)
 
Really? I can't imagine using that button over using right-click
 
it's usually if i'm on a keyboard roll - quickly navigating stuff with keyboard, and I want to keep the streak going.
 
3:28 PM
I do, however, use the Windows button. There are a couple useful combinations with it (Win-R and Win-E, specifically)
Fair enough
 
GGG
i use win-d to hide all the windows sometimes
i have alt-f2 for run
 
Ah, yes. That one too
 
I'm experiencing the programmer's equivalent of stockholm syndrome.
 
user1385191
I sent off an email to a recruiter last night. Depending on the response, I might talk to two more.
 
user1385191
fun...
 
3:37 PM
Stuck with a crappy language, and loving it?
Stuck with a crappy dev environment, and loving it?
Stuck at a crappy company, and loving it?
 
Broken router? Check.
Noisy environment? Check.
People sending you emails "Is this email just spam?!". Check.
Phone ringing behind you every 5-15 minutes? Check. Phone's not even for me.
Boss who flatly denies all of your complaints as invalid whining? Check.

"No but really it's not their fault they just don't understand"
 
hi :)
 
"I don't want you to use linux because then you'll become out-of-touch with the MS Outlook environment we use here"
@MattMcDonald Are you staying in Alberta?
 
is there a way to prevent fill on an open path in canvas?
 
What do you mean prevent?
And open path?
 
Do you mean you have a gap somewhere you're trying to flood fill?
@patrick Oh, a png of orange boxes. Now I understand what you're trying to do.
 
@Incognito yes, I want to fill only the squares, but when I do ctx.fill() the whole path is filled
 
user1385191
@Incognito all three are Vancouver-based
 
@patrick I can't help you until you put an honest effort into explaining your problem. Go ask a question on the main site and put effort into explaining the issue and what you've done and why it didn't work.
 
@Incognito ok, I'll do this, thanks :)
 
3:47 PM
@MattMcDonald BC's a nice place, I have family out there. Anything in toronto area?
 
user1385191
I need to move out West
 
Secret lover?
 
user1385191
moving East takes me further from SV
 
user1385191
plus I really love the Pacific NW
 
"Always to the east" - diablo 2 intro.
NYC's turning into a bit of a tech hub too
Actually, I'm part of a group trying to make Hamilton more like SV. softwarehamilton.com
 
user1385191
3:50 PM
Washington, Oregon, and Idaho are all really cool
 
4:04 PM
Okay
 
user1385191
that comment made me smile
 
No matt, you don't understand, the internet is made of 20 year old white english speaking anglo-saxons with high speed internet. Duh.
 
lol
 
^ 29 yr old actually
 
it's frustrating how sites are AJAXified, because of course, can't have a user with a blank screen for a second while a NORMAL site loads. Oh, but even though we care so much about speed, we'll just cut out 50% of our user base!! HAHA, suckers!
 
user1385191
4:26 PM
I'd prefer Twitter if it were presented more like a chat site
 
@ThomasShields I made the ajaxy-mistake, once. I still think about it.
 
my biggest complaint with twitter is I have to look at @connect to see if anyone msged me
direct tweets should stay at the top of the main page until acknowledged or something
or maybe even a small icon saying "hey you have msgs dude!"
 
There's nothing wrong with AJAX so long as it gracefully degrades to a normal site.
 
user1385191
95% of the "messages" I get are from spammers
 
1
A: Is there any point in writing JavaScript plugins in any other framework besides jQuery?

RaynosIf your trying to write re-usable JavaScript modules and think a dependency on jQuery is a good thing, then you're doing it wrong. jQuery "plugins" are a horrible model. Of course if rather then writing a module via jQuery plugins you want to actually extend jQuery with a useful function to a...

This guy, is trolling me ._.
 
4:34 PM
@Raynos: what do you expect when posting trollbait? :-P
 
its not trollbait
 
It is in the eyes of a troll. I agree with the post, which is why I haven't worked on my HTML oninput event shim for jQuery for some time. On the other hand, jQuery trolls get defensive about that sort of thing.
 
"Guys when buying a Honda should I buy option x?" - "Hondas are crap they get terrible gas mileage, don't buy them they are weak and dont take turns very well. Stop being a noob and get a ford!"
 
:D
 
lol I would expect nothing less :P
 
4:38 PM
@Loktar you the man
 
user1385191
I get sad when articles advocating for POJS suggest QSA
 
hey are you in SF @Raynos?
GDC is going on this week there! Wish I could be there :?
 
@Loktar in june
 
ah ok
 
user1385191
DOM ignorance continues to propagate
2
 
4:39 PM
@MattMcDonald Yeah. It has a use, but so does a hammer.
Are you reading the article from my twitter feed?
 
user1385191
ja
 
Wunderbar.
The guy's using innerHTML inside a loop. Nuff said.
 
user1385191
QSA shouldn't ever have a use
 
whats wrong with innerHTML I use it all the time in loops, then I rebind every event while Im at it, makes me a better coder for sure.
 
user1385191
recursion can search for you
 
user1385191
4:41 PM
but I suppose we all can't comprehend recursion
 
user1385191
...which is why I'm building an API for this
 
@MattMcDonald qsa has a use
 
DOM cache that's aware of what's going on would be really nice.
And API with a reasonable and useful dom cache, where you can "register" things into it.
 
user1385191
traverseRecursive is coming up. I just need to get it under 20 lines
 
4:44 PM
Why?
 
user1385191
personal principle
 
Ah.
 
user1385191
I try to keep code < 70 columns as well
 
Memorized DOM patters would be neat too. You could simply imply that a section of the document is just like another section.
Then call it as if it were an array tree.
 
user1385191
the API is really flexible
 
4:46 PM
@MattMcDonald your code is ugly ._.
 
@Raynos Qualify why you're saying that.
 
user1385191
I've been using traverseLinear to run other methods like clearChildNodes and clearChildren
 
@Incognito because its hard to read
 
@MattMcDonald Is .normalizing an issue with your recursion walking?
 
the code is too thin, too spread out
not enough characters per line
Its like you have a maximum of three words per line
 
4:47 PM
@Raynos There, that's qualified.
 
user1385191
@Incognito can you elaborate?
 
That's how we programmed back in the 80s and 90s man.
 
I prefer to just insult/mock without reason
 
@MattMcDonald <span>Yo yo ma</span> where the text of span could actually be five nodes.
Or .normalized into one node.
 
user1385191
I've yet to make a decision on text
 
4:49 PM
@Raynos I know. :P
 
user1385191
getText is done, but yet to be committed
 
user1385191
getText was tough because I needed a deep recursive method to create an array from the child tree
 
I'd like to see a bloom filter, because they're neat.
How is it useful? Hell if I know. I just want to see it in use somewhere.
 
user1385191
typeof node === "object" && node.length will net you a text node as well as an array
 
function getText(node) {
  var text = []
  walkIteratively(node.childNodes, addToArray)
  return text.join("")

  function addToArray(node) {
    if (node.nodeType === Node.TEXT_NODE) {
      text.append(node.value)
    }
  }
}
 
user1385191
4:51 PM
function inlining :(
 
Pedant
 
user1385191
I didn't mention the reliance on a filter meant for beginners (ASI) ;)
 
user1385191
@Incognito my idea currently is to use setText for creating a single node
 
user1385191
the DOM will originally have the whitespace text nodes from the source code
 
user1385191
but they're no longer needed once you hit the DOM
 
4:54 PM
function setText(node, text) {
  while (node.firstChild) node.removeChild(node.firstChild)
  node.appendChild(document.createTextNode(text))
}
 
user1385191
congrats on wiping out element nodes, comment nodes et. al
 
They shouldnt be wiped out?
They should ¬_¬
Your a troll
 
GGG
@Raynos that guy is kitgui.com
he's a troll
 
@GGG yeah he is, I know he a troll
He's one of dem trollQuery guys
 
GGG
he's an accidental troll
i don't think he knows he's a troll
he trolled clj for a while
 
5:11 PM
"Accidental troll"? "Woops, I trolled him again."
 
5:32 PM
I'm really glad the previous programmer cleared this up for me. string strUsername="";. For a moment there I thought Username might be a function, or perhaps an integer.
 
5:43 PM
L)
 
 
1 hour later…
user1385191
so much ignorance, so little time
 
@Loktar meh, I drive a Civic Hybrid :-p
 
:P yeah I wasnt trying to call out a brand just the first thing that came to mind
but.. being from MI and growing up in Detroit.. I do only drive domestic
 
GGG
@AndyE 2000 civic, standard :p
@Incognito goal for the first of the month: flawless html parser in pure regex.
 
@Loktar: I also have BT Infinity as my ISP which, considering my connection has flat lined 3 times in the last 5 minutes (and many more over the past few days), is proof that my decisions as a consumer aren't always the best :-p
 
7:08 PM
lol
 
I'm about to take some C4 around to my local exchange and do a little essplodin'
Or I could just switch to my mobile sim.
 
Andy E buys c4 from some shady merchant.. blows up in hands, yet again showing consumer poor decision
 
user1385191
holy crap
 
user1385191
I just read HN's source code
 
user1385191
<center> and <font> everywhere
 
7:16 PM
@MattMcDonald heh, i think they just removed the <META NAME="Generator" CONTENT="Microsoft Word 97"> manually
3
 
hi guys, is it possible to track where my microsoft document or pdf has been to? I have scientific labs and my partner does nothing which i dont care about since i do all the work but i have a feeling hes giving our work away to his buddies and i remember how people embed js scripts to remote install malware onto other ppl's comp so is there a way to either block my pdf or ms doc from being sent to other people or put constraints on the document so no copy or paste or print screen is allowed?
 
1
Q: JavaScript RegExp error

Ma EbI have the following function: function checkRegexp(o, regexp, n) { if (!(regexp.test(o.val()))) { return false; } else { return true; } } This code correctly validates email addresses: checkRe...

all the people are jumping into the fast answer shit.
mine is original ;o)
 
GGG
where have you been you dirty pdf
 
7:31 PM
?
university super busy
 
GGG
@FlorianMargaine that parseFloat is not necessary
try isNaN("2")
regex is actually faster than that way if you leave parseFloat in
 
infact im in class right now, but highly annoyed by my assignments being handed out to ppl n me being in risk for pilagirsm even though im not
 
7:45 PM
@GGG It's likely to be over a gig of regex.
 
GGG
nahh
 
@Nadal Keep a git repository of all your work. Each step of work you commit is auditable by timestamp and author.
 
GGG
i've pretty much done it before actually
it's a big regex
and some smaller ones
 
@Nadal Then take it a step further and keep your git repository online and publicly accessible, if anyone wants to see it they can.
 
GGG
and some other stuff
waves hands vaguely
i should dig that up
 
7:48 PM
nods head Yes ggg, that sounds like a lovely idea.
 
8:02 PM
0
Q: Does anyone have any experience with any of the python to javascript converters?

Jacob EggersI'm looking for a good python to javascript interpreter/converter. I found a list of alternatives here http://altjs.org/: PYXC-PJ Python to JS. Can generate a (line/col)-number mappings file. Pyjamas Python to JS. Skulpt Python Client side. PyCow Python to MooTools JS. PyvaScript Python-like sy...

 
It's easier to organize an one year travel on another continent than to develop a cross- browser and platform app !
" It's not a bug, it's a Normative Variation " msdn.microsoft.com/en-us/library/ff934774%28v=VS.85%29.aspx
 
this will be sooooo much easier with CSS 4
 
8:25 PM
if($.browser.webkit){
 vendor = '-webkit-';
}else{
 vendor = '-moz-';
}
is that a joke ?
 
yes lol
and i applied the styles via .attr(); because of the sucking of jquery .
@DieVarDump its a pity that css4 will make it easier then writing 10 lines of js
$.circular-menu a[data-for='home']:hover{
    /* styles for menu go here */
}
wil have same effect
 
Whenever @MattMcDonald sees a reference to querySelectorAll, he be saying "they be ignorant"
 
> Also known as the best part of the website. 11,000+ lines long, most of this is cut+paste+tweak style coding. Lots of comments, dead execution paths, and the stuff dreams are made of, or nightmares. There’s several traps in here that changing will cause repercussions elsewhere that you’d have never thought would impact. Beware, you’ve been warned. I just advise you never touch the thing, but if you do, make backups of the database and the file.
> Then test the backups. Then test them again, lock the backups away where no harm will ever come to them (like a bank vault) and go play around, because this is a game of kerplunk. One file fits all was the mind-set. We’ve all written WTF code before, but this is an order of magnitude greater than anything I’ve seen.
 
GGG
i'm writing some wtf code as we speak
 
Does it look like this?
 var strCompare = "";
                strCompare += document.getElementById( 'profile_salutation' ).selectedIndex + "~";
                strCompare += document.getElementById( 'profile_firstname' ).value + "~";
                strCompare += document.getElementById( 'profile_midname' ).value  + "~";
                strCompare += document.getElementById( 'profile_lastname' ).value  + "~";
                strCompare += document.getElementById( 'profile_primaryemail' ).value  + "~";
                strCompare += document.getElementById( 'profile_title' ).value  + "~";
 
GGG
8:37 PM
@Incognito similar
 
Why?
 
GGG
panels.css.onmousedown = function(event) { editors.css.focus(); grab(panels.css, event); };
panels.html.onmousedown = function(event) { editors.html.focus(); grab(panels.html, event); };
panels.js.onmousedown = function(event) { editors.js.focus();  grab(panels.js, event); };
panels.preview.onmousedown = function(event) { grab(panels.preview, event); };
 
Not even in the same league of wtf.
That code was re-creating arrays, except using tidlies instead.
 
GGG
yeah it's just similar in that it's a bunch of repetitive long lines
it's not doing anything extra dumb
 
No, true wtf comes when you re-invent worse tools than are provided.
In the stupidest way imaginable.
This is wtf.
if (!cIsPostBack  )
        {
            s1 = parseValues[19].Replace(encStr," ");
            strHFax = StringFormat(s1.Trim());
        }
        else
        {
            if (profile_homefax.Text.Trim() != "") strHFax = StringFormat(profile_homefax.Text.Trim());
        }
        if (!cIsPostBack  )
        {
            s1 = parseValues[20].Replace(encStr," ");
            strWFax = StringFormat(s1.Trim());
        }
        else
        {
            if (profile_workfax.Text.Trim() != "") strWFax = StringFormat(profile_workfax.Text.Trim());
 
GGG
8:40 PM
cough*jQuery*cough
 
900 lines look like that last block.
cough*itsfuckingaspbro.mp3.exe*cough
 
GGG
that looks like tons of fun
 
Find this guy and slaughter a lamb infront of him, tell ya what.
 
:-(
 
GGG
hey what do you call the top part of a window that shows the title and lets you drag it around
it is totally evading me at the moment
uhhh... handle?
 
8:50 PM
ok I just saw this tweet
0.0001 + 0.0002 does not equal 0.0003
why does it equal 0.00030000000000000003?
 
GGG
ietf floating point number precision blah blah blah
 
0.001 + 0.002 = 0.003
 
GGG
it's being quantized
0.003 + 0.005 --> 0.008
0.0003 + 0.0005 --> 0.0007999999999999999
that might be a better example
 
GGG
what will really blow your mind is 0.999... == 1
...in regular math
it even === 1
 
8:57 PM
craziness
 
GGG
1/3
0.3333333333333333
1/3 + 1/3
0.6666666666666666
...
 
@GGG hehe
thats an easy one to prove
^_^
 
GGG
it is :D
 
so use .tofixed?
link is just me messing around to get the correct answer
interesting, never really needed accuracy to that extent with JS anyway. Just piqued my interest when I saw that tweet
 
GGG
yeah that works
 
9:00 PM
files away
 
GGG
you could even do like
 
yeah 0.99999999999999999 === 1
anything less and it doesnt
heh I dont see me ever needing that kind of accuracy
it knows im trying to troll anyway, its like whatever dude close enough.
 
GGG
rofl good summary
 
btw thanks @RyanKinal reading it now
er skimming it I should say :P
 
GGG
mm hmm, mm hmm.
> This error is ((/2)-p) × e. Since numbers of the form d.dd...dd × e all have the same absolute error, but have values that range between e and × e, the relative error ranges between ((/2)-p) × e/e and ((/2)-p) × e/e+1.
boy reading this makes me feel dumb
 
9:13 PM
lol makes me just nod
like oh yeah you are completely correct. yup.
Would be pretty amazing to work with another developer who enjoyed programming
 
> Bill gestured with the drumstick in one hand and the bottle of wine in the other. "Let us rejoice in our blessings. Let us utilize the fowls of the air. Let us utilize the product of the vine. Will you utilize a little, brother?"
@GGG ^^ Hemingway liked utilize, apparently.
 
GGG
was hemingway the old man and the sea guy?
 
yep. This was from "The Sun also rises", though
 
GGG
hmm
i read OMaTS and was not impressed
 
I wasn't either.
but The Sun Also Rises is pretty good, so far
 
9:24 PM
@Loktar I've been over this, the answer is Nazis caused it.
> Actually a factual statement.
 
haha
 
9:39 PM
1
Q: How do people speaking a different language program/script

Shawn31313This is a topic in which I would like us to discuss in a little. Its a very interesting topic. This is a question I've been wondering for a while: How do people speaking a different languages program/script? It seems that all programming/scripting languages are written in English. Why is that? ...

 
10:04 PM
@GGG LOL, later on: "Is that a pub? ...let's utilize it!"
 
GGG
yeah i think he's picking on people
gotta be
 
oh, next sentence: "He had taken up utilizing from Bill" (the one who said utilize last time i quoted) ...he's definitely poking fun, yeah
 
@ThomasShields !
 
@Neal eh?
 
@ThomasShields idk hi
 
10:14 PM
...hi.
 
You know those games that are just terrible, but they have achievements, so you have to play? kongregate.com/games/sims5000/ducklife-4
 
@Zirak I won't start the game, I won't start the game, I won't...
 
Come, Thomas, join us on the Point Whore side
 
@Zirak actually I'm currently addicted to hackthissite.org, so I guess I am on your side. I'm just fighting on a different front.
 
That game is terrible...the previous games were grindfest as it is. This time, it's a team grindfest.
 
10:27 PM
@Zirak hackthissite, or the one you linked to?
 
The one I linked to, Ducklife 4. hackthissite was either way easy or way outdated.
 
yeah, but it's a good beginner intro. Plus, it was totally cool to run a brute-force decryption on a hash.
 
GGG
@Zirak i made this fiddle thing so you can drag all the panels around wherever you want them :)
making them resizable now
trying to decide whether to let them move offscreen or stop them at the edges
 
Can it run the code, and is the output correct?
 
GGG
yup
got html, css, and js working
 
10:36 PM
Link or it didn't happen
 
GGG
this version of ACE is really cool, has built-in linter and code folding
just working on my laptop right now will probably push an alpha live tonight
won't have saving
 
GGG
so far it's less than 250 lines of html, css, and js combined
 
some fireworks :D
 
GGG
@Abhishek nice:D
 
10:39 PM
:D :D
the other work i did today
is laughable :(
 
Nice
 
Hi, could someone tell me if my code is valid? pastebin.com/Sxj6QrX3...
 
GGG
no
 
thanks
 

« first day (506 days earlier)      last day (4456 days later) »