Better HN
topnewbestaskshowjobs
Log inSign up

devs1010

359 karma · joined Oct 15, 2011 (15y ago) · 442 submissions

Node Js developer, looking to network with anyone interested in node Js, entrepreneurs, etc
Submissions

comment 14y ago · link · parent

Session locking (tying a user down to a particular instance in a cluster) can be used to mitigate the statless issue, basically if its data that you are ok with losing if one instance of a cluster goes down then it should be fine to hold that state (such as a user's shopping cart, for example), this could be worth the trade-off for the extra overhead of having to persist the data to the DB. Using state has its places for some things and shouldn't be used in other situations so it all depends but I'm not sure the idea of never having state is necessarily a good hard and fast rule.

comment 14y ago · link · parent

Just because you did doesn't mean its the standard way things are done, for the vast majority of jobs (especially those outside of Silicon Valley), it just doesn't work that way, for some jobs it may make sense to take your approach but this approach simply won't work as a blanket approach. I know firsthand from having been around tech managers and these are even people who have worked as programmers, and the resume means a lot to them as far as their first impression of a candidate.

comment 14y ago · link · parent

This is ridiculous advice unless you are only going to apply to very small companies where you will only be talking directly to other programmers, very few recruiters / hr people are going to care about your github projects and for a company of more than a few people you are probably going to have to get paste one of these people first. You need a resume to get you in the door then you can bring up your github work later on.

comment 15y ago · link · parent

The product manager at my job is completely non-technical, and this seems to have been by design (they just filled it from an internal candidate a couple months ago), basically she is supposed to be the bridge between engineering and the "stakeholders", so to speak and make sure their vision matches what is happening. To handle the technical side of things we have another manager that does have a technical background, loosely termed the "project architect". All technical decision go through him or the CTO, the fluff stuff and touchy feel stuff goes through the product manager.

comment 15y ago · link · parent

*cough cough, tons of resources to be found if you download off torrent sites too (even some that would cost money otherwise)

comment 15y ago · link · parent

One doesn't have to search long to find plenty of examples of how the US government has made a mockery of the 1st Ammendment as well as many other Ammendments in the Constitution. Its nice to think that we have fundamental rights but in practice I really don't find that to be all that true unfortunately.

comment 15y ago · link · parent

The US seems to be taking the expressway already to becoming more like China in terms of how the government relates to and deals with its citizens. This is just the tip of the iceberg considering a lot of whats gone on in the last decade in this country.

comment 15y ago · link · parent

Discrete math is what tends to be useful in programming. I have a couple years experience as a developer but I guess I'd say I'm sort of in the same boat as you where I am trying to gain a more solid grounding in mathematics to hopefully eventually move away from doing CRUD style development. I got a book off Amazon called "Discrete and Combinatorial Mathematics" that was really cheap (the total with shipping was like $4-5), so maybe check that out.

comment 15y ago · link · parent

I don't mean to be overly critical but letting this go for 3 months is a bit much, in my opinion. If I were in the same situation after a week or two of my doing a lot of work with him doing nothing I would have had a talk with him, maybe just something to consider going forward, maybe I'm more cynical than I should be but you always have to be looking out for your best interest when it comes to startups and small companies. I'm not saying trying to screw others over but these situations tend to have issues like this arise fairly often it seems.

comment 15y ago · link · parent

If its a of web app I doubt its "complete" as they never really are (I work for a company with a 10 year old web app thats still having changes made to it), so you can go to him and say, "I've put in 3 months so far, you've put in basically none, now it's your turn" and he can handle the next stage of development, bug fixes, feature additions, etc while you take the back-seat for the next few months and handle the fluff work. If he doesn't like this, then maybe consider pulling a zuckerburg

comment 15y ago · link · parent

I think the main purpose of these is to catch the buggy code before it even gets checked in, not to assign blame to a developer

comment 15y ago · link · parent

These tools generally don't work for dynamic languages, only for static languages, like Java. Also, as I said, its far from perfect, however even the Intellij IDE that I use has some features like this and makes some helpful suggestions. For example, if you needlessly reassign a variable (reassign it twice before it could be read by anything) it catches this, it catches some of the mistakes that developers tend to make when they've been hacking away for hours and are not paying close attention and thus helps to clean up the code.

comment 15y ago · link · parent

Agreed, Intellij is the way to go

comment 15y ago · link · parent

There are some tools that can help with this, such as Findbugs, for java. Obviously it can't find any bug but it matches against certain patterns to determine if some anti-patterns exist in a project.

comment 15y ago · link · parent

You can gain experience just working on your own small projects, if you aren't making money from something then there's no reason you need to work for someone else, you can gain experience on your own.

comment 15y ago · link · parent

by not work out, you mean they never give you any work? I'm curious why, perhaps you just need to refine your approach, any idea what is causing them to lose interest?

comment 15y ago · link · parent

I believe your line of thinking is wrong.. interfaces are meant to act as "interfaces" in the traditional definition of the word, they are for providing an interface between groupings of code (for lack of a better phrase) that are mean to be loosely coupled from one another. They are defining a contract between these groupings so that the one grouping that uses the object implementing the interface doesn't have intimate knowledge of the other grouping of code. For example, if a project uses a 3rd party library, of which only a few features are being used, yet they know they are most likely going to replace this with another 3rd party library at some point, it would make sense to write an interface that wraps around this library. Then, it is easier later on to replace the 3rd party library by simply writing a new implementation wrapper.

I can understand that you don't like candidates not going into detail but I have worked on projects where using interfaces, even if there is not more than one implementation is still best practice as otherwise you are just hard-coupling your dependencies.

comment 15y ago · link · parent

Post your resume on craigslist, even for areas outside where you live (such as the SF Bay area / Silicon Valley), this is how I got one of my early "gigs" that was an hourly part-time job working remotely. Its good to do this if you don't have a lot of opportunities in your area, such as if you live in smaller town / city rather than a large metro area. Once you get that first paying gig / job, the rest should come easier, from then on emphasize your work experience as generally companies want people with some paid experience.

comment 15y ago · link · parent

Its an idealistic goal but not practical in the cases of companies who have specific niche web applications, etc as obviously then anyone wouldn't have to pay for use of the application

comment 15y ago · link · parent

I'd say be honest with them and rather than just bill extra hours, bill a flat fee for use of this code base and then bill for each hour spent customizing. I think any reasonable client would find value in having code already written that can be used for their project. Even if the project is open source, I'd still bill a flat fee for inclusion of it in a project given that you have very high expertise in it and thus can be more efficient and effective with customizations than an unfamiliar programmer could be.

comment 15y ago · link · parent

thank you for the link, so why I am getting down-voted for this?

comment 15y ago · link · parent

yes, he is, or at least was when he started. I read that he hired some freelancer in Canada to build the initial Digg site rather than having worked on it himself.

comment 15y ago · link · parent

php developer is an oxymoron

comment 15y ago · link · parent

Modularization is a good thing, not a bad thing. With a large project its better to think of it as a set of components rather than one whole. At my current job we are stuck with a large monolithic legacy application and everyone is in agreement to break it into modules, which we are currently working on. Try to pick out the core "units" of a project that can be relatively self contained and work on those first. You should learn not to worry about starting with the UI, the UI shouldn't necessarily drive a software development project.

comment 15y ago · link · parent

12-13 on some days - I work full-time and then spend a few hours working on an open source project. I don't intend to always do this but right now I have a reason I'm working on the open source project (Specific goal) so am doing it for now. When I first started I would literally spend 15 hours some days because I was trying to cram a lot of learning into a small period of time.

The personal project time is much more productive, the 8 hours of work, I guess, is questionable as to whether its "Writing code" as a lot is wasted wrangling with the legacy app I have to deal with, debugging old legacy code, etc but even though its writing less code I find it far more stressful than working on my own project where I am mainly writing code.

I don't advocate anyone work for an employer by spending more than 8 hours a day working unless you're being paid really well but when you work full time and want to get stuff done outside of work its inevitable that you have to spend extra time coding.

comment 15y ago · link · parent

It must depend on the company because the company I work at now has almost exclusively older programmers, I think I'm one of only 2 developers under 35 and most seem to be at least 40. I think the technologies used influence this, I work with Java and it seems they tend to people with more experience, if its a startup working with the next hot trendy dynamic language then, yeah, they probably aren't going to see a lot of value in hiring a dev with years of experience but I think this says more about the company than anything else as they value trendiness over solid software development practices.

comment 15y ago · link · parent

I work for a software company that is owned by a parent company from Canada (but the company I work for is in the US), I can say this doesn't surprise me, management from Canada seems to place a low priority on spending to keep things modern

comment 15y ago · link · parent

If you like outdoors and the beach, maybe drive over the mountains from Palo Alto to the beach and drive up to San Francisco, its an awesome drive in my opinion, then you can go check out SF. Actual Silicon Valley is a bit boring, in my opinion, I prefer SF to actually go and have fun for a day.

comment 15y ago · link · parent

Some people love Kaiser, others hate it, it seems you never find someone in the middle. I've never been a member of theirs myself so don't know first-hand.
1
101112
15