« first day (760 days earlier)      last day (4190 days later) » 

9:00 PM
which, I might add, I now have 100% in working order.... but as a winforms app and a seperate console app that looks ugly as sin and is impossible to use from a user stand point.
 
@rlemon Do you know if C# will play nicely with python or stuff? I was asked to do some stuff on .Net, but I asked around and only the developer front-end has to be in c#, the data crunching can be in python (I may also be able to push node.)
 
client-server or client with UI?
 
...in other words: how's C#'s executable IO?
 
One of two ways: Compile Python to .NET, or expose functions from Python DLLs as C functions, for P/Invoke.
 
you can consume a python web service in C#
that I know
 
9:04 PM
@Zirak: IronPython if you want to do stuff with python and C#
 
@phenomnomnominal If that refers to me, then I don't deal with the client GUI. I just have to do some data crunching and pass it to some c# API
 
and it's both running on the same machine
 
there is also python.net
 
@rlemon Yeah, but web services use a predefined protocol.
 
And it won't play nice if I try to simply execute a python script?
 
9:05 PM
I've never tried to do it that way around - i've always used the C# as a service or application I call from PHP or ASP
but less ASP because I don't like it
and php exec(); done
 
No web stuff, everything runs on the machine
 
1
Q: retrieving the return value of a python script

John TerryI have an external C# program which executes a python script using the Process Class. my script returns a numerical code and I want to view that number with my C# program. the problem is, I'm getting the return code of python.exe, instead of my script return number - in that case, "return 3" ...

 
@Zirak Sure, that will work fine, too
 
that Q is not an answer to your question, but does drop hints
 
oke, thanks. just need to set up Mono, or make a Windows slave
buahaha. that felt nice. "windows slave".
 
9:10 PM
hehehehe, googling for a solution to my problem, find a post by me giving a solution I forgot about... sweet. thankyou me!
 
@rlemon I've done that, haha
FTP Y U NO WORKS
 
I was reading the answer and about half way through I started thinking, "Wait a minute, this all looks very familiar now...."
 
Anyone here use SublimeText 2?
 
<
 
Oh, are you using the FTP plugin?
 
9:13 PM
@monners Yep
 
posted on November 14, 2012 by Victor Rodriguez

Total Solar Eclipse, November 2012: Images and Video Enticing Trailer for New Movie about a Mission to Europa Proba-2 sees three partial solar eclipses 15 Things You Probably Didn’t Know About Star Trek PermGen Elimination project is promoting

0
Q: How to see the properties of a DOM element as they change in realtime?

allquixoticJavaScript code can update the properties/attributes of DOM elements in real time by responding to events and so on. Here is an example. In the table on that page, move your mouse over the cells. Notice how they change color when the mouse is on them, and the color goes away when you move the mo...

 
Well, I wish I was... I'm actually currently using Visual Fucking Studio
 
Oooo, cutting edge
 
YOU TAKE THAT BACK
 
</hate>
 
9:16 PM
@monners No I'm not
 
alright, REST API working
 
ugh, I forgot. what was the linux command for seeing the HDD layouts? Like, how sdx was partitioned to sdx1, sdx2 and so forth and shown with their corresponding formats/sizes?
 
@robjb I've been using it for a while now. It's surprisingly quick and reliable, for my purposes at least. Beats the hell outta trying to get Dreamweaver to behave
 
Not that, but a nice reminder
It showed you a nice list
 
9:19 PM
dunno then
interested though
 
aaghhh memory, why so much hate
 
for memory, it's free -m
 
@monners Ew dreamweaver
 
or htop if you like colors et al
 
$.each(campuses, function(index, campus) {
		$('input[value="' + campus + '"]').attr('checked', 'checked');
	});
can't get it to work
ugghh
 
9:20 PM
@robjb I tried really hard to like dreamweaver. No dice.
 
@monners why did you try really hard?
 
@monners I liked it before I wrote HTML by hand ... some 7-8 years ago
It was far better than any of the alternative WYSIWYGs
 
lsblk !
It's lsblk
 
@FlorianMargaine Because I learnt to code without the your guiding light to steer me away from harm
 
@Zirak doesn't work out of the box :/
 
9:22 PM
I really want to tear my hair out right now
I've written like 2 lines of code today ... spent the rest of my time trying to resolve discrepancies between dev/prod environments, and trying to get FTP to behave
 
@FlorianMargaine Weird, it was included in the minimal arch system
now, why did I want to find it...?
 
Yea, I should start using that ... it's moreso a network issue than my client, though
Wondering if our office router got configured to block some of the incoming ports, my boss is offsite and can get into the server.
sigh
 
@RyanKinal there is nothing not much wrong with Visual Studio (depending on version)
 
It's just so... heavy
 
9:28 PM
windows 7 pro (ultimate?) is like 32GB with all updates
 
Hey guys. Can you please tell me how to show hidden div using pure javascript? Selector is class. I would like to see some hidden elements on some page :)
 
elem.hidden = false
 
Array.prototype.forEach.call(document.querySelectorAll(selector), function(element) {
     element.hidden = false;
});
 
But I wonder what takes priority: hidden property or css?
 
thanks
 
9:29 PM
hidden is a specificity free weakmap to display: none;
css will take priority (iirc)
 
css > property, yep: tinkerbin.com/8D0h039c
 
hrm, I was testing this ~8-9 months ago and the case there was that css id over wrote it.
 
Ibrahimovic vs ENGLAND 4:2, all 4 goals ibra woo
 
And not a shit was given
 
bad sentence lol
Not a single fuck was given
 
location.href = "add_campus_events.php?action=edit&id=" + event[0].id + "&title=" + event[0].title + "&description=" + event[0].description + "&image=" + event[0].image + "&date=" + event[0].dates + "&tStart=" + tStart + "&tEnd=" + tEnd + "&date_post=" + event[0].date_post + "&campus_list=" + event[0].campus_list;
location.href = "edit_campus_events.php";
 
@rlemon duh, hidden = false makes it disappear...why am I stupid? let me rewrite
 
why the hell does the first one work but not the second
 
@Marko fucks aren't a given
yeah, css > property anyway
 
Free on mother's day
 
I got one for my boss. he is into RC helicopters
 
I think Amazon might be in NZD?
For me, obv
 
Because you're Belgian
 
9:35 PM
well for me Amazon showed $29.99 USD and thinkgeek shows $19.99 USD
 
Oh sweet
i must be bored, i really want to buy one
 
I'll make you one for half that price
 
> This item does not qualify for free shipping
Dicks
 
lol
 
9:39 PM
hahahaha
 
I just noticed that too
 
One day...
If in the future we all live underwater, and I drive a dolphin to work, that would be perfect.
 
They always get you on the shipping.
$31, 750.84 was my limit.... bastards
 
such a weird limit
what did you order?
 
9:41 PM
He bought some sarcasm
 
3 mins ago, by rlemon
http://www.thinkgeek.com/product/f0d6/
 
wow. I didn't know they could ship sarcasm.
 
not relevant right now.... but this pic should be married to this room.
 
@rlemon Or someone's turned into a marshmallow
 
It's really hard, that's why it costs so much
 
9:43 PM
Everything Zombie makes me think of Loktar
 
they don't have the broadsword :(
thinkgeek is my amazon.
 
...you know, I almost had a sword once. when I was 8. It was my dream for a year ever since I saw a broadsword in some antique shop. Waited for my birthday, got my allowance, said "I'm gonna buy a sword!". Parents went all "NO".
 
@rlemon Woa ... I forgot about thinkgeek
 
Shitty parents. Not letting their 8 year-old son get a broadsword.
 
9:46 PM
I owned a replica conan the barbarian sword ( cost me like $400 bucks! ) - it mysteriously went missing off the wall after a party I threw. bastard friends.
 
@robjb I'm going to request that throne as my new office chair at work
 
Man, who does that.
 
@rlemon Better: It's funny until someone gets hurt. Then it's hilarious.
 
Ooouuccchhh
Who steals something as awesome as that? You should ironically stab him
 
Oooh look an epic sword, clearly displayed because the owner thinks it's awesome. MINE.
 
9:47 PM
Which brings to mind...how does ironic-stabbing look like?
 
you use an ironic dagger?
 
yea was the last time I threw a party :P
 
Same as non-ironic stabbing, but no one understands what it means.
 
my gamecube was stolen as well (this was a while ago)
 
That is such an early 2000's crime.
 
9:48 PM
took the gamecube... left the power cord plugged into the power bar.
 
You should install lasers in your home
Not for protection or anything. But you know. Lasers.
 
Swinging razor disks.
 
nahh, stop throwing parties and inviting douchbags who you think are your friends.
 
I used to be in a product photo on thinkgeek, looks like the product is gone now
 
@Zirak The high-powered kind.
 
9:49 PM
Giant rolling boulders in the bathroom
A fair maiden turning into a werewolf in your bedroom
 
Actual lava on the floor
 
@Zirak hm, some information about you. You have parents.
 
Poisoned arrows in front of the door
I love our fantasy depiction of your house, @rlemon
 
Yeah, it sounds pretty badass. You should have a party
 
lol
 
9:50 PM
Now for your fantasy depiction of rlemon. You know you have one.
 
"btw, where do you keep your jewelry and electronics.... no reason... I just wanna make a map of your house... err... I mean.... fuck"
 
So this guy has been "viewing my LinkedIn profile." I call shenanigans:
http://www.linkedin.com/wvmx/profile/***redherring***?_ed=0_b3SvrmYfvRva3BledZduGxOuT42dZ6ctaTlTMd6EUX-&trk=wvmx_profile_redherring
 
damn, I'm ripped!
 
Aaaaand it's time to leave the JS room for a little while
3
 
9:52 PM
in 7 minutes I leave for home - you can return then
 
Is that like a super macho jigglypuff?
!!/google super macho jigglypuff
 
Protip: Don't google "sexy pokemon"
 
9:55 PM
!!/google sexy pokemon
 
Will do.
 
@phenomnomnominal Epic.
 
Does the bot do image search?
 
Please say no.
 
9:56 PM
:D
 
!!/listCommands
 
@phenomnomnominal Available commands: help, listen, live, die, forget, ban, unban, regex, jquery, choose, user, listcommands, define, norris, urban, parse, tell, mdn, get, nudge, ring, roll, spec, todo, convert, stat, google, beautify, hang, learn
 
!!/help google
 
@phenomnomnominal google: Search Google. /google query
 
If the chat knows when somethings wrong with your connection and tells you, why can't it just do an automatic refresh?
 
9:59 PM
hey guys
 
@phenomnomnominal Because a refresh won't fix the problem?
 
anyone here *nix savvy?
 
I try.
 
@mmmshuddup Somewhat.
 
I know enough that rm -rf / is a bad idea.
 
10:00 PM
Well it always just says check your connection and reload the page, my connection is always fine
 
ok I did something very stupid :(
I think I just overwrote the partition table on an external drive :S
0
Q: Recover overwritten partition table (external drive)

mmmshuddupI stupidly ran a command to make my external hdd bootable knowing that it was risky considering the command itself did not allow me to specify a partition to which to write. This command: $ sudo dd if=/Users/MyUser/Downloads/Fedora-17-x86_64-Live-Desktop.iso \ > of=/dev/disk1 bs=1m For whi...

@KendallFrey yeah what I did was practically just as bad
 
Pretty much, yeah.
 
I want to cry. I had 100s if not 1000s of irreplaceable photos
 
I don't know how you would best fix it, but shanselman has a blog post for ya.
 
Yep, good luck with that.
 
10:04 PM
@mmmshuddup ouch
 
@shanselman backing up to a partition is #notabackup :P
You have just proved that.
 
@KendallFrey lol at the post though. basically reinforcing the notion that what I did was veeeery stupid lol
 
Also, best of luck.
 
there are places in the US that charge $1000 dollars and can recover almost anything
 
10:06 PM
You're not really a unix user until you destroyed valuable data at least once
 
lol
 
Pressing Ctrl+S twice. #notabackup
 
Unfortunately, doing it many times doesn't necessarily make you proficient, as I learned from my own past...
 
overwriting the partition table on a backup drive #notabackup ¬_¬
 
10:08 PM
Copying 0s and 1s to a pad of paper #notabackup
 
haha
 
Taking a dump #notabackup
 
:'(
seriously I'm so upset. this wasn't even important.. I mean getting the bootable linux partition. it was just for fun! :@
lol
 
!!/tell @mmshuddup google counselling
jebus, cannot type for shit.
 
the bot isn't working
 
10:12 PM
oh rlemon left
 
taking pictures of your computer screen #notabackup
can I use points from my SO account to add a bounty to that ask different account? (probably not I know)
 
I recall seeing a site that did tableless grid layouts dynamically. It was basically jquery.isotope but without the animation parts. Does anyone have a link?
 
man, isotope is pretty sweet
Is there a better way to randomly remove and return a single element from an array? I feel like I'm being stupid:

(this._.bag.splice(Math.floor(Math.random() * this._.bag.length), 1))[0];
 
10:30 PM
@mmmshuddup Activated
 
!!/google remove and return random element from array javascript
 
@phenomnomnominal Why are you feeling stupid?
You can do a better job at separating each component, but I don't see a different path
 
select = Math.floor(Math.random() * this._.bag.length);
selected = this._.bag.splice(select, 1);
return selected[0];
slightly nicer to read I guess
 
(you, of course, declared select and selected beforehand, so you don't have leaked global variables)
 
Coffeescript... haha
So yes
 
10:34 PM
oh. then you're toast anyway
 
I really don't get the hate!
It's made my life easier! Sure I'm clearly getting a bit lazier... but meh
 
I can mail some if it can't reach via other routes
 
I feel dirty parsing some HTML with regex.
 
Careful, you might break the internet.
 
!!/google google
 
10:39 PM
!!/jquery jquery
 
it did make me improve my regex-fu though
 
Myth: BUSTED
@phenomnomnominal api.jquery.com/jquery
 
\w+ doesn't work if there is a /, you need [a-zA-Z-0-9\/]+
 
Or [\w\/]+
 
10:40 PM
oh, not bad
heh, my regex-fu is still bad :p
this site is pretty good gskinner.com/RegExr
 
yeah it's awesome
I've been wanting to make a non-flash clone
 
ooh that sounds fun
 
if anyone has the time, feel free
 
oh yeah, things take time
dammit.
i wish my brain had web workers.
 
I wish I could clone myself. But the clones won't need to be fed or watered or require any sleep.
Then I could make a sweat-shop filled with myself
"No officer, I'm the only employee here"
 
10:44 PM
I think family guy had the idea
slightly dumb clones
 
It's already been established that everything in the universe was either done in The Simpsons, Family Guy or xkcd
 
or the oatmeal.
But yeah, all the ideas are gone
kinda upsetting that from now on everything is derivative
 
We should kill ourselves, our lives have no original meaning
But why bother? Killing yourself was already done
 
what's the third argument in the Array.string.replace second function?
 
10:47 PM
yeah ever since cobain did it it seems so... commercial.
 
!!/mdn replace
 
Array.string.replace...?
 
wow
String.prototype.replace, I meant
wow, that was pretty bad
 
Yeah kinda
 
let me die in shame now
 
10:48 PM
Don't forget to pick up some milk
You know, if you see some on the ground
Or something
 
are you trying to reach some random reward?
 
Random reward? There's tuna?
 
@Zirak, if you hate CoffeeScript, do you at least like Docco?
 
hopes docco will be a merge between ducks, crocodiles and cocoa
 
Essentially!
 
10:55 PM
meh
 
come on, it's pretty nice documentation: phenomnomnominal.github.com/docs/tuner.html
 
doesn't really matter that it's in coffeescript. It can be in D for all I care. The fact people can make good things out of meh tools doesn't make the tools any worthier
 
Yeah I don't mean for Coffee.
I mean the tool
 
not pushed on npm yet, gotta finish it but need to sleep before that, I'm too weak :(
cya guys
 
There's a whole bunch of ports: Nocco, Pycco...
 
11:09 PM
guys.. since when was postifx the default email "handler" for PHP and not sendmail?
this is news to me :S
 
11:33 PM
Would anyone know why this doesn't work?
$("#content").on('mousedown','img:not(.draggableItems)', function(e){
		//e.preventDefault();
		return false;
	});
Trying to prevent Image highlighting
 

« first day (760 days earlier)      last day (4190 days later) »