« first day (2593 days earlier)      last day (2349 days later) » 

9:00 PM
@rlemon re your proposed solution to my asynchronous problem
 
@Jhoverit can you show me on fiddle
 
@FélixGagnon-Grenier troll answer (kinda, kinda not) use mobx
 
you said it does what i think he expected
 
user1596138
 
a very easy way would be to call the subsequent actions in the callback of setState, but I do not like it because side effects are evil
 
9:00 PM
I mean, the end product looks nice, but the code is messy
 
wth yah thats right
 
@rlemon yeah, I was trying to ship that prototype in three days, and mobx is not in my skills enough
 
user1596138
What did you do with label.error ? lol
 
but this is what i have for code
 
it's really not that bad
that 'course' got me going
like an hour of video
but yea, I'd have the latter option
just wrap them both in one function and call in the setState callback
:shrugs:
 
9:02 PM
:P
but thanks for the links, I'll check that on my free time :)
actually, hell no, on paid time.
 
@Shmiddty github.com/RUJodan/Source-React basically it's an account system with a redis lobby lol
 
betterment of myself literally is in my job description
 
@Jhoverit we have the same code but im not getting that at all
 
yea it's a pretty good video tut
 
but it's real time with react and websockets soooo it comes in handy when people ask about express, sockets, or react shit
 
9:03 PM
doesn't translate 1:1 with real world code, but it gets the concepts out there
computed, actions, observers, observables, etc.
 
user1596138
@Brogrammer Did you put a space between label and .error
 
user1596138
Bc that would change the selector
 
:D
 
user1596138
9:04 PM
Post your diffle
 
no @Jhoverit i didnt
 
you can't close vote answers
 
@KevinB pft maybe you can't
 
@KevinB pretty sure he meant to link the Q
 
How dare you assume his intentions
 
9:05 PM
@Loktar hahahahaha I think my account on Amazon is flagged.
I ordered those 50mm supposed to arrive thursday
just got updated, shipped same day, arriving tomorrow
> NEVER MAKE THIS MAN WAIT FOR FANS!
 
flagged for what?
 
Order Status: lol, hahaha, yea right, loser
 
@SterlingArcher they delayed a shipment so I complained and they comped the two items
 
flagged for being canadian
 
$45 worth of fans
 
9:07 PM
I assume these are not the fans I'm thinking of
 
like computer fans
 
oh
close then
 
@SterlingArcher I got extra hot wings
sorry not sorry
 
I wish I had wings
 
@BenFortune that's ok, you'll pay for it later ;D
Great now I want wings
 
9:09 PM
you're welcome
 
but I also want tacos
but I also need a trashcan
 
user1596138
Isn't it half priced wings today
 
@SterlingArcher jesus
 
🦃
 
user1596138
Wait it's bogo now isn't it
 
9:11 PM
Whoa I can get a roomba for $275?
 
Everytime my company buys me KFC, I steal the stamps so I can come back later and get free shit
 
That's way better than a vacuum and a swiffer
 
that is the best question ever
 
user1596138
@SterlingArcher Yeah probably the one that just vacs randomly and takes days to finish a room lol
 
tf is vatiation
 
9:12 PM
@SterlingArcher The Xaomi ones are meant to be pretty good
 
@Jhoverit dude idgaf if it is constantly running haha I hate vacuuming
 
user1596138
@SterlingArcher I wanted one a bit ago but the cheap ones seemed like junk. If you get a cheap one that's actually worth it lmk pls
 
user1596138
I do lol I don't want a loud frisbee running into shit all day long
 
user1596138
It says the cheapest one doesn't offer scheduling... A selling point for all other models is "CLeans on your schedule"
 
user1596138
So. Is this thing sentient?
 
9:15 PM
oh makes me think, what heppened to 0.5 puppy @Luggage?
 
@FélixGagnon-Grenier I think I marked it for slaughter. No use caring for a dog that can't move.
 
@BenFortune <3
 
awwwwwwwwww
 
9:16 PM
meant just for light dirt, small places
perfect for me
 
user1596138
Yea but I tihink it just is random
 
user1596138
Like it will never realistically clean a full room
 
@FélixGagnon-Grenier If it was female, it might be worth keeping just for breeding
but alas
 
@Luggage wait is this real or rimworld
 
9:18 PM
@SterlingArcher got an open floor plan with no area rugs?
 
rimworld, of course :)
 
user1596138
Like. It looks for stuff it might run into yea but has no ref as to where it's at, what it's done or what needs to be done
 
my roomba didn't work for me
couldn't make it from hardwood to carpet, and would get stuck under chairs and tables
gave it to my mom, she says it works okay
0/10 would buy again
 
@rlemon yup, only hardwood except my bedroom
 
gotta be careful about floor plans as well. don't give it places to get lost in
 
9:20 PM
And I have no issue setting up zones and picking it up to do carpet
 
idk. seemed like a great idea, but failed me horribly.
I'm sour
 
user1596138
@SterlingArcher Don't think you can do that.
 
@rlemon That's the same story from a friend of mine.
 
user1596138
Or do you mean physical zones?
 
so he let it wander the office for a while until people got tired of it then shelved or sold it
 
9:20 PM
unless the wind closes a door there's nowhere the roomba can get lost in my place
 
I'm using node with socket io. What's the best way to prevent a malicious user from stuffing a gb or more of data through a single websocket and crashing the server? Ideally I'd like to block it at the firewall level but I'm not socket-savvy enough to know how that works
 
@Jhoverit we'll find out lol I'm gonna try it
 
dude, got chairs? tables? lamps?
 
Not yet
 
user1596138
Shoes
 
9:21 PM
any objects can lock it into a "OMG WHERE DO I GO NOW" mode
 
user1596138
A cup
 
user1596138
Lmao I've seen some confused ass roombas
 
Is there more than a micron of deviation in the floor?
 
Doesn't it just bump and move on?
 
they have ass roombas now???
3
 
9:21 PM
@SterlingArcher it should
but it doesn't always move in the right direction.
 
user1596138
Its funny how you know what Kendall will say before he says it always
 
user1596138
Predictable lol
 
then lets see you start predicting
 
user1596138
You can't announce the prediction or he will obviously change
 
Well, regardless, I don't vacuum, so why spend $300 on a vacuum when there's a decent chance this will work well and do more than I will
 
user1596138
9:22 PM
Quantum Frey
 
If it sucks I'll return it
 
@Jhoverit It's funny how confirmation bias works
 
I can also predict the number my calculator gives me half the time but it's a lot faster than I am, so 'prediction' isn't really the right word. :)
 
nvm
didn't even mean that to be dirty
 
@Luggage postdiction
 
9:23 PM
I need a trashcan
shit
 
not with a roomba
just toss trash anywhere
 
Just not at my house please
 
I'm going to put an AR-15 on my roomba and it'll double as a security system
The trigger will be rigged to pull randomly
 
it was nice knowing you
 
so you'll just have a bunch of holes in one corner
 
9:24 PM
Your neighbours will love you
 
Hey if I survive, I'm just boosting my evolution man
 
er..
 
lol that's not how it works
 
Fine jesus I'll go with the knife
I'll call him lil stabby
 
quick, someome predict what kendall will say about that
 
9:25 PM
Don't take that tone with Jesus!
 
@SterlingArcher I don't recall that verse in the bible
 
@SterlingArcher Don't forget to load it with smaller bullets to build up your immunity
 
Yeah so about that JS
 
@WillBraden 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.
 
@SterlingArcher I have one of these. amazon.com/Electrolux-EL2095A-Ergorapido-Brushroll-Handheld/dp/… handheld + upright combo
works great for hardwood (that's what we bought it for) and you get the bonus of a handheld
 
9:25 PM
JS sucks this is now the roomba chat
 
user1596138
Change the name u wont
 
wasn't the roomba built with js
 
3d print a mechanical roomba
 
3d print a spiritual roomba
 
mines not that brand, can't remember what make it is.
 
9:26 PM
And now I'm shopping for 3d printers
again
 
but it's basically that
 
room topic changed to Roombas and JavaScript: 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] [flowchart] [javascript] [nodejs]
 
I thought you had one, Ben?
 
oh yeah, if we're talking js, YIL NetworkingInformation API
 
I mean, gosh, I'm such a rebel
 
9:26 PM
@Luggage Imagine if spiritual printers were a thing
 
delete the message
 
@Luggage Not yet, getting one for christmas
 
@KevinB no I promised @MadaraUchiha I'd stop doing that :(
 
lol
 
user1596138
Since when are we
 
9:27 PM
a while now :D
 
@WillBraden FYI, you are welcome to ask a JS (or other) question. Don't wait for an invitation. :)
 
nopejs
 
@SterlingArcher Thanks for considering
 
popejs
 
ayo.js
 
9:28 PM
@MadaraUchiha only because I love you
 
❤️
 
user1596138
No PDA
 
👄
 
that had copy and paste before the iPhone did.
 
All it needs is a magic mirror
 
9:29 PM
After China's big "singles' day" online shopping binge, survivors share stories of the fake rubbish they bought, like these Jordans.
@SterlingArcher thicc
 
beautiful
 
haha
 
oh my god hahaha
 
I love that the oldest star on the sidebar is only 2h ago
 
9:31 PM
why the hell is it so hard to pick out a trashcan
Like do I want an automatic lid? Then I'll have to buy batteries
 
And I thought I was the only one
 
make sure its a connected smart trash can
 
Stainless steel? Gotta clean that..
 
user1596138
They have electronic lids lol
 
Yeah but they chew through batteries
 
user1596138
9:32 PM
@SterlingArcher Why do you have to clean that and nothing else lol
 
user1596138
Your decisions are difficult in a different way lol
 
You clean anything stainless steel
 
What about just the thing you step on? I mean, I can't think of any advantages of having an automated lid
 
user1596138
You clean any trash can
 
I hate the ones you have to step on top open.
 
9:33 PM
@Jhoverit tell that to the trashcan I puked in on saturday
 
Unless I can say "Alexa, open my trash can" and proceed to throw trash into it from many feet away
 
@Luggage I have one of those. I just lift the lid.
 
@SterlingArcher one of these homedepot.ca/en/home/…
lid opens when you open the door
 
user1596138
I have ones with lids that snap shut and seal. Lol
 
Too much touching
@rlemon too small unfortunately
 
9:33 PM
...
 
Jhoverit likes the touching
 
how?
 
I need to be able to shove a whole pizza box in it
 
user1596138
You should have it clean on the outside
 
Per his deleted message
 
9:34 PM
it's an apt. don't you have a trash chute ?
 
user1596138
So you should be fine with touching
 
you are supposed to recycle pizza boxes you fuck
 
'too much touching' was for jhawin manual snap lid
 
user1596138
I have to run my trash down to the dumpster in every apt I had
 
heya
 
9:34 PM
@Jhoverit the two I've lived in, one had a trash chute.
the other had a balcony within tossing distance from the bin
:D
 
i recycle like half of a pizza box. i thought you weren't* supposed to recycle the part that's greasy
 
Recycling is for poor people and hippies
I mean.. hippies are poor people so yeah poor people.
 
we're limited to 4 bags every two weeks now
if you don't recycle, you have to pay for extra bags (stickers to put on the bags)
 
i have a brainfart atm, what is the calculation to have the total number of different combinations given N items that can be arranged in any order?
 
user1596138
@SterlingArcher fr you would rather have the lid not close all the way and let air out and such than have to touch the button to open/close? :P
 
9:35 PM
we have no trash limits
 
and also allowing sollutions of smaller sizes than N
 
@Wietlol finite maths.
 
user1596138
I'd rather have one that seals than one that I don't have to touch to open
 
can pile it up outside the can as much as we want
 
@Jhoverit I'm actually pretty anal about taking out the trash if there's food in it
 
9:36 PM
@KevinB yea, they just started this year
 
jesus enter button
 
or drive half a mile up the road to the landfill and dump it ourselves
 
took like a month to get used too
 
user1596138
That's what I'm sayin tho. You're anal about the bacteria etc and you want to leave it unsealed wafting into the room all the time?
 
@rlemon what if I told you "N" is infinite?
 
user1596138
9:36 PM
:P
 
@Wietlol I'll call you a liar
 
Food has a shelf life of about half a day in my trash can, no matter how full the trash is
 
so get a smaller can dude
who wants a monstrosity in the corner when you can tuck it under the sink
 
still, what is the calculation?
 
once it passes the rim its not food no more, its trash
 
user1596138
9:38 PM
I don't put food in the trash
 
I need to program an automated drone with dusters to fly around my apartment and dust things
 
that would just blow the dust into the air
 
user1596138
If I do I jus take it down right then lol
 
@KevinB not if you reverse the blades dummy, it'll suck dust in and trap it
 
9:39 PM
@Wietlol factorio? I mean factorial?
 
@SterlingArcher they're called rotors, not dusters
 
god learn some physics kevin
 
user1596138
@SterlingArcher buy an incinerator
 
@Jhoverit now we're talkin!
 
@SterlingArcher drones are expensive and need charging. just open the windows and toss some bird seed on the floor
the flapping from the wings will dust your apt for you
LPT
 
9:40 PM
I mean, considering, the roomba and airoomba would be a great team. One flies around stirring up the dust, and cleaning the high surfaces, and the rest is roomba's up by the ground squad
airoomba is patent pending btw i got dibs
 
@Luggage i thought so too, but I came at a much higher number though
 
@rlemon LOL
 
in the case of N = 4, i came at 64 while factorio came at 24
 
@Loktar :D
I ordered them today
 
@Wietlol how do you get 64 ways of arranging 4 things?
 
9:41 PM
by allowing solutions of 1, 2 and 3 things
 
That would be the sum of factorials from 1 to N, right?
 
eh i can do better
 
65, if you include 0?
 
9:42 PM
That still doesn't get you to 64
 
@MadaraUchiha 64, 0 is not allowed
 
@KendallFrey Nintendo did it
 
@KendallFrey it doesnt?
 
wtf, windows calculator has no factorio button
2
 
24 for 4, 6 for 3, 2 for 2, and 1 for 1. 36
 
9:43 PM
@KendallFrey No, there are more ways than 2 to choose 2 items out of 4.
 
lol
 
oh right
yep
 
@Luggage even the extended?
 
even scientific and programmer, yes
 
crazy
 
user1596138
9:43 PM
It might have a factorial one tho
 
ohh there it is
 
@Luggage it does, but it just inserts red belts.
 
missed it. my bad
 
damn I've never checked the options on the win 8/10 calc
 
!!> f = n => n === 1 ? 1 : n * f(n-1); f(4)
 
9:44 PM
@MadaraUchiha 24
 
I just remember back in the day setting it to extended lol
 
@Loktar @Luggage Did you know it had mortgage calculator mode?
 
@Loktar then when you had serious maths to do
 
user1596138
There's a lot of settings now.
 
now I just open the console or type 'node'
bam, calculator
 
9:44 PM
@MadaraUchiha nope
 
user1596138
I like how the buttons cast light onto the nearby buttons in Calculator
 
man, I keep typing the complete wrong words :/
 
user1596138
Had never noticed that
 
user image
4
 
I just ask Cortana
I'm like Cortana do some math
just joking Cortana is a joke.
 
user1596138
9:45 PM
I guess the cursor is doing it
 
and I have it turned off always
@Luggage LOL
 
well, i guess i understand why I had a brainfart
 
@Wietlol burrito for lunch?
 
nah, just dont understanding the maths
 
Would you get brainfarts by just thinking about burritos?
 
9:47 PM
I wonder if I can hook voice commands up to the console.
"node do some maths" -> node -p "some maths"
 
@Loktar windows is a joke
 
@ShrekOverflow I guess over 95% of computer users missed that then
I thought the joke was "This is the year of Linux guys!"
:p
 
@Loktar That is the eternal joke! (You missed Desktop in that quote)
 
is it still that high? I thought mac took over a good portion (albeit not a majority)
 
@rlemon Mac is sitting at like 5% I think lol
 
9:49 PM
damn, less hipster college kids than I thought
:P
 
Its probably 10ish now
 
On steam... its 1.56%
 
^ On Steam
 
The usage share of operating systems is an estimate of the percentage of computing devices that run each operating system at any particular time. This also approximates to the market share of those operating systems. Differences arise between shipments of devices by operating system and their usage share due to users changing or upgrading operating systems on devices, and the differing usage patterns and working lifetimes of various devices. There are "three big personal computing platforms." Google claims over 2 billion users with Android while Microsoft has claimed over 1.4 billion users for...
 
9:50 PM
~6% on wikipedia
android is cleaning up tho
 
I have so many packages coming this week. Thank god I have my old place to ship them to lol
 
> by operating system, which includes smartphones, tablets, laptops and PCs together.
 
(for mobile)
 
Worldwide device shipments is crazy & scary iOS + macOS > Windows device shipments wat !
 
yeah mobile is whatever
 
9:51 PM
@Loktar keep scrolling down
 
android desktop os would be nice
 
These are all old stats
> 5.94% (macOS)
newest one all the way at the bottom
weird though that is really outdated otherwise
 
@Webster Chromebooks with play store support come pretty close
 
@Loktar I am not defending mac :P
 
yeah I'm not bashing it either
just pointing out the low usage
Windows > all on Desktop is all I'm really saying, just stating facts is all
 
9:53 PM
but windows is a joke
 
😋
 
@MadaraUchiha how many would it be if you arrange 16 things?
 
@Wietlol 3-4 fucktons.
 
> 0.32% Linux
lol on Steam
 
ah
 
9:54 PM
@Loktar that is SteamOS I am guessing
 
then I guess im optimizing a lot here
 
That huge influx of Chineese users, and other countries has really pushed other OSs down
@ShrekOverflow yeah SteamOS is a failure though
 
my algorithm says only 12 million are useful
 
and Steam Machines
 
just the factorial of 16 is about 10 orders of magnitude larger
 
9:55 PM
I never got on board with those, it seemed destined to fail since Valve seems to half ass a lot of stuff
 
@Loktar How does steam fare with microsofts lockout vision for future?
 
so I am not exactly sure which crowd of my friend would find this awesome, hence I'll try with you geeks, but look what I could not resist buying just now knityak.com/products/…
 
of which only 1764 are with all 16 values
 
@ShrekOverflow idk, I don't buy into that fear mongering though
 
are they going to let multiple vendors work in store ? or have a Windows.Stores.StoreProvider.StoreProviderImplementation
 
9:55 PM
Gabe Newell has been crying about Windows sforever
 
@MadaraUchiha i call lies
google says only 6
2 *10^13 vs 1.2 *10 ^ 7
 
It will be a great many years before Windows kills 32 bit applications
or anything non UWP
 
I think that would actually kill Windows tbh
 
I don't think they can truly kill them ever
 
9:56 PM
yeah I agree, no way could they
 
I wonder how Windows S
is faring
 
that seems dumb as well lol
 
@Wietlol Indeed
 
what was it $50 to get the full version?
 
a lot of old critical infrastructure, dams and bridges, uses oooold windows server stuff, so its never going to change
 
9:57 PM
just seemed like an arbitrary lock
 
oh man i shouldnt have had that coffee
 
@Loktar well they seem to have reconsidered
lol
 
now i dont feel good
 
wuss
so Amazon.ca got rid of default credit cards. now it just selects the last card used
Holly uses my amazon account. I've been ordering a bunch of shit on her card
ooops
 
9:58 PM
@Loktar but for context I wrote a driver, socket activated thing for windows and this was so many levels of hell.
 
@ShrekOverflow I haven't had to do that, I believe you though
I just am a super Windows fanboy as a user
 
I'll open source it at gitlab.com/_mathdotrandom/goph.me once I can test the entiety of the windows part
 
as a dev, meh whatever can use anything
LOL @rlemon
 

« first day (2593 days earlier)      last day (2349 days later) »