« first day (2146 days earlier)      last day (2820 days later) » 

2:00 PM
:)
 
My Impreza is amazing in the snow
 
my 2006 accent is a pos
:D
 
subaru and volvo are some of the best, but I wouldn't buy either
 
I think FWD can be pretty wretched but they have the public thinking they are the best.
 
Can I do this somehow in one line? Each time I try to append the .format to the initial line it results in an error.
var dateFrom = moment(new Date(this.props.requestDateFrom));
var dateFromGer = dateFrom.format('DD.MM.YYYY');
 
2:02 PM
What's up with moment(this.props.requestDateFrom)?
 
@Luggage in snow specifically, FWD is easier to control than RWD.
 
@elsololobo var dateFrom = moment(new Date(this.props.requestDateFrom)), dateFromGer = dateFrom.format('DD.MM.YYYY');
 
not more able, just easier to get into
FWD is to cars what jQuery/PHP are to code
 
@OliverSalzburg ah great one. Thanks!
 
meh, fwd alone isn't a big help. You still need the right tires. my FWD sentra was the worst car i hever had in the snow
 
2:03 PM
I don't even care about what's better to steer, the simple thing that I'm able to stop and go again when going up a hill when the road is pure ice is great
 
and my mustang, with all-seasons that weren't too worn was quite capable. Not great, but workable.
 
@elsololobo I don't see why moment(new Date(this.props.requestDateFrom)).format('DD.MM.YYYY'); shouldn't work though
What's the error you're getting?
 
To me, not being able to move is the biggest threat. All cars slide on ice. All cars go off the road if you go around a turn too fast.
 
one of my old roommates had a beater 325 and would parallel park in the winter by gunning it so it half-fish tailed
get it at an angle, drive forwards a bit, half-fish tail the other way, and slide sideways into the spot
 
nice.
 
2:05 PM
it was awful, we nearly died a dozen times
worked though
 
good insurance is a plus when you try that stuff
 
already bought it
 
@Loktar
gonna pin that for today
 
@greatTeacherOnizuka Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
1 message moved to Trash can
@greatTeacherOnizuka Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
2:08 PM
(function(){
      function bar() { return 7; }
      function foo() { return 1; }
      return foo() + bar() + ',' + baz;
      function foo() { return 2; }
      var bar = function() { return 3 }
      var baz = 'Hello world';
    }());
guys why does this return 9, undefined?
I don't get it
 
foo() + bar() + ',' + baz is 7 + 2 + ',' + undefined, thanks to hoisting
 
the second foo() overrwites the first (7 + 2 = 9) and bar is never defined until after the return, no it's undefined.
 
functions are hoisted with their body, variables are hoisted without their assignment
 
@GNi33 whats your buget?
 
thanks guys! make sense now
 
2:10 PM
er.. baz, i mean, but same answer.
 
@ssube nice I already have them DRM free via gog though :p
and, many of them physical
 
@Loktar hippie
 
@ssube I used to play the shit out of the Caesar 3 demo
 
Also, your name is a character that became a teacher to fuck students... so.. there is that
 
Caesar 3 is great
 
2:11 PM
I didn't even know there was a 4
 
if you like that you'd like Pharaoh and Zues as well
4 is a big let down
 
ahahha and my avatar is a sociopathic mercenary that enjoy killing people
 
mine's a robutt, disguised as a dog
 
mines a sexy lumberjack
 
mine's a dank engine
 
2:13 PM
mines a random dude I found on the internet via tinder
 
Mine is me. An old, sad charlie brown.
 
@Loktar swipe left
 
hehe
 
@greatTeacherOnizuka same
oh wait, I changed my avatar. This is the guy I murdered last night.
 
@littlepootis did you just do it while he was asleep or something?
 
2:14 PM
@littlepootis it's a good thing you're not Awal, or we'd have to report you for potentially actually murdering one of the other people on your account
 
@litt
@littlepootis dude looks like hes taking a nap
 
@hogarth45 Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@greatTeacherOnizuka no, I woke him up before doing that.
@hogarth45 aye
 
@littlepootis lol
 
2:16 PM
:32587770 Try <[^>]+ instead
 
crap
 
happens
 
cc @Loktar
 
@Loktar I'd say around 800 - 900 €
 
@Trasiva LOL wtf
 
2:19 PM
I want to build a desktop system afterwards anyhow, so the gaming part is not too important
 
texture packs are the best these days
 
@GNi33 ah so you have a decent budget, I don't know a ton about what laptops are good honestly. Personally I've been looking at Surfaces myself though
but it's hard for me to justify the price since I never use laptops lol
 
@Loktar Some people just have too much free time on their hands, lol. I don't even know how they figured out where the buttons or hidden rooms are with it like that though, jesus christ.
 
@Loktar Surface book or pro?
 
@Loktar I'd love a desktop system as well, but I'll be working remote so I need a laptop
 
2:21 PM
@ssube the pro
 
if you want a tablet that you can dock into a sort-of desktop, I'd highly recommend the surface pro
had one for 3-4 years now
even the pro 2 (i3, 4GB) was good enough for most indie games and lightroom/photoshop
it's not great as a laptop for any heavy use, which is why I got a Lenovo Yoga with better specs for my dev/game stuff
 
nice, yeah I have a $150 windows tablet, runs indie games and all games from around 2007 < pretty well
so I assume a surface pro will do even better
but man the price..
 
they're good, and the pro 4 has really nice hardware
 
lol mostly since I never use a laptop, the price is an issue for me
but they are really damn nice
 
as a light workstation/desktop, frequent tablet, and occasional laptop, the Pro is great
if you want occasional tablet and frequent laptop, Yoga
 
2:25 PM
Anyone familiar with express?
 
@greatTeacherOnizuka Sure
 
Yep
 
@greatTeacherOnizuka many of us
 
 app.get('/', function(req, res) {
        var m = require('fs').readFileSync('3031199c', { encoding: 'utf8' });
        res.send(m);
    });
 
Okay, that's 3
 
2:25 PM
I don't get whats the point of the second line?
 
why readFileSync?
 
to send the file contents
 
why they readFilySync and pass the econding into an object?
 
@greatTeacherOnizuka you can do the entire thing in one line, but it looks ugly.
app.get('/', (req, res) => res.send(require('fs').readFileSync(filename, options)));
 
but is it correct that code? Or it could be improved?
 
2:26 PM
no one wants to read that
@greatTeacherOnizuka you could cache the fs module
 
Asking for improvements on that tiny piece of code... this could take a while
 
@greatTeacherOnizuka you need to pass encoding if you want readFile to return a string
 
@rlemon depends.. in scala, that is somewhat elegant
 
no encoding and you'll get a buffer back
 
@Neil this isn't scala
 
2:28 PM
Have already accepted our lord and savior bluebird?
 
@Neil scala is operating under permanent beer goggles
 
@ssube can you make an example? I am touching someone else code of course
and not really familiar with Express
 
sync vs not sync will probably not make any matter. he still needs to put off the response. unless there is some crazy side effect on the server
 
Nit
@OliverSalzburg If only they made custom builds easier. I mean, I still use it, but it could be better.
 
2:29 PM
custom builds?
why would you want part of bluebird and not the entire thing
 
what do you need to strip out of bluebird? it's tiny
 
HOW DARE YOU?! O__O
 
cc @SterlingArcher
> What do you call a skinny ghost
> BOOLEAN
har har har
 
["hip","hip"]
 
I've stumbled across and interesting problem, looking for some assistance with brainstorming ways to solve this
 
2:32 PM
that made me chuckle I gotta admit
 
Nit
Good problem, have you tried technique A, Michael?
 
@Michael Spill it already!
 
I'm working on it! haha
 
Nit
Oh okay, if that doesn't work out, try technique B.
 
http://lathrop.wpengine.com/steam-boilers/

The table on the page. I've made with columns so I can do some special media queries for mobile.

I've ofcourse run into an issue where some inputs run multiple lines.

I need to make certain rows have an equal height across an entire row so the data lines up properly. I'm at a complete loss for how I should do that with how I have the HTML layed out
 
2:35 PM
@Michael I always liked this approach: css-tricks.com/examples/ResponsiveTables/responsive.php
 
he's using "css tables" to produce a tabbed layout
has nothing to do with tables
@OliverSalzburg but that is an excellent approach, I also use it
:D
 
@rlemon Christ, that's so groan worthy.
 
@Michael We've also used dropdowns in the past with pages where there's lots of tabling. Like here: haseke.de/en/products/industry/details/lift-systems/…
 
@Abhishrek What do JS programmers eat in India?
NaN bread...
 
Nit
@Michael Why is the dom like that, though?
 
2:38 PM
@rlemon LOL.
 
@Trasiva I guess you could say that that joke were... ghastly?
 
@Nit
 
still one of my favorites.
 
That's great, haha.
 
@Nit my ultimate goal was to in mobile, make it so the features coumn was say, 25%, and then one of the other columns would take up 25%. Then putting in a manual slider where the user could then swipe through the other columns in the remaining 75%.
 
2:39 PM
Probably not even valid pointers.. that bastard
 
^25% and 75% respectively, typo'd there
 
What programming language does a pirate use?
R, Matey
 
What's a pirate's worst letter? The one coming from the FBI
 
What does @FlorianMargaine use when he goes fishing?
A Lua.
 
What did the programmer say when his favorite torrent site went down? 'That bytes!'
 
2:42 PM
What did Jordan shout when he finally fixed the bug?
Viola!
5
 
@rlemon He waits for the nibble, and then reels on the byte.
 
okay, someone fill me in on the viola joke
 
Good humor from Pootis? Check the skies, they might be falling.
 
Nit
@Michael You could still achieve that but with a regular table or table-like layout using widths.
Currently you're making your life hard for no benefit
 
Why does a programmer confuse Halloween and Christmas? Because oct 25 = dec 31
 
2:43 PM
What is Jodans favourite instrument?
voilà
 
I used to play the viola.
I preferred the violin though.
 
Nit
@GNi33 Sterling said he used to think it was written "wallah" and then said he now knows better, that it's written "viola"
 
I played the violin. I preferred the cello
 
@Nit haha, thanks
 
it gets better
 
2:46 PM
@Nit I defintiely agree with you there. I'm using Advanced Custom Fields in wordpress to generate the input for the data. I'm not even sure I can make this work in a table output. I wanted to explore my other options before having to reevaluate the php that outputs this thing
 
oh my god, this is gold!
 
@BenjaminGruenbaum You mentioned that "the example code I will be providing is different", where did you provide with such example code?
I'm only seeing the slides.
 

« first day (2146 days earlier)      last day (2820 days later) »