« first day (3385 days earlier)      last day (1789 days later) » 

17:02
jackson?
currently yes but i plan to migrate to kotlinx.serialization
but the main question is data classes having similar structures, they require alots of 'ifs' or 'whens' to know which one is what
Other option is entirely separate class of each object no matter how similar they are
good morning, ya'll
can you look at pastebin.com/nK3fUxkQ and suggest a good way of generating data classes for those?
o/ all
@ballBreaker next time wear sunglasses
17:13
|| poll "How often, in years, on average, do you switch places of employment?" "1 - 3" "3 - 5" "5-8" "10-15" "Never changed"
New Poll Created: How often, in years, on average, do you switch places of employment?
Choices: [0] 1 - 3 | [1] 3 - 5 | [2] 5-8 | [3] 10-15 | [4] Never changed
Invalid command! Did you mean: monster, faster, avner? Try help for a list of available commands..‍.‍.‍
Invalid command! Did you mean: 3, d, ^? Try help for a list of available commands..‍.‍.‍.‍.‍.‍.‍.‍
|| vote [2]
Could not find choice. Choice options are: [0] 1 - 3 | [1] 3 - 5 | [2] 5-8 | [3] 10-15 | [4] Never changed
17:13
ah
|| vote 0
Vote recorded.
weird situation with me tho. left my first job out of college at 11 months and haven't changed since
|| vote 2
Dave, how long have you been at your current job?
Could not find choice. Choice options are: [0] 1 - 3 | [1] 3 - 5 | [2] 5-8 | [3] 10-15 | [4] Never changed
17:15
||vote [0]
Vote recorded..‍.‍
idk something like 6-7 years now
|| vote [2]
Vote recorded..‍.‍.‍.‍.‍.‍
id have to check linkedin
17:16
I'm on job 3 in 5 years
lol
Employers can't handle me
too hot to handle
Dave ah, you like it there?
I'm 5% owner and my bosses are the CEO and COO whom I've known for 14 years, since freshman year @college
dave dave dave
so yeah I work with my friends it's great
i need you to do your woodoo stuff on my new profile pic
17:17
Dave and you are a dev?
yes I'm the lead Dev here
he's just part of the entourage actually
technically Director of Product
thats pretty damn good
director of product is just a fancy word for drug dealer
don't listen to him
17:18
I probably wouldn't be able to get away with being in here so much at other jobs
look at what happened to @AdamMc331
...probably explains why bb has had 3 jobs in 5 years
also in other news, someone gave me a +150 bounty on a question so now I have 3k rep
yay!
applauds
@JBis I quit the first, soft-quit the second, and here I am
by soft-quit I mean tapped out and forced a lay-off
oof
17:20
was the best outcome for me
Well that's good
yeah and I get to say that my boss called me insubordinate so that's kind of cool Iguess
also any React Developers looking to relocate to AZ? :D
@IvanMilisavljevic do you want me to do anything with the green?
nope
just the circle
and the face
if you can make me look beautiful and sexy
(so just the circle)
((already beautiful and sexy))
17:23
aww <3
@DaveS I have a friend who might lol
Idk if we have the capacity to do a Visa though
I could ask
how hot at the women in AZ
not temperature wise, because obviously boiling
google ASU girls
mmm true
I've heard stories
17:25
halloween is great because it's still like 70 degrees at night
hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
yeah halloween here is funny because it's usually ~0C but girls still go all out and wear basically nothing
@DaveS Holy
I"m waiting for my boss to leave before googlign that one
lol
damn
reminds me of my Uni
why do girls in american college always look older than in canadian college
this has confused me for a while
do you enter at a later age?
17:32
maybe because they wear more makeup?
look at that beaut
more 2nd year seniors ?
I figured maybe it was a drinking age thing but not sure how that makes sense
Maybe americans are dumb and fail more often so they're there longer? who knows
or maybe it's all the hormones in the meat
maybe the lack of affordable healthcare and healthy lunches at school ages us faster?
Maybe it's just my reality is distorted since most of what I know/seen WRT American schools is from TV
17:34
could be
and they always hire actors/actresses that are older than the part they're playing
yeah
is it bad if I just used an iterator for the first time
no I'm team for loop
I mean maybe not the first, but at least been some years
17:36
iterators are for things without indexes
like a linked list
If I think of usa, the first thing comes in mind is vastly spacious roads
yeah I have a map that's

<ClassA, Collection<Set<ClassB>>
had to use an itty on that last bit, or at least was easier
yeah
@Taseer Yeah some of the roads there are so nice
Canada has them too, but not as spacious as some of the USA ones
I love those interstates (?) that have the split roads
Word
17:38
with each direction totally split apart from eachother by quite a bit
PowerPoint
Clippy
Excel-lent
Love this
hey it's dave's backyard
17:39
that looks like the road to colorado
I think I've driven down that a few times
bahah
the single, empty road to colorado
well telluride
it's one of the major interstates if it's what I'm thinking
I would love to drive a motorbike all alone on that road
Yeah motorbike trip of western/southwestern US is on my bucket list
0
Q: Json Data Classes for Similarly structured data

asimI have similarly structured json objects like in this {"Error" : {"EnterRoom" : "RoomNotFound", "RoomId" : id}} {"Error" : {"EnterRoom" : "Locked", "RoomId" : id, "RoomName" : "name"}} {"Error" : {"EnterRoom" : "AlreadyInRoom", "RoomId" : id, "RoomName" : "name"}} {"Error" : {"EnterRoom" : "Ban...

17:42
@DaveS Booooo
lol
Any of you guys into electronics?
as in what? The study of electronics or the music?
Asim - You can use custon GSON deserialiser
17:44
@Graeme ✋
Study of electronics
For some reason my brain doesn't pick this stuff up easy
@Graeme but i will still have to do 'ifs'
it's not easy
I can't figure out voltage and ampage even
I got good grades in college but some of the hardest material
17:44
Like, resistors reduce ampage? I don't know :(
I took a bunch of electronics in engineering
Asim - Yup
Well, I would love to assemble various electronic parts to make up something, but don't want to deal with deep level knowledge
voltage is how wide the tube is, amps is how much is flowing through the tube, resistance is junk in the tube
And wattage is voltage * ampage?
17:45
@Graeme think of resistors as piece of very narrow pipe attached between huge pipes
POWAH
wattage is how much work the amps flowing through the tube can do
So a resistor would reduce the amps - because less power would flow through
it's directly related
yes Graeme, volts too because it's blocking
Ampage is like... the density of the water through the pipe?
oh
17:46
resistors are like a dam
Resistors reduce voltage?
ampage is the water
@Graeme then my current solution :deserialize to maps: is better
watts is how much energy the water makes
@Graeme yeah
17:47
Asim - depends how forward thinking you are
So resistors change the width of the pipe downstream from them?
yes
Gotcha, okay
So - if I have an LED
That like, uses some power
So ... how do I know how many LEDs I can have on the same circuit?
depends on if you run them serial or parallel
er
So I get the bit I dont understand is
If you have like -L-L-L-L-L-
Serial
basically parallel divides the current and serial subtracts the current
17:49
Why wouldn't the first light be bright and the last light be dim?
If you run them serially, does that mean the first LED has to deal with greater current?
because by the time the electricity gets to the last LED, it's only got a few amps left
yes Taseer
But... if we're talking water
the first farm can flood his lands with high pressure
The first one should get all the water and be bright, and the last one have almost no water, and be dull
17:50
How would you dissipate the extra current?
the last farm only has a small sttream left
But they all turn dull
don't forget about impedance
ah I see
@Taseer No, amps (current) gets divided equally
17:50
BB - If you make this harder for me I'm coming after you :P
let me think
asim is right
That's the bit about electricity I don't understand. Something "downstream" effects things up stream
it's not directly analogous to water
when run in series the entire circuit draws from the same amps
equally
So... its a bit like standing water rather than running water?
so they will all be the same brightness
yeah
17:52
... But then the pipes being smaller don't make sense
the analogy works for voltage etc
Haha - This is why I can't get it, I can't think of an analogy that works in my brain
but electricity isn't a physical thing you're talking about electron flows
you have to compartmentalize it
it's very different math than the kinetic physics we're used to
So don't try and make an analogy?
it's useful to explain the difference between amps/voltage/watts
but it kinda stops there
you need different analogies to explain other parts
17:53
So - I have 10 LED's that are 12v
electricity has a bit of inherent intelligence to it which makes analogies hard
you need 120v
probably a bit more
and once AC gets introduced to the equation then good luck
I use a 12v battery - they don't "take up" voltage, they take up amps?
... 120v would fry them wouldn't it?
no because you have 10 12V pipes but only 1 12V pipe feeding it
the LEDs subtract voltage from the circuit
17:54
Oh...
@Graeme Depends on if they are in parallel or series to each other
So if they're all connected to each other, they are in series.
yeah
If they are all connected to a "backbone" they are paralelle?
And if they are paralelle, you need a 12v input, with more ampage.
yes
17:55
@Graeme If they are in series, each will take exactly 12v, If they are in parallel, they will fry
If you have them in series you need the same ampage, but more voltage?
@Graeme yup
Okay, gotcha.
So. apparently the LED's I have can take basically any amount of ampage, as long as they get 12v
Does that sound right?
So if I run them in paralelle, on a 12v supply at 2amps I'm golden
they are at full brightness as long as they get 12v
They will all be as bright as they can get
17:57
as long as you have enough amps I believe so
Okay - they have a forward current of 20ma - which means as long as they have at least 20ma they will be good
So from a 12v, 2amp supply, I can run 1000 v12 LEDs
(Please say yes as it means I have an understanding)
yes but parallel circuits are difficult to run
As long as they are in paralelle of course
you need individual wires to each LED
Why difficult?
17:59
you'd need 1000 wires to run 1000 LEDs
That's fine, the LED's come with wires

« first day (3385 days earlier)      last day (1789 days later) »