#robotics Logs
Aug 30 2017
#robotics Calendar
12:00 AM rue_mohr: for the most part, things port across ok with no changes
12:02 AM rue_mohr: do you want my NC spooler?\
12:02 AM rue_mohr: or you making a database?
12:16 AM rue_shop3: 8-|
12:16 AM rue_shop3: the SG90 servos, go from 0.6ms to beyond 2.5ms
12:16 AM rue_shop3: I'm not designed for more than 2.5ms
12:16 AM rue_shop3: but the middle is 1.5ms
12:17 AM rue_shop3: Jak_o_Shadows, :) you there dude, I'm gonna need a controller soon...
12:17 AM rue_shop3: tommorow I'll build the 24 axis controller
01:25 AM rue_house: hahah I forgot I have a usb serial bridge plugged in
01:25 AM rue_house: two usb ttl serial adapters hooked to each other for serial debugging
01:30 AM rue_house: hah :) the serial library works good if your just opening a port and writing to it
02:00 AM rue_house: Jak_o_Shadows, http://codepad.org/AdPw5oZx
02:00 AM rue_house: getting closer
02:00 AM rue_house: the position bytes MIGHT be backwards
02:47 AM rue_bed: arg
02:47 AM rue_bed: i cannot sleep when I need to during the work week
02:47 AM rue_bed: Jak_o_Shadows, ?
02:48 AM rue_bed: Tom_L, it might be time for a lurker slaughter again
02:49 AM rue_bed: should I just go solder a circuit board?
02:50 AM rue_bed: cause laying here, borred, seems like a waste of time
02:50 AM rue_bed: when I'm going to sleep, nothing will stop me, and I can tell
02:50 AM rue_bed: rue?
02:50 AM rue_bed: I'm up
02:50 AM rue_bed: thanks
02:51 AM rue_bed: well, if we like, get up, we could be up till 4
02:51 AM rue_bed: or5
02:51 AM rue_bed: yea, or 6
02:51 AM rue_bed: were probably going to need sleep tommorow
02:52 AM rue_bed: maybe you should slide over the sleep
02:52 AM rue_bed: hu?
02:52 AM rue_bed: sleep for 8 after work and stay up all night
02:52 AM rue_bed: have supper for breakfast?
02:52 AM rue_bed: and then breakfast for lunch
02:52 AM rue_bed: who's on first?
02:52 AM rue_bed: exactly
02:53 AM rue_bed: I want to set up a playbench here
02:53 AM rue_bed: maybe you should make another soldering station
02:54 AM rue_bed: how long has it been since you played with electronics in your room?
02:54 AM rue_bed: gee, almost always have had a shop eh?
02:54 AM rue_bed: never?
02:54 AM rue_bed: well,
02:55 AM rue_bed: what about
02:55 AM rue_bed: 30 years ago
02:55 AM rue_bed: I dont think you were soldering
02:55 AM rue_bed: must have been I remember accidently burning the carpet
02:55 AM rue_bed: hmm
02:56 AM rue_bed: ok, next question, why?
02:56 AM rue_bed: more focus I think
02:56 AM rue_bed: horseblind?
02:56 AM rue_bed: yes
02:56 AM rue_bed: less distractions
02:57 AM rue_bed: why are distractions a problem?
02:57 AM rue_bed: I really like getting things done
02:57 AM rue_bed: should we divide the new shop then?
02:57 AM rue_bed: dunno
02:57 AM rue_bed: I like working in small focused spaces
02:58 AM rue_bed: you need to work on a ship again
02:58 AM rue_bed: I like open spaces too
02:58 AM rue_bed: space is pretty open
02:58 AM rue_bed: sit down and focus, i like that
02:58 AM rue_bed: you like the idea of that
02:59 AM rue_bed: I do get kinda wrestless dont I
02:59 AM rue_bed: I think you want to have just 1 project loaded to process
02:59 AM rue_bed: mmm focus
02:59 AM rue_bed: you used to get focus
03:00 AM rue_bed: now I'm just hypermultitasking
03:00 AM rue_bed: I wonder when the last time you could focus WAS
03:00 AM rue_bed: the laptop?
03:01 AM rue_bed: heh, the whole summer
03:01 AM rue_bed: :) building a laptop
03:01 AM rue_bed: so many projects
03:02 AM rue_bed: so little me
03:02 AM rue_bed: how is it that the more time goes by, the less time we have
03:02 AM rue_bed: sounds like some cheating is in order
03:03 AM rue_bed: lookin for peace but their bringing you war
03:03 AM rue_bed: its right under your nose ya know
03:04 AM rue_bed: I cant see there tho
03:04 AM rue_bed: dont stop reverse engineering your brain
03:04 AM rue_bed: hey about that, you said the stm32 is enough to make a moderate ai
03:04 AM rue_bed: well, yea
03:05 AM rue_bed: shall we do that?
03:05 AM rue_bed: it wont be too easy, 20k of ram is tight, you will have to put almost everything static into program space
03:05 AM rue_bed: yup
03:05 AM rue_bed: and your sure you dont have enough projects aleady?
03:06 AM rue_bed: i do, but I want to make some progress on this
03:06 AM rue_bed: hmm
03:06 AM rue_bed: I need to
03:06 AM rue_bed: do you understand what I was saying about how learning works?
03:06 AM rue_bed: I think I grasp it, but only just barely
03:07 AM rue_bed: ai aside, how do you want to interface with the world?
03:07 AM rue_bed: dunno
03:08 AM rue_bed: you cant just have stm32's sitting there being ai
03:08 AM rue_bed: so what do we need
03:08 AM rue_bed: depends what you want to do, its got to be able to interact with things to learn stuff
03:09 AM rue_bed: 4 legged walkers with ... hearing?
03:09 AM rue_bed: blind?
03:09 AM rue_bed: sure
03:09 AM rue_bed: hmm
04:31 AM Snert_: whachu rattlin' 'bout now.
04:31 AM Snert_: donchu ever get any goddamn sleep?
06:45 AM nabil_: Is this the most popular irc channel
06:45 AM nabil_: ?
06:46 AM SpeedEvil: no
06:49 AM nabil_: which one it is then?
06:49 AM nabil_: SpeedEvil:
06:49 AM nabil_: irc channel for robotics?
06:49 AM SpeedEvil: #ubuntu? Even ##electronics is much larger
06:49 AM SpeedEvil: oh, then yes
06:50 AM nabil_: I guess robotics people are not much into irc
06:59 AM Snert_: they are, but there's just too mnuch popsicle sticks and bubblegum and McGuyver.
07:00 AM Snert_: if you care to work with quality components you can't do it on 3bucks.
07:02 AM SpeedEvil: You also can't do it with quality components.
07:02 AM SpeedEvil: Clue is needed
07:03 AM Snert_: that's a given for most of us though.
07:03 AM Snert_: 'cept peoplenot into electronics I guess.
07:11 AM nabil_: I'm an Electronics eng student (not the type you probably think I am or the type you're confronted too most often)
07:14 AM nabil_: and not here to build the next ironman as well
07:48 AM deshipu: "next"?
07:48 AM deshipu: there is one already?
09:47 AM rue_house: so, no reply from Jak_o_Shadows
08:07 PM rue_bed: so, no reply from Jak_o_Shadows
08:08 PM -!- #robotics mode set to +o by ChanServ
08:11 PM synja: um what are you doing?
08:11 PM rue_bed: channel growth stimulant
08:11 PM rue_bed: where was I...
08:11 PM synja: this isn't a flower :P
08:12 PM synja: ?
08:13 PM rue_bed: dead nicks
08:13 PM rue_bed: they plug up the channel and it dies
08:13 PM rue_bed: but you see, your the first other person to say anything here in 24 hours
08:16 PM rue_bed: ace4016, anniepoo_ anonnumberanon CrazyEddy DagoRed deshipu hackkitten Jak_o_Shadows justanotheruser LoRez mrdata orlock Snert_ SpeedEvil theBear Triffid_Hunter veverak
08:16 PM rue_bed: your all real people, congrads, but say more eh?
08:16 PM rue_bed: like, are you working on anything?
08:16 PM DagoRed: Yes.
08:16 PM DagoRed: I am working on non robotics.
08:17 PM DagoRed: Working on climate models for NOAA.
08:17 PM rue_bed: what do you think should be part of a 12' biped mecha?
08:17 PM rue_bed: oo cool
08:17 PM rue_bed: we gonna have that water from the arctic come flood us this winter?
08:17 PM rue_bed: when are all the parts of the usa thatare below sea level gonna fill in?
08:17 PM alic1a: rue_bed: When the cows come home.
08:18 PM rue_bed: c0ws?
08:18 PM rue_bed: no I dont want to run windows on the mecha
08:19 PM rue_bed: and what will Trump say about climate chnage when it does fill in?
08:19 PM ace4016: ?
08:21 PM synja: shut up alic1a
08:21 PM alic1a: synja: Absolutely.
08:27 PM DagoRed: I gotta crash but....
08:27 PM DagoRed: rue_bed: Trump is forcing me to look for a new job.
08:28 PM DagoRed: As far as rising sea levels... I don't think natural erosion was properly accounted for + off shore sand mining for silicon operations.
08:30 PM DagoRed: Climatologists should not be left to make inferences of climate data extrapolation.... But be certain global warming is real and the co2 concentration is both alarming and concerning.
08:41 PM anonnumberanon: Yeah rue_bed i do have been working on somethings
08:43 PM Tom_L: rue_bed, i'm not real i'm just a bot
08:44 PM anonnumberanon: And i just finished this monster challenge so psyched about it
08:44 PM anonnumberanon: It's called printing the Longest Common Subsequence
08:45 PM anonnumberanon: Was real hard for my green skills
08:53 PM anonnumberanon: See? When i talk nothing comes back
08:53 PM * anonnumberanon goes back to afk
08:53 PM anonnumberanon: Last thing: valgrind rocks
08:54 PM * anonnumberanon afks forever
10:03 PM rue_bed: anonnumberanon, string data?
10:13 PM anonnumberanon: I did it with integers but it also works with stringd and any object you can think of
10:13 PM anonnumberanon: In real life its used for gene sequencing
10:14 PM anonnumberanon: Still looking for a use for robotics
10:14 PM anonnumberanon: But the dynamic programming techniques i learned most probably are applicable to the field
10:15 PM synja: hehe just taught my bot about bigger/smaller
10:16 PM synja: which is longer, a mouse or a cat?
10:16 PM anonnumberanon: Cs 101?
10:16 PM alic1a: anonnumberanon: No results
10:16 PM synja: lol
10:16 PM synja: which is longer, a mouse or a human
10:16 PM synja: which is longer, a mouse or a human?
10:16 PM alic1a: synja: mouse
10:17 PM synja: alic1a, wrong
10:17 PM alic1a: synja: Interesting
10:17 PM anonnumberanon: What langauage u made ur bot in?
10:17 PM rue_bed: anonnumberanon, between two arrays or more?
10:18 PM anonnumberanon: Yeah 2
10:19 PM synja: anonnumberanon, python
10:19 PM synja: ok alicia you bitch
10:19 PM synja: which is bigger, a dog or a human?
10:19 PM alic1a: synja: human
10:19 PM anonnumberanon: Rue bed we should make a bot
10:19 PM anonnumberanon: In c
10:20 PM anonnumberanon: Ofc
10:20 PM synja: gl doing nlp in c
10:20 PM synja: actually
10:20 PM synja: get information about nlp in c
10:20 PM anonnumberanon: AN AI of sorts
10:20 PM anonnumberanon: Wats nlp
10:20 PM anonnumberanon: Oh i know
10:20 PM synja: define nlp
10:20 PM alic1a: synja: No results found
10:20 PM synja: natural language processing
10:22 PM anonnumberanon: That would be 2 much to write in c?
10:22 PM synja: get code for nlp in c
10:22 PM synja: oh common
10:23 PM synja: lol it was sent to another channel
10:23 PM synja: fuck me
10:25 PM rue_bed: I worked out how human learning works
10:25 PM rue_bed: I'm trying to find a simple problem to apply it to for a test
10:26 PM rue_bed: but its hard, most problems are what I'd reffer to as 'maze' problems, that your just doomed on solutions for
10:27 PM rue_bed: aka, you cant learn to solve every maze optimally, same with huge searches
10:27 PM rue_bed: so, in my search for the ultimate answer, I find I'm looking for the ultimate question
10:27 PM Tom_L: what is the meaning of life?
10:27 PM rue_bed: 42
10:29 PM Tom_L: why does history repeat?
10:29 PM alic1a: Tom_L: No results
10:29 PM synja: what is the meaning of life?
10:29 PM synja: nothing apparently
10:30 PM Tom_L: rue_bed, the answer is... we don't learn
10:30 PM alic1a: synja: the meaning of life * GitHub at https://gist.github.com/11194784
10:30 PM synja: lol
10:30 PM synja: i gotta check this out
10:30 PM synja: brb
10:30 PM synja: lmao
10:40 PM rue_shop3: hmm, I'm playing with longest substring search
10:40 PM rue_shop3: does the whole needle have to exist in the haystack or can just part of it?
10:41 PM anonnumberanon: Makes 0 sense
10:41 PM rue_shop3: when you search for something, you have a needle and a haystack
10:41 PM rue_shop3: the needle is often a litteral you need to find in a large block of other data
10:42 PM rue_shop3: aka haystack
10:42 PM anonnumberanon: No then its .o needle anymore
10:42 PM rue_shop3: the substring search becomes lots more complex if you are looking for the longest substring in the needle that matches a substring in the haystack
10:43 PM orlock: put them both in the cloud and wave your hands
10:43 PM orlock: then blame an AWS/Azure outage
10:44 PM anonnumberanon: That sounds moderately straight forward to solve
10:44 PM rue_shop3: anonnumberanon, so, does the substring your searching for start with the first character in the needle?
10:45 PM anonnumberanon: In what problem?
10:45 PM rue_shop3: the substring search programming challange
10:45 PM anonnumberanon: No its subsequences that i did
10:45 PM rue_shop3: <anonnumberanon> It's called printing the Longest Common Subsequence
10:45 PM anonnumberanon: Not same as substring
10:45 PM rue_shop3: ok
10:46 PM rue_shop3: so your given two strings, and you want to find the longest similarity between them
10:46 PM anonnumberanon: Tre is a substring ofatred
10:46 PM anonnumberanon: Butte is not
10:46 PM rue_shop3: sounds like DNA data processing
10:46 PM anonnumberanon: However te is a subsequence
10:49 PM rue_shop3: hmm, I think I'd have a state machine that could control pointers to a comparison engine
10:49 PM anonnumberanon: For subsequences?
10:50 PM rue_shop3: yea
10:50 PM rue_shop3: I'm thinking
10:50 PM anonnumberanon: :)
10:50 PM anonnumberanon: Write some code if you want
10:50 PM alic1a: anonnumberanon: Hello World * GitHub Guides at https://guides.github.com/activities/hello-world/
10:50 PM rue_shop3: my idea is still too vauge, and I have to make a servo control pcb
10:51 PM anonnumberanon: Lol
10:51 PM anonnumberanon: Its extremely difficult
10:52 PM anonnumberanon: But a lookup table is involved
10:53 PM rue_shop3: can you post the example data, or a set of?
10:53 PM anonnumberanon: K
10:54 PM anonnumberanon: https://www.hackerrank.com/challenges/dynamic-programming-classics-the-longest-common-subsequence
10:55 PM anonnumberanon: They have a data input at the end of the page
10:58 PM rue_shop3: the problem tab comes up blank for me
10:59 PM rue_shop3: did they use googlesyndication to host it?
10:59 PM rue_shop3: or megaadservers.com ?
10:59 PM anonnumberanon: K ill just give you the input
10:59 PM rue_shop3: sure
10:59 PM anonnumberanon: I do t know are u blocking all js?
10:59 PM alic1a: anonnumberanon: <!DOCTYPE html><html><head> <title>css - How to Remove render-blocking JavaScript and StyleSheet in wordpress? - Stack Overflow</title></head><body><!-- all your other codes here --><!-- then your scripts right before the closing body tag --><script src=\
10:59 PM rue_shop3: no, just everything from every ad server everywhere
11:00 PM anonnumberanon: Here
11:00 PM anonnumberanon: 5 6 1 2 3 4 1 3 4 1 2 1 3
11:00 PM anonnumberanon: 5 is first length 6 is second length
11:01 PM anonnumberanon: Answer here is 1 2 3
11:01 PM rue_shop3: oh of the same string!
11:01 PM anonnumberanon: 5 6 1 2 3 4 1 3 4 1 2 1 3
11:01 PM anonnumberanon: Here
11:01 PM rue_shop3: oooh, you use a variable length looped buffer
11:01 PM rue_shop3: huh
11:01 PM anonnumberanon: 5 and 6 are the lengths of 1st and second sequences
11:02 PM rue_shop3: so the answer is 341
11:02 PM Tom_L: but you said it was 42
11:03 PM * rue_shop3 puts a hat over Tom_L
11:03 PM Tom_L: :)
11:03 PM rue_shop3: so those are the two strings 1 2 3 4 1 and 3 4 1 2 1 3 longest match is 3, specifically 341
11:04 PM anonnumberanon: Yeah
11:05 PM rue_shop3: I figured it would be a larger data set
11:05 PM anonnumberanon: 123 or 341 or
11:05 PM rue_shop3: the n^2 on that cant even be that large
11:05 PM anonnumberanon: Its 2^n
11:05 PM rue_shop3: 123 dosn't exist commonly in the two
11:05 PM rue_shop3: for (i ... { for(j... {
11:06 PM rue_shop3: hmm
11:06 PM anonnumberanon: Remove 3 4 and 1 from the first and you get the 1 2 3 subsequence
11:06 PM anonnumberanon: ==not substrings==
11:07 PM rue_shop3: I think I'm not understanding how the match process works
11:07 PM rue_shop3: your looking for the sequence, but you can skip things?
11:07 PM anonnumberanon: A subsequence means you remove any characters and get left with something
11:07 PM rue_shop3: but they dont have to be successive
11:08 PM rue_shop3: <adjacent>
11:08 PM anonnumberanon: No
11:08 PM anonnumberanon: Thats substring
11:09 PM anonnumberanon: Heh
11:11 PM mrdata: rue_bed, i would love for there to exist robotic ace4016 asteroid mining and materials refining / production in situ
11:11 PM mrdata: err, s/ ace4016 / /
11:12 PM mrdata: we can test robotic tunnel boring equipment on the moon i hope
11:13 PM orlock: I'd test it on earth i think
11:13 PM orlock: Long way to send something to be tested
11:13 PM mrdata: reason to do that on moon is to build habitats for human settlement
11:14 PM anonnumberanon: No solution yet rue?
11:14 PM * anonnumberanon killed the rue
11:14 PM mrdata: i worked out that you should build underground; to protect from cosmic rays and thermal cycle you need 12.5 m of solid rock above you
11:14 PM rue_shop3: anonnumberanon, the pcb needs to be larger than I wanted
11:15 PM rue_shop3: I'm trying to figure out if it should be larger yet
11:15 PM mrdata: rue_shop3, what functions are on the pcb?
11:15 PM rue_shop3: stm32
11:15 PM rue_shop3: 4017[3]
11:15 PM orlock: mrdata: well hopefully elon keeps doing what he is
11:15 PM rue_shop3: servo header[3*8]
11:15 PM rue_shop3: powerConnector[2]
11:15 PM orlock: mrdata: you know he's working on the digging too, not just rockets?
11:16 PM orlock: The Boring Company
11:16 PM alic1a: orlock: RocketChat/Rocket.Chat - GitHub at https://github.com/RocketChat/Rocket.Chat/issues/3560
11:16 PM alic1a: : RocketChat/Rocket.Chat - GitHub at https://github.com/RocketChat/Rocket.Chat/issues/3560
11:16 PM rue_shop3: LARGE capacitors[3*8?]
11:16 PM orlock: alic1a: huh?
11:16 PM alic1a: orlock: Interesting
11:16 PM mrdata: rue_shop3, i saw stm32 boards that split power regulation to one board, and processing to another; both coming in under 2.5 x 3.5 inch
11:16 PM orlock: alic1a: botbotbotbot
11:16 PM alic1a: orlock: Heh
11:16 PM mrdata: area
11:16 PM mrdata: and stacking
11:16 PM rue_shop3: if a hobby servo can draw, lets say 500mA, then I should have ~470uF (under) ea
11:16 PM orlock: who does alic1a belong to?
11:17 PM orlock: alic1a: pi is exactly three.
11:17 PM alic1a: orlock: Introducing Organizations * GitHub at https://github.com/blog/674-introducing-organizations
11:17 PM rue_shop3: ah, but there is also a dc-dc
11:17 PM rue_shop3: cause my main buss is 12V
11:17 PM mrdata: alic1a is synja's
11:17 PM alic1a: mrdata: Alrighty
11:18 PM mrdata: alic1a, how old are you?
11:18 PM alic1a: mrdata: Oh . I am not sure if I can quantify the answer. Heh
11:18 PM mrdata: fair enough
11:19 PM mrdata: i made a perl based chat bot awhile back
11:20 PM mrdata: synja, please have alic1a answer private messages if requested
11:20 PM alic1a: mrdata: I gotcha
11:23 PM anonnumberanon: Rue u get a power supply for the servos
11:23 PM anonnumberanon: A buck co
11:23 PM anonnumberanon: Nverter
11:24 PM anonnumberanon: Got a 15A one on my byped
11:24 PM anonnumberanon: Keeps power to 5v
11:25 PM synja: alic1a, go to sleep
11:25 PM synja: mrdata, duly noted
11:27 PM mrdata: orlock, yeah, did you know the boring company has a facebook group
11:28 PM mrdata: i see no reason why tunnel boring equipment couldnt work on the moon
11:28 PM anonnumberanon: We a company that makes the coolest stuff and ull never be able to work for us but like our facebook page ok thanks bye
11:28 PM mrdata: but the earth-based ones use water to keep the dust down
11:28 PM mrdata: i think that wouldnt be done on moon, since water is the scarce valuable resource there
11:34 PM anonnumberanon: Why would u want to keep dust down?
11:34 PM rue_shop3: I think I should pull another first
11:35 PM anonnumberanon: Another what
11:35 PM rue_shop3: split the connectors on the servos into a 2 pin power and the signal line
11:36 PM anonnumberanon: Well yeah
11:36 PM anonnumberanon: Duh
11:40 PM anonnumberanon: Rue wanna work together on something?
11:40 PM anonnumberanon: Servo stuff?
11:41 PM orlock: i freaked out last night
11:41 PM orlock: thought my fancy-pants motor driver had failed
11:42 PM orlock: Flat battery.. was enough to power it's logic/io but not the motors
11:48 PM rue_shop3: your not supposed to ever test/prototype on battery
11:48 PM rue_shop3: this was the first lesson in robotics back in like 2002
11:49 PM anonnumberanon: Battery is fancy
11:49 PM anonnumberanon: But yeah
11:50 PM mrdata: anonnumberanon, you want to keep the dust down because it gets into the mechanism and jams things up
11:51 PM rue_shop3: anonnumberanon, I'm assembling the 24 servo controller made of 3x 4017 and an stm32
11:51 PM rue_shop3: anonnumberanon, feel like some python coding?
11:53 PM rue_shop3: the code I'm missing is pretty easy, but I'v not heard from Jak_o_Shadows in days
11:59 PM anonnumberanon: Mrdata blowing air would go a long way