• What are you working on? May 2012
    2,222 replies, posted
wayland.js
Working with my Server->Client networking for maps and entities and going for an endless world type of map generation, My idea so far, is to piece the map together in chunks on the client using the seed ( which will always be the same ) so all terrain will be generated on the client, and the server will only send things that have "changed" for that specific chunk of the map ( persistent world ), Does this sound like a good approach to this sort of thing? Or are there better more efficient ways of doing it?
[QUOTE=T3hGamerDK;35936365]With enough patience, I think you can actually start doing one now. Although there's no Xorg-like system for it yet (?)[/QUOTE] It's got a mode 13h driver at the moment (320x200, 256 colors) but that's not really enough for a GUI. [editline]13th May 2012[/editline] [QUOTE=ROBO_DONUT;35936670]And hopefully not ever.[/QUOTE] :c
To get anything better your going to need realmode and VBE.
[QUOTE=ben1066;35937951]To get anything better your going to need realmode and VBE.[/QUOTE] I can execute machine code in real mode with Kernel.realExec() Here's how I swap to mode 13h: [url]https://github.com/charliesome/jsos/blob/master/kernel/js/kernel/drivers/vga.js#L8[/url] [editline]13th May 2012[/editline] If you're knowledgable about this kind of stuff I'd be thrilled if you could contribute some better VGA code!
[QUOTE=danharibo;35936691]wayland.js[/QUOTE] THIS I would like to see. Although it probably wouldn't be wayland. My point wasn't about Xorg or Wayland though, but just a system like X or Wayland.
geeui.js
[QUOTE=swift and shift;35938127]geeui.js[/QUOTE] It would be wondrous
today I spent learning regex - a tool whose usefulness i've long acknowledged but which I'd never adopted due to how incomprehensible it looked. learning to write regular expressions did not unfortunately teach me to read them
[QUOTE=ThePuska;35938370]today I spent learning regex - a tool whose usefulness i've long acknowledged but which I'd never adopted due to how incomprehensible it looked. learning to write regular expressions did not unfortunately teach me to read them[/QUOTE] It never really gets easier.
[QUOTE=geel9;35938393]It never really gets easier.[/QUOTE] yes it does, you're just not very good at them
Well, I spent most of last night installing Debian with a dual boot setup, after I installed the NVIDIA drivers it stopped recognising my second monitor (the one I installed vertically), I tried to fix it by editing my X configuration file to no avail.. grrr. This sucks, but I guess I'll have to make-do.
[QUOTE=swift and shift;35938441]yes it does, you're just not very good at them[/QUOTE] I meant you can't just look at a regex and instantly understand what it does; it still requires a good amount of thought.
Anyone know of some popular applications made in .net that aren't free? Just wondering as I don't know of many(I use mainly freeware). I have a feeling digging through the 0day releases is going to come up with a bunch of obscure applications that no one uses.
[QUOTE=geel9;35938472]I meant you can't just look at a regex and instantly understand what it does; it still requires a good amount of thought.[/QUOTE] Have you tried actually reading the regex? Outside of parenthesis balancing it's not too difficult to read unless it's a particularly lovecraftian regex.
[QUOTE=danharibo;35938722]Have you tried actually reading the regex? Outside of parenthesis balancing it's not too difficult to read unless it's a particularly lovecraftian regex.[/QUOTE] It's not DIFFICULT, but it still requires thought.
[QUOTE=geel9;35938732]It's not DIFFICULT, but it still requires thought.[/QUOTE] Pretty sure you can apply that flawed logic to anything. Take not shitting yourself, for example. It's not difficult, it just requires some thought.
[QUOTE=ThePuska;35938370]today I spent learning regex - a tool whose usefulness i've long acknowledged but which I'd never adopted due to how incomprehensible it looked. learning to write regular expressions did not unfortunately teach me to read them[/QUOTE] I hate making regexs, they're so useful it's insane, but it's like one of those things that I don't use often enough to really keep in my brain. So I am always sort of relearning regex. I still keep like the 'gist' of how it works but forget the syntax rules and such.
[QUOTE=danharibo;35938722]Have you tried actually reading the regex? Outside of parenthesis balancing it's not too difficult to read unless it's a particularly lovecraftian regex.[/QUOTE] [code] (?:(?:\r\n)?[ \t])*(?:(?:(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t] )+|\Z|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?: \r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:( ?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?:\r\n)?[ \t])*))*@(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\0 31]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\ ](?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+ (?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?: (?:\r\n)?[ \t])*))*|(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z |(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?:\r\n) ?[ \t])*)*\<(?:(?:\r\n)?[ \t])*(?:@(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\ r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n) ?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t] )*))*(?:,@(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])* )(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t] )+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*))*) *:(?:(?:\r\n)?[ \t])*)?(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+ |\Z|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?:\r \n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?: \r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t ]))*"(?:(?:\r\n)?[ \t])*))*@(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031 ]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\]( ?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(? :(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(? :\r\n)?[ \t])*))*\>(?:(?:\r\n)?[ \t])*)|(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(? :(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)? [ \t]))*"(?:(?:\r\n)?[ \t])*)*:(?:(?:\r\n)?[ \t])*(?:(?:(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]| \\.|(?:(?:\r\n)?[ \t]))*"(?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<> @,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|" (?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?:\r\n)?[ \t])*))*@(?:(?:\r\n)?[ \t] )*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\ ".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(? :[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[ \]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*))*|(?:[^()<>@,;:\\".\[\] \000- \031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|( ?:(?:\r\n)?[ \t]))*"(?:(?:\r\n)?[ \t])*)*\<(?:(?:\r\n)?[ \t])*(?:@(?:[^()<>@,; :\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([ ^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\" .\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\ ]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*))*(?:,@(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\ [\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\ r\\]|\\.)*\](?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\] |\\.)*\](?:(?:\r\n)?[ \t])*))*)*:(?:(?:\r\n)?[ \t])*)?(?:[^()<>@,;:\\".\[\] \0 00-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\ .|(?:(?:\r\n)?[ \t]))*"(?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@, ;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|"(? :[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?:\r\n)?[ \t])*))*@(?:(?:\r\n)?[ \t])* (?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\". \[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[ ^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\] ]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*))*\>(?:(?:\r\n)?[ \t])*)(?:,\s*( ?:(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\ ".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?:\r\n)?[ \t])*)(?:\.(?:( ?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[ \["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?:\r\n)?[ \t ])*))*@(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t ])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*)(? :\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+| \Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*))*|(?: [^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\ ]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?:\r\n)?[ \t])*)*\<(?:(?:\r\n) ?[ \t])*(?:@(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\[" ()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n) ?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<> @,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*))*(?:,@(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@, ;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t] )*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\ ".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*))*)*:(?:(?:\r\n)?[ \t])*)? (?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\". \[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?:\r\n)?[ \t])*)(?:\.(?:(?: \r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\[ "()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?:\r\n)?[ \t]) *))*@(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t]) +|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*)(?:\ .(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z |(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:(?:\r\n)?[ \t])*))*\>(?:( ?:\r\n)?[ \t])*))*)?;\s*) [/code] (from [url]http://www.ex-parrot.com/pdw/Mail-RFC822-Address.html[/url], I believe it may have been posted before)
Any mere mortal gazing into that regex would lose his mind!
[QUOTE=Blueridge;35931192]but I also don't know how to make it in the likes of SMW where a computer plays Mario across a level.[/QUOTE] I may be late, but you could make a "demo recorder" into the game, so when you play the game, you press a button and it starts reading every entities' position and when you stop recording, it saves the positions and the map's name, so when you load up the demo file, you just iterate through the positions each frame and bam! you have got a superb procedural video.
Looks full of duplicates
[QUOTE=high;35938660]Anyone know of some popular applications made in .net that aren't free? Just wondering as I don't know of many(I use mainly freeware). I have a feeling digging through the 0day releases is going to come up with a bunch of obscure applications that no one uses.[/QUOTE] They aren't applications but games, Terraria and AFAIK Magika.
I am awesome !
[QUOTE=Jawalt;35939580]Any mere mortal gazing into that regex would lose his mind![/QUOTE] [t]http://img402.imageshack.us/img402/1883/theemailregexscroll.png[/t]
At the moment, I use Buildbot for CI for Chromium OS and Chromium builds. I'm doing an overhaul of my setup, and before I setup Buildbot again, I figured I'd see if there's anything better out there. Must haves: Support for multiple slaves Free or low-cost Nice to haves: Integration with repo (a browsable list of changes across all git repos would be awesome) Twitter notifications either built in, or as a plugin Some kind of API, preferably with a JSON format, I can use to wire up user facing status pages Can't think of anything else at the moment, but I'll tweak this post as I think of more requirements. It's a while since I first setup Builtbot, so I've forgotten all the gotchas. Edit: Bamboo looks really nice, but it's super expensive: [url]http://www.atlassian.com/software/bamboo/overview/[/url]
Personally I like TeamCity, also use it at work. [url]http://www.jetbrains.com/teamcity/[/url] And they have a license for open source projects, without limits.
[QUOTE=Hexxeh;35941759]At the moment, I use Buildbot for CI for Chromium OS and Chromium builds. I'm doing an overhaul of my setup, and before I setup Buildbot again, I figured I'd see if there's anything better out there. Must haves: Support for multiple slaves Free or low-cost Nice to haves: Integration with repo (a browsable list of changes across all git repos would be awesome) Twitter notifications either built in, or as a plugin Some kind of API, preferably with a JSON format, I can use to wire up user facing status pages Can't think of anything else at the moment, but I'll tweak this post as I think of more requirements. It's a while since I first setup Builtbot, so I've forgotten all the gotchas. Edit: Bamboo looks really nice, but it's super expensive: [url]http://www.atlassian.com/software/bamboo/overview/[/url][/QUOTE] Can't you [url=http://www.atlassian.com/software/views/open-source-license-request]request an open source license[/url]? Edit: Ninja'd!
[QUOTE=Parad0x0217;35942160]Can't you [url=http://www.atlassian.com/software/views/open-source-license-request]request an open source license[/url]?[/QUOTE] I guess I could try, but I'm not sure I'd be granted it. I don't publish any code directly. Actually, I lied, here's an overlay for the Raspberry Pi: [url]https://github.com/Hexxeh/overlay-raspberrypi[/url] No X driver yet, so don't expect the UI to come up. Well, unless you drop to a shell and type /opt/google/chrome/chrome --use-gl=osmesa. Have fun with that though, software rendering is SUPER slow with Aura.
So while everyone is shitting themselves over the Raspberry Pi, I decided to give small system programming a go, too. However, I'll be using a [url=http://www.technexion.com/index.php/products/arm-cpu-modules/ti-sitara-am3517/tam-3517]TAM-3517[/url] instead. Why? Why not. It has a 600MHz ARM Cortex-A8 CPU (apparently overclockable to 900MHz without any problem), powerful PowerVR graphics and a bunch of other nifty stuff (double 100mbit ethernet, USB host and guest, RGB video output [with a DAC it's VGA-compatible], external data and address lines...). [img]http://crap.q3k.org/29cc3860190baac9a09e9ad675721b8d12836348b2adc9515797c60eaeba3e66.jpg[/img] The system is on a SO-DIMM slot. So the first step was to create a breakout for it :v:. [img]http://crap.q3k.org/24230594fbf55319028f427ff426b4fb3ab8150c8e7c250df0fafee00ccad93a.jpg[/img] All homemade, and somehow it seems to be working. I just need to make it boot from an SD card, now (the inbuilt bootloader can do that), and make it run Gentoo. This is gonna be pretty fucking sweet.
Sorry, you need to Log In to post a reply to this thread.