[QUOTE=Chandler;26007913]I just finished off synk. An accompanying example is provided, and can be built by checking the "BUILD_EXAMPLE" option in CMake. Documentation on the background implementation, as well as general information can be found in docs/synk.md, and I highly suggest that you read it, so that you do not kill yourself.
I did quite a bit of testing, and I've found everything to be in good order (no memory leaks even :D). I provide the normal thread, mutex, and semaphore as well as a "lock" type (information on it is in the docs), and two functions for sleeping (one is time in seconds, the other in milliseconds), but as I said, information is in the docs. There is actually very little to go over, because the interface is so simple, but you can find all about that in the docs. Now the question is whether I work on my garbage collector, or the actor library.
You can grab said library [url=https://github.com/mnmlstc/synk/]here[/url].
It's been compiled and tested on OS X, Windows, and Linux (32 and 64-bit Intel), as well as FreeBSD 32-bit.
Let me know if you have any troubles (just make sure you've got CMake 2.8 before you try anything! :P)[/QUOTE]
Dude, this is amazing! ONE question though.
What the hell is it
It is a cross platform threading library.
[QUOTE=geel9;26008042]Dude, this is amazing! ONE question though.
What the hell is it[/QUOTE]
[img]http://ahb.me/Un5[/img]
Hello I'm blind.
So I reported a bug that I found in nano's restricted mode allowing arbitrary file reads from anywhere you have permissions.
[url]http://savannah.gnu.org/bugs/?31625[/url]
That's fairly severe :ohdear:
Update to my FP Ticker for OS X.
Download: [url]http://cl.ly/3Ceg[/url]
[img]http://ahb.me/UnH[/img]
[img]http://ahb.me/UnJ[/img]
Needs to apply appropriate colouring on the username.
I've got some C# code that I wrote for my FP scraper that might be of use to you (once translated to ObjC of course)
Let me know if you're interested.
[editline]12th November 2010[/editline]
Also what:
[img]http://ahb.me/UnT[/img]
I am also quite interested.
Go for your life: [url]http://anyhub.net/file/models.rar[/url]
[editline]12th November 2010[/editline]
I should add that you need [url=http://htmlagilitypack.codeplex.com/]HtmlAgilityPack[/url] if you want to run that code.
Otherwise it should be pretty straight forward to see what DOM nodes it is accessing.
Did someone post all the paramters I PMed to (I forget who) for the ticker?
Parameters:
[list]
[*][b]aj[/b] - Required
[*][b]startpost[/b] - Postid to start at
[*][b]json[/b] - Pass if you want JSON output (Defaults to XML)
[*][b]limit[/b] - Limit the number of results, max 100
[*][b]pagetext[/b] - Pass if you want raw bbcode passed back
[/list]
Update: [url]http://ahb.me/Upv[/url]
- Clicking on a thread post takes you to the thread.
[QUOTE=Chandler;26003571]I have terrible news. Terrible terrible news. I'm dropping fibers from my threading library. It's been too much of a pain to get them working for POSIX. I'm writing up the documentation now, and I'll be writing some examples for everything as well. Once I've finished I'll post a link. As usual, this is released under a BSD License.
I was trying to implement fibers so that I could then create an actor model library, but it would appear that POSIX, as well as Windows, have a message queue built into themselves, so I'll be doing it that way (coincidentally, this is actually how ObjC and Smalltalk work, via the Actor Model, and message passing). What this means, however, is that this technology, specifically for windows, effectively cuts out Windows XP, and this is due to the required used of a Condition Variable. These weren't introduced into Windows until Vista (the NT6 Kernel, specifically), so unfortunately, if you're on Windows XP, you won't be able to use it. Sorry :/
[sp]wow, a short post :V[/sp][/QUOTE]
You could look how Boost implemented their boost::condition_variable. Or use Boost.Thread :P Or use std::condition_variable (C++0x).
[QUOTE=ZeekyHBomb;26009398]You could look how Boost implemented their boost::condition_variable. Or use Boost.Thread :P Or use std::condition_variable (C++0x).[/QUOTE]
Or I could be lazy, and avoid all of those. :v:
Plus this actor, message passing system gives me the opportunity to try out the concurrency runtime on windows anyways, and use libdispatch on OS X/FreeBSD, and then the normal/old message queue on POSIX.
But I'm probably going to work on my garbage collector first, now that it can be threadsafe :woop:
and then I'll do a few tests with an actor model, then I can finally move on to the actual scripting language.
Still it's progress :science:
Been working a little on one of those flying games where you avoid obstacles.
[img]http://maurice.gmod.de/Woosh.gif[/img]
It's just wannabe 3D with vector art. No other stuff yet. You can see that you can go left, right, but also up and down. I just modify some variables like space between lines when going up and down, and I just did "what feels right" so it's not perfect. [del]Also gotta fix that missing ground when going sideways.[/del]done
[editline].[/editline]
It's a lot smoother in reality.
[QUOTE=BMCHa;26001284]We may joke about his C# if tree (lolwut), but in C++/HLSL, we get stuff like this(posted in WAYWO v1 IIRC, grabbed off his YT profile):
[media]http://www.youtube.com/watch?v=Da_r9O4lTfY[/media][/QUOTE]
To be honest, it doesn't really show anything that new or special. Portals and mirrors are almost trivial to make with the help of the stencil buffer. Additionally while the lighting through portals have some complexities, it still isn't anything to shout about.
What I'm trying to say is that he isn't quite as amazing as some people are making out.
[QUOTE=yngndrw;26012939]To be honest, it doesn't really show anything that new or special. Portals and mirrors are almost trivial to make with the help of the stencil buffer. Additionally while the lighting through portals have some complexities, it still isn't anything to shout about.
What I'm trying to say is that he isn't quite as amazing as some people are making out.[/QUOTE]
You're just jealous because you'll never be as good a coder as him.
Currently porting over my old c# xna 3.0 engine to xna 4.0 and replacing the lua scripting engine with c# scripting, I just found out xbox 360 doesn't like extra dll's and if I get it to work it would hurt performance wise so :(
Anyway, I added rockets that follow you for a period of time and accelerate, curving bullets and bullets that can accelerate / de-accelerate
this was the old video :
[url]http://www.youtube.com/watch?v=cBM_8LhI1u4[/url]
Was going to make a new one but I'm a bit bussy now with porting it over and school
Also made a ticker program
[img]http://i.imgur.com/5CCeX.png[/img]
could be a screen saver or something v:v:v
[QUOTE=ZomBuster;26013943]Also made a ticker program
[img_thumb]http://i.imgur.com/5CCeX.png[/img_thumb]
could be a screen saver or something v:v:v[/QUOTE]
i take it it highlights the most recent post?
I think if you made it highlight the 5 most recent posts and made it so they dont overlap it would be awesome as a screensaver
I made a [url=http://www.facepunch.com/threads/1019358-Facepunch-Thread-Watcher]ticker program[/url] a while ago...
[img]http://gyazo.com/42f1a6bb2458b0b1218324cc593969f4.png[/img]
[img]http://gyazo.com/707b9dd3d4112e74a209c4a7fa45187b.png[/img]
New fad?
I'm also planning on making a ticker for any Linux distro running notify-osd (such as Ubuntu) as soon as I can find a dbus library for Lua and figure out notify-osd's dbus interface.
[QUOTE=geel9;26014279]I made a [url=http://www.facepunch.com/threads/1019358-Facepunch-Thread-Watcher]ticker program[/url] a while ago...
[img_thumb]http://gyazo.com/42f1a6bb2458b0b1218324cc593969f4.png[/img_thumb]
[img_thumb]http://gyazo.com/707b9dd3d4112e74a209c4a7fa45187b.png[/img_thumb][/QUOTE]
That's what made me interested in making one myself.
If anyone wanted to use my WIP Ticker class for OS X and iPhone, I uploaded it. It requires the JSON folder to be built with the project.
[url]http://cl.ly/3DXc[/url]
Hmmmm... what the hell?
[img_thumb]http://lh6.ggpht.com/_ZoH0ul2PquE/TN14TbzTnPI/AAAAAAAAAsY/NVPswAnnVwk/googleWut.jpg[/img_thumb]
I bet its Compwizii's fault.
Compwhizii!!! :argh:
Its the adverts , those security check things needs to learn to log in. it can also be so that it searches user posted links in the DDT
Can't the forum automatically log in Googlebot by IP?
[QUOTE=Hexxeh;25977628][img_thumb]https://dl.dropbox.com/u/5073661/Photo%20Nov%2010,%2018%2059%2024.jpg[/img_thumb][/QUOTE]
You are the new geohot(before he turned into a smug asshole)
I wish there was an easier way to edit java files than cck. Such a pain to keep my minecraft hacks updated.
Sorry, you need to Log In to post a reply to this thread.