• What are you working on?
    5,004 replies, posted
Has anyone here used Azure? While checking it out it seems like it has some great features but haven't really heard much about it personally. Would like to hear from my good friends at Facepunch.
[QUOTE=Nabile13;49988209][url]https://github.com/naelstrof/maim[/url] ? But at first glance it doesn't seem to take videos.[/QUOTE] Yep, that's the one. But you're right, no video functionality. Damn. [editline]23rd March 2016[/editline] [quote][vid]http://wyattmarks.com/screenshots/level_saving.webm[/vid][/quote] This video shows the new pause menu I implemented, as well as the level saving. Yay! (ignore the bug with the resume button, i fixed it.. :v:)
[QUOTE=Falcqn;49986153] The most expensive thing in n-body simulations is generally the integrator, but the time complexity is definitely the limiting factor as you add more particles. Not all methods of doing N-body simulations are O(N^2) though; you could calculate the resulting E-field from each of the particles' individual E-fields, then take the grad of that field to get the forces, which should be O(N) and therefore much faster than the pairwise method for large N.[/QUOTE] If you take the grad of the e field, wouldn't you get an r^3 in the denominator? Wouldn't you have to take the grad of potential energy to get (negative) force? I don't think you can get force by any method and have it be O(n), right? It doesn't make sense to me anyways...
Welp, nearly 5AM and I just completed the final piece of coursework assigned to me this academic year. With a single computer-based maths test to go before a total of 4 exams spread over the next few months, I can finally relax a little and maybe, hopefully, please for the love of pete, work on something more...well, fun. The feeling of relief is monumental.
[QUOTE=Demx;49988691]If you take the grad of the e field, wouldn't you get an r^3 in the denominator? Wouldn't you have to take the grad of potential energy to get (negative) force? I don't think you can get force by any method and have it be O(n), right? It doesn't make sense to me anyways...[/QUOTE] Not with exact results, at least. You can make faster approximations though.
[QUOTE=TH3_L33T;49988407]Has anyone here used Azure? While checking it out it seems like it has some great features but haven't really heard much about it personally. Would like to hear from my good friends at Facepunch.[/QUOTE] I find that it hooks up to Visual Studio really well, makes sense as they are a part of the Microsoft family Although I used to use it for a few Windows virtual machines in the past, don't really touch it anymore University has a few partnerships for similar platforms, only run Linux though, makes sense because I'm not paying anything for them
[QUOTE=TH3_L33T;49988407]Has anyone here used Azure? While checking it out it seems like it has some great features but haven't really heard much about it personally. Would like to hear from my good friends at Facepunch.[/QUOTE] We used it at work, and I'm using it for a school project. In honesty, the performance goes down as you pay more aha. We liken it to, they give you excellent service on the free/cheap tiers cause they want your money. Then when they get your money, they're like, ok we got his money. He's stuck now, sucker! I have a dreamspark account, It gives me one free MSSQL database per region (I have one in US East and US West currently), and I think as many web apps and mysql db's as I bloody well desire. But I can't remember, anything you want to know particularly? Oh yeah, free MSSQL DB only has 32MB storage aha. Which honestly I don't use more then half at the moment.
Well, I fixed my screen recorder problem by using [URL="https://github.com/naelstrof/slop"]https://github.com/naelstrof/slop[/URL], recordmydesktop, and ffmpeg all brought together in a bash script to auto upload it to my site. Script for anyone curious [code]#!/bin/bash REMOTE_USER=removed REMOTE_HOST=removed REMOTE_DIR=removed LOCAL_DIR=/home/lord/scripts REMOTE_WEB_LOCATION=http://wyattmarks.com/screenshots FILE_NAME=$(date '+%Y_%m-%d_%I:%M') OUTPUT="./"$FILE_NAME slopoutput=$(slop -f "%x %y %w %h $c") X=$(echo $slopoutput | awk '{print $1}') Y=$(echo $slopoutput | awk '{print $2}') W=$(echo $slopoutput | awk '{print $3}') H=$(echo $slopoutput | awk '{print $4}') C=$(echo $slopoutput | awk '{print $4}') recordmydesktop -x="$X" -y="$Y" --width="$W" --height="$H" --no-sound --on-the-fly-encoding --stop-shortcut Control+Return -o "$LOCAL_DIR/$FILE_NAME.ogv" ffmpeg -i "$LOCAL_DIR/$FILE_NAME.ogv" -acodec libvorbis -aq 5 -ac 2 -qmax 25 -threads 2 "$LOCAL_DIR/$FILE_NAME.webm" scp "$LOCAL_DIR/$FILE_NAME.webm" $REMOTE_USER@$REMOTE_HOST:$REMOTE_DIR/$OUTPUT".webm" rm "$LOCAL_DIR/$FILE_NAME.webm" rm "$LOCAL_DIR/$FILE_NAME.ogv" echo $REMOTE_WEB_LOCATION/$FILE_NAME".webm" | xclip -se c [/code] Example video: [quote][vid]http://wyattmarks.com/screenshots/2016_03-23_12:15.webm[/vid][/quote]
Been trying to figure out why I was getting no network trace output for the last couple of days while implementing other features. Here I was thinking I fucked up the [I]tracing[/I] but I had actually installed the client on the server and the server on the client. :suicide:
[img]http://wyattmarks.com/screenshots/2016_03-23_01:39.png[/img] I added a cool debug message viewer, and the inventory can be saved and loaded with the world now :)
[QUOTE=LordOfGears2;49988147]Does anyone know a good tool to record webm on linux? Preferably like shutter or sharex, just select a region and then it starts recording or something. I seem to recall someone on here making a tool for it on linux, but I couldn't find it :([/QUOTE] I personally use [url=http://www.maartenbaert.be/simplescreenrecorder/]this[/url]. It's not anywhere near as convenient as ShareX, but then nothing else seems to be either. It works quite well for what it is.
[QUOTE=Topgamer7;49988971]But I can't remember, anything you want to know particularly?[/QUOTE] I'm not surprised or anything, more intrigued A Microsoft employee asking what people think about Azure :pyramid:
Refactored a shit ton of code for the navigation drawer, which should make it easier to implement pinning threads to the drawer! Also, now the drawer follows material guidelines, and looks way better. (It evens shows your avatar now! :buddy:) [thumb]https://my.mixtape.moe/ggcwfq.png[/thumb]
[QUOTE=Demx;49988691]If you take the grad of the e field, wouldn't you get an r^3 in the denominator? Wouldn't you have to take the grad of potential energy to get (negative) force? I don't think you can get force by any method and have it be O(n), right? It doesn't make sense to me anyways...[/QUOTE] Ah, yeah, you're right. My bad! Been a while since I did EM. [editline]h[/editline] Though, couldn't you sample and store a quantised electric potential field by using superposition in linear time, then (also in linear time) take the gradient to find the forces? That'd be O(MN + N), where N is the number of particles and M is the number of discrete points that the field is calculated at. You can probably choose an upper bound on the resolution of your simulation, which makes M a constant and the complexity reduces to linear time in N.
[QUOTE=LordOfGears2;49988147]Does anyone know a good tool to record webm on linux? Preferably like shutter or sharex, just select a region and then it starts recording or something. I seem to recall someone on here making a tool for it on linux, but I couldn't find it :([/QUOTE] You can combo ffmpeg and [url]https://github.com/naelstrof/slop[/url], or just use recordmydesktop.
[QUOTE=LordOfGears2;49988989]Well, I fixed my screen recorder problem by using [URL="https://github.com/naelstrof/slop"]https://github.com/naelstrof/slop[/URL], recordmydesktop, and ffmpeg all brought together in a bash script to auto upload it to my site. Script for anyone curious [code]#!/bin/bash REMOTE_USER=removed REMOTE_HOST=removed REMOTE_DIR=removed LOCAL_DIR=/home/lord/scripts REMOTE_WEB_LOCATION=http://wyattmarks.com/screenshots FILE_NAME=$(date '+%Y_%m-%d_%I:%M') OUTPUT="./"$FILE_NAME slopoutput=$(slop -f "%x %y %w %h $c") X=$(echo $slopoutput | awk '{print $1}') Y=$(echo $slopoutput | awk '{print $2}') W=$(echo $slopoutput | awk '{print $3}') H=$(echo $slopoutput | awk '{print $4}') C=$(echo $slopoutput | awk '{print $4}') recordmydesktop -x="$X" -y="$Y" --width="$W" --height="$H" --no-sound --on-the-fly-encoding --stop-shortcut Control+Return -o "$LOCAL_DIR/$FILE_NAME.ogv" ffmpeg -i "$LOCAL_DIR/$FILE_NAME.ogv" -acodec libvorbis -aq 5 -ac 2 -qmax 25 -threads 2 "$LOCAL_DIR/$FILE_NAME.webm" scp "$LOCAL_DIR/$FILE_NAME.webm" $REMOTE_USER@$REMOTE_HOST:$REMOTE_DIR/$OUTPUT".webm" rm "$LOCAL_DIR/$FILE_NAME.webm" rm "$LOCAL_DIR/$FILE_NAME.ogv" echo $REMOTE_WEB_LOCATION/$FILE_NAME".webm" | xclip -se c [/code] Example video:[/QUOTE] Why do you need recordmydesktop? ffmpeg can use x11grab
[QUOTE=Falcqn;49990980]Ah, yeah, you're right. My bad! Been a while since I did EM. [editline]h[/editline] Though, couldn't you sample and store a quantised electric potential field by using superposition in linear time, then (also in linear time) take the gradient to find the forces? That'd be O(MN + N), where N is the number of particles and M is the number of discrete points that the field is calculated at. You can probably choose an upper bound on the resolution of your simulation, which makes M a constant and the complexity reduces to linear time in N.[/QUOTE] Of course, if you want an acceptable resolution for it, I think M would be a good fraction of N. But yeah that sounds like a good approximation method.
Added some NPCs to my SkiFree clone, including the Yeti\abominable snowman (at 666m). [vid]http://www.dvdflick.net/storage/skifree/skifreewee.mp4[/vid] Try it out at [url]http://www.dvdflick.net/storage/skifree/[/url]. Use the arrow keys to steer and space bar to jump. Holding down speeds you up. Use the arrow keys while in the air to do stunts for bonus points.
[QUOTE=maaatts;49991855]Why do you need recordmydesktop? ffmpeg can use x11grab[/QUOTE] Uh... because I'm a noob and don't know what I'm doing. I'll look into that, haha
I'm attempting to create a postfix calculator using linked stacks in C++. I don't understand linked lists at all. I hardly even understand templates. I'm a terrible CS major
[QUOTE=LordOfGears2;49992986]Uh... because I'm a noob and don't know what I'm doing. I'll look into that, haha[/QUOTE] recordmydesktop is generally has a higher fps due to its special encoding. But pure ffmpeg is generally far faster due to less encoding/decoding steps. Just use what works best!
So it turns out that if you remove the high frequency noise from my smoke upscaling (history for anyone who doesn't have a perfect memory from 1+ year back, I wrote a method to inject turbulence into a fluid simulation and make it look pretty), then you end up with some pretty cool sweeping stylised smoke [t]https://dl.dropboxusercontent.com/u/9317774/lowfreq.PNG[/t] This is pretty awesome compared to the reasonably boring (but probably more realistic) old low + high frequency smoke injection method. There's a little artifacting here (isolated fluid cells) because i've turned it up to 11 to show it off. I'm probably going to update the very slow raytracing to some sort of skew rendering method, which is likely to be much faster and more consistent
[QUOTE=Estolle93;49994877]I'm attempting to create a postfix calculator using linked stacks in C++. I don't understand linked lists at all. I hardly even understand templates. I'm a terrible CS major[/QUOTE] Don't beat yourself up over it, knowing either of those things isn't a good gauge of how good a programmer you are. Templates are notoriously hard to wrap your head around, and it's been a loooooooong time since I saw someone use a linked list in the wild. You could always head over to the WDYNHW thread and ask there, if you're stuck on your calculator project :)
Made another development progress video for my game. Most of what I've been doing is steamworks integration, tweaking, bug fixing and a bit of polishing. Though I added a couple more features too. [video=youtube;Gvkq1P-RrFE]http://www.youtube.com/watch?v=Gvkq1P-RrFE[/video] Now the main thing I need to do before I release the game in early access is networking stuff.
Picking up coins looks really frustrating in my opinion. Maybe make them speed up a little more when they're close to the player?
WAYWO, I am using laptop keyboard right now to program.. is mechanical keyboard any better? Experiences anyone?
[QUOTE=Fourier;49997094]WAYWO, I am using laptop keyboard right now to program.. is mechanical keyboard any better? Experiences anyone?[/QUOTE] I used my keyboard so much, the keys started wearing out. Left shift key sometimes doesn't even recognize when you press it. Spacebar even bended. The laptop is from 2011 and i'm typing every day like a maniac. [thumb]http://www.carp.tk/~anon/files/WP_20160324_13_30_44_Pro.jpg[/thumb] [editline]24th March 2016[/editline] It's not a mechanical keyboard tho. Never used one. Wouldn't last long with my fingers.
[QUOTE=Fourier;49997094]WAYWO, I am using laptop keyboard right now to program.. is mechanical keyboard any better? Experiences anyone?[/QUOTE] I've got a CMStorm Quickfire TK with Brown Switches, it's fucking amazing really. [editline]24th March 2016[/editline] [QUOTE=cartman300;49997111]It's not a mechanical keyboard tho. Never used one. Wouldn't last long with my fingers.[/QUOTE] Get one with interchangeable switches and you're probably golden.
[QUOTE=DrDevil;49997074]Picking up coins looks really frustrating in my opinion. Maybe make them speed up a little more when they're close to the player?[/QUOTE] Look at 0:12 "money magnet", I imagine they go faster if you upgrade that.
Mechanical keyboards are cool, feels much better than membrane keyboards. The general recommendation seems to be Cherry MX Blues for typing, Reds for gaming and Browns for a compromise. Also, if you get a small one (wireless helps too) you can maybe put it over your laptop keyboard: [t]http://novaember.com/s/8f9453/IJNRso.jpg[/t] This is a Varmilo VB87M which has bluetooth, very portable so ideal for use with tablets and laptops. Bonus workspace pic: [t]http://novaember.com/s/8f9453/FLP50a.jpg[/t] [editline]24th March 2016[/editline] Hm, should we start a thread for workspace photos?
Sorry, you need to Log In to post a reply to this thread.