* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Recent Posts

Pages: [1] 2 3 ... 10
1
Sorcery of Uvutu (TI-84+/CSE) / Re: Sorcery of Uvutu (Released!)
« Last post by 123outerme on Today at 08:30:54 pm »
Sorcery of Uvutu PC or sequel? O.O
I was thinking port first, then probably sequel if I can stomach it. I hope that I create another great mapmaking tool, since so far, in this upcoming screenshot (which I'm gonna make a whole new topic about) I blend CSE tiles with monochrome map storage. That decision will probably make it harder to port maps from the CSE (since I have to copy every tile by hand instead of winging it).


Screenshot courtesy of the Windows 10 Xbox app, so all my Xbox friends can see what a huge nerd I am.

I tell you, the hardest part was figuring out how to make a file reader read my map storage format. I spent a good 1.5 or 2 hours putting it together so it can read maps out of a txt file, and it can't even read multiple lines yet! It's some crazy code right now, and if anyone wants to see the code stuff I'm most proud of doing, feel free to ask. I also show off the text box I'll probably use (although I'll add borders and stuff later) and TI's (copyrighted?) font. I also added a % to the font (not that I needed it here, it was for another project), so technically? it's my font (probably not).
2
General Help & Troubleshooting / Re: Mein new computer
« Last post by gameblabla on Today at 07:58:18 pm »
Why are all product names made of numbers? ???
Actually Gigabyte Geforce 780 Windstorm 3X is not even the product's codename.
It's GV-N780OC-3GD 2.0 in this case :DDD

The processor performs very well in Linux (i'm using a custom Devuan distribution with JWM+lxpanel) and the GPU is also surpringly
silent despite the fact it can quickly become hot at high frequencies.
Yes, even the CPU is quite silent.
3
Contests / Re: Unofficial Codewalrus Contest #1
« Last post by _iPhoenix_ on Today at 05:53:39 pm »
Time limit extended until the 9th of September until further notice.
4
Contests / Re: Code Golf Contest: The Pythagorean Problem
« Last post by c4ooo on Today at 05:22:35 pm »
Depending of the language you use, it is possible to check if your integer is an integer. As in, you can cast your float into an int, if it didn't lost information it's an integer.
Yep. In a float, the first byte is almost always a signed exponent, so as long as it is >=0 its an integer (unless I got something mixed up). This should be useful if someone does the challenge in assembly.

thats not true, because the mantissa (other part of the float) is a fraction part: (1/16 + 1/8)*2^3 is 1.5, but it still has a positive exponent.
Instead you could check if the mantissa is clone enough to zero: if its smaller than 0.00001 for example is probably an integer.
Ohh well it works for tios floats. In my monochrome CE wrapper demo I had to convert floats to integers and I checked if the first byte was zero or one (meaning the float had one or two digits, respectively), and everything else was Out of bounds. But tios floats use BCD so I guess its a but different.
5
Contests / Re: Code Golf Contest: The Pythagorean Problem
« Last post by Juju on Today at 05:03:40 pm »
you havent updated the standings yet, juju
Ah yeah, forgot yours, thanks.
6
General Help & Troubleshooting / Re: Mein new computer
« Last post by xlibman on Today at 04:26:26 pm »
Why are all product names made of numbers? ???
7
Site News & Announcements / Re: The end of CodeWalrus?
« Last post by xlibman on Today at 04:24:07 pm »
By some random luck, I had glanced at IRC a few days ago when this was said:
Quote
[2017-08-12 23:22:24] <KermPhD> Oh look, Cemetech ads are still on CodewWalrus.
[2017-08-12 23:22:28] <KermPhD> All from my original $5.
[2017-08-12 23:22:29] <KermPhD> <3
[2017-08-12 23:22:31] <geekboy> lol
[2017-08-12 23:22:34] <KermPhD> Money well spent.
Ah that clarify things.I thought it was PT because one of his messages a few weeks ago hinted that it was PT but he was most likely joking:P
8
Sorcery of Uvutu (TI-84+/CSE) / Re: Sorcery of Uvutu (Released!)
« Last post by xlibman on Today at 03:52:51 pm »
Sorcery of Uvutu PC or sequel? O.O
9
Other / Re: Bakura's nasty secret
« Last post by xlibman on Today at 03:51:36 pm »
Wrong sub-forum <_<

But yea, I see his preferences now
10
Contests / Re: Code Golf Contest: The Pythagorean Problem
« Last post by Snektron on Today at 02:51:35 pm »
Depending of the language you use, it is possible to check if your integer is an integer. As in, you can cast your float into an int, if it didn't lost information it's an integer.
Yep. In a float, the first byte is almost always a signed exponent, so as long as it is >=0 its an integer (unless I got something mixed up). This should be useful if someone does the challenge in assembly.

thats not true, because the mantissa (other part of the float) is a fraction part: (1/16 + 1/8)*2^3 is 1.5, but it still has a positive exponent.
Instead you could check if the mantissa is clone enough to zero: if its smaller than 0.00001 for example is probably an integer. I think most is_integer() functions will work this way.

My solution actually uses this:
Code: [Select]
#define mainImage(O, U)O+=sign(fract(length(U-.5)))O is the output color, U is the input coodinate plus 0.5. length() is just sqrt(U.x*U.x + U.y*U.y).
fract takes the fraction part of the float (the mantissa). Sign(x) returns -1 if x < 0, 0 if x == 0 and 1 if x >0. I think the sign function internally also compares x to some small value.
Pages: [1] 2 3 ... 10

You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games