Sam

Sam

@samuelmaddock.com

Software Engineer @ Slack・Maintainer of Electron・NYC samuelmaddock.com

139 followers189 following66 posts

@ricky.fm is x_react_sources actively in use with fb source maps? I've been trying it out as a way to help automate react profiler traces to render as markdown, was curious if you know of any related work.

@juli.ee would it be possible to get a view of com.atproto.sync.listReposByCollection results on PDSls? it'd be nice to see at a glance with links to each repo, maybe with pagination too thanks for all of your work so far!

Sometimes I need to reverse engineer websites for @getmetastream.com My starting point is logging Object.keys(globalThis). Since JS objects retain the order that keys are set, the end of this list are the global variables set by the website. Helps with finding any initialized video players.

Found some lesser known links for folks deploying desktop apps on stores. Useful as "check for updates" actions.  Open the Mac App Store and check for updates macappstore://showUpdatesPage?scan=true 🪟 Open the Microsoft Store and go to updates page ms-windows-store://downloadsandupdates

@froggi.es I'm completely new to vulkan layers and came across your vkroots project. If I installed a layer on SteamOS, would it be able to overlay games? Or do I have a deep misunderstanding here?

Chromium devs are so quick to review small code changes, even from external contributors. I need to know how they managed that.

Many hours were required to find this one line fix. I'm glad I don't need to write multi-threaded code often in my day-to-day...

Do delegates feel natural in JavaScript? class Installer { constructor(delegate) { this.delegate = delegate } install() { if (this.delegate) { const event = new Event() this.delegate?.beforeInstall(event) if (event.defaultPrevented) return } } }

or should this always be handled by EventEmitter instead? class Installer extends EventEmitter { install() { const event = new Event() this.emit('before-install', event) if (event.defaultPrevented) return } }

Web store chrome extensions are .crx archives which are zips with extra metadata. That metadata contains a protobuf-encoded public key which is then hashed and set in the extension's manifest.json. This is what's used to generate a stable extension ID and what's missing from many other downloaders.

You are up to date.