adeel_siddiqui

Joined 10 years ago

Karma
73
Submissions
18
Member since
Jul 7
Full stack developer. StackOverflow: https://stackoverflow.com/users/4436241/adeel-siddiqui
View on Hacker News

Recent submissions

Comment · 3 years ago
Adobe provides adding fonts from their CDN and they are hosting Proxima Nova: https://fonts.adobe.com/search?query=Proxima%2Bnova. Looks like OP is using it from Adobe's CDN and now their client is being chased by the owner of the font. Wonder if Adobe is not paying (any/appropriate) licensing fees to the owner of the font?
Comment · 4 years ago
Comment · 4 years ago
Hibernate has actual prepared statements and binds values when the query is executed.
Comment · 5 years ago
set `enable_seqscan` = 'off' or set local `enable_seqscan` = 'off'. This will force the pg query planner to use indexes. Experiment with it until you figure out why your query performance deteriorates. Maybe you are doing a lot of updates/deletes? Increase the statistics sampling size? Autovacuum more frequently?
Comment · 5 years ago
Nice write-up. Something does not add up here though. Primary writes 32 ahead to the WAL when fetched the first time, then keeps a counter (log_cnt) which it decreases each time nextval is called. So, when sequence was initialized, nextval is 1 and WAL has 32. The replica sees 32 as fetched offset. How does incident sequence switch from 7 to 39? Shouldn't it be 33 when the replica was made the primary? Same for incident 20 -> 52, shouldn't it be 33 when replica was made primary? Unless I am missing something here, i.e, 32 is added to the nextval and nextval is logged each time (20 or 7).
Comment · 6 years ago
Programming Languages, Dan Grossman, UW. https://www.coursera.org/learn/programming-languages It is a 3 part course and a bit more intensive than other courses on Coursera with challenging assignments. It helped me gain a deeper understanding of statically vs dynamically typed languages. Designing a tiny language in Part B is the best part of the course. Concludes with a nice comparison between OOP and functional languages.
Comment · 6 years ago
Honestly, when the URL bar on Firefox started to get fatter on focus with the latest update, i found it a bit distracting. It was a sudden change to a component which people use the most and the behavior had been quite stable for some time. So, i guess that could have put off a few people and we started complaining ¯\_(ツ)_/¯
Comment · 6 years ago
Frontend development/UI/UX design has gotten stuck in a weird loop. Many companies/startups get working on redesigning the UI every 6 months just because some competitor has a new design and a few people like it, or even worse, the designer likes the new "slick" design. It is bad because it is no longer concerns/standards about accessibility or usability driving those constant redesigns but some kind of self-created pressure to be part of a rat race.
Comment · 6 years ago
Well, SAP has for long been a money making blackbox for consulting firms. Think IBM, Accenture and the likes. They rake boatloads of money for multi-year contracts to implement SAP systems for companies wanting ERP solutions. The system is outdated and obscure with both technical and non-technical people having a tough time understanding it. Last time I worked with some interfacing systems to some SAP modules, it still relied on web services, XML and SOAP. No REST support. Salesforce is on the same road. In a few years, they will spin up more modules apart from CRM, like manufacturing and payroll.
Comment · 7 years ago
Comment · 7 years ago
Good point. If you are doing this, you also need a good autovacuuming strategy on your pg database. Depending on the size of the tables and the frequency of DELETEs, not vacuuming regularly could potentially cause problems like bloated size on disk, slow queries, etc.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton