skysight-inc/HackerNews huggingface dataset:
{In Pascal Language+Assembly}
{$ASMMODE INTEL}
function equi (A : Array of longint; n : longint ) : longint;
var c:Longint;
label noOverflow1;
label noOverflow2;
label ciclo;
label fine;
label Over;
label tot;
Begin
Asm
DEC n
JS over
XOR ECX, ECX {Somma1}
XOR EDI, EDI {Somma2}
XOR EAX, EAX
MOV c, EDI
MOV ESI, n
tot:
MOV EDX, A
MOV EDX, [EDX+ESI*4]
PUSH EDX
ADD ECX, EDX
JNO nooverflow1
ADD c, ECX
nooverflow1:
DEC ESI
JNS tot;
SUB ECX, c
SUB EDI, c
ciclo:
POP EDX
SUB ECX, EDX
CMP ECX, EDI
JE fine
ADD EDI, EDX
JNO nooverflow2
DEC EDI
nooverflow2:
CMP EAX, n
JA over
INC EAX
JMP ciclo
over:
MOV EAX, -1
fine:
end;
End;
I'd comment on the blog if I didn't have to login.

Wins prize for most naive rant this week. There are a lot better reasons to hate on java, but speed really isn't one in 2010.

I'd love to see the rewrite of one of the apps he's complaining about in C and blog post about that.

--omg-optimized
Ask HN: I will work for free ...
I am willing to work for free on interesting project until you find me useful and decide to pay for my work (hope this will occur within few months).

My current location is bangalore and I'm a senior developer (10+ yrs exp.) working for Top notch software consulting company.

Very interested in mobile technologies. Love to work on
iPhone or Android applications

Profile:
* C#, Java, Ruby, Rails
* Silverlight, AJAX
* Windows, Mac, HPUX
* Oracle, MySQL, SQL Server, SQL, database schema design.
* Subversion, Git, ClearCase
* Knowledge of object oriented design concepts and design patterns.
* Proficiency with n/jUnit, n/jmock, ASP.NET framework, and CruiseControl.NET.
* XP, TDD, Continuous Integration
Ali Farokhmanesh | Latest News Trends
I think it comes down to how you value what other people do. I value certain musicians and actually enjoy paying for what they do. It's not enough for me to say I like them. I feel it's only fair to spend money some money to reward what they've done for me.

I don't think it takes talent to make music. It takes talent to make good music. Talent is something I believe in rewarding.
I guess this means if I want to not break the law I have to buy another, heavier os to VM for testing. Do I really have to buy win7 or vista just to test another substandard browser? (Screams at ms, shakes angry fists towards the heavens.)
I second point 2, it just seemed weird. As well it wasn't very pronounced (ie it was on top of the list, but maybe it was just sorted funny? Didn't feel like I came to the page to see that).

Definitely agree on using a single profile page.
So, if you are going to refer to Godel's theorem, its best to explain your point. Godel's theorem is on of the most poorly understood popular ideas in mathematics and its easy to trip over (for you or the reader).

I'm going to try to guess what you mean. You are trying to say that since a computer is essentially a formal system and humans are something more, we can't replace human mathematicians with computers to do the work because they won't be able to come up with new ideas outside a fixed problem space?

In any event, I think you are misunderstanding @ihodes's question. The question is not "can we replace mathematicians with computers" but is more about the practice of mathematics. I.e., @ihodes is asking if the mental activity of experimenting and doing computations is conceptually similar to doing proofs.
It doesn't 'feel' well, I agree.

We will put some kind of profile page later on, for the mean time I'm just going to redirect to the website directly, it's just more clear.

Thanks!
There was a pretty good comparison between the main ones mentioned here some time back. Worth checking into.

http://news.ycombinator.com/item?id=975301
You're right I wouldn't log in using my FB account, but at least this would reduce the number of cocks.
As iskander put somewhat less eloquently: what you say does not make any sense. Godel's incompleteness theorem places a theoretical limit on the completeness of (non-trivial) formal mathematical systems. 'Computations' take place within such formal systems and are, by definition, math. Both are subject to the consequences of Godel's theorems and you can't distinguish between them based on those theorems.
Which is why traffic has stopped on the linux kernel mailing list, despite being long time users of git? Nope. All serious open source projects have some sort of discussion area. Even github lets you comment on commits, but that's not quite as convenient to read for most people as a publicly visible mailing list/forum/whatever.

Git is a nice tool, but you can't take things to extremes. It is not a substitute for actual discussion. What happens when the patch is 'pretty good', but not quite right and both people are willing to work on it? It just gets discussed in commit messages? No, it goes to a mailing list, especially when it's a larger project with many interested parties. This is pretty elementary open source stuff:-/

Where you're completely correct is that git and github make it easier to contribute 'at the margins'. In the sense that what once may have simply lain idle on one's own hard drive is easier to simply throw at some project in the hopes that they can do something useful with it.
Or just get your storage to do it transparently. Every vendor has something like this these days http://www.emc.com/products/detail/software/srdf.htm
The down vote isn't visible now, if that's what you're wondering.

I came into the thread just after it had started and the only comment was ihodes. I thought it was interesting in that after reading the article I shared some of the same thoughts but at this point that single comment was down voted and with zero as the score.

I up voted it back to one and ihodes had already replied asking why it was down voted.

So there's no visible history and he's not seeing down votes, just the final score. It's just that the first vote was a down and he responded to that.

He has a fair question though on down vote policy. It's very hard to see why it should've been down voted.

My policy is to up vote everything worthy of up voting but to only ever down vote the really irrelevant, off topic and rude posts. Others do seem to down vote really random things.

Maybe people should be asked for a reason when they down vote so that they stop and think about it for a moment.
The confusion of the first years of the Fedora Project (an IRC dialogue)
I agree, I just don't think tough love over the internet is really going to change his attitude. He knows he was a bad employee, and it wasn't as if he wrote his post bragging about how much slacking off he got away with before, how dumb his bosses are, etc.
Fell at the first hurdle.

I don't have a facebook account. I am allergic to facebook and can't have an account on medical grounds (I get a rash and a great deal of irritation).

Sort out the login and I'll take a look.
"Robot Warz" already exists, I seem to remember.
Does it really matter what you call it?

At the university I attended, the Computer Science program shifted from the Engineering department to the Science & Mathematics department during the course of my studies. Incoming freshmen were still handed copies of SICP and Introduction to Algorithms at the door.
well - I just did it, but just because you were threatening :)

It would be good to get the twitter kingapi name, but no luck so far!
Well no actually! I didn't know about this one. Thanks for the link!
If you take for granted that executing a 'hard' task (why do we deem it 'hard'?) gives you a stronger sense of entitlement, then you can explain the result away. The question you are thn overlooking is: why do they feel a stronger sense of entitlement? If that is because our capacity for self-control is exhausted, then the explanation in the article holds, only the consequence of the exhausted self-control has shifted one step up in the chain of cause and effect.

The fact that you imagine this task being 'hard' indicates that you are aware of the mental exhaustion the task will cause. It's actually the exact same explanation given in the article, only you overlook it, because the 'hardness' of the task seems so obvious that you forget to ask why it is 'hard'.

From a classic play by Moliere: Why do sleeping pills make you sleepy? Because they have sleep-inducing qualities!
Reminds me of a Dutch proverb: "He who thinks in quarters will never be a millionaire."
Ioke - strongly typed, dynamic, homoiconic, prototype-based JVM language
Terence Parr (the author) is "the maniac behind ANTLR": http://www.antlr.org/
Note that pure Einsteinian General Relativity does not conserve energy -- even without a cosmological constant. Sometimes people fake it using tortuous analogies that only hold if their spacetimes are nearly flat, but it fails to hold in the presence of curvature.

The first link on Google for the relevant keywords is http://www.phys.ncku.edu.tw/mirrors/physicsfaq/Relativity/GR..., which lays it out nicely.
with an autoincrement id, duplicate rows may get inserted. having a primary key derived from the data results in duplicate rows getting discarded (this is important).

secondly, the autoincrement id adds 4 bytes to each row which are never used for anything. only use an id if you need to reference a row from another table.
Get involved in Open Source. Contribute, it is a fantastic way to show that you can read other people's code, and collaborate with them.
The key words to understand the author are buried in there: "As a sysadmin".

For sysadmins, the time saved in development means nothing, while every additional machine (and especially the infrastructure to run them as a cluster) means more work.

Still, shouldn't even a sysadmin appreciate the increased reliability and especially security that modern languages bring?
Personally I think ActiveRecord is the weak link in Rails (2.x ... I see they are doing some fixing in 3.0).

Coming from Hibernate and such, it may seem like a breath of fresh air, but the result of a find ain't lazy, the query language sucks making you drop to SQL even for sub-selects, and the model definitions look weird ... inferring the columns from the DB schema is the wrong approach IMHO (they should take a look at Django sometimes).
The Role of Online Universities
that's one enormous generalization.
The vast majority of college degree programs don't teach the core skills necessary for success in the field, regardless of naming, but that's a different problem.

Nevertheless, naming has a powerful influence on understanding. If people think that software development is a science, they'll treat it that way, similarly, how they treat it will change if they think it's an engineering discipline or an artistic effort.

I've come around to the idea that software development is partly engineering and partly creative, much like architecture. Treating it like a science is the surest recipe for failure, as you'll be lucky if you ship anything worthwhile on schedule. Treating it like engineering will result in a much higher rate of success, with higher quality, and greater scheduling certainty, but will frequently result in mediocrity and developer dissatisfaction. Treating it like pure art sans engineering will probably result in lower quality, and unpredictable scheduling. But giving proper respect to the importance of both sound engineering and creativity seems like the sweet spot to me.
Oh, the Daily Mail. Just so you know, the DM is known here as a hysterical paper - not hysterical haha, but hysterical panic-mongering arm-flapping. Does it not realise that it's drawn the attention of millions more readers and bloggers/HNers to this? I imagine their journalist went to Hereford and asked the leading question... "How angry and furious are you that Goggle have exposed our hero SAS' secret base so that those evil refugee terrorists can terrorise you, Sir?"

And their readers are no smarter:

"...The little close where I live, has my carport with motorcycle (reg number displayed) and 1000 pounds worth of mountain bikes, illustrated for all to see! Thanks to Google...."
- Ian Woolger, Budleigh Salterton
If you click through and read the comments this seems to have pissed off a whole bunch of folk (for reasons that are still not obvious to me) from all across the net.
When your project's size warrants it, you can switch from pull requests to an off-site mailing list. But most projects never get there, and so pull requests are quite useful for the long tail.

I remember back in the sourceforge day, most projects died before they ever got a mailing list, CVS account, web page, wiki, bug tracker, ..., all setup. Now, reasonable defaults are provided for you, and you can focus on writing the code. Once your project has a bunch of contributers that are all working on time-consuming projects... then you can invest some time in moving away from the defaults. But if you project is like most and has 3 users, you won't have to waste your time.
Having a working product with positive customer feedback is no Kevin Costner Hollywood gimmick; it takes tons of hard work. 'If you build a good product that can attract users, you'll have an easier job of convincing potential employers of your usefulness' is the only point I'm trying to get across. Do you disagree with that notion?

I'm perplexed and somewhat disturbed by what I interpret as an assertion that creating a successful product indicates a lack of software development skills. Am I misunderstanding you?
China state media accuses Google of political agenda
Another factor: Many software projects are research projects, i.e. new technology development, because they try to do something new, whether on a technical level or on a user interface development level.

It is fairly common for new technology development to cost vast sums of money while yielding nothing practical. Importantly, when developing new technologies, people understand that something may or may not come out of it, and they accept that (somewhat).

The other factors are definitely an issue too, though:

- Lack of physicality of the output

- Increased likelihood of unintended interactions between components

- Clients changing their mind halfway through (!)
Otherwise, the design seems OK. Maybe you could emulating the mechanics inside FML(www.fmylife.com), and yes, you really need to pre-populate the site.
Porsche Rims
Buy Porsche car rims and luxury Porsche car parts online at discounted prices. We sell Porsche Boxster, Panamera, Cayenne car model accessories like rims, wheels, headlights and many more.
Reference counting can also become extremely complex (and error prone) in a multi-threaded environment.
No, it's just another case of RDBMS blinding people for all other possible solutions.
View entire Google buzzes,comments & RSS feeds,by entering google user profile
What about PHP? I have something you will like, but initially, the project is PHP based.
Not going to login with my FB account..
Zynga Was PayPal’s Second-Largest Merchant in 2009
I don't think this is a good approach.

As an employer, I wouldn't want to invest the time in getting someone up to speed with my systems if they have no "lock-in" that means they'll stay with me until they've paid off for that initial ramp-up period (which would cost me time). I particularly wouldn't want to do so for someone who already has a job at a software company - I'd clearly be a distant second (if not third or fourth) priority in that person's life.

Next, about the profile - I suggest you pick a narrow specialty that you really want to work on (e.g. Ruby on Rails), and focus on that. I don't think many people, particularly start-ups, are interested in hiring a "C#, Java, RoR, Silverlight, Ajax" guy. That long list makes you look unfocused and implies that you probably suck at a lot of technologies rather than being very good at a few.

My suggestion to you would be: pick one technology with a thriving OS community (e.g. RoR), and contribute open-source software. That's one way to work for free that will greatly enhance your value to potential employers. Start a blog, talk about your experiences with Rails, promote your open-source projects, etc. You'll soon find paid work coming your way.
Your 10 years is a waste of career, if you agree to work free of time, also its a waste, if you offering for the price of a soda
what about PHP?
[Hope this doesn't sound too harsh.]

I few months back, we were hiring and Put up an ad on Monster. One of my reject criteria was "having more than 3 unconnected technologies". Even with >10 yrs exp, listing all the technologies you might be connected with doesnt look nice at all.

Also no matter how desparate I am I would never,

"I am willing to work for free on interesting projects", as that just leads to wrong people and wrong expectations, who dont value your work or time.

Also if you want this ad to be effective, a newly created account with no credentials like a Github account, a blog or your site doesnt help.
Any random nitwit could have downvoted you; I don't think you should comment on that, unless you get multiple downvotes over at least 5 hours of time.
I am graded on a points system already. I earn points and they are scaled due to how well I do on a given quiz, test or project. These points are then translated to a letter grade and curved. So there really isn't much of a difference.
Looks pretty good. However, I suspect your real challenge will be keeping the signal to noise ratio high.
If you are looking to work full time at a startup a number of Indian startup blogs have job sections

pluggd.in
venturewoods.org

You might meet some interesting people at Bangalore's Barcamp and Startup Saturday.

Proto.in has a forum which has frequent job postings.

The web links for these are googlable, but I am too lazy to do this right now.
having more than 3 unconnected technologies

What do you consider 'unconnected'?

that just leads to wrong people and wrong expectations,
who dont value your work or time.

QFT
Add them to a grid, so others can use them when you don't need them? Seti@home, but where you get paid for your cycles?
PS. If you want to work on current stuff (which is where the interesting projects are at now), learn RHEL. Know kickstart, how to build RPMs, write initscripts, understand what every field in top means, know /proc and /sys and sysctl tuning, understand DM multipath, and maybe Satellite server and SystemTap (people tend to be impressed with SystemTap, but it's not that hard). You can pick up CentOS for free to learn on too.
I do not see a way to contact you.. My email id is in my profile. Ping me and we can check it out.
Update: I'm earning 440 USD a month. It's a slightly average pay here in my country I live in. I'm not in the U.S.

It is currently Sunday here, and I posted the web application today on Facebook, and not during work, but my boss just notice it and felt paranoid.
C#, Java, Rail -> Why all three, eaither is a substitute of other.
MS-SQL, Oracle, Mysql -> Ditto above.

My point being that if you list all of them you probaly do not know any of these at the level I want/require.
In many cases macro-optimization trumps micro-optimization. C/C++ might be closer to the metal and in extremely simple applications incrementally (or perhaps significantly) faster, but if the difficulty of using C for web app development results in an extremely sub-optimal solution then you'd have been better off with a more advanced language like Ruby or even Java.

Moreover, the long pole in almost every web application of any significance today is the database. Whether you're using C++ or PHP is irrelevant if just waiting on a SQL statement to execute dominates the performance of your app by an order of magnitude or more.

Additionally, there's frequently a lot of room for optimization in any web app. Techniques like CSS spriting, serving static content from a cookie-less domain, and aggressive caching can make far more of a difference to overall performance than choice of language.

Finally, throwing hardware at the problem almost always makes sense as long as you can get away with it. A $1500 server is roughly equivalent to the cost of a single day of development for a talented team of only 4 devs (keep in mind that the cost of employing developers includes not just their base salary but also other costs like administration, 401k matching, health insurance, payroll taxes, etc, which nearly doubles the nominal per hour cost). Until you're perhaps $20-50k in the hole it probably doesn't make sense to consider putting serious effort into re-engineering your software from the ground up for scalability.
I believe he wants to know if the poster knows php as he didn't list it on the post.
I had a go at something similar a while back for making numbers look 'nicer'. It's useful for when you have code that calculates a number, but you want to make it more marketing friendly.

http://github.com/dhotson/fudge
Send an email to HaltingState@gmail.com

I have a friend who is working on some awesome iphone games and could use someone with experience with OOP design patterns. He would be willing to split revenue generated by the applications. Right now he is doing Objective-C development for the iphone (easy to pick up).

The android platform is going to be a huge opportunity in a few years, but the iphone is still the largest app store market, so that is what he has been concentrating on. Mobile development is an awesome opportunity and a very good area to develop experience in.
lol. You aren't going to get fired.

How you handle a situation like this:
-Give them a date for when the report will come in. Try to focus these guys on the current solution not the situation.

So, maybe something like
"Sorry, I didn't know you were expecting a report from me, but I am willing to provide you a report in 2 days".

If you didn't do anything that is worth reporting, say so. :D

Here again focus them on the solution, say when you will get the scripts done. If possible show them the monetary benefits of you being delayed. :D

Benefits:
1) You are an artist - the delay has helped you to recharge your batteries so you can program effectively. You might want to cite some research papers here.

2) You were using this time to show your juniors the ropes and you were bring them up to speed. Which means the company will not only be fighting with one heavyweight, but also two in the future. You might want to outline the monetary advantages of having more people of your caliber.

Then you need to iterate this to them that you will get them the software by such and such a time. Don't ask, tell.

Also, what I think you should be doing for the future is maintaining constant communication with the upper level. They will tend to think you aren't doing anything if you don't say. Try to send an email a day to them informing them of the project, don't do this verbal; do it by email.
It will also help for you own motivation. See goal setting theory :http://en.wikipedia.org/wiki/Goal-setting_theory
What if they used C# for a desktop app, Java for a mobile app and Rails for a webapp?

In my own case, I guess having experience with PHP, Perl, Python and Ruby is the ultimate fail, because they all solve the same problems and are very similar to boot. Interesting way to look at it! What percentage of HN's audience did you just fail?
Perhaps a rough difference between a game and a 'struggle' (for want of a better word) are the stakes involved. Being broke and finding housing for your family is not a game many of us would like to get involved in. Maybe more things now appear to be like games because losing doesn't matter as much.
LOL no thanks
Algorithms are science and math. Programming is a craft. Programming in teams is communication and human relations. Making software that's easy and fun to use is psychology and arts. Selling that software is business and marketing.

It's the mix of all this that makes software development so challenging and fun.
I don't even have a FB account