HNHacker News
TopNewBestAskShowJobs

deepGem

2,284 karma · joined December 30, 2010

Generalist software guy, loves investing and writing code. Multiple battle scars in startups.

Email: pradeepbs at gmail dot com

submissionscomments
deepGem··on Woke at Work: Why tech firms are trying to run away from politics and failing
I tend to agree to this viewpoint. Most of the impactful products are built by people who are inspired to build the product, sometimes even to the extent of hating the entrepreneur. For them work is almost a part of life.I don't mean that such people think of work all the time and don't have other interests in life, but largely what they are building is kind of ingrained into their life. It's really difficult to separate what they do from who they are. Almost every leader wants their team to exhibit these characters albeit on a spectrum.

But what comes with that is the personality attributes, political viewpoints etc. It's hard to disagree on some fundamental traits and still continue to work together. At least in these teams which tend to get closely knit.

This could potentially lead to homogenous teams which we don't want.We want teams to hash out diverse and conflicting ideas. Really hard balance to achieve.

deepGem··on Nobody cares about your clean code
I have done quite a lot of prototypes and while the initial ones were throw away code, I quickly realized that I can re-use a lot of code in future prototypes. Especially code that involves building user management and database access. Also realized it is frustrating to write repeating code. So I quickly started making code slightly more readable and reusable.

It's not the holy grail of software development but it ain't shitty code either. Also I tend to use only one web framework - FastAPI, one database - mostly Redis or MySQL and one front end React. Saves a ton of time as I can reuse a most parts of the code.

I do think there is a lot of merit in using something like GAE. Saves a boat load of time but comes at a cost and I am willing to bear the cost to save time.

deepGem··on Just Be Rich
For one poverty. I believe it is in your control to crawl yourself out of poverty, may be not in childhood but in your high school or once you turn 18. Am not saying everyone should become rich but you don't have to be poor.

Your mind is in your control. Keeping your body and brain healthy is in your control but for medical conditions though.

deepGem··on Just Be Rich
No doubt. Things out of your control are not excuses.
deepGem··on Just Be Rich
Yet, there are many examples of those who made big from rags to riches. Am not talking about movie stars but business tycoons. Carol Bartz, Dhirubai Ambani, Naval Ravikant, Chamath to name a few.

Bartz for instance "Bartz was born in Winona, Minnesota. After losing her mother at a young age, she moved with her brother to her grandparent's farm in Alma, Wisconsin. She took a job at a bank at age 15 to help support her family. Good grades in high school earned her a scholarship to William Woods, a prestigious all-girls college in Missouri. She transferred to the University of Wisconsin-Madison and worked her way through college as a waitress. In 1971, she earned her degree in computer science."

Being poor can work as the single most powerful force for people to get out of poverty and pursue their dreams.

Not to be rude, but for those who want to find excuses will find excuses. Those who want to break out and go get things done, will find no excuses.

deepGem··on Java 16
Java adoption has now reached the release_version / 2 parity :)
deepGem··on Goodbye MongoDB, Hello PostgreSQL (2015)
I have not tried the Django ORM. Most of my backend is REST services so I use FastAPI with SQLAlchemy. SQLAlchemy + pydantic is a bit onerous I feel.
deepGem··on Goodbye MongoDB, Hello PostgreSQL (2015)
When you are creating MVPs time matters the most. You are anyway going to throw it away and build something better.

I was using Mongo and NodeJS a lot but then switched to Python. Now I find the world of ORMs to be onerous. I just want to define tables in MySQL and just run raw SQLs. The best compromise I have found so far. I mean it does involve boiler plate code but ultimately it's an MVP.

And you are right, most of MongoDBs uptick was because of the reasons you state. E2E Javascript and in addition the ability to query nested JSON natively.

deepGem··on Modern action films fetishize the body even as they desexualize it
Objectively, there is no best option. What's best for me is very likely gonna turn at least a hundred others off.
deepGem··on Modern action films fetishize the body even as they desexualize it
Yeah agreed but the home need not be spotless clean/sterile. Let me take that back, cleanliness with a certain vibe is perfectly fine. Like some homes you walk into, you get this amazingly welcoming and warm vibe, and the home will be spotless. This is very rare though. Most sterile homes you enter, are devoid of any warmth.
deepGem··on Modern action films fetishize the body even as they desexualize it
"Compare this to homes in films now: massive, sterile cavernous spaces with minimalist furniture. Kitchens are industrial-sized and spotless, and they contain no food. There is no excess. There is no mess."

Finally, it's not just me. I can't stand these sterile looking homes and kitchen especially. For the same reason, I am not a huge fan of sterile looking restaurant tables either. The author evokes the emotions behind such feelings better than I can, but it reminds of a famous Joan Rivers joke on the Johny Carson show.

"Don't cook. Don't clean. No man will ever make love to a woman because she waxed the linoleum, "My God, the floor's immaculate! Lie down, you hot bitch."

deepGem··on Launch HN: Enombic (YC S20) – Create your own stock indexes
Signed up for the waitlist. Just a quick question when you say construct sector specific indexes - are these indexes available for others to invest ? So for instance let's say i create an index and show my skin in the game by investing in that index with returns - can others potentially follow suit and invest in that index or even a portfolio ? This is something that I have been ruminating on for a while.
deepGem··on Many use cases don’t require Kafka (2019)
The key part you highlight is that of hiring. If you want to be scale ready from day 1, you may not find the scale out talent because they either are working on large scale problems or would want to work on large scale problems. In your early days, you are mostly hunting for a product market fit.So your problem statement will not even be relevant to the hires.

This is the best case, the worst case is that the scale out thinking hampers your product market fit progress. That's the risk you run.

So, while it seems to have gone scale out on day 1 in hindsight, it's always always better to start small and scale out as needs arise, even if that means re-architecting the whole stack. It's painful, but doable. It's also a reasonable challenge to entice new hires. You have scaled out a system from degree 1 to degree m. Now scale that out from m to r++. Something like that.

deepGem··on Robinhood, in Need of Cash, Raises $1B from Its Investors
OK, how hard it is to increase your credit line in real time. We are not talking 100s of billions here. Had RH reached out to the likes of Chamath or Musk, they would have gotten a credit line in minutes.

This is no excuse for screwing retail investors. Horrible management. I mean, I am some random dude who can think of these, these are professionals running multi billion dollar enterprises, c'mon.

deepGem··on Robinhood, in Need of Cash, Raises $1B from Its Investors
I doubt users will lose the stocks. This will be really weird. Worst case, you will be given some time to transfer your stocks to another brokerage and perhaps RH will make that process a lot faster than the nominal 2-3 days it takes now.
deepGem··on Facebook shuts popular stock trading group amid GameStop frenzy
If there is any adult content (in the form of swear words) it is moderated and marked NSFW on wsb.

If that was the issue, all Facebook had to do was issue a warning and make the group adults only or something like that. This outright ban is just insane.

deepGem··on Feds asks Tesla to recall vehicles over failing touchscreen displays
Dials are way better than buttons. For one you need to find out up/down etc where as the dial is just one operation. Esp for things like volume and temperature adjustment.

Top top that dials/knobs are more reliable than buttons.

I still covet the Honda Civic/Accord 2004-2008 dashboard. I didn't even use the steering mounted controls as the knobs were so easy to use.

deepGem··on BeagleV – An affordable RISC-V computer designed to run Linux
Just saw this SiFive board HiFive is retailing for $679, can you please comment if this is any good for toying around ? Specs look more than decent - almost desktop class computing.

https://www.crowdsupply.com/sifive/hifive-unmatched

deepGem··on Asahi Linux: Linux on Apple Silicon project
I am quite saddened by I also see it as highly challenging and reverse engineering is one of those excruciating tasks. Sadly, I am not a good C programmer and I just can't get myself to write C code.

That said, with the rise of RISC-V architecture, I believe there will be viable alternatives to Apple silicon which are much more open. Building a new linux variant for those computers might be a lot less excruciating than reverse engineering Apple silicon. However, the timeline for RISC-V computers is a huge unknown.

deepGem··on I logged my activities at 15-minute intervals for the whole year
I am quite baffled too.

Finding out how little focused work I do, even on the days that feel productive, was one of the biggest surprises of analysing my data. It turns out that a typical working day (9-17) would usually only give around 5-6 hours of actual work,

I'd be more than happy to get 5-6 hours of productivity in a day. I think even 2-3 hours of good focused work is really good for me.

PhD education is mostly real hard work so I wouldn't equate it to like reading emails etc. So yeah, this is super solid 5-6 hours of focused work solving some deep technical problems. Every day. This is no joke and nothing to feel bad about.

deepGem··on A half-hour to learn Rust
It's remarkable how similar Swift and Rust are w.r.t syntax.

Rust, Swift

let x = 42; let x = 42

let x: i32 = 42; let x: Int = 42

let _ = 42; let _ = 42

let pair: (char, i32) = ('a', 17); let pair: (String, Int) = ("a", 17)

let (some_char, some_int) = ('a', 17); let (some_char, some_int) = ("a", 17)

fn greet() { println!("Hi there!"); } func greet() { print("Hi there!") }

But, the languages are so different, for instance in Swift

let x x = 42

let y = 13 let y = y + 3

Wont fly for instance. I am trying to come up with the simplest explanation possible for this but I can't - goes to show how much I understand either of the languages.

deepGem··on AirPods Max
I am on BigSur and iOS 14. While watching a video, AirPods switch from Mac to iPhone when I get a call, but won't switch back after I disconnect the call. I have to manually do the switch back. So this is still not an optimal experience.

I forget how this is on my Bose. I think video keeps playing with muted volume when you take the phone call so when you disconnect you just rejoin the video.

deepGem··on Distributed Systems Reading List
Yep, it is still a matter of abandoning the monolith and building a new scalable system in whatever fashion you choose at that time, micro services or whatever.

In today's cloud deployments where cost is not a mega concern (as compared to having physical servers in a DC), this approach is very much feasible.

You could run two systems in parallel (monolith v/s scalable) and ditch the monolith once you have the necessary cutover logistics in place.

Of course, the sooner you do this, the better and it is non trivial to figure out the 'when'

deepGem··on Distributed Systems Reading List
I'm surprised there is no mention of the Bitcoin white paper. One of the most practical consensus protocols out there. Sure there is a lot of emphasis on the currency itself but I found the consensus protocol explanation so simple and easy to understand, as opposed to the Paxos algorithm.
deepGem··on Why do most top performers have the highest count of commits and pull requests?
This is somewhat analogous to programmers who type very fast but delete half of what they type. This is very subjective again, most of the deletes can be legit deletes. There is a difference in the mistakes that are deleted and deletes that arise because of a thorough process change. I digress, but to a routine observer the person typing fast appears like a pro, someone who is really good at their job. While this can be true of other professions like a carpenter being good at his craft will be extremely fast, am not sure the same holds true for the typing speed of programmers.

If you are a trial and error type of programmer then of course speed matters a lot because it has a direct correlation on how fast you can iterate and increase your sample space of trials. The frequency of commits and PRs can be seen in the same light.

So IMO it's hard to find a true universal measure to identify the top programmers.

deepGem··on Steve Wozniak launches Efforce, a blockchain-based energy-saving platform
You've hit the nail on the fundamental issue. Authenticity check at the Physical -> Digital touch point. Some efforts such as digital KYC for banking are able to solve this because the process involves a government issued identity, so the authenticity of the physical -> digital transmission is sort of embedded into the physical asset itself. Tampering the physical asset can be quickly reverified using several of the asset parameters (photo, DOB etc).

For aspects such as meters or constantly changing physical data, I am not sure if it will ever be possible to ensure the authenticity of physical -> digital touchpoint.

Is this something an embedded processor can help resolve ? In essence eliminating the possibility of fake data emerging from the meters ?

deepGem··on We chose Java for our high-frequency trading application
I guess what you mean is the no-op garbage collector which is available in Java 11 http://openjdk.java.net/jeps/318

Even this isn't fail proof right ?

Last-drop latency improvements. For ultra-latency-sensitive applications, where developers are conscious about memory allocations and know the application memory footprint exactly, or even have (almost) completely garbage-free applications, accepting the GC cycle might be a design issue. There are also cases when restarting the JVM -- letting load balancers figure out failover -- is sometimes a better recovery strategy than accepting a GC cycle. In those applications, long GC cycle may be considered the wrong thing to do, because that prolongs the detection of the failure, and ultimately delays recovery.

So essentially you need to know the memory footprint of your applications. To err on the side of caution just get as much memory that is available in the market.

At this point like another reply mentions here aren't you just better off writing C++ code ?

deepGem··on A conversation with Shel Kaphan, Amazon’s first employee (2016)
Even to this day, employee no 1 will be offered stocks in the range of 0.5 - 1%.

Calling BS on this has not yielded any great results. If not anything, there should be some clause that benefits the first 2 or 3 employees with an outsized monetary outcome, if the company becomes immensely successful.

The above equity numbers probably make sense if founders have worked on the idea for a while, built some reasonable MVPs, done market validation, have found reasonable PMF and all that.

Bottom line, it's not worth being the first engineer purely from a monetary standpoint.

deepGem··on A conversation with Shel Kaphan, Amazon’s first employee (2016)
At the time I thought, “Okay, I’m going to be building this website to run a bookstore and I haven’t done that before but it doesn’t sound so hard. When I’m done with that I’m not sure what I’ll do.”

Love this attitude. As flippant as it seems, the statement speaks volumes about confidence and the ability to venture into unknown areas. Skills often overlooked while hiring.

deepGem··on Retool Raises $50M from Sequoia
I am trying to build a simple user registration/sign in and view your contents website and yes it takes hours or days to do in React/Vue/Angluar + Backend. So by process of elimination:

I tried replacing the backend with just Google Firestore. Surprisingly to do this on react, it's a hell lot of code. I don't mind writing the code but it's just ridiculously complicated and hard to reason the complexity.

I thought of just bootstrap with jQuery with Firestore but then you have to do all the session management which will again devolve into a shit ton of code.

Finally decided to ditch all this and just go with Wix. Wix has definitely come a long way in terms of building websites. I can build a user registration form in minutes and have the whole site up in like less than 2 hours.

Retool offers much much more than Wix so I see a bright future. One of the shortcomings of Wix is lack of component embedding. Essentially you are limited to passing control between pages. If Retool offers component embedding, that's a huge win IMO.

Good luck folks and congratulations on the fund raise.

← PreviousPage 8 of 32Next →