HNHacker News
TopNewBestAskShowJobs

sangupta

228 karma · joined February 23, 2012

Yet another developer.
submissionscomments
sangupta··on Show HN: SQL-like queries on in-memory Java collections/arrays
I haven't done performance benchmarking, nor tuned it yet. That's my next plan. The library is largely meant for firing ad-hoc queries in production, or for tweaking data-sets and database queries.

Though reflection is slower, it allows us to fire queries on List<Object> sort of collections and the built in type conversions may allow us to compare a Calendar instance to a Date, or a Long to a String (with implicit parsing and conversions).

sangupta··on Show HN: SQL-like queries on in-memory Java collections/arrays
Gather was aimed at JDK 7 since there is still a lot of legacy code around. For JDK 8, lambdas surely work better.
sangupta··on Show HN: SQL-like queries on in-memory Java collections/arrays
Thanks. LINQ was definitely a part inspiration in its development. Let me know if you would like more features to be baked in.
sangupta··on Ask HN: Best practices for log format?
I prefer to use epoch as an additional timestamp - this allows us to parse the logs without being bothered about timezones and all.
sangupta··on Tell HN: Discord is violating open source licenses
It could have been flagged by an algorithm, or may be some over-eager Discord developers to remove this post from public appearance.
sangupta··on Ask HN: Hacker News users reading habits
Skim through via my RSS reader, and read around 10-20 articles a day.
sangupta··on Show HN: An HTML/CSS/JS toggle switch with happy and sad emojis
Cute!
sangupta··on [dead]
Then how come its not yet banned ?
sangupta··on [dead]
Strange, but how do they still show the homeline for a user which is not accessible via API any more (as far as I understand).
sangupta··on Ask HN: What is your side project for 2017?
Loved this idea - started building such a service as my first side-project for 2017.
sangupta··on Ask HN: Is it ok to use traditional server-side rendering these days?
I use a crowd-sourced hosts file on my system to block most of the ad-networks and metrics tracking sites.

Check out https://github.com/StevenBlack/hosts

sangupta··on A cloud images processing platform
For moving to a pricing model they will have to change the URL structure - breaking any code that relies on it today.
sangupta··on A cloud images processing platform
Whats the pricing structure? Also, are your responses backed by a CDN?
sangupta··on Show HN: Design, data-structure, algorithm problems and their solutions
Thanks a bunch. I mentioned similarities to bucket sort earlier in the day.

I will go over the mentioned paper and also mention it as a reference.

sangupta··on Show HN: Design, data-structure, algorithm problems and their solutions
None that I know of and thus the inspiration to start this.

I so intend to write on some pieces of software architecture that I have understanding of. For micro-services piece, if you specific sample well-defined problems, please do let me know and I would like to cover it up.

sangupta··on Show HN: Design, data-structure, algorithm problems and their solutions
I can work up one. Choosing the right bucket will be O(1) as the index is integer. We can store the buckets for lookup in a hash-table or an array-of-arrays, which again will be O(1). Reaching to the actual index should again be O(1) - unless am messing something here.
sangupta··on Show HN: Design, data-structure, algorithm problems and their solutions
Wouldn't using a sparse bit-array be equivalent to using Bucketsort in space-complexity, but more efficient in time-complexity, or am I missing something here.
sangupta··on Show HN: Design, data-structure, algorithm problems and their solutions
Thanks a bunch for the link.
sangupta··on Show HN: Design, data-structure, algorithm problems and their solutions
I will read more about bucketsort and update the article as necessary.
sangupta··on Show HN: Design, data-structure, algorithm problems and their solutions
Using a sparse bit-array will reduce the memory space of the problem.
sangupta··on Show HN: Design, data-structure, algorithm problems and their solutions
My bad - that was a typo when writing. Updating it.
sangupta··on Show HN: Design, data-structure, algorithm problems and their solutions
Agreed about the phrase thing - updated the phrase accordingly to say:

"Fastest sorting of bounded integers"

sangupta··on Ask HN: What free or low-cost static site hosting do you use most?
+1

For basic blogs/sites github pages are free and fast. For all custom static sites I run a local Jekyll setup with multiple plugins and push the _site folder to Github for free hosting.

sangupta··on Normal for recruiters to ask for last 4 of your social / dob on first call?
Must be a scam
sangupta··on Ask HN: Would You Upgrade to the New MacBook Pro?
I would not for reasons 3 and 4. Can't be carrying USB adapters always just to plug-in the pen-drive, or a printer or for that reason a wired mouse. And without HDMI I lost the ability to connect my monitor at work :(
sangupta··on Invalid HTTPS Cert for https://maxcdn.bootstrapcdn.com
Yup - looks like the same.
sangupta··on Ask HN: What's it like to work at Adobe?
I have been with Adobe (India) for over 7 years now, starting as a middle-level developer - my journey has been pretty awesome from day one - ample opportunities to grow, learn, experiment and fail, learn and then try again. The work culture is awesome, mostly devoid of politics, and more focused towards delivering an awesome experience to customers.
sangupta··on Ask HN: Who wants to be hired? (September 2015)
Location: Delhi, India

Remote: Yes

Willing to relocate: May Be

Technologies: Java, J2EE

Github: https://github.com/sangupta

Website: http://sangupta.com

Email: sandy.pec@gmail.com

Resume: http://in.linkedin.com/in/sandypec

sangupta··on Ask HN: If you had the time, what software would you build?
I would have loved to check the repo out, but to my bad, I haven't worked with python ever ... and might not have the time as well.

However, I would checkout salt. Thanks a bunch.

sangupta··on Ask HN: If you had the time, what software would you build?
Am already working on it: https://github.com/sangupta/andruil - just a start.
← PreviousPage 4 of 6Next →