|
Nicolas Dorier wrote: the beauty of integers
And recognized the ugliness of BASIC. That was once I started learning Pascal.
|
|
|
|
|
2nd law in thermodynamics (physics): it's getting sucker ...
modified 18-Oct-13 15:51pm.
|
|
|
|
|
I know this will incur the wrath of many, but client side js has always struck me as the playground for amateurs. Professionals are forced to deal with it and it's possible to write solid, clean js code, but most of what you see on the sites out there is both sloppy and ugly. Error handling seems to be an alien concept and single character variable names are the de facto standard. I can't remember the last time I had a browser up running a debugging session on my own stuff, popped up another tab to go somewhere, and didn't see a boatload of complaints about all manner of stupid and obvious things that no one even bothered to test for.
Add to that the fact that once you're on the client side you're basically in IfDef Hell trying to cope with the flakiness and inconsistency of a gazillion browser versions and it's not exactly what I'd call programmer's utopia.
I do web development because it pays money. It is, nonetheless, a crappy environment to code in. Client side js stuff just makes it worse.
|
|
|
|
|
Sounds like someone needs a good break from programming.
Pick up John Gardner's "Freddy's Book". More evil, but less JavaScript and/or C#.
|
|
|
|
|
I was surfing around the web and came across this french website[^] by Denis Dollfus. I just thought it would be hilarious to port this application to a tablet PC with touch screen, and let the cat play the shark. It should keep it busy for a while
I ported the code to WPF VB and you could download that here[^]
|
|
|
|
|
|
Well the AI in the fishes is sometimes more intellegent than the people visiting the Q&A. At least the fish try to stay away from the shark....
I think the net has enough pussy cats on it!
|
|
|
|
|
Well, now I need to port it to Java or Objective C. Windows is the only tablet I am not running at home for development. Also, I have two cats who use my iPad more than I do.
|
|
|
|
|
I wonder, is there anything left of the iPad after the cats have gone nuts on it?
|
|
|
|
|
Cat claws are made of the same stuff as our nails, so not a single scratch yet. The real damage is to the carpet under the tablet when they try to figure out where the stuff went after it goes off one side or another. We have had them flip it over a few times trying to get underneath it.
We currently have a game that has a few modes. A mouse that scurries and squeaks when they bop it, a spider which makes "insect" noises when it moves, a fish that makes swimming noises and splashes when bopped. Plus it has a painting game that is the same as the mouse, but leaves colored paw prints wherever they hit it and smears when they drag their paw. Then it allows you to save the image. I haven't gone that far yet.
|
|
|
|
|
I didnt think thouse programs existed, but was I wrong I see. As long as their games dosnt involve buying cool addons I guess its ok
|
|
|
|
|
Fortunately for me, the one we have does not include in-application purchases. Although that does give me a cunning plan, I need a way to deliver virtual catnip via IAP.
We actually picked it up when we got our second cat. Turned the game on, put the tablet on the floor and they forgot about the fact that a cat they had never met before was sitting less than a foot away... and both proceeded to work on killing the mouse.
A friend of mine and his girlfriend foster cats for a rescue shelter, they use the same game to help new fosters relax and feel more comfortable. Nothing worse than a stressed cat in a new environment. Not good for their health and usually not good for yours either.
|
|
|
|
|
Like click the mouse to purchase a new items You'll make a fortune...
Now all they need is a Windows tablet, and the program
|
|
|
|
|
A friendly word of advise from a fellow cat owner servant: keep close watch on your credit cards.
BDF
The internet makes dumb people dumber and clever people cleverer.
-- PaulowniaK
|
|
|
|
|
Hah, cat you if I can.
Sorry, started early on the booze today
|
|
|
|
|
Hey, enable the web cam so she can create and upload her own cat videos and you may just have a hit on your hands!
|
|
|
|
|
Ehhm, Im pretty sure you have violated some of the Lounge rules by this.
|
|
|
|
|
|
Ah, you are, thats nasty
|
|
|
|
|
via The Poke[^]
I had the last one this morning, panic ensued as I rebooted my lappie. It still didn't work - WTF! WTE! WTP!
Vilmos - switch on the WiFi router, switch it back on...
speramus in juniperus
|
|
|
|
|
I had the one with the internet not working at home most of the days over the last two weeks. It was the DSL modem that was getting old and needed replacement.
The good thing about pessimism is, that you are always either right or pleasently surprised.
|
|
|
|
|
Need help with Excel. I exported some data from SQL Server to Excel using the OpenRowSet function which includes some numeric columns (float in SQL Server). But no matter what I do, Excel treats it as Text. I tried formatting the cells to number, but no use.
If I create a Chart out of the data, the values are assumed to be 0 (or NULL) and the Chart is always empty. I checked by negating one of the values and the Chart does recognize it as a number and update itself. I can't edit each cell by hand since there are 50,000 cells to be edited. Got a solution?
|
|
|
|
|
Add a plus : "+Value" instead of "Value".
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|
|
Several options.
First, Highlight the column or range. Right Click. Format Cells. General
If that does not work:
Go to cell to the right, type "=VALUE(Cell address). Copy to bottom of range. Copy new range. Paste Special as Values into the previous cell range.
Failing that:
Ensure the DB has the number formatted correctly, wrap the field with an explicit conversion function (eg =CDbl(Fields!Example_Total.Value) or some such thing).
---------------------------------
Obscurum per obscurius.
Ad astra per alas porci.
Quidquid latine dictum sit, altum videtur .
|
|
|
|
|
Now that they're in Excel (as text), select all, copy and paste values into a new Excel worksheet. That usually does the trick for me since that is a very messed up result that happens surprisingly often in Excel.
|
|
|
|