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

6:00 PM
ok, depends on the use case
for say christmas lights, that's not very feasible
 
I make one loop from the battery, and every LED connects to that loop, not to each other
 
easier to do higher voltage and run in series
 
That's what Parallel means in this situation right?
I'm going to run variable resistance on each LED so i can create patterns - I can only do that in a parallel circuit
 
I think that might work
you should try it
 
Aka, I want to dim one, not the others
 
6:01 PM
It's been a long time since I took the class
 
For some reason there are no electronic component stores near me
 
adafruit.com
 
I've got some nanos and a MEGA 256 (?)
So I have some stuff
I think I just needed to talk it through, you guys have helped a huge bunch - thanks
Oh!!! wait
Important question
How do I create a 12v power supply. Can I just run a bunch of double AA batteries together in series?
 
each battery in the series adds to the voltage
so get batteries that add up to 12v
and run them in series
alkaline AA produces 1.5 volts
 
check this @Graeme
I made this spot welder, its only 1.4v but it can melt metal
 
6:05 PM
Looks dangerous!
 
also Graeme you can buy 12v batteries
 
@Graeme its super safe on the output side
 
12v batteries on google are giving me car batteries :P
That seems excessive for twinkly lights :D
 
So those are 60ma... so one would power 3 LEDs at full brightness?
 
6:07 PM
they'd power 3 LEDs for 1 hour
 
Oh, is that what that means
 
milliamp hours
 
If a battery is 60mah, it can run 60ma for an hour
 
yes
 
Interesting
 
6:08 PM
@Graeme buy 4 18650 lithium batteries and connect them in series
 
I've learned more from you two in 10 minutes than from days reading books
 
:D
 
If I connected 8 AA batteries it would would perfect right?
 
Yes
 
How would I do that...?
Like... I don't want to solder a battery
 
brb, lunch - but thank you very much for your help so far. You're wonderful people.
 
With one of these
 
But how do I make one myself
 
Ehh... Soldering I guess.
 
@Graeme they are hard to solder, either buy what mauker suggested or spot weld them, thats what i do
 
6:12 PM
o/
 
18650's are better compared to small 1.5v aa's
 
@DaveS It's true :sob:
OkCupid killed my activity in this chat real hard.
but on the flip side, I think it's because I am finally working on a product that really excites me. I also don't have 15 minutes gradle builds anymore LOL
 
Tim
@DaveS yea np bro have fun closing those questions
 
@AdamMc331 How long does it take?
 
@Tim I still probably won't do it unless I accidentally come across one
 
6:16 PM
why do I feel like my questions get ignored on stackoverflow
 
because stackoverflow is garbage these days
it's filled with spam and you get lost in the noise
2
 
@Graeme aw thanks man, ,you're wlecome
 
@DaveS So true. That's one of the reasons I lost interest in answering...
@Graeme <3
 
@Mauker Like less than 5 minutes most of the time. About 5 to do a clean build
 
Yeah SO's main KPI these days seems to be supporting MORE users and MORE questions
AKA trash fire
 
6:18 PM
@DaveS ah shit I thought we were still talking about OkCupid lmaoo
 
they should offer the option to sort by the rep of the asking user
that would help a lot in filtering out garbage
 
the more users and questions the more money and who cares about quality
 
@AdamMc331 Nice
The project I'm working on can take as long as 8 minutes sometimes
 
@ballBreaker never mind if 98% are duplicates
 
Tim
@DaveS nice. I don't do it at all
 
6:19 PM
exactly
stack overflow can lick my weenus
 
Joke ruined.
 
hahaha
I have exactly two weenus'
 
Well at least one person enjoyed it lmao
 
Adam Ruins Everythingâ„¢
 
:elmo-rise:
 
6:21 PM
xD
 
question: why does gradle downloads all the deps on gradle sync?
 
when else would it do it?
 
i have some really large deps with native libraries which take ages to download
 
@DaveS lmao
 
6:23 PM
oh, you should be able to cache those Ivan
 
i know
im wondering why its broken
usualy gradle will download dependencies only if your cache data is stale
 
2 messages moved to Trash
That's not a kosher way to talk about that, bb
 
gonna agree with carl here
 
org.gradle.caching is set to false
 
6:26 PM
 
because kapt
i remember turning it on, but it has little to do with dependencies
 
@CarlAnderson don't see how any bit of that is wrong
but okay
 
referring to anyone as "jew girl" is offensive
 
to who
My jewish friends would say otherwise
But I'm not going to press it
 
saying jew in a negative context isn't PC
it's borderline in a neutral/positive but not really appropriate for a sfw public channel
 
6:31 PM
sorry, this woman of unknown ethnicity heating up GEFILTE fish in the office should be fired
 
sometimes I forget how gentiles might react to me saying the J word
So that's my bad
 
The way to think about this is that the word is irrelevant to the story, so is gender.

You can just complain about a person heating up fish in the office that smells bad, and the purpose of the story still gets through. :)
 
I have to distinguish gefilte fish from normal fish because it's particularly nasty, like 20 fold or so
But I guess the jewish part could have been left out since it's pretty obvious from gefilte fish
 
and irrelevant. :)
 
6:37 PM
no, but okay
 
kotlinx.serialization vs jackson,, which one is better?
 
@asim depends what you want to do
and where you want to end up
 
Android or multiplatform?
 
yooooooooooo
 
6:41 PM
android only(as of yet)
yooooooooo too
 
if your end goal is multiplatformr go with serializtion
also one important note
i guess Jackson is using reflection and serialization is pure api
so serialization should be more performant
 
@IvanMilisavljevic ya, thats true
 
@asim are you asking about what should the model class look like? If that's the case I would go with a class Error and another one Result, you then can use the name of the class as root key
 
415 ribbit
 
You'd think languages would have better support for JSON. It's pretty much the universal standard at this point.
 
6:50 PM
I know that Jackson has issues with inheritance (in Scala at least) during json to pojo deserialization, so it's a bit hard to just declare minimal classes
But I'm also against adapting your data model to the limitations of a tool, so I'd serialize them manually if you're stuck with this lib
 
@twiz i cant really agree with this
 
@Mehdi but i will still have to declare keys nullable and check for nulls
 
twiz i mean your not wrong, imho json should die just like xml in favor of protobuf
 
@asim if you use an object mapper, you just add a serialization option of "allow null values" or something like that that goes both ways
 
I like JSON :(
 
6:53 PM
^ same, though I'm using more and more yaml instead
 
protobufs look cool though
supports Dart so I might use it on this project
 
I like DAVE
2
 
who are you and why have you hijacked cM's computer?
 
Universal may be a bit strong wording, but, for example, what percentage of formal API's don't support JSON.
 
waiting for you to not be able to edit this
 
6:54 PM
The sucker left it unlocked
 
The whole point of json is that it's human readable and not expensive in parsing given there are no types
 
check this out
`Task 'generateStagingDebugSources,' not found in project ':app'. Some candidates are: 'generateStagingDebugResources', 'generateStagingDebugSources'.
`
 
there are types Mehdi but you can infer it easily
and just basic primitives
 
Json is typeless, it's all text, it's up to the dev to infer normally, as opposed to xml that carries a ton of info about the data
 
actually there are types in json
 
6:57 PM
I never said JSON was the best, just that it's used pretty much everywhere.
 
but they are quite easy to parse
 
@twiz JS supports json really well
 
Well yea, lol
 
So go use js
 
Is there something that can batch generate data classes from a file reading json objs line by line?
 
6:59 PM
@Mehdi XML is all text too, but the absence of quotes in JSON means it's not a string, then you have to infer boolean or number, also can be another object or array
 

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