 | | Re: how does a line ends?
|
|
(...) I thought about using a static instead of ungetc() in the first version of readLine() that I posted. This means that you can only read from one open file at a time, but that is usually an OK restriction as long as the programmer is aware of (...) (19 years ago, 8-Apr-07, to lugnet.cad, FTX)
|
| |
 | | Re: Gig
|
|
(...) Thank you Jonathan, I will follow your suggestion. However what I would really like to do is this: (URL) Christian (19 years ago, 8-Apr-07, to lugnet.town, FTX)
|
| |
 | | Re: how does a line ends?
|
|
(...) As long as you only have one character to 'unget' you could probably speed it up by introducing a static char which holds the 'ungetted' char (or null), instead of going through ungetc() -- fgetc(). OTOH, the if-statement to check if there is (...) (19 years ago, 8-Apr-07, to lugnet.cad)
|
| |
 | | Technic Clock Tower Building with Electric Drive
|
|
I built a new version of my clock tower building for a recent train layout with (URL) NELUG>. The clock mechanism is built from 100% genuine LEGO and is driven by a 9V (RIS-style) motor powered from a train transformer at a bare minimum voltage. I (...) (19 years ago, 8-Apr-07, to lugnet.technic, lugnet.town, lugnet.trains, FTX) !
|
| |
 | | Re: Its starting to happen...
|
|
(...) snip The problem will get worst on BrickLink. As people or even new sellers find BrickLink and have 'no clue' about the color change. It make me wonder if BrickLink should add a 'warning' or 'disclaimer' about the color change for newbies. (...) (19 years ago, 8-Apr-07, to lugnet.color)
|
| |
 | | Re: NXT external storage
|
|
(...) It may work, but it will be very slow. The NXT runs the i2c ports at only 9600kb/s, so the data will trickle to the NXT very slowly. (...) I think that the answer is yes. (...) (19 years ago, 8-Apr-07, to lugnet.robotics.nxt)
|
| |
 | | Re: Its starting to happen...
|
|
(...) i will admit that i use the new brown quite a bit for several reasons but the new grey's "blays" are not usefull . it's not that i haven't tried to use the new grey's they simply just don't look right. the only signifagant use of the new greys (...) (19 years ago, 8-Apr-07, to lugnet.color)
|
| |
 | | Re: Its starting to happen...
|
|
(...) Hi, Baz. I was pretty upset when they launched the color change. It was the catalyst that pushed me away from the hobby for the last year or two. I still don't like the look of the new colors, and I hate the confusion of trying to keep the new (...) (19 years ago, 8-Apr-07, to lugnet.color)
|
| |
 | | Re: Its starting to happen...
|
|
I will not adopt the new colors. There was no justifiable reason for them to be changed. All the suggestions I've heard as to why just do not make sense to me from a business standpoint. I associate the old brown and gray colors with my childhood. (...) (19 years ago, 8-Apr-07, to lugnet.color)
|
| |
 | | Re: New Technic Ferrari?
|
|
(...) This is LEGO RACERS 8145 Ferrari 599 GTB Fiorano 1:10, due for release in August. Info at (URL) (19 years ago, 8-Apr-07, to lugnet.technic)
|
| |
 | | Its starting to happen...
|
|
Hi there, im first time writer, long time reader, Baz. I stayed quiet when Lego made the 'new' brown and grays. You all said what i was thinking. But. The other day I received a Lego part that was on Bricklink as Brown. Its reddish brown. So it (...) (19 years ago, 8-Apr-07, to lugnet.color)
|
| |
 | | Re: Inverse matrix?
|
|
The latest: (URL) (19 years ago, 8-Apr-07, to lugnet.cad.ray, lugnet.cad)
|
| |
 | | The Bastion of Garda Tur
|
|
Hey All, This was my main MOC for Brickfest. Gallery: (URL) you like it, comment and criticisms are always welcome. Josh (19 years ago, 8-Apr-07, to lugnet.castle, lugnet.announce.moc) !
|
| |
 | | Re: NXT BrickSorter - Sorting bricks with a HiTechnic colour sensor.
|
|
(...) Thx for the comments. The design as it stands right now would not allow the sorter unit to rotate all the way around - not a bad idea though. I wanted to challenge myself with the angle idea on the sorter itself (2 rows of cups). With larger (...) (19 years ago, 8-Apr-07, to lugnet.robotics.nxt, FTX)
|
| |
 | | Re: Inverse matrix?
|
|
(...) Well I'll be! That works too! Thanks you guys! James (19 years ago, 8-Apr-07, to lugnet.cad.ray, lugnet.cad)
|
| |
 | | Re: Inverse matrix? [DAT]
|
|
(...) Did you mean this: [ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ] [ 1 5 9 13 2 6 10 14 3 7 11 15 4 8 12 16 ] I have yet to try it. James (19 years ago, 8-Apr-07, to lugnet.cad.ray, lugnet.cad)
|
| |
 | | Re: Inverse matrix?
|
|
(...) I learned my matrix math from a 3d game programming book and I have no idea what the diagonals are... I was going to look it up but I got Travis' code to work! (URL) might still look it up as I may need to know about it) James (19 years ago, 7-Apr-07, to lugnet.cad.ray, lugnet.cad)
|
| |
 | | Re: Inverse matrix?
|
|
(...) I mean swap the OFF-diagonals, leave the diagonals as is. (...) (19 years ago, 7-Apr-07, to lugnet.cad.ray, lugnet.cad)
|
| |
 | | Re: how does a line ends?
|
|
(...) Interesting. I looked at the C runtime library sources that came with MSVC++ 6.0. The fgets() function there is definitely a little different than either yours or the one ROSCO linked. It does have a couple calls for thread safety, but (...) (19 years ago, 7-Apr-07, to lugnet.cad, FTX)
|
| |
 | | Re: Inverse matrix?
|
|
(...) Just take the transpose of the 3x3 world rotation matrix and it should work as the inverse. Transpose means swap diagonals M[1,2] <=> M[2,1] etc. If this doesn't work I've misunderstood you. Tim (19 years ago, 7-Apr-07, to lugnet.cad.ray, lugnet.cad)
|