• What are you working on? May 2012
    2,222 replies, posted
[QUOTE=calzoneman;35876343]Implicit returns is an interesting idea. What happens if you just make a function that's a single line with a semicolon?[/QUOTE] returns Null :v:
AP CS part 2 was a complete joke, the only slightly difficult part was the time limit for part 1 with so many code segments to analyze.
[QUOTE=Perl;35876544]returns Null :v:[/QUOTE] shouldn't it rather return nil? Makes more sense imo
[QUOTE=W00tbeer1;35877023]AP CS part 2 was a complete joke, the only slightly difficult part was the time limit for part 1 with so many code segments to analyze.[/QUOTE] Welcome to AP CS. What was the part 2 this year?
[QUOTE=synthiackup;35874842]has nothing to do with porting to glsl. the 360 uses a different token stream format for compiled hlsl shaders. i ran into this roadblock while researching whether or not xna projects compiled for 360 were portable to windows. on the topic of ue3, shaders would be irrelevant if you also had to deal with custom native bindings in the game's scripts.[/QUOTE] Ah, I was unaware that they were in a different format. I assumed they were compiled like PC shaders, at which point that would have helped.
3D font rendering in LuaCraft, easy :D [img]http://img.luastoned.com/luacraft_3d_v3.png[/img]
[QUOTE=LuaStoned;35877651]3D font rendering in LuaCraft, easy :D [img]http://img.luastoned.com/luacraft_3d_v3.png[/img][/QUOTE] Is this the only font available? Or are there smoother fonts?
A company asked for some code samples. Not really sure what to send so I sent this. [B]Projects:[/B] [url]https://github.com/high6/LoLNotes[/url] ([URL="https://github.com/high6/LoLNotes/zipball/master"]Download Zip[/URL]) [url]https://github.com/high6/SpeedTest-Generator[/url] ([URL="https://github.com/high6/SpeedTest-Generator/zipball/master"]Download Zip[/URL]) [url]https://github.com/high6/HostScanner[/url] ([URL="https://github.com/high6/HostScanner/zipball/master"]Download Zip[/URL]) [url]https://github.com/high6/SwfExport[/url] ([URL="https://github.com/high6/SwfExport/zipball/master"]Download Zip[/URL]) [B]Samples:[/B] [URL="https://github.com/high6/SpeedTest-Generator/blob/master/SpeedTest%20Generator/SpeedTest/STApi.cs"]STApi.cs (SpeedTest-Generator)[/URL] [URL="https://github.com/high6/LoLNotes/blob/master/LoLNotes/Flash/BaseObject.cs"]BaseObject.cs (LoLNotes)[/URL] [URL="https://github.com/high6/SwfExport/blob/master/SwfExport/Program.cs"]Program.cs (SwfExport)[/URL] No idea what a company is looking for in code samples.
[img]http://i.imgur.com/CvkTr.png[/img] Machine code is so easy. I want to write a library that compiles an explicit mathematical function (e.g. y=x^2+5x) to a native function so that it can be executed very fast for drawing a graph or numerically solving it. The code you see above was my first attempt at trying to do something with the FPU. In a later stage, I may also implement SSE instructions as optimization. The library will work on both Windows and Linux, but will probably only support 32-bit.
Overv, you should try Sublime Text 2 on Ubuntu. Report back!
[QUOTE=jaybuz;35877991]Overv, you should try Sublime Text 2 on Ubuntu. Report back![/QUOTE] Good idea! I almost forgot it doesn't just run on Windows.
Microsoft have totally backpeddaled on VS11 [IMG]http://www.winsupersite.com/content/content/143017/old_and_new.jpg;pv48f123f857e25372[/IMG] [IMG]http://www.winsupersite.com/content/content/143017/color_borders.jpg;pv337dff9348c95230[/IMG] [IMG]http://www.winsupersite.com/content/content/143017/colorize.jpg;pvccf42f4937e5cdc5[/IMG] [URL]http://blogs.msdn.com/b/visualstudio/archive/2012/05/08/visual-studio-11-user-interface-updates-coming-in-rc.aspx[/URL] I actually quite like the look of it now
[QUOTE=CarlBooth;35878246]Microsoft have totally backpeddaled on VS11 [IMG]http://www.winsupersite.com/content/content/143017/old_and_new.jpg;pv48f123f857e25372[/IMG] [IMG]http://www.winsupersite.com/content/content/143017/color_borders.jpg;pv337dff9348c95230[/IMG] [IMG]http://www.winsupersite.com/content/content/143017/colorize.jpg;pvccf42f4937e5cdc5[/IMG] [URL]http://blogs.msdn.com/b/visualstudio/archive/2012/05/08/visual-studio-11-user-interface-updates-coming-in-rc.aspx[/URL] I actually quite like the look of it now[/QUOTE] Ow, all caps menu titles. I really wish they wouldn't do that. [editline]8th May 2012[/editline] Otherwise that [B]is[/B] pretty nice.
[QUOTE=esalaka;35878449]Ow, all caps menu titles. I really wish they wouldn't do that. [editline]8th May 2012[/editline] Otherwise that [B]is[/B] pretty nice.[/QUOTE] I agree but its better than the horrible mess they were going to give us I seriously want to punch whoever thought all grey with grey icons was a great idea
[QUOTE=CarlBooth;35878515]I seriously want to punch whoever thought all grey with grey icons was a great idea[/QUOTE] Isn't the whole point of Win8 Metro and grey icons [editline]8th May 2012[/editline] Ie. Windows 8 designers probably
Does it have intellisense? :v:
[QUOTE=jaybuz;35877991]Overv, you should try Sublime Text 2 on Ubuntu. Report back![/QUOTE] Geany is my favourite editor on Linux; I don't understand the Sublime hype.
[QUOTE=Overv;35877943][img]http://i.imgur.com/CvkTr.png[/img] Machine code is so easy. I want to write a library that compiles an explicit mathematical function (e.g. y=x^2+5x) to a native function so that it can be executed very fast for drawing a graph or numerically solving it. The code you see above was my first attempt at trying to do something with the FPU. In a later stage, I may also implement SSE instructions as optimization. The library will work on both Windows and Linux, but will probably only support 32-bit.[/QUOTE] I was thinking of compiling to glsl and rendering to a 1D buffer of the function values. Graphing would benefit from that sort of parallelism, and it wouldn't be difficult to get a parser or compiler spitting out glsl instead of an AST or bytecode. If I ever get back to my graphed I'll probably give that a go.
Wee! Submitted my first (completed) application for review on the Ubuntu Software Center: [IMG]http://i.imgur.com/DctNI.png[/IMG] Time to fix some mac specific bugs and submit it to apple. :smile:
[img]http://puu.sh/tGoX[/img] oh god what have I done
[QUOTE=esalaka;35878449]Ow, all caps menu titles. I really wish they wouldn't do that.[/QUOTE] This was their latest biggest complaint, and I thought it was pretty worthless feedback. The latest revision looks pretty solid now, and even before that it wasn't all that bad.
[QUOTE=COBRAa;35879066]Geany is my favourite editor on Linux; I don't understand the Sublime hype.[/QUOTE] It's compatible with Linux, Mac and Windows, as well as being in active development with short release cycles. It has tons of community support. It looks good and runs fast.
[QUOTE=Perl;35879685][img]http://puu.sh/tGoX[/img] oh god what have I done[/QUOTE] what the fuck
[QUOTE=swift and shift;35879763]what the fuck[/QUOTE] oh god turb the weird is spreading to other functionality
[QUOTE=Perl;35879834]oh god turb the weird is spreading to other functionality[/QUOTE] that's retarded though, just make the if statement evaluate to whatever the branch it took evaluated to
[QUOTE=W00tbeer1;35877023]AP CS part 2 was a complete joke, the only slightly difficult part was the time limit for part 1 with so many code segments to analyze.[/QUOTE] Completely agree. The first question was a single line? Seriously? The time limit got me on the first part though. I did the last few questions without checking my work over.
[QUOTE=swift and shift;35879868]that's retarded though, just make the if statement evaluate to whatever the branch it took evaluated to[/QUOTE] I don't think this is supposed to happen. [img]http://puu.sh/tGA6[/img]
[QUOTE=COBRAa;35879066]Geany is my favourite editor on Linux; I don't understand the Sublime hype.[/QUOTE] Geany seems really good, I'll start using that right away. Thanks!
Kate is the best editor I've used.
Does anybody use notepad++ or am I alone?
Sorry, you need to Log In to post a reply to this thread.