I made a separate account for #mtg tweets, please follow me at @mtgstorm
Notes: Microblog-like status updates. You can subscribe to an RSS feed of this list.
Dec 2009
-
-
What’s the EV for playing in an MtGO Exodus Prerelease? I just want to because older formats are fun :D
-
Release notes for the latest L4D2 update: “Fixed bug where a burning witch could get into a state where she’s invincible” - that’s not a bug, that’s a feature!
-
An SQL Query walks into a bar and talks to two tables: “Can I join you?”
-
Reply to:
The usual reason is separation of concerns. You should make it easy to modify the presentation without affecting the business layer.
-
Reply to:
You can have an array of 3-item tuples.
arr = [ (1,2,3), (4,5,6), (7,8,9)] for (k, v, x) in arr: # do stuff
-
Reply to:
If you want the average salary for all records AND a listing of the name column for each record, you need to use 2 separate queries
-
Reply to:
setInterval returns an id that you can use to cancel the interval with clearInterval()
-
Reply to:
Try wrapping it in a new function object:
$.get("InfoRetrieve", { },function() { addContent(data) });
-
Reply to:
Try “where length(column) < lengthb(column)”
-
Let’s say I have a series of
- elements designed to render via float:left inside a fixed-width container as follows:
Item 1 | Item 2 | Item 3 | Item 4 | Item 5 | Item 6
This is fine, Item 5 and Item 6 are pushed to the second row because the container has a fixed width.
Now, is it possible to have something similar to above, except that majority of the items will render in the second row? Something like:
Item 1 | Item 2 | Item 3 | Item 4| Item 5 | Item 6
Basically, I want to render a list of items horizontally, wrapping to the second row as needed, but with majority of the items on the second row if it exists. The number of items to be generated may vary, but will not exceed 2 rows’ worth of items.
- elements designed to render via float:left inside a fixed-width container as follows:
-
Gah, mtgspot.com was already taken! Changed my username, will reserve the domain later.
-
having my first ever cup of coffee
Nov 2009
-
“It’s like twitter, except we charge people to use it” http://www.27bslash6.com/p2p.html
-
Tweetdeck 0.32 is out that addresses my previous problem, plus support for twitter retweets, lists, etc. https://tweetdeck.twitter.com/
-
I wish Tweetdeck understood that when I click “X” in the upper-right corner I want to quit the application, not have it hide in the tray.
-
Curse this wishy-washiness!
-
RT @wrongwaygoback: #MtGO: For those of you considering entering the world of Magic Online, read this article -> https://puremtgo.com/articles/comparing-prizes-magic-online-tournaments
-
I just generated my #TweetCloud out of a year of my tweets. Top three words: time, draft, playing - http://tweetcloud.icodeforlove.com/roytang/126989
-
There is no secret ingredient
-
I have a 320GB western digital external HDD that was working fine a couple of days ago.
I plugged it into my Windows XP machine at work, and it detects the USB device (it is listed in the Safely Remove Hardware dialog), but it doesn’t detect the disk, not even under Disk Management in Control Panel. I’ve successfully used this ext HD on this machine before, so I suspect it is busted. I tried it on a couple of other machines none of them could detect the disk.
The only possible reason I could think of is that the bag I was carrying it in fell to the floor off a table a couple of days ago, it might have been damaged then.
Obviously I would like to have the device working again, but failing that I would like to be able tor recover all the data on the disk.
What are my options?
Edit: In case it’s relevant, the product page for the ext HD is here.
-
Something awesome is going to happen today, too bad I have to go to work first.
-
Rules of Productivity: http://lostgarden.com/2008/09/rules-of-productivity-presentation.html
-
Reply to:
The contents of WEB-INF aren’t publicly accessible resources, why are you putting the other jsps there? Are those other jsps accessible?
If you want to hide the index.jsp, create a servlet mapped to the root path and have it forward to index.jsp.
-
While testing our setup for user acceptance testing, we got some reports that java applets in our web application would occasionally fail to load. The envt where it was reported was WinXP/IE6, and there were no errors found in the java console.
Obviously we’d like to avoid it. What sort of things should we be checking for here? On our local servers, everything seems fine. There’s some turnaround time when sending questions to the on-site guy, so I’d look to cover as many possible causes as possible.
Some more info: We have multiple applets, in the instance that they fail loading, all of them fail loading. The applet jar files vary in size from 2MB to 8MB. I’m told it seems more likely to happen if the applet isn’t cached yet, i.e. if they’ve been able to load the applets once on a given machine, further runs on that machine go smoothly. I’m wondering if there’s some sort of network transfer error when downloading the applets, but I don’t know how to verify that.
Any advise is welcome!
-
Reply to:
@bry_bibat do you have a new job?
-
Cody and Adon confirmed for SSF4! Yay! https://www.eventhubs.com/images/2009/nov/24/famitsu-scan-shows-cody-and-adon-super-street-fighter-4/
-
Repost from danisx0:
The funniest story from MTG Worlds - 36 Bears in Vintage (inc decklist, tournament report, and video) - http://LNK.by/cYgq #mtg
-
Google Chrome keeps signing me out in GMail, what’s going on? Reader works fine, and GMail in Firefox works fine as well.
-
Reply to:
@chrisguillebeau regrets
-
A little practice can put you head and shoulders above the rest: http://bit.ly/7oWNPH
-
Time management: How an MIT postdoc writes 3 books, a PhD defense, and 6+ peer-reviewed papers β and finishes by 5:30pm https://www.iwillteachyoutoberich.com/blog/time-management-how-an-mit-postdoc-writes-3-books-a-phd-defense-and-6-peer-reviewed-papers-and-finishes-by-530pm/
-
Reply to:
@altealice sabi ni @habeo chicken lang daw sa kanya pag mage.
-
Should you be content with what you already have, or always strive for something better?
-
#mtg PTQ result: Top 8. Why do PTQs have to take so long >.<
-
Reply to:
@aleksfelipe it’s at NG
-
I was stuck in line for a while today and was looking for a DS game to keep me occupied. Too bad I didn’t have Super Mario with me.
-
#mtg currently 3-1 at the PTQ, with 3 rounds to go. I’m not used to long tournaments anymore :p
-
Tried out Seesmic, got errors when accessing Facebook and posting to Twitter, uninstalled after 15 mins. Looks better than Tweetdeck though.
-
You know you’re in the zone when you really need to pee, but you don’t.
-
We have an Applet that can possibly display Chinese text. We are specifying a font for it (Arial), it works fine under both Windows and Mac OSX.
But in Firefox on Linux the Chinese characters are rendered as squares. Is there a way to work around this? Note that we can’t assume the existence of a particular font file on the client.
-
I have an applet that calls a JDialog that contains a JProgressBar component. I subclass the JDialog to expose a method to update the JProgressBar, something like:
public class ProgressDialog extends javax.swing.JDialog { public void setProgress(double progress) { jProgressBar1.setValue(jProgressBar1.getMinimum() + (int) (progress * jProgressBar1.getMaximum())); } ... }
I use this dialog in the following manner:
public void test() throws Exception { progressDialog = new ProgressDialog(null, true); try { progressDialog.setLocationRelativeTo(null); // show the dialog EventQueue.invokeLater(new Runnable() { public void run() { progressDialog.setVisible(true); } }); // business logic code that calls progressDialog.setProgress along the way doStuff(); } finally { progressDialog.setVisible(false); progressDialog.dispose(); } }
It works fine on Windows/any browser. However, when invoking the above function on Firefox 2/3/3.5 on a Mac, the progressDialog is displayed indefinitely, i.e. it doesn’t close.
I suspected that calling setVisible(true) inside the EventQueue was causing the problem, since it’s a blocking call and might block the queue completely, so I tried changing it to:
// show the dialog new Thread() { public void run() { progressDialog.setVisible(true); } }.start();
With this change, the progressDialog now closes correctly, but a new problem emerged - the contents of the dialog (which included the progressbar, an icon and a JLabel used to show a message string) were no longer shown inside the dialog. It was still a problem only on Mac Firefox.
Any ideas? I realize it’s probably some AWT threading issue, but I’ve been at this for a couple of days and can’t find a good solution. Wrapping the doStuff() business logic in a separate new Thread seems to work, but it’s not easy to refactor the actual business logic code into a separate thread, so I’m hoping there’s a simpler solution.
The envt is: Mac OSX 10.5 Java 1.5 Firefox 2/3/3.5
-
Let’s say you could live in any period in history, which period do you choose?
-
dual monitors!
-
We have a small .Net program that we sell with individual licenses. The individual licenses are enforced by registering a key file that is generated using information from the machine used to install the program (MAC address, etc.)
Now, we have a customer request for a site-wide license, such that they can deploy to as many machines on their site as possible. From the technical POV I’m not sure what are the usual approaches for this; our old approach won’t work since we can’t map the license to any machine-specific information.
Any suggestions?
A few more details:
- the program is a client-side program that includes an Office Add-In
- the machines to be installed on may or may not have internet access
- we aren’t restricted to .Net-only approaches, I’m just looking for a general idea of how this sort of thing is usually handled
-
If you get a dog in a computer game, you must name him dogmeat. #dragonage -Update via SMS for FREE using http://isip.ph
-
RT @wrongwaygoback How did I miss this insanely detailed analysis of choose-your-own-adventure books -> http://samizdat.co/cyoa/ ?
-
-
watching Taken
-
RT @kerwintang: i just noticed that Going Bulilit is rated PG.