• What Are You Working On? April 2015
    1,741 replies, posted
I'm going to assume that student license is non-commercial. I have to fork out money for indie and I don't even get to use VS.
[QUOTE=reevezy67;47480765]I'm going to assume that student license is non-commercial. I have to fork out money for indie and I don't even get to use VS.[/QUOTE] I would enquire, they make no such mention of non-commercial, I don't recall seeing any different EULA, you are (not sure if it's changed now with the VS addition), just granted an indie license.
So I'm back to making progress ! [IMG]http://i.imgur.com/mNCYLfk.gif[/IMG] Also a new [URL="http://exiin.com"]website [/URL]and company name, and another developer ! Gotta say that working with somebody who can also do pretty much everything you can do is a huge plus, progress has never been so fast :)
Codename: Notline Miami [thumb]http://i.imgur.com/6yKouiY.gif[/thumb]
[QUOTE=cartman300;47480076][url]http://www.pinvoke.net/default.aspx/kernel32/AllocConsole.html[/url][/QUOTE] [quote=sidneys1;47479381]On that topic, since this is a WPF app I have to do some funky API calls to attach the console to the CLI... There's an API method to attach to an existing console with a specific argument to attach to the parent process (-1 instead of PID), but when I do the console prompt shows between every Console.Write() and Console.Read()... [B]So for now I create a new console window which works perfectly, it's just annoying.[/B] Changing the project type to Console App means a console window shows when it starts in GUI mode. Anyone have a solution to either one of these problems?[/quote] That's what I used, it's just really annoying having a [I]second[/I] console window pop up. I can't use AttachConsole either, The command prompt shows between every line my code prints, like this: [code] C:\Path>myapp.exe Myapp says hello world! Enter your name: C:\Path>Sidneys1 'Sidneys1' is not recognized as an internal or external command, operable program or batch file. Sidneys1 (typing it again) Hello Sidneys1! Program exiting... C:\Path> [/code] [editline]xx[/editline] Maybe I'll try it again, I just realized it might be the new console... [img]http://i.imgur.com/Sqj5jJ6.png[/img]
[QUOTE=Sidneys1;47481657]That's what I used. The command prompt shows between every line my code prints, like this: [code] C:\Path>myapp.exe Myapp says hello world! Enter your name: C:\Path>Sidneys1 'Sidneys1' is not recognized as an internal or external command, operable program or batch file. Sidneys1 (typing it again) Hello Sidneys1! Program exiting... C:\Path> [/code] [editline]xx[/editline] Maybe I'll try it again, I just realized it might be the new console... [img]http://i.imgur.com/Sqj5jJ6.png[/img][/QUOTE] That is NOT the function to attach to an existing console, that is a function to allocate a NEW console when you don't run your application from inside command prompt, to attach an existing console you use AttachConsole. [url]http://www.pinvoke.net/default.aspx/kernel32/AttachConsole.html[/url]
[QUOTE=cartman300;47481680]That is NOT the function to attach to an existing console, that is a function to allocate a NEW console when you don't run your application from inside command prompt, to attach an existing console you use AttachConsole. [url]http://www.pinvoke.net/default.aspx/kernel32/AttachConsole.html[/url][/QUOTE] Yes, just realized you linked Alloc, not attach. I've tried both and updated my previous post. Alloc does work, I was just hoping for a solution that kept the same console window like a normal program.
[QUOTE=Sidneys1;47481657]That's what I used, it's just really annoying having a [I]second[/I] console window pop up. I can't use AttachConsole either, The command prompt shows between every line my code prints, like this: [code] C:\Path>myapp.exe Myapp says hello world! Enter your name: C:\Path>Sidneys1 'Sidneys1' is not recognized as an internal or external command, operable program or batch file. Sidneys1 (typing it again) Hello Sidneys1! Program exiting... C:\Path> [/code] [editline]xx[/editline] Maybe I'll try it again, I just realized it might be the new console... [img]http://i.imgur.com/Sqj5jJ6.png[/img][/QUOTE] Is that Win10? How does it feel? How are the virtual desktops?
[QUOTE=Darwin226;47481746]Is that Win10? How does it feel? How are the virtual desktops?[/QUOTE] Feels great! Still a long way to go, but I've been using it as my daily driver since TP1. Virtual Desktops are great, but I keep forgetting I have them. I do find them useful for having persistent monitoring or administration windows in a second desktop and off my primary taskbar. The new start menu is iffy so far, but it's still pretty early on in development. Cortana is a lifesaver. Notification center is useful (apps that used to pop up balloon notifications in the system tray now show toasts that stay in Notification Center until you dismiss them) and I never miss important notifications anymore. Project Spartan is awesome, but also has a long way to go before it's a daily driver. Supposedly it might get support for chrome extensions, which is pretty awesome. Cortana in the browser is also surprisingly intuitive and helpful, surprised chrome hasn't integrated Google Now or Apple integrated Siri into their respective browsers yet.
I got my first job after 2-3 years of self-teaching :D Next Wednesday I start my job as a "junior web developer", woo, feels good! I even got to pick out my own mechanical keyboard to use at work. :) Thanks for being a continued source of inspiration WAYWO :smile:
I remembered reading [URL="http://journal.stuffwithstuff.com/2014/07/05/dropping-loot/"]this article[/URL] a while back, and I thought I could make Pickle have an additonal, different kind of picker for categorised items. So here we go; the first working version: [code] // create a new categorised picker // you need to give a method that takes in your item and returns a name for that item // this could be a simple method in your item, such as YourItem.GetName() CategorisedPicker<MyEnum> catPick = new CategorizedPicker<MyEnum>(m => m.ToString()); // add a category called "Test" to the picker catPick.AddCategory("Test"); // add a category called "Another" to the previously added category "Test" catPick.AddCategory("Another", "Test"); // add two items to the "Another" category, both with 50% chance of being picked catPick.AddItem("Test/Another", MyEnum.Item1, 50); catPick.AddItem("Test/Another", MyEnum.Item2, 50); // pick one item from the picker // this will go through all categories, and picks an item from the first category it find that contains items Console.WriteLine(catPick.NextItem()); Console.ReadKey(); [/code] I still need to add a way to define the category from which you want to pick items from but it's exams week and I need to study :v: [URL="https://github.com/Spanfile/Pickle"]GitHub repo[/URL]
[QUOTE=Hng;47481917]I got my first job after 2-3 years of self-teaching :D Next Wednesday I start my job as a "junior web developer", woo, feels good! I even got to pick out my own mechanical keyboard to use at work. :) Thanks for being a continued source of inspiration WAYWO :smile:[/QUOTE] I've got 4 years of experience in various languages (all self taught, but none web dev [besides js, but i don't really count that as web dev really]) and i hope to find a job too after this year (my final year of highschool). I wish you luck. [editline]8th April 2015[/editline] This gives me motivation.
Random number generation based on a provided distribution function. [code]let test = Gen.distributed (fun x -> Math.Exp(-(Math.Pow((x - 0.5) * 5.0, 2.0) / 2.0))) let list = ImmutableRandom.fromSeed 11 |> Gen.runGen (Gen.listOf test 16000) let dist = List.countBy (fun x -> x * 50.0 |> Math.Floor |> int) list[/code] It uses a custom numerical integration algorithm so it's not really meant for anything serious, but it works well enough. [img]http://i.imgur.com/gVndzED.png[/img] A possible use case that comes to mind is procedural generation of enemy stats, where a super strong enemy has a lower chance of spawning than a super weak enemy. [editline]8th April 2015[/editline] Plots by FSharp.Charting
still fighting unity and trying to develop my horrible castle-crasher-ish game [vid]http://a.pomf.se/lxdeyp.mp4[/vid]
[QUOTE=Hng;47481917]I got my first job after 2-3 years of self-teaching :D Next Wednesday I start my job as a "junior web developer", woo, feels good! I even got to pick out my own mechanical keyboard to use at work. :) Thanks for being a continued source of inspiration WAYWO :smile:[/QUOTE] Congratz dude. I got this as well a couple weeks ago. The problem was that they wanted me to work 4-6 hours overtime each day. And weekends. Unpaid. So I didn't comply and they fired me. Oh well.
@P1raten can you mention the company? WAYWO: I am struggling with math but this just means I am learning! Keep it on!
get hit [I][B]with a punch[/B][/I] [vid]http://a.pomf.se/ygroyy.webm[/vid]
can we go on with remembering past? I remember always venturing in this part of facepunch and getting really encouraged to keep on exploring this wonderful world of programming. you guys taught me a lot and turned from completely stupid and crap-talking (let's not remember this haha) to I don't know, but I did come a long way and I would say that this road just keeps on going :) some people, like layla, never even stopped. actually thank you to everyone who post, I am fairly sure that there are people coming to this thread everyday around the world who are being inspired to be doing all this. wishing for waywo to keep going for so long it will overflow uint64_t! as a matter of fact, I am working on an audio synthesizer, it sucks (only so far). btw [url=https://github.com/ocornut/imgui]imgui[/url] is really cool and easy to use. [img]http://i.imgur.com/2BUTuYq.png[/img]
[QUOTE=Xerios3;47481353]So I'm back to making progress ! [IMG]http://i.imgur.com/mNCYLfk.gif[/IMG] Also a new [URL="http://exiin.com"]website [/URL]and company name, and another developer ! Gotta say that working with somebody who can also do pretty much everything you can do is a huge plus, progress has never been so fast :)[/QUOTE] Real simple answer please, how did you make the website? Game and site are real pretty too! [editline]8th April 2015[/editline] [QUOTE=Darwin226;47481977]Random number generation based on a provided distribution function. [code]let test = Gen.distributed (fun x -> Math.Exp(-(Math.Pow((x - 0.5) * 5.0, 2.0) / 2.0))) let list = ImmutableRandom.fromSeed 11 |> Gen.runGen (Gen.listOf test 16000) let dist = List.countBy (fun x -> x * 50.0 |> Math.Floor |> int) list[/code] [/QUOTE] There is a lot less fruit in that code than expected/wanted
[QUOTE=Fourier;47483516]@P1raten can you mention the company? WAYWO: I am struggling with math but this just means I am learning! Keep it on![/QUOTE] Yah sure. It's a small company and it's called --Removed because reasons--(AB is the equivalent of Ltd).
[QUOTE=P1raten;47483926]Yah sure. It's a small company and it's called Netfactor AB(AB is the equivalent of Ltd).[/QUOTE] Ah it must be really small since they don't even have website.
[QUOTE=Fourier;47484205]Ah it must be really small since they don't even have website.[/QUOTE] --Removed-- Because reasons.
After being hired to work on web projects I realised that being paid by hours is difficult due me drifting my mind away from the task all the time, so I invented this using WPF and C#: [IMG]http://f.donkie.co/WPqzO[/IMG] Which constantly monitors which window is currently focused and notes its window title down, ticking its time up. When I've done work for the day I pause the timer, scroll through the list and I can select->exclude any window that isn't related to work, which in the end gives me my worked time. Future ideas include perhaps automatic pausing for AFK and a better list (sort by application name and not just window title, etc) Git for you interested, also compiled .exe ready to DL if you wanna test. [url]https://github.com/Donkie/WorkClocker/[/url]
Personally I have been using trello plus to manage tasks and track time against them: [url]https://trello.com/[/url] [url]https://chrome.google.com/webstore/detail/plus-for-trello-time-trac/gjjpophepkbhejnglcmkdnncmaanojkf?hl=en[/url] useful for collab projects in particular
[QUOTE=Donkie;47484631]After being hired to work on web projects I realised that being paid by hours is difficult due me drifting my mind away from the task all the time, so I invented this using WPF and C#: [IMG]http://f.donkie.co/WPqzO[/IMG] Which constantly monitors which window is currently focused and notes its window title down, ticking its time up. When I've done work for the day I pause the timer, scroll through the list and I can select->exclude any window that isn't related to work, which in the end gives me my worked time. Future ideas include perhaps automatic pausing for AFK and a better list (sort by application name and not just window title, etc) Git for you interested, also compiled .exe ready to DL if you wanna test. [url]https://github.com/Donkie/WorkClocker/[/url][/QUOTE] How well does it work with Chrome's tabs?
[QUOTE=Rocket;47485068]Huh. Looks like there's still a thread post limit and the Unity thread [url=http://facepunch.com/showthread.php?t=1260922&page=126]just hit it[/url]. Just posting this here because obviously I can't reply to the old thread.[/QUOTE] Godamnit Garry. Couldn't you make the post limit a reference to something? Like 9001?
Made my first non-game program today. I was tracking the progress of a friend's Kickstarter, and was using the equation Pledged / (30-DaysLeft) * 30 >= Goal to see every day if she was in the "green". As in: If she maintained the current rate of pledges, would she be successful by the end of it. Of course it's nothing more than a gross estimation, but it's fun to watch. Out of boredom I made a program to do it for me, and it works great. Shows Red or Green depending on your fate. Maybe I can turn it into a small website or something with Kickstarter stat factoids on success and whatnot. [editline]8th April 2015[/editline] Here it is: [IMG]http://i.imgur.com/MVDSWYz.gif[/IMG] Any tips for how I can make a quick&dirty website like the one I said above?
Thanks, I'll look into it! I'm going to try to go a step deeper and specifically state how much more money you need this day to get back into the green, and if you already are in the green how much money over the average you are.
After a lot of PowerShell, coffee, and swearing, I managed to set up AppVeyor to auto-compile Rantionary into a Rant package every time a commit is made. Now you can download the latest dictionary version as one file! You can download it [URL="https://ci.appveyor.com/project/TheBerkin/rantionary"]here[/URL].
Well, I managed to kill the type solver... Fuck.
Sorry, you need to Log In to post a reply to this thread.