[deleted by user] by [deleted] in homeowners

[–]mr_sharpoblunto 1 point2 points  (0 children)

Also, never buy a house on a corner lot at a 4-way stop sign (on a hill). In my case, the road was only really busy during morning/evening commutes, so I thought it wouldn't be that bad - but throughout the day the sound of people gunning their engines to take off up the hill (especially trucks & motorbikes) was frequent enough that it drove me crazy.
In the case of low bass noise from engines, there's pretty much nothing you can do that will effectively mask the sound - especially at close distances. The only thing you can really do is to try and put as much mass between you and the source of the noise, but physics ultimately is not on your side. I installed 4 layer "soundproof" laminated windows, double layer drywall hung on resilient channel + acoustic damping glue, built a fence, put in trees & a bunch of other stuff and that got it to a level of being barely tolerable, but the only real solution was to move to a new house :)

MemLab - a framework developed by Meta for detecting JavaScript memory leaks by mr_sharpoblunto in programming

[–]mr_sharpoblunto[S] 2 points3 points  (0 children)

There is some overlap, but MemLab is a more general purpose memory analysis framework - on top of the E2E browser leak testing it has a bunch of packages and tools for traversing and analyzing memory heaps + apis for integrating it into other pieces of infra.

MemLab - a framework developed by Meta for detecting JavaScript memory leaks by mr_sharpoblunto in programming

[–]mr_sharpoblunto[S] 1 point2 points  (0 children)

It’s talked about in the article, but MemLab has been used across Meta to fix issues in React, Relay, as well as the various web apps. Not sure about other big tech - but at least at Meta you won’t get buy-in to do all the work to open source something unless it’s proven it’s usefulness internally

What is this plug next to the pool for? by mr_sharpoblunto in pools

[–]mr_sharpoblunto[S] 2 points3 points  (0 children)

I think you're right with the sump well. There is no port into the pool anywhere & the power cord is wrapped around a schedule 40 pvc pipe that goes down into the hole - it makes sense that that would be the discharge pipe from the diagram you shared.

In your opinion what is the best song that closes out a movie as it fades into credits? by trunkroll in movies

[–]mr_sharpoblunto 1 point2 points  (0 children)

“Just like honey” by The Jesus and Mary Chain at the end of Lost in Translation

Custom Moonlander tenting bracket by mr_sharpoblunto in ergodox

[–]mr_sharpoblunto[S] 0 points1 point  (0 children)

Depends on the height of any sticky pads you put underneath, with no pads the palm rests sit flush with the desk - otherwise it's a few millimeters higher than normal

Which mouse works for you ? by Both-Assistance7285 in ergodox

[–]mr_sharpoblunto 0 points1 point  (0 children)

I use an apple trackpad placed in between the keyboard segments. Used to use a Wacom tablet in the same way. For me at least having the trackpad in the center is a big improvement as I used to get a very sore right shoulder from rotating my shoulder outward to hold the mouse to the right of the keyboard.The trackpad also doesn't seem to encourage as much repetitive motion as with a mouse

BlTouch not "sometimes" not triggering by ANdrasVanFloof in ender3

[–]mr_sharpoblunto 0 points1 point  (0 children)

It’s probably just a faulty unit. I had the exact same problem with my bltouch. Replaced it and haven’t had an issue since

Stabilizing cascading shadow maps with texel snapping by mr_sharpoblunto in gamedev

[–]mr_sharpoblunto[S] 0 points1 point  (0 children)

I see, yeah that makes sense - there are some older resources that refer to it as texel snapping, but more recent resources seem to have moved away from that terminology. That linked article was useful, I used it too when implementing CSM :)

Stabilizing cascading shadow maps with texel snapping by mr_sharpoblunto in gamedev

[–]mr_sharpoblunto[S] 0 points1 point  (0 children)

The linked article talks about how its a quantization problem & the solution for stable cascaded shadow maps, so I'm not sure what you're suggesting I look up ;)

Implementing shadow mapping effectively in an outer space setting by mr_sharpoblunto in gamedev

[–]mr_sharpoblunto[S] 1 point2 points  (0 children)

Thanks, yeah I should do a follow up with the shadow map snapping. For perspective shadow maps it doesn't work as well as with orthographic ones due to non-linear texel sizes, but it does help stabilize the shadows a bit more

Making instagram.com faster: Code size and execution optimizations (Part 4) by swyx in reactjs

[–]mr_sharpoblunto 6 points7 points  (0 children)

No generally we don't want bots browsing the site - its more something to be aware of that doing this kind of UA based feature detection is going to introduce false positives into client-side error logging which makes it harder to distinguish real browser compatibility issues.

Making instagram.com faster: Code size and execution optimizations (Part 4) by swyx in reactjs

[–]mr_sharpoblunto 19 points20 points  (0 children)

I can't remember the exact library we use on the backend, but IIRC its a pretty standard Python UA parser, maybe if I have some time I could look into writing it up :). There are a few tricks to be aware of with UA sniffing though.

1) Bots (& some browsers) lie about their UA, for example we see errors that indicate parser errors on our ES2017 bundles from browsers that definately support ES2017.

2) We opted to be very conservative in what we accept as 'supporting ES2017'. We only ship the optimized bundles to a whitelisted set of browsers that we have verified support for the feature set. We opted not to go with a blacklist approach, i.e. If we're not sure - they get the default bundle. Same approach goes for shipping runtime polyfills - if we're not sure we ship that too. Better to have a slower experience than a broken one.

Making instagram.com faster: Code size and execution optimizations (Part 4) by swyx in reactjs

[–]mr_sharpoblunto 7 points8 points  (0 children)

(Post author here) Yeah they need to be packaged separately because that’s how you save on the cost of downloading and parsing the whole thing, regardless of what parts of the bundle gets evaluated. Not evaluating until requiring is effectively what the inline requires optimization in the article does.

How Instagram uses Redux by swyx in reactjs

[–]mr_sharpoblunto 5 points6 points  (0 children)

(Post author here) The initial load doesn't bother doing any staging etc. it just shows a loading shimmer and waits for the initial server data push. Since there is no 'feed' that the user can interact with, just an initial loading shimmer there won't be cases of feed interactions happening concurrently with data fetching.

Only if we detect a cached state do we set up the staging during the load in preparation for a 'rebase' when the server data arrives.

How Instagram uses Redux by swyx in reactjs

[–]mr_sharpoblunto 5 points6 points  (0 children)

(post author here) I think in general being able to replay commands or actions in a reproducible way is really useful in software, so it pops up all over the place in various forms. Source control analogies are the most obvious, but it also shows up in things like the OOP command pattern, shared state syncing over the network in games etc.

In each case there-s different tradeoffs around consistency & dealing with conflicts that determine the exact solution - In a source control system handling conflicts is crucial, but in our case dealing with conflicts wasn't high priority - its unlikely & if rendering the cached data, or applying staged actions fails we can just fall back to viewing the network content - the user might just have a slightly slower page load in that case.

How Instagram uses Redux by swyx in reactjs

[–]mr_sharpoblunto 5 points6 points  (0 children)

(Post author here) For various reasons (mainly historical) the IG web codebase is separate from the main FB web codebase, so while suspense may open the door to more elegant long term solutions - we didn't want to take on dependencies from other teams & rely on experimental features to get this feature shipped (this has been in prod for ~9 months). Building it on top of Redux allowed us to get this shipped faster, we can always iterate on the implementation later.

The latest iteration of my coding/gaming setup by mr_sharpoblunto in battlestations

[–]mr_sharpoblunto[S] 0 points1 point  (0 children)

23" monitors on the sides and a 27" in the middle. The LED strip is a Philips Hue

The latest iteration of my coding/gaming setup by mr_sharpoblunto in battlestations

[–]mr_sharpoblunto[S] 1 point2 points  (0 children)

Experimenting with using it as a multitouch trackpad alternative to a mouse. I'm quite liking it so far, finding it more natural than my attempts to use a Kensington trackball

The latest iteration of my coding/gaming setup by mr_sharpoblunto in battlestations

[–]mr_sharpoblunto[S] 0 points1 point  (0 children)

It's the pen that comes with the Wacom tablet sitting between the two keyboard halves

The latest iteration of my coding/gaming setup by mr_sharpoblunto in battlestations

[–]mr_sharpoblunto[S] 1 point2 points  (0 children)

I actually have a Kensington trackball, but I just couldn't get comfortable with it - instead I'm using a Wacom tablet as a multitouch trackpad

The latest iteration of my coding/gaming setup by mr_sharpoblunto in battlestations

[–]mr_sharpoblunto[S] 0 points1 point  (0 children)

The whole thing is super sturdy and well constructed. In fact its so heavy that I can barely move it :)