News for hackers. Stuff that matters.

avremel

Show HN: Auto-scrolling for WhatsApp group chats

https://github.com/avremel/whatsapp-groupchats-extension

I got tired of scrolling through endless WhatsApp group chats, so I built a browser extension that does the scrolling for me. You can tag contacts as "important" to scroll slower when their messages are in view. You can also hide messages from specific users (click-to-unhide like Slack has).

( Read More... | no comments | on HN )
Re:Reasons to replace advanced search with filters on Monday August 28, 2023 @10:12AM (#37294290)
Cool, I thought I was the only one who has uttered Endeca and Algolia in the same sentence.

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

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

Re:Reasons to replace advanced search with filters on Sunday August 27, 2023 @09:06PM (#37288453)
Baymard is the gold standard for ecomm UX.
Re:Reasons to replace advanced search with filters on Sunday August 27, 2023 @08:53PM (#37288355)
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.

Re:The Era of Visual Studio Code on Wednesday September 23, 2020 @09:00AM (#24566478)
I use this feature in VSCode (free version), with this Microsoft extension: https://marketplace.visualstudio.com/items?itemName=ms-vscod...
Re:PostgreSQL B-Tree index deduplication on Monday September 07, 2020 @08:57AM (#24399109)
> 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...

Re:Why I believe the US has herd immunity in some states on Thursday August 20, 2020 @09:12AM (#24222840)
This article in the Atlantic mentions possible herd immunity at < 40%.

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

Re:Django 3.1 on Tuesday August 04, 2020 @02:05PM (#24052718)
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.

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.
Re:Tell HN: Digital Ocean Is Down on Friday July 17, 2020 @05:30PM (#23875912)
Re:Tell HN: Digital Ocean Is Down on Friday July 17, 2020 @05:26PM (#23875830)
Some tweeters think it might be.
Why work for 6 days and rest for 1, when you can rest for 6 and work for 1?
Re:GitHub Super Linter: one linter to rule them all on Thursday June 18, 2020 @07:41PM (#23569394)
Does the linter check all or only newly pushed code? Is this configurable at all?
Re:Ask HN: Which books have you read more than once? on Tuesday June 09, 2020 @11:30AM (#23467487)
I usually read good technical books twice. Recently did that for: Designing Data-Intensive Applications, DynamoDB Book.
Re:Scaling Bitbucket’s Database on Saturday February 15, 2020 @09:05PM (#22339384)
And presumably query the replicas until an up-to-date one is found (based off the LSN of the user).
Re:Scaling Bitbucket’s Database on Saturday February 15, 2020 @09:03PM (#22339378)
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."

Re:Measure code execution time accurately in Python on Saturday January 18, 2020 @07:57PM (#22088580)
That is exactly what the article negates.
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.
How would you compare Database Internals to Designing Data Intensive Applications?

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

How important is the programming section for a professional developer?
Re:Statically-typed error handling in Python using Mypy on Sunday December 08, 2019 @07:22PM (#21739494)
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...

Re:Statically-typed error handling in Python using Mypy on Sunday December 08, 2019 @05:07PM (#21738711)
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.

Re:Amazon Has Transformed the Hasidic Economy on Wednesday October 16, 2019 @07:28PM (#21277215)
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.

Re:Amazon Has Transformed the Hasidic Economy on Wednesday October 16, 2019 @07:23PM (#21277171)
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).
Re:Challenges in Implementing a Full-Text-Search Engine on Thursday September 19, 2019 @06:38PM (#21021458)
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.

Re:How to teach yourself hard things on Sunday September 02, 2018 @02:52AM (#17895951)
Exactly.

I suspect that the popularity of these types of articles is that it resonates deeply with highly motivated, self directed learners.

Same goes for articles targeting productivity geeks, and anything self-help related

Older »