• What Are You Working On? July 2015
    1,392 replies, posted
[QUOTE=Ziks;48283438] I'm done[/QUOTE] Your recreation looks more fun then the actual game.
[QUOTE=helifreak;48283680]So after Garry cloned JB mod, he hires Layla for the [U]Half Life 2[/U] clone and now Ziks has made a Minecraft clone. What is next, Five Nights at Facepunch?[/QUOTE] Day of Defeat: Source*
Recently I've been introduced to Docker too. So, it is a virtual machine, without being a virtual machine? As in, there is no 2nd OS using up resources? I want to run NodeJS applications in a sort of sand boxed environment, where applications can not bind ports to non-assigned ports, applications can only use x amount of memory and x amount of disk usage. Can Docker do that?
[QUOTE=Darkwater124;48283664]I think the Vive should be out later this year.[/QUOTE] Oh, I read that as 2016 spring dev release (meaning not getting a version until after that. Forgot it was already 2015 haha. This makes me happy.
[QUOTE=Cyberuben;48283830]Recently I've been introduced to Docker too. So, it is a virtual machine, without being a virtual machine? As in, there is no 2nd OS using up resources? I want to run NodeJS applications in a sort of sand boxed environment, where applications can not bind ports to non-assigned ports, applications can only use x amount of memory and x amount of disk usage. Can Docker do that?[/QUOTE] No, there IS a second OS running and using up resources. The thing you need to know is that with virtual machines, you're emulating a virtual CPU (or in the case of KVM, doing as minimal translation as possible), and running a completely isolated environment, where all the hardware is emulated away as needed. This basically means that you have the entirety of a PC inside of your PC. With containers, such as Docker, you're not running any emulation at all. There's usually some kind of control groups that allocate certain virtual interfaces for networking, but that's about it, and is mostly used for forwarding, through the systems internal firewall, ports from the outside to inside the container. What a container usually is, is a lot of files belonging to the operation system, in a directory. That directory is then "isolated" away, with some fancy chroot-like magic, meaning that any process that runs inside the container directory, believes that the container directory is the entire filesystem, and that there is nothing more. Since you're not emulating anything, you're not running a PC within a PC, so there's no need for an additional system kernel, and hence the OS running inside the container environment must be able to use the SAME system kernel as the host OS does. Otherwise, it will not work. So for instance, running Windows in a container on Linux, is not possible, and neither is FreeBSD on a Windows NT kernel. However, Docker HAS put together an effort to making containers possible on Windows, but that is using a virtual machine, running a Linux distribution, that allows you to run Docker. This means you're still emulating all the stuff though. Docker will do exactly what you ask though, but I do not recommend running it inside a VM, certainly not one that is not inside a KVM-based server system. At least, not in production.
[vid]https://d.maxfile.ro/ctxprvrgda.webm[/vid] Having a lot of fun with this, now to just add all the gameplay elements and stop playing with particles and easing.
[QUOTE=mastersrp;48284737]No, there IS a second OS running and using up resources. The thing you need to know is that with virtual machines, you're emulating a virtual CPU (or in the case of KVM, doing as minimal translation as possible), and running a completely isolated environment, where all the hardware is emulated away as needed. This basically means that you have the entirety of a PC inside of your PC. With containers, such as Docker, you're not running any emulation at all. There's usually some kind of control groups that allocate certain virtual interfaces for networking, but that's about it, and is mostly used for forwarding, through the systems internal firewall, ports from the outside to inside the container. What a container usually is, is a lot of files belonging to the operation system, in a directory. That directory is then "isolated" away, with some fancy chroot-like magic, meaning that any process that runs inside the container directory, believes that the container directory is the entire filesystem, and that there is nothing more. Since you're not emulating anything, you're not running a PC within a PC, so there's no need for an additional system kernel, and hence the OS running inside the container environment must be able to use the SAME system kernel as the host OS does. Otherwise, it will not work. So for instance, running Windows in a container on Linux, is not possible, and neither is FreeBSD on a Windows NT kernel. However, Docker HAS put together an effort to making containers possible on Windows, but that is using a virtual machine, running a Linux distribution, that allows you to run Docker. This means you're still emulating all the stuff though. Docker will do exactly what you ask though, but I do not recommend running it inside a VM, certainly not one that is not inside a KVM-based server system. At least, not in production.[/QUOTE] I currently have a VPS that I want to use for NodeJS project hosting. Not free, but paid. Every application should have it's own portrange assigned, where the first port will be the one that receives HTTP requests. What I do not want, however, is Application #1 with port range 3000-3099, binding a port to 3120, outside it's port range. It is okay if every Docker container has it's own network adapter with 65536 possible ports, the important part here is that only the ports that I assign will be receiving / sending data from within the container. I'm going to run this on a Linux VPS which will only run NodeJS instances, maybe a Redis database (and similar software), but that's about it. Does it sound like Docker can do that? I have trouble finding that out. I at least found a post where people used iptables to route some ports to Docker, but I don't know outgoing ports will still be able to go 'out of range' and such.
[vid]https://d.maxfile.ro/uydhynlnhh.webm[/vid] I was going to add gameplay dammit! Why must it be so fun to play with particles and easing values?
[QUOTE=Cyberuben;48285509]I currently have a VPS that I want to use for NodeJS project hosting. Not free, but paid. Every application should have it's own portrange assigned, where the first port will be the one that receives HTTP requests. What I do not want, however, is Application #1 with port range 3000-3099, binding a port to 3120, outside it's port range. It is okay if every Docker container has it's own network adapter with 65536 possible ports, the important part here is that only the ports that I assign will be receiving / sending data from within the container. I'm going to run this on a Linux VPS which will only run NodeJS instances, maybe a Redis database (and similar software), but that's about it. Does it sound like Docker can do that? I have trouble finding that out. I at least found a post where people used iptables to route some ports to Docker, but I don't know outgoing ports will still be able to go 'out of range' and such.[/QUOTE] Don 't read "posts" about this, rather read the actual documentation: [url]http://docs.docker.com/articles/networking/[/url] It sounds like what you want should be doable with Docker. Say, one IP, several services with limited port ranges. Sound good? Docker will do that. Regarding outgoing ports, I'm not sure why you'd want to limit that. Do you intend to have services that talk outside of their LAN with IP ranges lower than 1024? [editline]24th July 2015[/editline] [QUOTE=ace13;48285864][vid]https://d.maxfile.ro/uydhynlnhh.webm[/vid] I was going to add gameplay dammit! Why must it be so fun to play with particles and easing values?[/QUOTE] What Terminal is that? Very great theme too!
[QUOTE=mastersrp;48285877]What Terminal is that? Very great theme too![/QUOTE] It's the default KDE terminal - Konsole, using the default color scheme though with 15% transparency, with some basic DejaVu Sans on top, the background is the newest default KDE 5 background. Even my $PS1 is pretty default. My (neo)vim setup is quite heavily configured though, so I guess that evens it out.
[QUOTE=Cyberuben;48285509]I currently have a VPS that I want to use for NodeJS project hosting. Not free, but paid. Every application should have it's own portrange assigned, where the first port will be the one that receives HTTP requests. What I do not want, however, is Application #1 with port range 3000-3099, binding a port to 3120, outside it's port range. It is okay if every Docker container has it's own network adapter with 65536 possible ports, the important part here is that only the ports that I assign will be receiving / sending data from within the container. I'm going to run this on a Linux VPS which will only run NodeJS instances, maybe a Redis database (and similar software), but that's about it. Does it sound like Docker can do that? I have trouble finding that out. I at least found a post where people used iptables to route some ports to Docker, but I don't know outgoing ports will still be able to go 'out of range' and such.[/QUOTE] Actually there's an even easier approach: just give each application its own user. There's a million and one ways to manage user permissions on Linux so you're good there. Android does this for apps, for example.
[QUOTE=ace13;48285864][vid]https://d.maxfile.ro/uydhynlnhh.webm[/vid] I was going to add gameplay dammit! Why must it be so fun to play with particles and easing values?[/QUOTE] *squints* [img]http://i.imgur.com/GMpPa5R.png[/img] ???
[QUOTE=Berkin;48287151]*squints* [img]http://i.imgur.com/GMpPa5R.png[/img] ???[/QUOTE] it clearly says therapist, what's wrong with him being a therapist?
i mean like, my computer is named KRAMPUS. to each his own i guess.
[video=youtube;lQhubD6pPxY]https://www.youtube.com/watch?v=lQhubD6pPxY[/video] And memory leaks.
Spend a whole bunch of time porting the Xash3D engine from windows to SDL. Halt the project after a while, then 3 months later. Bam, somebody does it for you. [url]https://github.com/SDLash3D[/url] I've learned that the best solutions to your problems is doing nothing, eventually somebody will just come in and solve it for you.
Movement code is hard. [vid]http://webm.host/4a440/vid.webm[/vid]
[QUOTE=Berkin;48289396]Movement code is hard. [vid]http://webm.host/4a440/vid.webm[/vid][/QUOTE] It's perfect.
got some animations in my game now, so that's sweet. also implemented a new explosion effect and resulted in some pretty fireworks [vid]https://dl.dropboxusercontent.com/u/1400138/ShareX/2015/07/2015-07-25_02-48-14.mp4[/vid]
[QUOTE=Berkin;48289396]Movement code is hard. vid[/QUOTE]ah yes. the classic 100 erectness running style.
[QUOTE=Shotgunz;48289591]ah yes. the classic 100 erectness running style.[/QUOTE] The stats don't really do anything. Yet.
[QUOTE=ace13;48286015]It's the default KDE terminal - Konsole, using the default color scheme though with 15% transparency, with some basic DejaVu Sans on top, the background is the newest default KDE 5 background. Even my $PS1 is pretty default. My (neo)vim setup is quite heavily configured though, so I guess that evens it out.[/QUOTE] Oh, so It's KDE 5? I need to play around with that. What distribution is it? Doesn't seem like the default KDE theme, but I guess I'm wrong.
[QUOTE=mastersrp;48289980]Oh, so It's KDE 5? I need to play around with that. What distribution is it? Doesn't seem like the default KDE theme, but I guess I'm wrong.[/QUOTE] It's KDE 5 indeed, built the current version two days ago. All I've done is switch it to the Breeze Dark theme and colours. Surprisingly easy to set up a build for the KDE 5 Frameworks, though it takes forever to build on a dual-core laptop.
more memory editing fun. [vid]http://fat.gfycat.com/OrderlyOpenBee.webm[/vid]
[QUOTE=helifreak;48283680]So after Garry cloned JB mod, he hires Layla for the Half Life 2 clone and now Ziks has made a Minecraft clone. What is next, Five Nights at Facepunch?[/QUOTE] Where you cycle through the facepunch live cameras hoping not to encounter the mysterious Garry [IMG]http://www.wikipunch.com/images/e/e9/FP_Office_Cam.jpg[/IMG]
[vid]http://fat.gfycat.com/BlissfulScrawnyHapuku.webm[/vid] Improved my IK system and added pivoting for turns.
[QUOTE=Ziks;48283438][vid]http://files.facepunch.com/ziks/2015/July/24/2015-07-24-1434-01.mp4[/vid] I'm done[/QUOTE] Are you making a game where you play as the sun from Teletubbies? The 'tubbies didn't vacuum properly so the sun-god has to strike down with furious anger and great vengeance.
Haven't touched any code in 2 months and I'm completely devoid of inspiration. Help
Currently testing shaders with sfml, have lights and normal maps working pretty well:hurr: [video=youtube;9h5tx6iq1Ts]https://www.youtube.com/watch?v=9h5tx6iq1Ts[/video]
Inspired to work on my space game again after completing Homeworld Remastered. [vid]http://fat.gfycat.com/WholeNewAddax.webm[/vid] Lot of fun to play with scale when in VR (that space station appears like it's about 4km across). Harder to gauge distances in space though, since there's no distance fog. Passing space dust and parallax will have to do. This is also a great way to get dizzy: [vid]http://fat.gfycat.com/UntidyQuaintAdamsstaghornedbeetle.webm[/vid] All models are placeholders, just ported over some stuff from a Homeworld mod that had models ported to GMod.
Sorry, you need to Log In to post a reply to this thread.