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

I agree that coding is generally not "taught" in lectures or recitations, but, like the article says, we learn from other people -- other people's code, their comments on our code, etc. In fact, I feel like that may be the only way to learn how to write good code and isn't something that can easily be self-taught.

Working with and learning from other people is way more effective (than just writing code) in figuring out how to identify good and bad code. And I think formal CS education usually gives people the right tools (like algos, design patterns, data structures, etc.) to understand and work with others.


link to "copy factory": http://shanzhaioff.com/



Thanks for the link. The first thing I notice is that while the icons visually are similar, they are of two different sizes.

Indeed, the favicon.ico from the "ripoff" site is 32x32 vs the "original" which is 16x16. Further, the larger image shows more detail in the gradients and edges than does the smaller. When I resize the larger to 16x16 pixels, it looks similar but still features slightly different colors than the "original".

Finally, when I resize the "original" 16x16 up to 32x32, it lacks the pixel clarity of the "ripoff". It seems obvious that the "ripoff" icon wasn't made from the "original" as is being claimed.


I don't think the claim was that the 'ripoff' icon was literally copied from the original, just that the concept for the site - right down to the concept for the favicon - were copied.

But I salute your sleuthing, none-the-less.


I hope there isn't a flash app on Facebook that is using just that to decide whether to show an employee/admin interface.. Will be quite easy to spoof the result of that page if it is client-side.


The main goal of the web app is to have a shell-like environment with files in the cloud as the "file system" (currently only Dropbox, may add Google Docs later), so we can write scripts that interact with these files easily.

Please leave any comment/suggestions.

p.s. it only accepts javascript syntax right now. Writing a more shell-like parser is a potential TODO.


It probably doesn't even need to be "good" code. Just study any code and think about why it is written that way, and what circumstances makes it good.

Any correctly written code can probably be considered good. The rest is about how well it is designed and how it performs in different situations.


I think he meant the business-oriented marketplace: http://google.com/enterprise/marketplace/


Alternatively, perhaps we can let users select (follow) a set of like-minded people and make the up-votes of the people they pick weigh more on a "customized" front page.

But then people may have not like having their up-votes be so transparent..


Done! As a bonus, you can now dynamically change the parameters while it is drawing.


Yep.. Apparently calling jquery ui's disable method doesn't disable the handler -- guess I should've read the docs...

Anyway, thanks for pointing it out. I will try to fix it when I get home. Before then, have fun with the "interesting effects". =)


How did you generate the "var levelX" arrays?


I would love to say that I made a very sophisticated automated tool for this.. but it was mostly just me hacking a simple script that lets me manually select coordinates and preview the lines; while console.log()ing the coordinates and copy-and-pasting into the arrays.

The "borders" for each layer are easier -- all the coordinates come from the SVG, after translating and scaling.



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

Search: