Better HN
topnewbestaskshowjobs
Log inSign up

capableweb

37,790 karma · joined Sep 7, 2019 (7y ago) · 9,208 submissions

Curabitur pretium dui sit amet quam pharetra, at condimentum turpis auctor. Maecenas vitae varius sem. Sed vel ante massa. Nulla a leo est. Morbi quis pulvinar nulla, et imperdiet nibh. Curabitur varius felis tempor nisl vulputate, id accumsan libero placerat. Sed mi odio, auctor ac lacus vel, sollicitudin mattis dolor.
Submissions

comment 3y ago · link · parent

I think I already elaborated on why? A bunch of people take information they come across on the internet and think that's the only way of doing things, so if someone comes across the post, looks at the architecture they might think building it with so many components is a required thing, not just optional for really big projects.

I'm personally dealing with infrastructure at loads of different places, and the amount of engineers who over-complicate their infrastructure pains me, they all go for a distributed architecture before the products they are building even have any users, because they've read bunch of blog posts about building it that way.

It sucks to spend so much time and effort on maintaining and improving something when it's not really needed in the first place. Like using a Ferrari to deliver food in a traffic-heavy city, instead of just having a moped.

So basically, I want to save myself and others time.

comment 3y ago · link · parent

To me it's a bit worrying that someone who is still is a student, builds such a complicated and hard to maintain architecture (https://github.com/alexander0042/pirateweather/raw/main/docs...). Maybe it's complicated on purpose, to educate themselves on how to create infrastructure like that, but for a production environment, you want to keep things as simple as possible.

I'd have opted for a setup where basically every single "service" in that architecture diagram is one function in a monolith program. Easier to maintain, more performant, easier to deploy and basically better in every single way except you can't individually scale components. But at the scale that the project currently is, I don't think that's needed for a long time, nor is it hard to scale one machine if needed.

But again, if it's just a educational exercise in "web scale architecture", then it of course is OK. But I wouldn't want other students to see something like that and think that it's necessarily to create such a monster for a relatively simple "moving data around and wrangle it a bit" program.

comment 3y ago · link · parent

What is really want is a algorithm that does the opposite of what current social media does. "You liked this content? Here is some content that is on the opposite side of what you might like, just for you to discover new stuff", but that's less about regulation and legislation and more about companies willing to do something different than the rest.

comment 3y ago · link · parent

Most bank wires/ACH using USD I can belive, but you can buy/sell/trade/transfer in other currencies, which in fact, lots of parts outside of the US constantly does :) In fact, the second largest market in the world trades mostly in EUR.

comment 3y ago · link · parent

I have no hate for TikTok, I'm sure it's useful for many. But I tend to get quickly bored of echo-chambers (HN included sometimes), where if I like some content, doesn't mean I just want to see content like that.

I need to "reset" my history of YouTube sometimes after I "spend" watching 3-4 videos of some topic, and now my YouTube is overrun with just content related to that, instead of different topics.

TikTok is guilty of the same, where after using it for a week or two, I basically see no other content than content related to a couple of videos I watched longer than others.

I liked how the internet was before, where I stumbled upon content wildly different from each other, and could acquire new tastes, instead of just being served what the algorithm have decided I should surely forever like.

comment 3y ago · link · parent

Exactly the same arguments against TikTok can be made for basically any social media, "dumbing down the population". Only difference is what country's laws the company is regulated under, which hardly makes one better than the other.

comment 3y ago · link · parent

> The only semi-serious use of Twitter polls I've ever seen is stuff like "which game should I stream next". It's very obviously not a representative sampling of anything except your most engaged followers.

Unless you manage to achieve global representation, most polls work by taking a sample from a specific population. In this case, it usually involves a segment of your followers or, occasionally, a broader Twitter audience. However, it clearly does not include people who refrain from participating in random Twitter polls.

The polling conducted by your online newspaper represents a portion of their readers. When they perform on-the-ground reporting, the sample consists of people present at the actual physical location, and so on.

This is the reason we aggregate multiple polls to obtain global numbers because individual polls inevitably have a limited audience, one way or another.

comment 3y ago · link · parent

If it (probably) already works as-is, why not just use it? Why is it nicer with a "dedicated module" if using it from npm is the same? More work is more work, reducing maintainer work is something we should strive towards, rather than adding "just a little bit of work".

comment 3y ago · link · parent

Soft-serve is not really an alternative to GitHub, unless you literally only use GitHub for the git functionality itself, but then you could just use any Linux server + openssh + git to get basically the same functionality. But I see people tend to use GitHub for much more than just Git, for better or worse.

comment 3y ago · link · parent

> From what I can tell it's extremely difficult to do business without having anything you do touch something based in the US. IE if you do business nearly anywhere, Uncle Sam can (almost certainly) prosecute

If you're doing business in any way that touches people from the US (which certainly FIFA does, one way or another), then it's hard.

But for the rest of us, it's not really that hard. Everything the US has, there is a alternative for that hasn't anything to do with the US, from banking to hosting to productivity tools.

comment 3y ago · link · parent

I agree with you, as mention in another comment (https://news.ycombinator.com/item?id=35331199), that if you can cover all the cases with conditionals and you don't have nested states, don't use Statecharts. Just like distributed architectures are not for everything but more advanced use cases, so is Statecharts. It's a tool to help you manage great number of states, not just a couple.

comment 3y ago · link · parent

As a huge proponent of Statecharts, I agree. If what you're doing is really simple and only have a few amount of states (as conditionals introduce those states no matter if you use state machines, statecharts or conditions), it makes sense to keep things simple.

But once you start having much more than that, or nested states, Statecharts makes it really easy to build reliable, performant and easy to change flows.

comment 3y ago · link · parent

Statecharts are language-agnostic, whereas your proposed solution appears to be tailored specifically for TypeScript or other strongly typed languages. In this context, Statecharts offer a more versatile and generalized solution compared to your suggestion.

comment 3y ago · link · parent

Which really sucks and puts you off from getting more Apple devices if you're a person who slowly buys into the ecosystem rather than go all-in without testing things.

Personally, I was a fan of Apple laptops between something like 2010 - 2015, but after that I just couldn't deal with it anymore, as I had a Android phone and nothing else Apple.

Fast forward to 2019, Apple finally releases a phone that fits in my tiny hands, so I get a iPhone 12 Mini, thinking that the CarPlay experience will be loads better than Android Auto on a measly Moto G.

But holy smokes if I wasn't wrong, CarPlay is a UX disaster and I can't wait for the iPhone to break somehow or get too slow because of OS upgrades, so I can justify buying a new phone again.

Just the simple fact that a phone calls covers the entire screen (which I use for GPS) seems like such a simple use case that they somehow missed, that I just wanna bin the entire system and I'll never buy Apple hardware for daily use again.

I still have to use Apple laptops for software I release, but every time, I'm reminded how great the UX used to be, but how far they have fallen. Really sad to see. Windows is no better either, each version gets worse and worse...

comment 3y ago · link · parent

I'm guessing the 3-band was added way earlier when they accepted more code or as a test for the extensions in general, but I'm no OBS developer, I cannot really answer to that.

Pipewire effects for equalizer and so much more already exists (personally I use Easy Effects for that), and the people I know using OBS are kind of stuck with Windows because of other reasons. Also, it's nice to have everything you need in one package.

But, you're the author after all, you decide what you want to do :)

comment 3y ago · link · parent

Yeah, but there are lots of things that can be footguns if you use them incorrectly, that's simply a part of the job as a software engineer. Otherwise you could argue that `rm -rf` should be removed as it could potentially delete files if you're not careful, but I haven't seen anyone argue for that instead of arguing for "Do be careful when using rm -rf". Same goes for feature flags, and a ton of other things.

comment 3y ago · link · parent

Well, that would fit in with the usual "You don't need AI for that" as Firefox extensions are mostly (90% of them anyways) compatible with Chrome extensions, as both of them are "Web Extensions" as created by Chromium.

Also, someone correct me if I'm wrong, but I think even Safari uses "Web Extensions" at this point too, so write once, have extensions ready for three platforms. Obviously packaging is different, and they have some idiosyncrasies. But it mostly works alright.

comment 3y ago · link · parent

Yeah, I agree with you, bit nitpicky. I also agree that they shouldn't have an excuse, besides confessing their engineering standards are not up to the level of their ambition, which is why I never make anything in my infrastructure depend on anything GitHub, everything that I use GitHub for, I have alternatives setup for the inevitable ill-timed downtime I know will happen.

comment 3y ago · link · parent

It always bothered me that the "tutorial" (https://jsonnet.org/learning/tutorial.html) is using mixing cocktails as examples, rather than actual networks/infrastructure which is a much more likely use cases for using jsonnet (or, I'm much less into mixing than my fellow developers/operators).

comment 3y ago · link · parent

I corrected my comment, it's supposed to be "active" feature flags, so only one enabled one. Thinking is that once you've enabled one in production, it should be stable enough that you should be able to clean it up. Would still enable multiple flags existing so different features can be in progress (and locally you'd only have the one you're working on active).

comment 3y ago · link · parent

> I guess most frustrating to me was the request to format the code and fix the commit message as if it was on track, only to be rejected for "we don't want this in the first place".

Usually, those things are easy to check, almost a part of just triage where you try to cover lots of ground but just the surface. Takes small amount of time for the maintainer unless there is a lot of ground to cover obviously.

But unless they explicitly signal the change is wanted, I wouldn't (in the future) take that as a signal that the change in general is wanted.

As a tip, before trying to contribute any larger patches to FOSS, create a issue to ask if this is something they'd actually be willing to merge, if you chose to build it. Then you know for sure up front if it's worth spending time on.

> Plugins suck. There are a lot of people who will not bother to go that route. It immediately raises questions about what OS do they work on, do they cost money, how do I install them?

Personally, I appreciate the architecture of "small core - allow extensions" so I'm happy they don't expand OBS in that way.

As well, I'd appreciate it a lot if you made what you did into a plugin, better audio control is wanted by a large set of OBS and I know many do the piping outside of OBS to get a proper equalizer. So if you spend time on making it into an extension, I'm sure you'd find lots of people grateful for that.

comment 3y ago · link · parent

They are supposed to be removed quickly. The biggest issue I've seen with implementations of feature flags in products are that they are not removed quickly enough. They should be removed as quickly as possible, to avoid what you're saying. In some places, I've even advocated and implemented strategies for not considering something actually done until the feature flag has been removed. So it can be deployed and activated in production, but in terms of project management, the overall task of the feature shouldn't be considered done until cleanup has been done. This process has been the most successful.

Another strategy that kind of worked but not as well, is requiring the cleanup of the feature flag to happen in the next sprint. But it tends to be de-prioritized, and sometimes even pushed to the next sprint as other things are always more important.

Another strategy that I've discussed and thought about but never actually implemented or advocated for, is limiting the max amount of active feature flags in the specific project to N numbers (ideally 1). So if you want to activate another feature flag, you have to first cleanup the previous one.

comment 3y ago · link · parent

> Google homepage is basically never down.

The complexity difference between the Google search "app" (not counting the vast indexing infrastructure) and GitHub is also vastly different.

> AWS is basically never down.

Lol what? Have you used AWS?

> WhatsApp is basically never down.

Makes sense, Whatsapp always had a huge focus on reliable infrastructure, since day 0. Pays off I guess :)

comment 3y ago · link · parent

Obviously just an example, but even so, unless you already have the workflow established, writing human text describing something could be easier than manually doing it.

comment 3y ago · link · parent

The problem with that is that one is "smarter" than the other and getting the "dumb" one to jailbreak the "smart" one is much harder, than vice versa.

comment 3y ago · link · parent

If you are a software developer, which was the context here, chances are you are paid enough to have it considered a living wage if not more. Is that not the case?

comment 3y ago · link · parent

Yes, basically it can be extended to anything that allows scripting, which Inkscape does via "extensions". Someone will surely come up with something similar as this project but for Inkscape in no time :)

comment 3y ago · link · parent

It could also be that something like this is just another tool in the toolbox. Sure, you could spend time trying to understand Blender's Python API, but lots of Blender users are not programmers. It could be really helpful for them to be able to say "Place 10 spot lights at random position within the boundaries of Mesh 3 with random intensity and color" and just have that appear, rather than having to go looking for a plugin that does it for them.

comment 3y ago · link · parent

> I haven't seen anyone paid to pump gas in my country for decades?

Meanwhile, I've seen people at gas stations pumping my gas for me in plenty of countries, especially in South America. Some places in South Europe do it too during rush hour and at really busy gas stations in metropolitan areas.

comment 3y ago · link · parent

> What is any individual software developer supposed to do to prepare for that scenario?

Do what happened to countless of people in past that gets "automated" away or otherwise encounter shifting times in life, become unemployed until you find a different way of surviving.

The industrial revolution changed the life of a lot of people, making vast amount of people unemployed over the course of some decades. It's not hard to imagine that future changes will happen much faster, as everything happens much faster in modern times. So once it starts shifting, the effects will probably be greater.

But, where there is a will there is a way, and surely software developers would discover this as well if they ever find themselves unemployed because of a shift in the world.

1
626364
307