Hacker Newsnew | past | comments | ask | show | jobs | submit | kp212's commentslogin

Exactly this.

Ill just add fake news always existed, its just that we never questioned the source.

It may be an ugly truth, but I for one am glad I don't believe what I read on the web or see on TV or at the very least take it at face value.

And I don't want the next gen Bill Gates to tell me what's ok and not ok for me to read/watch or question.


Just out of curiosity, did you let your employer know?

I read this a while ago:

http://blog.asmartbear.com/working-startup.html


I did not let my employer know. I understand that sometimes there can be risks from a legal perspective but given the context I felt the risk was extremely low. Plus, it was none of their business. I'm still blown away that in this country (US) people that work for others have to sometimes worry about their jobs going after them for what they do outside of that job. It honestly sickens me.


To be fair, it makes sense in some circumstances. Would you want your employees taking your algorithms, trade secrets, insider knowledge and networking contacts to build a competing business while you are paying them at the same time?


I hope you post the results of the survey.


I would add as a couple of other tips:

1. Provide a contact email, esp. for larger companies, filling out a n page submission form is a killer.

2. Use LinkedIn and the other boards not headhunters, Dice and Monster feel like headhunter spam. At least with LinkedIn you can connect from a posting, to a company to an HR person.

Personally I would love it if Dice had a filter headhunter option, but it probably would kill their #1 revenue stream.


Awesome tips. Indeed actually has an "Exclude staffing agencies" option on their advanced search: http://www.indeed.com/advanced_search


That's the thing, we need employers to actually post for themselves with a contact address. Your site is a form of that, where you connect with 10-15 direct employers, which is great. We need more of that on the boards, via linkedin, maybe stack overflow, indeed, startuply. However I think this issue affects larger corporations even more so, and they use Monster/Dice, how do you improve that?


I picked up Ruby and then RoR about 8 weeks ago. I was stuck on this issue:

http://stackoverflow.com/questions/4020393/ruby-on-rails-3-f...

  If you are an expert on 3.0/UJS (can't seem to find as much 
documentation /tutorials on this), I'd even pay a nominal amount just to email you a few questions over the next few months as I learn.


In Rails 3, the javascript drivers are very hands-off (i.e. unobtrusive). The problem you're having is that your app is returning to the browser a string of javascript, but there is nothing in the page that is then executing that javascript in the context of the page.

In your original page, along with the form, you need to bind an event to the form's "ajax:success" event.

The rails.js ujs driver binds to forms and links with "data-remote=true", which is what the ":remote => true" is doing, to make them submit their requests remotely, but that is where the Rails magic stops.

The good news is that the remote requests fires off some events you can bind to, which give you access to the data returned by the server (which fire off in the following order):

  ajax:before
  ajax:loading
  ajax:success
  ajax:complete
  ajax:failure
  ajax:after
You need to bind an event to the ajax:success event of your form. So, if your form had the id "myform", you'd want something like this on your page:

  $('#myform').bind('ajax:success', function(evt, data, status, xhr){
    xhr.responseText;
  });
xhr.responseText is what your server returns, so this simply executes it as javascript.

Of course, it's proper to also bind to the failure event with some error handling as well.

I usually don't even use the action.js.erb method of returning javascript, I just have my controller render the HTML partial, and then I have a binding like this in the page:

  $('#myform').bind('ajax:success', function(evt, data, status, xhr){
    $('#target-div').html(xhr.responseText);
  });


What about vendors for Wall Street? Anyone know where I could find vendors to Wall Street that are still essentially tech companies? I figure that market is huge in New York and might be a good alternative to the tradition IT in an IB job.


Whoa, no need for the stupid comments. I wouldn't suggest a full fledged app in JSPs, yes thats insane ;-). Although, years ago I wrote blog where I could email my blogs in and I remember that first night I didn't want to set up a war and just wrote a straight JSP...I was only looking and I didnt want to wait. Obviously that is not a long term solution. However, having something that's wrong is better than not having anything done. You do make a good point, I think I will play around with Django, sounds like its faster than compile, war, deploy that java apps take. How much productivity increase do you see over java in terms of development?


I never meant to call anybody on here stupid, but it's how I felt about that guy back then.

It's difficult to quantify the increase in productivity using Django - since I never wrote the same project twice and a lot depends on the Java frameworks you use and the type of apps you write - but I certainly feel more productive and: happier! A lot can be explained by the fact that I'm basically forced to do the whole compile-war-deploy cycle on my current Java project and that Python allows me to write real generic code.

Be sure to first check out the tutorials in the Django docs because setting up a project for the first time can be a bit intimidating. Totally worth it, though ;)


You can do that with a JSP page, and Tomcat. You can use JSP very much like a scripting language (no need to hit a servlet, controller, etc), but obviously it can get a little messy to manage depending how large of app you write.


One big problem; if you keep most of the Java code on the servlet side and you throw an exception, the stack trace will give you the line number of the offending code.

OTOH, if you do all that heavy lifting in the JSP side, depending on your choice of server, you get a stack trace...either without a line number, or with a line number of the JSP which was compiled and turned into a Java program on the fly.

And we all know what machine-generated Java looks like, right? Like a big plate of pain with some extra pain on top. Good luck bug-hunting that one.


Not entirely true. On Tomcat 5 and 6, the resulting code is really close to the original, plus lots of out.write().

If the logs show an exception on org.apache.jsp.mypage_jsp._jspService(mypage_jsp.java:NNNN), you can find the generated Java class on TOMCAT_HOME/work/Catalina/localhost/myapp and it's rather straightforward from there.

I do this on a daily basis to maintain a legacy app. Not sexy but, not hard either.


Yeah you are right, lets just forget using jsp without the framework model.


And that's why I thought he was talking about Java webapps in general. I mean, JSTL is pretty useless if that's the way you're going to use JSP. :)


I know that Fleaflicker which was posted here was a java based app. So they are out there, but I think more of them are from the 2000-2003 time frame. Has anyone here gone from the Java Stack to RoR? What would you recommend to anyone making that transition? I want to make my next project a "learn a new lang" web project. I fairly strong understanding of the Java MVC(Spring, Struts 1), and DB transactional frameworks(Spring JDBC, Hibernate) and wonder what I should be reading for a transition?


I've been thinking maybe it should be due to its control of advertising, but like the first post its too soon right now. Lets see how the next "boom" cycle in advertising plays out. That being said, I feel if any company should be broken up into baby G's right now it would be Goldman Sachs. I think that would be a great message to the rest of the financial industry.


Google's total stranglehold on effective online advertising for firms with less than $100k to spend is an annoyance to me -- I wish they had some competition.

Google having total, unchallenged dominance of navigation on the Internet: that is a threat. You could swipe the URL bar from all browsers tomorrow and most people wouldn't even notice. Turn off Google for five minutes and the Internet stops. Google's ability to do that to individual sites, selectively, at their sole and unchallengeable discretion, has me go from disquieted to terrified some days.


Google isn't actively blocking other advertising companies from competing; they're just the winner in a winner-take-all market.

Similarly, Google dominates internet search but doesn't block other companies from offering competing products.

Interestingly, a Google search for 'search engine' does not return Google itself in the top ten results:

http://www.google.ca/search?q=search+engine


And how is this Google's fault? That's more incompetence on the part of many users.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: