Better HN
topnewbestaskshowjobs
Log inSign up

adeel_siddiqui

73 karma · joined Jul 7, 2016 (10y ago) · 18 submissions

Full stack developer. StackOverflow: https://stackoverflow.com/users/4436241/adeel-siddiqui
Submissions

comment 3y ago · link · parent

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 4y ago · link · parent

Isn't there already the OPTIONS verb which does the same thing as a possible HELP method?

>The HTTP OPTIONS method requests permitted communication options for a given URL or server. A client can specify a URL with this method, or an asterisk (*) to refer to the entire server.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/OP...

comment 4y ago · link · parent

Hibernate has actual prepared statements and binds values when the query is executed.

comment 5y ago · link · parent

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 5y ago · link · parent

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 6y ago · link · parent

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 6y ago · link · parent

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 6y ago · link · parent

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.

9.

Jeff Weiner Updates His LinkedIn Profile(wired.com ↗)

1 points · by adeel_siddiqui · 6y ago · discuss

comment 6y ago · link · parent

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.

11.

A Parent's Guide to Sadfishing, Explained by a Teenager(parents.com ↗)

2 points · by adeel_siddiqui · 7y ago · discuss

comment 7y ago · link · parent

Part 1 of the story: https://khn.org/news/india-burgeoning-chronic-pain-market-us...

13.

In India’s Slums, ‘Painkillers Are Part Of The Daily Routine’(khn.org ↗)

36 points · by adeel_siddiqui · 7y ago · 73 comments

comment 7y ago · link · parent

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.

15.

A long running fake news experiment(hbr.org ↗)

2 points · by adeel_siddiqui · 8y ago · discuss

16.

Grab services down across Southeast Asia(news.abs-cbn.com ↗)

2 points · by adeel_siddiqui · 8y ago · discuss

comment 9y ago · link · parent

Would just like to add one in addition to the points already made in the comments: Offering you a significant raise, a different and more interesting project/location, when you have put in your papers. Asking you to rethink your decision of quitting.

Seems like I didn't exist for the manager until I put my resignation.