« first day (2671 days earlier)      last day (2502 days later) » 

22:01
And there's nothing in the console at all?
nothing at all
which makes me think its server side thats causing it
you're looking in the browser console right? not the node console?
did you check the frames of the websocket connection?
I have 3 different types of lozenges in my mouth
node for the server and browser for the client
i looked in the network tab but i didnt understand it
it’s helping
I think
22:02
but i know the client is connected on the server
It should look something like this: Can you see how the chat messages are appearing in the frames? i.sstatic.net/2Qr1N.png
user1596138
@RachelDockter You don't have any idea what you're doing with what?
user1596138
Everything??
@Vap0r What? You were putting towc in mindjail for no reason when other ROs were around. That's why I removed your access. If @ssube wanted town in 'mindjail' he can do it himself. But it's just a temporary thing. Someone will flip it back shortly, i'm sure. OR I will after I while.
user1596138
Instead of keyboard mashing I would just keep reading the docs/examples until you know exactly what you're doing
22:04
@david i go on the WS tab and theres 1 thing
@Jhoverit no i dont know what im doing with the network tab
the node js code looks right idk whats wrong
Your story of being told to !!ban towc from Cap when he entered the room didn't hold water.
the docs will just tell me to do socket.emit
user1596138
THe network tab is in step 1 of web dev lol
user1596138
Step 1: Learn to debug
@Luggage the reason was what I stated previously, which multiple other ROs found offensive.
@RachelDockter and when you click on it is there anything in the frames?
thanks for this
I fail to see a relationship between those things.
maybe add a setInterval to the server emit so it keeps spamming hi over and over
yeh a whole list of things
user1596138
22:06
Use interactive mode so you can emit whatever, whenever
it's kind of a moot point since a bot ban won't stop towc anyway
@Luggage I was told that !!ban was a feature meant as a community feature to ban unruly users when moderators or ROs were unavailable to intervene, or as a "softer" ban so as to not get either of those groups involved
ban from CAP
when abusing cap
not just saying thigns you don't like
im using notepad++ idk if theres an interactive mode in here
Saying he stalked somebody I'm sure is against some type of policy
user1596138
22:07
@RachelDockter I meant where you run Node in the terminal
And yeah you're right that doesn't sit well with me
Wait, he wasn't actually using cap?
user1596138
But I would suggest skipping that part lol
@Vap0r totally agree there, but a cap ban won't help
I stalk vap0r’s mom
22:08
@david no, which is the confusion
like luggage said, it only stops you from abusing the bot, not our sensibilities
@ssube yeah I didn't realize that until I was mindjailed today and thought about it
or the girl next door in his case
wihch is why you were mindjailed. again
@Luggage ah, that makes this a little bit amusing
22:08
you keep forgetting how the world works
does it tho?
@Luggage that was unnecessary
Just how cap functions work
But thanks
No confusion now
!!unban vap0r
I vote we make Vap0r an RO
@Luggage vap0r freed from mindjail!
22:09
@ndugger I'm not here enough
@Vap0r shut up
yea, that's the reason
@Luggage where are your snide remarks coming from?
my keyboard
fingers
22:10
He hates memers
ohhi
and jokes
@Luggage I don't think I ever treated you poorly or did anything specifically to earn your ire
user1596138
!!hate Vap0r
@Jhoverit That didn't make much sense. Use the !!/help command to learn more.
user1596138
22:10
Slowwwww
He dated a memer once, and she left him for a cashier at Target
@ndugger wow the double whammy
!!> 0.2 + 0.2 that's ${0.2 + 0.2} - 0.1 that's ${0.2 + 0.2 - 0.1} quick maths
@david "0.2 + 0.2 that's 0.4 - 0.1 that's 0.30000000000000004 quick maths"
that looks so messed up
the missing ` due to code formatting
what's the verb for assigning a status to something (not social)?
designate?
classify?
classify or a synonym seems right
categorize, label, etc
label is good.
Possibly apply?
apply a status?
depends on what kind of status
22:19
Labelize
eh yeah any of those depending on the context
are we talking in Jira or as a combat medic?
X can have either status A, B, or C. It will start with A and eventually get B, and finally C. I'm looking for the verb that makes X go from one to the other
so the status is dynamic
so I don't think classify/categorize/label will work in this case
that seems like a state (although status isn't far off)
statusify
22:20
the "go from" would be a transition, state change, trigger... idk
transition?
^ I like that
it's about bar orders again. They can be awaiting confirmation, denied, delivered, or being fetched
> bar orders
?
you could also go for 'advance'
22:20
Like drinking bar?
so it advances from A to B
@david it's not always A→B
if it gets denied, it never gets delivered
so there's a tree
@towc it would still move or advance to that status
Even if they aren't sequential
@Vap0r I mentioned I was making a web thing about this earlier. Fairly useless context
Basically the context is useful if the item is physical or if it's a service related item, or a virtual item.
22:22
"transition"
status and transition are probably my favorites
@Luggage not clear that it applies to status
it's a word used in finite state machines, which this sounds like
if you want painfully "clear," state and state change
^ "painfully"
22:23
^ very
@ssube but they're not verbs
Reducer
@towc make a state change
performs a state change
I google image searched 'transitioning' with the intention of posting a spicy transgender meme, but apparently it's a term used way more when talking about curly black hair or something
@david pubes?
22:24
"triage"
no, that's more priority, not status
@ndugger Maybe, but i'm not sure why they'd put them on their head
I wonder how many default themes can we plunder: A case study fman.io
my current action names look like this: "get order" (customer), "cancel order" (customer), "<status change> order" (me), "update db item" (me) ...
@Jhoverit Dude, give us some credit
these are literally passed as an action property in a JSON api
22:25
modify? change? process?
@Zirak thanks for reminding me to get a better explorer
I guess "change order status" works though
huh, funny... guess context did help
PATCH {"status": 3} and an enum
@david one dude in jackass glued a beard made out of pubes to his face
22:26
^ unwittingly LMAO
I'm trying an experiment in which all the user has is a POST /api endpoint, and everything is handled with js/json
I think it would make for a possibly more elegant api
you mean graphql
maybe harder to read in the devtools, sure
change to xml and you just re-invented web services from the early 2000s
That already exists as graphql
22:27
or maybe that hateoas thing, I was never sure how it worked
@ssube in a way, I guess
@Luggage lol
but also soap with xml
rather than reinvent the wheel and end up with a square, why not just... use graphql?
@ndugger no swear words
22:28
anything immediately wrong with this approach?
the complexity
coolness
@ssube I don't have an answer to that
@towc not if it's consistent
Just let the client send sql
22:29
I mostly didn't think about it
it's pretty cool, really easy to set up
you can pretty much just plug it into your existing ORM-equiv
well, I guess by the end I'll really appreaciate graphql
not really, you won't know anything about it
use it at least once before you write your own
wait, I'm confused
I don't see how this can be done in sql actually
anything can be done in sql if you're willing to cross join :(
22:31
I'm not just fetching stuff from a database
graphql is just an API, like REST
actually, that's trivial, because the db is really small and loaded directly into a variable in node, and it's really easy to query as it is... because javascript
Adios
if it has data in it, it's a database
it cares not if it's a database or what
22:31
If you’re talking about my comment, it was a joke
sorry, caps lock still on from writing comments
it might be a map in-memory, still a data base
Im now thinking, can we destruct on return in array.map
say that inside the iteration we are about to return an array of two elements
@ssube ok, I'm probably heavily misjudging what graphql does
but we'd rather push out 2 entries
22:33
I'll read up on it a bit more
it allows you to get more than one record, or type of record, at a time
you can ask for the fields you care about and the children you need
is there any way to take advantage of array.map to do so?
on the backend, it has a schema, knows about types of objects, and how to save/load them
@ssube yeah, I really don't need that
it's what you were describing... but ok
22:34
@KamilSolecki no, but you can just .reduce it with .concat after
yeah I guess
I was thinking if there maybe is a cool trick to it
my DB looks like this, if you're willing to just copy-paste it in the devtools to explore it:
or make a map that allows that, which is a valid form of a map
like in hadoop
actually SO chat doesn't allow me to send it
@KamilSolecki ohh.. generator
22:36
I want to have a cig but my throat hurts too much
Ew ugly
These boots are fucking dope
We have different taste in too much
They look like cycling shoes
22:37
How are we even friends?
That's not a bad thing! I also think they look dope
I guess memes are powerful enough to bridge any divide
awkward, but heh:
They strap like my snowboard boots they’re so cool
orders is also just an array of very flat items, containing basic info
22:38
@ndugger Are we friends, or was that directed at someone else? (ಥ﹏ಥ)
@monners i was talking to Jordan, pleeeeeeeb
Am I not pretty enough?
all I need to query the db for is to get a list of orders for myself (I can literally log the orders array as json, and read that), and then figure out if I can provide the client with the right amount of drinks from certain locations (fridge or out of fridge)
I'd think graphql would kinda get in the way, unless I'm missing something
@monners takes a drink, "You'll do."
@Luggage That's literally how my first job interview for a bar position went.
22:40
other then programming anyone have a job that they like
@William I'm a professional homeless guy
I’m a cashier at Target
I put effort and passion into it. I love it
@towc and how does it pay
@ndugger yeah I would prefer chick fil a get sundays off
@William I don't pay rent
22:41
I worked at a skate shop teaching kids to rollerblade. Was fun
If I have a nginx server running on port 80 and I want to have a little node script which does handle some fileupload stuff, I need to proxy_pass some location on an internal port, right?
hence.. a reverse proxy
@monners sounds like you new the owner or something. Sounds almost to much fun.
rollerblading is easay
@jAndy yes
@William knew*
@William Didn't know the owner, but I used to be a figure skater, which is kinda rare in Australia, so was a pretty good position
22:42
@William too*
@Luggage I have absolutely no idea how to approach this with generators, but I'm going to try until I succeed.
I can mark English teacher off the list
Geez, will, you’re bad at spelling
@KamilSolecki can you show me an existing map function you are using?
we will be your english teacher
22:43
@ssube so I have to target like <domain>/locationstring/ for the xhr request object, where locationstring matches the location section in nginx config?
I just want to confirm myself :P
@Luggage there is only one in my head though. Also please don't ping me with a solution, I want to have some fun :P
@jAndy you could also use a subdomain and set the server_name to that
depends on how you set up nginx, subdomains vs paths and how you match paths
subdomains are nicer for many reasons but you may lose cookies
also I'm wondering, how save or "good" is it, to upload like a few meg's via websockets in binary?
22:44
via websockets?
in comparison to standard xhr
> in binary
an interesting choice
bandwidth is bandwidth, uploading costs more memory than anything
you have any other method?
22:45
I guess socket.io translates into BASE64?
the server has to keep the whole upload in memory until it finishes (usually)
since it offers a "binary" stream too
it is still binary
sockets can send binary data, not sure about socket.io
it could stream to a file, perhaps
but yea, and way to move data is valid
22:46
what do you think about that?
any reason I shouldn't go for that
doesn't html5 have apis for uploading and getting progress, etc?
I'm not sure, but I thought so
yep, xhr 2.0 does have a progress event
why do you want to upload over a socket?
the file api, specifically
sockets are meant for messaging and smaller payloads, mostly
22:47
I love reading about religion
> Judaism no longer believes it has the authority to implement death penalties.
@ssube I have an open and configured ws server anyways, I'm just thinking about it before I create the reverse proxy just for file uploads
and if its viable via ws, why shouldn't I
same reason you can run an email server but under no realistic circumstances should you :)
I'm not finding any immediate reason why doing a file upload over websockets would be any worse than a post
how can a religion believe something
it isn't sentient.
@KevinB it is if you believe it is
22:48
@ssube I do run postfix/dovecot on my own with mailing list and allll the requirements on DNS entries and protocols :P
I just like the feeling to have anything under control
cc @KendallFrey
I don’t understand why people let their religion change. If it changes, it’s not the same religion anymore, like how mormons used to hate black people
@ndugger ahh, the paradox of 'changing' an unchanging divide word
22:50
var returnArray = {};
wtf
lol
that's not an array
var numberFive = 3;
@rlemon That's like me and DiRT Rally
0
A: serialize() form showing internal server error

Barmarserialize() returns a URL-encoded string. If you really need JSON, you'll need to create the object by hand and call JSON.stringify(). var formData = JSON.stringify({ username: $("#loginForm input[name=username]").val(), password: $("#loginForm input[name=password]").val() }); If the s...

22:51
Me: I'll take every corner carefully and definitely not crash: Also me: i.ytimg.com/vi/r85AjBiL5Vk/hqdefault.jpg
can confirm
check the speedo, cool 5mph should be fine, OH SHIT TREE CROWD BARN
never gonna ride with you
Who checks their speed
it's all about which gear
and I always miss when he says "caution"
that's the main problem
does Rally have proper gears?
maybe you should pay more attention while driving kendall
22:52
I thought DIRT was one of the bad serieses when it came to that
"4 right caution" is like "2 right" and you'd better get it right
it's been a while since I played them, between the bugs and "balance"
@ssube What do you mean by proper gears?
1,2,3,4,5,6
options other than automatic + autoaim
22:53
autoaim?
unnecessary helpers
lane keep assist?
well, "standard" xhr upload/progress does not support resuming broken uploads does it?
I always race with paddle shift
there was one game that, even with assists off, still helped you out and it was awful
22:54
I'm sure you can easily implement that on ws/streaming Blobs
there are also quite a few that only have automatic
I have a rally-style shifter but I use it for the handbrake
my racing wheel is too small to paddle shift
What data type is used in JavaScript to represent decimals?
I need something for values of money
@ssube How is that even possible?
22:55
@RonaldMunodawafa Number
@RonaldMunodawafa Use integers of cents
it's tiny, like 70% the size of my car wheel, and to hit the paddles I would have to rotate my hands forward
plus the paddles are weirdly shaped and placed
Mine is also small, and doesn't even have paddles
but do they look cool?
just buttons on the back
22:56
@ndugger Number implements IEEE 754, doesn't it?
I'm used to paddle shift, both fixed to the wheel and on the column, but just can't reach these
I have paddle shifters and a sports mode in my honda fit
@KendallFrey There's only one numerical type in JavaScript
I never use it though
not that it matters, the shifter is way more fun
22:57
@RonaldMunodawafa Yes, correct
@ssube I'd have to give up the handbrake though
I'd love to have a handbrake
I do use the lever for ETS, because paddle shifting a semi is just all kinds of wrong
the stand I have can support a chair and handbrake, but that's a bit much
I only use my hand brake when parking on hills
I don't have a 'hand brake'
I have a button :(
22:58
My real car has a pedal
what good is a freaking button.
my car's hand brake does weird things when you pull it moving
I like pedals for non-sports cars
can't do doughnuts
that's the point of the button, I think
22:59
handbrake for any car that isn't AWD
make people use it as a parking brake vs ebrake
can't do donuts with the handbrake anyway
not with that attitude
it is a parking brake
the hand brake, you for sure can. the lock in parking pedal type brake... probably much harder

« first day (2671 days earlier)      last day (2502 days later) »