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

Good lord, I can only imagine the wasted electricity.

  Location: Pittsburgh, PA, USA
  Remote: Yes
  Willing to relocate: Not likely, but would consider remote positions in Canada (I am a dual citizen) and USA and hybrid positions in Pittsburgh
  Technologies: Java, Typescript, Angular, SQL, NoSQL, PHP, Python, CSS, HTML
  Résumé/CV: https://docs.google.com/document/d/19-JBiTUOvajWGmigGGf3BKkf_I4x5SnWS6JWEqRkLxg/edit?usp=sharing
  Email: my first name at my first name my last name dot com
Evaluating options after a reorg at Google, where I have been an Engineering Manager for about five years, and a full stack web app developer before that. Prior to Google, I worked at various sizes of startups from 4 to 200 employees, and have freelanced as well. Would consider Engineering Manager, TL, and Senior / Staff+ Eng positions.

> Everybody will slowly move to "web only" as 30% would kill their ability to compete with anybody else.

Frankly, yes, please. I mean, I'm biased as my whole career is in web app development, but there are so many things these days that do not need a whole native app. They're just communicating with a server backend somewhere, using none of the unique native functionality of the phone (much of which is available in browser APIs these days anyway). I can block ads in a web app much more easily. It's much harder to do customer-hostile things like block screenshots in a web app.

Native apps definitely have a place, but I think they're very overused, mostly for reasons that benefit the business at the expense of the customer.


Apple makes sure it's not practical.

You still can't have a "share to" target that is a web app on iOS. And the data your can store in local storage on safari is a joke.

Of course, forget about background tasks and integrated notifications.

In fact, even on Android you miss features with web apps, like widgets for quick actions, mapping actions to buttons and so on.

And no matter how good you cache things, the mobile browser will unload the app, and you will always get this friction when you load the web app on the new render you don't have on regular apps.


Service workers solve the cache issue; web apps can run permanently offline after initial load. You may be a bit out of date on the state of the web.


No, I use them but loading and unloading the app in the tab still happens when the browser flushes the app from memory because the OS killed it or the browser eviction policy hits.

This loading is not nearly as seamless as a regular app starting back up.

For a regular app, you have the app loading, and the os cache helping with it. If you do your job half correctly, it loads as a block almost instantly.

For a web app you have the web browser loading, the the display of the white viewport in a flash, then the app loading in the browser (with zero os cache to help with so it's slower). It needs then to render. Then restoring the scroll (which is a mess with a browser) and the state as much as you can but you are limited with persistence size so most content must be reloaded which means the layout is moving around. Not to mention JS in a browser is not nearly as performant as a regular app, so as your app grows, it gets worse.


> I think they're very overused

I disagree, native apps on iOS have important abilities that no web application can match. The inability to control cache long-term is alone a dealbreaker if trying to create an experience with minimal friction.


Service workers allow you to control cache in web apps; you may be a bit out of date.

There are hardware APIs for some stuff that only works in native (cors, raw tcp), but 99% of apps don't need those.


I think the parent may be referring to the fact that safari/webkit will evict all localstorage/indexeddb/caches etc after 7 days of not visiting a site. And apparently this now extends to PWAs making it a pretty big blog to building any infrequently accessed PWA that needs to persist user data locally.

I store my data in the service worker cache, so I guess I'm immune to this issue

Those same elevated controls are used to steal PII and sell to data brokers. Again, it's the companies that are trying to force apps on their users. If it were genuinely a much better UX, they wouldn't have to do that.


I don’t think you are correct, but I could be wrong. For example, can you replicate the functionality of TikTok - autoplay unmuted videos as the user scroll down to new videos? It’s the experience that the user expects.


I've probably deleted 15 apps from my phone in the past year as I steadily move over to the web for everything.

My chat agent, file transfer tool, Grubhub, Amazon, YouTube, news, weather are all deleted in favor of a set of armored browsers that suppress the trash and clean up the experience. Its been an amazing change, as those companies no longer get a free advertisement on the application grid of my phone, making my use of them much more intentional.


Sure, once the user interacts with the first video.

If third party native apps were installed and run without user interaction the same as cross-origin redirects, I would expect the same limitations with native apps.


I use FB via my web browser (Firefox on Android) and when I look at Shorts, it has this exact functionality. Web browsers on mobile can do this, clearly.

The Android Browser isn't as crippled as the iOS one. Watch a full screen video on Safari and tap a few times on different places on the screen and you will get a notification about "Typing is not allowed in Full-Screen" or some other nonsense

Yes I literally worked on a PWA with this exact feature.

I believe you can see it working on TikTok web as well.

You just can’t have the first video unmuted on initial load, although I wonder if this can be relaxed when user installs a PWA.


I'm sorry but why do you think this can't be done in a website?


As a user please for the love of god to not make me use a stupid mobile browser for everything. Native apps are so much better.

> AI doesn't need to drive a tractor. It needs to orchestrate the systems and people who do.

I've been rather expecting AI to start acting as a manager with people as its arms in the real world. It reminds me of the Manna short story[1], where it acts as a people manager with perfect intelligence at all times, interconnected not only with every system but also with other instances in other companies (e.g. for competitive wage data to minimize opex / pay).

1. https://marshallbrain.com/manna1


Yeah I came here to post this. This is the other thing we're going to see. And it doesn't have to be perfect to orchestrate people, it just has to be mediocre or better and it will be better than 50% of humans.


Big companies would outsource this position within a year, I guarantee it. It's highly measurable which means it can be "optimized".


It's not that simple. I'll point you at this Harvard Law Review article[1] to start but shareholder value is not the only consideration for executives and doesn't even need to override.

1. https://harvardlawreview.org/print/vol-137/will-the-real-sha...


I dread the day that Logitech kills the servers for Harmony. If they don't release the IR code database, they're going to have a lot of people (myself included) pretty annoyed.

(To be clear, they still work today if you can get a second hand remote / hub.)


As someone who works in this industry and has access to commercial HDMI debugging equipment, I can’t agree more.

I will use Harmony for my home setup until it no longer functions.

The horrors I have seen related to CEC and ARC are something else.


I also love the Harmony remote in my living room. It's imperfect, but it's plenty good enough. It flows well and works predictably. It's easy to reconfigure.

And no matter what bizarro-world co-dependent cacophony of AV gear I manage to pile up together, any person can pick up the remote and watch TV or play a game or whatever.

I will be particularly unhappy when Logitech finally pulls the plug on Harmony servers.

At that point, I'll definitely need something different.

But IR codes are only part of the puzzle. And that is perhaps the easiest part to solve: We've already got lots of databases with IR-stuff available. There's databases focused on RC5, and the sleepy LIRC project, and some other things (all of which tend to be very Old Web in appearance).

License-permitting, it's simple enough to use this work as a foundation onto which newer codes can be placed.

That just leaves making the Harmony hardware interface work (hah, hahah -- and it's a dead-end anyway), or developing a new open-source remote to rule them all (which actually might not be too terrible of a task).

That all covers the first 90% of the problem.

The remaining 90% of the problem is just creating software that has a usable UI and actually works.


Having just swapped to a new TV on my Harmony setup I was concerned if it was still going to work. Lucky me, it did.

I really REALLY want someone to manufacture the thin harmony RF remote with a simple receiver puck with an open firmware. That's all we'd need because the HA crowd would be all over it and have it doing anything you want.


Assuming ir means infrared, you could get one of these (or any ir transceiver) and decode the signals and use it or whatever to send them out if your $thing dies.

https://www.athom.tech/blank-1/tasmota-ir-controller


Anecdotally as someone in a large tech company, fairly common and much easier to get than a lot of visa classes. But then, you have to be Canadian or Mexican (and the Canadian one is generally easier).

Also keep in mind that it's a non-immigrant, non-dual intent visa, so if you end up wanting to stay, you'll need to adjust to another class at some point.


I'm assuming good faith debate against my own judgment, but in case anyone is confused, here's your sign:

1st Amendment:

"Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the Government for a redress of grievances."

Read that carefully and note that the word "citizen" is nowhere to be found.

Next, some may argue that "the people" inherently represents only citizens. Jurisprudence has generally accepted that phrase to mean everyone, including illegal immigrants, but it depends on the surrounding context[1]. The idea that the Bill of Rights applies only to citizens, though, doesn't match any court interpretation of which I'm aware.

1. https://firstamendment.mtsu.edu/article/aliens/


Executive orders cannot overrule the Constitution.

14th Amendment:

"All persons born or naturalized in the United States, and subject to the jurisdiction thereof, are citizens of the United States and of the State wherein they reside."

There are rumblings about "subject to the jurisdiction thereof" somehow excluding folks based on their immigration status, but frankly, the meaning is clear, and jurisprudence recognizes this. The jurisdiction carveout is for international diplomats, i.e. people who are literally not subject to US law. Immigrants, even illegal immigrants, are subject to US law. Stating otherwise would have vast repercussions.


> Executive orders cannot overrule the Constitution.

And I would hope this is a fairly universally held position, not so partisan. Today one side might cheer an executive order overriding the 14th amendment, but how will they feel if the next administration decides to pull the same stunt with the 2nd?

We don't want to go there. There are already some states experimenting with doing end-runs around the Constitution with their own civil laws, and for similar reasons I would expect rational people to want that effort to fail.


>> Executive orders cannot overrule the Constitution.

> I would hope this is a fairly universally held position, not so partisan.

I agree. I think the constitution limits both the executive and the legislative branches.

> how will they feel if the next administration decides to pull the same stunt with the 2nd?

The 2nd amendment has already been overridden by federal laws without a constutional amendment.

The 2nd used to mean that the states has a right to let their citizens arm themselves privately with military weapons. The federal government was forbidden by the 2nd to interfere with this.

I'm from Europe and fine with the very restrictive licensing we have here.

But it looks very shortsighted to wildly re-interpret the constitution far outside of the original meaning, instead of passing new amendments.


> The 2nd used to mean that the states has a right to let their citizens arm themselves privately with military weapons

In particular, at the time that it was written, it meant arm themselves with military weapons for the purposes of military action. That's what the contemporary use of the term "bear arms" was understood to mean. Try to find any mention of self-defense from back then. It wasn't what they were thinking about.

Or look at this earlier version: “A well regulated militia, composed of the body of the people, being the best security of a free state, the right of the people to keep and bear arms shall not be infringed, but no one religiously scrupulous of bearing arms, shall be compelled to render military service in person.”

That conscientious objector clause at the end certainly gives some context to the discussion.

The modern interpretation of the second amendment is very different.


> In particular, at the time that it was written, it meant arm themselves with military weapons for the purposes of military action. That's what the contemporary use of the term "bear arms" was understood to mean. Try to find any mention of self-defense from back then. It wasn't what they were thinking about.

That's what I meant too. I didn't bring up self-defense, did I?

The 2nd amendment protects the states' right to build up their own state militias by allowing their citizens to arm themselves with military weapons. It forbids the federal government from interfering with this.

> The modern interpretation of the second amendment is very different.

Yes. The federal "assault weapons ban" is completely incompatible with the 2nd amendment.

This was pushed through without a new amendment. Instead people used linguistic acrobatics to re-interpret the meaning of the 2nd amendment.

It would have been a lot easier today to shut down any attempts to re-interpret the 14th amendment if we hadn't started down this path with the 2nd.


Thanks for the detailed answer, I think that'll be a relief for many. However, would you say this still is a volatile situation for people who are facing this issue? Are the rulings _final_ on this? Or is there chance of people getting stuck in limbo?


> Thanks for the detailed answer, I think that'll be a relief for many. However, would you say this still is a volatile situation for people who are facing this issue? Are the rulings _final_ on this? Or is there chance of people getting stuck in limbo?

No, rulings are not final. SCOTUS could and very well may disagree with more than a hundred years of jurisprudence and overrule e.g. US v. Wong Kim Ark[1], enabling much easier denaturalization by the federal government. Here's an example article from a right-wing think tank about why they believe SCOTUS should overrule Ark[2].

1. https://www.oyez.org/cases/1850-1900/169us649

2. https://americanmind.org/features/the-case-against-birthrigh...


> 2. https://americanmind.org/features/the-case-against-birthrigh...

That seems like a very good demonstration of the pitfalls of originalist interpretations of the Constitution. Even then, the argument comes off as extremely weak. And it doesn't even begin to try and address the consequences of reinterpreting the meaning of "and subject to the jurisdiction thereof".

Are conservatives envisioning a new class of slaves? People born on US soil who have none of the protections of the Constitution? Even if that is not the goal, it's not hard to imagine that there would be far-reaching consequences from deciding that the Constitution was not a limit on the behavior of government, but in fact only applied to citizens. What a massive bump in power for the bureaucrats in DC.

Heck, we could just snatch people off the street and declare they cannot prove they are a citizen therefore they have no Constitutional protections. No right to due process so they can prove they're a citizen, nothing like that. Better plan on carrying your passport at all times (and hope it doesn't get ... lost).


> Heck, we could just snatch people off the street and declare they cannot prove they are a citizen therefore they have no Constitutional protections.

I'm not sure if you intended this as a joke, but this is happening now, even if you do have proof of citizenship on you[1]:

> Congressman Bennie Thompson, ranking member of the House Homeland Security Committee, reported that “ICE officials have told us that an apparent biometric match by Mobile Fortify is a “definitive” determination of a person’s status and that an ICE officer may ignore evidence of American citizenship—including a birth certificate” when the app says a person is undocumented.

1. https://www.aclu.org/news/privacy-technology/ice-face-recogn...


Those words in the Constitution are just words. They can be interpreted away by the Supreme Court.


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

Search: