982 karma · joined Jul 7, 2016 (10y ago) · 339 submissions
comment 9y ago · link · parent
comment 9y ago · link · parent
Case 1: Have a child. Take care of the child until the child is an adult. It has an irreversible effect on one's lifestyle and schedule. Even after the child has grown up, the parent and the child are still emotionally bonded to varying degree.
Case 2: Have a child. Put the child up for adoption. Once the child is adopted, two cases emerge.
Case 2.1: The adoption lasts life long, thus being irreversible by definition.
Case 2.2: The adoption is reversed, thus bringing the biological parent back to Case 1 and thus facing the irreversible effects of Case 1.
Thus, in all cases, having a child has 100% probability of having life long effects.
I am honestly unable to understand if you are arguing for argument's sake or if you are genuinely trying to make a point. I think most people would agree that issues like having a child or putting a child up for adoption has a 100% probability of serious irreversible effect on one's schedule, lifestyle and emotions than something like high-risk physical activity which has less than 100% of probability of such an irreversible effect.
comment 9y ago · link · parent
comment 9y ago · link · parent
But having a baby has a 100% probability of altering one's schedule for the rest of the life!
comment 9y ago · link · parent
I can argue that it is easier to reason about simply hashing and then looking up because once hashed, the lookup does not leak any timing information, whereas in your solution the lookup does leak timing information.
Can you refute my argument?
comment 9y ago · link · parent
SELECT tokenid, userid FROM password_reset_tokens WHERE hashed_token = :hashed_token AND NOW() < expire_time
If you are worried that two tokens may collide to have the same hash, well that problem is there with your split-token solution too where token1 and token2 may collide such that token1 and token2 have the same selector and the same hash(verifier).comment 9y ago · link · parent
I don't get this part. Read-write SQL injection does not imply that the attacker has access to the filesystem. The concern about RW-SQL injection is still valid. If I can somehow protect an attacker from modifying tokens via RW-SQL injection, it is still an improvement, and I may not have to worry about the filesystem being accessed because that may require a non-SQL attack vector.
311.
Fix TLS: Let's get rid of certificates: A clarification and some improvements(blog.xot.nl ↗)
3 points · by foo101 · 9y ago · discuss
comment 9y ago · link · parent
In other words, my question is: Why do you need to split the token at all? Why not store the hash of the entire token in the database?
So now, the username of the user becomes the selector, and the token becomes the verifier. What is wrong with this simpler approach?
comment 9y ago · link · parent
How is the proposed solution where MITM attack could be going on the very first time I visit a website I want to trust a better solution than the current state of PKI?
The proposed solution demands that we trust the website on the first visit if the website behaves well. So now it is very easy for Mallory to perform MITM and behave well so that I trust Mallory's public key. Now Mallory can see all my traffic in subsequent visits. How can even one imagine that this is an acceptable solution?
comment 9y ago · link · parent
Sure, but https://xkcd.com/1357/
comment 9y ago · link · parent
Now, even if the minority of developers have coded a few modules that look absolutely elegant and neat, it interacts with the majority of the software that is complex, ugly and sometimes bloated. On top of that, in many teams, developers often touch each others' code and modules to make bug fixes, enhancements, etc. which means all code (whether currently elegant or not) tends towards ugly.
How, under these circumstances, do you maintain your motivation to write good, clean and elegant code after having worked about 10 years in the software industry?
comment 9y ago · link · parent
While answering, please quote my entire question with the Q<number> so that people don't have to scroll up and down to correlate the answers with the question.
Q1. Quote from article: "Your options have a strike price and private companies generally have a 409A valuation to determine their fair market value. You owe tax on the difference between those two numbers multiplied by the number of options exercised." My question: What is strike price? If I have accumulated say $30K worth of options, but I can afford only $10K, can I buy only $10K worth of options while leaving the startup?
Q2. Quote from article: "Due to tax law, there is a ten year limit on the exercise term of ISO options from the day they're granted. Even if the shares aren't liquid by then, you either lose them or exercise them, with exercising them coming with all the caveats around cost and taxation listed above." My question: Say I get buy ISO options for 30000 options for $30K from a startup while I leave the startup in 2017. Say, that startup still remains private in 2027. What are my options? Am I going for a total loss of $30K? If the startup hasn't gone IPO, how can I possibly exercise my 30000 options in 2027? What does the article mean by "exercise them" in this case? Does "exercise" mean buy the 30000 options for $30K or does "exercise" mean selling the options for a possibly larger price after the startup goes IPO?
Q3. Quote from article: "Some companies now offer 10-year exercise window (after you quit) whereby your ISOs are automatically converted to NSOs after 90 days." My question: How is NSO different from ISO? When the article mentions that NSOs are "strictly better" does it mean that I don't have to pay a penny to buy the NSOs but they remain in my account for free?
Q4. Quote from article: "Employees want some kind of liquidation event so that they can extract some of the value they helped create" My question: What are the events that count as liquidation events?
Q5. Quote from article: "Even if you came into a company with good understanding of its cap table" My question: What is the cap table? Why do I need to know this number? Can you explain this with some examples?
Q6. Quote from article: "New shares can be issued at any time to dilute your position. In fact, it's common for dilution to occur during any round of fundraising." My question: How does additional funding dilute my position? If I bought 30000 ISO options at say $1 per option, and I can sell it one day for say $2 per option, I am still making money. Why does it matter if additional funding occurred between buying and selling?
Q7. Quote from article: "If the company sells for a more modest $250M, between taxes and the dilution that inevitably will have occurred, your 1% won't net you as much as you'd intuitively think. It will probably be on the same order as what you might have made from RSUs at a large public company, but with far far more risk involved." Can someone show some approximate calculation for this? This is what I see: 1% of $250M is $2.5M. Say I lose 30% in tax I am still left with 0.70 * $2.5M = $1.75M. Can one really earn $1.75M from RSUs? The RSUs I have got at large public companies are of the order of $10K to $50K only.
Q8: Quote from the article: "Tender Offers". Can someone elaborate this? Can a startup force me to return my options in exchange for tender offers? Or is it a choice I have to make, i.e. to keep the options or go with the tender offer?
Q9: Quote from the article: "How many outstanding shares are there? (This will allow you to calculate your ownership in the company.)" How? Can you provide an example to calculate my ownership? Can you also provide an example of what that ownership means for me, if the company is sold for say $200M? Can you also provide another example of what that ownership means for me, if the company goes public and the price of each stock option is $10 after it goes public?
Q10: Quote from article: "Have there been any secondary sales for shares by employees or founders? (Try it route out whether founders are taking money off the table when they raise money, and whether there has been a tender offer for employees.)" What does this mean? How does it affect me?
comment 9y ago · link · parent
superqd mentioned he would have made $300K more (i.e. in addition to the fixed salary he was earning) if he had bought the options. I assume that after paying for taxes, he would have still made $200K. Since he worked for 8 years, this is indeed $25K of additional income for every year. If he worked for $35/hour for 40 hours/week for say 50 weeks in a year, his total income would have been 35 * 40 * 50 = 70K. How is this better than his original job which was probably paying him say $80K or greater than $80K as fixed salary every month? It sounds like it would have put him behind by at least $10K. What am I missing?
comment 9y ago · link · parent
Oracle has many many departments. Do you know about Server Technologies (the RDBMS department)? When I applied for Oracle Server Technologies in 2016, I found their interviews to be of the same difficulty level as that of Amazon and Google. They expect a single candidate to know everything from real world work involving Linux kernel details and system programming to abstract concepts like probabilistic data structures, hash trees, distributed computing algorithms, etc. And they expect you to write working code free of bugs and syntax errors in the interview to prove that you know what you are talking about.
In my experience, not many companies in the Silicon Valley expect this kind of rigor and knowledge in the interviews except for the likes of Amazon and Google.
comment 9y ago · link · parent
https://cityss.az1.qualtrics.com/jfe/form/SV_bKSkV69EJ6TKmKV
I did not experience "hearing motion" in any of the test videos. Try this out and if you experience "hearing motion", please post here and let us know what a certain video sounds like.
comment 9y ago · link · parent
comment 9y ago · link · parent
As far as I understand, the fiber should still stay in the juice because I did nothing to take the fiber out of this mixture.