393 karma · joined Jul 1, 2010 (16y ago) · 186 submissions
comment 15y ago · link · parent
So, its not even news. Unless, I suppose, the reader learned javascript in 2001 and feels they don't need to keep up on new things. That's the HN crowd is it?
Fuck, I've been learning javascript for a week and I know how to do this.
comment 15y ago · link · parent
There are also areas where the Java VM totally sucks, frankly. How is it that we only have decent IO after more than 10 years? Sun and now Oracle hold the Java community hostage with the VM and runtime. Time to move on.
comment 15y ago · link · parent
comment 15y ago · link · parent
http://mindstalk.net/vinge/vinge-sing.html
I think Vinge explains it better than Kurzweil.
comment 15y ago · link · parent
My advice, then, if you are up for it, is to imagine what would light you up at this company. What would get you excited about it again? Figure that out, and do it. If you really are that good, then have faith in yourself. Give yourself a shot. Give your partners a shot. And if it doesnt work, quit. Unless this company is curing cancer its just not that important.
PS What amazes me about toxic environments is not the number of toxic assholes (actually quite small), but that most everyone else chooses to be enablers for these people.
PPS I did go on meds, but as another poster says here, it can take a while to find the right one - one can make you wired, another lethargic. The best thing to do is exercise and eat right; but the meds can help you get started (IMHO).
comment 15y ago · link · parent
IBM has it wrong too then. In each of the examples provided, they dont "make the variable in the calling frame actually point to an entirely new object"
What actually happens is that the object (or value) that is pointed to by the reference is changed. Specifically, if you took the addresses of a and b before the call, and then after the call, you would see that the addresses have not changed. It is the contents that have changed. This is what happens it C++ in all cases. The only difference between C++ and Java is that Java is always pass by reference for objects and always pass by value for primitives.
Pass-by-reference does not mean "I can change the variable in the caller to now point to a new object". It means, if I modify the properties of the parameter, it is modifying the same object that the variable references. In contrast, if you do this in C++:
class Foo; void bar( Foo x ) { x.value++; } void main() { Foo y(0); bar(y); }
You will discover that y's value remains 0. That is pass by value.
class Foo; void bar( Foo &x ) { x.value++; } void main() { Foo y(0); bar(y); }
This is pass by reference. y.value is now 1. So now if this is Java:
class Foo; void bar( Foo x ) { x.value++; } void main() { Foo y(0); bar(y); }
Then y.value is now 1 - just like the pass-by-reference case in C++. So either IBM has it wrong, or you have it wrong.
comment 15y ago · link · parent
http://www.theprotectornetwork.com/
http://evolve108.com/#/section=home
For comparison, here are some websites put together by companies that ycombinator has funded, and which, I believe, are html/javascript without the middleman.
comment 15y ago · link · parent
class Foo; void modify( Foo& x) { x.setBar(1);} ; <- pass by reference in C++.
class Foo; void modify( Foo x) { x.setBar(1);} ; <- pass by reference in Java.
Java spares you the & because Java only passes by reference.
Again, to argue the contrary, simply because it passes an object pointer by value, automatically, is to argue that C++ never passes by reference because it too takes the address automatically.
The fact is that Java passes by reference exactly as C++ does. However, even if this were not the case, it would also be completely acceptable for Java to refer to what it does as pass by reference simply because it chooses too. These things are object references. If I pass a java object reference, is it acceptable to say I'm passing by reference? If Java people want to say it is, then it is. Will the world end, for example, because the word "heap" means two different things in computer science? http://en.wikipedia.org/wiki/Heap OMG! Who is right?
My point is basically summed up here: http://xkcd.com/435/
You are where the physicist is standing. You insist that Java biologists are using your terms wrong while oblivious to the mathematician. You have your abstractions. Java has theirs.
Of course, maybe you're the chemist, and I'm the physicist (I still write assembly) and the hardware guys are the mathematicians. Whatever.
As for the insulting tone, yes its a character flaw. When someone makes a statement like "I'm really tired of hearing folks (incorrectly) state [whatever]", its insulting. Its especially insulting when its wrong. In an ideal world I'd be able to respond without resorting to responding in kind, but I'm flawed. Sorry. You're still wrong.
comment 15y ago · link · parent
The fact that various companies have sprung up that can take a language and generate javascript from it doesn't make javascript comparable to assembly.
Normally one takes a high level language and compiles it to a lower level language. However, it is not the case that simply compiling one language into another automatically dictates that one is higher than the other. In this case, it is done because javascript is the only language available, and some people don't want to learn it. I suspect that most people are put off learning javascript because the first time they tried it it was a PITA. Especially, it didnt do the same thing in IE as it did in Chrome. So people wrote frameworks like GWT and NOLOH so they could use languages that were familiar to them. I understand why: its easier to solve one unknown at a time. Presented with two problems: a) I don't know javascript and b) browsers are shitty, people decided to tackle problem (b) and ignore problem (a) by writing libraries in their familiar language. Ironically they probably now know more about javascript than anyone else.
I'm opting to deal with problem (a) and solve problem (b) by using jQuery. YMMV.
As for the advantages of something like NOLOH, yes, sure there are many advantages to using what is essentially big enough to be called middleware. However I suggest that the advantages initially presented by its ease of use will be quickly outweighed by all the things it can't do, or that it demands you do "its way". Perhaps NOLOH is the worlds first middleware that doesnt have this problem, or perhaps its the 2010 version of MFC. The problem is, by the time you find out its the latter, its too late. The risk of that discovery is greater than the learning curve of javascript and modern frameworks. Unlike assembly language.
comment 15y ago · link · parent
However, times have changed. The kind of games i'm interested in are ubiquitous in nature. I want to interact with it on the console, the iPhone, the PC, and on the web. I want to write tools that are cross platform. The browser is the ultimate cross platform.
comment 15y ago · link · parent
comment 15y ago · link · parent
comment 15y ago · link · parent
comment 15y ago · link · parent
You must bear in mind that this is open source. Oracle does not own this. It doesn't appear to be aware of this.
comment 15y ago · link · parent
There are several licenses written that say "you may not use our name to promote your version of the software" or something like that. MIT is not one of them.
Oracle is welcome to fork it and give it a tougher license. Dont expect it will see many commits after that tho.
comment 15y ago · link · parent
comment 15y ago · link · parent
You've hit the nail on the head with regard to my complaint.
comment 15y ago · link · parent
>package hudson;
You might own the trademark Oracle, but you just licensed the use of it to everyone.
comment 16y ago · link · parent
http://code.google.com/p/memcached/wiki/FAQ#What_is_the_maxi...
comment 16y ago · link · parent
3. Third-party apps that are exclusive to Android.
And followed it up with this:
"At this point, I’m guessing, Android fans are ready to exclaim that the fact that Android supports things like home screen replacements (or other system-level tools, such as touchscreen keyboard replacements) — and that iOS does not — is precisely why they prefer Android, and/or consider iOS to be an unacceptable toy, or what have you. But, again, that’s not the argument I’m making. I’m talking about third-party developer exclusives — and the only ones Android has are ones that Apple doesn’t want."
And yet you provided:
4 system enhancements (keyboard, media player, homescreen, email labeller)
4 apps available on the iOS
1 possibly genuinely killer app, but that falls into the geeky automation category