Better HN
topnewbestaskshowjobs
Log inSign up

avremel

29 karma · joined May 18, 2017 (9y ago) · 45 submissions

https://www.avikaminetzky.dev/
Submissions

1.

Show HN: Auto-scrolling for WhatsApp group chats(github.com ↗)

1 points · by avremel · 9mo ago · discuss

2.

AI powered Product Search(avikaminetzky.dev ↗)

1 points · by avremel · 9mo ago · discuss

comment 3y ago · link · parent

Cool, I thought I was the only one who has uttered Endeca and Algolia in the same sentence.

I wrote up some tips/impressions on configuring Algolia for ecomm:

https://www.avikaminetzky.dev/posts/algolia-ecommerce-nextjs

comment 3y ago · link · parent

Baymard is the gold standard for ecomm UX.

comment 3y ago · link · parent

Endeca was killed by Oracle.

I recently completed an Endeca to Algolia migration. I spent quite a bit of time auditing the Endeca implementation, from the XML files to the Windows desktop application. It was pretty good for its era.

6.

Notes on Algolia and NextJS for Ecommerce(avikaminetzky.dev ↗)

1 points · by avremel · 3y ago · discuss

7.

React Flavored JavaScript(avikaminetzky.dev ↗)

1 points · by avremel · 4y ago · discuss

comment 6y ago · link · parent

I use this feature in VSCode (free version), with this Microsoft extension: https://marketplace.visualstudio.com/items?itemName=ms-vscod...

comment 6y ago · link · parent

> The big difference is that duplicate index entries can still occur in B-tree indexes. GIN indexes have to integrate new entries into the posting list every time, which makes data modifications less efficient (this is mitigated by the pending list). In contrast, PostgreSQL deduplicates B-tree entries only when it would otherwise have to split the index page. So it has to do the extra work only occasionally, and only when it would have to do extra work anyway. This extra work is balanced by the reduced need for page splits and the resulting smaller index size.

https://www.cybertec-postgresql.com/en/b-tree-index-deduplic...

comment 6y ago · link · parent

This article in the Atlantic mentions possible herd immunity at < 40%.

https://www.theatlantic.com/health/archive/2020/07/herd-immu...

comment 6y ago · link · parent

I would be very hesitant to turn an ORM into a "smart" SQL generator. Depending on the type/distribution of data, there are sometimes very different paths to optimizing a query. The ORM as a "stupid" SQL generator (straightforward mapper) is a great way to allow for the flexibility to control how a query is generated.

The DB engine might be the place for those sort of improvements.

comment 6y ago · link · parent

I'm in a one bedroom Brooklyn apt. Any time I open up my laptop, my 2yr old daughter climbs onto my lap and repetitively hits the caps lock key (it lights up on my laptop). Luckily, I've found alternative places to work from, albeit with less than ideal setups.

comment 6y ago · link · parent

https://downforeveryoneorjustme.com/ is down too.

comment 6y ago · link · parent

Some tweeters think it might be.

comment 6y ago · link · parent

Why work for 6 days and rest for 1, when you can rest for 6 and work for 1?

comment 6y ago · link · parent

Does the linter check all or only newly pushed code? Is this configurable at all?

comment 6y ago · link · parent

I usually read good technical books twice. Recently did that for: Designing Data-Intensive Applications, DynamoDB Book.

comment 6y ago · link · parent

And presumably query the replicas until an up-to-date one is found (based off the LSN of the user).

comment 6y ago · link · parent

IIUC they need to query replicas until they find one that is up to date.

"We have to query Elasticache and replicas, which adds latency."

20.

Torah Study and the Digital Revolution: A Glimpse of the Future(thelehrhaus.com ↗)

2 points · by avremel · 6y ago · discuss

comment 6y ago · link · parent

That is exactly what the article negates.

comment 6y ago · link · parent

That book does cover many implemention details of a database. However, sometimes at a high level, and as you mention, specifically in the context of distributed systems.

comment 6y ago · link · parent

How would you compare Database Internals to Designing Data Intensive Applications?

[1] https://www.amazon.com/Designing-Data-Intensive-Applications...

comment 6y ago · link · parent

How important is the programming section for a professional developer?

comment 6y ago · link · parent

I was referring to defining optional keys.

If you have a dict with some keys which are optional, you need to create a separate subclass (with `total=False`) just for those optional keys.

With TypeScript, I can just use `key?: type`.

https://mypy.readthedocs.io/en/latest/more_types.html#mixing...

comment 6y ago · link · parent

I was surprised to find out that MyPy will throw an error if you use a variable to access a key (https://github.com/python/mypy/issues/7178).

Optional keys are also a nuisance.

comment 7y ago · link · parent

1) I doubt the NYC merchandise itself is the advantage, rather it is the concentration of Hasidic entrepreneurs which provides invaluable networks.

2) The need to support a growing family from a young age with no formal education, propels many to try their hand at business.

comment 7y ago · link · parent

For those who are manufacturing private label items in China, tarrifs are have the potential to be damaging (depends very much on the product category).

comment 7y ago · link · parent

I wrote an intro to the Lucene scoring model with a python example:

https://github.com/avremel/lucene

Elastic/Solr is a very decent option. Last time I checked, Algolia and other SaaS were too expensive for small businesses.

12