« first day (1521 days earlier)      last day (3428 days later) » 

user2620028
5:00 PM
@Neil i have narcolepsy.... So for me it is like a sedative. Lets see how far hatter can walk while drinking before he takes a nice cat nap on the floor.
 
Alcohol is pretty close to a sedative normally.
 
@HatterisMad That must suck
 
Hell yeah, got the last of my winter pto approved.
 
user2620028
@Neil it does, sleep great during the day, dont sleep well at night. For day jobs it is kinda crappy. For a while i used to take a shot before bedtime and wake up so well rested 8 hours later it was incredible.
 
Having taken like 30 hours of PTO since this time last year makes it so easy to get time.
 
5:04 PM
The short-term effects of alcohol (ethanol) consumption range from a decrease in anxiety and motor skills at lower doses to unconsciousness, anterograde amnesia, and central nervous system depression at higher doses. Cell membranes are highly permeable to alcohol, so once alcohol is in the bloodstream it can diffuse into nearly every cell in the body. The concentration of alcohol in blood is measured via blood alcohol content (BAC). The amount and circumstances of consumption play a large part in determining the extent of intoxication; for example, eating a heavy meal before alcohol consumption...
> Alcohol can greatly exacerbate sleep problems. During abstinence, residual disruptions in sleep regularity and sleep patterns[clarification needed] are the greatest predictors of relapse.
 
@HatterisMad I'm still waiting for a job which lets me work whenever the fuck I want so I can have a stupid sleeping pattern :D
 
user2620028
Are you trying to say that statistics are a perfect representation of every person in the world? I am only telling you what i did and how i felt.
 
I don't have and have never had a stable sleeping pattern, some nights I'd easily stay awake till 9am, other nights I'll pass out at 9pm
 
user2620028
@Sippy I am moving to the other side of the world, If i can manage to get an american day job it will essentially be a nightjob there :P
 
If I was able to just get up and do my thing whenever I wanted, that'd be sweet
when I was at uni it worked great
Cos I'd just sleep when I wanted to and then go to uni and work when I wanted to
Cos it was 24/7 :D
 
user2620028
5:07 PM
My optimal sleep pattern involves me falling asleep around 5am and getting up around 2pm
 
for some people the amnesia comes on much earlier
 
heyo tom
no c# today? :P
 
I've heard several people, mostly women, say that they have complete blackouts in the memory where nothing remains. Yet even their sober friends say they were obviously inebriated, but not seriously
@Sippy nah not today, been house-wrangling. Waiting for deliveries and doing some odd jobs
 
@TomW I've only blacked out once, and that was cos I drank 4 pints of mixed shots which was a really good idea and I do not regret at all.
 
@TomW Done that. It rarely ends well.
 
5:09 PM
@HatterisMad No, that was referring to @ssube for his comment that alcohol is pretty close to a sedative
In your case, apparently it has a different effect
 
alcohol is a depressant, not a stimulant
 
user2620028
@Neil oh gotcha. Yeah its handy but odd. And its only when i drink vodka or rum and coke that i get that way.
 
that's all the science I have for today
 
@KendallFrey but some neurochemical processes are wired the opposite way round
 
user2620028
@Sippy that almost makes me sick just thinking about it lol
 
5:10 PM
so it depends
 
Only time I got seriously hammered was when I drank coke and rum
 
user2620028
@TomW Yeah whenever i drink mtn dew it makes me sleepy.
 
I could use some booze
Right about now
 
Someone fixed me a full cup of it, and I think I knew there was a lot of rum, but I didn't think it was like 50/50
 
@Neil That's probably because it takes no effort to slam a half-dozen of those, and then you realize you just had 12 shots in 2 hours.
 
5:12 PM
@Neil does inverting the order of the words imply inverting the proportions?
 
You guys are never on when I'm drinking
 
Man, I haven't interneted drunk since back when I had no friends and spent all my time on IRC. Kind of miss it.
 
@TomW Heh, in this case rum being less than 50%
 
user2620028
@SomeKittens did you wish for assistance with your car, you have some people on here who are very good with vehicles.
 
30% rum in a full cup of coke and rum is still like 8 shots
 
5:13 PM
@Neil I don't think that math works.
 
How big a cup?
 
@ssube Depends on the size of the shot and the size of the cup, don't it? :P
 
8 * 1.5 = 12, a pint is 16
 
user2620028
@Neil whaaaaaaaaaaat lol
 
Sports Direct giant promotional mug?
 
5:14 PM
It depends on the cup, shots are standard.
 
Somebody standardized shots?
 
@HatterisMad One word: "University"
 
Yeah, but since everybody taking them is drunk, it didn't do much.
 
Has anyone ever had the annoying issue with Bootstrap where the top of the modal goes underneath the navbar?
 
@Sippy Yeah :(
 
5:15 PM
@Neil Yeah, a shot is a measurement
!!wiki shot
 
Shot may refer to: Shot (filmmaking), a part of a film between two cuts Shot (medicine), an injection Shot silk, a type of silk Showt or ShoĊ£, the city in Iran Line length, a fifteen fathom length of anchor chain Shot, (or shott), a group of adjacent strips or furlongs in the medieval open field system SHOT is an acronym for: Society for the History of Technology, a professional organization for historians of technology Shooting, Hunting, and Outdoor Trade Show, an annual trade show for the shooting, hunting, and firearms industry Serious Hazards of Transfusion, an organisation monitoring blood...
 
I fixed it by just using a panel instead of a dialog
 
@Neil multiples of 25 or 35ml for the UK
 
@Neil Did you fix it?
 
@Sippy No, not by using the dialog
 
user2620028
5:16 PM
@Sippy Dude i would not want to be there for the puking aftermath. The orgy i suppose i would stick around for.
 
I don't even want the modal that high on the screen
@HatterisMad There's actually a league table for 'average number of sex partners per student' for universities in England.
I think my uni was in the top 10
 
user2620028
Hell i will probably never make it to 10, good for them.
 
Heh
I managed 9
But I was sexy in uni.
 
user2620028
I keep running into these promiscuity roadblocks called long term relationships.
 
@HatterisMad They're better anyway
 
5:18 PM
I'm weird and women don't like it. That's my excuse.
 
@Neil Smart..
 
user2620028
The last girl wasn't i promise.
 
@Sippy If you stumble on a solution, let me know :P
 
@Sippy That's rare.
 
user2620028
I just have been single a total of i believe 6 months out of the last 8 years?
 
5:19 PM
@ssube Yeah..
@HatterisMad Lol
Either very lucky or not very picky.
 
I think I'm just going to give up looking for real relationships and just settle for liberal arts undergrads.
 
@ssube Ew wrong one dude
They're so odd
Psych students are good
 
s/odd/interesting
 
Eh, I guess if arts is your thing
 
They care about things, but not ones that matter, like med students.
 
user2620028
5:20 PM
Oh god med students creep me out most times.
 
Med students are zombehs
 
user2620028
Med students (in my head) are like hey look at that poop, doesn't that look like fun to play with?! (Other Med Student) OMG Yeah it does!
 
@HatterisMad I dunno if they play with poop ..
!!s/poop/liver/
 
user2620028
The ones i knew did :/
 
That, uh
That might not be because they were med students.
 
user2620028
5:22 PM
They did it to creep everyone else out who didn't have a stomach for weird.
 
I did recently meet a girl who's in mortuary sciences, which seems intriguing.
 
user2620028
I would love to know what leads a person down that path :D
 
No idea, will be asking at some point. Huge party hippie type, always seems cheerful, but chops up dead folk.
 
My phone questionnaire lives <3
Although I don't really understand the Iterable java interface yet, but that's heresay.
 
user2620028
@ssube keep that in mind if you ever get romantically involved. She chops up human bodies for a living.
 
5:25 PM
Iterable is the cheap version of a generator.
 
user2620028
what is an enumerable cheap for then?
 
foreach?
 
@ssube oh I meant like, I don't understand the under the hood details
I was going to start poking around the Java room to learn more but it's mostly dead whenever I go there :(
 
@SterlingArcher The story of Java.
 
If anybody really doesn't wanna hear about Java I wont bring it up anymore
 
5:27 PM
@HatterisMad ha, yeah, not worried.
 
I just get excited when I learn new things
 
I'm looking for places to shrink my line count. I've got it down to 27. Anyone see anywhere? github.com/ndugger/html-builder/blob/master/htmlbuilder.js
 
user2620028
Not many chat rooms on SO are constantly active like the js room is
 
My usual friend group is shady enough, that barely makes the charts. Plus she's a fantastic dancer.
If you like to drink and dance and smoke, I couldn't care less what you do in your spare time, as long as you aren't a med student.
 
user2620028
Firm believer in foreshadowing lol
 
5:29 PM
@NickDugger Needs more lines
You already have bugs because of your minification
 
I'd write it in -1 lines if I could
nuhuh
it works
I think
 
@ssube I'm in agreeance. If your job has lives in your hands, you shouldn't smoke. And you really shouldn't drink the night or two before say a pilot flight or surgery of course
 
delete childNodes[i].tagName || childNodes[i].nodeName;
 
Tips for improving quality of this question? stackoverflow.com/questions/27489361/…
 
@copy that works, are you saying that it shouldn't?
 
5:30 PM
@SterlingArcher Oh, sure, always go to work sober. That's the principal rule of partying.
 
^ damn straight!
 
If you screw that up and start coming to work messed up, you'll very soon have neither work nor parties to go to.
 
@NickDugger Operator precedence
 
That or you could kill somebody
 
Programming drunk is great btw.
Just so you're all aware.
 
5:31 PM
I will admit some people can function perfectly when drunk (but not sloppy) but I don't condone it in a professional setting
Programming wasted on the weekends is definitely great. That's how most of my college homework was done
 
fff, @copy, you're right
lame
does delete ___ not throw an error if ___ doesn't exists? Seems odd.
 
user2620028
@SterlingArcher I did that to pass an objective c course in college :/ That was a scarring experience. The objective c, not the drinking.
 
@HatterisMad I know exactly what's wrong with the car.
 
user2620028
@SomeKittens whats wrong with it?
 
@Sippy i used a 50 caliber to kill you before cooking you... so
 
5:39 PM
if obj.prop doesn't exist, using delete on it still returns true. I feel like that should be wrong.
 
String.split(' ').join('').split('').sort().join('') // better way to do this?
 
@HatterisMad my favorite was when I had to design a game for my final (it could be a copyright clone) so I did Connect 4. I was having trouble writing the logic to make the chip slide down as far as it would go, so I went out drinking, blacked out, woke up to perfectly functioning, and commented code.
No recollection of writing it
 
user2620028
@SterlingArcher i have never yet blacked out from drinking, which sucks cause there are several nights i wish i never had to remember.

Sidenote: That is awesome lol.
 
@AwalGarg Depends on what you do with it afterwards
 
College was blackout central for me. I managed one recently, but that was the first in a few years
 
5:44 PM
@copy Just wanna remove all the ' ' characters and sort the string, then pass it elsewhere.
 
user2620028
@SterlingArcher I was also writing a game for my final when i was drinking heavily for objective c. My code was commented with all of the better ways other languages could have achieved the things that objective c struggled to do in my code. The professor read my code and started a language war with me via email lol.
 
It is just looking kinda ugly right now... and I can't think of a good name either to add it to the String prototype :/
 
@AwalGarg It means you end up with something like "aaaabbbbcccdddeeeeee..."
 
@copy yeah
 
A language war?
 
user2620028
5:46 PM
Yeah like him saying that objective c is gods gift to the earth and that all other languages can suck it. Me telling him that he is a buffoon and should go reproduce with a donkey.
 
@HatterisMad ignition switch was recalled, dealership screwed us over.
 
user2620028
@SomeKittens That sucks man not too much you can do about that in a new car.
 
@copy instead of delete a || b, I got the following to work (tell me if it's shameful) delete a && delete b;
wait, that's stupid
it works, but it's stupid
 
now I don't know if I should keep it, even though it is stupid
 
5:49 PM
@SomeKittens do you have one of the GMs or whoever that did that recently?
 
@NickDugger What is it for?
 
I hope not saving memory
 
line 11
It's because I'm trying (for no reason) to cut the lines down as much as possible without breaking all readability
 
@NickDugger delete a; delete b;. Don't overcomplicate it.
 
5:50 PM
You already broke all readability and sanity
 
lol
 
As it stands now, if somehow delete a were to fail, what would happen to delete b?
 
delete almost always returns true for some reason
 
user2620028
The condition would not be met for the if statement if a is not true
 
5:51 PM
@HatterisMad yep, just have to replace it. Good news is I may be able to get Honda to pay for it
 
@ssube off the top of your head, if I have a @RequestParam("Digits") int id and the user types in a *, since * is not an int, that will cause an exception, right?
(twilio dialpad input)
 
user2620028
@SomeKittens if it has been recalled they better pay for it..... unless you took like a hammer to it or something stupid
 
@NickDugger "almost always". Do your tests cover when it doesn't? What does it mean when it doesn't?
 
Hi. A question : Does somebody here use ES6 modules ? If so, how ? Using a transpiler ?
 
From my understanding of delete, my function shouldn't have that problem
 
5:53 PM
@SterlingArcher It ought to, probably a bad request or endpoint not found (depending on your framework).
@NickDugger "shouldn't" isn't good enough.
 
Says you
 
That's gotta be it, thanks!
 
You can trade a character for a lot of peace of mind by making that two statements.
 
@copy basically, I have to take two strings, remove all spaces, sort them alphabetically, and compare them.
 
In this trade, typing is easy, sanity is hard. If you can spend the former on the latter, the rainbow squirrel said to do it
 
5:55 PM
@AwalGarg Ah, you could do that in O(n) (sort is O(n log n))
But it probably doesn't matter
 
@copy I... didn't get. Example?
 
Instead of using "aaaabbbbcccddddd...", use { a: 4, b: 4, c: 3, d: 5 ...}
The latter can be built without sort
 
ahh
 
It'll be faster but more code, so you have to decide if you want to make the tradeoff or not
 
I want clean and readable code, performance is not a concern here.
I wrote that sort split chain just 3 hours ago, and looking at it again itches me :/
 
6:02 PM
It's okay. Maybe split it into 2 lines, because you're doing 2 things at once
 
This song hits me right in the feels :(
So beautiful
 
@HatterisMad Here's hoping.
 
Is my answer bad, very bad or OK ? Do you have a better one (I'll delete mine if necessary) ?
2
Q: How do I concatenate ES6 modules?

BenHow can I concatenate ES6 modules? var foo = 2; // This would normally be scoped to the module. export function Bar() {} // ...concatenate... import { Bar } from 'javascripts/bar' //This file no longer exists in the concatenated scenario. export function Bam() {}

@BenjaminGruenbaum ^
I got a downvote from here. It's OK to downvote but a comment would be appreciated
 
I really cannot wait for es6 modules... want now pls
 
Seriously, it's a mess now. I find it simpler to wait and use current (or my own) solutions in the waiting rather than learn a new transpiler for a short time
 
6:15 PM
@SterlingArcher "I am totally not Bon Jovi, wooah-ohhh"
 
I'm just using gulp to concat all of the files I need into one instead of using a module system.
 
@NickDugger That'll only take you so far. What if you don't need to load everything at once?
Plus, that file can become awfully large after a while.
 
@ssube A large file is less a problem than many small files
 
it's a temporary solution until es6 modules are a thing. Don't be a a hater, be an appreciater.
 
6:17 PM
> This song like one of those gay metal ballads bands from the 80's that my parent's would likeïğż
- Some asshole
 
@NickDugger do you use at least name spacing and scope isolation ?
 
oh maan that was a keychange
 
ok
 
@dystroy Oh it's this guy again
 
6:25 PM
@dystroy I prefer having a couple medium-sized files, and not loading all of them if I can help it.
 
@BenjaminGruenbaum Hu ?
 
I don't always concat my js. Only on projects where it makes sense. Otherwise, yeah, I do have a few larger files in regular web projects
 
@dystroy he asked other questions today
Also your syntax is not current afaict
 
Yes, I've seen more recent works. But nothing confirmed on how to have modules behave nicely when concatenated.
 
@NickDugger you should check out browserify
 
6:29 PM
Also, I've deleted my answer
 
@Loktar I did. I didn't like it
 
Someone post something they want me to vote on
 
hah really? Damn
browserify is great
<3 commonjs
 
It worked fine, but at the end of the day, concatenating my files worked just as well, without the extra garbage on top.
 
@SomeKittens Unfortunately I stopped answering. I just tried to but I deleted my own (bad) answer. So I can't even beg for upvotes ^^
 
6:31 PM
not really
Hand crafted dependency trees are shit, concat !== module system
 
@Loktar +1
Modules are useful for keeping code isolated.
 
yeah definitely
 
Do you often have a dependency tree client side ? Don't forget that the easiest and biggest optimization you can do on most web apps is ensuring there's a minimal number of requests
 
@dystroy well with browserify there's only one for JS anyway (generally unless you're linking to some global deps with a shim or something)
 
browserify concats them all but shoves them into an array of weirdness with garbled error handling on the top of the file.
 
6:35 PM
that reminds me, ops opened a few jiras last week complaining about the request counts on some of our apps
 
I didn't like it
 
now i have to go deal with those and do work...
 
@NickDugger you have no idea what Browserify does then :P
 
@FlorianMargaine Is browserify as bad as described here ?
 
Dammit.
I'm so getting a German
 
6:36 PM
my girlfriend wants one. I want a husky. We'll get both
 
Might get a Samoyed next, between that or a fox
the fox seems like a bit of a hassle though with paper work
 
Alright, going to go upvote some rando
 
@Loktar you can knit from it's fur that it sheds!
 
@Loktar Samoyed's are great dogs.
 
Sweaters for dayzzzz
 
6:38 PM
haha
@Greg owned one?
 
Anyone know why this won't hide the element?

    $(document).ready(function () {
        $('.Preload').hide();
        $('btnSubmit').click(function () {
            if ($('.Preload').is(':visible')) {
                $('.Preload').show();
            }
        });
    });
@Loktar Yeah, a family member did.
 
We used to have a malamute (I grew up with them as well) I hear they have a similiar temperment
 
@Loktar They were really, really exceptional with children and incredibly happy.
 
nice, thats perfect then
 
@Loktar They aren't aggressive or attempt to assert pack dominance like a Malamute.
 
6:40 PM
dat document ready
 
your code works fine there.
 
@NickDugger Bad document ready?
 
I just hate document ready
 
whats up with your btnSubmit?
is it a class?
 
Missed the # when typing.
 
For some reason, I am feeling like I should go answer all the questions!
 
that seems to work
so the issue might be elsewhere
 
@Loktar Well, what is weird- That doesn't work, this does work:
 
oh I changed the show portion too
 
    var $$ = function (selector, context) {
        var element = (context || document).querySelectorAll(selector);
        if (element.length > 1) {
            return [].slice.call(element, 0);
        }
        return element[0];
    };

    window.onload = function () {
        var preload = $$('.Preload');
        preload.hidden = 'true';
        $$('#btnFindCustomer').addEventListener('click', function clickListener() {
            if (preload.hidden) {
                preload.style.display = 'inline';
 
6:43 PM
@Greg does your preload not show when clicked with the JQ code?
or is it not hiding at all?
 
@Loktar Not hiding at all.
 
weird.
 
Yeah, the Vanilla works fine but the jQuery isn't.
 
@Greg use what works, then.
 
jquery is included on the page and everything? No errors?
 
6:44 PM
@Loktar None that I can see.
 
what is the question, if I may ask?
 
Oh well, I'll troubleshoot further.
 
*oh ... uhh ... jQuery ... I just remembered something urgent, gotta go.*
 
Which would be the cheapest android phone I can buy for reliable mobile testing and remote debugging?
 
@AwalGarg My old Incredible
 
@SomeKittens you mean the name of the phone is "Incredible"?
 
!!wiki droid incredible
 
The HTC Droid Incredible (ADR6300) (also known as the HTC Incredible) is a smartphone manufactured by HTC Corporation using the Android operating system. It was released on April 29, 2010, and is available through Verizon Wireless only. The device is similar to the Sprint HTC Evo 4G. The device has been succeeded by the HTC Incredible S and the HTC ThunderBolt. It was removed from Verizon Wireless' website and is now selling remaining stock. The "end of life" was March 30, 2011. == Features == The device was released running Android 2.1 (Eclair) software, modified with HTC Sense, an overlay user...
 
6:54 PM
@AwalGarg ?
 
Though seriously, you want something beyond Android 2.3
 
@BenjaminGruenbaum Thanks for the link ! (and +1)
 
@CapricaSix lol
@SomeKittens I am not targeting anything below 4.3 lol
 
> Game developers, take note: to ensure a 16ms frame time (required to achieve 60 frames per second), your application must make zero allocations, because a single young generation collection will eat up most of the frame time.
 
I guess I should wait for a week and save more bucks, then buy one which I can use elsewhere as well
 

« first day (1521 days earlier)      last day (3428 days later) »