Search found 30 matches

by shash
Wed Aug 20, 2008 5:06 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0465: "Quantum Teleportation"
Replies: 138
Views: 25409

Re: Quantum Teleportation

Yeah, Star Trek teleportation would be cooler than forcing an object on the opposite end to become exactly like the original (destroying the original in the process). Thing is, quantum teleportation is obviously quite possible (but incredibly impractical for anything but particles) while the Star T...
by shash
Mon Jan 28, 2008 12:28 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0376: "Bug"
Replies: 97
Views: 36029

Re: 'Bug' discussion

import datetime import time print datetime.datetime.min print time.mktime(datetime.datetime.min.timetuple()) print datetime.datetime.max print time.mktime(datetime.datetime.max.timetuple()) 0001-01-01 00:00:00 978287400.0 9999-12-31 23:59:59.999999 253402280999.0 He's definitely doing something wro...
by shash
Thu Dec 20, 2007 3:36 am UTC
Forum: News & Articles
Topic: Incadescent Light Bulb Being Phased Out
Replies: 60
Views: 6050

Re: Incadescent Light Bulb Being Phased Out

How many legislators does it take to change a lightbulb? None - they just outlaw it! :D Seriouly though, with good CFLs available, and LEDs becoming more useful all the time, we really can do without the power guzzlers. Though I do hope they allow exceptions for historic purposes and the like... It'...
by shash
Fri Dec 14, 2007 12:14 pm UTC
Forum: Religious Wars
Topic: Browsers
Replies: 187
Views: 37562

Re: Browsers

Konqueror on (Gentoo) Linux, firefox on windows.

Also, firefox on Linux for that odd page or two that want some specific implementation of AJAX.

I need nothing more.
by shash
Tue Dec 11, 2007 3:19 pm UTC
Forum: Coding
Topic: In lieu of the latest comic...
Replies: 9
Views: 1870

Re: In lieu of the latest comic...

You don't need such a thing as "files". You can run in inmediate mode, with a gui that is included with normal Python releases. Theres also SciTE that capture the scripting output. So can be a good *pad to learn a scripting languaje, and toy with it. There's also ipython, which does prett...
by shash
Sun Dec 09, 2007 7:53 am UTC
Forum: Coding
Topic: #define vs. variables
Replies: 19
Views: 2612

Re: #define vs. variables

First of all, many of these examples clobber one golden rule of thumb: Macros should be named totally different from anything else to avoid naming clashes. I like all-caps separated by underscores: #define HEY_IM_A_MACRO I think using macros for really constant constants (pi, e, G, etc) is valid, bu...
by shash
Sun Dec 09, 2007 7:33 am UTC
Forum: Coding
Topic: In lieu of the latest comic...
Replies: 9
Views: 1870

Re: In lieu of the latest comic...

chmod +x the file after you've saved it.
by shash
Sun Dec 09, 2007 7:31 am UTC
Forum: Religious Wars
Topic: Distro Whores...I mean Distro Wars!
Replies: 246
Views: 50162

Re: Distro Whores...I mean Distro Wars!

But making a Linux-style package manager that only compiles from source is incredibly stupid. I've been wondering about the true reasoning behind this for some time now. Is there one, besides the warm fuzzy feeling? Well, I for one like using USE flags to disable/enable features instead of bringing...
by shash
Sun Dec 09, 2007 5:33 am UTC
Forum: News & Articles
Topic: Political Compass
Replies: 96
Views: 11331

Re: Political Compass

It's biased - the centerpoint is biased towards libertarianism, but it's a lot better than saying 'left' and 'right' (terms based on seating arrangements in the either the French States General or the British Parliament, IIRC)... That actually goes for both quizzes. At any rate, I got: Economic Left...
by shash
Fri Dec 07, 2007 3:02 am UTC
Forum: Religious Wars
Topic: Underscores vs CamelCase
Replies: 108
Views: 95396

Re: Underscores vs CamelCase

Here's an interesting question: what do you do with acronyms? For instance, would you create a class called XMLParser, or take the .Net standards and do it as XmlParser? What about when doing underscores? XML_parser, Xml_parser, or xml_parser? (Personally, I like XmlParser and either XML_parser or ...
by shash
Thu Dec 06, 2007 3:38 pm UTC
Forum: Religious Wars
Topic: Underscores vs CamelCase
Replies: 108
Views: 95396

Re: Underscores vs CamelCase

FlexibleCase_is-whatIUse... ;) That is, underscores if I'm writing non-OO code (even in C++ or python), PascalCase for class names, camelCase for variables and functions. In .Net, it becomes Pascal for methods (functions and properties), camel for variables because that's the standard in the framewo...
by shash
Thu Dec 06, 2007 3:35 pm UTC
Forum: Religious Wars
Topic: Distro Whores...I mean Distro Wars!
Replies: 246
Views: 50162

Re: Distro Whores...I mean Distro Wars!

FACM wrote:
zenten wrote:I thought you could use portage to install binaries.


I'm pretty certain you can. It's not the default option, but I'm pretty sure it's there.

Which is how Vida and Sabayon work...
by shash
Wed Dec 05, 2007 4:19 am UTC
Forum: General
Topic: When was the last time you skipped
Replies: 41
Views: 3235

Re: When was the last time you skipped

Susan, in Hogfather wrote:Real children don't go hoppity-skip unless they're on drugs


We're not children, of course... :)
by shash
Tue Dec 04, 2007 1:44 pm UTC
Forum: Religious Wars
Topic: Is there anything better than Lisp?
Replies: 56
Views: 11896

Re: Is there anything better than Lisp?

photosinensis wrote:Nothing is better than Lisp. It is the language from which the gods wrought the universe.


Eh? I thought he hacked it together in Perl? ;)
by shash
Mon Dec 03, 2007 10:03 am UTC
Forum: Religious Wars
Topic: Distro Whores...I mean Distro Wars!
Replies: 246
Views: 50162

Re: Distro Whores...I mean Distro Wars!

Two Gentoo boxes... Sure, compiling is a pain, but I can leave it on through the night or when I'm at work. On the other hand, pretty much everything is configurable in like 4-5 steps. OK, you have to edit a config file instead of having a nice GUI to do it from, but the difference is really negligi...
by shash
Mon Dec 03, 2007 8:49 am UTC
Forum: Religious Wars
Topic: Is there anything better than Lisp?
Replies: 56
Views: 11896

Re: Is there anything better than Lisp?

Javascript is better than Lisp, because Lisp can be emulated with Javascript, so Lisp is a subset of Javascript. /Just kidding, but the emulator thing is true Doesn't that follow from the Turing hypothesis? In theory, any language can be emulated in any other language... In other words, you can hav...
by shash
Sat Nov 24, 2007 1:43 pm UTC
Forum: Logic Puzzles
Topic: Left/Right
Replies: 38
Views: 4430

Re: Left/Right

That's only a tricky question if you are thinking in terms of coordinates. All you have to do is provide a unique description of the object. "The star your planet orbits around", for example. The star your planet orbits around, the star our planet orbits around, the galactic center, t...
by shash
Tue Nov 20, 2007 3:09 pm UTC
Forum: Logic Puzzles
Topic: Solution for Hooray for ciphers
Replies: 11
Views: 3167

Re: Solution for Hooray for ciphers

Spoiler:
It's a substitution cipher, right? Then, I guess it can be cracked using frequency/pattern analysis...


Also, one question: Are the punctuation marks significant, or is it purely alphabetical?
by shash
Wed Nov 07, 2007 2:48 am UTC
Forum: Coding
Topic: Python.... is it really as useless as people have told me?
Replies: 20
Views: 5927

Re: Python.... is it really as useless as people have told me?

Don't anybody forget numpy and scipy now... In my opinion, writing scientific applications in scipy, numpy and any of matplotlib, vtk or gnuplot beats matlab any day...

Python rocks in 80% of use cases - and we have C/C++ and lisp for the rest...
by shash
Mon Nov 05, 2007 2:32 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0338: "Future"
Replies: 140
Views: 22400

Re: "Future" Discussion

She can't, because she can't come to the future as she is in the past when his message back in time reaches her. ;)
by shash
Thu Nov 01, 2007 3:17 pm UTC
Forum: Logic Puzzles
Topic: Another economics puzzler
Replies: 31
Views: 7717

Re: Another economics puzzler

I study Economics, and as far as I can see, the error in the puzzle is that they couldn't both be worth less than each other. There is only one value of currency between two countries. For example, The Australian dollar is equal to 92 US cents. Because of that figure, you can work out that therefor...
by shash
Wed Oct 31, 2007 3:11 am UTC
Forum: Logic Puzzles
Topic: Another economics puzzler
Replies: 31
Views: 7717

Another economics puzzler

Here's one I've never found a satisfactory answer to: There are two countries, call them North Foo and South Foo. Initially, being mere parts of the same country, their currency is equal in value. Soon, as with every North and South parts of a country, they find themselves at war, and the two govern...
by shash
Sun Oct 21, 2007 3:58 pm UTC
Forum: School
Topic: Teachers that cannot teach
Replies: 473
Views: 69935

Re: Teachers that cannot teach

And those who can't do ANY of that crap end up working in god-damn desk next to me. And those who can't do that get to be my fucking boss. And those who can't do that... ...well, there aren't any after that. Tough break, man. Those are there - they become members of their national legislatures... ;...
by shash
Sat Oct 20, 2007 10:45 pm UTC
Forum: Science
Topic: Standing Waves demonstrations
Replies: 11
Views: 2569

Re: Standing Waves demonstrations

If you're not looking for demos that are specifically "visible" examples of a standing wave, there was one experiment we did in one of my juniour physics labs in uni. Basically, you have an singly open-ended plastic tube that can be filled to a variable height with a fluid (in this experi...
by shash
Sat Oct 20, 2007 8:10 pm UTC
Forum: Science
Topic: Standing Waves demonstrations
Replies: 11
Views: 2569

Re: Standing Waves demonstrations

We had an interesting unit in high school with a long string (1m, IIRC) fixed to a rigid plate at one end and a vibrator that moves it up and down at the other. By tuning the vibrator, we could get some pretty shiny standing waves. The experiment involved measuring the wavelengths and setting the co...
by shash
Fri Oct 19, 2007 2:42 pm UTC
Forum: News & Articles
Topic: Teachers With Guns
Replies: 203
Views: 12047

Re: Teachers With Guns

...Or that... :)
by shash
Fri Oct 19, 2007 2:27 pm UTC
Forum: News & Articles
Topic: Teachers With Guns
Replies: 203
Views: 12047

Re: Teachers With Guns

First thing I thought of... Eventually they realized that this was something they were going to have to sort out, and they passed a law decreeing that anyone who had to carry a weapon as part of his normal Silastic work (policemen, security guards, primary school teachers, etc.) had to spend at leas...
by shash
Sat Oct 13, 2007 2:48 pm UTC
Forum: Language/Linguistics
Topic: Lost Etymologies
Replies: 18
Views: 3744

Re: Lost Etymologies

Stentorian - from Stentor the herald of the Greek forces in Iliad.

For that matter, Homeric from the author of the book aforementioned... :)

I'm surprised nobody mentioned Orwellian yet...
by shash
Sun Oct 07, 2007 7:54 pm UTC
Forum: Computer Science
Topic: Computer science vs. software engineering?
Replies: 39
Views: 43734

Re: Computer science vs. software engineering?

Being an electronics student, I don't really have much more to add to what everyone else has said, but permit me to add one complication:

In India, the degree is called Computer Science Engineering (CSE)... :twisted:
by shash
Sun Oct 07, 2007 6:41 pm UTC
Forum: General
Topic: Who the dickens are you?
Replies: 10922
Views: 2416238

Re: POST HERE FIRST - INTRO THREAD THE THIRD

Hi, I'm shash, or if you're being formal, shashwath, from India. I'm an electronics/physics/programming geek who also loves walking along a trail somewhere in a remote mountain location, and a nice quiet evening alone with his music. I'm currently working, but at the first opportunity, I'm off to st...

Go to advanced search