Topic for #qi-hardware is now Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben / atusb 802.15.4 wireless, and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs
xiangfu has joined #qi-hardware
gbraad has joined #qi-hardware
gbraad has quit [Changing host]
gbraad has joined #qi-hardware
guanucoluis1 has quit [Ping timeout: 272 seconds]
rz2k has quit []
guanucoluis has joined #qi-hardware
wolfspraul has joined #qi-hardware
emeb has quit [Quit: Leaving.]
pcercuei2 is now known as pcercuei
pcercuei has quit [Read error: Connection reset by peer]
pcercuei2 has joined #qi-hardware
cpg has joined #qi-hardware
pcercuei has joined #qi-hardware
pcercuei2 has quit [Ping timeout: 246 seconds]
<cpg> not sure if this is apropriate … i'm looking for advice on how to use this power mosfet: BSS138LT1
pcercuei has quit [Read error: Connection reset by peer]
<cpg> or similar
<cpg> to drive LEDs with pwm
pcercuei has joined #qi-hardware
pcercuei has quit [Client Quit]
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined #qi-hardware
pcercuei has joined #qi-hardware
dandon_ has joined #qi-hardware
dandon has quit [Ping timeout: 245 seconds]
dandon_ is now known as dandon
cpg has left #qi-hardware [#qi-hardware]
dlan^ has quit [Quit: Leaving]
dlan^ has joined #qi-hardware
pcercuei has quit [Quit: Bye]
jekhor has joined #qi-hardware
paroneayea has quit [Remote host closed the connection]
wolfspraul has quit [Ping timeout: 276 seconds]
rz2k has joined #qi-hardware
jluis has joined #qi-hardware
lekernel has quit [*.net *.split]
kristianpaul has quit [*.net *.split]
roh has quit [*.net *.split]
kristianpaul has joined #qi-hardware
kristianpaul has joined #qi-hardware
rz2k has quit []
woakas has quit [Ping timeout: 248 seconds]
woakas has joined #qi-hardware
jow_laptop has quit [Remote host closed the connection]
lekernel has joined #qi-hardware
roh has joined #qi-hardware
apelete has joined #qi-hardware
kristianpaul has quit [Ping timeout: 255 seconds]
kristianpaul has joined #qi-hardware
kristianpaul has quit [Changing host]
kristianpaul has joined #qi-hardware
jekhor has quit [Ping timeout: 248 seconds]
wolfspraul has joined #qi-hardware
xiangfu has quit [Read error: Connection reset by peer]
xiangfu has joined #qi-hardware
wolfspraul has quit [Ping timeout: 276 seconds]
LunaVorax has joined #qi-hardware
LunaVorax has quit [Remote host closed the connection]
dlan^ has quit [Remote host closed the connection]
dlan^ has joined #qi-hardware
Jay7 has quit [Ping timeout: 276 seconds]
LunaVorax has joined #qi-hardware
Jay7 has joined #qi-hardware
guanucoluis has quit [Ping timeout: 245 seconds]
wolfspraul has joined #qi-hardware
<LunaVorax> Hi
porchaso0 has joined #qi-hardware
porchao has quit [Ping timeout: 244 seconds]
jekhor has joined #qi-hardware
LunaVorax has quit [Read error: Connection reset by peer]
LunaVorax has joined #qi-hardware
LunaVorax has quit [Ping timeout: 260 seconds]
paroneayea has joined #qi-hardware
LunaVorax has joined #qi-hardware
gbraad has quit [Ping timeout: 248 seconds]
gbraad has joined #qi-hardware
gbraad has quit [Changing host]
gbraad has joined #qi-hardware
xiangfu has quit [Remote host closed the connection]
gbraad has quit [Ping timeout: 264 seconds]
<wpwrak> wolfspraul: ron dug out this overview paper, on new programming paradigms (C and such) for FPGAs: http://queue.acm.org/detail.cfm?id=2443836
<larsc> so true
<lekernel> just use migen. their FP temperature conversion example could be nearly the same as in C with the appropriate library.
<lekernel> ;)
kyak has joined #qi-hardware
<wpwrak> heh :) well, i'm hoping for an approach with slightly deeper abstraction. i.e., go from regular C to whatever low-level. may well be that bits of migen would come in handy at some point of such an exercise, though
pcercuei has joined #qi-hardware
<lekernel> migen already does python subset to straightforward FSM. increase the subset and optimize (eg. modulo scheduling) and you should get approximately what you want...
<kristianpaul> wpwrak: hi :)
jekhor has quit [Ping timeout: 246 seconds]
<kristianpaul> wpwrak: do you a good source (book?) for learning string/text manipulation with C?
<kristianpaul> or basically you would use a library like pcre? ..
<wpwrak> naw, no idea. i tend to just do such things on the fly.
emeb has joined #qi-hardware
<lekernel> did you just use "good" and "string manipulation with C" in the same sentence?
<larsc> well that's easy: "string manipulation with C is not a good idea" ;)
<wpwrak> hmm, how about "strings manipulation in C is just as good as you are" ? ;-)
<Fallenou> string manipulation in C is the best backdoor ever
paul_boddie has joined #qi-hardware
pcercuei has quit [Quit: Bye]
<paul_boddie> lekernel: Did you look at MyHDL? I did look at your thesis, but I can't remember if you mentioned it.
<lekernel> yes - but everything in the thesis is pre-migen
<roh> hey.. when you get confronted with a war-drone from the other side.. you'll be happy about broken string routines on network sockets, i assure you
<paul_boddie> MyHDL seems to be of the PyPy school of code generation: load the system, let it warm up, read out the result. Although MyHDL seemed to actually have the system run and simulate the hardware before generating VHDL/Verilog, as far as I remember.
<lekernel> paul_boddie, huh
<lekernel> ?
<paul_boddie> Maybe I should look at it again.
<lekernel> the only thing related to pypy in myhdl is they recommend using it to make their simulator faster
<lekernel> and you can also run simulations from migen ...
<paul_boddie> Yes, I know about the benefits of PyPy running MyHDL, but what I meant was that the way the PyPy interpreter is built also involves it being imported into Python and then the relationships between the units of the interpreter being investigated.
<paul_boddie> In other words, neither PyPy nor MyHDL use static analysis.
<kristianpaul> wpwrak: yeah as good as i'm not hehe thats why i asked
erikkugel has joined #qi-hardware
LunaVorax has quit [Ping timeout: 260 seconds]
<wpwrak> Fallenou: add valgrind and C string manipulation suddenly looks much better. e.g., a lot of bugs show up quickly. in other languages, it's all silent failure.
<wpwrak> kristianpaul: you can always make regression tests. run them under valgrind and - if your tests have reasonably good coverage - it'll find pretty much all atrocities that may be hiding there.
<kristianpaul> hehe
kilae has joined #qi-hardware
<Fallenou> wpwrak: yes, use valgrind, use ssp, -fstack-protector, compile as PIE to allow ASLR of .text, don't use lazy binding for dynamic linker resolution (in order to set .got section read only at startup)
<Fallenou> and use -Wall and -Wformat
<Fallenou> and use -D_FORTIFY_SOURCE=2
<Fallenou> :)
<Fallenou> (and a PaX kernel)
<wpwrak> heh, and i thought i was paranoid ;-)
<Fallenou> ;)
bzb has joined #qi-hardware
jekhor has joined #qi-hardware
dandon_ has joined #qi-hardware
<qi-bot> ウラジスラフ コロトネフ: @Taiki__San IRC is fun, used it a lot in 2010, mainly hanging out asking dumb questions on @qihardware channel lol ( 306448079350018048@vladkorotnev - 51s ago via Twitter for Mac )
dandon has quit [Ping timeout: 255 seconds]
dandon_ is now known as dandon
<larsc> Fallenou: you forgot -pedantic
<Fallenou> and -Wformat-secutiry
<Fallenou> -Wformat-security
<larsc> that should be included in -Wall
<larsc> ok, the documentation says I'm wrong
rz2k has joined #qi-hardware
<paul_boddie> wpwrak: I read that you were ramping down your qi-hw activity levels. Is that true?
LunaVorax has joined #qi-hardware
<roh> hm. sharism.cc down
jekhor has quit [Ping timeout: 272 seconds]
<wpwrak> paul_boddie: yes, the time of being able to act as if i was independently wealthy has come to an end
lekernel has quit [Read error: Operation timed out]
<roh> wpwrak: sigh. same here
<paul_boddie> It's a shame that it hasn't proved to be a sustainable way of life, I guess.
C-Keen has quit [Ping timeout: 245 seconds]
lekernel has joined #qi-hardware
<roh> ack
<larsc> time to win the lotto jackpot
dandon_ has joined #qi-hardware
dandon has quit [Ping timeout: 276 seconds]
dandon_ is now known as dandon
unix has joined #qi-hardware
C-Keen has joined #qi-hardware
<wpwrak> paul_boddie: yeah, it's for lack of trying. but nothing worked :-(
<paul_boddie> wpwrak: I think you've done some very interesting projects, and I still think that there are lots of nice applications for the Ben and the UBB, but I don't know how you get people to support these things, really.
<paul_boddie> There seems to be a lot of economic activity around stuff like Arduino and the many other systems out there. Maybe people don't perceive the Qi-Hardware offerings as systems and so they don't pick up much momentum.
dandon_ has joined #qi-hardware
dandon has quit [Ping timeout: 255 seconds]
dandon_ is now known as dandon
<roh> paul_boddie: in the end it boils down to sales of products cross financing development
unix has quit [Quit: WeeChat 0.4.0]
<wpwrak> yeah, things like UBB were meant to make the Ben more attractive. but the ben would have needed a facelift, which never happened.
<wpwrak> perhaps the mistake was to switch too soon to M1, which looked attractive and exciting, but never found a market
<wpwrak> but then maybe the nanonote never had a chance, and even with everyone on that, we wouldn't have made it
<paul_boddie> I think the Ben still has an interesting role to play for electronics experimentation. You see people messing around with the Raspberry Pi and saying that it's more usable than Arduino for flashing LEDs and all that kind of stuff, but the Raspberry Pi isn't a true portable solution.
<paul_boddie> Having a device with a screen, as opposed to needing a HDMI-equipped monitor (or whatever), allows all sorts of things to be done on a fairly casual basis: you can just take the Ben along and it provides the whole package.
jekhor has joined #qi-hardware
<whitequark> lolwhat
<whitequark> "more usable than arduino for flashing led"
<paul_boddie> The argument for Raspberry Pi in bringing electronics into the classroom would also melt away substantially if someone just made a simple and cheap USB GPIO box, and that probably already exists, although I don't have any links to hand.
<whitequark> arduino is a product entirely designed around flashing leds :S
<whitequark> paul_boddie: it's not that simple. you can't reliably bitbang something over USB if the timing requirements are strict and freq is relatively high
<paul_boddie> whitequark: I'm not advocating flashing LEDs. I know that even mentioning it to you is like waving a red rag in front of a bull. :-)
<whitequark> you can, of course, if that's a synchronous bus
<whitequark> like ft2232 jtag flashing works
<whitequark> but you won't really be able to send or recv something with that box over a 115200 UART, or at least I think so
<paul_boddie> Yes, but nobody is doing classroom electronics interfacing with really high frequency stuff.
<paul_boddie> At least not the kind of classroom that the Raspberry Pi people are catering to.
<whitequark> raspberry pi advocates on my blog were saying that rpi isn't really designed for meddling with electronics at all
<whitequark> just a cheap computer for developing countries and otherwise economically constrained environments
<paul_boddie> Those people regard it as everything to everyone and yet nothing to anyone in particular. They could run for public office.
<whitequark> in which case it even somewhat makes sense
<whitequark> haha that's excellent
<paul_boddie> Well, it's actually for the UK education market. Given that cheap stuff is king in Austerity Britain, they'd be onto something, but then they'd need government grants to upgrade the "monitor stock".
<whitequark> yeah, it's quite insane to require hdmi there
<paul_boddie> I actually perceive it as being a product designed for one thing and justified by another argument entirely.
<whitequark> well, if that "one thing" is "Broadcom promotion" then indeed
<whitequark> I'm not sure what else RPi is actually good (opposed to "usable") for
<paul_boddie> By the way, I wrote a blog entry about this which referenced yours: http://blogs.fsfe.org/pboddie/?p=111
<whitequark> quoted by something.fsfe.org. Not sure if good or bad :)
<paul_boddie> I could blog elsewhere, but this was convenient and pertinent.
<whitequark> paul_boddie: are you from the UK?
<paul_boddie> Yes.
<paul_boddie> But I don't live there.
<whitequark> your article is written much better than me. lots of interesting context I didn't know about.
<paul_boddie> Thanks for the compliment! I was expecting flames. ;-)
<whitequark> well, one does not exclude another
<paul_boddie> Actually, I learned a few things while preparing that post, like the bit about the BBC Micro being made in India, although I don't think they managed to make the whole thing there in the end.
<paul_boddie> As in, I don't know whether they managed to do licensed 6502 CPU production.
<paul_boddie> There's a ton of interesting stuff you can dig up if you start digging.
<paul_boddie> wpwrak: The M1 seems very interesting and it has immediate applications, but then there seems to be a lot of FPGA-related hardware out there, and I get the feeling that it mostly appeals to people who know what they want to do with such stuff. For everyone else, it's a bit mysterious.
<paul_boddie> whitequark: Not that anyone will have read it, but I wanted to tease people a bit about the Raspberry Pi and the BBC Micro because there's a kind of advocacy from RPi people that really trades on the BBC legacy, and I wanted to point out that they don't necessarily have legitimacy in building on that.
<whitequark> in a certain sense, they do build on the BBC legacy the way it has happened
<whitequark> it's just that these days, computers are much more complex
<whitequark> (and license-encumbered.)
<paul_boddie> What they forget is that there was a vast amount of material produced before, during and after the BBC Micro shipped. What they've done is to ship the RPi (eventually) and then start talking about the materials. My impression is that Google has done a lot more in the past year or so to get educators involved in the new curriculum.
kilae has quit [Quit: ChatZilla 0.9.90 [Firefox 19.0/20130215130331]]
pcercuei has joined #qi-hardware
<wpwrak> paul_boddie: the nanonote is indeed very good for tinkering. but it would need stronger marketing for that. also, the ben's feature set is outdated, it has some annoying quirks (like a bad keyboard layout), and - worst of all - we never had full design control.
<wpwrak> paul_boddie: so the ben was very successful for getting something usable with an impressively small initial R&D effort, but it would have needed a follow-in product to capitalize on that achievement
<paul_boddie> wpwrak: I guess we'll have to see how that handheld Ingenic-based console (whose name I don't remember, but it was related to the Dingoo) works out.
<wpwrak> paul_boddie: M1 is too complex as a pure FPGA experiment device, but it seems that the competition in the intended field outclasses it in terms of effect quality and overall usability (including compatibility with state of the art infrastructure).
<wpwrak> paul_boddie: so main feature the M1 had over the competition was integration. but that's probably just not enough. perhaps it could have been more successful with better marketing, though.
<whitequark> marketing is too often overlooked :/
<paul_boddie> wpwrak: Yes, I think that people who know what they want probably just go straight for whatever that is, and people who aren't sure probably don't get an M1 just in case they don't get into FPGA-related stuff but need a VJ station.
<paul_boddie> Well, I think the M1 is a success if you compare it to that project whose goal was to make an open graphics card.
<wpwrak> whitequark: yeah. and we're not good at it, so we'd need external help. help that is likely to cost money.
<wpwrak> paul_boddie: the M1 is a nice demonstration of technological ability ;-) even if it's far from on par with any PC or even a smartphone, it accomplishes a lot considering the ridiculously small resources available for its development
<wpwrak> paul_boddie: but of course, that doesn't mean that it's actually a viable product
guanucoluis has joined #qi-hardware
jekhor has quit [Ping timeout: 252 seconds]
erikkugel has left #qi-hardware [#qi-hardware]
jekhor has joined #qi-hardware
<paul_boddie> I do think that the Arduino market is interesting in this regard, though. We're not talking about mass-market stuff, but there are a lot of vendors selling boards and accessories, although I would also point out that many of them probably don't really add very much value, even the ones making their own versions of boards.
<wpwrak> the market seems to be interestingly large. proves that such a thing can be successful.
<paul_boddie> People do seem to be willing to spend money on things that interest them and are presumably put to good use, but I think that there's probably a lot of trade on the basis of people liking the idea of doing a project and maybe having the time and energy to complete it, but also maybe not managing to do so.
<paul_boddie> The idea of unfinished "do it yourself" projects is a recurring joke in popular culture, and I think that it fits in quite well with that kind of hobbyist culture.
<wpwrak> yeah, a nanonote may look too much like a "serious" investment for that segment of the market
guanucoluis has quit [Ping timeout: 248 seconds]
<paul_boddie> There's probably an easily explained correlation between price and out-of-the-box usability. So, someone might be happy to spend $10 on a breakout board that may or may not give them an interesting project, but things like GPS boards for $50, say, and 802.11 on a board for $100 really need to be almost ready-made solutions (and have clear purposes).
jow_laptop has joined #qi-hardware
<wpwrak> not sure if it's so much the price or the appearance
<wpwrak> an arduino looks clearly rough and unfinished. a ben looks pretty and shiny.
<paul_boddie> The other thing that the electronics hobby vendors are good at is selling you stuff that you didn't know you needed, and by the time you do know you needed them, you feel committed and won't just drop everything and take up something else instead. ;-)
<wpwrak> heh :)
<wpwrak> of course, there would be something to be said for nice packages. e.g., nanonote plus UBBs plus components for experiments plus a little booklet explaining the experiments plus software to drive the things
<wpwrak> all this could still have a very low hardware cost. BUT ... you'd have to put time into creating the experiments.
<paul_boddie> Even if you started out with the Sparkfun starter pack (or whatever it's called), there's always going to be something else, although some of those packs are quite comprehensive.
<paul_boddie> Lots of LEDs in the box with whitequark in mind. ;-)
<wpwrak> oh sure. you can always add some special interest packages
<paul_boddie> Example of LED flashing plus Android: http://blog.tkjelectronics.dk/2013/01/bluetooth-controlled-rgb-light-strip/
<wpwrak> adding wireless is a problem
<paul_boddie> I think a lot of the sales are generated on the promise of interesting projects, but these need people to step up, and you do see a lot of unhappy people asking questions that the vendors don't answer.
<larsc> making the device wireless is not a problem, adding connectivity add the same time is ;)
<paul_boddie> An example of this is the Arduino shield I'm playing with for USB Host. It's a Sparkfun board derived from some guy's board where they point everyone to his site to get the library. I think I mentioned this before.
guanucoluis has joined #qi-hardware
<paul_boddie> So everyone looks to him to troubleshoot their projects despite them buying Sparkfun's board.
<wpwrak> larsc: yeah, a nice little decorative antenna is easy :)
<wpwrak> paul_boddie: the joy of outsourcing :)
<paul_boddie> Sparkfun are making their money on the "this will be so cool" factor without really saying what that might be.
<wpwrak> as long as it works ... :)
<wpwrak> once they have a reputation, they can start selling black boxes. no description of content, just a price tag.
<wpwrak> actually, apple could do that :)
wolfspraul has quit [Quit: leaving]
<whitequark> it looks the other way for me
<whitequark> sparkfun is selling components and tools, not finished, polished products
<whitequark> want an accelerometer? sure, here's one on a convenient board, with docs layout and such.
<whitequark> they aren't going to convince you that you indeed need an accelerometer for whatever
<paul_boddie> whitequark: Right, they make it easy to start but don't give you the whole product.
<whitequark> the "wow factor" from a polished look and nice description still persists, but that's just due to inexperience of an average buyer. I don't think this was deliberate on sparkfun's side and/or their fault
<whitequark> paul_boddie: digikey doesn't either!
<wpwrak> the joy of DIY is providing that missing link :)
<whitequark> and I would argue that it's actually very good!
<whitequark> for a DIY shop, of course, as wpwrak says.
<paul_boddie> It appeals to people like me who think that I might have fun playing with an accelerometer (which I have, actually), and can be tempted to buy the least inconvenient thing to get me started.
<whitequark> well, that, and because when people resort to DIY it's often because such a product does not exist or is too niché
<whitequark> paul_boddie: well, they for sure sell them cheaper than vendor development kits
<whitequark> like an order of magnitude, even if you consider shipping
<paul_boddie> If Sparkfun only offered the surface mount component, I wouldn't go back to their site, so they are providing a service that justifies the price tag.
<whitequark> and soldering a 3x3mm SMT accelerometer is anything but "fun" for me
<paul_boddie> Well, vendor development kits are probably just a way of you getting to know the vendor's salesforce while paying their salaries.
<whitequark> I mean, I know a guy who can attach *wires* to it
<whitequark> I have no clue if he had to do human sacrifice to achieve that ability or what
<whitequark> how is that even possible at all
<wpwrak> 3x3mm is pretty large :)
<whitequark> .5mm pfc-coated wires
<whitequark> or even .3mm
<whitequark> wpwrak: but you can't heat one pad without heating the entire device
<whitequark> and you are stretching it quite a bit ;)
<paul_boddie> He should be on that Stan Lee show featuring people with "superpowers".
dandon_ has joined #qi-hardware
<whitequark> it's indeed very small, even in the current industry status
<roh> sparkfun lives off big numbers
<roh> as in amounts, not money
<roh> lots of cheap devices built even cheaper.
<wpwrak> whitequark: why would heating the device a little be a problem ?
dandon has quit [Ping timeout: 272 seconds]
<whitequark> wpwrak: because the other wires will get desoldered
dandon_ is now known as dandon
<wpwrak> maybe you shouldn't use the large flamethrower then ;-)
<whitequark> and as .5mm pfc-coated wires are multiple-conductor ones, they have some internal tension
<whitequark> which moves them off the position they were in, detaching them from the pad or even worse
LunaVorax has quit [Remote host closed the connection]
<wpwrak> doesn't sound too messy. just a question of finding the right amount of heat.
<whitequark> I've had a 30W or so iron then, temperature-regulated
<whitequark> probably it's too much
<whitequark> well, understandably so, that's almost 3W per square millimeter :D
<wpwrak> the main factor should be the size of the solder drop you're going to deposit. the iron doesn't need to make contact. the thermal energy in the solder will do all the work.
<whitequark> wpwrak: not sure. surface tension forces resulted in the entirety of the solder drop of any size to be deposited all over the tip of the iron
<whitequark> note that a pad is something about 0.8x0.4mm there
<whitequark> you really need a very small amount of solder, and it's not easy to deposit it at all, much less cleanly
<wpwrak> well yes, just a tiny drop :)
<wpwrak> and if even this is too small, pre-tin the wire and touch it onto the pad. then timing and aim become important.
<wpwrak> of course, if you're really having such a hard time, then you may be better off making a pcb. soldering wires directly is meant to make it easier, not harder ;-)
<paul_boddie> I sense a challenge in the making.
* paul_boddie is, in any case, off.
paul_boddie has left #qi-hardware ["Kopete 0.10 : http://kopete.kde.org"]
<whitequark> wpwrak: it was much, much easier to just make a pcb.
<wpwrak> ah well. problem solved then :)
<whitequark> I mean, I just *love* slapping things on a masked, pre-tinned PCB and applying a hot air gun
<whitequark> it almost always works (except for when I'm too impatient or fail to distribute heat evenly.)
<whitequark> everything else--wires, laser-printer-gone-pcb-maker stuff--always failed me
<whitequark> the article http://queue.acm.org/detail.cfm?id=2443836 is funny
<whitequark> a view of FPGAs by an ignorant C developer, may I say
<whitequark> why exactly do we need chars, ints and longs (ints!) in an FPGA if we have integral types of parametric width?
<whitequark> also the suggestion to convert celsius to farenheit with floating point is hilarious
<whitequark> what a waste of resources
<whitequark> stop slapping C everywhere already.
<whitequark> it's correct in that the current EDA tools are crappy, though...
<larsc> stuck in the 90's
<whitequark> I guess we really need at least wolfspraul's work.
<whitequark> and, possibly, one more iteration after it...
<whitequark> (as with proprietary cc's/gcc/clang)
pcercuei has quit [Ping timeout: 244 seconds]
guanucoluis has quit [Ping timeout: 248 seconds]
jekhor has quit [Ping timeout: 264 seconds]
kuribas has joined #qi-hardware
kuribas has quit [Client Quit]