HNHacker News
TopNewBestAskShowJobs

silvajoao

234 karma · joined January 18, 2009

Programmer based out of Zurich.

Past work in Chrome, Google Search, Assistant, Google Lens, Google AI Studio.

Open sourced https://windowjs.org/

Contact is my username at gmail.com.

submissionscomments
silvajoao··on Cash Cow Disease: The Cognitive Decline of Microsoft and Google
On the other hand, Apple didn't have a cash-cow before the iPod, if you regard it as their first cash-cow after Jobs' return.

And going from there to iTunes, to merging the iPod and mobile phone everyone carries around, to arriving at the iPhone and iOS, and then to expand the screen size to build the iPad doesn't represent huge deviations from their core business.

Ping might fit within what the OP describes though.

silvajoao··on No evidence of time before Big Bang
Before Big Bang there was no movement

How was the Big Bang triggered then?

silvajoao··on Do something positive - leave your job
Mixed feeling about your fine comment. On the one hand, it masterfully debunks the original text. On the other hand, it's way too redditty, and I don't know if I want to see this often :)

+1 nonetheless, since your comments are frequently very good.

silvajoao··on programming challenge
Care to elaborate? Is the solution presented in the original article incorrect?

BTW, the original solution yields 27 whites: 5 from the start, and then jar1 is used 2+3+3+3=11 times, yielding 22 more.

I noticed the solution in the article is in a "steady state", that can produce 6 whites every 3 steps, or 2 whites per step. The better solution by tlb produces 26 whites in 8 steps, but I didn't check whether it is sustainable (in the sense that after those 8 steps we have enough material to start over).

It's an interesting problem, and I couldn't even model it after a first glance using a graph or linear programming. Will try again later :)

silvajoao··on Ask HN: My co-founder and I are about to split, what to do?
How I can feel your pain. The same happened to me in a different scale: "partner" wanted 100%, but the situation only lasted 4 weeks.

The BIG lesson from my and your story is: BEFORE starting to work on an idea, BEFORE even discussing an idea, discuss what "partnership" means to each other. Some people's concept of "partnership" might surprise you.

My little story here: http://news.ycombinator.com/item?id=1732039

silvajoao··on Resignation letter from Microsoft Employee
It was a sort of TL;DR of a 12 years career. Highly condensed wisdom.
silvajoao··on OS X 10.7 “Lion”: The King Of The Apple Jungle, The Last Of Its Kind, Or Both?
Of course iChat seems more plausible. The Facetime-in-iTunes idea is rather wild, but:

* iTunes is available on Windows, thus bringing FaceTime to Windows and making it a serious contender against Skype

* iTunes is widely deployed and this move would greatly expand the FaceTime user base

* iTunes already has your Apple account, which is an email, which is used by FaceTime to make calls (if I'm not mistaken)

* iTunes even has a Social Network :) Maybe you'll be able to FaceTime your favorite artists? A one-to-many call would make more sense here.

Perhaps having FaceTime bundled with iTunes makes more sense. Anyway, speculating about Apple's events is one of my favorite pastimes :)

silvajoao··on OS X 10.7 “Lion”: The King Of The Apple Jungle, The Last Of Its Kind, Or Both?
Some wild ideas, totally not based on anything:

* FaceTime on iTunes, for Mac and Windows

* App Store for OSX

silvajoao··on Ask HN: Cover letter techniques for software development positions.
I think it's because all of the points relate to saving time of the reader. If something can be said in less and clearer words, do so.

People who read a lot eventually hit texts that could have been way shorter and clearer, and develop a bullshit-detector to avoid such time wasters again. The reverse of this is that texts with high "signal to noise" are highly appreciated.

silvajoao··on Ask HN: Linux from Scratch.. Should I try it?
Quite recommended if you want to learn more about how a Unix system, and Linux in particular, is put together.

I installed it a long time ago, and I remember learning a ton. I suggest that you dig deeper into any topics you read about in the manual that you haven't heard before. I remember lovely all-nighters learning about dynamic loaders, binutils, object files, ELF and ld and so on :)

When I used to recompile the kernel I also learned a lot by trying to figure on my own whether some options should be enabled or not. This resulted in several unbootable kernels, but I also learned what was IPC, NUMA, the IO-APIC and other stuff that wouldn't come my way otherwise.

The downside is a lot of time spent waiting for stuff to compile before you can move on, so make sure you have complementary material for those times.

silvajoao··on Python Generator Tricks
I use a single tab for indentation, and too much exposure to Java and the Eclipse default indentation size (4 spaces per tab) made me used to it. I also find it easier to look at python code indented by 4 spaces per tab. Since I also tend to limit line length to 80 chars, 8-spaces tabs would quickly use up precious space.

Linus disagrees: http://lxr.linux.no/linux+v2.6.35.7/Documentation/CodingStyl...

silvajoao··on An illusionist explains why Apple products really are magical
I noticed the iPad bevel as soon as I left it on top of a table. It has a useful benefit though: when grabbing it from the table it's easier to get the fingers around the edge.
silvajoao··on Python Generator Tricks
In my particular instance of the Universe, \t is usually represented by 8 spaces. I still prefer 4 though.
silvajoao··on Employee Equity
Thanks a lot for all the replies. Some more info:

If you give a founder (or early employee) more than they're going to be worth in the long term, you'll feel increasingly motivated to fire them and recover their un-vested stock. If you give them too little, they become increasingly motivated to quit and start something they can own.

Totally. I actually felt like he didn't contribute as much (coding-wise), and felt that 50/50 was a bit generous for him, but then again a business is not just coding and he was into the "CEO" role, and I was fine with that. I was at the extreme of the second scenario: no motivation to do this at all. What amazes me is his proposition; how is he going to get anyone else doing this job, with no funding at all to pay a salary?

One or other of you was going to end up unhappy, in a company-destroying sort of way. I would have quit also and would make sure to sort the ownership question out earlier next time.

This was my key takeaway. Free GOOD learned-the-hard-way advice for ambitious would-be startupers: before even starting to discuss an idea, agree on how are you going to work on it and split the equity. You might be amazed by some people's concept of "partnership".

Somewhat tangentially, people also tend to over-value the ownership that their "idea" should entitle them to.

The initial idea was his, but we developed it much further together. On the implementation side there also had to be tons of decisions on how to move forward, and here I believe I was contributing way more to make it happen. Overall I felt it was a fair deal.

Sounds like you're both putting in same resources and taking same risks. You didn't mention opportunity cost.

We are mostly on the same terms. We have both been working our jobs with almost the same salaries, so we were taking very similar risks here and "losing" about the same in opportunity costs.

If it's his idea, and he can get someone at his term (0% ownership, percent of sales), then it makes no sense for him to take you on a 50%.

That is what puzzles me the most, because I think he can't. We both have no track record and no capital to invest, nor have been funded before, and have very few contacts. And I don't see anyone working on a business with no revenue without being given any equity at all; even with a nice salary, the job could be gone at any time.

If your co-founder put in significant work before you started, then you should expect less than 50/50 ownership.

That was not the case.

Again, thanks for your comments. And, again, the lesson I learned: discuss with your would-be partner(s) how you'll split the equity, work and what each is willing to contribute before even talking about the ideas. Especially before starting to write code.

silvajoao··on Employee Equity
This comes at a curious time for me. Just recently a startup didn't start at all, because I and the other would-be co-founder couldn't agree on how to split the equity.

Can someone enlighten me please: is a 50/50 split reasonable for 2 founders of a coding-heavy startup, where each founder has roughly the same background? That is what I was asking for. My friend was asking to have 100% equity and I would get a sizable share of sales as a contractor for his company. It was our first startup, neither of us has previous experience running a startup or a business at all.

I'm very sad it didn't work out because we worked on the technology for almost 4 weeks and it was promising, and now I feel a bit "guilty" about not having "cooperated", but I just couldn't invest the effort, resources (we have no investment; we would be burning our savings for some months) and yet have no ownership at all of what I was creating and risking into.

Any thoughts into this will be greatly appreciated, as I have no other sources of feedback to evaluate my decision.

silvajoao··on How and Why Chrome Is Overtaking Firefox Among Power Users
Very true. Indeed, I switched from Firefox to Chrome after Firefox hanged yet again with N tabs open, and I just couldn't figure which one it was and simply close that one. On chrome this never happened, and I never had to restart the browser.
silvajoao··on Ask HN: What's Your Story?
I don't post very often on HN, but I like to recall my little story.

So I was around 6 and we had a 386 at home, with DOS. I knew the very basics to "cd" into a "dir", and type the dir name again to start the program. Of course this didn't work for every program, probably not for those I shouldn't be using :)

One day I saw someone playing the snake game. I asked how could I go into that program too, and it turned out I had to "cd" into "qbasic", start "qbasic", and then hit F5. I never questioned why, but after hitting F5, the snake game started (I think the name of the game was "nibbles").

One other day though, just before hitting F5, I read a bit of what was on the screen of "qbasic", which was, well, some BASIC code for the game. And at the top was a line the intrigued me:

CONST SAMMYS_LIVES = 3

I knew the snake had 3 lives on every game, and that "Sammy" was written somewhere on the screen during the game (English is not my mother tongue; I surely didn't know much at 6). So this time, before hitting F5, I replaced the 3 with 9, and then hit F5. Behold, I actually had 9 lives!

I immediately quit, started "qbasic" again and changed 3 to 9999999999999999999 (something like that, probably longer). I was baffled when F5 didn't start the game anymore, and a strange line appeared. I kept reducing the 9's until it worked again.

That day I finished the game, but soon enough I was changing the colors, removing walls, creating levels, and figuring why F5 sometimes didn't work. The rest is history :)

(for the sake of my uh reputation, let me clearly state I never "coded" in BASIC since then ;) )

silvajoao··on Apple Keynote just started streaming
First thought through my mind when Ping was announced was "MySpace is definitely doomed"
silvajoao··on Poll: Where abouts are you hackers from?
Portugal
silvajoao··on A regular expression to check for prime numbers
The pattern detects if a number N is not prime by searching for A and B such that N = A*B. The (11+?) searches for A bigger than 1, and the repetition of this group (the \1+ part) repeats A as much as possible, eventually B times. If an exact match isn't possible, it backtracks and advances A. If no such A and B exist, A will keep increasing until it becomes bigger than N, and then the match fails.

An interesting pattern that wasn't immediately obvious, but a very inefficient way to detect primes :)

silvajoao··on Google Checkout Nightmare and the $126,000 phone call
How about increasing the price as the stock diminishes, then return it to the "regular" price as stock catches up?

Another idea: instead of starting at $50, start at, say, $80 and boost the perceived value of the product too. Some people will still buy it, and while they flush the production, keep the price. As soon as demand diminishes, cut the price to $60 and now it's a $80 product at a 25% discount! Rinse and repeat ;) But as others said, don't take more time to deliver than promised.

Also, couldn't the revenue of the first ~500 sales be used to hire someone to help catch up with demand?

silvajoao··on How mathematicians think in dimensions above 3 and 4
If you're the sort who likes to skip comments

Unfortunately, I don't think your target audience for that sentence will read your comment :)

silvajoao··on Downvotes
How about the following: whenever a user down votes a comment, a popup comes up describing the community rules for downvotes (e.g. "don't down vote just because you disagree", etc). After having been shown this box a couple of times it could be disabled for that user so that is isn't too annoying. New users would thus "learn" the rules as they use the site.
silvajoao··on Ask HN: A New Decade. Any Predictions?
Recently I compared Portugal's GDP with the revenue of a couple of companies. A workforce of 5.52 million from a population of 10.71 million produces around $244.64 billion; Microsoft, Apple and Google combined employ around 148 thousand people and have $112.71 billion revenue.

So the point is perhaps that Facebook will make Zuckerberg (where does Zuckerman come from?) wealthy enough to be able to afford a developed yet relatively poor country, some time in the future.

That the example happened to pick Portugal is a funny coincidence (I'm portuguese too). For those who don't know, mocking the country's politics and economy is the all-time favourite national sport here.

(BTW: the source for the numbers was Wikipedia)

silvajoao··on Algorithm Tutorials
I can't help but feel curious about the "shit" that was deleted.

It's not cool to just have a [dead] remark; could there be a better solution to remove the noise, yet allow curious people to find out what are the replies referring to?

silvajoao··on Tutorial on Creating Really Teensy ELF Executables for Linux
In the postscript he mentions:

[...] Well, actually, it could be made smaller. When Linux starts up a new executable, one of the things it does is zero out the accumulator (as well as most of the other registers). Taking advantage of this fact would have allowed me to remove the xor [...]

Removing the xor reduces the program size to 43 bytes. Closer, but not there yet :-)

However, neither the original nor the 43-byte version run on my machine [1]. The first is simply Killed, the second doesn't even load: cannot execute binary file.

[1] Linux 2.6.28 i686 (Ubuntu 9.04 on Pentium M)

silvajoao··on Ask HN: Where do you live?
Heidelberg here too!
silvajoao··on Ask HN: Light grey text is killing my eyes.
Finally this gets to the front page. My very first post was exactly the same: http://news.ycombinator.com/item?id=439399
silvajoao··on The Great College Hoax
<i>So you pretty much put off 4 years of salary, 4 years of raises, 4 years of building contacts, 4 years of climbing the corporate ladder [...]</i>

While I agree with much of what you say, 4 years in college surely builds contacts (likely of much better quality than otherwise), and you surely get a kick-start in the corporate ladder (if this is fair or not is another matter).

silvajoao··on X# - XML Oriented programming language
<Why> God </Why>
← PreviousPage 2 of 2