« first day (2615 days earlier)      last day (2319 days later) » 

2:00 PM
php, (+ajax, json if they can count like backend)
 
most uses of php are request-driven. You probably never did anything in between requests. Node can do it
are you familiar with vanilla js?
 
@BoteaFlorin node.js is like a much faster PHP in JavaScript that works really well for I/O heavy realtime apps (websockets etc). It's similar to Aerys in PHP if you're familiar with it.
 
no...
 
(Except much more popular)
Vanilla JS is just JavaScript without using a framework
 
@BenjaminGruenbaum Does such a thing exist?
 
2:04 PM
@Cereal 4.3k people say no: stateofjs.com/2017/front-end/results
 
@Cereal yes
 
node js is 'processed' by the physic machine of the site host? (the same who connect do sql db?
 
@towc lol
 
I ask because I don't want to get wrong conclusions
 
user4368224
Hey guys, I'm running a expressJS app with forever and was wondering is it okay to run forever in my NPM build script. Like "scripts": {
"start": "forever start ./bin/www"
} ?
 
2:20 PM
Hi @BenjaminGruenbaum, you recommended earlier not to use a third-party promise lib. Could you give me some info on why?
There are a few features (like bluebird's .try() & .spread()) that I would miss
 
hi guys
 
@ChenChi 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.
 
anyone experienced in requireJS?
 
@JimWright Hey, in a sentence because of async/await
 
await doesn't work with bluebird?
 
2:25 PM
afaik it does
 
@BenjaminGruenbaum so...php in js is used for js to communicate with db, right? then node js communicate with...what?
 
user4368224
Only reason I ask is I was wondering does it affect the permissions forever runs as it I run it from within the NPM script.
 
@BoteaFlorin Node and PHP are both backend languages so you can use whichever you like to communicate with the DB.
 
I should write a web server in SQL
 
@KendallFrey it does.
 
2:29 PM
well then what does Ben mean?
 
@KendallFrey "son of the south" or "son of the right hand".
 
shut up bobert
 
:D
 
@JimWright I try to understand with more practical examples...and I think the answer of this will make me some light ...If i have an app where every user connected is placed on a map as a character (a div with height and width, users can see each others position in real time), While a user character move from point 1 to point 5, node js will update db with his position each time?
 
@BoteaFlorin That depends whether you do that or not
 
2:39 PM
@BoteaFlorin If you wanted to do that then yes
 
@BoteaFlorin with DB or whatever, yes.
 
it is not harmfull for db ? :D
 
No, you should really do a tutorial
 
oh god lol
in C#, 40 secs ago, by 007
this is a place of science after all
 
@BoteaFlorin Is what harmful for the database? You asked where you should have a database question not about an appropriate work load
 
2:40 PM
i mean there are so many requests there
 
in C#, 22 secs ago, by 007
not the jocular locker rooms of some primary school
 
@JimWright basically, Bluebird was faster and better for debugging than native promises for 4 years - during that time native promises got a lot better and they're almost as fast now. The debugging experience also got a lot better - I find it hard to justify including it (and certainly Q) for it.
 
database connection* not database question
 
.spread is just a shim for destructuring.
 
room topic changed to JavaScript - The Jocular Locker Room: Topic: JavaScript, ECMAScript. Read this: javascriptroom.github.io/rules. Before asking inform yourself on the XY problem goo.gl/taIqf | devdocs.io Documentation™ Helps. Room meta discussions: github.com/JavaScriptRoom/culture [3d-printing] [ecmascript] [ecmascript-6] [javascript] [nodejs]
 
2:41 PM
I woke up on the floor this morning and my roomba drove into my head
i guess i rolled out of bed last night and didn't even notice
 
.spread((a, b) => is the same as .then(([a, b]) =>
 
a q about redux: is this statement correct? "once an action creator is called and an action is returned, all the reducers will received it and the store will be updated"
 
Everyone on our team expects promises to have bluebird interface. There is no way around including it :P
 
bluebird is great, but working without it is doable with little extra effort.
 
@Niing I'd says so although returning action is pretty much returning object but with expected properties.
 
2:46 PM
I find it takes more code without bluebird - maybe that's me being a pleb though
 
sometimes it does
 
@rlemon Maybe I'm just not up to speed on native promises, but I found it very cumbersome
 
bluebird is fast, and makes things convenient.
 
Also, store is updated but only for certain property but that statement I think is trying to be as generic as possible.
 
granted, I don't use 100% of the features, so some things might be harder to do without
 
2:47 PM
@OliverSalzburg you called?
 
We just started using Promise.try and Promise.method
 
bluebirch cumbersock isn't a Promise lib
 
And whenever something returns a promise, we expect to be able to call .map and .finally on it
 
@shriek thank you~
 
I'm using mostly async/await, so finally{ } is fine for me
 
2:48 PM
Wrapping everything in another Promise.resolve() is nothing we wanted to have
 
I miss catching specific error types
that was handy
 
I think they perma-banned me
well, "he"
 
davdism?
 
yes
 
@Neoares no different to how we treat people we view as vamps
if they think you're vamping, chances are they're justified to a certain degree
 
2:50 PM
So they're just regular old vampire nazis?
 
work with them, not against them
 
meh I don't think I vamped, but anyway
 
point is, they do.
and they're the ones you want help from
arguing about it with them is just going to get you kicked.
 
I didn't argue about that
 
I like davidism, he's a smart cookie
 
2:52 PM
Hello I have VueJS question I have a global object ( registration ) where I can add data to like: ' this.$root.registration.products= val '
 
> Vue
 
But when I access that view again,... and I Add some new products the previous ones are gone?
 
I must resist
 
@Neoares ohoh /me hides.
 
ugh, idk what I did to my mouth. but my gums on my left side are all raw and inflamed. giving me a crazy headache
:(
 
2:54 PM
Do you usually brush your teeth?
 
twice a day
and mouth wash
 
@rlemon I stopped smoking that 1 cigarette every morning since today and I have a headache today ... it's insane.
 
Then that's not it
 
well, I wouldn't count it out. I'm not a regular flosser
I'll admit to that no problem. flossing is a pain in the butt
 
@rlemon ( ͡° ͜ʖ ͡°)
 
2:55 PM
> Dentist: When was the last time you flossed?
Me: Bro you were there
10
 
I flossed yesterday. I feel so superior right now
 
@SterlingArcher lol
 
@SterlingArcher lol
 
lol
 
I don't get it :/
because the dentist just helped him floss?
 
2:56 PM
@towc that's expected
 
haha
 
Is 18 too late to abort a child?
 
LIVE @Airbus is drawing a giant Christmas tree in the sky of Germany. Track: http://airlive.net/live
 
lol
@SterlingArcher you should sleep on the floor more, killin it this morning :D
 
@KendallFrey lol
 
2:57 PM
fine, I'll live in ignorance
 
I'm just happy I set my roomba to clean every morning at 9 or i might have been late for work
 
dude, how is waking up at nine NOT late for work?
 
@towc He flossed during the last visit at the dentist
 
jeebus, I'm at work at 7:45am
 
@rlemon shit bro the rest of my team typically doesn't get in for another hour
 
2:58 PM
6:55 :(
 
@OliverSalzburg but that's not funny :/
 
@KendallFrey but why?
 
I'm early if I get to work before 10
 
but why not?
 
@towc I know. It's tragic
 
2:58 PM
@KendallFrey the environment
 
I'm gonna guess it's another of those test flights
 
not that it makes that much of a difference, but still
 
@GNi33 Literally the first response
@KendallFrey Literally the response to the first response
 
If I worked from home I could easily start at 630
I'm up at 6
 
2:59 PM
Alarm clock
 
To wake Holly up
 
so, I have some extra shoes that don't fit in the bag and I don't want with me anyway because I never use them
like, super-formal shoes
 
you could just sleep in a different room
 
no, I need to wake her up
the alarm is for me
 
3:00 PM
wat
 
she'll sleep through an alarm
 
get a better one
 
@KendallFrey She has a better one
 
also hope your house doesn't catch fire
 
so I wake up at six, wake her up, she gets ready while I make coffee and tea and feed the fish and cats and shovel and all that crap
then I get ready
 
3:01 PM
@towc whatdya think, should I just do an overflow on the svg and say fuck it?
 
@KendallFrey one that doesn't sleep through an alarm?
 
ayyy lmao
 
@rlemon oh no you just reminded me shoveling season is upon me
nyaah :/
 
@KamilSolecki maybe
@KamilSolecki my rate is 10$/hr
 
I'm going to need to talk to your counselling team.
 
3:03 PM
Is the question queue full of stupid questions because of winterbash or do I see bad questions because I'm looking at the question queue because of winterbash?
 
make a question
 
@KendallFrey thanks
 
3:25 PM
@littlepootis @SomeGuy t.co/Phf6MFoEk2
 
I can't decide if I wanna print the MK1 or this
😒
this one has a more reasonable parts list (for getting parts locally)
 
that one looks more flexible than the eezybotarm mk2 I am doing
yea, the one I am doing has a stupid parts list. needlessly complicated
 
hard to find the M4 and M5 screws here in those sizes
 
there is a mk3 that isn't on thingiverse yet. I saw it on that guys youtibe channel
not much info, just music over some shots of it
 
I'd have to order them online, or use alternatives that are almost the same specs
 
3:28 PM
@KendallFrey I've got my magnetic cube
feels good
 
also the pics show threaded rods that are way too long. I might just finish printing then decide on alternative hardware
 
I can't wait to get my two-faced cube
I'm gonna hate myself so much
 
s/$/ more/
 
@KendallFrey wait, are you really getting that cube?
 
lol yeah
 
3:30 PM
btw, what's your best time at regular 3x3x3?
or average time
I need 1:30 - 2 minutes, but I learned the last week
 
I can usually do it under 2 minutes
I use the beginner's method :/
 
same
 
Who wants to do a code review and play "find the code smells"?
 
I saw that you can do the white cross with 6-8 moves
but need a lot of practise
 
@Neoares That's so easy it's barely worth considering except for competitive cubing
I also learned in a way where I mostly do wrist moves, and the last layer kills me
 
3:33 PM
@BenjaminGruenbaum Sorry to bug you; I had a Q on main about proxies and reflect, and I pinged you because I figured you're a smart dude with answers. No worries, though, as it was answerd.
 
it's better to move the fingers
for the last layer you do M moves?
 
I think I'll have to just dump the plants :/
 
I learned a method that doesn't involve M moves, but it's slower
 
I don't know what an M move is
 
move the middle layer
 
3:34 PM
I know what a B(ee) movie is, though
 
L, M, R
U, D
 
oh yeah
kinda
 
F, B
 
But in a completely different way
 
@ShrekOverflow I am curious about the background of that problem
 
3:36 PM
if each face was a small screen, you could make a cube that scrambled its own faces on a timer.
 
Like instead of M T M' T2 M T M' like a sane person I learned R L' F R' L B2 R L' F R' L
 
user1596138
@Loktar it's like 50+ and sunny here lmao
 
make an even more impossible cube
 
Does the following code (proxying a Map) add too much overhead when I could just create a State class that extends Map? github.com/ndugger/duluth/blob/proxy/core/…
 
wait what is T
@KendallFrey I also do the second one
 
3:37 PM
@KarelG basically govt wants to centralize literally all the inforamtion in one gigantic database (with biometrics of citizens)
 
@Neoares top
 
I saw it in the instructions that came with the cube
 
That's right isn't it?
Or is it U?
 
:o, I always saw U for Upper
 
oh ok
I also don't use notation I use muscle memory
 
3:37 PM
or read the moves. every 30th move two faces swap
 
yes now I use muscle memory
 
user1596138
@rlemon do they fingerprint you in Canadia
 
I've never had one taken
 
user1596138
Context: Was watching the UK cops last night and apparently every citizen is fingerprinted
 
@ShrekOverflow and the database is not secured tightly ?
 
3:38 PM
if they do, they don't tell us
 
@KarelG many many issues with that, for example forcing everyone
 
user1596138
Also the cop said "Unless he's got someone elses finger it's impossible that thats not him" lmfao
 
and revoking bank accounts otherwise :P
 
I remember doing "play" fingerprinting in DARE (in elementary school), but I now suspect that they actually kept and saved the fingerprints... Those tricky bastards.
 
when they could already trace access using the tax account
 
3:39 PM
I also read that a surpreme court has ordered to remove the mandatory linking
 
@Jhoverit I should totes start walking around with spare fingers in my pocket
 
@ndugger You're welcome to bug me dude we know each other for years
 
it'll probably just fail
 
@BenjaminGruenbaum can I call you in the middle of the night and cry over the phone?
 
that petition won't do any shit if they even dared to ignore a court order
 
You can, but I'll only pick up once
 
lol
 
@KendallFrey meh, I want a real cube with moving parts. :D
 
make one
 
3:40 PM
but that is pretty neat. just looks annoying
 
you have a 3d printer
 
user1596138
@ndugger holy shit lol. They took photos too at our school I remember the guys talking about that
 
user1596138
They totally got put into the system at like 12
 
user1596138
Homeschool not so bad now huh
 
I don't doubt it
 
user1596138
3:42 PM
!!giphy Shackleford
 
Time to sand off my fingerprints
 
user1596138
Where's Dale
 
upstairs and to the left
 
user1596138
Oh it did load haha. We're having DNS issues
 
3:43 PM
I can only access chat if I hop on the guest WIFI here, so I just do that and connect to the VPN with Junos.
 
@ndugger you need to remove your teeth aswell
 
I don't brush, so I'm sure they'll just fall out any day now
 
@Luggage only bummer is it uses larger more expensive servos
like $20 per
 
Hmm, I think I have a date with a swim instructor tonight
 
user1596138
Does google maps have some type of weather integration I don't know of? Seems like they should
 
user1596138
3:51 PM
OMG they finished construction apparently bc there are only 3 directions for my 10 hour drive now
 
user1596138
i.stack.imgur.com/u48tV.png @HatterisMad lol check it. They don't even expand like usual haha
 
Can anyone give me pointers on how to run automated checks to if any elements on a page have overflowed horizontally - aka testing that everything has reflowed/resized correctly to the screen size?
 
user2620028
@Jhoverit wait i don't get it what now
 
Would it be something just as simple as testing window.innerWidth ?
 
user1596138
Lol entire drive is 3 turns now no stupid fuckery
 
user2620028
3:54 PM
oh they didn't show you the how to get out of your driveway bullshit?
 
user1596138
I live on the highway
 
user1596138
And idgaf about that
 
user1596138
Jus the actua travel time. You didn't used to be able to take 80 straight
 
user1596138
Nvm lmao
 
@SterlingArcher I have a date too #DateBros
 
3:57 PM
@ndugger with whom?
 
A girl I knew from my one semester in college
we stayed connected on facebook
That was like... 5 years ago?
 
ah, good luck!
 
Maybe 6 years... god, I feel old
 

« first day (2615 days earlier)      last day (2319 days later) »