Hacker Newsnew | past | comments | ask | show | jobs | submit | ris58h's commentslogin

> Dynamic Programming is not Black Magic

But who said otherwise?


The No True Scots Straw Man?


> It's fascinating how phones have come full circle.

Except they didn't. How many phones with keyboard are there?

Edit: obviously I'm talking about popular ones.


I'm not an Android expert but when I click a link in an email it opens the preview via Firefox (I've set it as the default browser). Is it another thing?


That's a feature called Custom Tabs. It's essentially a small barebones Firefox app and yes it is using Gecko.

The parent poster is talking about system webviews. They're used when any app wants to show web content embedded inside their apps, and yeah there's no Firefox option for those.


Android allows for Gecko web views (1) and Firefox Custom Tabs. It’s just that the Chrome Webview is available by default and does not need to be embedded, thus reducing app size and load times.

(1) https://mozilla.github.io/geckoview/


Not strictly related to the current thread but I used apps (now uninstalled for that specific reason) that insisted on trying to open Chrome's Custom Tabs and just crashed if that wasn't possible; never found a way to redirect those that didn't require rooting.


LinkSheet [1] can do that. It's a small app that you set as the default browser and shows a prompt when you open a link to allow you to choose what to do (eg. open in browser, open in app, share link, remove tracking URL parameters, etc.).

If you don't care about any of the extra functionality, you can configure it to always open your preferred browser and convert Custom Tabs intents to regular ones. No root access required.

[1] https://github.com/1fexd/LinkSheet


For security reasons I'm happy to accept that compromise. Google is doing a good job of keeping WebView updated.


The buttons have a tooltip with a short explanation.


Which are not visible on a smartphone, and IMHO should appear right away without having to hover anyway.


Thank you for sharing this feedback. I have updated the implementation and added a '?' button now that can be pressed on a smartphone to bring up a help screen. The help screen has brief descriptions about each command.


You should add 2017 in the title.


yeah I got confused seeing this on the top. in my head said "what is this, 2012?". Am I wrong this existed way before 2017?

edit: I am correct, it is much more old. https://github.com/heroku/12factor/graphs/contributors


First commit was 2011.


The 12 factors go back even further, to Joel Spolsky's "Joel Test" in 2000:

https://www.joelonsoftware.com/2000/08/09/the-joel-test-12-s...


That's a rather different set of 12 factors.


If a text editor is enough for some programming languages it doesn't mean that the editor is an IDE.


It should be like that but in practice sometimes other team just too busy to implement required feature. I can say my PM that we have to wait for a month but in reality I will have to implement it myself.


> There should be maybe one meeting

Oh sweet summer child


I do not like appeal to authority either. But based on my experience, most of these issues were resolved in one to two meetings (I said maybe one, after all).

The team that needs data goes to the team that has that data and says "can you make an API that vends the data that I need?". Then they make it. And then maybe there is another meeting with a follow up, or perhaps an email asking for the data to be presented slightly differently.

But if you come to a team with a good use case and some examples, it shouldn't be too hard for them to create an API that vends the data appropriately.

This of course is all predicated on a good microservices architecture where you already have systems in place to handle API discovery and communication between services and proper data separation.


I'm willing to bet you do not know who you replied to. Their resume is more impressive than most.



your "argument" was literally just telling the person that they were naive for thinking things could ever be handled by one meeting.

turns out, they inarguably have a whole lot of experience at high levels in the biggest companies in the world. Either they're straight up lying, or it is in fact possible to resolve things with a single meeting. Why wouldn't that be the case?


I can tell you many other wisdoms: code should be tested, code shouldn't contain bugs, everything should be done before deadline, etc.

The thing is in reality it's not that easy.

> Either they're straight up lying, or it is in fact possible to resolve things with a single meeting.

Something can be done in a single meeting but not everything. But you gave me only two alternatives without anything between so there is another useful link for you https://en.m.wikipedia.org/wiki/False_dilemma


oh sweet summer child; have you not heard of the fallacy fallacy?

snark aside, just because a logical fallacy exists in an argument, it does not mean the argument is untrue. My experience echoes jedburg's - services should maintain their own datastore and provide api access. This allows them to be decoupled and allows the service to alter their datastore as needed. When multiple services leverage the same underlying datastore, things can get overly coupled. This becomes increasingly important as organizations grow because the coupling means more overhead communicating and aligning around changes.

Jedburg is an expert because he has seen this happen in multiple companies. I have too, but I don't have the speaking/consulting breadth of experience that they have. Credentialing and appeals to authority work because we are squishy humans and we can't verify everything so we lean in on others. That does not mean that authorities are always right, but when their experience and advice mirrors other's experience and advice, there is something to it.

And for the record, in public companies (two of them), I have exactly seen this play out: a well defined api that does not allow others to muddle in their datastore leading to _single_ meetings where new functionality is discussed and agreed upon and later implemented. I have also experienced the pain of multiple teams sharing a datastore when the datastore now needs to be altered which led to dozens of meetings across several teams and a rollout plan that was measured in months and quarters due to coordination needs. I can firmly say that the latter is a much harder (and expensive!) problem to solve in each case I've experienced.


I haven't argued with encapsulation part so I don't know why you spent time writing this and accusing me. You should read carefully.


Totally agree. I don't see how microservices would solve this. Also monorepository doesn't mean that service is monolith.


You (correctly) assumed that it's a monorepo, by the way. But yeah, you're being reductive overall. It's not a "microservices vs monolith" debate. I was using this example to show that people can fuck up any model.


I agree that devs can and regularly do fuck up anything they touch.


Blame extension devs not Firefox. I agree on the video performance though.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: