Open Side Menu Go to the Top

04-15-2013 , 03:05 PM
I feel like you should be able to find a place that would be ok with that. Where do you live?

Edit: I don't need an address, but just curious about general area.
** 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 **
04-15-2013 , 03:13 PM
Moore's law is alive and well. The continuous advances in SoC (system on a chip) technology is ample evidence of that.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-15-2013 , 03:46 PM
Quote:
Originally Posted by jjshabado
I feel like you should be able to find a place that would be ok with that. Where do you live?

Edit: I don't need an address, but just curious about general area.
Boston
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-15-2013 , 08:59 PM
Quote:
Originally Posted by adios
Moore's law is alive and well. The continuous advances in SoC (system on a chip) technology is ample evidence of that.
The what?

Why does the average user care? Upgrading from Duo Core to i5 makes a lot of sense, but upgrading to i5 to i5 makes no sense, whether it is called Haswell or Sandy Bridge.

Go into any Best Buy or Fry's computer and you will see the computer area packed with people. They are testing out the newest computer but not buying. The modern computers don't seem any faster or better than what they have at home. I doubt even power users feel the need to upgrade.

I'll clarify that I am trying to think as a dumb user and working with anecdotes, which means nothing without raw data, but I think PC makers have a serious marketing issue on their hands. I don't think Microsoft has that cool factor where packaging their poorly-selling phones with the PC and calling it a unified experience made any sense. Felt like putting the cart before the horse.

Whether Moore's law is dead or not (I won't argue the point either way since I honestly don't know), the perception that it is dead is enough to push down sales.

This guy makes sense: http://www.pcworld.com/article/20300...ng-the-pc.html

Quote:
This may come as a shock to performance-pushing PC enthusiasts but the average Joe almost never encodes videos, nor will you catch him fragging fools in Crysis 3. Instead, Average Joe spends most of his time on mundane, often Web-centric tasks: Buying stuff online, sending emails, engaging friends and family on social media, maybe watching the occasional YouTube video—on default resolutions, natch, not high-definition—or playing a few hands of Solitaire.

In other words, hardly the kind of activity that begs for an overclocked, water-cooled, hyper-threaded Core i7 processor. Or even a modern-day Ivy Bridge Core i3 processor, if we're being honest.

"If you're just doing Web browsing, using a few spreadsheets here, a little bit of word processing there, you're not going to notice the difference between [older] 2.5GHz and [newer] 3GHz processors," Gwennap says.
Facebook, youtube, amazon, and Word loads nearly instantly on my Atom-based netbook and on my i5 computer*. The average user really doesn't need anything else, and that is where things like Chromebook makes perfect sense.

* I can also do more "power user" things like run Python, Postgres, Gimp, etc on the netbook with some headache.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-15-2013 , 09:04 PM
Quote:
Originally Posted by Nchabazam
I think I'm discovering that I might be a good employee at a development shop vs a company. I like working on projects in small teams over bigger ones, and enjoy tackling different challenges.

I'd also love to maybe work at one down the road where I could take less pay and maybe finagle ~10 weeks vacation time out of it. I have some family money, and value not burning out over a 6 figure income. Not sure if that's feasible. But 7 weeks at my first job or so as a developer working ~50 hours week is leaving me kind of on edge. If I could take a week off now and come back refreshed I'd probably be good... but it's not realistic at the moment.
You know, I have to agree with you. I don't think it'd be possible for me to remain sane and program all week. I've been looking for jobs that involve some elements of programming but focused on other areas as well. Do have any other knowledge domains that can be enhanced with programming?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-15-2013 , 09:20 PM
shabby,

to me, those bolded sections basically fall out of the dsl vs embedded ruby difference, but ymmv.

in the future, i'll avoid being so cavalier with my summaries and will try not to leave anything out of them.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2013 , 04:44 AM
Quote:
Originally Posted by daveT
You know, I have to agree with you. I don't think it'd be possible for me to remain sane and program all week. I've been looking for jobs that involve some elements of programming but focused on other areas as well. Do have any other knowledge domains that can be enhanced with programming?
"growth hacker", "marketing evangelist"

Someone who can write scripts, help out with coding, use social media, just get stuff done. I dunno, mostly pertains to small companies.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2013 , 06:24 AM
Quote:
Originally Posted by daveT
You know, I have to agree with you. I don't think it'd be possible for me to remain sane and program all week. I've been looking for jobs that involve some elements of programming but focused on other areas as well. Do have any other knowledge domains that can be enhanced with programming?
Many sys admin roles require scripting. Some software testing, consulting roles require some programming (but many don't). At least, I have worked in places where testers needed to be able to script (bash, expect, python) and consultants needed to be really good with (PL)SQL. Most scripting roles were in companies using Linux. Testers and consultants working with Windows are much more likely to be "button clickers" (no offense intended).
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2013 , 08:39 AM
Quote:
Originally Posted by tyler_cracker
shabby,

to me, those bolded sections basically fall out of the dsl vs embedded ruby difference, but ymmv.

in the future, i'll avoid being so cavalier with my summaries and will try not to leave anything out of them.
Ok, if you feel like those bolded sections fell out of your summary it didn't come across that way to me.

I don't really care what you do in the future, but I'll probably call out any other summary that I think was as bad as your chef/puppet one.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2013 , 12:45 PM
can anyone answer this, I don't have much time to keep looking since it's kind of a minor thing. Ruby on rails app (but basically ruby).

messages.sort_by!(&:created_at)
messages.sort_by! { |message| message.read_by_org ? 0 : 1 }


where messages is an array of differing models. They all have a created_at and read_by_org (boolean) attribute. I get them sorted by created_at just fine, but no matter what I do I can't seem to get the false value on top of the true value. Is this possible? Or will I have to pull some shenanigans to loop backwards through the array or something.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2013 , 12:53 PM
1. code tags

2. i assume the block is acting as a comparator, so don't you just invert the 0 and 1?

Last edited by tyler_cracker; 04-16-2013 at 12:54 PM. Reason: whoops, guess i was summarizing. instead of my post, just read http://ruby-doc.org/core-2.0/Enumerable.html#method-i-sort_by
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2013 , 06:56 PM
Quote:
Originally Posted by daveT
The what?

Why does the average user care? Upgrading from Duo Core to i5 makes a lot of sense, but upgrading to i5 to i5 makes no sense, whether it is called Haswell or Sandy Bridge.

Go into any Best Buy or Fry's computer and you will see the computer area packed with people. They are testing out the newest computer but not buying. The modern computers don't seem any faster or better than what they have at home. I doubt even power users feel the need to upgrade.

I'll clarify that I am trying to think as a dumb user and working with anecdotes, which means nothing without raw data, but I think PC makers have a serious marketing issue on their hands. I don't think Microsoft has that cool factor where packaging their poorly-selling phones with the PC and calling it a unified experience made any sense. Felt like putting the cart before the horse.

Whether Moore's law is dead or not (I won't argue the point either way since I honestly don't know), the perception that it is dead is enough to push down sales.

This guy makes sense: http://www.pcworld.com/article/20300...ng-the-pc.html



Facebook, youtube, amazon, and Word loads nearly instantly on my Atom-based netbook and on my i5 computer*. The average user really doesn't need anything else, and that is where things like Chromebook makes perfect sense.

* I can also do more "power user" things like run Python, Postgres, Gimp, etc on the netbook with some headache.
Motherboard reduced to the size of an ic component probably something you'll like. Oh and the atom processor on the next generation of Intel SoCs have 4 cores, no hyperthreading. GPU awesome as well.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2013 , 08:17 PM
Quote:
Originally Posted by Nchabazam
"growth hacker", "marketing evangelist"

Someone who can write scripts, help out with coding, use social media, just get stuff done. I dunno, mostly pertains to small companies.
Yeah. I sort of been focusing on those kinds of companies. Definitely many interesting interviews.

Mostly they have a billion things to do that spans many parameters spanning marketing, writing, data crunching, and of course, fixing the fubar situations they got themselves into. It's truly amazing to see how these companies get **** balled by less than talented "professionals."
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2013 , 08:30 PM
Quote:
Originally Posted by adios
Motherboard reduced to the size of an ic component probably something you'll like. Oh and the atom processor on the next generation of Intel SoCs have 4 cores, no hyperthreading. GPU awesome as well.
Fair enough.

Is it true that all these cores aren't being uses so much and that we don't use some large x% of the PC's capabilities? Is it true that single thread programming is the current bottle neck (for lack of better terms)?

I get the impression that when people say Moores Law is dead, they really mean that any gains are moot because they haven't quite figured out all the multi core algorithms yet.

This is now back to geek land. The average user doesn't care about this stuff. To the average user, Moores Law is either dead or at least no longer relevant to their lives.

I think MS got the idea right. The next paradigm won't he blazing fast because the last decade was focused on getting everyone up to usable speed. The next shift will be UX, although there execution has been poorly done. If Apple proved on thing, users care a lot about image and UX, even at the cost of performance.

Last edited by daveT; 04-16-2013 at 08:39 PM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2013 , 11:19 PM
Quote:
Originally Posted by gaming_mouse
Does this mean that I could find a puppet or chef script online somewhere that does exactly what I want? If so, where?

Thanks!
Quote:
Originally Posted by jjshabado
I haven't done much of our chef setup/configuration but I know most common things have existing recipes here: http://community.opscode.com/
Here's the puppet equiv to that site: http://forge.puppetlabs.com/

It's also easy just to skip either site and to search github directly: https://github.com/search?q=chef+ec2
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2013 , 11:31 PM
oh yeah.

g_m, you should look at vagrant.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-17-2013 , 12:46 AM
How bad is it?

http://jsfiddle.net/28VQh/

What I want to do is toggle between two different button lists so that when you click on one of these buttons, the buttons switch to "bet" and "check", but I'm sort of lost on how to do this.

No, jQuery is not an option since I have to convert this to ClojureScript and I won't get very far until I learn some basic DOM manipulation, which I'm guessing this is.

I have this to start with:

Code:
window.onload = function(){
    ab = actionButton(["call", "raise", "fold"]);
    ab.onclick = function(){
        ab = actionButton(["check", "bet"]);
    }
}

But not only is this code somewhat confusing to look at, it does not have the desired result. I'm basically just stuck at this thought.

The id of ab is "button-field" if that helps anything at all...
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-17-2013 , 06:05 AM
I got it to somewhat work. I can't seem to figure out how to get the buttons to switch back. I know why they won't switch back in the code here, but just can't think of how I'd actually do it. Maybe throw it all into a map like:

stuff = {"call": changeButtons(???), "check(changeButtons(???), etc}

http://jsfiddle.net/3fRSy/
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-17-2013 , 06:26 AM
Here's mine, I put it all in the namespace of "something" because I should be asleep and couldn't figure out what to name it

http://jsfiddle.net/4JDmY/2/
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-17-2013 , 06:34 AM
20 minutes? You're amazing.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-17-2013 , 08:25 AM
Quote:
Originally Posted by tyler_cracker
1. code tags

2. i assume the block is acting as a comparator, so don't you just invert the 0 and 1?
ya it basically was right. We were using a jquery table sorter that was sorting our first column (which is either "read" or "unread") and always putting "read" up top.

Pretty tilting, especially since I didn't even realize my coworker had added that table sorter.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-17-2013 , 10:28 AM
Quote:
Originally Posted by daveT
20 minutes? You're amazing.
Dave,

Since we're always having philosophical debates of questionable real-world usefulness, I decided to add some syrup to the waffles and do an OO version of his solution, to give you some actual code that might be helpful:

http://jsfiddle.net/wmTSb/

Still not entirely clear why you wanted it to work this way, but given that is the goal, I think this solution is conceptually cleaner, if slightly more verbose.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-17-2013 , 10:56 AM
Quote:
Originally Posted by tyler_cracker
oh yeah.

g_m, you should look at vagrant.
tyler, from a quick glance it appears to be something you use for setting up VirtualBox VMs -- could it also be used on EC2?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-17-2013 , 01:33 PM
g_m,

yes, we are doing this very thing at work. i don't know all the details -- can't remember if ec2 reads vbox images directly or if there's a conversion step somewhere -- but there's also a couple vagrant-ec2 projects on github that purport to help with this problem.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-18-2013 , 01:25 AM
Quote:
Originally Posted by gaming_mouse
Dave,

Since we're always having philosophical debates of questionable real-world usefulness, I decided to add some syrup to the waffles and do an OO version of his solution, to give you some actual code that might be helpful:

http://jsfiddle.net/wmTSb/

Still not entirely clear why you wanted it to work this way, but given that is the goal, I think this solution is conceptually cleaner, if slightly more verbose.
You've seen enough of my code to know my abilities, and you should know that I know you've seen enough of my code to know my abilities, and after a few levels up, you would fully expect my argument would be vapid sophistry. Unfortunately, I won't offer you the satisfaction of confirming your suspicions.

I do think it is poor form to learn a framework or wrapper tool before learning the base language, thus I am attempting to learn some javascript before trying this in clojurescript. There is also the thorny issue that there are no clojurescript resources out there that assume you don't know javascript and DOM manipulation, so I am forced to learn some javascript.

Why "this way?" Player clicks his action and...? I would like for something to say "raise: $4," a card to come out, the pot to build, etc. This wouldn't be possible to do without using the DOM, which isn't possible to do without learning some javascript.

Do I think your version is cleaner than what I came up with? Yes.

Are there other things I'd prefer to do besides write javascript, including but no limited to sticking a cold fork in my eye? Yes.
** 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