Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Adriweb

Pages: 1 ... 8 9 [10] 11 12 ... 115
136
Community Contests / Re: Code Golf Contest #10
« on: September 16, 2014, 02:36:23 pm »
Ha, I didn't notice I had 42 points.
I guess I have to stick with this awesome number, now :D

137
Community Contests / Re: Code Golf Contest #9
« on: September 16, 2014, 12:16:17 am »
BTW, optimization for (Nspire)-Lua based on LDStudio's code  ( 2 bytes less, 32 total )

Code: [Select]
s=string.byte print(s"\r"..s"%")

138
Community Contests / Re: Code Golf Contest #10
« on: September 15, 2014, 11:21:46 pm »
Nspire-Lua :

66 bytes for this (black and white) :


82 with varying shades of blue (we can't really see but yes, it's different) :


83 for a little bit visually distinct :


84 for visually ""very"" distinct colours :


What's submittable among that ?

139
Community Contests / Re: Code Golf Contest #10
« on: September 15, 2014, 10:18:59 pm »

140
Community Contests / Re: Code Golf Contest #9
« on: September 11, 2014, 11:03:28 am »
Men, CJam is """cheating""". Got 4 chars too :P

141
Community Contests / Re: Code Golf Contest #9
« on: September 09, 2014, 02:01:47 am »
Got a 32 bytes one in Lua.
I didnt put much time into it though.

142
Lua / Re: Nspire-Lua IDE : plugin for Intellij IDEA
« on: September 03, 2014, 04:23:37 pm »
I tried this again, a year later with IntelliJ 13.1.4 and the process seems to be even more convoluted than before. IntelliJ itself has seemed to turn more Eclipse like focusing on Java and stuff.
Well, Intellij IDEA is a Java IDE. But supports some plugins making it capable of handling other languages.

I had to restart after installing the Lua plugin.
Yes, after each plugin install, you have to restart the IDE.

Then after adding the nspireLua API library. It wouldn't detect auto-complete when I tried to type "function on." However it seemed to work for "timer", and other single words.
Hum, that works for me :


What doesn't really work is gc: autocompletion (or any class instance I believe).
In fact, for gc autocompletion, it works if you don't put "gc" as parameter in the function you're in, while you're coding it (when you're done, obviously put it back) :


Fetching documentation (Ctrl+Q) does not retrieve from inspired-lua wiki (Unless the wiki page has no info?)
That used to work... I'll take a look at what changed/broke.

143
If I was you I would switch to a more modern environment like GCC4TI, although I think it only does C, not ASM.
It does ASM ;)
( if you look at https://github.com/debrouxl/gcc4ti/tree/next/trunk/tigcc/archive , tigcc.a is created from ASM files (.s), with GCC4TI )

But it does not produce FlashApps, though.

144
Community Contests / Re: Code Golf Contest #8
« on: September 01, 2014, 12:53:13 pm »
so, convieniently palindromic for letters, it'd be for "b" and "d", and "p" and "q" ? (also symetrical letters in themselves like "i", "l", "o", "v", "w", "x")

For example : b(][)d is conviniently palindromic, but not b(][)b

Looks harder if we have to handle chars different than brackets :P

145
Community Contests / Re: Code Golf Contest #7
« on: August 30, 2014, 09:13:48 pm »
which is why we are all wondering what's the magic/crazy-thing/rule-bending behind the 3-4 bytes entry ;)
But I guess we can wait for another day until this challenge is over.

146
Community Contests / Re: Code Golf Contest #7
« on: August 30, 2014, 11:26:06 am »
Oh I know, but that's for the future challenges. You may want to include the link in the rules, it can't hurt.
(but a lot of them can't apply for calc languages anyway)

147
Community Contests / Re: Code Golf Contest #7
« on: August 30, 2014, 09:34:16 am »
something like naming the file with a weird name such that it's actually code and the few chars in the file just call it ? :D

If so, you should make all future challenges comply to the no standards loopholes rules ;)

148
Community Contests / Re: Code Golf Contest #7
« on: August 29, 2014, 09:34:03 pm »
I could imagine some trolly rules bending, but in a few more chars than 4 ... so IDK yet :P

149
Community Contests / Re: Code Golf Contest #7
« on: August 28, 2014, 08:05:52 am »
Hum, no, I was rather thinking like being able to do :
Code: [Select]
if a>b c=3;a=b>3?4:5 etc. which would then translate into lua :
Code: [Select]
if a>b then c=3 end a=b>3 and 4 or 5But meh, I don't really have much time right now :p

150
Community Contests / Re: Code Golf Contest #7
« on: August 27, 2014, 08:44:03 pm »
Lately, I've thought o fmakinga Lua "preprocessor" thingy/language that would feature much shorter things but in the end it would be run as Lua.
It might be called GolfLua, who knows (any idea ? :P)

Pages: 1 ... 8 9 [10] 11 12 ... 115