Better HN
topnewbestaskshowjobs
Log inSign up

makeitdouble

14,531 karma · joined Jun 2, 2021 (5y ago) · 5,907 submissions

Submissions

comment 4y ago · link · parent

Imagine in the current world that every other countries take the same approach and kick out that now hostile influence (basically banning Meta/Apple/Microsoft/Amazon). How would these companies look when limited to domestic market ? And is that really the world we want to live in ?

comment 4y ago · link · parent

I agree with the parent on the weirdness of how the problem is stated in the first place.

On your customer and card example, the issue is not message delivery order but processing order, or more precisely prerequisite satisfaction.

My first thought looking at it was to just store the data of any of the hooks coming in, check the prerequisites each time, and only process the whole when everything needed has arrived.

Trying to dictate order from the sender without any cooperation from the receiver seems like a fool's errand, as in any real world scenario where it really matters, the receiver will also want a way to check it actually received everything in order.

comment 4y ago · link · parent

I don't know for big instances of Laravel, for every deployment pipelines of Symphony I've seen were far from "Drop that file on the server. The end."

In the most primitive ways, you would at least do cache warming, which usually means "building" the app instance in a separate folder and swapping the active directory served by the web server. That's basically what a basic Capistrano deploy would do.

Nowadays I'd expect most shops to be using containers for PHP too, and that means building your container like any other language.

What I'm saying is, the days where PHP deployment was simple have been long gone, for at least a decade in my experience.

comment 4y ago · link · parent

> I've had multiple legal teams tell me that once they pay for something you need to keep everything. It's required to be able to mount a legal defence incase they want to do chargebacks.

Chargebacks are only actionable within a few months at most, so you could need to keep data during that period, but that would be short enough.

The GDPR requires for instance that you delete information from users that are inactive for a set of years (3 years ?). You wouldn't refuse to apply that on chargeback reasons for instance.

comment 4y ago · link · parent

For whatever reason I've been thrown into a lot of companies at that exact moment when "hardware is cheap" and "not my problem" approaches couldn't cut it anymore...

So yes, it's super painful, and requires a lot of change in processes, mindsets, and it's hard to get everyone to understand things will get slower from there.

On the other end, micro-services and/or multi-DB is also super hard to get right. One of the surprise I had was all the "cache" that each services started silently adding on their little island when they realized the performance penalty they had from fetching data from half a dozen services on the more complicated operations. Or the same way DB abuse from one group could slow down everyone, and service abuse on the core parts (e.g. the "user" service) would impact most of the other services. More that a step forward, it felt a lot like a step sideways and continuing to do the same stuff, just in a different way.

My take from it was that teams that are good at split architectures are also usually good at monolith, and vice-versa. I feel from the parent who got stuck in the transition.

comment 4y ago · link · parent

I don't know what's the complexity of your project, but more often than not the feeling of doom coming from hitting that wall is bigger than the actual effort it takes to solve it.

People often feel they should have anticipated and avoid the scaling issues altogether, but moving from a single DB to master/replica model, and/or shards or other solutions is fairly doable, and it doesn't come with worse tradeoffs than if you sharded/split services from the start. It always feels fragile and bolt on compared to the elegance of the single DB, but you'd also have many dirty hacks to have a multi DB setup work properly.

Also, you do that from a position where you usually have money, resources and a good knowledge of your core parts, which is not true when you're still growing full speed.

comment 4y ago · link · parent

There are real concerns about Tiktok and its influence, but that focus on an adversary and pushing a bi-polar narrative feels a lot more unhealthy.

Does Facebook/IG get a pass because they're domestic to you ? Are you also outraged when they set global limitations on issues that should only impact the US ?

To me looking at it as a "them vs us" matter just brings in too much tribalism that poisons the discussion.

comment 4y ago · link · parent

That’s an interesting point.

Up until now I feel we didn’t reach anything near that because in the generic case autoplay can be disabled (might be by default ?) in browsers, as it’s an overall obnoxious feature.

The case left are specific apps, and for Netflix or other traditional video streaming platforms, proving it’s against the user’s interests would be super tough (even proving it has addictive effects wouldn’t be enough, as the user could be willingly requesting these addictive effects)

Social media could be a separate case, as culturally we put it in a different bucket, but then limitations would probably only apply to specific demographics (basically kids younger than 13 or 18 ?) and clear those older on liberty of choice grounds.

I think the viewer would need to be directly losing money or being in physical harm to see any kind of regulation on these features.

comment 4y ago · link · parent

This is article is so hard to follow.

The very aggressive bits are linked to articles supposedly backing their point with more substance, but those are same level think pieces who reference other think pieces who are based on misconceptions, and we never hit any solid ground.

For instance:

> The videos are in autoplay and shown in an endless scroll. These are features known for triggering addictive behavior and there were legislative plans in the United States to ban them.

Following “triggering addictive behavior” goes to thenextweb.com’s rant on autoplay.

which posits autoplay is “hijacking your thought process”, with a link to a medium post

Which on autoplay, explains that “Another way to hijack people is to keep them consuming things, even when they aren’t hungry anymore”, linking that analysis on the age old debunked Brian Wansink‘s bowl of cereal experiment.

So many other of these very assertive declarations have 3 to 5 levels of redirection to finally hit some disappointing justification. The general message being vaguely consensual, it’s hard to see what this piece is actually bringing to the table.

comment 4y ago · link · parent

Yes, this is of course one of the saner options. It brings a few issues down the line if you intend to have a server component for synching, or plan to maintain the app for a long enough time and/or expand its features etc, as paid upgrades are a PITA in iOS. But it could make sense.

comment 4y ago · link · parent

> I promise I didn't have my expectations too high, I only had a few core principles

Proceeds to list 6 pretty high requirements.

The author’s not wrong, those are good requirements, but not to be expected from any standard app these days.

To dig on the first: “ Offline support”, this in itself requires a lot of work.

Going the technically easy way will often go in direct opposite to your business model (mobile ads or access info sales). Going for subscriptions or other mechanisms will have you do harder technical solutions, making that specific innocent requirement a decently high hurdle.

comment 4y ago · link · parent

>> No, since it puts the onus of their safety of the pedestrians. > This does not mean that it is not for their safety.

Imagine a car entering a shopping mall: it will go at a very slow pace as it’s in a place primarily for pedestrians, and hitting kids running around will be 100% the car’s fault it was going any faster.

Putting the burden on the car gives more safety to pedestrian. The reverse (putting the blame on the people for entering car’s way) doesn’t help in that respect.

PS: for instance entering train tracks is not “jaywalking”, and I think you’re focusing on a similar aspect, but for freeways and car dedicated roads ?

comment 4y ago · link · parent

This kind of tool needs context awareness to be useful.

After the first 30~40 times you’re asked if you want to delete these pods, solving the question coming next becomes automatic. If you’re in a “I’m on my dev env, nothing bad can happen” mindset, that prompt won’t get you out of it, it will just be a tedious step, we’ve seen that time and time again.

It becomes a lot more interesting if it can ask “you’re going to delete from the cluster prod, do you really want to ?” and only do so for production.

Same for “rm -f” really, if it can confirm before you’re deleting a tree of thousands of file, and not when it’s 3 empty directories you created 3 min ago.

comment 4y ago · link · parent

This kinda flies in the face people who don’t try to find deep meaning in their everyday life, accept it as it is and enjoy the best they can. This strategy usually comes with not getting too engaged and not getting hang up on small annoyances.

TBF the article is also looking at people chasing after a dream, so people living average and happy lives might not fit either.

comment 4y ago · link · parent

Hmmm…but then, do you personally do steroids ? Or do you directly know people doing steroids ?

It looks to me like most people’s knowledge of steroids come from pop culture/doping scandals and news report, and use in articles like this one.

comment 4y ago · link · parent

Slight OT, but I wish “on steroids” wasn’t used in serious publications to refer to improvements and overall positive evolutions. I know it’s colloquially accepted, but we also wouldn’t express someone being very focused as “being on Adderall”, or a very creative idea as being “on shrooms” in a scientific publication.

comment 4y ago · link · parent

Flickr is now independent, but it was part of Yahoo for so long I’d guess most people having all their photos in it probably used a Yahoo account. I’ll confess I tried accessing mine after a years long hiatus and it didn’t work (endless password resets)

On alternatives, which storage/sync and management service do you see working at the same level as Photos ? I’m genuinely curious and would move if it matches up (Basically, what is the Gmail->Fastmail like go to alternative for Photos ?)

Image identification looks to me like a very fringe use for a photo storage service, or perhaps you’re referring to searching all your photos for specific keywords ?

PS: Reminds me of the photos services curse from “The Prompt” podcast, where every time they’d present a competitive photo service, like Everpix, it would go out of business or something horrible happen to it a few months in.

comment 4y ago · link · parent

Answering a question I had looking at this amazing work, the data set has a heavy English influence, but they are aware of it and also worked toward mitigating the effect. From the source:

> This strategy results in a cross-verified database of 2.29 million unique individuals (an elite of 1/43,000 of human being having ever lived) among which 30% come from the 6 non-English editions of Wikipedia, a significant improvement over earlier works that have only focused on English Wikipedia only.

https://www.nature.com/articles/s41597-022-01369-4

comment 4y ago · link · parent

There's no replacement for Google Maps and Google Photos in the current world IMO.

That feels hyperbolic, but any alternative to Map that I've seen were either:

- strongly platform limited (e.g. only works on android/iOS, and you lose bookmarks, preferences, or even finding consistent info when using any over device)

- use inconsistent apps (e.g. OSM will have different clients on different platforms, which crosses the first point)

- be straight bad (e.g. Apple Maps in low population areas)

- have little to no third data integration ("what's the website of that business I'm looking at")

Photos is another can of worm, as outside of Apple Photos and Flickr every service gaining popularity just died a horrible death. Then Apple Photos is heavily platform limited, and Flickr isn't great for personal photo maintenance and sharing for many reasons, not going into the Yahoo part of it.

These two products have I think a stronger stand than Gmail or even Google Search, and they are the closest to someone's day to day reality.

comment 4y ago · link · parent

As weird as it feels, this might actually be one of the very few cases where platforms are willing to throw users under the bus for better ad money...

Youtube demonetizing creators with too aggressive stances is an example of that, but we also had Reddit banning whole subreddits when their sheer existence had a nefarious effect on the platform's ability to negotiate ads.

When the choice comes down to more active users but lower prices offered, vs less users and better ad prices, platform tend to go for the latter I think (4/5/8 chan being exceptions)

comment 4y ago · link · parent

> These kinds of issues should be solved on the backend. Rate limiting, pattern matching, etc.

This is a crazy hard problem that is plaguing the majority of our mainstream social platforms. Looking at Twitter/Facebook/Reddit etc. moderation+harassment is mostly solved by brute force community management, and is extremely costly, with a human component that is hard to ignore (Facebook moderators are plain miserable and prone to stay mentally hurt even after leaving the job)

This is where Nintendo decided to bail out of the problem altogether by blocking personal interaction by default on their online platforms. If they don't have the resources to do it properly, limiting the attack surface feels like a sensible strategy.

comment 4y ago · link · parent

Importing EVs to the US at any decent scale would be a big can of worm. At least until there’s serious US produced competition in that specific segment. Japan cars getting publicly bashed was 40 years ago; times have changed, but touching the auto industry is still a pretty emotional topic for a lot of people (coughTesla fanscough)

comment 4y ago · link · parent

The video and music industry has been screwing a lot of our digital lives with mandatory encryption and anti hacking/reverse engineering requirements just to sustain some of their business models. The abstraction layer is different than this, but god the irony.

comment 4y ago · link · parent

“civil time” is also a construction that is flexible in many ways, so an influencial group redefining it isn’t out of norm. To note, timezones were introduced for railway purposes, and some country play a lot with them.

For “midnight” being far from “the middle of the night”, that’s already a reality for many Chinese living far enough from Beijing, or god forbid regions where “night” doesn’t mean much for half of the year.

For all intents and purposes, if a formal definition of time isn’t practical people come up with their own ways.

comment 4y ago · link · parent

That’s only salary.

Bearing in mind if we’re going for 3x cheaper we’re not getting people that are super competitive on the global market:

Your other costs are not just lawyers: you’ll often need near perfect task definitions and acceptance criteria. That takes time (=money) and it requires a degree of upfront knowledge of the system that is way higher than if you’re working with devs you’re interacting with 6 times a day.

You’ll often realize that you messed up the specs on some edge case or they messed the implementation, and you get a redo a full cycle for the correction. And all that could be opportunity cost as well for your PO dealing with that team.

That remote team also probably won’t have the same access to your production than your local team for many reasons, including legal ones.

You’ll also have to adjust for timezones, regular trips etc. You then factor in the stress on wether your staff wants to babysit a remote team.

All in all, it’s not as clear cut as just stacking salaries, except if you’re IBM or Accenture, where the result doesn’t really matter much and the above quagmire is your core competency.

PS: hiring a $150k/year remote team is another story, of course.

comment 4y ago · link · parent

Where it really falls apart is that a restaurant has a predefined menu and no items are allowed to have unknown complexity (someone asking items out of menu just gets a “no”). Estimates are based on actual measures, not guesses.

There will be accidents, but those will be rare enough to not have to be planned for.

In that respect, a restaurant queue is a lot more akin to a factory, and is fundamentally different in nature.

comment 4y ago · link · parent

A real world example of the waiting to cook metaphor is PR review and client/QA validation.

Imagine you’re working on an integration project where you use an API provided to you by a third party, there will be a point where you coded a client, you made the calls, and you’ll need their validation before moving that specific task further. And when they green light your implementation, you send that to QA which will review your feature in their next batch.

If you consider your task completion to be “have the service integrated in production”, you have least two stopping points where focusing more on your task won’t help you go faster.

The optimal move is to plan for those and fill the gap. It becomes trickier when it’s unplanned: you were expecting for something to work, but you’ll need to wait for a bugfix that will only comes in X weeks, for instance.

comment 4y ago · link · parent

I went through the video. For the HP example, their core issue was a quasi infinite backlog because they would add to the pile regardless of their velocity.

This looks to me to be a problem that is orthogonal to doing tasks in parallel or not: in the single task a time model, the extreme case would be an employee stuck on a single task without any lever to unlock it. Both scenarii are a failure of task management, and I'm not sure one is obviously better or less likely than the other. However you organize your tasks, you still have to manage your flow in one way or another.

My argument is, the amount of work in progress depends on the quality of your tickets, and not much about wether you allow "pipelines" or not.

> they start switching tasks and increase the amount of work in progress, which leads to even more blockage

Isn't your issue that none of the things in your backlog are effectively doable without blockage, and deciding to stick to a single task forever, or switching to many other ones might not actually have any effect on the output ?

I saw an egregious example of that in a contracting team, where one of the dev's job for a week was to go division B and request they unlock him. The rest of the time he was working on his personal project and reported "preparing the requirements for the next tasks of the sprint".

On switching tasks, I think it gets a bad rap because the worst cases are very simple to visualize: it's a pile. The reverse being nothing, and "nothing" isn't as exciting. The line doesn't go up.

comment 4y ago · link · parent

It seems to me that actually, productive and predictable teams finish what they start.

Going through the whole explanation, the base assumption is that tasks are clearly defined, there is few surprises, task pipelines seldom break in the middle because of external factors. Which is the hallmark of a predictable dev environment and by proxy, a productive team.

All the team has to do to increase it output is stop doing the tasks in parallel. Conveniently, there is no real explanation of the status quo, teams must have been really lazy and couldn't think by themselves why they were doing so.

This really feels like one more motivational preacher trying to sell that one weird trick to solve all your problem.

comment 4y ago · link · parent

The "Virtual Trash Can" approach can be a middle-ground. You keep records, but regularly move them to a NAS or any other storage that isn't something you'd accidentally wonder into.

In day to day life these past record could as well not exist, but you still get to go look at them if you're willing to make the effort to do so. Also being willing to lose these items if something catastrophic would happen relief a lot of the archiving burden.

1
156157158
197