avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday May 22, 2022, 5:48 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - p3lb0x [ switch to compact view ]

Pages: [1] 2 3 4 5 6 ... 17next
While this may not be quite as well polished as the original version. I wrote a small console utility that does the same thing.

It is purely commandline based.
Setting the root directory is done using the option "-d" followed by the root directory to search from (example -d "c:/familyphotos")
Extension filtering is done by "-e" followed by the extensions you want to include (for example -e "wav,ogg,mp3")
The amount of files for you to choose from is set with the "-t" option followed by an integer.
This changes the behavior slightly if higher than 10, as 10 cannot be input in a single character. So when selecting you have to hit enter as well.

This gif should illustrate: bac.gif

My bad completely forgot about it due to real life. I'll give it a shoot soon.

If no one else takes this, I'll take a shot at it in about a week.

Ah yes, I done goofed with the first one. Added in a check to make sure we don't try to move the directory to the same folder, but accidentally checked against the wrong variable :)

Shouldn't be too horrible to do.

edit: Done diddly.

Pull any folder you want on to the executable and it will count the folders and files inside and rename the folder to "# OldFolderName". I put the sourcecode rar as well. If you want it for multiple folders at once that can be easily done.

Edit edit: Okay, added functionality to drop multiple folders in at once.

Requires .Net 4.6.1


Something like this you were thinking off? I set the hotkey to ALT + L in this case and it is hardcoded to open VLC, but with a bit more work it could be configurable with an ini file or something.

Currently I am just running the application with the file names sent in as arguments, so any media player you'd want to run this with needs to be able to do that (or be able to do it with some argument flags)

As you may or may not know, Nintendo has never been one for amazing graphics. Usually they go for a cartoon style.

I fundamentally disagree with this notion, while you did touch on it later in this paragraf. I'd say that visually coherent and well done stylistic presentation trumps purely technical graphics any day. And while the new Zelda seems to have a bit of both with regards to volumetric lighting and reflections. It, like World of Warcraft and Super Mario Galaxy makes really good use of their stylistic choices, and I think it is wrong to not call what they do "Amazing graphics". A game like Antichamber is not very visually advanced up front, but it makes for a compelling aesthetic experience nonetheless. Specifically because it combines both the feel of the mechanics and gameplay elements really well.

Code: C# [Select]
  1. class Program
  2.     {
  3.         static void Main(string[] args)
  4.         {
  5.             List<float> A = new List<float> {};
  6.             List<float> B = new List<float> {};
  8.             FillListWithRandNumbers(A, 20);
  9.             FillListWithRandNumbers(B, 20);
  11.             var approximateNumbers = ApproxNumbers(A, B, 0.05f);
  14.             Console.WriteLine("List A: ");
  15.             foreach (var num in A)
  16.             {
  17.                 Console.WriteLine(num);
  18.             }
  19.             Console.WriteLine();
  21.             Console.WriteLine("List B: ");
  22.             foreach (var num in B)
  23.             {
  24.                 Console.WriteLine(num);
  25.             }
  26.             Console.WriteLine();
  28.             Console.WriteLine("Numbers within 5% of numbers in list A");
  29.             foreach (var tup in approximateNumbers)
  30.             {
  31.                 Console.WriteLine(tup.Item1 + " " + tup.Item2);
  32.             }
  34.             Console.WriteLine("Match amount: " + approximateNumbers.Count);
  36.         }
  38.         static void FillListWithRandNumbers(List<float> list, int amount = 100)
  39.         {
  40.             Random r = new Random(DateTime.Now.Millisecond);
  41.             int range = 100;
  42.             for (var i = 0; i < amount; ++i)
  43.             {
  44.                 list.Add((float)r.NextDouble() * range);
  45.             }
  46.         }
  48.         static List<Tuple<float, float>> ApproxNumbers(List<float> a, List<float> b, float tolerance)
  49.         {
  50.             List<Tuple<float, float>> ret = new List<Tuple<float, float>>();
  52.             foreach (var num1 in a)
  53.             {
  54.                 foreach (var num2 in b)
  55.                 {
  56.                     if (Math.Abs(num1 - num2) < num1 * tolerance)
  57.                     {
  58.                         ret.Add(new Tuple<float, float>(num1, num2));
  59.                     }
  60.                 }
  61.             }
  63.             return ret;
  64.         }
  65.     }

Something like this?

Living Room / Re: Recommend some music videos to me!
« on: July 03, 2018, 07:54 PM »
Tried my hand at some audio distortion by heavily altering samples, was gonna do some sort of simplified 3d animation, but it ended up crashing and I couldn't be bothered to start over. So I threw some distortion effects on a friends drone footage and this is what I ended up with.

Living Room / Re: More good web comics you've discovered
« on: June 23, 2018, 11:49 AM »
Stand Still, Stay Silent

A comic about a post apocalyptic world in which the only known civilization left being in the nordic countries. It has some great and very vivid psychedelic art some times.
ah yes,
Edvard recommended that a while back, your post got me actually reading it though :up:
Script, colouring, and some of the illustrations remind me of Tolkien's illustrations:
lovely drawing  :-*
page 1 reminds me of some of Tolkien's drawings

[ Invalid Attachment ]

Oh wow, I didn't see that. Most have completely zipped past me when I skimmed through the thread.

DC Gamer Club / Re: Latest GOG Giveaway
« on: June 04, 2018, 05:43 PM »
Xenonauts is pretty good, I definitely recommend it. Even if I haven't played it as much as I should.

Living Room / Re: More good web comics you've discovered
« on: May 21, 2018, 04:23 AM »
Stand Still, Stay Silent

A comic about a post apocalyptic world in which the only known civilization left being in the nordic countries. It has some great and very vivid psychedelic art some times.


While I am sure similar software already exists, I spent most of today on creating a small utility that would allow you to very easily put down small notes about what you've been working on and outputting them in JSON, so it would be uploadable to a web server to track time.


Living Room / Re: Recommend some music videos to me!
« on: May 08, 2018, 07:37 PM »

I enjoyed this really well animated music video recently, I can understand if the music is not for everyone. But goddamn that animation is smooth and cute.

Post New Requests Here / Re: Programming Language Question
« on: April 27, 2018, 12:08 AM »
Unfortunately I am not well versed enough in AutoHotkey to give you a good answer, but from what I've seen... probably? But it would take a lot more code to accomplish what AutoHotkey can accomplish with a page of script using C#. From what I gather AutoHotkey has a pretty narrow scope (Feel free to correct me here, AutoHotkey gods) of what it sets out to accomplish, and does this extremely well. That scope entailing automation of tasks and small simple UIs to facilitate this, an example being renaming files or doing specific tasks at different times. Whereas C# is designed to be a fairly high level multi paradigm language that you can use for pretty much anything.

Post New Requests Here / Re: Programming Language Question
« on: April 26, 2018, 10:31 PM »
As Mouser said, there's a lot of things you have to consider before picking a starting language.

I'd recommend C#, it has very clean syntax, you can do a lot of things fast, has great documentation (with regards to the .net framework, for the most part anyway), great guides on how to tackle common tasks and it does all this decently quickly. However, you're pretty much tied to windows since most of the .net framework isn't crossplatform. Otherwise I'd look at some of the prominent scripting languages like Python. While Python definitely has its own quirks and problems, there are a shitton of UI frameworks (Something that definitely speeds up the presentation side of things) out there and libraries to take advantage of.

While I probably won't use your service, I gotta say. Whoever did that website design is pretty talented.
I really dislike those cartoon graphics though, but I can see how they would appeal to people just looking into web scraping.

Living Room / Re: Badly explain a movie.
« on: April 06, 2018, 08:10 AM »
I'd assume you're talking about one of the X-men movies.

Slightly obscure, but memorable danish movie:

Bankteller foils robbery with a squash racket, only to have his girlfriend leave him. Our hero then reunites with his long lost brother to rekindle their brotherly bond.

DC Gamer Club / Re: Free Game on Humble Store
« on: March 31, 2018, 10:06 AM »
The game is indeed great, but I wouldn't go as far as call the gameplay great. It is entirely mediocre, but I'd still recommend it for its out of left field mindfuckery.

General Software Discussion / Re: Fruits of my gamejam labour
« on: October 17, 2017, 01:40 PM »
Ah, right. Should probably have mentioned the inability to actually quit the game.

General Software Discussion / Fruits of my gamejam labour
« on: October 17, 2017, 12:58 AM »
At the behest of Mouser I am gonna post the results of a small local gamejam I joined by the Organization Coding Pirates here in Denmark.

Coding Pirates are a volunteer organization that does community work with kids and young adults to get them interested in technology, programming and mixing these with more artistic endeavors (Like game making or visual arts). I hadn't actually heard of them before, but I saw the event through facebook and decided to join in.

The theme of the gamejam was mirrored from what they had helped the kids in their program work on for the last half year, but we were only afforded 12 hours (actually only 11 hours since the last hour was for a presentation). That theme being "feelings", completely open to interpretation.

The group I was in decided on "The feeling of confusion" as our interpretation, resulting in a maze game that tried to confuse the player through the use of rotating the playing field and teleporters. The game was made in Unity, something I've been dabbling in recently and hopefully can produce a small game in for my NANY. Lots of corners were cut, due to a mixture of us not being the most proficient at Unity, the other programmer in the group never having written any C# and time constraints. We did however produce a fully functional game with well defined gameplay elements and no bugs (as far as I know anyway).


The goal of Squared? (Stylized as "?²") we made is to find 4 keys and reach the treasure behind the locked door.


Gameplay is really simple, you walk around the maze with limited vision, only being able to see neighboring rooms. Compass rooms reorient the gameworld and teleporters move you to another place in the maze, there's also glyph rooms that help you create a mental map (that the rotations hopefully messes with).

We ended up being tied for last place however, because the game wasn't eye catching compared to the other games (that you can also download here)

Scary turn of events. I wonder what's behind the W3C bowing to the corporate overlords in such a way.

Community Giveaways / Re: Shadow of Mordor and Neon Chrome
« on: September 20, 2017, 10:20 PM »
Lanux dropped me a pm, scant 40 minutes earlier. I am sorry

Living Room / Re: good Videos [short films] here :)
« on: September 20, 2017, 10:17 PM »

Scifi short about VR with a premise seen before. Still has nice visuals and a pretty good sound direction

Community Giveaways / Shadow of Mordor and Neon Chrome
« on: September 20, 2017, 05:40 PM »
I have a spare copy of these two games from a recent Humble Bundle, anyone want them?
Middle-earth: Shadow of Mordor Game of the Year Edition
Neon Chrome

Pages: [1] 2 3 4 5 6 ... 17next