139 karma · joined Jul 26, 2019 (7y ago) · 44 submissions
3.
Show HN: ElectroDB – I made a library to simplify complex DynamoDB techniques(github.com ↗)
1 points · by tinkertamper · 2y ago · discuss
comment 3y ago · link · parent
> It seems threatening to take it away is making them compromise on their values quite effectively.
What exactly are you referring to here? I see this narrative in a lot of places and I’m confused about what “values” mods supposedly collectively have? So much discussion online paints moderators as some sort of a connected cabal with alternative motives instead of unrelated nerds who enjoy niche content.
comment 3y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 5y ago · link · parent
Modeling, and actually implementing, single table design for DynamoDB has a lot of pitfalls and boilerplate. I wanted to make it easy and fast to define models and implement collections of models to get more out of a single query without scans. Having your entities dynamically infer typing from the model (without having to manually generate typedefs) is also huge win for usability and dx.
13.
Show HN: ElectroDB – Simple type safe DynamoDB for Node.js(github.com ↗)
5 points · by tinkertamper · 5y ago · 1 comment
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
If the team, project, company or whatever is not in a good place you can never really hit these higher “levels”; you’ll never reach the next rung on the pyramid if the context it’s built on is still at a lower one.
comment 5y ago · link · parent
Ahh yes, the “General” section of phpBB. To be fair though a whole generation as come online since then, that never had an opportunity to learn for themselves yet. The internet itself moving away from small niche sites/forums to subreddits/groups/categories under big monoliths.
comment 5y ago · link · parent
A good example: I had an interview earlier this week for a full-stack role and the inteviewee had recently come off a two year project that was heavy on react. The project he'd be on has a jquery frontend. I told him candidly that the project would likely never make a "modern" refactor a priority, and asked him if he could still be happy in a role that used jquery.
Our full-time team is small and ensuring we can all collaborate and work together is very important for us to be effective. On the flip side we try to be transparent about what our team looks like too and give you a chance to decide if you could be locked in a room, hashing out which circle talks to which on a whiteboard, with us.
comment 5y ago · link · parent
It’s a small “api service” that represents a POC with some bugs and bad practices. I tell them to look over it, write down notes on how to make it production ready, setup a time to discuss their thoughts in a second call. No code writing necessary.
It ends up being an excellent Rorschach test where folks can really show/express their unique skill sets and experience. I ultimately let them drive the conversation and it gives me great insights into what experiences have shaped their career and what it might be like to collaborate with them. Best of all it does resemble what some of their day to day might look like better than hand crafting some tree algorithm.
comment 6y ago · link · parent
comment 6y ago · link · parent
Your average consumer doesn’t know the extent of what they’re trading. Take Facebook, even with high profile stories and documentaries it’s reasonable for your average consumer to assume that what Facebook tracks about them is what they actively give to Facebook themselves.
I’ve had conversations with people that say, “I rarely even post on Facebook” and “If they want to monitor pictures of my food/dog/etc whatever who cares”, without any solid understanding of what even having the app installed alone is giving Facebook.
comment 6y ago · link · parent
let [isValid, err] = validate(data)
It’s nice for a few reasons:1. I know anything returned `err` is safe to display back to the user
2. Using the array (as opposed to an object) can allow me to name the values when I destructure so it can be used multiple times in the same block with useful naming.
3. I can destructure just the first half `[isValid]` if that’s all I care about.
4. More generally it helps keep the code readable. Other control flows might rely on some casting, assumptions, or exceptions but this way presents a nice customizable api for users writing the code, and a readable api for those reviewing the code.
comment 6y ago · link · parent