Open Side Menu Go to the Top

12-24-2013 , 01:05 PM
Validate that the problem you have identified is indeed a problem (for the right people) first please
** 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 **
12-24-2013 , 01:18 PM
Isn't that sort of the point of a quick and dirty MVP?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-24-2013 , 01:21 PM
Quote:
Originally Posted by clowntable
Validate that the problem you have identified is indeed a problem (for the right people) first please
We've talked to a bunch of people about the food idea, and identified it as a relative pain point that people could be eager to use. Enough to certainly give it 10 days of coding over the holidays.

I agree with the premise of validating first though.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-24-2013 , 01:28 PM
Quote:
Originally Posted by daveT
and top it off with the obnoxious XP opening sound at full volume.
Buy a Windows phone and have that as your ringtone.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-24-2013 , 02:34 PM
Dave has to use the Windows jungle theme on his work computer.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-24-2013 , 08:59 PM
Nchabazam:

Take a page from HN and go lean startup:

** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-24-2013 , 09:26 PM
Quote:
Originally Posted by daveT
Nchabazam:

Take a page from HN and go lean startup:

That's a strong site right there, probably worth about $300k in funding.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-24-2013 , 10:36 PM
If you want my artwork, feel free to cut it up and use it. I'm fully FOSS now days. Just place the credits in the comments, and that is only if you don't mind. No skin off my nose either way.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-25-2013 , 05:56 PM
Quote:
Originally Posted by Nchabazam
That's a strong site right there, probably worth about $300k in funding.
Better get RapGenius SEO though.

---
Dad loves his new Linux computer...especially the fact that all the icons and text were customized to a size he can actually read

I got a good chuckle (and some nice insight) when he explained his new computer to someone else. Highlight...
"Oh I can get to the internet very quickly by just clicking on internet."...then he wanted to toss in some lingo he picked up while I talked him through everything..."and that will open mozzarella Firefox"
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-26-2013 , 06:13 PM
Quote:
Originally Posted by adios
What kind of assignments are you getting in general terms?
At first they gave me the **** assignments that no one else wants to work on (debugging VB 6.0). I think I proved myself on that task very quickly, and now I'm fully up and running, adding a pretty significant area of (new) functionality to our main product. It's about 60% modeled off of an existing feature. Been doing my best to keep copy and pasting to a minimum and it has been working well so far, definitely ahead of schedule.

Quote:
Originally Posted by MrWooster
School (or University where I come from), should teach you how to think, not how to code. There are so many different coding styles, and so many new technologies year on year that it would be impossible for a school to keep up. Instead it should teach you how to approach a problem.
My main complaint is that I took a semester long database class and didn't even learn what a transaction was. Also, that you never get exposed to OOP design on a scale larger than some very few, highly contrived and simplified examples. For instance, it took me a while to really grasp how plugins/interfaces work and whatnot, since it was covered for maybe 1 week in school.

And, very importantly, I learned *nothing* about debugging skills or approaches. IMO there should be an entire class on debugging alone that is required for CS students.

Quote:
Originally Posted by tyler_cracker
wooster,

not true for vocational schools, which is essentially what op went to.
Kind of confused about this quote and the conversation that followed from it. I went to a University in America and got a B.A. in compsci? As far as I've always thought, vocational schools != universities? Vocational schools are if you're going to study like cosmetology or heating installation.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-26-2013 , 10:05 PM
Anyone know of a good Excel-to-JSON converter? The current data set I'm working with froze Mr. Data Converter on my computer.

I may end up writing my own script for it. It shouldn't be too difficult, but it would be convenient if a good solution already exists.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-27-2013 , 02:21 AM
Quote:
Originally Posted by Urinal Mint
Anyone know of a good Excel-to-JSON converter? The current data set I'm working with froze Mr. Data Converter on my computer.

I may end up writing my own script for it. It shouldn't be too difficult, but it would be convenient if a good solution already exists.
This is dirty but you could import csv to postgres db and serialize in json. Prob takes 10 minutes to setup. Obviously this is not good if you need many tables.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-27-2013 , 11:21 AM
If anyone here is better at networking than me and knows how to do this I'd appreciate the help before I spend the next n-hours googling around.

I have a wireless router A that serves as the gateway for my network (establishes the WAN connection to my ISP). I use static IPs and no DHCP and MAC filtering+no other security (no WPA or the like). There's also network boxes in most rooms for wired connections of desktop PCs and the like (same gateway/router and static IPs)
A:192.168.2.1 (standard 255.255.255.0 netmask)
Lets say for arguments sake the clients are .2, .3, .4 and .5 and are configured to use A as gateway (and for DNS)

So far, so good everything works nice and dandy.

Problem: A is located in the basement and the wireless signal can't reach the upper floors so I want to amplify the signal.

For this I want to use wireless router B (which I have flashed with OpenWRT). I have configured this router to "client mode" and it connects to A just fine and I can ping www.google.com and the like just fine from a shell from B.

However what I want to do now is tha B shows up with its own SSID and lets other devices connect to it and forwards the connection to A. I have already configured it to the point where it shows up with an SSID of WLAN_REPEATER and clients can connect to it but they cannot "get to the internet" when they use B as their AP. I can actually SSH to B from my desktop (no wireless connection) so the network seems to be set up fine and I suspect that it's merely an issue of somehow configuring B to be an accesspoint that just forwards stuff to A.

I can post the exact configuration but I feel it's more a problem of me not completely grasping this conceptually.
Conceptually what I want is:
1) Configure the repeater to connect to the gateway
2) Also configure the repeater to be an AP (and just forward everthing that connects to it to the gateway via the connection from 1)
That about right?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-27-2013 , 12:24 PM
conceptually if two devices are on the same IP subnet then they should be able to talk to each other directly (think ethernet level). Like arp should work. To get a packet to a machine on a different subnet you send it to a router. To get it to one on the same subnet you find a physical address and fire away.

A wireless client of B has the same IP as the clients of A but it isn't on the same physical subnet. It needs help from the router B which lives on both B and A. Normally the play would be having different IP subnets for B and A and routing.

The alternative, when you want to make 2 physical networks look like one is bridging. A bridge copies all* packets from one physical network to another. So you put B in a bridging mode. You might have done that. It might not work.

If you want to use B in routing mode, here's an example:
A will be 192.168.1.0 / 255.255.255.0. A will be 192.168.1.1
B will be 192.168.2.0 / 255.255.255.0. B will be 192.168.1.2 and 192.168.2.1

Add a route to all clients on A that says packets for 192.168.2 go to B's address on A (192.168.1.2)
Set the default route for clients on B to 192.168.2.1

DHCP is your friend here. You can get the same control as static IP if you set DHCP to not give out IPs to unknown macs.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-27-2013 , 01:02 PM
to better familiarize myself with concepts of inheritance/composition, this winter break I decided to try to design a simple text-only, turn based RPG.

i'm quickly discovering that to do very simple (or what I thought would be simple) things, my program quickly becomes very complicated and large. I tried drawing diagrams and stuff but I quickly get lost.

so i tore it all up, so to say, and decided to start very simple. I'm making a program that battles two "characters" with only 2 stats - HP and attack - and 2 commands, defend and attack.

I'm doing this using a "Character" object that basically just holds the HP/attack variables and attack/defend methods, that are created inside of a "Gamestate" class that contains a bunch of methods to process user commands and display menu options. is this a good starting approach? Are there any good exercises/resources out there to get more experience with this kind of thing?

the language is java

Last edited by jmakin; 12-27-2013 at 01:07 PM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-27-2013 , 02:07 PM
Hey all...

I've been a PM for a few years and am switching to Front-end dev. I have my first interview next week and it is 2 hours long! I assume I will be quizzed and asked to code on the spot, possibly without Stack Overflow or syntax manuals for the assist.

What should I make sure I can do blindfolded in JS/jQuery before I go in? I know JS but don't want to get tripped up. Plus I just imagine a senior dev administrating the test balking if I mess up some syntax.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-27-2013 , 02:27 PM
Holy crap 2 hour interview.

I've been on a lot of interviews this year and the "deepest" JS questions I've had were "what's a closure" and "what does 'new' do" and "explain jquery chaining" so yeah.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-27-2013 , 03:04 PM
those are good examples. I knew what jquery chaining was but didn't know it was called "jquery chaining"
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-27-2013 , 03:11 PM
jmakin,

Sounds very similar to what I used to make in basic when I was young, building RPGs was really fun. Sounds like your approach is pretty solid. When things start getting very complicated and you are getting lost, try and go back and see what you can do to make the code "better", but I think sticking to personal trial and error is going to be more beneficial longterm than looking at other resources, just imo tho.

Also, post code snippets here that are confusing and people will help you.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-27-2013 , 07:31 PM
Yea i started with a real basic method that handled each Character taking turns attacking each other until someone's hp reached 0. Now i'm adding other abilities and gonna implement some basic xp/level up methods.

Made a real basic subclass of my Character class that was basically a dragon that takes a breath one turn, and kills you the next unless you use "defend."

Pretty fun exercise. I'll post some problems i'm having later. I added a turn counter to my "battle" method to give me some flexibility in giving my AI directions. It's weird but this simple exercise really helped me solidify has-a/is-a concepts.

Kinda ldo but this bottom up approach makes things far simpler.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-27-2013 , 08:44 PM
I also built an RPG in Basic once (QBasic). Seems like geeks gonna geek.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-28-2013 , 12:39 AM
On reddit, Bill Gates said he still codes in Basic. I wondered wtf he would be doing?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-28-2013 , 12:41 AM
reading the interpreter startup message and masturbating furiously?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-28-2013 , 01:02 AM
Quote:
Originally Posted by Larry Legend
On reddit, Bill Gates said he still codes in Basic. I wondered wtf he would be doing?
Quote:
It was a good point. Bill Gates was amazingly technical. He understood Variants, and COM objects, and IDispatch and why Automation is different than vtables and why this might lead to dual interfaces. He worried about date functions. He didn't meddle in software if he trusted the people who were working on it, but you couldn't bull**** him for a minute because he was a programmer. A real, actual, programmer.
http://www.joelonsoftware.com/items/2006/06/16.html
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
12-28-2013 , 01:06 AM
Quote:
Originally Posted by MikeyObviously
What should I make sure I can do blindfolded in JS/jQuery before I go in? I know JS but don't want to get tripped up.
Determining the value of this is like the fizz buzz of javascript.

I'd probably review prototypical inheritance and the various ways of making factory functions etc. Its pretty fundamental to javascript but in practice doesn't actually come up that often if you're not doing anything advanced.

If they specifically brought up jQuery i'd go over their implementation of each, map, filter, reduce, and the promise api.

If its more of a designy type job I'd just review selecting and moving around elements, filtering through them for children/ancestors and using event handlers (event delegation, the prevent default and stop propogation methods on the event object). They'll probably have you make one of those annoying slideshow things lol.
** 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