Open Side Menu Go to the Top
Register
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

04-01-2014 , 10:11 AM
I thought the point of frameworks like bootstrap is to just use and forgot. If you need control over the look/feel I don't think a framework is the right choice.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 09:25 AM
Quote:
Originally Posted by muttiah
I thought the point of frameworks like bootstrap is to just use and forgot. If you need control over the look/feel I don't think a framework is the right choice.
I think a very lightweight version of foundation/bootstrap using the grid system is useful for building new apps, if you need responsiveness. But ya, if you need control over the look and feel just write the rest of it yourself.

I think bootstrap 3 looks decent out of the box, and I think foundation has some smart defaults. I've gotten a lot of value out of wrapbootstrap and other similar sites lately for saving my design incapable self.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 12:33 PM
I was at a retrogaming party the other day and I'll build a pong with pygame (Python3). I plan on not using any pong tutorials and only reading the pygame docs...how long will it take, will i finish it or abandon ship (finish=playable with two human players, same keyboard as input, nothing fancy).

I'll start tomorrow because there's football today. I'm thinking this is a one afternoon type of project? Has been forever since I used pygame (my failed adventure game which I may pick up eventually)
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 12:54 PM
I know nothing about pygame, but it seems like that could be written in javascript pretty quickly. An afternoon sounds about right.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 01:01 PM
What's my play here? I'm kind of looking for a rails/angular job at a small startup, or cofounding something. In the meantime, I can learn the following:

1) iOS development
2) devops
3) try to learn some stuff about big data
4) Go
5) node.js or some other backend framework

Anything else that might be useful? I feel like I'm nearing the edge of stuff I can learn about by myself in regards to angular or rails. I can build whatever, but I'm sure my code could be more elegant/efficient. It's hard to keep refining that stuff without working on a team though.

I think devops would be boring, but might save a bit of money/be a useful skill set moving forward instead of just relying on heroku (though I wouldn't want to do it as my full time job).

Node.js might be an interesting alternative to rails on projects that require more concurrency.

iOS: I just did another startup weekend hackathon thing this past weekend, and so many good little startup ideas are mobile apps of some sort... seems like having that skill set would be handy.

big data: Big market, way of the future?

Go: I was really given the hard sell on this being the language of the future.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 01:01 PM
Someone on our information security team posted code to a public GitHub that contained an admin key pair to our AWS account. Some benevolent black hat ran up thousands in spot instance charges like a boss. At least he didn't delete everything.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 01:16 PM
Quote:
Originally Posted by Nchabazam
1) iOS development
2) devops
3) try to learn some stuff about big data
4) Go
5) node.js or some other backend framework
what happened to the company you just started, was that just a side thing?

i think of those you mentioned iOS would probably be the most valuable (monetarily) and seems like you'd enjoy it based on what you seem to enjoy.

i always, always find myself wishing i knew more devops, it's just so generally useful...

Quote:
Originally Posted by Scary_Tiger
Someone on our information security team posted code to a public GitHub that contained an admin key pair to our AWS account. Some benevolent black hat ran up thousands in spot instance charges like a boss. At least he didn't delete everything.
lol. what was he doing with them?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 01:27 PM
Quote:
Originally Posted by gaming_mouse
what happened to the company you just started, was that just a side thing?

i think of those you mentioned iOS would probably be the most valuable (monetarily) and seems like you'd enjoy it based on what you seem to enjoy.

i always, always find myself wishing i knew more devops, it's just so generally useful...
I ended up getting a couple of decent projects through some connections I had, and am building them now... but the two guys I was gonna work with kinda flaked. I also realized that since I'm pretty new to Denver I really want to get out a bit more during the day instead of coding at home, meet some new people, etc. I will try to do something like this in the future, but the timing wasn't great.

Thanks for the feedback, I do think iOS would be the most useful for the stuff I'm building, it was just hard when I tried it a couple of weeks ago! I'm being lazy. I should also learn devops.

I'm playing around with more websocket stuff today, but that's not super complicated... really cool though.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 01:49 PM
out of the choices I'd probably do either iOS or big data, although it's not clear what big data would entail? Maybe setup hadoop and some map/reduce/hbase hijinx?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 02:03 PM
How do I find a person with these kinda of qualifications:

Quote:
I specialize in website design, marketing and building a brand. I'm looking for a programmer with some program ideas to partner up and market a product. I have successful launched a poker application before (FPP PRO) and had a fantastic partnership with the FPP pro community.

I know this space and know how profitable it is if you can PROVIDE A SOLUTION to a problem (the basis behind a program).

I have capital for marketing, development etc. A proper marketing strategy and presentation could mean the difference between a hero or a zero. Feel free to shoot me a PM
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 02:07 PM
Quote:
Originally Posted by well named
out of the choices I'd probably do either iOS or big data, although it's not clear what big data would entail? Maybe setup hadoop and some map/reduce/hbase hijinx?
Basically what I was thinking for big data. I think I'll start cranking on iOS, but will likely use rubymotion since I bought a license and it seems cool.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 02:29 PM
Quote:
Originally Posted by gaming_mouse
lol. what was he doing with them?
Haven't looked into it. I'd assume he was either maxing out our instances for fun or he used an ami that won't allow us to look into the hosts themselves.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 03:34 PM
Quote:
Originally Posted by clowntable
I was at a retrogaming party the other day and I'll build a pong with pygame (Python3). I plan on not using any pong tutorials and only reading the pygame docs...how long will it take, will i finish it or abandon ship (finish=playable with two human players, same keyboard as input, nothing fancy).

I'll start tomorrow because there's football today. I'm thinking this is a one afternoon type of project? Has been forever since I used pygame (my failed adventure game which I may pick up eventually)
1-2 hrs. Opening a window and getting access to the buffer should be like 3-4 lines of code in Python + pygame
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 03:36 PM
FWIW I've written pong using just Win32 API ages ago and iirc it was maybe 200 lines of code (C++ with some decent AI that sometimes misses the ball)
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 06:47 PM
Quote:
Originally Posted by Scary_Tiger
Someone on our information security team posted code to a public GitHub that contained an admin key pair to our AWS account. Some benevolent black hat ran up thousands in spot instance charges like a boss. At least he didn't delete everything.
Nice.

AWS actually watches things like GitHub to find leaked keys. We have very limited key pairs that our customers use and one of them posted theirs to GitHub. I think it was only a couple of days before AWS contacted us to tell us that it was now public and we needed to retire it.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 06:48 PM
Quote:
Originally Posted by Nchabazam
Basically what I was thinking for big data. I think I'll start cranking on iOS, but will likely use rubymotion since I bought a license and it seems cool.
If you want to get into Big Data there are a bunch of good Apache projects that you could contribute to that would get you good cred.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 06:56 PM
Is it perhaps good practise to keep key pairs/other sensitive constants in a separate settings file? Key pairs in effect are magic numbers, and keeping it all separate settings files stops accidental copy and pastes online.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 07:57 PM
Quote:
Originally Posted by Gullanian
Is it perhaps good practise to keep key pairs/other sensitive constants in a separate settings file? Key pairs in effect are magic numbers, and keeping it all separate settings files stops accidental copy and pastes online.
We set our sensitive information in a separate location from our standard config values,but that's more because the sensitive values are encrypted while saved. The actual app though reads from just one file that is built from the template config, the plain text values, and the encrypted values.

It probably amounts to what you're talking about though since the generated config never goes in source control.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 08:09 PM
jj,

if the source code went public, wouldn't an attacker still have access to the encrypted sensitive info + the application code the uses it and presumably decrypts it. hence doesn't it amount to the same thing as the key being lost, assuming the source was accidentally exposed -- or am i misunderstanding the system?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 08:57 PM
Quote:
Originally Posted by gaming_mouse
jj,

if the source code went public, wouldn't an attacker still have access to the encrypted sensitive info + the application code the uses it and presumably decrypts it. hence doesn't it amount to the same thing as the key being lost, assuming the source was accidentally exposed -- or am i misunderstanding the system?
The sensitive info is stored in a special repository and its all encrypted. The application doesn't actually know how to decrypt it.

When a machine is provisioned the application source is checked out on the machine and the build process knows how to decrypt the sensitive data and generate the config file w/ sensitive information in it.

So if your actual machine is compromised your passwords and stuff are all compromised too, but I think that's always going to be the case. But if our actual source code were compromised or if the sensitive repo were compromised or if the build code were compromised we'd be ok. An attacker needs access to both the secure repo and the build code to get sensitive information.

Edit: Another benefit is that the build code can be locked down much tighter than the application code. Or even if everyone needs/has access it rarely changes so its less likely you'll do something stupid with it.

Last edited by jjshabado; 04-02-2014 at 09:04 PM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 09:35 PM
trying to use prolog and its hard, recursion is such a ballache.

Need to add the distance it takes to drive from pointA to pointB with how long it takes to drive pointB to pointC to get total distance. im just being real dumb...

Code:
sum([], 0).
sum([X|Xs], N) :-
	sum(Xs, NY),
	N is X + NY.

route_cost([], 0).
route_cost([drive(X,Y,Z)| P], C) :-
        route_cost(P,C1), C1 = sum(Z, C), road(X,Y,Z).

road(arad,sibiu,10).
road(sibiu,fagaras,50).
its "route_cost(P,C1), C1 = sum(Z, C)." this line im struggling with
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-02-2014 , 11:47 PM
the Pain of Being the Only Engineer in a Business Meeting

** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-03-2014 , 07:38 AM
I see someone is travelling on the roads of Romania by taking a Modern Approach. You'll start hating that map very quickly

First thing you should start doing even though it's skipped over in most classes: get into the habit of commenting I/O variable names for "public" predicates. Also, check out what accumulators and tail recursion are.

Code:
list_sum_total([], Sum, Sum).
list_sum_total([Head|Tail], Sum, Total) :-
  Count is Sum + Head,
  list_sum_total(Tail, Count, Total).
% +ListToBeSummed, -SummedList
list_summedList(List, SummedList) :-
  list_sum_total(List, 0, SummedList).
I think I know what you're trying to do in your code but I'm not entirely sure. It's probably some greedy search algorithm? I'm assuming drive/3 is the time it takes to drive from a to b, same structure as road/3 (which is the distance between a and b)?
It's a little confusing because you usually don't add distance and time. You probably want distance from a to b and straight line distance from b to goal?

Quote:
Originally Posted by suzzer99
the Pain of Being the Only Engineer in a Business Meeting

Wow this is pretty much perfect.

Last edited by clowntable; 04-03-2014 at 07:48 AM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-03-2014 , 07:56 AM
Also don't want to derail the other thread but I have gotten a lot of hate for my opinion on that matter so I'll just post it here and see what you think:

I have been called a sexist and down right evil for it but I'm on the record saying that (ceteris paribus) I'd always prefer a man over a woman for small companies and startups. A woman getting pregnant or being pregnant when you hire her (can't legally ask for it in most places) can be extremely crippling for a smallish company (depends a bit on the country but if she can just leave and you eat half the paycheck that's pretty big...even if she just leaves, being forced to get a new employee in startup mode can be a death blow).
It's just risk management.

I strongly disagree with the idea that women are less competent due to the combination of skills required.

Last edited by clowntable; 04-03-2014 at 08:02 AM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-03-2014 , 08:36 AM
I guess I have a couple of thoughts about that:

1. In reality its just a silly consideration. Nothing is ever equal and in almost all places right now its hard to find good people. There are many reasons people leave jobs in this industry (what's the average time at a specific place: 2-4 years?) and getting pregnant is going to be a small percentage of those reasons, even for woman. The risk you're worried about is one thats extremely unlikely to happen in the short term and in the worst case you have 7-8 months to mitigate it.

2. If you're worrying and basing decisions on risks as tiny as this at the expense of discriminating (I don't mean that in the loaded PC way) a large chunk of the work force you're not doing a good overall management job.

In fact I'd say that any sort of vocalization of your thought process here to other people is a bigger risk since it'll have an effect on your being able to hire quality people (or hell, even expose you to discrimination based law suits).

3. So what if its a small risk? I believe people should be treated well. And basing decisions off of something that is inherently outside of someones control (gender) and has no significant impact on their ability to do the job isn't treating people well.

Overall, I would be very hesitant to work for/with someone that expressed your view here. Both from not wanting to be professionally associated with someone that doesn't reflect my personal views and in that I would question their overall management/decision making ability.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m