HNHacker News
TopNewBestAskShowJobs

photon_off

1,539 karma · joined April 24, 2010

submissionscomments
photon_off··on Puzzle HN: 100 prisoners, 100 boxes...
Correct, and after each prisoner goes, the boxes are restored to their original state.
photon_off··on Puzzle HN: 100 prisoners, 100 boxes...
The boxes' states are restored after each prisoner leaves the room, so there's no way to sort them. The ideal solution would actually work even if the order of the boxes was shuffled each time.
photon_off··on Puzzle HN: 100 prisoners, 100 boxes...
I know this one too, and I'm pretty sure a set of problems containing this one was posted on hn a long while back. I suggest using the constraints of the problem to your advantage. There's only a limited number of ways one could choose boxes to open, and there's a limited amount of information to work with.

Here's a hint: If the prisoners cannot communicate after deciding on the strategy, is it possible there's any benefit of prisoners performing different strategies?

Beyond that, try to consider the different ways to select 50 boxes. They are randomized, so picking any 50 boxes at once will give you a 50% success rate, which with 100 ppl is unacceptably low. What other ways are there to select boxes? Are there any ways to pick boxes using information that's given?

photon_off··on Puzzle HN: 100 prisoners, 100 boxes...
I see what you mean. Prisoner 1 could memorize all of the names and just tell the next one if he's in the front or back 50.

The catch is: once the prisoners decide on a strategy, they are not permitted to communicate anymore.

photon_off··on Why doesn't this code simply return a to z as the output?
There are two things to know. 'aa' < 'z' , which I think is expected. And 'z'+1 == 'aa', which is debatable, but not far-fetched.

As far language blunders go, I don't see this as unforgivable, especially since it only appears when you're treating a string as an integer (a dumb idea, anyway) from within the for construct.

photon_off··on 42 feet per gallon
That sounds like an impossibly huge fireball for a rocket. IIRC even nukes don't create fireballs that large. Maybe I'm underestimating the amount of energy in a rocket.

My guess is that the main threat would be an off course rocket, or debris from an explosion, and that the probability of damage is acceptably low 3 miles away.

photon_off··on Just buy this one
While you're at it, you might want to consider having the ReeVoo logo on the bottom left link to ReeVoo.com.
photon_off··on Why doesn't this code simply return a to z as the output?
Please explain: what makes this choice "correct?" Is it because it's your personal preference?

Different languages have different features. I've been coding PHP for years, and I've never encountered this feature before. I suspect that's true because I don't usually treat strings like integers. However, now that I know it's possible, I might actually use it to generate random strings or do something useful. I don't see it as something that is incorrect, I see it as how the language is implemented.

photon_off··on Why doesn't this code simply return a to z as the output?
Perl does this, too. And is it really that unexpected? How many possible things could 'z'+1 return? The only possibilities that make sense to me are "{", "aa", or an error. I like PHP because it's flexible, and this often makes life easier. If you're really going to try to use strings as integers, then you deserve what's coming to you. If you're going to use this behavior as a feature, then you've just saved yourself a chunk of time.
photon_off··on Groceries: which lane is the fastest?
It's always the fastest, but whether or not it's the fairest depends on how you define "fair." The simplest example I can use to illustrate this is the case where there is 1 server, and 2 people. One person will take 60 minutes to process, and the other, 1 minute. The 60 minute person gets in line a millisecond before the 1 minute person. Is it fair for the person who will take 1 minute to wait for the slow 60 minute guy?

If you define fairness as the average user-wait, I think fastest first is actually optimal. This is still the case with one-queue systems: If you let the 10-minute person go first, you'll have blocked 1/10th of throughput for everyone behind him, and thus increase their wait time. Fastest job first is generally not a bad way to handle queues; it works great for things where "jobs completed per unit of time" is of importance, like chores or fixing bugs (of equal or similar priority).

Besides average user-wait, you could start inventing your own units for fairness depending on the problem. Maybe its average user-wait per processing minute, or something like that, in which case the solution might be more complicated (or might not be, I'm not too concerned with it).

photon_off··on Ask HN: Searching for jobs sucks.
I would pay up to $100 for a website that had me take tests to prove that I'm not a crappy developer, and that had a reputation for uniting programming talent with awesome companies. I really wish something like this would exist, as I'm getting quite bored answering the sometimes-almost-insulting screening questions, and I'm absolutely certain companies are bored with asking them.

As per your offer, I probably wouldn't pay because I don't believe it's possible to offer such a service, without it missing some jobs I might really want, or without it not working. Some examples:

* Some jobs are exclusive to recruiters, and the only way to apply to them is through that agency.

* Duplicate jobs which have different descriptions. How could you handle that without making me think or do work?

* I don't believe you could offer better and/or wider reaching results than Indeed.com or other job search engines whose sole purpose is to find job postings.

* The job search market is already so full of middle-men that I don't trust half the posts and prefer applying to companies with job postings on their website, and via direct e-mail. In other words, you'd have to do a heck of a lot to earn my trust.

photon_off··on Y Combinator Applicant Video Collection
I didn't apply this time around, for several reasons which aren't really important. Otherwise, I'd have definitely included it... you know, to show others how it's done.
photon_off··on Researcher calls the human brain freakishly efficient as a computer
Here's the freakishly quote: "...Garry Kasparov's brain is freakishly efficient, it's running on about 23 watts while Deep Blue doesn't know how to use energy that efficiently. So, one of the problems that biological computers have solved is how to take in energy and turn it almost into, magically, freakishly efficient computation."

The analogy should work both ways, though. I'm pretty sure Kasparov couldn't add 100 billion numbers together inside of a second, either. Nor is there any amortization of the cost of his currently 23-watt brain; how about the energy expended during years of development of his brain, whereas the computer could be produced with relatively low energy cost?

It should be of no surprise that humans are efficient at calculating things of survival importance, like emotion, decisions, etc. Over the span of billions of years, across tens of millions of square kilometers, under an algorithm where failure means permanent termination, our brains have evolved out of necessity to be that efficient. To me, it is far more freakish how efficient computers are at doing what they do. In under a second, billions of computations can occur in my several year old machine, all in some exact order, and without error. With that in mind, it's even more freakish that it often takes so much time to open Firefox.

photon_off··on Y Combinator Applicant Video Collection
It was really an eye-opening experience to go through a big list of these videos. Thank you to everyone who has participated. It definitely gives me a new perspective. I once thought it inconsiderate that YC didn't even click the demo link in my application, but now it's obvious that it's a necessary evil in sifting through so much of this.

One thing that stood out to me was how late all the videos were in the application process. About 75% of the videos were submitted within 48 hours of the deadline. It seems that submitting just a week earlier than the deadline would gain a huge advantage in terms of how much time the YC folks are able to commit to your application.

If I had to sift through this many videos in a short amount of time, I wouldn't even finish most of them. Whereas, if I received a video for the first time in a few days, I'd probably watch the whole thing regardless, and even try out the demo.

photon_off··on Ask HN: Searching for jobs sucks.
This is a really stellar example, and I'll definitely use this as inspiration. Thanks for sharing it.
photon_off··on Ask HN: Searching for jobs sucks.
Great advice. Also great: "One time I found an olive underneath the couch and Jeff was like, "Dude! That's disgusting!". He shamed me into not eating that olive and he might have possibly saved my life."
photon_off··on Ask HN: Searching for jobs sucks.
You don't sound like a wanker at all! That's all sound advice you've given.

The problem is that I'm very good at building things, but not so good at branding/marketing/selling them. It's my job to engineer things, not sell them. And, for some reason, I always feel uncomfortable selling myself. I don't really enjoy boasting.

Check out my profile. I've made things, I've shown them to HN. I built, probably, the most powerful bookmarklet to date. But the splash page sucks, and it's confusing, so I'm scrapping it. My website similarity search engine is doing pretty well, with traffic growing 15% a week for the last 7 weeks.

But, I don't have a personal website, or a blog, or a twitter account, etc. I don't care for starting flame wars about "Why you should[n't] do X" or "How I did some amazing thing in some short amount of time". It's really not my thing. While I completely agree it'd make it easier to get a job, and is probably the optimal approach, it's not an option right now. It would take a large amount of time to suddenly build a brand/identity.

On the other hand, optimizing my approach to the current systems of job postings is probably a better use of my time. This is the type of advice I'm looking for.

photon_off··on Ask HN: Searching for jobs sucks.
What makes you think all job listings are garbage? I've found a few really promising ones. I imagine it's the same ratio that employers get when they receive tons of garbage resumes and a few gems here and there.

I like your proactive approach very much, but the search space (all companies in my region) seems rather large. With job listings, I at least know they are hiring, what technologies they use, and what's expected of the role. I'd be down to do it your way if there were an easy way to browse through interesting tech-related companies in NYC, that I know are hiring.

photon_off··on Show HN: I asked an HN member for feedback and she blew my mind
I had an idea for ths exact thing 83 days ago. Glad somebody did it. http://news.ycombinator.com/item?id=1574127
photon_off··on Scale of the Universe
They may not have been discovered yet. Things on this scale would be incredibly difficult to detect.
photon_off··on Ask HN: Page99Test.com - Would you submit to YC?
This site is impressive, and through following your posts and progress you definitely are committed. However, I don't think there's any way to find out if you're yc-worthy without applying. I don't mean that in the sense of the truism "you miss 100% of the shots you don't take" but rather: none of us are as familiar with the application pruning process as pg et al. They look at thousands, and as legend has it, can spot an interesting team within minutes.

The founders themselves are said to be what yc invests in, primarily, and not the idea. We'd probably need to know a bit more or see a video to give you any sort of sensible answerhatTIehat being said, if I were you, I'd apply if it seemed that yc was a good fit. If anything, the application process helps you learn and internalize things about yourselves and what you have to offer.

One last thing about the "big idea" and monitization aspect. Most yc funded things tend to be quite niche, and the vast majority aren't making money when they apply. It's my personal take that determining an audience, how to best pitch to them, and how to profit, are some of the core things that yc offers, in addition to all that fund raising stuff. If your company lacks these things, it seems like a good idea to apply. And demo day couldn't hurt, either ;)

Congrats and good luck! Keep us all updated.

photon_off··on Show HN: I asked an HN member for feedback and she blew my mind
Welcome to HN! It might be helpful to include an email address in your profile blurb :)

I launched a "toolbar" (it's actually a bookmarklet) two weeks ago and although anybody I show it to in person thinks it's great, everyone else just gets confused. I put a lot of work into it, an unhealthy amount really, and as a result have found its lack of adoption frustrating to the point of just giving up. I use this thing every day, to bookmark and to search, yet I cannot adequately explain it much less motivate people to understand what it does. It feels awful.

At any rate, the URL is http://dashler.com/toolbar if you want to take a look. I'm not even sure the idea is a good one, anymore. Of about 1000 visitors, only about 2 use it regularly. I'm ready to scrap the whole thing. I would very much appreciate any advice you could offer pass along. I'm looking to ditch the video and use a slideshow of screenshots, but I'm not even sure where to begin.

http://news.ycombinator.com/item?id=1783632. Is the HN submission of it.

I'd be grateful for any advice! Thank you.

photon_off··on Show HN: I asked an HN member for feedback and she blew my mind
Interesting. When did this launch?
photon_off··on Search for PHP
Awesome. I'm looking forward to seeing what you come up with.
photon_off··on A Google Suggest Venn Diagram Generator
If I made this, it would allow for you to input as many things for "X" as you wanted. Thus, it would be much less successful.
photon_off··on Search for PHP
I tried a few queries, and honestly I find Google's Auto Suggest to be of more use when searching for PHP functions.
photon_off··on Ask HN: looking for feedback on my startup idea: making hiring easier
In terms of scaling, if you're having to screen so many employees that it becomes your bottleneck, then it'd be a business on the path to success. It doesn't need to scale non-linearly, because each candidate screened is worth, on average, some dollar amount.

I see it as an analogy: YC is to Angels & VCs as <this thing> is to Companies that are Hiring. If you get into YC, you are definitely a noteworthy team. Furthermore, YC is able to prune down 1,000+ applicants to under 40 in a short amount of time. They probably turn down 75% of all applicants in 20 minutes or less per applicant. If it's your job to discern, you're going to figure out how to do it efficiently. They also attract very good applicants.

Why can't there be something like this for brilliant people seeking jobs just like YC is for brilliant people seeking to start companies?

You're right, though, about building connections with companies. Though, in this case the "connection" has more to do with reputation of "offers only Google quality candidates, via a rigorous screening process" than "hey, they are hit or miss but have provided some good hires in the past".

photon_off··on Ask HN: looking for feedback on my startup idea: making hiring easier
I just thought of this, and it's been over 24 hours since I last slept, so this might not be the best idea. But, I'm imagining a world in which it exists, and it's pretty exciting. What I think would be awesome is if you made a company that screens for only the highest level candidates: You do all of the technical screening to ensure candidates are of a certain value. You look at open source contribution, their blog, some source code (which coders could submit to you with an NDA or something), experience, LinkedIn, references, interviews, etc. And you assign them a score, or maybe just a yes/no.

If you could have a screening process that was on par with, say, Google's, and became notorious for such a thing, I think you'd be in a position of extraordinary value. You'd be offering Google Quality Engineers who are actively seeking jobs. I think that's huge! You'd attract business that are willing to pay for the best, and you'd attract talent that wants the best pay.

The main goal here is to establish yourself as having a rigorous and "industry best" screening process. You only attract and accept awesome developers. You do all of the work in the technical screening, and you front your reputation on that. You only deal directly with candidates, and on the other end, with people in the position to hire.

Of course, there is a chicken and egg problem here. So you'd need a lot of publicity out the gate, a decent pool of acceptable candidates, or a decent set of job availabilities.

I'm tired of being asked if I know what a join is, the pros/cons of indexing, the difference between by reference and by value, various OO questions (What's an abstract class do?), design patterns, what memcached does, etc. And I'm sure places are tired of candidates that don't know these things. Solve both of our problems.

photon_off··on Ask HN: What to do when co-workers don't aspire beyond getting their paychecks?
Absolutely great advice here. Except for one problem:

"Before you know it, people will automatically know to come to you when nothing else works."

And then what? Ask for a raise? In the environment he is describing, it is likely his extra effort will not go unnoticed, but rather, unrewarded. What's worse, this extra effort may even become expected of him, without his receiving any additional compensation besides making his boss look good.

While I do find great satisfaction in making myself indispensable and particularly useful, and in the whole process of learning and implementing new things, I also find extreme irritation if it only works to set a new standard for what's expected of me. That's just my personal experience and personality. Perhaps there are more altruistic types that enjoy feeling like a more efficient cog, but for me, it sucks to feel like a cog at all.

That's not to say all is lost. Certainly being an achiever and an innovator are awesome qualities. Think of your current job as a framework to discover and deploy these things. I neglected to do this at my last job, but keep a list of all of the projects you took the initiative on, what new skills you had to acquire to achieve them, and the net benefit to the company. Myself, I always figured I'd remember all the awesome additional effort / personal touches I put on things, but I didn't, and for me, interview season is right around the corner.

Bottom line, if you're not progressing and learning from your coworkers on a regular basis, it's time to look for new options. In the meantime, give your best effort and take note of your triumphs.

photon_off··on Ask HN: Fun side project - what should I name it?
Sitelapse is great!
← PreviousPage 4 of 16Next →