Better HN
topnewbestaskshowjobs
Log inSign up

icoder

669 karma · joined May 30, 2012 (14y ago) · 389 submissions

Submissions

comment 13y ago · link · parent

Wouldn't cleanup in an ARC setup be more (or just as much) dependent on de-allocations (or actually reference loss) than allocations, while in a GC environment a freeup (albeit less predictable and of higher impact) is mostly triggered by deallocation? At least that's what I understood from the article.

comment 13y ago · link · parent

I know these kind of strategies (get early engagement / validation) are promoted in this lean startup era but it leaves me a bit disappointed (and I think the more people use this strategy, the less accepted/effective it will become). But that is me and if it works for you and enough others, the democratic process of HN should prevail :)

I do like the idea, also because you plan to explore (in a fashion that does not require full serial 'consumption' of the book) various JavaScript toolboxes and libraries and even server-side stuff. I can't put any sensible price tag on it though.

Side note: in a 80/20 world, 10% finished would mean that roughly half of the draft is written ;)

comment 13y ago · link · parent

"two routers emitting roughly the same type of radiation as an ordinary mobile phone." Wait, what?

comment 13y ago · link · parent

Although I've seen all the 'bad examples' come by, on average I don't have much of a problem following ppt backed presentations, contrary, apparently, to others.

Nevertheless I think this is a great idea on itself. I've seen too many meetings where there was reading material but so few people read it that the talk actually focussed on them.

There's one issue though, and only experience will tell whether it is relevant. I for myself am fond of taking in knowledge via paper but the effectiveness of this highly depends on the moment I'm reading. Also I've noticed I find it harder to concentrate when I'm reading 'together in a group'. I feel a bit rushed by it. But perhaps that's just me or something that is easy to get used to.

comment 13y ago · link · parent

I'm thinking an API where you supply random seed nr, image size and optionally color and are returned an image. Useful for avatar creation :)

comment 13y ago · link · parent

Hm, my Galaxy SII isn't compatible with Google Chrome browser. Odd.

comment 13y ago · link · parent

Site's down. Perhaps you can put a teaser of what metamed is about in the comments so we have something to read/vote on while you get your site up again.

comment 13y ago · link · parent

This would go very well with Google Glass

comment 13y ago · link · parent

Focus, patience and meta learning.

Focus: don't try and learn about every topic

Patience: it seems you simply do not stick to one subject long enough to build some product you are proud of. Remember that learning takes time and practice.

Meta-learning: get an idea of how you learn the easiest. As you said there is tons of information. You'll have to figure out what helps you most: Real life courses? Practice? Video courses? Short tutorials? Books? Peer programming?

So, once you have your focus, decided to be patient and know how you learn the easiest, go and find out what is available on your topic of interest.

This depends per topic (for iOS, for example, there are loads of pretty useful videos available for registered developers). Often you can find nice lists of 'where to start', for instance on StackOverflow.

comment 13y ago · link · parent

Assuming you can code, you have internet access and you'll have some spare time. Especially in software, those three could make up for the lack of money!

VC backing is nice but not a bliss on all sides. In your situation, without VC funding, you'd keep your freedom, you'd not be distracted by money, you can't run out of money and your strongest asset can't go anywhere, cause that is yourself.

With respect to the latter, this means that it is wise to foster this one asset: improve your tech skills, market knowledge, business skills and your network (and networking skills). If you're someone dreaming of your company you'll find this fun to work on.

Having a fulltime job that helps you improve relevant skills is a plus, as is a job / boss where you could reduce working hours (and salary of course) in small steps.

There's a few ways to go from here. You could work per hour. The cool part is that this would enable you to free yourself from your daytime job bit by bit. The downside is that it requires work. As you describe it, this is limited in your area, but perhaps you should do a more in depth market analysis to be sure? Also, you could work for people remotely via the internet, there are many websites that bring work and workers together. Whether this can help you will depend a bit on what country you live in, and how your monthly wage is compared to that in other countries.

The other option is to bootstrap your own product. Read Tim Ferris' 4 hour workweek for inspiration. This depends on a good idea, a bit of luck, how you execute it and your patience. You can balance your webdesign skills a bit by using tools like 'Bootstrap'. Don't worry too much about this part if you are building your own product, look at Reddit, Amazon, Hackers News: the relation between use and looks is pretty noisy!

It is not impossible and bootstrapping has been preferred by many over VC money. Given your personal situation, you do need a lot of patience and put in a lot of time and effort. But as long as you learn from it, and enjoy it, it is all worth it.

Good luck!

comment 13y ago · link · parent

// This solution stores the reverse order in the nodes themselves. It's hacky so I like it :)

LinkedList.prototype.reverse = function () { var q;

  // Make doubly linked
  for (q = this.head; q; q = q.next ) {
    if ( q.next ) q.next.prev = q; else this.head = q;
  }

  // Reverse  
  for (q = this.head; q; q = q.prev ) {
    q.next = q.prev;
  }
  
  // Better clean up
  for (q = this.head; q; q = q.next ) {
    q.prev = undefined;
  }
};

http://jsbin.com/ugojoq/43/edit

[EDIT]

Ah, I didn't know, but it possible to reverse a singly linked list without remembering the entire list:

  var p = this.head, q, r;
  while ( p ) {
    r = q;
    q = p;
    p = p.next;
    q.next = r;
  }
  this.head = q;
(blatantly based on an answer found on StackOverflow).

http://jsbin.com/ugojoq/67/edit

TIL :) [/EDIT]

comment 13y ago · link · parent

I wonder if you say that SDK was a mess (implying it isn't so any longer), what minimum Android version do you target?

[edit] this was a sincere question. I can elaborate on it a bit more. Based on the previous submission I reasoned OP is behind the blogpost. If not, my question doesn't make sense.

Why this question? Recently I have the experience, for Android, that developing in a 4.1 world while supporting at least 3.2 is a tricky thing (and since there's quite some version fragmentation on Android, this supporting at least 3.2 is still more than reasonable). For instance, you should/want to use Fragments, but 3.2 doesn't know them. Compatibility library helps of course, but there's gaps in it and if these gaps pose a problem, you're bound to write it yourself or revert to using deprecated code (and not leveraging the 4.1 benefits there). So, no disasters there, but still tradeoffs to be made and I simply wondered what tradeoff was made here (or what part I have been overlooking, of course :). [/edit]

comment 13y ago · link · parent

Hoped for the silver advice to get rich, found a golden story and life lesson instead. Worth it.

comment 13y ago · link · parent

I think two things are getting mixed up here: 1) what Google does/wants (apparently, they don't want it anymore, which is the interesting part of the article) and 2) what the people perceive (Android vs iPhone). The article itself states it at the end, who knows iOS? Mostly geeks, I agree. But who knows Android? Everyone and their mom. Google is not simply going to null this, and I don't think they should either, but that is another story.

comment 13y ago · link · parent

How about a fishing net?

comment 13y ago · link · parent

I tried it (at http://www.typeform.com/try) and have to say the mix between enter / continue / scrolling and the arrows made it a pretty confusing experience. The partial washout helps a bit though. I wonder how intuitive filling out a form is for the 'non-tech-savy', often an important target audience.

comment 13y ago · link · parent

This stuff is science fiction at this point. Moreover, this article / video describes this scenario, when it ever becomes technically feasible, as if it would come without regulations, without (financial) restrictions and as if no counter measures would be invented in the mean time.

comment 13y ago · link · parent

I've played it for a short while, maybe I should pick it up again but somehow it didn't grasp me as I would have expected it to.

Perhaps the (in my city) low and very uneven distribution of portals has something to do with that. Perhaps it is because when all portals are occupied and you are level 1 (or 2 now) you can not really do much but gather some stuff by hacking them. If they're from the enemy, and they are well defended, you can't do much damage with your level 1 (or 2). It got boring fast. Or it was perhaps the speed at which it drained my battery. Also, winter came.

On the other hand, those were the early beta days. Things may have improved now. And they would have for me if I had had the time to team up with a group in a nearby city and join their adventure trips. This type of gameplay does have amazing and very novel aspects (imagine attacking a portal, someone defending / repairing it may stand around the corner), as is also depicted in the article. I do think there should be more games like this, and perhaps a little less Sci Fi ones, so they can become mainstream (90% of my friends would never play Ingress the way it is laid out, which may say something about my friends, or about the game, or both :).

comment 13y ago · link · parent

At first glance, it seems a single js file and an ogg file (for music) are added to the pag. The JS will work on the DOM from the sidelines (http://hsmaker.com/harlem-shake-script.js)

comment 13y ago · link · parent

I like the 'bottom' part, which clearly explains the product. I find the used (stock) images at the top distractive (too much detail to ignore, too much blur to discern, also they don't tell me much, do you really need them anyway?). Plus there's a lot of information on top of the image fader, some of which a bit harder to read.

If it's just me, please ignore this, I might not be your average visitor (although I am your audience having just started a 2-person company).

comment 13y ago · link · parent

This news is actually just out, the next phase has started: 8000 more glasses available, apply before feb 27th for a (albeit slim) chance to get one.

[edit: mistakenly wrote wrong month]

comment 13y ago · link · parent

You could see an HN AMA as one person chiming in on multiple discussions in a short time (which may be much more doable for them), this depends on the questions asked, of course. And that is something HN hopefully regulates by itself.

Just since the 'setup' is the same, it doesn't mean the results will be the same. HN as a whole vs Reddit is proof of this on itself, I would say.

comment 13y ago · link · parent

Very cool and batteries 2.0 would definitely change the world. But this vid is a bit one sided. To charge something in an instance means a lot of electricity has to run through the wire in a very short time.

Also, being able to quickly discharge might just be as much of a problem as it is a blessing. Imagine all stored power inside a electric cars capacitor system to discharge all at once..

comment 13y ago · link · parent

And that becomes clear from the article but leaves the title a bit off

comment 13y ago · link · parent

iirc the PHP explicitly states that these are not true random

comment 13y ago · link · parent

You can sift out some bugs already using the Android emulator (using various Android versions). Saves time and money :)

Also, don't forget about different browsers (on mobile phones).

comment 13y ago · link · parent

Iodine and IQ. I thought I had once again missed out on a bunch of new and innovative tools/languages/stacks.

But this was interesting nevertheless. In Holland, Iodine is added to bread (and many bread replacements), to ensure everyone gets enough of it.

comment 13y ago · link · parent

Very extensive bunch of information together. I would not call it a guide but it is certainly a valuable starting point and overview of existing libraries and techniques.

comment 13y ago · link · parent

I'm seeing 1.5 to 1.6 secs. Is that due to my crappy internet connection or is that simply what it is?

Because 1.5 secs per request, and more for somewhat more complex operations, seems long to me. As instance startup time it is impressive though! But they are designed to die after each request, right? Or is that just this example?

1
910111213