Better HN
topnewbestaskshowjobs
Log inSign up

stephenwilcock

7 karma · joined Aug 29, 2014 (12y ago) · 13 submissions

Submissions

comment 6y ago · link · parent

We use 1Password in a startup of 40 people and it works beautifully. Great product.

We are also now starting to use Okta and SSO extensively too.

comment 6y ago · link · parent

For an article of such importance, to botch the visualisations so badly, to the point of being unreadable, is absurd. Can they not afford to get a designer or data viz person to spend a day and put the data in a decent choropleth map so we can actually see the maps clearly?

comment 6y ago · link · parent

When I follow the link to the article I get an "Error establishing a database connection" message.

Delicious irony.

comment 6y ago · link · parent

Behold, ubitricity, the future. I have this for my EV and it works great.

https://www.youtube.com/watch?v=rKaEhBjt1ls

comment 6y ago · link · parent

Adding an index is O(nlogn) time to build, not O(n).

comment 8y ago · link · parent

My retina MBP developed a really sticky 'L' key. A few blasts of compressed air and a few taps it sorted it out completely. Your mileage may vary, but worth a go.

comment 8y ago · link · parent

I think storing a salted hash of their email address is a reasonable measure that should satisfy GDPR ...

comment 9y ago · link · parent

Apperio | Front End Engineer | London, UK (Holborn) | Full time ONSITE

We are a B2B SaaS startup building a real-time fee tracking and analytics platform for the legal industry.

Tech: React, Redux, AWS, Python, Django, Postgres, Linux

https://www.apperio.com/careers/engineering/front-end-engine...

comment 9y ago · link · parent

+1 for SQL Performance Explained. One of the best vendor agnostic resources for understanding how databases work.

comment 9y ago · link · parent

It is great to see more people sharing their strategies for managing legacy codebases. However, I thought it might be worth commenting on the suggestion about incrementing database counters:

> "add a single function to increment these counters based on the name of the event"

While the sentiment is a good one, I would warn against introducing counters in the database like this and incrementing them on every execution of a function. If transactions volumes are high, then depending on the locking strategy in your database, this could lead to blocking and locking. Operations that could previously execute in parallel independently now have to compete for a write lock on this shared counter, which could slow down throughput. In the worst case, if there are scenarios where two counters can be incremented inside different transactions, but in different sequences (not inconceivable in a legacy code), then you could introduce deadlocks.

Adding database writes to a legacy codebase is not without risk.

If volumes are low you might get away with it for a long time, but a better strategy would probably just to log the events to a file and aggregate them when you need them.

comment 9y ago · link · parent

Very true. We are building a platform to solve this problem at Apperio (https://www.apperio.com).

comment 10y ago · link · parent

Huddle | London | Full Time ONSITE

http://www.huddle.com - SaaS Collaboration Platform

Senior Systems Engineer

Product Manager

Software Engineering Graduate

https://talentcommunity.huddle.com/careers

https://www.youtube.com/watch?v=n3EqUT8v1Rc

comment 12y ago · link · parent

Nice article.

Anyone reading this may be interested in the related concept of the 'circuit breaker' technique employed by things such as Hystrix (Netflix), to avoid getting into this state.

Not a solution per se, but the simple philosophy is to set yourself up to fail fast: when back pressure reaches some threshold the 'circuit opens' and your servers immediately respond to new requests with an error, instead of ingesting huge numbers of requests which flood your internal queues or overload your infrastructure.

https://raw.githubusercontent.com/wiki/Netflix/Hystrix/image...