Better HN
topnewbestaskshowjobs
Log inSign up

redredraider

24 karma · joined Apr 1, 2010 (16y ago) · 32 submissions

I program. I play guitar. That's pretty much my life not necessarily in order of importance. I'm trying to make a living doing what I like to do.
Submissions

comment 14y ago · link · parent

So you want to give clients direct access to your database?

comment 15y ago · link · parent

Reinventing the wheel for lulz...

comment 15y ago · link · parent

College doesn't cost that much. I go to Texas Tech. 4-5K a semester for 8 semesters is 50k. A starting dev makes 50-60k.It's pretty easy to pay it off.

comment 15y ago · link · parent

This is awesome. Someone port it to my circa 1994 cobol compiler and I'll be set.

comment 15y ago · link · parent

I program and I'm also studying music. Several of the programmers at my workplace play music. I would say %50 of my team. I think music theory and programming are very similar. The other musicians I know don't see the relationships I see.

comment 15y ago · link · parent

PHP doesn't suck. It runs the internet. It's possible to write crappy code in any language.

comment 15y ago · link · parent

Isn't this obvious?

comment 15y ago · link · parent

50-60%. I'm an intern though.

comment 15y ago · link · parent

I never thought of this. It's good

comment 15y ago · link · parent

If you sanitize every input then I think you will be ok. You just have to get in the habit of always running your safe() function on every variable that comes in a POST or GET. I would also make sure that SQL errors don't return anything. The page should just die. Automated scripts testing inputs look for error messages.

comment 15y ago · link · parent

When you say Java I immediately think of all the crappy programmers in my CS program who would choose Java as their favorite language even when it would be the worst possible choice. Hackers don't program in Java unless Java is the only solution. If you want better programmers offer more money. If you're tired of interviewing make them take an online coding test before they get a face to face interview. I wouldn't event interview someone if they can't pass the code test.

comment 15y ago · link · parent

If it has to be updated on every page load I don't think there's anything you can do...I may be wrong I'm sure someone on HN will have some performance tricks. You can generate your headers and footers and store them in a file instead of touching a database every time. If you're killing your database server you're probably returning too many records or your queries suck. I wouldn't know without seeing them.

comment 15y ago · link · parent

Learn to play an instrument. I've always found that to be a rewarding waste of time.

comment 15y ago · link · parent

Take a vacation. Be frugal with your money and you should never have to work again if you can live on 30k a year.

comment 15y ago · link · parent

I wouldn't spend it or invest or anything. Leave in the bank or a CD and just feel secure enough to leave your job if you start hating it. The economy is bad.

comment 15y ago · link · parent

I think it depends how much money you have to spend. If you have money then see about finding a developer. If you don't have money and you don't expect investment then I would say take your time. 6 months is not that long. Unless you're idea is fully developed it will probably take that long to figure out what it is you're really going to end up building based on feedback.

comment 15y ago · link · parent

I would get cracking on web development if I were you. You can definitely do it alone for a while. That way you're not at the mercy of a programmer and you will have learned a useful skill in the likely event your idea doesn't make it.

comment 15y ago · link · parent

Buy a guitar. Learn to play it.

comment 15y ago · link · parent

Right. So Groupon probably didn't go around hush hush. I agree with the post above about execution. It's not about being first it's about being the best.

comment 15y ago · link · parent

If keeping it secret is that big of deal it's probably going to fail anyway. If something is so easy to copy that you can't tell anyone then it's not worth pursuing. IMO.

comment 15y ago · link · parent

I'm interning with a company that is a COBOL shop. It took me months to make the transition from "normal languages". I don't think it's worth learning honestly unless you get a job in it. Here are some things it has taught me.

It's taught me to create pretty code that is indented correctly. I pretty much live in a debugger. Most people out of a CS program think they know how to debug stuff. They don't have a clue. It's taught me to be very meticulous and review every single thing I do down to periods(which BTW terminate loops and if statements making life hell) If you can't understand what you just wrote it needs rewritten.

As far as language comparisons. All variables are declared at the top of the program. All variables are fully global. If you move a variable to a smaller variable it doesn't throw an error it just gets truncated. Loops start at 1 instead of 0. There is very limited error handling.

I don't know of any resources online. I searched when I started working but I didn't find anything real helpful. I did have a 25 year old 30 million line code base to learn from though

comment 15y ago · link · parent

I'm sure it would make you a better programmer. Using tools that were abandoned by their company 10 years ago teaches one to be humble and to appreciate the little things in life.

comment 15y ago · link · parent

You can't be a web developer unless you can code. I think a good exercise would be copying a website. When I say copy I mean the whole thing front end and back end. Start with something easy like twitter. The whole front end is pretty much done for you. This is not super simple but I don't think you can become a developer in 12 months with no code experience anyway.

comment 15y ago · link · parent

You really don't know bad programming until you have spent some time in a 50000 line cobol program. I'd post some crap I work on every day but I don't want to make anyone cry. Nevermind. Here's some random code I'm working on.

             MOVE SPACES TO LISTBAT-NAME.
             STRING WORK-FILES "LIST.BAT" DELIMITED BY "  "
             INTO    LISTBAT-NAME.
             OPEN OUTPUT LISTBAT.
             MOVE SPACES TO SCR-S.
             STRING "DIR /B " DATA-PREFIX " > " 
             WORK-FILES "TMPLIST" DELIMITED BY "  " 
             INTO  SCR-S.
             MOVE SCR-S TO LISTBAT-REC.
             WRITE LISTBAT-REC.
             CLOSE LISTBAT.
             CALL "C$system" USING LISTBAT-NAME, 96 
             GIVING STATUS-VAL.
             MOVE SPACES TO TMPLIST-NAME.
             STRING WORK-FILES "TMPLIST" DELIMITED BY "  " 
             INTO  TMPLIST-NAME.
             OPEN INPUT TMPLIST.
             MOVE LOW-VALUE TO LIST-NAME.
             PERFORM UNTIL 1 = 2
             READ TMPLIST
             INTO SCR-S
                AT END EXIT PERFORM
             END-READ
             ADD 1 TO PROGRESS-REC-CT
             INSPECT SCR-S CONVERTING LOWER-CASE-ALPHA TO 
              UPPER-CASE-ALPHA
              PERFORM VARYING SCR-X FROM 50 BY -1 UNTIL 
              SCR-X = 1
              IF SCR-S(SCR-X:1) = "."
              MOVE SPACES TO SCR-S(SCR-X:)
              EXIT PERFORM
              END-IF
             END-PERFORM
             CALL "CC/STRINGER" USING SCR-S, STRING-INFO
             MOVE SCR-S(1:STRING-INFO-LENGTH) TO TMP-RID
             PERFORM LOAD-RPT-FILE THRU END-LOAD-RPT-FILE
             END-PERFORM.
             CLOSE TMPLIST.

The newline on some of those lines is off because HN makes it wrap but you get the idea

comment 15y ago · link · parent

If you really need technical people you're going to have to pay them unless you've got something amazing built so far. Or you're going to have to bring in cofounders and give them a more even split. That will be hard if you've got all of the time in it. In my situation I have put a lot of time and effort into my project and I will need to bring someone on board soon but it irks me to think I will have to give up more that 20% to someone who hasn't put the time and risk in.

comment 15y ago · link · parent

Another thing. If you're the technical guy then you should only hire sales people. Make money then hire programmers. I doubt the project has grown so large you can't maintain it. If you haven't made any money then your 4000 hour/25000 dollar project is just code. No one cares until it makes money.

comment 15y ago · link · parent

As a programmer I don't get involved unless there's money to pay me. I like the idea of getting paid up front for my work and keeping the 5% share and the "owner" of the project recouping my up front pay when the money starts rolling in. There's not a project you could show me that would convince me to work for equity only. Just my opinion

comment 15y ago · link · parent

Haha my bad.

comment 15y ago · link · parent

   $data = "http://hackerunderground.com/solution/blank;
   $ch = curl_init($data); 
   curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
   $base = curl_exec($ch);

   for($i=0;$i<10000;$i++)
   {
   $data = "http://hackerunderground.com/solution/$i;
   $ch = curl_init($data); 
   curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
   $response = curl_exec($ch); 
   if($response != $base)
   {
   echo $i;
   }
   }


I like my solution best. Everyone should try it!

comment 15y ago · link · parent

If it's computer related you can teach yourself. You want to learn more languages etc. I think you would be better off learning programming concepts the right way from a CS textbook or some other computer science resource so that you are capable of learning every language. There really isn't that much to learn. Thousands of dollars worth of more school is not the answer in my opinion.
12