Search found 755 matches

by Emu*
Tue Nov 29, 2011 4:00 pm UTC
Forum: Coding
Topic: SVG & LaTeX
Replies: 9
Views: 11696

Re: SVG & LaTeX

I can't remember how I got around the original cause of this tread, but recently I started designing a bike frame and found the PStricks package a great option, especially as I needed to define tubes in terms of angles and relative positions.
by Emu*
Sun Oct 23, 2011 8:37 pm UTC
Forum: Religious Wars
Topic: Why does Microsoft have a server edition of windows?
Replies: 74
Views: 20319

Re: Why does Microsoft have a server edition of windows?

Anonymously Famous wrote:(I don't believe Microsoft does anything hardware except for the X-Box).


if I remember correctly, the xbox is almost entirely a Foxconn product.
by Emu*
Thu Jun 23, 2011 12:31 pm UTC
Forum: Religious Wars
Topic: How do you pronounce it?
Replies: 264
Views: 136510

Re: How do you pronounce it?

If name is main

?
by Emu*
Mon Jun 20, 2011 2:46 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1748025

Re: Coding: Fleeting Thoughts

EvanED wrote:Reminds me of this commit. Oops. (Though bigger consequences.)


I lol'd.
by Emu*
Thu May 19, 2011 5:47 am UTC
Forum: Religious Wars
Topic: Opera, Chrome, Firefox, OR?
Replies: 544
Views: 210960

Re: Opera, Chrome, Firefox, OR?

Also, claims HTML5 but doesn't implement the parts I want.
by Emu*
Thu Apr 21, 2011 5:44 am UTC
Forum: XKCD Meetups
Topic: iPhone Geohash App
Replies: 22
Views: 11355

Re: iPhone Geohash App

adrianlturner wrote: Today in London it is showing -0.68 something to the west and +0.32 to the east... I think the eastern coords should be +0.68.


The current algorithm means the distance between points is always 1, whereas in your model, the distance between the first negative and first positive points would vary.
by Emu*
Tue Apr 05, 2011 3:06 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1748025

Re: Coding: Fleeting Thoughts

Foreign keys make ORM layers sing...
by Emu*
Sat Mar 26, 2011 12:41 pm UTC
Forum: Religious Wars
Topic: Opera, Chrome, Firefox, OR?
Replies: 544
Views: 210960

Re: Opera, Chrome, Firefox, OR?

I switched from the default Android browser to FF4 at the same time I thought "fuck it" and Odin'd my GalaxyS up to Froyo. Think it was FF4b2 or b3 back then.
by Emu*
Sat Mar 26, 2011 12:40 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1748025

Re: Coding: Fleeting Thoughts

I probably go a bit deep with my call stack but I like to bundle things into sensible functions so my Java & C# tend to look like public class thing{ public void MakePDF(OutputStream out){ Document doc = makeADocument(); addFrontPage(doc); addIntro(doc); addTable(doc); addIndex(doc); new PDFRend...
by Emu*
Fri Mar 18, 2011 10:53 am UTC
Forum: Coding
Topic: JAVA SCRIPT
Replies: 3
Views: 866

Re: JAVA SCRIPT

include jQuery (see docs.jquery.com), then in the onclick of your "parent checkbox" you can select each of your child ones and select or unselect. <label for="parent">This is the parent</label> <input type="checkbox" id="parent" name="parent" onclick...
by Emu*
Wed Mar 16, 2011 10:06 am UTC
Forum: Coding
Topic: Selling software on eBay
Replies: 3
Views: 1069

Re: Selling software on eBay

Or developers of 3D apps.
by Emu*
Fri Mar 04, 2011 4:44 pm UTC
Forum: Coding
Topic: Extremely exceptional code; or abuse of exceptions in PHP
Replies: 12
Views: 2381

Re: Extremely exceptional code; or abuse of exceptions in PH

psykx wrote:e.g agile vs Extreme vs none etc..,

FTFY
by Emu*
Mon Feb 14, 2011 1:00 pm UTC
Forum: Coding
Topic: Idea: Passwordless Login with Email
Replies: 14
Views: 5403

Re: Idea: Passwordless Login with Email

Stackoverflow.com and other stackexchange sites use OpenID as one of their login options, with special shortcut buttons for those wanting to use google as their OpenID provider.
by Emu*
Sun Feb 13, 2011 11:27 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1748025

Re: Coding: Fleeting Thoughts

manually typing html died out ages ago and all the "pros" use graphical tools like Dreamweaver. . Bullshit. that particular lecturer doesn't seem to actually know about any of the things he talks about.. Word. Nowadays it's very unlikely that a website will not use something resembling a ...
by Emu*
Tue Feb 08, 2011 11:47 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1748025

Re: Coding: Fleeting Thoughts

That's a pretty small reason to put Java below PHP.

At least Java uses namespaces properly.
by Emu*
Sat Feb 05, 2011 1:49 pm UTC
Forum: Coding
Topic: Check Box PHP
Replies: 2
Views: 713

Re: Check Box PHP

instead of

$_post['credit']

try

implode($_post['credit'], ', ')

which should turn the array into a string containing the list. Alternatively check out foreach.
by Emu*
Thu Jan 27, 2011 12:24 pm UTC
Forum: Coding
Topic: My Pet Project: Snake Game
Replies: 9
Views: 2876

Re: My Pet Project: Snake Game

Watch out for displayed scores ending in 0 actually being stored as the smaller number then multiplied. No-one likes seeing single-digit scores in games.
by Emu*
Thu Jan 27, 2011 8:13 am UTC
Forum: Coding
Topic: C compiler for the PIC16 series microcontroller
Replies: 7
Views: 1665

Re: C compiler for the PIC16 series microcontroller

All the fancy control structures you're familiar with compile to machine code so must be representable in assembly. Jump if equal to 0 and jump if not equal to 0 are just the test which all control structures must inevitably boil down to. You have to do your calculation and then the decision, rather...
by Emu*
Wed Jan 26, 2011 3:25 pm UTC
Forum: Coding
Topic: C compiler for the PIC16 series microcontroller
Replies: 7
Views: 1665

Re: C compiler for the PIC16 series microcontroller

The Arduino library is pretty nifty and the IDE-bootloader link over USB saves a lot of worry.

You can use it as a stanrardised AVR board without the bootloader if you like, but that depends how much performance you need to drag out of it.
by Emu*
Fri Jan 21, 2011 8:09 am UTC
Forum: Coding
Topic: 'For In's in C#?
Replies: 24
Views: 3006

Re: 'For In's in C#?

Not exactly elegant, is it?
by Emu*
Wed Jan 19, 2011 8:50 am UTC
Forum: Coding
Topic: 'For In's in C#?
Replies: 24
Views: 3006

Re: 'For In's in C#?

This is one of the few times PHP beats "disciplined" languages:

foreach (array_expression as $key => $value){

}


I miss it.
by Emu*
Wed Jan 19, 2011 8:12 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1748025

Re: Coding: Fleeting Thoughts

Benjamin Franklin wrote:Experience keeps a dear school, but fools will learn in no other.
by Emu*
Tue Jan 18, 2011 8:20 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9853
Views: 1748025

Re: Coding: Fleeting Thoughts

Add thedailywtf.com to your blog reading schedule and aspire never to have your work featured there. Understand what went wrong in each tale of woe.
by Emu*
Wed Jan 12, 2011 10:24 am UTC
Forum: Coding
Topic: [Help Still Needed] Coding/Psychology
Replies: 28
Views: 3773

Re: coding/psychology

The business-speak for what you're lacking is "USP", Unique Selling Point...

There are already hundreds of sites which support commending on pictures.
by Emu*
Mon Jan 10, 2011 9:29 am UTC
Forum: Coding
Topic: Best PHP Library
Replies: 1
Views: 709

Re: Best PHP Library

When a framework gets sufficiently large, it looks like a CMS.

I use Drupal, a CMS whose code is modular like a framework. Even the standard features are in modules for you to call from your own modules. Very nice templating engine also.
by Emu*
Tue Jan 04, 2011 1:46 pm UTC
Forum: Coding
Topic: Programming Challenge Sites (other than Project Euler)
Replies: 10
Views: 6246

Re: Programming Challenge Sites (other than Project Euler)

The USACO is the United States of America Computing Olympiad... even if you don't want to participate, you can register and do their training problems. I don't think they accept Python, though. They take C, C++, Java, and... wait for it... Pascal. :? Anyway, the problems start out ridiculously easy...
by Emu*
Tue Jan 04, 2011 1:44 pm UTC
Forum: Coding
Topic: Logging into a website and gathering data
Replies: 10
Views: 3480

Re: Logging into a website and gathering data

Have you considered whether the edline manager would give you a better form of access than page-scraping? A low-privilege SQL account maybe?
by Emu*
Mon Dec 20, 2010 6:32 pm UTC
Forum: Coding
Topic: Similarities between C/C++ and Java
Replies: 24
Views: 4971

Re: Similarities between C/C++ and Java

he cant just fall back on procedural design, since Java doesnt support it


You can be more or less objectionable in Java but an almost procedural style is possible.
by Emu*
Thu Dec 16, 2010 1:29 pm UTC
Forum: Coding
Topic: Does anyone like the way Swing programs look?
Replies: 9
Views: 1681

Re: Does anyone like the way Swing programs look?

RebeccaRGB wrote:it just doesn't look like anything else you'll ever see if you've never used anything but MacOS and Windows.


FTFY
by Emu*
Thu Dec 16, 2010 1:28 pm UTC
Forum: Coding
Topic: Similarities between C/C++ and Java
Replies: 24
Views: 4971

Re: Similarities between C/C++ and Java

You're gonna spend a long time browsing the JavaDoc to avoid reinventing the wheel. Plenty of good googlable examples in Java though.
by Emu*
Wed Dec 08, 2010 4:37 pm UTC
Forum: Coding
Topic: Problem With 0 At Start of Integer
Replies: 20
Views: 2297

Re: Problem With 0 At Start of Integer

Whoever declared the input would be an integer is a muppet. Sure it should be a valid integer, but it should always be a String unless you plan to do math with dates.

And if you do plan to do math with dates you want a Date object and a decent API.
by Emu*
Fri Dec 03, 2010 11:19 am UTC
Forum: Coding
Topic: PHP error debugging
Replies: 10
Views: 3074

Re: PHP error debugging

(Obviously not a good idea to develop on the live server)
by Emu*
Wed Nov 24, 2010 9:23 am UTC
Forum: Religious Wars
Topic: How do you pronounce it?
Replies: 264
Views: 136510

Re: How do you pronounce it?

etk, F-S tab.
by Emu*
Tue Nov 23, 2010 3:43 pm UTC
Forum: Religious Wars
Topic: How do you pronounce it?
Replies: 264
Views: 136510

Re: How do you pronounce it?

I still stand by PHP -> "fup".

As a guitarist, I'm biassed against all flats except Bb and Eb. The rest are sharps whether you like it or not. Also, transposing is a moment's work with a capo, don't get your knickers in a twist.
by Emu*
Tue Nov 23, 2010 2:42 pm UTC
Forum: Coding
Topic: SQL: Select files having tags
Replies: 5
Views: 1207

Re: SQL: Select files having tags

Excessive normalisation has bitten me in the same way this week. Imagine if those were properties instead of tags, and you needed to qrite a query against the values of two properties...
by Emu*
Thu Nov 18, 2010 9:36 am UTC
Forum: The Help Desk
Topic: Is this even possible?
Replies: 16
Views: 1692

Re: Is this even possible?

I'm slightly worried that "Microsoft deleting non-essential files using Remote Desktop" might actually be "scammers who rang up saying they were Microsoft harvesting any details already on the computer and replacing malware with their own better-hidden malware and keyloggers". Nu...
by Emu*
Thu Nov 18, 2010 8:45 am UTC
Forum: Hardware
Topic: external hard drive help?
Replies: 9
Views: 1874

Re: external hard drive help?

Fine, what you said then. My belief was merely supported by my own external hard drive being a bit unstable when the wires went to a pair of ports rather than reparate ones. The device definitely can't tell, since it uses a barrel connector at the device end for the second cable... Guess I looked fo...
by Emu*
Wed Nov 17, 2010 10:15 am UTC
Forum: Hardware
Topic: external hard drive help?
Replies: 9
Views: 1874

Re: external hard drive help?

External hard drives use a lot of power - often more than a single USB port can supply - so the second connector just lets the drive use two USB ports worth of power. That's why the drive was spinning but you couldn't transfer anything to it - the second connector only provides power, not a data co...
by Emu*
Wed Nov 17, 2010 9:04 am UTC
Forum: Coding
Topic: Renaming a bunch of .javas
Replies: 11
Views: 1493

Re: Renaming a bunch of .javas

One day you'll need to do something and remember "I've done this before!". How will you find the right class to reuse/copy from without proper names?
by Emu*
Tue Nov 16, 2010 4:04 pm UTC
Forum: Religious Wars
Topic: Why does Microsoft have a server edition of windows?
Replies: 74
Views: 20319

Re: Why does Microsoft have a server edition of windows?

There are laws which require financial institutions in the UK to use supported software. Getting support for open-source software can be a real ballache. Also, be careful where you get your statistics from as many webapp servers sit behind proxies or separate HTTP servers, and backend servers may be...

Go to advanced search