Open Side Menu Go to the Top

07-02-2012 , 11:21 PM
Quote:
Originally Posted by Gullanian
My DNS provider (zoneedit.com) is down, and has been for a few hours. Is this something normal to expect from DNS providers every now and then, if not, can anyone recommend a more reliable one for me?
I had trouble with zoneedit, moved to https://pointhq.com/ , so far so good.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
07-03-2012 , 12:49 AM
Quote:
Originally Posted by _dave_
SVG is probably the way to go, FTP moved to SVG shortly before imploding IIRC

Stars currently assembles cards from a few files, a base.bmp (which is say 4 cards wide and contains colours for suits) and cardrank.bmp which is 13 cards wide and contains (A, K, Q etc) and another one that contains the little suit symbols. I thinks there's an .a.bmp alphamask for these too to control blending. They are moving to PNG for a lot of table parts, but not yet on the cards. Take a poke about gx\chips&deck\deck\simple to see for yourself. There are numbered folders 0-7 for how large the bitmaps are.

Party just has separate .bmp for each card IIRC Ad.bmp, Kc.bmp etc. Been a while since looked at those.

I suppose anything using a single large image will use a technique similar to "CSS Sprites" to chop out the desired card.
Heh yeah I looked in my Stars,Party and FTP (sigh) folders. Guess I'll use single-file SVG+whatever chopping technique. I'm building from scratch and it seems like the best method.
Stars looks a tad bit crazy lol

Edit: actually can't find an SVG file in the FTP folder just a PNG, guess I overwrote it with some mod

Last edited by clowntable; 07-03-2012 at 12:54 AM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 01:59 AM
Quote:
Originally Posted by Fubster
pretty sure it was due to complications with the leap second, not a storm
The storm took out power in areas throughout Maryland, DC, Virginia, North Carolina...

It's being called the worst non-hurricane to hit VA in memory.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 02:18 AM
well yeah, it was a brute of a storm for sure and i'm sure it didn't help. i saw a bunch of stories about the leap second ruining everyone's day, and the article specifically mentioned the outage so i assumed that was the primary factor.

in other news, my pos htc amaze is installing ICS now
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 06:30 AM
Quote:
Originally Posted by Chips Ahoy
I had trouble with zoneedit, moved to https://pointhq.com/ , so far so good.
Cheers will check them out!

wrt Google DNS for my home, I tried it but it made all webpages load around 200ms slower which wasn't good really
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 11:44 AM
Quote:
Originally Posted by Gullanian
There has to be a joke with a storm and the Amazon cloud
Pretty sure this is actually correct (tho headline is clearly a pun). There were big storms in the region that knocked out power and I think thats what triggered the AWS outage.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 12:03 PM
I'm confused, I was under the impression the excitement around cloud based stuff was, for the main part, due to the advantages it theoretically offers with reliability.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 12:22 PM
Free CPU/RAM/disk space+torrent/bitcoiny stuff=crowd cloud...you heard it here first, I'll write up a busines plan and send it to YC...probably worth 3 million in seed money

I worry, I worry
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 12:26 PM
Quote:
Originally Posted by Gullanian
I'm confused, I was under the impression the excitement around cloud based stuff was, for the main part, due to the advantages it theoretically offers with reliability.
uh, it is. how long was aws down? how long was your average data center on the east coast down?

"increased reliability" != "soldiering on without interruption despite acts of god"
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 12:42 PM
I thought they were meant to be geographically distributed so they could handle big events like natural disasters etc?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 01:04 PM
This is not strictly true. Amazon state that their system is build so no one 'region' can go down. Their guidelines say that for maximum reliability, your application should be reproduced across several zones for each region. The zones are physically separated so that in theory if one goes down, it does not affect the others.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 01:56 PM
Quote:
Originally Posted by Gullanian
I thought they were meant to be geographically distributed so they could handle big events like natural disasters etc?
they are geographically distributed. the netflix event didn't affect everybody FWIW.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 02:32 PM
Quote:
Originally Posted by jjshabado
+1

What are you doing?
analyzing some traffic. only a 30 node/15Tb cluster right now. going upto 100/100 in August though.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 02:48 PM
I have been slightly picky over the last 3/4 months while trying to get an entry level/ jr .net job. Ive read a few things saying that MCTS /MCSE / w/e (Microsoft Certified Technology Specialist) certification might help. Or is it just a waste of a few hundred bucks?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 03:17 PM
My opinion is generally don't bother with certifications, there was a post on HN recently about it and some people said it can actually work against you.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 03:37 PM
Been working with "legacy" code the last couple of weeks. Basically we have a really strange system (grown structure ldo) for a gameserver that uses Java+some JS/HTML (Tomcat based) + a Postgres database for presentation and data and Prolog for the logic.

Kinda wiggling through it trying to get stuff to run and understand code interaction on the fly.
My game finally shows up in the lobby and you can configure it with some testoptions and start it, once you click on start it goes to waiting as it should and you can select a dummy AI (haven't tested joining as a second player) and it crashes once you click on start.
Actually not bad for now :P

Hopefully I'll get a supersimplified game to actually start this week and then gogogo.

Heads up No Limit Hold'em LDO...or in code
Code:
GameType=cadillac,
Quote:
My opinion is generally don't bother with certifications, there was a post on HN recently about it and some people said it can actually work against you.
Yeah most are utter crap, especially the programming ones. CISCO stuff etc. looked at least semi-usefull.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 05:50 PM
So I just had a successful phone interview for a programming and finance internship, which is possibly my ideal job. The job called for "excellent" programming skills in Java/C++ or Python. I have about 5 weeks worth in Python.

Thoughts on how to improve the quickest the next two weeks? The job involves sorting data from Quickbooks. He asked if I knew GUIs (I don't) or if I had experience with the Python something package. Something being a word that sounded like decimal.

I pretty much have two weeks straight to learn so I'm just looking where to start.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 06:30 PM
Google has a pretty awesome introductory course to Python complete with video lectures. If you're familiar with basic programming constructs such as lists or Strings, you should get alot from the videos in a very short amount of time.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 07:00 PM
Quote:
Originally Posted by fluorescenthippo
So I just had a successful phone interview for a programming and finance internship, which is possibly my ideal job. The job called for "excellent" programming skills in Java/C++ or Python. I have about 5 weeks worth in Python.

Thoughts on how to improve the quickest the next two weeks? The job involves sorting data from Quickbooks. He asked if I knew GUIs (I don't) or if I had experience with the Python something package. Something being a word that sounded like decimal.

I pretty much have two weeks straight to learn so I'm just looking where to start.
Congrats man but bolded==

Start learning numpy scipy, pandas, matplotlib etc.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 09:11 PM
anyone here know anything about django?

I'm playing around with the google app engine for the first time and it seems to have some conflict with the javascript handlebars templating I'm using.

Code:
	<script id="tweets-template" type="text/x-handlebars-template">
		{{#each this}}
		<li>
			<img src="{{thumb}}" alt="{{author}}">
			<p><a href="{{url}}">{{tweet}}</a></p>
		</li>
		{{/each}}
	</script>
gives me,

Quote:
raise TemplateSyntaxError, "Could not parse the remainder: %s" % token[upto:]
TemplateSyntaxError: Could not parse the remainder: this
it loads fine with normal html
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 09:21 PM
Django tries to replace all {{foo}} instances with context variables (and doesn't emit anything if the {{foo}} doesn't exist in the context) so it's not going to play nice with handlebar templates.


Edit: I'm not sure why you're getting the Template syntax error, but I suspect it's the {{/each}} that is causing the Django template renderer to barf.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 09:30 PM
yea, a few google searches show that it's overlapping syntax

https://github.com/anthonysutardja/D...ate-Handlebars

seems to be a solution but I haven't worked it out yet
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 09:41 PM
That looks pretty good actually!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 09:42 PM
I'm still fairly new to C++, and I'm trying to figure out a way to implement this sorting (shelving? shuffling? stacking? ordering? whatever) algorithm.

here it is: so i have a pile of books, and i'm facing a bookshelf. there's 9 total shelves, 8 of which can hold 6 books, and one big one that can hold 56.

i want to take the top book off my stack of books and put it into one of these shelves randomly, based on how much space is available in each shelf. i want to do it in such a way that you'd take the total unused space in each shelf and divide it by the total unused space in all the shelves, and that gives you the probability of putting the book in the next shelf.

so, if i had 4 books in all the smaller shelves, and 32 books in the big shelf, there would be a 60% chance that the next book lands in the big bookshelf, and a 5% chance for each smaller bookshelf.

it's easy enough to conceptualize, but i just can't figure out where to start when it comes to implementation. how would i set up these shelves? i'd need to store two pieces of information about each shelf: the books it holds and the amount of space it has available. some sort of array? the stack of books is obviously easiest to represent with an array.

i guess then i'd sweep the array and calculate the "odds" for each and then somehow figure out how to put which book where?

i guess i could multiply by 1000 or something (so if the odds are 0.05, it would be 5% or 50/1000), then assign that shelf a block of numbers between 1 and 1000 and then rand() % 1000 and whatever block the number belongs to is the shelf the book is going to?

i'm not trying to outsource my homework, a friend of mine is working on some sort of wack-ass DIY project and i offered to help.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-03-2012 , 10:00 PM
Quote:
Originally Posted by tercet
I have been slightly picky over the last 3/4 months while trying to get an entry level/ jr .net job. Ive read a few things saying that MCTS /MCSE / w/e (Microsoft Certified Technology Specialist) certification might help. Or is it just a waste of a few hundred bucks?
It definitely won't hurt you, but honestly it's not worth much more than a class on your transcript to an employer.

When i'm looking for entry level guys, i'm looking for someone who finished their degree, someone who seems to love developing, and someone who is easy to get along with. I'm happy to have us train them in real world development, as long as they have some foundational concepts down, such as SQL, normalization, OO, etc.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

      
m