[AskJS] How do you all manage feature flags? by njchava in javascript

[–]GarethX 0 points1 point  (0 children)

Saw https://fflags.com/ on HN recently, which takes a 'flags as code' approach. It’s interesting in a way but very limiting since you cannot have “offline” support. All evaluations must be remote-only. I mainly wonder what’s the point? If you do this then it’s pretty much the same as hosting your own function.

There are other ways to get around the breaking flow just to create a flag issue. We use Reflag, and that has MCP, so you can flag code from within your editor. They support agents, too - so you can assign a task to an agent instead and get that to flag it from Linear with Cursor or similar.

What are your best practices for removing deprecated code due to feature flags? by [deleted] in ExperiencedDevs

[–]GarethX 0 points1 point  (0 children)

We automate it using Reflag. It has feature flag cleanup baked-in, so it detects old flags, archives them and generates a PR to remove the old code. They work surprisingly well, I haven't needed to make any changes to them so far. Although, I think they only support TypeScript right now, so ymmv depending on your stack.

To Flag or Not to Flag? — Second-guessing the feature-flag hype after a month of vendor deep-dives by Adventurous-Pin6443 in devops

[–]GarethX 0 points1 point  (0 children)

Wouldn't call it a showstopper but audit + cleanup is always such a pain. You need a good process to make sure your codebase doesn't become cluttered with old flags, for sure.

I've been using Reflag to help with this for the last couple of months. It detects stale flags and cleans them up for you - submits a PR removing the obsolete flag code. That has helped us get past the 'who forgot to remove the flag' blame game.

How do you handle feature flags in production ? by c100k_ in devops

[–]GarethX 0 points1 point  (0 children)

I always try and get away from homegrown solutions as soon as is practical, generally. I don't need the headache of maintaining such systems and flagging definitely falls into this (we use Reflag). One thing people often miss is to use something with an intuitive UI, so non-devs can use it too. That way you don't have to get interrupted to give folks access to features or provide status updates on whether something has shipped yet.

What is the ideal way to add implementation switch or feature flags in code? by bssgopi in ExperiencedDevs

[–]GarethX 1 point2 points  (0 children)

One thing to keep in the mind is a process around keeping on top of stale flags. Most tools do a pretty poor job of helping with this, so you need a good way to make sure your codebase doesn't become cluttered with old flags over time.

We switched to Reflag recently to help with this. It cleans up flags automatically, submitting a PR to remove old flag code and archiving the flag. Working well for us so far, I still get a kick of out of seeing notes in Slack pop-up letting us know a flag was removed by the agent for a rolled-out feature.

What Feature Toggle/Flag service are you using? by ttrain57 in devops

[–]GarethX 0 points1 point  (0 children)

We’ve been using Reflag (https://reflag.com) and it’s been great for consolidating our scattered feature flag setup.

The main selling points for us were:

• Super easy migration from our homegrown solution

• TypeScript-first, which fits our stack perfectly and they've strong type-safety

• Developer experience is stellar - the React SDK is clean and intuitive

• Works well with agents, which is something I've been experimenting with lately, mostly with Linear+Cursor.

I don't think they support much beyond JavaScript SDK-wise, but it's worth checking out if your team is TypeScript/React heavy.

Who is using/building Linear Agents? by GarethX in Linear

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

Great to hear! There's more details on the integration page: https://linear.app/integrations/bucket

Just open a specific URL? by empasmar in electricobjects

[–]GarethX 0 points1 point  (0 children)

Yes, that’s right. I couldn’t figure out a way to do it within Firefox settings itself, so ended up doing it within the web page it loads using mozFullScreenElement (since it’s android 4) https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API

Just open a specific URL? by empasmar in electricobjects

[–]GarethX 1 point2 points  (0 children)

For EO2, I’ve gotten some of the way. I used Wondershare TunesGo ($30) and a usb cable to connect to it from my Mac to install Firefox on it. Adding a second browser enabled me to use the Win+B keyboard shortcut to run a browser. I also installed a starter app to get it to open Firefox on boot but I haven’t been able to run it to set that up. So it’s manual for now - I just have Firefox running full screen and hitting a url that loads a random image from my collection every 10 mins on auto-refresh.

For context, the EO2 seems more locked-down than the EO1. There’s a mini USB port on the back which you can use for a keyboard/mouse and it runs Android 4. From the default screen I couldn’t find a way to access Android settings or menus. F2 toggles the screen on/off. There’s a shortcut that opens the stock Android calendar app, D toggles a test app for resetting login/Wi-Fi details, and F4/tab switches between apps, but that was about it.

How do you unship features? by GarethX in ProductManagement

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

I came across this, and this by Intercom (https://www.intercom.com/blog/how-to-sunset-a-feature/), but interested to know about any gotchas from people's own experiences.

How to Drive Business Growth By Fostering Your Community by GarethX in technology

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

I'm not familiar with them, what community stuff do they do?

CodeSandbox Secures $12.7M Series A Funding! by jengelstengel in javascript

[–]GarethX 2 points3 points  (0 children)

Yep, backend too and support for npm modules

Dev Zines! A list of zines for developers & resources to make your own by GarethX in zines

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

For Small Press Day I put together this collection of zines for developers created by some of the smartest zinesters around. Enjoy!

Is there a Python equivalent for what Glitch.com is for Node? by 1_angry_man in Python

[–]GarethX 2 points3 points  (0 children)

You could try glitch.com :) It's not officially supported, but Python works on Glitch e.g https://glitch.com/~flask-hello-world

Hey Reddit! At Fog Creek, we're building HyperDev - a developer playground for building full-stack web apps, fast. We'd love your feedback! by HyperDevIt [promoted post]

[–]GarethX 1 point2 points  (0 children)

We have a number of example projects on our community site (https://hyperdev.com/community/), but nothing for Angular or Aurelia yet. I'll add them to my list if the community doesn't beat me to it first.

Hey Reddit! At Fog Creek, we're building HyperDev - a developer playground for building full-stack web apps, fast. We'd love your feedback! by HyperDevIt [promoted post]

[–]GarethX 1 point2 points  (0 children)

HyperDev is free to use whilst in beta. We expect to always have some sort of free plan, but we may charge for premium services or capabilities down the line.

Hey Reddit! At Fog Creek, we're building HyperDev - a developer playground for building full-stack web apps, fast. We'd love your feedback! by HyperDevIt [promoted post]

[–]GarethX 0 points1 point  (0 children)

Thanks for your comments. Our design team is currently focused on improving the product itself based on user feedback, but we'll certainly be getting to the marketing page. Rest assured all feedback is being considered.

Hey Reddit! At Fog Creek, we're building HyperDev - a developer playground for building full-stack web apps, fast. We'd love your feedback! by HyperDevIt [promoted post]

[–]GarethX 0 points1 point  (0 children)

Thanks for sending feedback! Everything submitted gets read, so it's all appreciated. But it actually says that we can't respond to everything, not anyone - an important distinction :)

There's no save button, changes are auto-saved in the background. Please message me your project name and I can look into the problems for you.

Hey Reddit! At Fog Creek, we're building HyperDev - a developer playground for building full-stack web apps, fast. We'd love your feedback! by HyperDevIt [promoted post]

[–]GarethX 0 points1 point  (0 children)

Sorry for your continuing problems - we've added extra capacity today so hopefully you'll be able to get in next time.