Better HN
topnewbestaskshowjobs
Log inSign up

programmarchy

1,892 karma · joined Apr 15, 2012 (14y ago) · 1,207 submissions

Submissions

comment 4y ago · link · parent

There’s always going to be a performance penalty for React Native applications because of the JavaScript bridge, and on iOS you’re giving up ARC memory management for your app logic. For basic stuff you can write it off, but doing anything cutting edge like AR, custom graphics drawing, custom text layout and input, etc. is off the table. Even picking up a new iOS feature (e.g. focus filters) is a pain because you need to maintain a layer of bridge code, or wait for a third party module to catch up.

One somewhat direct comparison is Discord (RN) vs Telegram (Swift) on iOS. Discord has put a massive engineering effort into their app but switching channels still often feels glitchy and sluggish whereas Telegram’s layouts snap into place instantly. Telegram feels more solid, and it also properly wires up all the little iOS features like haptic feedback, pull to refresh, etc. whereas Discord mutes all of that and feels less lively.

Regarding constraint-based layouts, they can actually be much simpler in many cases because they help you avoid deep layers of nesting. They also ensure consistency (leading and trailing margins, safe areas, etc.) Again, trade-offs that deal in performance and uniformity with the platform.

For CRUD type apps, it probably doesn’t matter. But like I said those probably aren’t the types of apps native developers would be most interested in building.

comment 4y ago · link · parent

I wouldn’t call Swift (or Kotlin) antiquated. I’m sure it’s easier to hire JavaScript developers to hack on React Native because the talent pool is larger, but I’d wager your app quality will suffer. Depending on the app, sometimes a first class user experience just isn’t a high priority, in which case native-focused developers aren’t going to be attracted to working on it.

comment 4y ago · link · parent

Perhaps they should've taken more IMF / World Bank loans instead to reduce the majority of their population to poverty and allow multinational corporations to steal their natural resources.

comment 4y ago · link · parent

You might want to check your state laws, too. DIY for mounting the panels is one thing, but tying into the grid is another, because you need to set up backfeed correctly otherwise you're putting linemen at risk. If you already know how to do all of this correctly, then maybe you could just get your electrician license ;-)

comment 4y ago · link · parent

Okay not bad, but can you implement Doom in MySQL? ;-)

comment 4y ago · link · parent

I have to disagree with the alt-text. (For me it says, "In actual reality, nobody cares about his secrets.") It's flippant and out of touch. Because somebody does care about his secrets, otherwise mass surveillance wouldn't have reached totalitarian levels along with privacy becoming increasingly criminalized. So the more resource-intensive using the "wrench" is, the more privacy is protected.

comment 4y ago · link · parent

Looks like Supabase does support edge functions now.

I've inherited a Parse codebase in the past, and thought it was pretty gross. You're stuck building with their ORM abstractions, so it hurts when you need to do something complex. I view Parse as Facebook abandonware that's been salvaged by a community of developers who need to maintain legacy apps on life support. I think it'd be unwise to start a new project backed by Parse.

Having to deal with one-size-fits-all database "adaptors" for either Mongo-flavored or Postgres-flavored Parse is limiting, whereas having direct access to Postgres is a huge benefit of Supabase.

With Supabase, you can leverage all of the goodies that Postgres has to offer, which is exactly what I want as a developer. Even something as simple as writing custom SQL is a well-defined operation within the Supabase ecosystem, whereas with Parse you're in undefined glhf territory. Add that to first-class support for realtime updates, row-level security, and their other features, and Supabase comes out way ahead in my opinion.

comment 4y ago · link · parent

The comic proves the parent's point. Drugging and hitting people with a wrench (i.e. torturing) to extract information is exactly what police states do.

comment 4y ago · link · parent

So should the authors of the anarchist cookbook or 2600 magazine be charged with crimes also?

comment 4y ago · link · parent

Low bandwidth for consuming, but very high bandwidth for publishing.

Takes way less time to demonstrate something in a video than write up a blog complete with code samples, etc.

comment 4y ago · link · parent

According to Wikipedia [1] there's actually a term for this -- "cybermunch".

[1] https://en.wikipedia.org/wiki/Factitious_disorder_imposed_on...

comment 4y ago · link · parent

Was curious about the article, so searched for it. Pretty sure this is it: https://steveblank.com/2009/12/21/the-elves-leave-middle-ear...

comment 4y ago · link · parent

Could be an enormous opportunity for a US-based TikTok clone to thrive.

comment 4y ago · link · parent

Would be incredible useful if this could generate HDRIs.

comment 4y ago · link · parent

Ah right, must be the topology. Brilliant insight. Wake me up once people start voting for California with their feet again.

comment 4y ago · link · parent

They are the head of oil and gas in the state so very likely. The history is complicated to say the least. They don’t even run the railroad anymore. It’s all energy related. The name of the office should be changed but the oil and gas companies probably want the office to keep flying under the public’s radar.

comment 4y ago · link · parent

Texas is one of the fasting growing states in the union, so the idiots running things must be doing something right.

comment 4y ago · link · parent

The State Senate actually came up with a good plan (on paper) for improving the grid. The implementation was then handed off to the Railroad Commissioner who then totally watered things down. There’s a good article about how it went down in Texas Monthly magazine. Lesson is that the Railroad Commissioner is a very powerful (elected) position in terms of energy, so worth paying close attention to that election.

comment 4y ago · link · parent

So, just ignore the problems and double down? Sounds like a terrible strategy. If it doesn’t work we need to pivot to something more reliable, like nuclear energy.

comment 4y ago · link · parent

...which incentivizes the network to become more decentralized.

comment 4y ago · link · parent

Just to play devil’s advocate, is a server responding to a ping request also actively helping North Korea?

comment 4y ago · link · parent

Why should seeking empathy be applauded? The value of having children and the value of having empathy are grounded in the same traditional morality. In discarding that tradition whether in part or in whole, there’s no reason to value empathy — it’s just another subjective belief some people hold.

comment 4y ago · link · parent

I'd suggest reading The Abolition of Man by C.S. Lewis for a short but succinct alternative viewpoint. It's not specifically about whether or not to have children, but it talks about what connects the visceral aspect of man with the rational aspect, which is something you seem to be having difficulty reconciling.

But, let's set that aside for a moment. Assuming you believe in evolution and natural selection, you know that every environment has stressors and great filters. With life existing on Earth for 4.5 billion years, do you really want to be the evolutionary dead end of all the ancestors who came before you? In the great dance of life, are you the dodo bird?

comment 4y ago · link · parent

I’ve found SwiftUI to be a dramatic improvement over storyboards or view controllers for managing state and flow. Sure, for some view components you need to drop down into UIKit to do some detail work, but then it can be abstracted back into SwiftUI.

comment 4y ago · link · parent

Well, I didn’t mean directly developing games, but look at Apple Arcade in the App Store, for example. But hardware-wise, yeah I imagine they will develop a VR device at some point in the not so distant future.

comment 4y ago · link · parent

Could this be trimming the fat before a potential acquisition by Apple?

I noticed quite a lot of Unity talk in WWDC this year, even helping developers add a11y to their Unity games, whereas Unreal Engine was not mentioned at all.

So I could see Apple adopting an engine like Unity to help build out their games and AR offerings.

SceneKit and SpriteKit have received very little attention over the past few years and RealityKit is still anemic in terms of features.

Unity could also be a weapon to wield against their newfound rival, Epic.

On the other hand, Unity would be an awkward fit into the Apple tech ecosystem because of its reliance on C#.

It’s also buggy as others have mentioned, but Apple has the resources to pay down their technical debt.

comment 4y ago · link · parent

Great job identifying a niche and executing well on a focused feature set. That’s something I wish I could do better!

comment 4y ago · link · parent

Additionally, as whales exit their positions, they will be sitting on a mountain of cash ready to buy real assets in a fire sale once the bubble pops.

comment 4y ago · link · parent

He notoriously banned politics at work in late 2020.

https://www.cnbc.com/2020/09/30/coinbase-ceo-offers-severanc...

comment 4y ago · link · parent

Notably, the CEO was not mentioned in this petition. Putting on my tinfoil hat, could this be a ploy by Armstrong to continue purging the political activists within the company?
1
111213
41