[QUOTE=ThePuska;39157938]Someone should make a code minimap recorder. I mean these, but animated:
[img]http://i.imgur.com/pF0hZ.png[/img][/QUOTE]
The fuck is going on in that code tho
[QUOTE=supersnail11;39157971][url]http://tldrlegal.com[/url]
Answer to all your license questions.[/QUOTE]
This should probably be posted in the start of every thread, for whatever reason dumb people can't search.
[QUOTE=ThePuska;39157938]Someone should make a code minimap recorder. I mean these, but animated:
[img]http://i.imgur.com/pF0hZ.png[/img][/QUOTE]
Can we get a full-view of that? You know which part.
Got bored, made a base64 encoder.
[img]http://i.imgur.com/kK0xN.png[/img]
[QUOTE=T3hGamerDK;39158087]Can we get a full-view of that? You know which part.[/QUOTE]
[url]http://facepunch.com/showthread.php?t=1236566&p=39153799&viewfull=1#post39153799[/url]
[QUOTE=T3hGamerDK;39158087]This should probably be posted in the start of every thread, for whatever reason dumb people can't search.
Can we get a full-view of that? You know which part.[/QUOTE]
[CODE]if (count) {
/* There are still some bytes left.
* Load and XOR the next 16 bytes, but store only as many as are required.
* Note: this is a buffer overflow by design.
* It will not cause an access violation, because an aligned __m128 will never
* cross the page boundary, and it won't clobber the overflowed memory. */
const __m128i masks [15] = {
_mm_set_epi8(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255),
_mm_set_epi8(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255),
_mm_set_epi8(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255),
_mm_set_epi8(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255),
_mm_set_epi8(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255),
_mm_set_epi8(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255),
_mm_set_epi8(0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255),
_mm_set_epi8(0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255),
_mm_set_epi8(0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255),
_mm_set_epi8(0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255),
_mm_set_epi8(0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255),
_mm_set_epi8(0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255),
_mm_set_epi8(0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255),
_mm_set_epi8(0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255),
_mm_set_epi8(0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255) };
cur = _mm_load_si128((__m128i *)dst);
tmp = _mm_xor_si128(cur, kmask);
_mm_maskmoveu_si128(tmp, masks[count - 1], dst);
}[/CODE]
derp late
[QUOTE=mobrockers2;39158215][CODE]BORING[/CODE]
derp late[/QUOTE]
Nonono, WITH the colors, or else it's not artistic enough
[img]https://dl.dropbox.com/u/30829668/ShareXmod/2013-01/2013-01-09_20-50-33.png[/img]
[editline]9th January 2013[/editline]
oh wait that isn't the same, fuck
did you skip the lesson on for-loops
I'm quite fond of this, never seen anyone else do it like this before:
[video=youtube;oTxGtr8-M6k]http://www.youtube.com/watch?v=oTxGtr8-M6k[/video]
[media]http://www.youtube.com/watch?v=Zocw5L1ppfQ&feature=youtu.be[/media]
I feel like posting this means I will see a sharp rise in DOS attacks on my server...
[QUOTE=benjojo;39159085][media]http://www.youtube.com/watch?v=Zocw5L1ppfQ&feature=youtu.be[/media]
[b]I feel like posting this means I will see a sharp rise in DOS attacks on my server...[/b][/QUOTE]
Don't bother guys, I already tried and he blocked all my servers :(
Do you guys feel that Squirrel 3 is a fair replacement for Lua in terms of game scripting?
[editline]9th January 2013[/editline]
I'm trying to wrap it in a scripting "engine" (or whatever) in a tiny game development kit I'm working on.
[IMG]http://puu.sh/1LJMv[/IMG]
I can tell you, i'm proud of my tokenizer!
The tokenizer part is done, now i need to write the logic, define syntax and write default libraries.
You people can suggest LimeHash syntax if you want, i don't want that
this scripting language has anything in common with the Lime scripting language i've done before
because that one sucks terribly and i've _accidentally_ deleted it, all of the sources.
I've thought of something in between C# and Lua.
Suggest anything you like!
[IMG]http://puu.sh/1LLiX[/IMG]
Working on my space game again, treading the careful line between over engineering my engine and allowing flexibility for everything I want to do...
But anyway, today I started adding NPC ships and shields
[QUOTE=ThePuska;39155308]With strings of 2kb and above, it's two to four times faster.
One could probably optimize the function to reduce the overhead some more, making it faster for smaller strings. In particular, I think the alignment could be a lot faster, and GCC doesn't optimize the last array of constants as well as I'd hoped.[/QUOTE]
[url]http://pastebin.com/PpzAPL3A[/url]
I think it's about as good as it's gonna get
[url=http://i.imgur.com/E5g8u.png][img]http://i.imgur.com/zxajm.png[/img][/url]
[img]http://i.imgur.com/09fek.jpg[/img]
[url="http://www.thinkgeek.com/product/27f9/"]I love thinkgeek[/url]
[QUOTE=ief014;39161045][img]http://i.imgur.com/09fek.jpg[/img]
[url="http://www.thinkgeek.com/product/27f9/"]I love thinkgeek[/url][/QUOTE]
just get a regular glass and some stickers, save yourself lodesmone.
[QUOTE=BlkDucky;39161269]just get a regular glass and some stickers, save yourself lodesmone.[/QUOTE]
no
It was a late christmas present, I'm grateful :(
I have no problem with being given expensive thinkgeek products :v:
> I'm currently working on C# tutorials, having never programmed in my life.
I so far do vars, math, input, if statements, switches and looping.
Feels good, I'm enthusiastic!
i'd never want to be given a thinkgeek product because it means that the person who gave it to me thinks im a loser :(
[QUOTE=ief014;39161045][img]http://i.imgur.com/09fek.jpg[/img]
[url="http://www.thinkgeek.com/product/27f9/"]I love thinkgeek[/url][/QUOTE]
Wow, such a clever glass!
[QUOTE=ief014;39161045][img]http://i.imgur.com/09fek.jpg[/img]
[url="http://www.thinkgeek.com/product/27f9/"]I love thinkgeek[/url][/QUOTE]
Ironically there isn't any head on it...
-edit-
jokes are forever not my thing
[QUOTE=Downsider;39161677]i'd never want to be given a thinkgeek product because it means that the person who gave it to me thinks im a loser :([/QUOTE]
Naw, people at school see me 'programming' calculators on my school laptop they think I'm a l337 hax0r.
[QUOTE=Two-Bit;39162551]Naw, people at school see me 'programming' calculators on my school laptop they think I'm a l337 hax0r.[/QUOTE]
color 0a
reg query hklm /s
instant hacker
Just wrote my first number guessing game.
Baby steps! :v:
[QUOTE=Brandy92;39162841]Just wrote my first number guessing game.
Baby steps! :v:[/QUOTE]
What language?
[QUOTE=Two-Bit;39163072]What language?[/QUOTE]
C#
He's said that he was learning it something like 5 times in the last few pages.
[QUOTE=chimitos;39163169]C#
He's said that he was learning it something like 5 times in the last few pages.[/QUOTE]
You pay attention haha.
[QUOTE=ThePuska;39160636][URL]http://pastebin.com/PpzAPL3A[/URL]
I think it's about as good as it's gonna get
[/QUOTE]
You don't need that big else after if (count < 1024).
Sorry, you need to Log In to post a reply to this thread.