Better HN
topnewbestaskshowjobs
Log inSign up

_Codemonkeyism

3,311 karma · joined Sep 10, 2015 (11y ago) · 1,565 submissions

Submissions

comment 10y ago · link · parent

Thanks!

comment 10y ago · link · parent

Will this affect React Native?

comment 10y ago · link · parent

I understand how to use async for backends, I wrote quite a little bit about it [1]

"one core will execute the part up until the call to the backend and then a different core may well pick up the continuation when the result comes back"

This surely helps for one request if your backend or all your microservices are all on one machine, and you have several cores. But if you have your microservices on different machines, multi core will not help you speed up one request if it does not break down rendering of a page in chunks and distribute them to cores (and e.g. combine them with something like Facebook BigPipe (2010 tech)).

And yes multiple cores help with SEDA architectures but request and url parsing (which might be a SEDA stage) is too fast to have any real impact.

[1] http://codemonkeyism.com/a-little-guide-on-using-futures-for...

comment 10y ago · link · parent

For my understanding: One request is executed on serveral cores?

comment 10y ago · link · parent

Nearly no web framework is per request multi core (e.g. multi core HTML / JSON rendering, assuming backend operations already async). So each request will be slow.

[Edit:] Not sure for the downvote, would be interested what's wrong in my comment.

comment 10y ago · link · parent

Do you have more information about Valve? I would be interested.

I've only found in the past the Valve employee handbook, some people raving about Valve and some people talking about highschool style bullying.

comment 10y ago · link · parent

Poor customer support agent.

comment 10y ago · link · parent

The comment is blamed for being sexist because

"It's often hard for men to understand the societal pressure placed on women"

as this is making wide sweeping assumptions about men behaviour based on the world view of the poster not because of pointing out gender bias.

comment 10y ago · link · parent

Does any other provider (Mailgun? SendGrid?) support EU standard clauses and send them on request? Mandrill does this. EU startups are out of options otherwise.

comment 10y ago · link · parent

Not as misleading than the titles are the introductory sentences of the press release:

"Democracy and models of social market economy are being challenged worldwide. At the same time, the influence of religion on political institutions and legal systems is on the rise."

comment 10y ago · link · parent

Don't talk bullshit.

Just because you think in categories of 'blame' doesn't mean everyone else does.

For some people there is a difference between causality and guilt.

comment 10y ago · link · parent

The "blaming" is in your head. People who explain how things happen do not "blame".

comment 10y ago · link · parent

Something along these lines:

http://mark.koli.ch/set-cache-control-and-expires-headers-on...

comment 10y ago · link · parent

From what I've read, looks like Firefox and Chrome cache forever, IE not. But I might be wrong.

comment 10y ago · link · parent

Browsers have not changed in this regard.

comment 10y ago · link · parent

The problem with 301 without cache headers is that some browsers cache this forever due to some interpretation what 'permanent' means.

You often can't use 302 because all your external links no longer work SEO magic for you with a 302. Google only transfers link juice with 301 [1].

If you make a mistake and misconfigure your server, you're toast.

If a disgruntled employee 301 redirects your domain, you're toast.

If a service provider misconfigures your domain, you're toast.

If a hacker (from a competitor) 301 redirects your domain, you're toast.

If you buy a domain that had a 301 on it, it's worthless.

If you buy a domain that had 301s on it that point to phishing sites, you're in trouble.

I always add cache headers to 301 redirects I use to at least prevent me from shooting myself with an arrow in my knee.

UPDATE: [1] Google seems to have changed this recently. It also no longer considers http/https different pages as it did in the past with the same content https://www.searchenginejournal.com/google-confirms-no-loss-...

1457.

301 redirects: a dangerous one way street (2012)(jacquesmattheij.com ↗)

158 points · by _Codemonkeyism · 10y ago · 86 comments

comment 10y ago · link · parent

Thank you.

comment 10y ago · link · parent

(I have no clue)

What is the difference between the $5 key from Yubico to their $50 key?

If I secure GMail, how does GMail on my tablet/phone work?

Are there other keys than from Yubico recommended?

comment 10y ago · link · parent

With foreign banks you mean British banks based on the linked article? The "british banks alone" gives the wrong direction based on your source.

comment 10y ago · link · parent

That's what I've ment, it's not 'Magic the Game' but inventing rules [1] for magic card handling that represents a Turing machine.

[1] "A Rotlung Reanimator makes a messenger token for Alex."

comment 10y ago · link · parent

German media makes a point that Deutsche Bank has been hit hard with the fines from their (past) crimes. Investment bankers and CEOs took their bonuses and moved on. Spiegel reports Deutsche Bank used $15 billions since 2012 for legal disputes.

comment 10y ago · link · parent

Any link on how Magic the Gathering is Turing complete? The only thing I could find is how to represent a Turing machine with Magic cards.

comment 10y ago · link · parent

You're right, I had a paragraph is on getting the number but this is obviously thin ice, so I dropped it for now. I'm out of ideas on how to measure it, I probably would ask a group of developers, let them make an educated estimation and then make a best effort estimation based on their answers, perhaps something like the Delphi Method [1]

"OTOH, the cost to migrate can never be greater than the cost to rewrite from scratch, since rewriting from scratch is a method of migrating."

Interesting point. I need to work on the definitions as obviously 'migration' is not clear cut enough.

[1] https://en.wikipedia.org/wiki/Delphi_method

comment 10y ago · link · parent

The number is not about "Should I rewrite or not", I should have made that clearer in the post.

Some thoughts

"Is low good or bad?"

As it is a risk in your book, first it's good to know. Is low good or bad? Depends on your strategy. Fast time to market with a rewrite after Series-A, low seems good. Low growth, tight margins low seems a high risk to me.

"What is the value of being able to migrate to another system?"

I don't know why people migrate or are forced to migrate, it depends on your situation I guess. From following HN people seem to rewrite their systems all the time. From working at startups as CTO, one reason to rewrite seems you can't get the current technology stack stable (e.g. Web Framework does not scale for your type of business) or you can't migrate your tech stack to a new version.

"In additon, this number has no intrinsic value component."

Often when talking to CEOs they are suprised that they need to pony up some millions to completly rewrite a system because it can't be upgraded to a new version of X, which they haven't got in their budget and planning of their long term margin growth.

You're right about the 'improve' wording, I'll think about a more neutral term. Same I'll rethink the KPI wording.

comment 10y ago · link · parent

Author here, any feedback appreciated.

1467.

CEO to CTO: What Is Your RewriteRatio?(codemonkeyism.com ↗)

8 points · by _Codemonkeyism · 10y ago · 7 comments

comment 10y ago · link · parent

Problem for tablet producers is they don't follow the 2 year phone contract life cycle.

Neither do watches.

comment 10y ago · link · parent

Plainly true, those 'banks' or trusts don't have their own data centers and infrastructure where the money just 'rests' as records in databases they put it into their accounts in other banks, London banks in this case to make more money.

comment 10y ago · link · parent

I found "Treasure Islands: Tax Havens and the Men who Stole the World" a very interesting book on tax havens, and it made the point about the US.

I also found this idea from the book enlighting: All the tax havens around the US, they don't have 'real' banks, they put the money into NYC banks. Same with the UK: Tax havens in the cloud/former empire of the UK put the money into banks in London. The real beneficiary are not those islands, but US and UK banks.

1
484950
53