Search found 113 matches

by OmnipotentEntity
Thu Jul 05, 2012 1:01 am UTC
Forum: General
Topic: Longest possible Google Maps route?
Replies: 51
Views: 77814

Re: Longest possible Google Maps route?

Here's a minor improvement:

http://goo.gl/maps/fVM1

Same route, avoid highways is checked.

31,851 km, 522 hours
by OmnipotentEntity
Mon Nov 08, 2010 2:51 am UTC
Forum: Logic Puzzles
Topic: Visual puzzle
Replies: 31
Views: 8164

Re: Visual puzzle

a is n eo e oe fr en c f le m i re a▓▓▓▓is▓n▓ ▓▓▓eo▓▓▓▓e ▓oe▓fr▓▓en c▓▓▓f▓▓▓le ▓m▓▓i▓▓re▓ ICO▓M▓E▓AFT▓E▓R▓BLUE I▓A▓M▓BEFOR▓E▓B▓L▓UE IAM▓T▓H▓E▓FIRST▓ONE▓ I▓COMEB▓EFORE▓G▓REEN I▓AMB▓E▓HIN▓D▓GREEN▓ IAM▓T▓H▓E▓FIRST▓ONE▓ I▓A▓M▓BEFOR▓E▓B▓L▓UE I▓COMEB▓EFORE▓G▓REEN ICO▓M▓E▓AFT▓E▓R▓BLUE I▓AMB▓E▓HIN▓D▓GREEN▓...
by OmnipotentEntity
Mon Nov 08, 2010 1:57 am UTC
Forum: General
Topic: Longest possible Google Maps route?
Replies: 51
Views: 77814

Re: Longest possible Google Maps route?

It will deal with Russia, but only in the vicinity of Moscow, the longest route I was able to make was only 465km, (but I didn't try that hard to be honest.)
by OmnipotentEntity
Sun Nov 07, 2010 10:56 pm UTC
Forum: General
Topic: Longest possible Google Maps route?
Replies: 51
Views: 77814

Re: Longest possible Google Maps route?

Oh nice! Thanks. On previous route I had tested checking those boxes made the route longer, guess it goes to show you can never make assumptions.
by OmnipotentEntity
Sun Nov 07, 2010 7:49 am UTC
Forum: General
Topic: Longest possible Google Maps route?
Replies: 51
Views: 77814

Re: Longest possible Google Maps route?

Well, google maps seems to be split into particular domains that don't interact (here they are sorted by longest route I've found in each): 1. America, Canada, (not mexico,) Japan, China and Australia. (link in OP) 29,361 km 2. Africa (not including Egypt) 15,984 km (primary route) 16,282 km (second...
by OmnipotentEntity
Sun Nov 07, 2010 1:51 am UTC
Forum: General
Topic: Longest possible Google Maps route?
Replies: 51
Views: 77814

Re: Longest possible Google Maps route?

Levi wrote:That would be fairly easy, wouldn't it? It would at least be easier than the regular traveling salesman problem, right?


Same complexity class. Plus you can use the same waypoint twice. So multiple waypoints are not a terribly interesting problem.
by OmnipotentEntity
Sun Nov 07, 2010 1:42 am UTC
Forum: General
Topic: Longest possible Google Maps route?
Replies: 51
Views: 77814

Re: Longest possible Google Maps route?

It was intended for the challenge to be between only two waypoints. Otherwise you can go much farther by going back and forth between those two points, than between Miami and Washington. :P I kinda thought that much was obvious to the most casual observer.
by OmnipotentEntity
Sat Nov 06, 2010 6:46 pm UTC
Forum: General
Topic: Longest possible Google Maps route?
Replies: 51
Views: 77814

Longest possible Google Maps route?

I came up with this one it runs 29,361 km, 59 days 21 hours Bear Cove Point Rd to Pineapple Rocks Trk As far as longest time, I haven't tried as hard at it, but this route is 59 days 23 hours, (but only 29,252 km) Nain, Canada to Pineapple Rocks I'm really close to breaking 60 days, and reasonably c...
by OmnipotentEntity
Sun Feb 01, 2009 6:52 pm UTC
Forum: Coding
Topic: Removing punctuation in Perl
Replies: 4
Views: 3095

Re: Removing punctuation in Perl

try s/[^a-zA-Z\d]//g

if you want to include whitespace

s/[^a-zA-Z\d\s]//g

if you don't mind it matching '_'

s/[^\w\d\s]//g
by OmnipotentEntity
Sat Sep 15, 2007 5:43 am UTC
Forum: Logic Puzzles
Topic: This was inspired by that thread in the Coding forum.
Replies: 3
Views: 1725

So much hate over perl that isn't really all that obfuscated.
by OmnipotentEntity
Fri Sep 14, 2007 5:19 am UTC
Forum: Logic Puzzles
Topic: This was inspired by that thread in the Coding forum.
Replies: 3
Views: 1725

This was inspired by that thread in the Coding forum.

Find the error in my perl code. The error is only one character's worth. You can make this code work as intended by simply changing, inserting or deleting a single character. The function is intended to simply take two files, and display both to stdout. It's fair to warn you that the version of perl...
by OmnipotentEntity
Sat Sep 08, 2007 3:55 am UTC
Forum: Logic Puzzles
Topic: Rubiks Cube
Replies: 23
Views: 5437

I've never seen a cube that couldn't be solved in more than 20 turns. And I spent my entire senior year looking.

Counting a turn as a face turn (ie one half turn or one quarter turn)
by OmnipotentEntity
Sat Aug 04, 2007 7:20 pm UTC
Forum: Coding
Topic: Php Query
Replies: 7
Views: 2011

mikeyn wrote:Well what I meant was. Do I have to embed my txt file in my site, or upload it somewhere, or will it just pull it from my computer.

Also I was hoping someone could explain just how and why the coding works.


You need hosting that is php enabled. And has modules for those image functions.
by OmnipotentEntity
Thu Jul 05, 2007 4:35 pm UTC
Forum: General
Topic: What's your favorite number?
Replies: 81
Views: 9390

17 here.

The Mighty Thesaurus wrote:Seventeen, for it is truly the number of the gods.


I'm glad at least someone agrees with me.
by OmnipotentEntity
Thu Jul 05, 2007 4:26 pm UTC
Forum: Mathematics
Topic: The ability of a 44kHz audio file to create high tones
Replies: 10
Views: 2825

The thing is, you don't really need to worry much about 20kHz sounds when making the average CD. While we can hear sounds that high, they're perceived as much quieter than more midrange sounds, so would generally be irrelevant when you're recording and playing a normal song. You can make a 20 kHz t...
by OmnipotentEntity
Thu Jul 05, 2007 3:21 am UTC
Forum: Forum Games
Topic: 3 letters in a word
Replies: 1795
Views: 263541

axoide

lms
by OmnipotentEntity
Tue Jul 03, 2007 6:14 pm UTC
Forum: Mathematics
Topic: SOHCAHTOA
Replies: 51
Views: 13841

Sounds like a color spectrum. But I don't know what the ends mean.

EDIT: Google turned up with the resistor color code.
by OmnipotentEntity
Tue Jul 03, 2007 2:25 am UTC
Forum: Coding
Topic: Yay first app!
Replies: 16
Views: 3989

tendays wrote:Switches are faster than ifs and more readable. I agree that obligatory "break" thing is a silly design decision but we get used to it.


I like breaks, useful if you have to fall through for something.
by OmnipotentEntity
Sat Jun 23, 2007 4:37 pm UTC
Forum: Mathematics
Topic: What the crap is a Hypercube?
Replies: 23
Views: 5495

I remember reading Madeline L'Engel's A Wrinkle in Time series when I was a kid (8 years old). I loved (as in read in 6 times in a row) that series. It wasn't until years later that I realised that the Tesseract in the book was an actual concept, and in the one book the brother that gets sick was a...
by OmnipotentEntity
Tue Jun 19, 2007 11:21 pm UTC
Forum: Coding
Topic: linux help - Running a C++ application
Replies: 22
Views: 5003

For most programs in Windows that you have to run an installer for there's no good way to just zip up the files and port them over to the new machine, there could be (and probably are) registry entries and shared dlls that you have to move as well, which is why you should be running the installer fr...
by OmnipotentEntity
Fri Jun 15, 2007 7:24 pm UTC
Forum: Mathematics
Topic: What's your favourite irrational number?
Replies: 78
Views: 21099

I might have to go for e because it is nice and easy to code a program that quickly gives you a very long decimal approximation to it. By the way, does anyone want 10,000 digits of e? Then again, phi is also nice to code since you can do the Fibonacci sequence and divide your last two terms. Anyone...
by OmnipotentEntity
Thu Jun 14, 2007 6:42 pm UTC
Forum: Mathematics
Topic: What's your favourite irrational number?
Replies: 78
Views: 21099

Area of the Mandelbrot set, assuming it's irrational.
by OmnipotentEntity
Thu Apr 05, 2007 3:58 pm UTC
Forum: Coding
Topic: [ Poll ] Infinite loops
Replies: 185
Views: 39408

I pretty much skipped levels 5 and 6 I think ;-) I can do some things with regexs, but not a lot, and I have to constantly look up syntax because I don't use them much. Haven't really done much programming in what would traditionally be considered scripting languages; BASIC actually may be the clos...
by OmnipotentEntity
Wed Apr 04, 2007 7:44 pm UTC
Forum: Logic Puzzles
Topic: Is this a question?
Replies: 41
Views: 8284

I don't know about you, but I think that "this" is a word.
by OmnipotentEntity
Fri Mar 30, 2007 8:10 pm UTC
Forum: Coding
Topic: Find the average of two numbers
Replies: 146
Views: 30846

Returning an int? Even for ints the average can be a non-int. (ie any odd number and any even number). If you don't care about fractions the function is going to be inline int average(int a, int b) {return (a+b)/2;} You can add the numbers together and then do a right bit s...
by OmnipotentEntity
Tue Mar 13, 2007 3:08 am UTC
Forum: Logic Puzzles
Topic: 3n+1
Replies: 89
Views: 25491

#include <iostream> #include <cstring> #include <gmp.h> #include <string.h> int main() { mpz_t step,num; mpz_init(step); mpz_init(num); mpz_set_ui(step,3); for ( ; ; ) { mpz_set(num,step); while(mpz_cmp(num,step) >= 0){/...
by OmnipotentEntity
Sun Mar 11, 2007 8:34 am UTC
Forum: Logic Puzzles
Topic: 3n+1
Replies: 89
Views: 25491

#include <iostream> #include <cstring> #include <gmp.h> #include <string.h> int main() { mpz_t step,num; mpz_init(step); mpz_init(num); mpz_set_ui(step,2); for ( ; ; ) { mpz_set(num,step); while(mpz_cmp(num,step) >= 0){/...
by OmnipotentEntity
Sat Mar 10, 2007 7:36 am UTC
Forum: Logic Puzzles
Topic: 3n+1
Replies: 89
Views: 25491

With all your output I don't see how that'd be really fast. Every time you System.out.println() you flush and every time you stall the program while it writes to the screen. A better method would be to let the computer decide when to flush (ie about 60 times a second instead of once a number.) I alr...
by OmnipotentEntity
Fri Mar 09, 2007 11:28 pm UTC
Forum: Logic Puzzles
Topic: One third of a square
Replies: 20
Views: 8473

phlip wrote:to construct a square with area 1/3 of another square would involve a trisection somewhere, which can't be constructed.


In the general case, yes, but you can trisect a right angle and most other mathematically common angles very easily.
by OmnipotentEntity
Mon Mar 05, 2007 3:48 am UTC
Forum: Logic Puzzles
Topic: 3n+1
Replies: 89
Views: 25491

Here's the list up to 10 million, compressed with 7zip... It's actually rather interesting to see all of the repeated numbers in the list.

Sorry about the rapidshare, it's a rather large file even compressed.
by OmnipotentEntity
Thu Mar 01, 2007 3:01 am UTC
Forum: Logic Puzzles
Topic: 3n+1
Replies: 89
Views: 25491

Oddly enough, I just got done writing a case tester. /* Author: Michael Reilly <OmnipotentEntity@gmail.com> * Public Domain'd */ #include <iostream> #include <cstring> #include <gmp.h> #include <string.h> int main() { int count = 0; int countdiv = 0; int countmul = 0; mpz_t step,num; m...
by OmnipotentEntity
Wed Feb 28, 2007 1:06 am UTC
Forum: Logic Puzzles
Topic: 3n+1
Replies: 89
Views: 25491

Oddly enough, I just got done writing a case tester. /* Author: Michael Reilly <OmnipotentEntity@gmail.com> * Public Domain'd */ #include <iostream> #include <cstring> #include <gmp.h> #include <string.h> int main() { int count = 0; int countdiv = 0; int countmul = 0; mpz_t step,num; mp...
by OmnipotentEntity
Sat Feb 10, 2007 3:48 pm UTC
Forum: General
Topic: Avatars! (Attn: Tegan)
Replies: 320
Views: 29801

Bet you can't guess where my avatar is from.
by OmnipotentEntity
Thu Feb 08, 2007 7:02 am UTC
Forum: General
Topic: Operating systems
Replies: 122
Views: 19908

It makes the convenient. And you can see more than one at the same time.
by OmnipotentEntity
Mon Feb 05, 2007 11:00 pm UTC
Forum: Logic Puzzles
Topic: Equators
Replies: 77
Views: 16620

FUN FACT An expanse of water must be a few kilometers wide in order to show any noticeable signs of the coriolis effect. Toilet, sink, and tub water spin in a direction determined by the shape of the bowl or the direction of flow (toilet) or agitation (drains). Is YOUR toilet that wide? The corioli...
by OmnipotentEntity
Sat Feb 03, 2007 12:19 pm UTC
Forum: Logic Puzzles
Topic: Equators
Replies: 77
Views: 16620

The North Star vanishes over the horizon. (Assuming the room you in the boat has northward facing windows.)
by OmnipotentEntity
Thu Feb 01, 2007 10:32 pm UTC
Forum: General
Topic: Show the world your desktop! [Mommy, what's 56K?]
Replies: 2356
Views: 413137

Aoeniac wrote:I just like this artist is all.


Image


Is there a clean version of this picture?
by OmnipotentEntity
Thu Feb 01, 2007 8:41 am UTC
Forum: General
Topic: Operating systems
Replies: 122
Views: 19908

Debian Sid here. KDE+Beryl. What's special about it that Windows can't do? Well, for starters, in a stock Debian install vs. a stock Windows install: aptitude install iceweasel *coughfirefoxcough* a word processor or three grep ssh whois access to raw devices tabbed completion named pipes a sane per...
by OmnipotentEntity
Wed Jan 31, 2007 6:49 am UTC
Forum: General
Topic: Fora member birthdays
Replies: 753
Views: 100927

1984-11-26 here.
by OmnipotentEntity
Wed Jan 31, 2007 4:09 am UTC
Forum: Your art and links
Topic: Things worth paying attention to.
Replies: 39
Views: 9388

The comics that I read that have not already been mentioned are: Ghost 2138 : Sort of a post-apocalyptic, political action drama comedy thing. It's pretty much dead. I check on it every week or so. It has a pretty good backlog of comics. The art in chapter 5 is substantially different. Also has some...

Go to advanced search