2012-11-23 00:05 kristianpaul: it will be difficult to practically help him 2012-11-23 00:05 does he speak chinese? how long is he here? does he just want to buy the slx9 or other things as well? 2012-11-23 00:06 can he navigate in beijing by himself? 2012-11-23 00:06 beijing is huge an inefficient, if you are new basically every little thing you want to do outside takes you a full day. after some time (even for Chinese), you can bring it down to "a few hours" 2012-11-23 00:07 most people will try to stay where they are and let courier services deliver stuff to them :-) but for that you need fluent Chinese to direct people on the phone about what to do... 2012-11-23 00:07 I can try to help but also a little hesitating to spend a whole day traveling around to help a foreigner buy a 10 USD chip :-) 2012-11-23 00:11 nope chinesee.. not that i know 2012-11-23 00:11 he ask me if i need something 2012-11-23 00:12 i said slx9 ;) 2012-11-23 00:12 to be honest i dont bet he would do it, but i have to give him the information 2012-11-23 00:13 dont help i'm betting him :D 2012-11-23 00:13 he will be another days i think 4 2012-11-23 00:13 and i guess want buy other stuff out of my concern 2012-11-23 00:14 huge an inefficient, :-/ 2012-11-23 00:14 wolfspraul: no please dont help ;) 2012-11-23 00:14 he can buy the slx9 off-the-shelf in a little booth not more than 100m from a subway exit 2012-11-23 00:15 huge and inefficient, like any well-run bureaucracy :) 2012-11-23 00:15 wpwrak: ;) 2012-11-23 00:15 BUT... which booth? which subway station and exit. and still need to make it through a gazillion of other confusing signs booths people etc. 2012-11-23 00:15 hehe 2012-11-23 00:16 there must be hundreds of places selling those in beijing, but tracking one down specifically requires some knowledge of locality. in china you would just use qq or phone/instant messaging, then track down the source or have them send to you (much easier) 2012-11-23 00:16 he is bit far looking at the map for chanpeig, beijing.. 2012-11-23 00:16 as I said - everything is far :-) 2012-11-23 00:16 not just he 2012-11-23 00:16 he traveld to visit some indutrial parks 2012-11-23 00:16 jaja 2012-11-23 00:16 parks may not be right word.. 2012-11-23 00:17 qq :) 2012-11-23 00:17 maybe inefficient is the wrong word. most people would have stuff delivered to them 2012-11-23 00:17 xiangfu gave some some data perhaps he could call it if know chinesse.. 2012-11-23 00:17 then you don't care how inefficient it is, because some poor guy will freeze off his fingers delivering the goods to you for 1-2 USD 2012-11-23 00:17 call the shop! 2012-11-23 00:18 not xianfgu =) 2012-11-23 00:18 yes exactly 2012-11-23 00:18 call, order, deliver 2012-11-23 00:18 exactly 2012-11-23 00:18 but - how to pay? how to talk on the phone? 2012-11-23 00:18 he 2012-11-23 00:18 ah, it's winter over there :) 2012-11-23 00:18 emeb has quit [Ping timeout: 260 seconds] 2012-11-23 00:18 chinese can pay from their phone in seconds, but a foreigner without cards/accounts/banks/etc will have trouble with those things 2012-11-23 00:18 ah good point 2012-11-23 00:18 hum hum 2012-11-23 00:18 how do you pay? 2012-11-23 00:18 phone? ;D 2012-11-23 00:18 i dont bet :) 2012-11-23 00:19 I keep myself out of those things 2012-11-23 00:19 anyway he just wanted to advertise me his recent travel 2012-11-23 00:20 but ok if I would have to I would set it up, as it's the only way to get things done fast 2012-11-23 00:20 so i ask for that.. lets see how it results 2012-11-23 00:21 ha if i could call and speak chinesse ;) 2012-11-23 00:21 anyway, hi ! 2012-11-23 00:21 did you looked and J1 forth cpu btw? 2012-11-23 00:22 yes sure 2012-11-23 00:22 that was a great pdf link 2012-11-23 00:22 if you add clock support and bram basically thats the shortest path to a working cpu i guess you tought that time ago :) 2012-11-23 00:22 great as in... 2012-11-23 00:22 'look' may be too much though, I just skimp over it and mentally file somewhere 2012-11-23 00:22 good reading or soemthing else 2012-11-23 00:22 ? 2012-11-23 00:22 well one by one 2012-11-23 00:22 I'm working towards the blinking led, right? 2012-11-23 00:22 yes 2012-11-23 00:22 shift register i remember? 2012-11-23 00:22 this version 2012-11-23 00:22 next* 2012-11-23 00:23 blinking led is not using a shift register 2012-11-23 00:23 but yes, those are missing too, same as tons of other things 2012-11-23 00:23 I had to do some more groundwork in recent weeks 2012-11-23 00:23 too bad, but ok, hopefully it will help in the long run 2012-11-23 00:24 but i will? (shift reg or any other eq counter implementation? ) 2012-11-23 00:24 you mean whether I will support it? 2012-11-23 00:24 of course, absolutely 2012-11-23 00:24 I want to support all of the chip's features 2012-11-23 00:24 and shift registers are quite high on the list 2012-11-23 00:24 ahmm 2012-11-23 00:24 but first the basic luts and clocks 2012-11-23 00:24 then bram, shift regs, jtag, spi, macc 2012-11-23 00:25 DocScrutinizer05 has quit [Read error: Connection reset by peer] 2012-11-23 00:26 DocScrutinizer05 has joined #qi-hardware 2012-11-23 00:26 ok 2012-11-23 00:30 kristianpaul: what do you like about the j1 cpu? 2012-11-23 00:30 any specific plans? 2012-11-23 00:31 emeb has joined #qi-hardware 2012-11-23 00:32 viric has quit [Ping timeout: 260 seconds] 2012-11-23 00:32 learn forth ;) 2012-11-23 00:32 no more plans 2012-11-23 00:32 i like things with single porpused 2012-11-23 00:32 well i used to that when programing microcontrollers... 2012-11-23 00:33 i like the most i dont need a fancy compiler 2012-11-23 00:33 viric has joined #qi-hardware 2012-11-23 00:33 is small and simpler 2012-11-23 00:34 and the closest thing i see you can implement with fpgatools :) 2012-11-23 00:34 panda|x201 has joined #qi-hardware 2012-11-23 00:34 ok but sounds like you are mostly wishing those things 2012-11-23 00:34 how can we bring it into reality? 2012-11-23 00:34 the fpgatools part yes 2012-11-23 00:34 one thing about forth seems to be that they are quite good at articulating something people may want 2012-11-23 00:34 the learning part i could, but yes for now is just a wishlit 2012-11-23 00:34 but where is the actual realization? 2012-11-23 00:34 "don't need a fancy compiler" 2012-11-23 00:35 sounds great 2012-11-23 00:35 haha 2012-11-23 00:35 but show me something that actually runs 2012-11-23 00:35 :-) 2012-11-23 00:35 maybe then it doesn't sound so great anymore that "you don't need a fancy compiler"? 2012-11-23 00:35 yes so that all reads well to me, but I want to make it run and do something - not just some fancy words 2012-11-23 00:36 i know what you mean... 2012-11-23 00:36 I want a computer that reads my mind and does what I want it to do 2012-11-23 00:37 then I only need one command "do" 2012-11-23 00:37 wouldn't that be cool? 2012-11-23 00:37 jaja 2012-11-23 00:37 I should write a paper about it... 2012-11-23 00:37 do! 2012-11-23 00:37 do! 2012-11-23 00:37 cool 2012-11-23 00:37 it's also perfect for kids 2012-11-23 00:37 emeb has quit [Ping timeout: 248 seconds] 2012-11-23 00:37 oh wait, kids mostly say "give me" or "I want" 2012-11-23 00:37 hmm 2012-11-23 00:37 okay to much coffe :) got it! 2012-11-23 00:38 lol 2012-11-23 00:38 nah I like the paper, but I want to know how to make it work 2012-11-23 00:38 so let's make it real, and if nothing real I will dump it :-) 2012-11-23 00:39 coffee yes, back to fpga switches... :-) 2012-11-23 00:47 guanucoluis has joined #qi-hardware 2012-11-23 00:49 Jay7x has joined #qi-hardware 2012-11-23 00:49 wolfspraul has quit [Ping timeout: 248 seconds] 2012-11-23 00:49 Jay7 has quit [Read error: Connection reset by peer] 2012-11-23 00:50 wolfspraul has joined #qi-hardware 2012-11-23 00:52 yuanyf has joined #qi-hardware 2012-11-23 00:53 yuanyf has left #qi-hardware [#qi-hardware] 2012-11-23 00:54 yuanyf has joined #qi-hardware 2012-11-23 01:18 yuanyf has left #qi-hardware [#qi-hardware] 2012-11-23 01:32 guanucoluis has quit [Ping timeout: 244 seconds] 2012-11-23 02:06 wctype has quit [Ping timeout: 245 seconds] 2012-11-23 02:11 nerd has joined #qi-hardware 2012-11-23 02:12 security has quit [Ping timeout: 252 seconds] 2012-11-23 02:14 nerd has quit [Client Quit] 2012-11-23 02:16 nerd has joined #qi-hardware 2012-11-23 02:16 nerd has quit [Changing host] 2012-11-23 02:16 nerd has joined #qi-hardware 2012-11-23 02:17 nerd has quit [Client Quit] 2012-11-23 02:17 nerd has joined #qi-hardware 2012-11-23 02:17 nerd has quit [Changing host] 2012-11-23 02:17 nerd has joined #qi-hardware 2012-11-23 02:21 nerd is now known as fire 2012-11-23 02:25 guanucoluis has joined #qi-hardware 2012-11-23 02:34 guanucoluis has quit [Ping timeout: 244 seconds] 2012-11-23 02:36 fire has quit [Changing host] 2012-11-23 02:36 fire has joined #qi-hardware 2012-11-23 02:45 fire has quit [Quit: WeeChat 0.3.9.1] 2012-11-23 02:45 nerd has joined #qi-hardware 2012-11-23 02:45 nerd has quit [Changing host] 2012-11-23 02:45 nerd has joined #qi-hardware 2012-11-23 02:51 xiangfu has joined #qi-hardware 2012-11-23 02:51 nerd has quit [Quit: WeeChat 0.3.9.1] 2012-11-23 02:59 nerd has joined #qi-hardware 2012-11-23 03:01 panda|x201 has quit [Ping timeout: 260 seconds] 2012-11-23 03:06 urandom__ has quit [Quit: Konversation terminated!] 2012-11-23 03:17 panda|x201 has joined #qi-hardware 2012-11-23 03:19 nerd has quit [Quit: WeeChat 0.3.9.1] 2012-11-23 03:19 nerd has joined #qi-hardware 2012-11-23 03:19 nerd has quit [Changing host] 2012-11-23 03:19 nerd has joined #qi-hardware 2012-11-23 03:26 jekhor has joined #qi-hardware 2012-11-23 03:28 nerd has quit [Quit: WeeChat 0.3.9.1] 2012-11-23 03:29 nerd has joined #qi-hardware 2012-11-23 03:33 nerd has quit [Client Quit] 2012-11-23 03:33 nerd has joined #qi-hardware 2012-11-23 03:40 nerd has quit [Quit: WeeChat 0.3.9.1] 2012-11-23 03:40 nerd has joined #qi-hardware 2012-11-23 03:40 nerd has quit [Changing host] 2012-11-23 03:40 nerd has joined #qi-hardware 2012-11-23 03:44 lekernel has quit [Ping timeout: 244 seconds] 2012-11-23 03:44 lekernel_ has joined #qi-hardware 2012-11-23 03:54 nerd has quit [Quit: WeeChat 0.3.9.1] 2012-11-23 03:55 nerd has joined #qi-hardware 2012-11-23 03:55 nerd has quit [Changing host] 2012-11-23 03:55 nerd has joined #qi-hardware 2012-11-23 03:58 uwe__ has quit [Ping timeout: 264 seconds] 2012-11-23 03:58 uwe_ has joined #qi-hardware 2012-11-23 04:03 DocScrutinizer05 has quit [Disconnected by services] 2012-11-23 04:03 DocScrutinizer05 has joined #qi-hardware 2012-11-23 04:07 nerd has quit [Quit: WeeChat 0.3.9.1] 2012-11-23 04:08 nerd has joined #qi-hardware 2012-11-23 04:20 pcercuei has quit [Quit: dodo] 2012-11-23 04:37 panda|x201 has quit [Ping timeout: 255 seconds] 2012-11-23 04:41 panda|x201 has joined #qi-hardware 2012-11-23 04:47 panda|x201 has quit [Ping timeout: 252 seconds] 2012-11-23 04:52 nerd has quit [Ping timeout: 260 seconds] 2012-11-23 05:02 nerd has joined #qi-hardware 2012-11-23 05:22 nerd has quit [Quit: WeeChat 0.3.9.1] 2012-11-23 06:15 rz2k has quit [] 2012-11-23 07:01 porchaso0 has joined #qi-hardware 2012-11-23 07:01 porchao has quit [Ping timeout: 260 seconds] 2012-11-23 07:35 jekhor has quit [Read error: Connection reset by peer] 2012-11-23 08:49 jekhor has joined #qi-hardware 2012-11-23 08:56 lekernel_ is now known as lekernel 2012-11-23 09:44 LunaVorax has joined #qi-hardware 2012-11-23 09:46 Hi 2012-11-23 09:49 nerd has joined #qi-hardware 2012-11-23 10:23 nerd has quit [Quit: WeeChat 0.3.9.1] 2012-11-23 10:28 jekhor has quit [Ping timeout: 252 seconds] 2012-11-23 10:33 GNUtoo-desktop has joined #qi-hardware 2012-11-23 10:48 GNUtoo has joined #qi-hardware 2012-11-23 10:50 nerd has joined #qi-hardware 2012-11-23 10:50 Jay7x is now known as Jay7 2012-11-23 10:51 nerd is now known as security 2012-11-23 10:57 urandom__ has joined #qi-hardware 2012-11-23 11:15 GNUtoo has quit [Quit: Program received signal SIGSEGV, Segmentation fault.] 2012-11-23 11:28 security has quit [Quit: WeeChat 0.3.9.1] 2012-11-23 11:28 nerd has joined #qi-hardware 2012-11-23 11:38 xiangfu has quit [Remote host closed the connection] 2012-11-23 11:42 LunaVorax has quit [Ping timeout: 245 seconds] 2012-11-23 12:51 writing compilers isn't all THAT hard. plus, who cares if it's fancy if it runs on a PC ? 2012-11-23 12:54 (writing compilers) that is, for a reasonably simple language. of course, if you want to beat gcc or llvm, there'll be some work involved 2012-11-23 12:54 writing _good_ compilers on the other hand is a different story 2012-11-23 12:57 yeah. but a simple one that lets you write code that blinks a led while a button is pressed or such things, and that doesn't have to be particularly efficient, would be quite simple. 2012-11-23 12:58 I'm currently taking the coursera compiler class, it's quite good imo 2012-11-23 12:59 https://www.coursera.org/course/compilers 2012-11-23 12:59 need to write the semantic checker tonight 2012-11-23 12:59 wirth's book on compiler design covers one such language quite nicely. i read the pascal-ish one. this seems to be an updated version: http://www.google.com/url?q=http://www.ethoberon.ethz.ch/WirthPubl/CBEAll.pdf&sa=U&ei=4HKvUKPRM46F0QHuuICAAg&ved=0CBUQFjAA&usg=AFQjCNGxDramddD3bwOYKYZmBKDggAp34A 2012-11-23 12:59 argh 2012-11-23 12:59 www.ethoberon.ethz.ch/WirthPubl/CBEAll.pdf 2012-11-23 13:00 * wpwrak hates google's uncopyable search results 2012-11-23 13:01 with 131 pages it's a refreshing difference from the other tomes usually sized like epic fantasy novels 2012-11-23 13:02 oh, and with yacc at your disposition, you get operator precedence basically for free. yet another one of the scary bits someone else is taking care of for you. 2012-11-23 13:06 i think the old one is "compilerbau". 118 pages :) 2012-11-23 13:22 wpwrak: I also hate them (search results) 2012-11-23 13:22 with a pdf, it gets specially annoying 2012-11-23 13:22 but I think they overcome that with javascript tricks, if you had javascript enabled :) 2012-11-23 13:26 jurting has joined #qi-hardware 2012-11-23 13:32 javascript is on, of course. there's very little that works without it :-( 2012-11-23 13:32 wpwrak, maybe use duck duck go then? 2012-11-23 13:33 that's an option, yes 2012-11-23 13:33 ah ok 2012-11-23 13:33 duckduckgo uses bing 2012-11-23 13:33 iirc 2012-11-23 13:34 it uses many things 2012-11-23 13:34 use seeks 2012-11-23 13:34 it probably uses a combinaison of bing, google, yahoo and its own stuff 2012-11-23 13:35 I'd say it uses bing, and only some times, it gives a special big link of its own cook 2012-11-23 13:36 * GNUtoo-desktop doesn't understand why what backend it uses is important 2012-11-23 13:38 I thought wpwrak meant *google* 2012-11-23 13:39 seeks will use google. 2012-11-23 13:44 GNUtoo-desktop has quit [Quit: [INFO] fsogsmd : received signal -11, exiting.] 2012-11-23 13:47 antgreen has joined #qi-hardware 2012-11-23 14:35 wej has quit [Ping timeout: 272 seconds] 2012-11-23 14:37 wej has joined #qi-hardware 2012-11-23 15:09 wpwrak: how does that work? (yacc doing operator precendence for you) 2012-11-23 15:09 I've always coded compilers by hand, but operator precendence is determined by how you write your grammar, not by how you code it 2012-11-23 15:10 I thought yacc takes something akin to EBNF as input; if so the operator precedence should be already determined in the input 2012-11-23 15:10 you tell yacc the precendence order and it will take care of it 2012-11-23 15:10 it has a more high-level input format that? 2012-11-23 15:11 s/that/then/ 2012-11-23 15:11 mth meant: "it has a more high-level input format then?" 2012-11-23 15:11 larsc: that's the dirty way 2012-11-23 15:11 mth: and yes, what i mean is the grammar 2012-11-23 15:12 well you use the precendence order to resolve ambiguities in your grammar 2012-11-23 15:12 larsc: you mean in your sloppy grammar :) 2012-11-23 15:13 keeps the grammar much simpler 2012-11-23 15:13 mth: e.g., a recursive-descent parser can't do proper operator precedence (without adding extra twists) 2012-11-23 15:14 you only need a look ahead of one symbol to be able to do it 2012-11-23 15:14 larsc: you have to think a little harder. but that's often a good thing :) 2012-11-23 15:14 wpwrak: I need to do the transformations that yacc does for me by hand 2012-11-23 15:15 mth: the grammar also has to have other certain properties 2012-11-23 15:16 larsc: and by doing this, you purge your grammar from "magic". makes it easier to resolve conflicts you'll run into later. 2012-11-23 15:16 I belive in magic ;) 2012-11-23 15:17 larsc: yes, but it is implementable with a recursive descent parser with a lookahead of just one, if your grammar satisfies those properties 2012-11-23 15:17 believe 2012-11-23 15:17 that one's the bad kind :) 2012-11-23 15:18 magic is great if it works, but as soon as it breaks down you'll be wishing you'd be dealing with something simpler 2012-11-23 15:18 iirc, you use the lookahead to resolve shift-reduce-conflicts 2012-11-23 15:18 if your grammar does not have any you can also use a parser with 0 lookahead 2012-11-23 15:20 it's been a while since I did compiler theory, but doesn't 0 lookahead put you somewhere on the level of regular expressions? 2012-11-23 15:22 or maybe not even that, just a finite state machine 2012-11-23 15:22 you have a stack don't you? 2012-11-23 15:24 what does lookahead 0 mean anyway? I guess that once you see the symbol you have to immediately consume it (no peek operation) 2012-11-23 15:31 iirc with lookahead of one you look at the next terminal symbol and based on that decide how to handle your current symbol 2012-11-23 15:31 with lookahead of zero you don't look at the next terminal, but just use your current symbol 2012-11-23 15:47 nerd is now known as megharsh 2012-11-23 16:10 by that definition you can even do operator precedence with a lookahead of 0 2012-11-23 16:15 jurting has quit [Ping timeout: 244 seconds] 2012-11-23 16:25 pcercuei has joined #qi-hardware 2012-11-23 16:45 wolfspraul has quit [Ping timeout: 252 seconds] 2012-11-23 16:45 heberth has joined #qi-hardware 2012-11-23 16:50 wolfspraul has joined #qi-hardware 2012-11-23 16:52 megharsh has quit [Read error: Operation timed out] 2012-11-23 17:08 megharsh has joined #qi-hardware 2012-11-23 17:44 emeb has joined #qi-hardware 2012-11-23 17:45 heberth has quit [Quit: leaving] 2012-11-23 17:54 jekhor has joined #qi-hardware 2012-11-23 18:05 erikkugel has joined #qi-hardware 2012-11-23 18:08 jekhor has quit [Ping timeout: 265 seconds] 2012-11-23 18:09 kristianpaul has quit [Ping timeout: 250 seconds] 2012-11-23 18:21 jekhor has joined #qi-hardware 2012-11-23 18:31 dandon_ has joined #qi-hardware 2012-11-23 18:33 dandon has quit [Ping timeout: 252 seconds] 2012-11-23 18:33 dandon_ is now known as dandon 2012-11-23 18:58 jurting has joined #qi-hardware 2012-11-23 19:32 kristianpaul has joined #qi-hardware 2012-11-23 19:32 kristianpaul has quit [Changing host] 2012-11-23 19:32 kristianpaul has joined #qi-hardware 2012-11-23 19:38 GNUtoo-desktop has joined #qi-hardware 2012-11-23 20:00 erikkugel has left #qi-hardware [#qi-hardware] 2012-11-23 20:11 LunaVorax has joined #qi-hardware 2012-11-23 20:48 wolfspra1l has joined #qi-hardware 2012-11-23 20:51 wolfspraul has quit [Ping timeout: 252 seconds] 2012-11-23 21:43 jekhor has quit [Ping timeout: 244 seconds] 2012-11-23 21:47 jurting has quit [Remote host closed the connection] 2012-11-23 23:07 porchao has joined #qi-hardware 2012-11-23 23:08 porchaso0 has quit [Ping timeout: 250 seconds] 2012-11-23 23:33 GNUtoo-desktop has quit [Quit: [INFO] fsogsmd : received signal -11, exiting.] 2012-11-23 23:51 wpwrak: you like tiny boards, check this http://keithp.com/blogs/MicroPeak/ 2012-11-23 23:54 they;re wasting a lot of space 2012-11-23 23:54 lol 2012-11-23 23:55 check backwards the battery socket 2012-11-23 23:55 yup. with the through-hole variant, the board could be smaller 2012-11-23 23:55 by some 4 mm 2012-11-23 23:57 ahm yes