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
jurting has quit [Remote host closed the connection]
jurting has joined #qi-hardware
guanucoluis has joined #qi-hardware
<DocScrutinizer05> larsc: wpwrak: pcercuei: I wouldn't know how T F to read this. The comment about code obfuscation contest was pretty much to the point
<pcercuei> DocScrutinizer05: you program better when you understand things, that's why I asked
<DocScrutinizer05> you program best when you avoid by all means that stuff that nobody understands
<pcercuei> I disagree
<pcercuei> you program best when you avoid that sort of stuff, but you should understand why
<DocScrutinizer05> maybe because it's ambiguous nonsensical syntax?
<DocScrutinizer05> I don't need to know what ما نكح means to avoid it
<pcercuei> that's your opinion
<pcercuei> the thing in question was ((-1) >> 1)
<DocScrutinizer05> no, the ting in question been >>=
<DocScrutinizer05> which might make a decent parser segfault
<pcercuei> well that's the same
<DocScrutinizer05> I doubt '>>=' has any reasonable meaning in any language other than c, and even there it's extremely obfuscated
<pcercuei> why would it be?
<pcercuei> it's not more obfuscated than x += 1
<DocScrutinizer05> uhuh
<DocScrutinizer05> aaah, well then blame it to my poor C skills, you're right
<pcercuei> and as long as the Linux kernel's patch reviewing tool accepts it, I'll use it
dandon has quit [Quit: .]
<DocScrutinizer05> anyway, the syntactical shortcut <var1> <operator>= <var2>, for <var1> = <var1> <operator> <var2> tends to look ill-formed for operators that don't consist of a single char
<wpwrak> pcercuei: maybe C needs a unary >> and << as well ? like x = x+1; -> x += 1; -> x++; with shift x = x >> 1; -> x >>= 1; -> x>>; /* or similar */
<pcercuei> I don't think that one exists
<wpwrak> DocScrutinizer05: it's just a question of what you're used to. >>= and <<= are indeed relatively uncommon since incremental shifts often aren't expressed as such
<DocScrutinizer05> x>>> then
<DocScrutinizer05> or x>>>>
<wpwrak> pcercuei: i just made it up :)
<wpwrak> DocScrutinizer05: yeah, more consistent but a lot of >s
<DocScrutinizer05> hmm, x»» then
<DocScrutinizer05> makes for a nice x»=1 too
<DocScrutinizer05> x»=7 ;-D
<wpwrak> yeah. use a non-ascii character :)
<DocScrutinizer05> well, iirc in some language *) been a transscription of }
<DocScrutinizer05> pascal maybe?
<wpwrak> yup
<DocScrutinizer05> maybe /* is a transscription of italic-*
<DocScrutinizer05> who knows, maybe >> is a transscription of »
<wpwrak> to work around some ASCII-based character sets using { } [ ] etc. for umlauts or accented characters
<DocScrutinizer05> ;-P
<wpwrak> this is in fact a common transcription
<wpwrak> btw, C also has something like this. it's called "trigraph" and it's really pretty
* DocScrutinizer05 gasps
<wpwrak> (-:C
<DocScrutinizer05> I guess you learnt about that in your compiler building times?
<wpwrak> naw, i heard of it before. and quickly decided to ignore it :)
<DocScrutinizer05> a ??!??! b
<DocScrutinizer05> I honestly prefer begin; / end; instead of { / } over the concept that results in a ??!??! b
<wpwrak> naw, nobody uses trigraphs
<wpwrak> and begin/end is just too much typing
<DocScrutinizer05> and x = x >> 7 is also too much typing. well, not for me
<wpwrak> well, it may have started as an optimization help. when compilers were really dumb.
<DocScrutinizer05> otoh you frequently see fools typing stuff like bool b; if (b == true)
<DocScrutinizer05> when i'd get a penny for each "== true", "== false", "!= true", "!= false" my eyes had to read, I'd be rich
<wpwrak> or if (foo != 0) ...
<DocScrutinizer05> basically the same, but has at least a tiny bit of implicit documentation
<DocScrutinizer05> if C wasn't so broken by design, you'd actually need that. Only the friggin loose typing of C allows using an integer as a boolean
<DocScrutinizer05> it has it's advantages, sure
<DocScrutinizer05> its
<DocScrutinizer05> particularly all function returns which mean error if <0 and some different type if >0 or >=0
<DocScrutinizer05> otoh this is a botch of its own, a decent language would throw an error instead of return(E_FOO)
guanucoluis has quit [Remote host closed the connection]
<whitequark> c is a fancy macroassembler :)
<whitequark> btw, there are languages which allow all of >=, >>= and >>>=, the latter standing for arithmetic shift right.
wolfspraul has quit [Ping timeout: 256 seconds]
wolfspraul has joined #qi-hardware
GNUtoo-desktop has quit [Quit: [INFO] fsogsmd : received signal -11, exiting.]
wolfspraul has quit [Ping timeout: 248 seconds]
wolfspraul has joined #qi-hardware
xiangfu has joined #qi-hardware
urandom__ has quit [Quit: Konversation terminated!]
wolfspraul has quit [Ping timeout: 256 seconds]
wolfspraul has joined #qi-hardware
lekernel has joined #qi-hardware
lekernel__ has quit [Ping timeout: 246 seconds]
nerd has joined #qi-hardware
dandon has joined #qi-hardware
DocScrutinizer05 has quit [Ping timeout: 260 seconds]
DocScrutinizer05 has joined #qi-hardware
nerd has quit [Quit: WeeChat 0.3.9.2]
GunTheJury has joined #qi-hardware
<GunTheJury> I sure hope someone with a brain is here tonight...
Hoolxi has joined #qi-hardware
GunTheJury has quit [Remote host closed the connection]
xiangfu has quit [Ping timeout: 260 seconds]
Mistah_Darcy has joined #qi-hardware
Hoolxi has quit [Remote host closed the connection]
jekhor has joined #qi-hardware
pcercuei has quit [Quit: dodo]
rz2k has joined #qi-hardware
nerd has joined #qi-hardware
nerd has quit [Ping timeout: 265 seconds]
jekhor has quit [Read error: Operation timed out]
jekhor has joined #qi-hardware
rz2k has quit []
xiangfu has joined #qi-hardware
xiangfu has quit [Client Quit]
xiangfu has joined #qi-hardware
nerd has joined #qi-hardware
xiangfu has quit [Ping timeout: 245 seconds]
panda|x201 has joined #qi-hardware
xiangfu has joined #qi-hardware
xiangfu has quit [Quit: Leaving]
GNUtoo-desktop has joined #qi-hardware
urandom__ has joined #qi-hardware
xiangfu has joined #qi-hardware
Hoolxi has joined #qi-hardware
Hoolxi has quit [Remote host closed the connection]
xiangfu has quit [Ping timeout: 245 seconds]
guanucoluis has joined #qi-hardware
guanucoluis has quit [Ping timeout: 245 seconds]
<kristianpaul> 1000$ !!!
<kristianpaul> :-|
jekhor has quit [Ping timeout: 265 seconds]
<kristianpaul> (piksi)
jurting has quit [Remote host closed the connection]
nerd has quit [Quit: WeeChat 0.3.9.2]
nerd has joined #qi-hardware
jluis has quit [Ping timeout: 246 seconds]
nerd has quit [Quit: WeeChat 0.3.9.2]
pcercuei has joined #qi-hardware
rz2k has joined #qi-hardware
GNUtoo-desktop has quit [Remote host closed the connection]
jekhor has joined #qi-hardware
jluis has joined #qi-hardware
wej has quit [Ping timeout: 264 seconds]
wej has joined #qi-hardware
<wpwrak> kristianpaul: is the new printer working well ? :)
GNUtoo has joined #qi-hardware
GNUtoo has quit [Quit: Program received signal SIGSEGV, Segmentation fault.]
jekhor has quit [Ping timeout: 264 seconds]
GNUtoo has joined #qi-hardware
<kristianpaul> wpwrak: hah
<kristianpaul> a
Mistah_Darcy is now known as MistahDarcy
jekhor has joined #qi-hardware
nerd has joined #qi-hardware
rz2k has quit []
GNUtoo has quit [Ping timeout: 250 seconds]
GNUtoo has joined #qi-hardware
Jurting_pc2 has joined #qi-hardware
<wolfspraul> kristianpaul: what's interesting about that piski board?
<wolfspraul> piksi
<wolfspraul> 1000 USD?
jekhor has quit [Ping timeout: 264 seconds]
<wolfspraul> yes
<wolfspraul> I was wondering what is special about that board
<wpwrak> the samling rate seems unusually high
<wpwrak> s/samling/sampling
<qi-bot> wpwrak meant: "the sampling rate seems unusually high"
<wpwrak> at least for GPS
LunaVorax has joined #qi-hardware
<LunaVorax> Hi
<kristianpaul> not sure, i tought they opensourced their correlator but is to closed to dated
<kristianpaul> wpwrak: thats an usual sample rate for a IF ic that do not have separate phase and quadrature sampling
<kristianpaul> wpwrak: i guess you meant high that 3-bit, 16.368 MS/s ?
<kristianpaul> and 3 bits may be a plus for indoors aplications
<kristianpaul> wolfspraul: pehaps their libs but i dont find any else
<MistahDarcy> Is there still active development going on with the Ben Nanonote?
<wolfspraul> MistahDarcy: depends on how you define 'active'? :-)
<wolfspraul> what do you mean?
<wolfspraul> the software is definitely being maintained and we try to improve it
<MistahDarcy> That's what I mean... in a nutshell. lol
<MistahDarcy> Thanks
<wolfspraul> but there is no big new target/goal that I'm aware of, at the moment
<wolfspraul> all the main stuff works, music player, video player, etc.
<MistahDarcy> Nice. I'm considering getting one for the open hardware concept
<MistahDarcy> Between the nanonote or the Pandora, but I'm not entirely sure the pandora is open hardware?
<wolfspraul> openpandora didn't go as far as the nanonote in terms of trying to open up the whole thing
wej has quit [Ping timeout: 260 seconds]
<MistahDarcy> I see. Is the SPECTEC SDIO still the best option for Wifi?
wej has joined #qi-hardware
<wolfspraul> if you need wifi, get the openpandora :-)
<wolfspraul> (if you can, the op team is still working on their 4-year old list of prepaid preorders...)
<MistahDarcy> Yeah... their business model seems kind of sketch
<wolfspraul> we tried wifi on the nanonote and got it to work to a certain degree, but I cannot recommend that
<wolfspraul> well they try
wej has quit [Ping timeout: 264 seconds]