• What Are You Working On? April 2015
    1,741 replies, posted
[QUOTE=Larikang;47563819]Possible candidate for most useless error message ever: [code]ERROR 2006 (HY000): MySQL server has gone away[/code] In other words: your query failed, but if you run it again it will work. But we won't run it again automatically because fuck you.[/QUOTE] It does seem that way, although it is a VERY useful thing for the function to simply fail if it doesn't work right away. Just because it might work later, doesn't mean it should just keep trying until it works. Or perhaps the developer doesn't WANT the application to succeed if a query is currently locked or busy or some shit, and just cache it for a later push.
[vid]http://files.1337upload.net/crouching_loop_final-ade1c2.webm[/vid] juicy crouching transitions
[QUOTE=Ziks;47563882]Basic car networking, needs some interpolation though: [vid]http://files.facepunch.com/ziks/2015/April/20/2015-04-20-1842-51.mp4[/vid] Road trip [vid]http://files.facepunch.com/ziks/2015/April/20/2015-04-20-1850-12.mp4[/vid][/QUOTE] So like... what's the point? I mean it's cool but... is this gonna make you guys money somehow? Or is this a personal project and not a Facepunch Official project
[QUOTE=proboardslol;47564100]So like... what's the point? I mean it's cool but... is this gonna make you guys money somehow? Or is this a personal project and not a Facepunch Official project[/QUOTE] This is just a personal hobby project Layla and I are working on, although it's open source so anyone can join in if they wish.
How far do you guys think you'll take it? It seems like you've done some really cool stuff with it so far, but GTA:SA has a lot to it.
[QUOTE=andrewmcwatters;47564120]How far do you guys think you'll take it? It seems like you've done some really cool stuff with it so far, but GTA:SA has a lot to it.[/QUOTE] We're probably not going to even attempt any of the single player stuff like mission scripts, cutscenes, AI etc, so we'll try to get just a basic deathmatch working and maybe let people script other multiplayer game modes.
That's very cool. Hope to see more in the coming weeks. You guys move pretty fast!
[QUOTE=proboardslol;47564100]So like... what's the point? I mean it's cool but... is this gonna make you guys money somehow? Or is this a personal project and not a Facepunch Official project[/QUOTE] Programming and development isn't about the [B][I]point[/I][/B]
[QUOTE=sarge997;47564242]Programming and development isn't about the [B][I]point[/I][/B][/QUOTE] Much like the scientists in Jurassic Park, we spend more time thinking about whether we [i]can[/i] do something than whether we [i]should[/i] do it, or indeed what larger purpose said thing might serve. As much as I dislike TBBT, [URL="https://youtu.be/WlGIxof7w5I?t=109"]this scene[/URL] covers it rather well.
Finished the first 100 countries. Slow going. Thought I'd celebrate by writing the parser. :) [img]http://imgur.com/mT7Uz6T.png[/img]
[QUOTE=Ziks;47564171]We're probably not going to even attempt any of the single player stuff like mission scripts, cutscenes, AI etc, so we'll try to get just a basic deathmatch working and maybe let people script other multiplayer game modes.[/QUOTE] [URL="http://puu.sh/hkV4x/289ea9bffb.png"]You better fucking not.[/URL] In other news, I have nothing to show but I've been learning the Roblox Lua API so that I can make money off of those rich, defenseless 8 year olds. Some dude made like $50,000 in like a month. Shit's lucrative.
[QUOTE=sarge997;47564242]Programming and development isn't about the [B][I]point[/I][/B][/QUOTE] it is for me fun, money, and fame (in that order) [editline]20th April 2015[/editline] [QUOTE=MilkBiscuit;47564604][URL="http://puu.sh/hkV4x/289ea9bffb.png"]You better fucking not.[/URL] In other news, I have nothing to show but I've been learning the Roblox Lua API so that I can make money off of those rich, defenseless 8 year olds. Some dude made like $50,000 in like a month. Shit's lucrative.[/QUOTE] THATTA BOY but make sure you're having [I]fun[/I] making money off those rich, defenseless 8 year olds, first [editline]20th April 2015[/editline] i took a peek at the thread for fez on tigsource, to see how it first developed and caught on. despite all my work on Grid, i'm not doing enough for VA. i need to pull away from the engine and work on my game i feel like i'm in a constant state of being pull in different directions [editline]20th April 2015[/editline] i feel really, really bad
You can have fun until you are faced with reality. Then fun is optional.
Since my GTA 5 doesn't work (keeps freezing/hanging every time I try to play) I got bored. So I made a tool to download albums from Flickr. The way it gets the images is probably a bit ... crude. But it works (at least the few tests I've done). Doesn't have any fancy gui either... [img]http://s.fearswe.net/Window-Windows%20Command%20Processor-2015-04-20-230730.png[/img] The page numbers at the start are all the album pages which it fetches all the image ids from. Once all pages has been done, it starts up a bunch of threads (Number of CPU cores x2)(min 2) and half of those go through the image ids to find the image urls, and the other half starts downloading them as soon as they are queued by the process threads. The downloader threads will run until the download queue is empty and the process threads are done. Should the queue be empty but the process threads are still running, it waits a bit and tries again. The ugly code can be found here [url]https://github.com/Fearswe/FlickrDownloader[/url] (I am aware there are a few spelling mistakes)
[QUOTE=Funley;47562532]Looking superiorly awesome! What's the song, by the way?[/QUOTE] Thanks! Virtual Riot - We never Sleep. From the There goes Your Money (awesome) album.
[QUOTE=Tamschi;47563711][URL="https://github.com/dotnet/roslyn/issues/2111"]Here's the solution[/URL], since we talked in FPP about this and found out it's a compiler bug. The C# 5 compiler in VS 2013 at least only makes the mistake once, but the new Roslyn compiler in VS 2015 CTP 6 emits two [I]box !!TEnumerator[/I] instructions. I assume it happens because the conditional choosing the disposal mode doesn't recognise the implicit conversion from [I]TEnumerator[/I] to its constraint [I]IDisposable[/I] (which would at the very least remove the null check, most likely a result of optimising out an [I]as IDisposable[/I]). [editline]edit[/editline] The exact same problem also occurs with [I]using[/I] blocks, at least in VS 2013.[/QUOTE] As it turns out there's a runtime optimisation that alleviates the issue with the null check, leaving only the boxed disposal in Roslyn. (Normally the check in a [I]foreach[/I] doesn't matter that much since you'd get a [I]NullReferenceException[/I] in either case. I suppose they want it to not construct two exceptions and to have it show up on [I]MoveNext()[/I] though.) [editline]21st April 2015[/editline] [QUOTE=Rocket;47565287]I found these in the Red Faction: Guerilla assemblies: [img]https://a.pomf.se/intcsn.png[/img] [img]https://a.pomf.se/ahzaiv.png[/img] I'm not a professional or anything but I think you're supposed to take those out of the Release build.[/QUOTE] The default C# compiler also writes one into the assembly if you build a PDB (which is pretty much the only way to analyse dumps from customers afaik, since compilers aren't all that deterministic). You can either disable PDBs or overwrite it with a hex editor if you want to remove it.
[QUOTE=gonzalolog;47563069]First time using a third party lib [IMG]http://i.imgur.com/KTe1F8z.jpg[/IMG] [sp]Why rant...Why![/sp][/QUOTE] Hmm, I should add one more error to make it a perfect thousand...
Finished the first version of my modem program. Very special thanks to Fourier (the fellow facepuncher and mathematician; not the dead mathematician) for his help with the math involved with finding the frequency of waves! Heres a video. [media]http://www.youtube.com/watch?v=DcLVlhXZb3U[/media] This is a demo of 2 programs I made. the first ("modulate") modulates binary files into signed 16 bit pcm 44100 sample rate wav files. Each 0 is converted into a 1200hz tone, and each 1 into a 2400hz tone. The second program demodulates the wave file back into a binary file, getting the frequency of 74-sample audio clips (2 periods of a 1200hz tone, or 4 periods 2400hz tone) and converting each bit back into a binary file. This is built off of the kansas city standard ( [url]http://en.wikipedia.org/wiki/Kansas_C[/url]... ) which originally was 300 baud, and was later improved to 1200 baud. 1200 baud is possible, but harder to implement with cassette tapes as a low quality tape deck (like mine) can decrease accuracy considerably if the reels do not spin at a consistent rate (like mine). I'm super excited about this! This is a project I've been wanting to do for about a year but was unsure of how to accomplish it. So I started learning C as hard as I could and now I finally did it! It's a measure of how much I've learned in a year, and it's the first real project I've finished AND added to github! Thank you facepunch! I've never seen such an active and personal community of developers and programmers who really know their stuff, and I feel like I've really learned a lot being here! That's why I chose the facepunch logo to be first file I tested it on available at [url]https://github.com/proboardslol/modem[/url]
[QUOTE=Berkin;47565625]Hmm, I should add one more error to make it a perfect thousand...[/QUOTE] I think 999 is where the compiler gives up. I mean, that's where I'd give up if I was a compiler [editline]21st April 2015[/editline] Or alternatively this will happen: [video=youtube;lhbHTjMLN5c]http://www.youtube.com/watch?v=lhbHTjMLN5c[/video]
can you picture a venn diagram containing people who have inflation fetishes, and people who enjoy compiler errors and a sliver of the population where those two intersect because now i can, thanks waywo
Well that only took all day. But it works! [img]http://imgur.com/nTIMZpM.png[/img] [editline]xxx[/editline] The Vatican is going to be hard as hell to infect, that is one insane GDP per capita.
[QUOTE=andrewmcwatters;47565870]can you picture a venn diagram containing people who have inflation fetishes, and people who enjoy compiler errors and a sliver of the population where those two intersect because now i can, thanks waywo[/QUOTE] Crossing another item off my [I]To-Do List of Obscure, Fucked-Up Thoughts[/I]...
[QUOTE=andrewmcwatters;47565870]can you picture a venn diagram containing people who have inflation fetishes, and people who enjoy compiler errors and a sliver of the population where those two intersect because now i can, thanks waywo[/QUOTE] Monty Python gave you an inflation fetish? :v: [editline]21st April 2015[/editline] [QUOTE=Berkin;47566047]Crossing another item off my [I]To-Do List of Obscure, Fucked-Up Thoughts[/I]...[/QUOTE] And Rant didn't cross all of them off for you?
[QUOTE=Trumple;47566208] And Rant didn't cross all of them off for you?[/QUOTE] How do you think I wrote the list in the first place?? :v:
[QUOTE=Rocket;47566316][t]https://a.pomf.se/hyzzap.png[/t][/QUOTE] This is why you're part of the team.
Hello. [video=youtube;09jdPIgiZqE]http://www.youtube.com/watch?v=09jdPIgiZqE[/video]
When your scrollable controls [I]won't fucking scroll[/I] unless you drag the bar itself... [vid]https://a.pomf.se/vkflkp.mp4[/vid]
[QUOTE=Rocket;47566316][t]https://a.pomf.se/hyzzap.png[/t][/QUOTE] That reads like poetry. Really weird poetry, but poetry nonetheless.
We finished our LD game! [vid]http://puu.sh/hlpVT/a0fd702b75.webm[/vid] [url]http://ludumdare.com/compo/ludum-dare-32/?action=preview&uid=7173[/url]
[img]http://i.imgur.com/6LyIHyW.png[/img] Porting Nox to Unity.
Sorry, you need to Log In to post a reply to this thread.