• What are you working on? v15
    5,001 replies, posted
he did. [editline]13th January 2011[/editline] my favourite kind of tree is english oak.
[QUOTE=Muffinz!;27385663]And... [editline]13th January 2011[/editline] [img_thumb]http://www.filez.muffinz.eu/download/SS2011011311.48.59.png[/img_thumb][/QUOTE] [url=http://www.facepunch.com/threads/1019358-Facepunch-Thread-Watcher]Oh hey didn't see you there[/url] [editline]13th January 2011[/editline] Deloc, how the fuck did you get my dox
[QUOTE=Irtimid;27383887]I'm making a platformer sort of thing for the culminating project of my CS class. It's procedurally generated. [media]http://www.youtube.com/watch?v=oA1vi9q7nX0[/media] (I don't know why the video is in black and white.)[/QUOTE] I can only dream for a CS class.In my country we have a programming class but we program on Borland C 3.0 T_T
[QUOTE=geel9;27388266][url=http://www.facepunch.com/threads/1019358-Facepunch-Thread-Watcher]Oh hey didn't see you there[/url][/QUOTE] No, should of I?
[QUOTE=Muffinz!;27388650]No, should of I?[/QUOTE] Even though you edited your post a few times I still can't make any sense out of it :colbert:
[QUOTE=ZenX2;27383639]I've got boxes[/QUOTE] Yup. [editline]13th January 2011[/editline] :smug:
This is the one subforum I hoped I'd never have to see "should of" :sigh:
[QUOTE=jA_cOp;27389047]This is the one subforum I hoped I'd never have to see "should of" :sigh:[/QUOTE] It's probable that the English language will eventually adopt "should of" over "should have" over time. It just sounds like that when people say it.
Seriously, what's with that? Maybe it's because I'm not a native English speaker but what language instinct tells you that "should of" sounds right? I really don't understand where that comes from.
[QUOTE=Darwin226;27389421]Seriously, what's with that? Maybe it's because I'm not a native English speaker but what language instinct tells you that "should of" sounds right? I really don't understand where that comes from.[/QUOTE] In many dialects of English, "should of" and "should've" sound identical.
[QUOTE=Darwin226;27389421]Maybe it's because I'm not a native English speaker[/QUOTE] Yep, it is.
[QUOTE=yakahughes;27389546]Yep, it is.[/QUOTE] So non-native English speakers don't have the urge to speak English in an improper way but native ones do? :colbert:
[QUOTE=yakahughes;27389546]Yep, it is.[/QUOTE] I'm not a native speaker either. It's not necessarily relevant. [QUOTE=iNova;27389572]So non-native English speakers don't have the urge to speak English in an improper way but native ones do? :colbert:[/QUOTE] Except, of course, this is purely a written mistake.
[QUOTE=iNova;27389572]So non-native English speakers don't have the urge to speak English in an improper way but native ones do? :colbert:[/QUOTE] Is that strange to you? It's very often that non native speakers know the grammar of the language better than native ones do since they learn from when they are born and are affected by their parents.
[QUOTE=jA_cOp;27389540]In many dialects of English, "should of" and "should've" sound identical.[/QUOTE] That's no proper way to use 'of', though.
Had a go at perlin noise [img_thumb]http://img225.imageshack.us/img225/5994/untitlebd.png[/img_thumb] HNNNGGGg im using this code [cpp]void drawImage(sf::Image &image, int width, int height) { for(int x = 0; x < width; x++) { for(int y = 0; y < height; y++) { double myNum = noise(x + sf::Randomizer::Random(-10,10), y); myNum = (myNum * 128) + 128; sf::Color color = sf::Color(myNum,myNum,myNum ); for(int i = 0;i<10;i++) { image.SetPixel(x*10 +i,y*10 +i,color); } } } }[/cpp] and basically i want it to fill in 10*10 pixels with the same color to have a zoomed in effect but all i get is this [img_thumb]http://img16.imageshack.us/img16/5277/ahfsjdf.png[/img_thumb]
That reminds me of our old television. [editline]13th January 2011[/editline] Which is awesome.
[QUOTE=Richy19;27389782]Had a go at perlin noise [img_thumb]http://img225.imageshack.us/img225/5994/untitlebd.png[/img_thumb][/QUOTE] Zoom it and youll get coherant noise I zoomed by dividing x and y co-ordinates by Zoom amount
there we go [img]http://img204.imageshack.us/img204/5277/ahfsjdf.png[/img]
So I'm getting dangerously close to my garbage collector being complete. I underwent a bit of a large refactor for a performance gain, as well as to close up a few issues that both Shark and Valgrind were reporting. I also have absolutely wondrous news! I had previously stated that my collector would only work on Windows Vista and above due to the use of the new condition variable type. Well I ended up rewriting some underlying types to be lock free. I had a very lengthy discussion in ##c++ on freenode on whether I should use atomics, or just mark two pointers as volatile, and the consensus was the latter for what I am doing. I think it's the first time I've ever had to actually use the keyword. It's use here is to guarantee that multiple CPUs won't read and write the value at the same time. This is different from a race condition, where a value is written to while being read, but in different registers. The lock free types are written and used in such a way that a race condition simply results in the collector thread no yielding immediately, but the tearing is what they are not protected against, hence the use of volatile. (The actual pointers are volatile, not what they point to. A bit confusing for some). So to sum up 1) Collector is nearly "finished" and will be released, with the request that some of you try to break it. 2) The collector is fast, and lock free 3) If you run a Windows OS written in the past 9 years, or have an OS with a POSIX 2001 compliant pthread implementation, you can use this collector. Once this is done I can start on my scripting language. (finally!)
[QUOTE=Richy19;27390034]there we go [img_thumb]http://img204.imageshack.us/img204/5277/ahfsjdf.png[/img_thumb][/QUOTE] Hmm.. i dont think it should look like that.. Edit: Make sure you times the co-ordinates by the frequency. Or something like that, before you divide by zoom. Persistance maybe? cant remember now :D
[QUOTE=Richy19;27390034]there we go [img_thumb]http://img204.imageshack.us/img204/5277/ahfsjdf.png[/img_thumb][/QUOTE] Isn't noise supposed to be... you know... interpolated?
I've been programming in Java for the past few days now. The language was easy and all, learned most of the basic stuff in a weekend, but there's some annoying things that make me wish I had rather used another language. That said, is there a lightweight, cross-platform GUI library for C++ that I could use for my purposes? I need a networking (or just an IRCbot) library too, but I guess boost already provides that, doesn't it? :P
[QUOTE=Icedshot;27390417]Hmm.. i dont think it should look like that.. Edit: Make sure you times the co-ordinates by the frequency. Or something like that, before you divide by zoom. Persistance maybe? cant remember now :D[/QUOTE] I have this atm [img_thumb]http://img651.imageshack.us/img651/5277/ahfsjdf.png[/img_thumb]
[QUOTE=Richy19;27390875]I have this atm [img_thumb]http://img651.imageshack.us/img651/5277/ahfsjdf.png[/img_thumb][/QUOTE] Try increasing the number of octaves you're using, that should make it look slightly nicer
[QUOTE=Richy19;27390034]there we go [img_thumb]http://img204.imageshack.us/img204/5277/ahfsjdf.png[/img_thumb][/QUOTE] Minecraft :neckbeard:
[img]http://www.filez.muffinz.eu/download/131201119186.gif[/img] This is what i have so far: Thread whitelist Adjustable update interval Adjustable pop up time out delay.
That looks really good! Are you planning on releasing soon?
[QUOTE=Muffinz!;27391241][img_thumb]http://www.filez.muffinz.eu/download/131201119186.gif[/img_thumb] This is what i have so far: Thread whitelist Adjustable update interval Adjustable pop up time out delay.[/QUOTE] Heh, "Might as well come clean." in the watchlist? Couldn't you just keep pressing F5? :v: [editline]13th January 2011[/editline] Good job on that, by the way
[QUOTE=esalaka;27390766]I've been programming in Java for the past few days now. The language was easy and all, learned most of the basic stuff in a weekend, but there's some annoying things that make me wish I had rather used another language. That said, is there a lightweight, cross-platform GUI library for C++ that I could use for my purposes? I need a networking (or just an IRCbot) library too, but I guess boost already provides that, doesn't it? :P[/QUOTE] I've made a mental note to check out [url=http://www.fox-toolkit.org/]FOX[/url] if I ever wanted a portable toolkit and not use Qt due to its rather heavy nature. And yes, there's Boost.Asio for networking.
Sorry, you need to Log In to post a reply to this thread.