a handy solution template for rosalind.info

Icon Leave Comment
Readers here may have noticed that I like the rosalind.info problem set - it's got interesting problems, it's well structured, and the submission process is pretty clean.

However, it's not QUITE as clean as I'd like, so I found myself writing a little solution template to make it more convenient to solve and submit problems....
Featured

Max Euclidean Distance Part III: Bearing Angle

Icon 1 Comments
Part I
Part II

It turns out I was incorrect at the end of part II. There is in fact a polynomial time algorithm for this problem:



Courtesy of ishkabible and this question.

The algorithm is as follows:

...

The 80 hour work week: update 3

Icon Leave Comment
I managed to clock in at 87 hours, smashing my previous record of 76 hours. But feeling quite exhausted so I'm not sure if this is going to be the new normal. I also managed 79 hours of coding.

Problem 1 - The Beginning.

Icon Leave Comment
Multiples of 3 and 5
Problem 1

"If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.
Find the sum of all the multiples of 3 or 5 below 1000."
...

book

Icon 4 Comments
well I am reading a text on c++, I have done ch1 and ch2 and am working on ch3 exercises.
Featured

Rolling Dice In Java, C# And PHP

Icon 2 Comments
Some of the very first programs we are introduced to in programming is the idea of random numbers. This is often introduced using the idea of the die or dice. We have all seen them and have probably even thrown a set of dice at some point in our life. A die is pretty much a representation of a random number generator with a fixed range of values....
Featured

The Cloudy World

Icon 3 Comments
As I am sipping a cup of coffee and writing this blog post on a Saturday afternoon, I keep thinking about how fast time has passed. I joined DreamInCode on May 16th, 2009, just a few months before going to college. Today, it's May 13th 2017 and these numbers make me realize how much time has passed (not to mention, make feel a bit...

The Journey Continues

Icon Leave Comment
I've been super busy lately, but I managed to get started on a for fun side project titled "Martha". I am developing a Facebook bot using PHP (for now) to basically be my personal assistant;

- Google things for me
- Schedule Reminders for me
- Tell me upcoming appointments
- Save contacts to my GMAIL Contacts which will...
Featured

ASP.NET Core MVC Sniplets

Icon 1 Comments
We are using ASP.NET Core MVC. It is cool but finding up-to-date information is a little tricky because it is so new. Well, not brand new, but most information available is still for earlier versions.

I tend to search for "ASP.NET MVC ..." and initially assume that it hasn't changed. (Most of it hasn't changed.)

I'm not...

Text-Based RPG Development Day #1

Icon 2 Comments
Hello, welcome to the first entry into my Development blog.

I've been working on this project for a few days already and so far I have added:
  • Added Basic Inventory System
  • The First Monster (Giant Rat)
  • Currency System
  • ...

How can you change your account username

Icon 1 Comments
Hi
I was just trying to see if I can change my account username or just delete my account.
My account usermane is Carson Ackerman-Clemons if I cant delete my account I would like to change it to carson 850

Thanks

Batch user adding

Icon Leave Comment
These are a few helpful command to add users
FYI, you need to run these in admin for it to work

Add a normal user
net user USERNAMEHERE PASSWORDHERE/ADD /FULLNAME:"FULLNAMEHERE"


Add a normal user w/ password change restrictions
To set restrictions change PASSWORDCHG to yes or no
net user username password /ADD /PASSWORDCHG:Yes
...

[Pt 7] Eggs MessageBox

Icon Leave Comment
This is going to be similar to the Cheese MessageBox Form. Create a new Form

Form (Cheese)
BackColor: Firebrick
FormBorderStyle: FixedSingle
Text: Eggs
Name: frmEggs
MaximumSize: 356, 145
MinimumSize: 356, 145
Size: 356, 145
ControlBox: False
SizeGripStyle: Hide
TopMost: True


As the Cheese MessageBox Form...

First trial - Code to exploit a bug in webpage

Icon 3 Comments
I was testing a web site and found a bug, when I press CTRL+F5, it performs a previous action, say if I click submit button for forgot password, which sends a temporary password. After the confirmation that a temporary password is send to the email,I press CTRL+F5 and repeats sends the reset password again.

This is just a ameature stuff, nothing...

MsgBox

Icon 4 Comments
Title: MsgBox
Description: A little app that allows you to learn a bit and play with Messageboxes
Link: https://drive.google...Q012b0FOcWZmdUk
Link: https://drive.google...NGs?usp=sharing

Object Oriented Programming: Python my way

Icon 1 Comments
This is a response to Object Oriented Programming, going forward known as OOP, as presented in a popular resource.

Probably one of the books most recommended to beginning Python programmers is Zed Shaw's Learn Python the Hard Way. I've probably recommended it myself. Overall, it's a good place to start... But the ...

Whatever happened to the other mobile form factors?

Icon Leave Comment
The mobile handset market offers everyone a plethora of options to choose from. For every price range there are, at a minimum, half a dozen good handsets to choose from. Due to the consolidation in the mobile OS space, everyone is on equal footing with respect to the apps available. So the differentiator should be the hardware right? Wrong!...
Featured

LandTraveller - Finally on Steam Greenlight

Icon 2 Comments
Image reduced in size

Steam Greenlight Page: http://steamcommunit...s/?id=744567507
Website: http://landtraveller.com/...
Hello! We have 2,550 blogs, with a total of 4,255 entries and 5,264 comments.
jch053  Icon has recently created a new blog. Why not go take a look?

List Blogs

  • Show
  • Sort On
  • Per Page

32 Active Users

Google

32 Guests, 0 Anonymous Users