HN user

ak39

2,348 karma
Posts43
Comments836
View on HN
www.youtube.com 1y ago

Kenyan uses Arduino on old engines to convert to modern equivalent cars [video]

ak39
3pts0
twitter.com 5y ago

Startups are a game of privilege (Twitter)

ak39
2pts0
news.ycombinator.com 5y ago

Ask HN: What's the economic value of having Twitter followers?

ak39
3pts3
news.ycombinator.com 5y ago

Ask HN: List of biggest software companies by lines of code

ak39
7pts6
www.youtube.com 6y ago

I made a robot to cut my hair with scissors [YouTube]

ak39
7pts0
www.youtube.com 6y ago

50% of clinical trials of medicines we use today have never been published(2016)

ak39
2pts0
www.theguardian.com 6y ago

Europe's Covid predicament – how do you solve a problem like the anti-vaxxers?

ak39
2pts0
blogs.cfainstitute.org 6y ago

Rules for Forecasting (blog on CFA Institute) (2019)

ak39
1pts0
news.ycombinator.com 6y ago

Ask HN: Does Covid-19 spread in a bacteria culture?

ak39
2pts3
news.ycombinator.com 6y ago

Ask HN: Any stats on virus strains found by region?

ak39
1pts4
www.bleepingcomputer.com 6y ago

Tesla Pays $10K for Microsoft SQL Server Reporting Services Bug

ak39
3pts0
nunoalexandre.com 6y ago

The Zone and Interruptions (2016)

ak39
2pts0
ftalphaville.ft.com 6y ago

Reddit: Bull Attack

ak39
1pts1
www.theguardian.com 6y ago

Hindu supremacists are tearing India apart

ak39
13pts2
www.thisamericanlife.org 6y ago

How bad is bad? (1997) [audio]

ak39
1pts0
wiki.c2.com 6y ago

Code Generation Isa Design Smell [C2Wiki]

ak39
3pts3
news.ycombinator.com 6y ago

Ask HN: Any startups here using home NAS cloud services?

ak39
2pts0
papers.ssrn.com 6y ago

Tactical Investment Algorithms

ak39
1pts0
physics.stackexchange.com 6y ago

Why don't we use weights to store energy?

ak39
1pts1
www.cnbc.com 6y ago

Michael Burry of ‘The Big Short’ says he has found the next market bubble

ak39
5pts1
papers.ssrn.com 6y ago

Day Trading for a Living?

ak39
543pts366
news.ycombinator.com 6y ago

Ask HN: Where is Julian Assange, what's happening to him now?

ak39
90pts10
www.inc.com 7y ago

An Israeli Security Group Claims It Can Access All Your Encrypted Cloud Data

ak39
2pts0
www.youtube.com 7y ago

Paradise Lost: Homeless in Los Angeles [video]

ak39
1pts0
www.youtube.com 7y ago

Why You Should Care About Trump’s War on Whistleblowers (10 min) [video]

ak39
2pts1
www.youtube.com 7y ago

The reason Boeing’s new plane crashed twice [video]

ak39
2pts0
www.youtube.com 7y ago

Chomsky on the arrest of Julian Assange [video]

ak39
123pts51
www.reddit.com 7y ago

Idea vs. Programming Effort (Reddit)

ak39
2pts0
www.youtube.com 7y ago

The Computer Chronicles – Visual Programming Languages (1993) [video]

ak39
4pts3
www.youtube.com 7y ago

Snowden accuses Israeli cybersecurity firm of enabling Khashoggi murder

ak39
2pts0
Cloudflare Drop 14 days ago

Unlikely. It goes further by also using the word "exploit".

If they needed permissions for conversion, they'd have made a specific mention of that and thereafter confirmed legal ownership.

I didn't say we should ignore splits. To reiterate: most third-party data providers include splits by restating historical prices. This only works if you want to analyse performance at individual stock level by ignoring holdings. But if you want to do performance analysis for your own portfolio of stocks, relying on restated prices is incorrect.

Eg. If you bought say 10 stocks at the old price, you cannot take the restated historical price with your 10 stocks and you cannot take the units held of 10 stocks with the new prices. You have to account for this via transactions to increase your holdings (for splits) by leaving the prices historically the same.

Valuations are straightforward in a world without corporate actions like splits, consols, dividends etc.

Most (all?) data providers rerate historical prices after corporate actions that affect prices and this is not really the correct way to do continuous valuations using the restated prices.

ORMs and NoSQL were a direct result of the desire to have an object-oriented data worldview in a programming landscape dominated by OO languages. They were not introduced because programmers didn’t want to learn SQL (implying incompetence etc).

Terminating a bus factor 1 employee is not the problem. The real problem is not recreating BF1 reloaded with the new hire. Even a team of two is not completely ideal.

Many, mostly small, companies just cannot justify an IT department to mitigate Bf1/2 risks. Also, most times this bus factor problem manifests in non-IT jobs too: sales, contract law, accounting functions.

Small companies need to first become big companies to afford de-risking from BF1. Part of the growth story really.

SQLite not supporting "stored procedures" is a deal-breaker for me. The idea for stored procs is not to "put the process as close to the data" but simply that we have a single place for language-agnostic encapsulation of data procedures.

A whole new generation of developers is learning what the previous generation termed "briefcase applications". When client-server applications were the thing late 90s and early 2Ks, internet speeds were a serious limitation. This forced many architectures to work with "local-first", disconnected dataset, eventually-synchronised desktop applications. Microsoft ADO famously touted the "disconnected dataset" for this after Borland's "client dataset" pioneered this concept for the Windows desktop. Eventually even Java got disconnected datasets. All these techs more than two decades ago had real practical problems they solved: one of them I worked on involved collecting water flow data from several thousands of rivers in Southern Africa. Hundreds of users had mobile laptops that fired up desktop apps with authentication and business rules. Users then came back to head office to synchronise or used a branch with network to upload.

They worked and they were necessary.

Things changed when internet connectivity eventually became cheap and ubiquitous and the complexity of developing such applications then didn't merit the effort.

Now, the swing back to "local-first" is mainly for user-experience reasons. The same theoretical complexities of "eventually synchronised" that existed for the "briefcase app" are still present.

Is the complexity worth it though?

Slightly off-topic:

The top Reddit response cites some good reasons why this may be so. The writer mentions they needed to move from Node to improve "throughput" (and .NET was suggested). In what way would .NET improve performance that Node can't satisfy. (Isn't Node's worker thread sufficiently close to ASP.NET, ISAPI multi-threaded scenarios?)

Always use surrogate primary keys. Use alternate keys (AK) for your "natural keys". Modify the AK business rules as and when needed. There are several advantages to using meaningless random integers, sequential integers or UUIDs as your table's PK. The most important one is that if the PK participates (or is expected to participate) as a foreign key in other tables, it's crucial to us a design where you never ever have to change the PK!