• What are you working on? November 2015
    964 replies, posted
Anyone got a clue how a single-threaded C program can utilize a 100% of my multi-core CPU? This is super weird.
[QUOTE=Berkin;49057168]I'm working on randomly generating criminal records, so I made a simple crime name generator to start off. Each crime has a severity rating that determines how serious the crime is. This will have effects on the citizen's behavior and how people/cops treat them. [img]http://i.imgur.com/8uGgvSV.png[/img][/QUOTE] Is the severity rating randomly generated? It'd be nice if you had a set of keywords that influenced the rating of the crime.
[QUOTE=Darwin226;49062611]Anyone got a clue how a single-threaded C program can utilize a 100% of my multi-core CPU? This is super weird.[/QUOTE] Tell us more, can you see the source? Is it inside virtual machine? Windows? Linux? It indeed is weird.
[QUOTE=tW4r;49061647]Could you comment on how are you achieving this, I would love to mess with LDD importing and Unity3D[/QUOTE] I reverse-engineered the LDD model format. I'm not going to distribute the spec that I've derived, however, as I believe people have had legal issues with making the LEGO brick geometry public before. Given that I'm basically employed by LEGO (not quite but we work in close partnership), I'd rather not rock the boat on that front.
[QUOTE=Ziks;49062283][noparse][vid]http://files.facepunch.com/ziks/2015/November/06/2015-11-06-1622-07.mp4[/vid] [vid]http://files.facepunch.com/ziks/2015/November/06/2015-11-06-1627-09.mp4[/vid][/noparse] Put a camera rig in an old side project Layla and I were working on a few months ago[/QUOTE] Please make it so you have to shoot yourself in the head if you want to quit the game :v:
Forgot to use glUseProgram() for the shader, so that's why my model wasn't being animated :v: finally got everything working right though. [vid]http://zippy.gfycat.com/ComfortableMistyBlackbird.webm[/vid] CamStudio blows but at least I figured out how to make webms
[QUOTE=The Inzuki;49063759]Forgot to use glUseProgram() for the shader, so that's why my model wasn't being animated :v: finally got everything working right though. -snip- CamStudio blows but at least I figured out how to make webms[/QUOTE] use ShareX and ffmpeg
[QUOTE=The Inzuki;49063759]Forgot to use glUseProgram() for the shader, so that's why my model wasn't being animated :v: finally got everything working right though. [vid]http://zippy.gfycat.com/ComfortableMistyBlackbird.webm[/vid] CamStudio blows but at least I figured out how to make webms[/QUOTE] Are you using [url]http://ogldev.atspace.co.uk/[/url] to learn? I started reading there a bit but I found learn [url]http://www.learnopengl.com/[/url] much better at explaining, however I am pretty stupid. So might just be that. :v:
[QUOTE=Tamschi;49061826]How about [t]https://dl.dropboxusercontent.com/u/5013896/forum/Facepunch/Programming%20WAYWO/11.2015/Free%20Pascal.png[/t]? (I just installed that for uni. It's actually kind of decent as far as CUIs go, and comes with a step-through debugger.)[/QUOTE] IDA has a pretty baller CUI [editline]6th November 2015[/editline] [QUOTE=Zyx;49063740]Please make it so you have to shoot yourself in the head if you want to quit the game :v:[/QUOTE] i mix you and ziks up a lot
[QUOTE=Fourier;49063519]Tell us more, can you see the source? Is it inside virtual machine? Windows? Linux? It indeed is weird.[/QUOTE] Yeah, sure, you can check it out. [url]https://gist.github.com/LukaHorvat/ed766e1fc7f82678627a[/url] I'm running it on Windows. You'll need BLAS if you want to compile it. [editline]6th November 2015[/editline] It takes the number of threads as a command-line parameter. Giving it 1 uses up all the cores.
[QUOTE=CommanderPT;49063776]Are you using [url]http://ogldev.atspace.co.uk/[/url] to learn? I started reading there a bit but I found learn [url]http://www.learnopengl.com/[/url] much better at explaining, however I am pretty stupid. So might just be that. :v:[/QUOTE] I'm using [url]http://www.learnopengl.com/[/url] since it explains stuff way easier, ogldev got very confusing as its code snippets were very out of place.
[QUOTE=The Inzuki;49064015]I'm using [URL]http://www.learnopengl.com/[/URL] since it explains stuff way easier, ogldev got very confusing as its code snippets were very out of place.[/QUOTE] Same as me then. I assumed you used the other since that model shows up in ogldev's tutorials. No model loading for me just yet. Still bashing my head into my keyboard trying to draw two triangles at once. Shit is getting advanced over here. [B]Edit:[/B] [img_thumb]http://pahlavan.se/dump/2015-11-06_22-28-52.png[/img_thumb] :joy:
Call me crazy, but I'm actually starting to like working on my inventory system. Now that I can understand it, it's simple. [I]Relatively..[/I] I implemented a proper crafting system, with basic categories. And highlights that display the requirements to craft each item. The sounds are delayed a tiny bit due to the recorder. :glare: [vid]https://my.mixtape.moe/kuhjte.mp4[/vid]
[QUOTE=HumbleTH;49062916]Is the severity rating randomly generated? It'd be nice if you had a set of keywords that influenced the rating of the crime.[/QUOTE] It's influenced by keywords. For example, the "felony" keyword has a very heavy multiplier, while "misdemeanor" reduces it.
printf from a cuda kernel is the best thing ever.
[QUOTE=Tamschi;49061826]How about [t]https://dl.dropboxusercontent.com/u/5013896/forum/Facepunch/Programming%20WAYWO/11.2015/Free%20Pascal.png[/t]? (I just installed that for uni. It's actually kind of decent as far as CUIs go, and comes with a step-through debugger.)[/QUOTE] I also just installed this because of a project. I decided I hate Pascal and will never touch it again, though.
I just had the first donation I've ever had the other day. I have never asked for donations but he went out of his way to [url=http://farmpolice.com/content/images/22f09abc.png]contact me[/url] to figure out how to send me money. It really meant a lot to me, and convinced me to start asking for donations. Have any of you thought about asking for donations? Or what's your opinion on it? I feel fucking awful even having a tiny button on the readme for some reason, despite pouring so much work into the projects.
[QUOTE=Naelstrom;49068183]I just had the first donation I've ever had the other day. I have never asked for donations but he went out of his way to [url=http://farmpolice.com/content/images/22f09abc.png]contact me[/url] to figure out how to send me money. It really meant a lot to me, and convinced me to start asking for donations. Have any of you thought about asking for donations? Or what's your opinion on it? I feel fucking awful even having a tiny button on the readme for some reason, despite pouring so much work into the projects.[/QUOTE] You don't have to ask for donations, you can just offer the option. No harm in doing that.
[QUOTE=Naelstrom;49068183]I just had the first donation I've ever had the other day. I have never asked for donations but he went out of his way to [url=http://farmpolice.com/content/images/22f09abc.png]contact me[/url] to figure out how to send me money. It really meant a lot to me, and convinced me to start asking for donations. Have any of you thought about asking for donations? Or what's your opinion on it? I feel fucking awful even having a tiny button on the readme for some reason, despite pouring so much work into the projects.[/QUOTE] You made that guy's day! Good job. Personally, I have nothing against people asking for donations. I have a donate button on Rant's page, but I don't actively ask for money. I just put it there for anyone who feels so inclined. I'd feel bad to explicitly ask. I think a donation option is a good thing for creators to provide, just in case. Why not? I've never received a donation to this day, but you truly never know.
[QUOTE=Berkin;49068216]You made that guy's day! Good job. Personally, I have nothing against people asking for donations. I have a donate button on Rant's page, but I don't actively ask for money. I just put it there for anyone who feels so inclined. I'd feel bad to explicitly ask. I think a donation option is a good thing for creators to provide, just in case. Why not? I've never received a donation to this day, but you truly never know.[/QUOTE] I actually checked your github page earlier for a donation button, but when I didn't see one I was almost dissuaded entirely! You might want to fix that. I feel a lot better now though, thanks guys.
I started working on a facepunch mobile reader, because navigating through fp my my phone is a nightmare and I wanted to learn some Xcode. There isn't much to say at this stage as I am trying to figure out how to use a parser's API. But I have temp data and it seems to work fine. [VID]https://my.mixtape.moe/xnxryr.mov[/VID] Any criticism is greatly appreciated. I also really don't know how the GUI is gonna work, so the video shows a mock-up (to reply to a post you tap on the post and a gui comes up, I forgot to show it :v:) [sp] it would probably be free when it's done [/sp]
[QUOTE=Exploderguy;49068303]apps[/QUOTE] Will the curse claim another victim?
[QUOTE=Exploderguy;49068303]please god no[/QUOTE]run now.
The android one actually seems to be coming along nicely
[QUOTE=Exploderguy;49068303]I started working on a facepunch mobile reader, because navigating through fp my my phone is a nightmare and I wanted to learn some Xcode. There isn't much to say at this stage as I am trying to figure out how to use a parser's API. But I have temp data and it seems to work fine. -vid- Any criticism is greatly appreciated. I also really don't know how the GUI is gonna work, so the video shows a mock-up (to reply to a post you tap on the post and a gui comes up, I forgot to show it :v:) [sp] it would probably be free when it's done [/sp][/QUOTE] I can't decide if that font is worse or better than Comic Sans
I've published my game, PIGGU RUN on Google Play. You can get it [URL="https://play.google.com/store/apps/details?id=com.TenPercent.PIGGURUN"]here[/URL]. [IMG]https://lh3.googleusercontent.com/a9SY2BjjugHpnLXVLWlu34gy_LDILOEIrCHBqRFbAX0cAFe7wIZZ9LavyQjr1DC-kbA=h310-rw[/IMG]
The OP should have a memorial section dedicated to all those who valorously attempted a FP mobile app and perished.
[QUOTE=Naelstrom;49068273]I actually checked your github page earlier for a donation button, but when I didn't see one I was almost dissuaded entirely! You might want to fix that. I feel a lot better now though, thanks guys.[/QUOTE] Donation buttons are actually forms, so I can't put one in my README. I do have one on the project's actual webpage, though. [editline]7th November 2015[/editline] Thanks, Steffen. I don't know who you are, but I assume you're from here.
[QUOTE=Cyberuben;49068752]I can't decide if that font is worse or better than Comic Sans[/QUOTE] The font is just my swapped font, if you had the app you'd have the default Apple font (unless you've swapped it for your own one). Also, that font was 1 of the selection of 5 fonts when the iOS 9 JB came out and I haven't been bothered to change it since, thanks for reminding about it though. [QUOTE=DuCT;49069302]The OP should have a memorial section dedicated to all those who valorously attempted a FP mobile app and perished.[/QUOTE] If I do fail, it won't really matter as I've learned so much about Xcode so far. It's sort of a hobby thing to do in my spare time anyway
So I just handed in my assignment, I can now officially say that I've recognized bananas. [thumb]http://i.imgur.com/jzZ6fCZ.png[/thumb]
Sorry, you need to Log In to post a reply to this thread.