#avr | Logs for 2015-05-10

Back
[02:27:24] <hypermagic> hello my friends :)
[02:32:10] * Casper steps away from hypermagic until he knows his alignment...
[02:32:38] <hypermagic> i like girls haha
[02:33:07] <Casper> this mean you hate guys... EVERYBODY RUNNNNNNNN!!!!!
[02:33:10] <Casper> :)
[02:33:35] <Casper> <=== bored
[02:33:45] <Fleck> :D
[02:34:01] <hypermagic> you thought i came here to test my military battlerobots? ;>
[02:34:52] <Casper> or to use your evil millitary boosted magic...
[02:34:54] <hypermagic> Casper, i wrote a simple ramdisk that is starting to work with fuse
[02:35:06] <hypermagic> :)
[02:35:12] <Casper> tmpfs
[02:35:37] <hypermagic> what is your opinion about my idea making a fuse filesystem for avr programming?
[02:35:53] <hypermagic> copy over the hex file and avrdude flashes it in? :)
[02:36:04] <Casper> I do not see a reason to exists
[02:36:33] <Casper> inotify on a directory would do it
[02:37:02] <hypermagic> you plug your avr device in, and it would be pinged, and if recognized a new directory named atmega8 would be created
[02:37:28] <hypermagic> or file
[02:37:35] <Casper> udev rules, small script, inotify
[02:37:49] <hypermagic> am i overcomplicating it?
[02:37:54] <Casper> I think so
[02:38:45] <Casper> beside.... make flash
[02:38:50] <hypermagic> sure
[02:38:53] <Casper> that is what I use
[02:38:55] <hypermagic> ... :)
[02:38:59] <hypermagic> but
[02:39:12] <hypermagic> plug&play would be much cooler
[02:39:35] <Casper> make flash, have it do the detection
[02:39:47] <hypermagic> and if there would be more devices supported at a time you could even choose
[02:40:19] <Casper> still, no reason for a fuse imo
[02:40:44] <Casper> userland tool, a simple bash script would do the trick
[02:40:45] <hypermagic> but i am unsure now how would you simply multicast a datastream/file to mulitple names/dirs
[02:40:47] <hypermagic> :/
[02:41:01] <hypermagic> i think computers weren't designed for this
[02:41:23] <Casper> you try to apply the wrong solution to an inexistant problem I think
[02:41:30] <hypermagic> hehe
[02:41:48] <hypermagic> there are no problems, you just create problems for yourself to solve
[02:42:38] <hypermagic> but fuse is different than a script
[02:43:30] <Casper> still, I do not think that it's the way to go
[02:44:00] <Casper> fuse is to access a filesystem, not to program a device...
[02:44:12] <Casper> it can be done, but... not the intended purpose
[02:44:21] <hypermagic> oh if the device is a storage device youcan make a "pendrive" out of it
[02:44:48] <hypermagic> the avr stores data in flash memory right?
[02:45:08] <hypermagic> you can read and write its flash memory
[02:45:11] <hypermagic> like a file
[02:45:39] <hypermagic> random access it
[02:45:44] <hypermagic> unless it is locked
[02:45:50] <Casper> I do not think it's the way to go
[02:45:54] <Casper> how will you handle the read?
[02:46:07] <Casper> without having the kernel to timeout?
[02:46:26] <hypermagic> fuse is userspace filesystem :)
[02:46:47] <Casper> yes, a filesystem should be read write
[02:46:52] <Casper> or atleast read
[02:47:13] <hypermagic> a file can be write only if you like
[02:47:31] <hypermagic> check out /dev/null
[02:48:05] <hypermagic> ok well iti s not a regular file, but with fuse you can create a file that you write to and its content does not read back
[02:48:08] <Casper> it's a device...
[02:48:18] <Casper> and personally I think they fucked up for that one
[02:48:24] <hypermagic> hehe
[02:48:28] <Casper> null and zero should have been the same
[02:48:29] <hypermagic> what would you change?
[02:48:57] <hypermagic> oh well you can truncate a file using dd and /dev/null
[02:49:04] <Casper> reading null should return that: all null... which is zero...
[02:49:15] <hypermagic> null is not zero m8
[02:49:19] <Casper> so you can with echo -n > file
[02:49:26] <hypermagic> null is ""
[02:49:28] <Casper> true...
[02:49:33] <hypermagic> or ''
[02:49:41] <Casper> then they fucked up the write then :D
[02:49:42] <hypermagic> cat /dev/null :)
[02:49:45] <Casper> (it's late)
[02:50:12] <Casper> should be called /dev/thevoid
[02:50:14] <Casper> :D
[02:50:18] <hypermagic> haha
[02:51:10] <Casper> a void is empty, so a read would give "" and writting there... dissapear all...
[02:51:34] <hypermagic> my testramdisk starts to grow >15kB in C :/ i have given a name to it already "volatilefs"
[02:52:16] <hypermagic> it features very slow writes but uses a single malloc for each file
[02:52:32] <Casper> and does it handle growing files?
[02:52:54] <hypermagic> constantly reallocating the file storage buffer and freeing the last one lol ;>>
[02:53:22] <Casper> do you atleast allocate in multiple of like 512 bytes?
[02:53:33] <hypermagic> so you write a 10MB file with 1 byte at a time, it will be written 10M times
[02:53:36] <Casper> so you can handle more efficient file grows
[02:54:04] <hypermagic> well it would be 512 times speed improvement :)
[02:55:28] <hypermagic> i just hacked this in about 24 hours ...
[02:57:18] <hypermagic> Casper, it really does not matter how you achieve your required goal
[02:57:40] <hypermagic> but i never seen a vfs used for mcu yet
[02:58:17] <Casper> because it's kinda useless usually
[02:58:18] <hypermagic> also you could make a directory/file for data transfer to/from the mcu using any interface you like
[02:58:32] <Casper> and launching a copy or launching avrdude... same time...
[02:58:41] <hypermagic> it can be done with your helper scripts, and command line commands
[02:58:47] <Casper> but bed time
[02:58:49] <Casper> nite
[02:58:49] <hypermagic> or copying files in a vfs
[02:59:04] <hypermagic> bb
[07:54:57] <tpw_rules> anybody fiddled with jpeg decoding before? like the actual algorithms
[07:56:27] <twnqx> isn't it DCT at the core?
[07:56:28] <hypermagic> no
[07:56:47] <hypermagic> avr with jpg ? what is your display ?
[07:57:52] <tpw_rules> not necessarily with avr. just figured this is the channel with the most variety of people in it i know
[07:58:33] <hypermagic> oh, theere is also #asm btw
[08:03:23] <LeoNerd> JPEG is DCT, yes
[08:04:17] <tpw_rules> it's also other things too
[09:00:51] <ferdna> ...
[09:00:52] <ferdna> ..
[09:00:53] <ferdna> .
[09:04:01] <Lambda_Aurigae> *
[09:04:18] <Lambda_Aurigae> had home made bacon for breakfast this morning.
[09:04:20] <Lambda_Aurigae> is yummers!
[09:16:43] <ferdna> Lambda_Aurigae, hehehe... picture or it never happened
[09:16:56] <Lambda_Aurigae> well, I could puke it up and take a pic for you.
[09:17:46] <Lambda_Aurigae> we buy pork belly from local meat locker for $2.10 USD per pound and make our own bacon...season, cure, and smoke it....takes about a week for the season and cure to set in then a couple hours to smoke.
[09:18:15] <Lambda_Aurigae> more fun, tastier, and cheaper than $5.00 per pound for store bought bacon.
[09:59:13] <ferdna> Lambda_Aurigae, oh wow... would like to try that...
[09:59:17] <ferdna> where are you from?
[09:59:26] <Lambda_Aurigae> from Vega 3
[09:59:33] <Lambda_Aurigae> but I currently live on Earth.
[10:02:17] <ferdna> Lambda_Aurigae, ohhh.... thats far...
[10:02:30] <ferdna> what point on earth?
[10:03:39] <Lambda_Aurigae> latitude 42.17331 longitude -93.09357
[10:04:46] <ferdna> Lambda_Aurigae, IOWA???
[10:04:53] <Lambda_Aurigae> yup.
[10:04:58] <ferdna> nice
[10:10:10] <Lambda_Aurigae> can do experiments on cows, pigs, and humans and not too many people notice...
[10:10:16] <Lambda_Aurigae> specially the probes....we love probes!
[10:15:05] <ferdna> Lambda_Aurigae, HAHAHAHHAA... that made me laugh...
[10:15:07] <ferdna> hahaha
[10:15:10] <ferdna> good one bro...
[10:15:31] <Lambda_Aurigae> silly humans.
[10:16:25] <ferdna> so whats your race?
[10:16:48] <Lambda_Aurigae> Vegan
[10:17:50] <ferdna> ohhh shit that is the most evil race of all...
[10:18:34] <Lambda_Aurigae> but of course.
[10:18:51] <Lambda_Aurigae> too bad humans who try to emulate us have it exactly backwards.
[10:18:59] <malinus> Lambda_Aurigae: funny bacon... from belly...
[10:19:00] <malinus> :P
[10:19:17] <Lambda_Aurigae> malinus, that's what bacon is made from....pork belly.
[10:19:22] <Lambda_Aurigae> american bacon anyhow.
[10:19:31] <Lambda_Aurigae> not that canadian pseudo-bacon.
[10:19:39] <ferdna> lol
[10:19:45] <ferdna> Casper, ^
[10:19:56] <malinus> Lambda_Aurigae: oh, I thought it was litreally "belly". I didn't know americans called that part of the pig "belly".
[10:20:03] <Lambda_Aurigae> it is.
[10:20:08] <malinus> well
[10:20:09] <Lambda_Aurigae> cut from the belly of the pig.
[10:20:39] <Lambda_Aurigae> http://en.wikipedia.org/wiki/Pork_belly
[10:21:38] <malinus> today malinus learned that belly!=stomach
[10:21:48] <Lambda_Aurigae> hehe.
[10:22:01] <Lambda_Aurigae> http://en.wikipedia.org/wiki/Bacon
[10:22:50] <malinus> Lambda_Aurigae: I've tried making bacon once. Since pork *belly*, is very cheap here (denmark). It was very good, but take way too long to make. You can't really compare it with pre-sliced bacon that you can buy.
[10:23:06] <Lambda_Aurigae> only takes a week.
[10:23:26] <Lambda_Aurigae> and you don't have to smoke it but that just gives it a nice deeper flavoring.
[10:23:52] <malinus> it's not real bacon if it isn't smoked imho.
[10:24:10] <Lambda_Aurigae> we have a propane smoker out on the deck beside the grill.
[10:24:29] <malinus> I usually just smoke in my grill. I wish I had a real smoke oven though.
[10:24:51] <Lambda_Aurigae> we use an electric hotplate for a 1 hour "cold smoke"
[10:25:06] <Lambda_Aurigae> then fire up the propane burner to heat it up for another half hour or so.
[10:25:21] <Lambda_Aurigae> the hotplate just heads up the little pot that the wood chips are in.
[23:58:02] <hypermagic> hello