« first day (2867 days earlier)      last day (2306 days later) » 

02:00
so I'm thinking of mounting this ebay.com/itm/…
on the top of a laptop with out a sceren
and then use synergy to control a mac through in linux or windows
@ShrekOverflow not really, not sure if it counts as CORS, but I'm trying to set two different cookies for 2 different domains, when my users log in
I wouldn't use MacOS if it wasn't required for work. And I am known as an Apple Fan.
@ShrekOverflow I thought you liked mac's
like you talk so highly of your iPHone
@William I like good technology and a useful computer. And want those devices to be functional.
what do you do at work with your mac
02:01
@ShrekOverflow user signs in to domain1.com/login, gets cookie 1, gets redirected to domain2.com/login, gets cookie2
Code, Take calls, the usual stuff.
why would you work buy macs?
they aren't exactly the cheapest option
Because they are easier to manage and reasonably secure
is like a style thing
easier to manage lol
yeah you definitely don't sound like a fanboy
02:03
if the IT guys are all comfortable on mac, then yea it is
@William I'd personally prefer Ubuntu w/ an AMD GPU
@William When you have a mac your business "looks" better than the competition :D
I get a unified OS for work, I just don't like it if it happens to me
Ubuntu is not feasible unless you are a developer
IMO
what?
02:03
@William Its perfectly fine if you are just using a web-browser and don't have an Nvidia GPU in your laptop (which is a very high number of people)
most people use web browser and a music player -- maybe media too
let me clarify ubuntu isn't exactly "easy" to use
all work fine on Ubuntu
well sure also they work fine on a Chromebook
@William for the utmost basic use, yea it is
02:04
Define "easy" ?
word is probably the best example of something that will forever keep me on mac/windows
I get to many emails
with them
libre works fine
What about G Suite?
i'm actually quite okay with programming on a mac
02:05
libre doesn't work fine considering they(microsoft) keep adding more features
i still haven't found a linux UI that i like
@david Me too
gnome for a DE is fine for me
the old ubuntu used to be fine but now it seems to be weird
not perfect, but not terrible
I prefer it to windows 10
02:05
^ our thoughts exactly
(for a desktop)
although I like windows 7 more than both
I prefer ubuntu except for all the missing softawer
but that's less and less an option
I am still on W7 lol
my gaming pc is (the one I'm on now)
02:06
The thing that I hate about the Mac is unless its explicitly supported by Apple go dive into manpages, install kexts and weep softly when you still can't figure it out / tweak it / fix it.
but I know when I upgrade hardware I'll want to upgrade OS
i bought windows 7 ultimate edition non OEM version
and i will keep on using it >:E
I like Linux but I don't like Linux DE's.
get my several hundred dollars worth out it
And the driver support is lackluster
02:07
@oboecat you have an Nvidia card.
I think it works better on a desktop than a laptop
@ShrekOverflow hmm yeah I'm not sure if its better or worse then linux on that point
linux I'm you should be able to figure it out although I'm not sure I would want to or could necessarily
Screw the Nvidia card, I want better trackpad drivers. :(
@ShrekOverflow is amd driver support way better?
@William Definitely worse, because to this day most apps aren't sandboxed and use Carbon.
@david They have OSS Drivers atleast :D
02:08
ah
And unlike Nvidia they didn't invent a completely different way to run Wayland just cause :D
yeahhhh i'm starting to think i should have gotten an amd gfx card
i like the idea of freesync way more than gsync
but i have my 1070 now... and i will use it for a few years at least
My monitor supports freesync, although not sure if its applicable on the mbp
(and that folks is what I hate about Apple)
@oboecat my laptop is the best functioning linux pc I've ever had
granted it's system76
My next card is definitely from AMD, unless Nvidia makes Wayland work nicely.
02:10
oh you'll love this, my mac only has those usbc connectors. and only 2. i have a dongle that puts out another usbc for charging, an hdmi that only supports 30fps and a regular usb. i have a second dongle which has displayport that supports 60fps
2000 series is hyped
if it delivers should be good
if i plug in the 60fps one then i get a decent refresh rate, but my wifi stops working
so i'm stuck at 30fps
@david Mine too, I have a single dock from Belkin that powers everything including ethernet :)
@david and I don't have that issue with my model for some reason :S
@rlemon Do you like the trackpad?
i think it's cos we have shit wifi here
02:11
I want to understand my macosphere because of ios apps
ideally no, but I use it
new office and it's still getting sorted
because I'm too lazy to carry a mouse
@david No that is a known issue, try this for me (try switching b/w 2.4 and 5Ghz) and see if it works on one or the other.
ahah, these only support 2.4 :D
02:13
If neither works, try connecting a low power usb device on that end and check if that works
we're getting in new wifi points soon
Yay, my graphics card does support freesync.
on what end?
just the port?
@david yes
it might be either the power draw
i'm not sure i can do that...
02:14
or some physical defect
oh ok 😃
yeah
because mine is a single cable setup and I can't love this more
i don't have very many usbc things to plug in unfortunately
@david Sorry :(
me neither but this dock has been the best thing ever
its a 160 W dock, so charges my macbook + all usb devices that i have too 😃
@rlemon Same here, but on Windows the trackpad works much better. Also the scaling and the design are more consistent, it is just a much more polished experience. But I hate using Windows for anything productive.
02:17
wow $350
but i guess it's powered
or is it?
@david Yes, and you can get it for $280
@oboecat I notice no difference in the track pad, at all.
and for scaling? I have no idea what you're on about
Which driver are you using?
i really like that it's a seperate dock, not a dongle
if i knock cables my monitor flickers :S
@rlemon spoiler her windows trackpad has precision drivers.
@david LOL
02:18
which do what?
it's a trackpad
I move my fingers, everything follows
I'm not playing a fps with it
never a complaint, other than it being a trackpad
@rlemon usually they are more consistent because Windows is in control. Btw, what linux drivers are you using? (it might just be a bad trackpad driver for her)
no clue, I'd have to boot my laptop
I'm on my gaming pc
Ah windows 7, something that i never used much :(
yup
and this is a desktop
laptop runs gnome-ubuntu
@rlemon Wait is that system 76?
02:21
no, I have many pcs
@rlemon I mean UI/font scaling. I find the default too small, so I tried to change the scaling settings but it doesn't work for all apps consistently. Especially Chrome, which is very stubborn.
@oboecat ohh yea, that's stupid
the font scaling isn't intuitive
when you want to adjust it
GTK 4.0 will fix it! ...in 2025 </jk>
gnome-tweak-tool does a nice job tho
most things I can customize
I tried fixing scaling on linux, the only things i couldn't make it to work was Java apps but fuck java apps anyway.
You do need a ton of Env variables for it to work though for a broader variety of apps.
02:22
I thought I was okay with unity for a while until I switched to modern gnome
it works much better
Gnome is getting really polished 😃
even the new ubuntu with 'gnome' is crap
I am excited about 3.30
02:23
I did not like Unity at all
they still have the stupid side bar
@oboecat my argument for unity was that I mostly ignored it, and it mostly let me
I live in the console, the editor, and the browser
the DE really shouldn't concern me
@Emilio The cookie is not being accepted because the browser is thinking something fishy is going on (CORS), ideally when people login to multiple websites they use some type of protocol to pass the session from one to the other.
@ShrekOverflow alright, even though I don't want to apply cookie2 to domain1?
02:26
@rlemon That's the reason I don't mind gnome. But the issue of scaling remains. I don't really notice it as much until I boot to windows and feel my eyeballs relax
@Emilio The cookie won't be set for domain1, it'll only set it for domain2 if it comes from domain2. You'll need to allow CORS for this to work, but it'll break in future browsers anyway.
@ShrekOverflow I'm not sure you understand what I meant :D User logs in to domain1.com/login, user receives cookie1, user is redirected to domain2.com/login, user receives cookie2 and 200 ok, page refreshes on domain1.com
cookie1 comes from domain1, and cookie2 comes from domain2
you got me?
but still browser says it's a CORS violation, not sure why
I want to set cookie1 on domain1 only, and cookie2 on domain2 only
Not sure if I'm clear enough
@oboecat yea the thing is I don't have a problem
I know the scaling issue you're talking about, saw it in Ubuntu
but if you actually outright replace the DE (or use a variant) it isn't there
there are other issues, don't get me wrong
but scaling I haven't had an issue with (hence my initial "wut?") in a while
I'll need to look into it
atm I'm using gnome-ubuntu
it's not the same as ubuntu with gnome (official)
it's lacking in current updates, but has proper gnome
02:38
with linux you can swap out the UIs right? that's what gnome is?
DE* but yes
i should go through that some time
i believe arch linux is good as like a clean slate
i'm not sure if it even comes with a DE
I've never given arch a solid go
but it's gaining popularity
i feel like it would be really rewarding
but a right pain in the arse while you're doing it
I've mostly stuck with RHEL flavours or debian ones
02:40
@rlemon strongly recommend trying out Solus some time, it has good potential 😀 (or just budgie as a de)
we were using openSUSE for work for a while
I hate suse
I'll check out budgie
I'm happy with ubuntu right now
Arch was the first distro I actually got to work on my Optimus laptop after trying to install like 5 other distros. I liked it but the AUR freaked me out, so I switched to Ubuntu. :P
the structure is familiar with me
first distro I ever used was Red Hat
(with gnome coincidentally)
Puppy Linux FTW
got it on a few floppies in the back of a programming book
02:46
@rlemon heh I got puppy on a programming book
it was 300 mb, on a 40GB hard disk I thought what could go wrong
I wish I knew programming back then
ohh man I learned 'programming' at a very young age
I was like 8, using qbasic
thought I was a god
I think it stunted me actually, I neglected formal education because I thought I was good. little did I know I knew nothing
fucking around with gorillas and nibbles... that's what got me hooked
my parents sent me to a proper qbasic course when i was about 10
when i learned about inkey$ my mind got blown apart
until then everything i'd made needed you to hit enter after each command :D
I was a huge trekkie, and my uncle who is only like 10 years my elder had just gotten into programming
but moved to BC
so taught me how to make a calculator in qbasic over the phone
I was hooked.
but just made script kiddie shit until like 10 years ago
there is a 64 bit compiler out there for qbasic now... i want to go back and make all my old shit run on new computers
i can share my amazing games with you all
@ShrekOverflow I'll have to go soon, do you have any more clue for me?
02:53
@david my most successful qbasic program was in HS
my CE teacher made us program out robots in qbaisc for 9/10
@Emilio If you are trying to setup SSO I'd recommend using a provider like Auth0, Disclosure: I work for the company.
@ShrekOverflow look cool :)
@rlemon in highschool i was that kid that sat in the library making qbasic games while awkwardly ignoring the kids watching over my shoulder :p
@ShrekOverflow but do you think what I'm doing is crazy, or it can work somehow?
it was so much easier making shit back then when you weren't constantly aware of how wrong everything you're doing is
and second guessing your architectural decisions
02:55
I was well rounded. played sports, did chess club, was in drama, did computer science and eng.
couldn't decide
@Emilio I wouldn't recommend setting up cookies in the single auth request, there are several things that can go wrong in that case + you'll be maintaining both codes merged. Ideally you'd broker the session from domain one to domain two using something like OAuth 2.0 where one is established as an identity provider. Or you could use a provider like us where we become the identity server and broker identity to both apps.
then got a job in e-learning in grade 12 as a SQA
almost wish I didn't
didn't goto uni because of it, ended up working in sales after the recession
If the two domains are different browsers will treat the cookies as 3rd party cookies, which are disabled on a many browsers out of the box and safari is going to be even worse soon.
wasn't until like 9-10 years ago before I took programming seriously again
@david I was bullied by almost everyone because I was a nerd and geek, and I was making games on well Scratch 😛
02:57
@ShrekOverflow alright thanks
@ShrekOverflow I was (admittingly) lucky. I was good at sports and had a popular sibling
@rlemon that sounds rough, but 9~10 years is about how long i've been doing javascript for
Funny the age difference my first language was JavaScript
@ShrekOverflow that sucks... kids can be pretty mean
I can say I''ve been doing JS since 1998
02:59
but now we have the sweet jobs and monies
but honestly, I've only been serious about it since like 2012
basic it what the calculators run right?
texas instruments ones?
i'm not actually sure...
Yeah l
asm
probably
03:00
asm doesn't stand for assembly does it
there is no reason to use a higher level language on embedded cpus
@William it does
no it's basic then I'm sure
basic is high level
i started programming in JavaScript and then basic on the schools computer
it almost for sure isn't what they use
03:02
> Programming TI-84 Plus (Silver Edition) for Beginners. the author: This instructable shows you how to use the prgm button on the Texas Instruments 84 Plus and Texas Instruments 84 Plus Silver Edition. The programs are in BASIC program language.
I started with basic, but have been involved in embedded systems for a while
TI is basic
not the instruction set the developers use to make the calculator
it's what you feed it
I'll get a emulator picture to show you
we would pgrogema games on it
I think we're talking about different things
keep in mind this was like 8 years ago
the micro controller in it is programmed in asm
03:03
Sure but basic is what we made our games in
sure
but that isn't what I'm talking about
Oh sorry on phone probably missed a message
nahh, I think just a misunderstanding
5 mins ago, by William
basic it what the calculators run right?
I interpreted this differently than you meant it
Oh i see you meant high level meaning it couldn't program a calculator
yeah that makes sense
03:16
I missed this statement on my phone
14 mins ago, by rlemon
not the instruction set the developers use to make the calculator
back on my laptop so everything is much better
Hello sir @William
<input type="checkbox" click="checkMe(checkboxvalue)" />
I have this sample code
should be
function checkMe(checkBoxValueOfTrueOrFalse){ ...}
<input type="checkbox" onclick="checkMe()" />
I think
How to get the value
03:19
but maybe click works also seems off to me
but how can I pass the checkbox value of true or false to my javascript function?
@jsonGPPD
<input type="checkbox" click="checkMe(this)" />
and then in your function do this.value I think
I am not sure what the key is but essentially the this is the trick
Oh let me try sir
inline listeners are so 2001
It doesn't work sir
03:25
@rlemon (:
inline listeners though are dumb in the sense that if you want to script/automate the page it is really simple
@jsonGPPD
<input type="checkbox" click="checkMe(this.value)" />
I also get true value sir
I put an alert inside my checkMe but the value is always true
I need to go to bed
I reccomend posting complete examples
so people can understand better where the issue is
Oh okay sir I understand thank you sir gn
include the doctype even I always do
@jsonGPPD
<!doctype html><input type="checkbox" onclick="alert(this.checked)" />
make sure to have the doctype
it never really hurts
told you, you need onclick not click
I understand sir. But my html is inside my javascript file
facepalm at the other code not yours lemon, good code.
@jsonGPPD What do you think will happen when you execute that code?
@jsonGPPD you are looking for .checked .value literally means its value which for checked elements by default is "on" iirc.
also you want onClick not click
@rlemon so ... the horse mask
03:47
is there a way to have "infinite" css grid columns
meaning if i have 5 divs/inputs/textareas they will be displayed LTR along a single row?
and if i have 6 or 2 or 10 it will do so as well
@AlexBollbach display: inline;
you don't need grid for that
now if you want them to be equal spaced and not what
then.. then my friend, I recommend using flexbox
however there is no way to make an infinite horizontally scrolling form
(iirc uness you want to nowrap forever)
hmm the div's reflow to new lines. i guess bc they are block. so i have to override their display to inline to?
04:02
@david Btw I just connected ethernet to my dock, if htat is an option I'd recommend that 😃
It zeroed the extremely crowded 2.4G packet loss
that would be so nice
i do have a thing connecting me to the tracks up by the ceiling
why is it that adding overflow:hidden to an input element reduces the input element's width to fit its parent?
i would have expected a clipping behavior as that is what i'm familiar with, but this actually gets the drawn content of the input to redraw properly in the parent div's bounds..
 
2 hours later…
06:20
hi. would anyone here happen to know something about the dayTimeDuration data type? (PS: its not js related, but something to represent the days & time. Used for date calculation purposes)
06:38
hmm. Perhaps it is better to elaborate on that a bit
06:49
I got this off google search (as what people also search for): xs:daytimeduration('p1d')
the stuff inside quotes...I don't understand that format...
more examples of that format here: xsltfunctions.com/xsl/functx_daytimeduration.html
I am not familiar with XQuery but they have their own notation it seems. Is there no documentation of these notation?
on first sight, after reading the page
P1DT6H -> P is to indicate date (so #D is # of days) and T is to indicate time so #H = # hours
then PT5M is 5 minutes ( P + T5M -> 0 + 5M = 5 minutes)
same for P1DT3M5.6S which is 1 day 3 minutes and 5.6 seconds
I think that those P or T is used to avoid the confusion of using of M as either month or minute
P5MT2M is then 5 months 2 minutes
07:24
https://codeburst.io/redux-devtools-for-dummies-74566c597d7

This tutorial makes mention of a tab ´test´ and a slider in your state tree, however I don't see any of these. Anyone else has this?
I'm using the official Redux Devtools Chrome plugin
07:34
@ShrekOverflow I've heard great things about docking
I got my dock yesterday @ work. Really handy
Plug everything into it, one extra charger. Unplug laptop and take it home. Easier to cable manage too :D
@towc oi
you doing js13k this year?
I got @code working in the browser! This is not only Monaco, this is VSCode itself directly running in the browser with node shims connected to the APIs of CodeSandbox. This means that we can get Grid View, VSCode Extension support, breadcrumbs + more! I'm so excited by this! https://t.co/RhQcJEduD4
3
crazy bastard
@BenFortune Holy shit
@KamilSolecki He's still suspended.
07:49
That is crazy
@Maartenw That article is a yea+ old
It's very possible that the Redux DevTools plugin had updated since
@MadaraUchiha yea, he just told me. I wasnt around for like a week or two
@KamilSolecki Welcome back!
@BenFortune that is putting an electron app back into the browser?
._.
07:55
Uh, pretty much
@BenFortune To all people who claim that proper abstractions and well-thought out structure is overrated (yes, those exist). The only reason this is possible is because their code is structured well (he literally abstracted away Node to do this)
I think that he only wrote an adapter interface
that the api calls occurs to the browser instead of node + some hacks for native functions
is there a means to have an universally URL to get the latest ecma standard page?

« first day (2867 days earlier)      last day (2306 days later) »