HNHacker News
TopNewBestAskShowJobs

Bahamut

4,880 karma · joined August 3, 2013

Web Developer, Mathematician, Marine grunt
submissionscomments
Bahamut··on Sam Altman: Bay Area is no longer the obvious place for startups
In that case, taxes and rent only would account for about a $50k difference at those numbers - not enough to make up the gap between Austin and SF if we're talking $200k and $300k, and I'd imagine $200k isn't as easy to hit in Austin as $300k+ in the Bay Area.
Bahamut··on I love React Hooks
Devs beware, hooks are not quite there yet it turns out.

You get warnings in jest about needing to use act from react-test-renderer if you use async code to trigger state updates - the solution being recommended currently is mock every promise with a synchronous version, which then litters your app code with conditionals in many places for whether to use the mock or real promises. At that point, you're much better off using Angular for writing decent component/unit tests, where you don't have to fight with any async DOM or JS api in order to write working tests, or pollute app code with test specific branching logic since that is all handled at a single injection point via the IoC container.

If you have promises, you're forced to bleed a isMounted type of flag into the cleanup function scope in order to guard against promises attempting to trigger state changes after the promise is complete with its async function (i.e. data fetching).

These are two frustratingly painful dev ergnomoics situations that are unsolved with hooks. Otherwise, I am happy with them, but these are major pain points I have encountered with them so far, and given FB doesn't use promises in their internal apps for the most part, I don't see them likely to put in much work solving these problems unfortunately.

Disclaimer: I would love to put in some effort to solve these pain points with design discussions & code, but unfortunately I cannot put in that work without going through approval processes with 5+ people.

Bahamut··on Google terminated our business via our Google Play Developer Account
Yep, Google is by far the company with the worst customer support I've ever seen - they sucked up $500 without telling me and then when I found out, they hid behind a smoke screen as to why they couldn't refund it.

I also have another friend who has been banned for life by Google for the Play Store as well by association. Google refused to reconsider on appeal, and offers no recourse for him, a professor who teaches Android dev.

Google's lesson is clear here - don't use their services if you can help it because you expose tremendous liability due to Google's unwillingness to take any.

Bahamut··on DoorDash and Amazon Won’t Change Tipping Policy After Instacart Controversy
I don't think I'm going to tip through Doordash anymore. It's robbery that they misled users by saying the tips go 100% to the driver and it turns out this is not the case.
Bahamut··on How does one appear in the Google News carousel?
It's on macOS as well.

These are basically the main downside though - I switched to Apple News after Google started inserting YouTube videos in Google News, and haven't looked back. AMP also broke the browser back button as well, adding insult on top of injury.

Bahamut··on With React 16.8, React Hooks are available in a stable release
I can't speak for everyone, but the reusability with custom hooks looks really nice and better readability than using say HOCs.
Bahamut··on React as a UI Runtime
Just to correct this a bit, while this is certainly true of AngularJS, this is certainly not true of Angular. Angular since v2 has taken a reactive approach throughout, and even the two-way data bing is just syntactic sugar for an evented pattern powered by rxjs. Perf-wise, other than initial load, Angular is actually a little better from my understanding & based on numbers I’ve seen.

React has certain weaknesses that aren’t seen in other UI libraries/frameworks as well - forms are a complete mess to work with, even with formik, and animations are pretty problematic.

As with anything, there are tradeoffs to approaches. FB isn’t as form heavy in general, so optimizing how it works for the rendering inputs from external sources & dev usability makes sense for their use cases. It’s important not to conflate this by overpraising.

Bahamut··on From “Hello World” to VP of Engineering at Reddit (2017)
You probably figured it out then :) .
Bahamut··on From “Hello World” to VP of Engineering at Reddit (2017)
I'm an interesting case of this to some degree - I attended SUNY Binghamton for undergrad, applying last minute after I had gotten rejected/waitlisted/offered informally transfer acceptance at all of the colleges I applied to (Harvard, MIT, CalTech, Princeton, Columbia).

While I'm not an executive, I am a senior engineer being groomed for management at a FAANG currently. I have no doubt that I could move to being an executive or carve out a career in management if I want based on my track record.

While having better paper credentials help you earlier in your career, I'm a firm believer that the paper doesn't guarantee a successful career, and that there is no substitute for executing.

Bahamut··on The Fleecing of Millennials
Then we'll just be paying it out of pocket.
Bahamut··on Ask HN: What kind of information do you look for before learning/using new tech?
But wouldn't that mean you're lagging trends?
Bahamut··on I interviewed at six top companies in Silicon Valley in six days
My understanding is this is true for their frontend group, not fullstack.
Bahamut··on Ask HN: Is it just me or is the AMP project making everything slower?
I only visit reddit when friends link off to it - I rather not be giving reddit any traffic at all if I could help it, so downloading an app just doesn't make sense for me.
Bahamut··on Disable Flash support by default in Firefox 69
There was a time when the web was not able to handle SVG and Flash was the only option for rich interactive websites.
Bahamut··on Airbnb Is Moving Faster at Scale with GraphQL and Apollo
Just a counterpoint, but we've had a lot of pain with Ember, especially Ember Data, with only senior developers working on an app - figuring out the right areas to modify to implement a feature/bug fix was unnecessarily difficult, and some of the recommendations we got from those closely aligned with Ember (including from a former core dev) from a maintainability perspective were highly suspect.

We ended up switching to React by rewriting the Ember app in a few weeks and moving significantly faster as a team, gaining more flexibility & better abstractions (which we had to write, but it was not a problem with our engineers' quality). Since then, my whole organization has only written new UIs using React to my knowledge.

I personally would rather use Angular (latest) or React than use Ember again. I do appreciate some of the things Ember has brought to the ecosystem though like a robust CLI ala Rails, but I think the routing convention needs more flexibility and Ember Data needs some love to fix the ease of getting into some buggy situations.

Bahamut··on AWS gives open source the middle finger?
Problem is, you could potentially encroach on a big company's interests without knowing so, i.e. they're working in [insert space] in secret, or create an ethical issue for the company. Truth is, excepting maybe Netflix, the rest of FAANG requires you to get approvals.
Bahamut··on Samsung Phone Users Perturbed to Find They Can't Delete Facebook
There's a huge difference between Apple's built in apps and the third party apps doing who knows what background processing/data mining on phone usage. The effects on performance such as battery life is very noticeable.
Bahamut··on Samsung Phone Users Perturbed to Find They Can't Delete Facebook
While I like using FB, this is type of behavior by Android OEMs that largely drove me to the iPhone. The main reason I rooted my phone prior was to get rid of crappy apps I don't use from being on my screen.

Around 4-5 years ago, Android phone manufacturers started locking down their phones more while not letting them be rooted. They didn't solve the problem of having undeleteable apps waste my time & space with clear advertising plays.

After my experience with the Galaxy S5, I quickly jumped to the iPhone 6 when it came out, and haven't looked back. I've used Android for a period of time in parallel with a second phone, but it only confirmed my reasoning for bailing for the iPhone - the Android experience is just way behind.

Bahamut··on The Overloaded Soldier: Why U.S. Infantry Now Carry More Weight Than Ever
Sometimes you end up freezing anyway - I remember one time on a field op we settled down for the night, and there was freezing rain out. We put a tarp in the dark over where we slept, and got greeted a few hours later with a flood of rain over all of us. It rained so much that our tarp gave way to the rain.
Bahamut··on The Overloaded Soldier: Why U.S. Infantry Now Carry More Weight Than Ever
Not the M16, but the IAR (Infantry Automatic Rifle) - that gun has a tight spread for an automatic rifle: https://en.wikipedia.org/wiki/M27_Infantry_Automatic_Rifle .

I got to use it as my fire team's machine gunner before getting discharged in what was an unwinnable bureaucracy loop. It was a near total win over the SAW - not only was it more accurate & lighter, but it didn't breakdown anywhere near as much. The interesting shift though is that it sounds like every Marine is going to get an IAR, and not just the machine gunner for a fire team. This could have some ramifications on infantry tactics, since the machine gunner in a traditional fire team (i.e. fulfilling the suppressing firepower role) could switch depending on the scenario and yield some formidable advantages.

Bahamut··on The Overloaded Soldier: Why U.S. Infantry Now Carry More Weight Than Ever
It's probably even worse than you think - it's not just about carrying a lot of weight. You're expected to carry it and still move pretty quickly on humps. In infantry in the USMC, going at 1-2 miles an hour with all this gear isn't unheard of, or 20 miles a day. If someone is faltering, it means one more person's gear that has to be split up for others to carry.

For some units, the amount of gear you have to carry can get bad, like carrying a 50 cal, or in the case of my unit, we had a lot of M240Bs to carry because that's what we had on our LAVs.

Bahamut··on Amazon Says It Has Over 10k Employees Working on Alexa, Echo
Seems Siri is much better than Alexa as well - I often hear my roommate struggling with getting Alexa to do what she wants, and various other friends struggling with Alexa as well, usually because of accents.

Smart assistants in general have a ways to go still, but perhaps in the next 5-10 years they will be very good.

Bahamut··on Letter from Tim Cook to Apple Investors
Out of curiosity, what do you consider innovation in software? There's numerous quotes out there across the spectrum about how what Apple is currently doing in software and hardware is unprecedented, even from Microsoft execs.

I suspect people like to throw a lot of airy claims about terms like innovation without understanding what exactly does that even mean vs. what do they actually mean, although we'd need less hand-waviness and more well-stated gripes to be sure.

Bahamut··on Google Tech Dev Guide
I'd argue that someone with CS fundamentals doesn't necessarily tell me how adaptable someone is. Many times, the depth isn't there to strongly indicate one way or another. Adaptability is a difficult thing to try to assess.

I say this as someone working for another FAANG whose HQ is not too far away from Google's, and as someone who spent 4 years in a math PhD program.

Bahamut··on Bootstrap 3.4.0 released
A prior maintainer of that lib here - that library is a behemoth.

Unfortunately I ran out of time to be able to continue to maintain it, and now work for one of those big tech companies that requires a lot of approvals to participate in open source anymore unfortunately :( . There are a lot of good fixes pre-2.0 though if you can upgrade to it!

Probably one of the biggest disincentives for continuing to me though were some of the users - some were outright abusive.

Bahamut··on JIRA is an antipattern
On the flip side, this has a cost of creating siloing/low bus factor, so if you were to ever get in an accident that took you out, or you left the company, the company would be potentially completely screwed.
Bahamut··on I quit Instagram and Facebook and it made me happier
What would you define as a "real relationship"? Is texting someone once a month any different than commenting on things going on in their lives, or messaging them on [insert platform]? My view is no - a relationship, whether by social media, text messages, or shared experiences, does not make any other form invalid or less real. I have seen people fall in love purely from online interactions while playing games, or chatting in IRC - these relationships are as real as any other. One person's notion of relationships may be different than another's, and that's ok, but trying to say one's notion is more real than another is hogwash. Depth is not so easily measured here either - direct text messages can also be just as banal (or more) as social media interaction in developing relationships.

I still remember times before Facebook came to dominate social media. It was difficult to keep tabs on friends, and the barrier was higher to keeping in touch with someone you met casually in person, as there are a lot of people who are less willing to share phone numbers with people they just met - there is something intensely personal about phone numbers or similar to many people, which still holds today. I think many people under appreciate this, and the controls for managing the communication relationship social media gives you (or at least Facebook - Twitter's are garbage).

I use social media casually today - just Facebook and rarely Instagram, and post maybe once a day or every other day. I am in some FB group chats, all which could be text messages, but text messages aren't as robust of a medium (for example, location sharing in a group or easy searching of pictures people want to use to respond with).

Bahamut··on The Baseline Costs of JavaScript Frameworks
> And i haven't touched it after they switched to a new version, but in the old version they noticed state changes by contiously comparing all of your state. (so more state meant it would be slower).

Are you confusing AngularJS and current Angular? AngularJS is certainly wholly slower than React, but not Angular 2+.

Bahamut··on The Baseline Costs of JavaScript Frameworks
For all numbers excepting initial load, everything I've seen shows Angular is significantly faster than the rest - the difference is more pronounced with more DOM nodes. Angular also has the advantage of incremental update, although React will also gain that benefit within a year as well.

Note: I used to work primarily with Angular, but I currently use React since the coding style encouraged with React works better with the team I'm on & React is fast enough to us.

Bahamut··on The Baseline Costs of JavaScript Frameworks
One thing it should be noted with Angular is that there is currently work on a new renderer that should allow framework bundle size to be optimized with the whole framework being tree-shakeable.

I wonder how Angular would compare once that is done, as this has long been known as probably the main negative with Angular performance-wise, the initial load (but it should be faster than most of the rest once it does load).

← PreviousPage 6 of 34Next →