Better HN
topnewbestaskshowjobs
Log inSign up

programmarchy

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

Submissions

comment 2y ago · link · parent

I’ve bought some apple cider vinegar at my local farmers market and it can be made to taste petty good actually! Not cheap though.

comment 2y ago · link · parent

QuickTime file size outputs are ridiculous. This can also record the camera simultaneously.

comment 2y ago · link · parent

At the end of the day, do we care about Google trade secrets or US national security?

comment 2y ago · link · parent

They got pretty far though, didn’t they?

comment 2y ago · link · parent

Counterpoint: Uber

comment 2y ago · link · parent

Based on how they've backed off SpriteKit and SceneKit, I really don't think they will try to build a game engine. Bringing on the big game developers requires a cross-platform engine. Like Unity, one that can target Nintendo Switch, Xbox, Playstation, etc. Any money they pour into an effort like that would cannibalize sales on their own devices.

comment 2y ago · link · parent

Dunno, maybe you're right. I agree the technology choice is very bizarre, but have you noticed the emphasis on Unity in the last two WWDCs? It's clearly the game engine currently "blessed" by Apple.

I think there's a confluence of factors driving this. Foremost, they need a way for developers to make games, especially in the AR/VR space. SpriteKit and SceneKit have floundered, and RealityKit is not a complete solution to make games, let alone cross-platform games. They can't show any favor to Unreal Engine, even though it's superior, because of their fight with Epic. I wish they would invest more in something like Godot, but Unity has more marketshare (for now).

C# is a great language, and Apple is pragmatic enough to realize the cross-platform potential is much greater than Swift's. From what I've seen, Swift has little traction as a cross-platform tool compared to Mono. Lattner's departure took some wind out of the Swift sails, too.

comment 2y ago · link · parent

Yes, Apple could bail them out. They might need to because, judging by recent WWDCs, they’ve already placed bets on Unity as the game engine of choice for Apple Vision Pro.

comment 2y ago · link · parent

If you did hear it in a bar, could you tweet it out before your trade, so the information is made public?

comment 2y ago · link · parent

That is exactly my point. The law is the differentiator: the 13th amendment sets apart forced labor for punishment of a crime.

comment 2y ago · link · parent

And kidnapping is kidnapping. According to this logic, imprisonment is kidnapping, and serial killers should be free to roam the streets.

comment 2y ago · link · parent

I can empathize with this, and hope your family remains safe. But I'm afraid Netanyahu and Hamas are just tips of icebergs, and criticism at that level will not be even remotely sufficient to resolve the underlying issues. I'd love to be corrected, but it seems to me that _all_ religions (not only Judaism or Islam) are plagued by supremacist beliefs about their own ethnic group. At the ethnic group level, religion seems to be an evolutionary advantage if not a primary driving force of genetic success. But at the global, human level, it is often catastrophic. Religious apologists tend to paper over their (often subconscious?) supremacist fundamentals with moral teachings and utopian visions, but I think it's crucial that these beliefs are publicly examined and criticized on the global stage, "heresy" be damned. Would be curious to hear your thoughts.

comment 2y ago · link · parent

My two cents: I think you made a good, practical choice. If you're happy with Electron, I'd say stick with it, especially if you have cross-platform plans in the future.

If you want to niche down into a more macOS specific app, you could learn AppKit and SwiftUI and build a fully native macOS app.

If you want to stay cross-platform, but you're not happy with Electron, then it might be worth checking out Tauri. It provides a JavaScript-based API to display native UI components, but without packaging a V8 runtime with your app bundle. Instead, it uses a native JavaScript host e.g. on macOS it uses WebKit, so it significantly reduces the download size of your app.

In terms of developing this into a product, on one hand it seems like deep integration with the host OS is the best way to build a "moat", but then again, Apple could release their own version and quickly blow a product like that out of the water.

comment 2y ago · link · parent

I’ve been doing this. Curious what you mean by tooling. All the pg client libraries I’ve used support json/jsonb return types, for example.

comment 3y ago · link · parent

People have mentioned this as a conflict of interest with OpenAI, but worse is that it runs afoul of the CHIPS Act. Biden administration has made it clear that the semiconductor supply chain is a national security interest.

Microsoft is also in big trouble with the US Gov with their looming $30B tax liability and their gross negligence regarding Azure [1] leading to the US getting hacked. OpenAI being hosted there could be seen as yet another liability to US security.

My bet is that this OpenAI story originated much higher than the board of directors…

[1] https://arstechnica.com/security/2023/08/microsoft-cloud-sec...

comment 3y ago · link · parent

I doubt this take. How is every employer going to collude?

comment 3y ago · link · parent

(2017)

comment 3y ago · link · parent

That'd actually be significant, because Apple used to be incredibly strict about this. For example, I had an App Store submission that showed a privacy policy in a WebView, but through a series of clicks on the header or footer of that page you could get to a pricing page and purchase a subscription. That was enough for a rejection.

comment 3y ago · link · parent

Great product name

comment 3y ago · link · parent

Yeah, Loom nailed this feature. Streaming the upload while recording means the video is ready to share instantly, which is very slick. Great UX.

comment 3y ago · link · parent

Recognition of individual contributions is a core component to why Open Source even works in the first place. It would not work if an abstract, utopian ideal of "improving the codebase" was the primary driver. A bug fix contribution may be borne out of necessity, but ultimately codebase improvements are a side effect of the social phenomenon of people being highly motivated to be recognized by their peers.

Notoriety is the currency of open source software. And that's a feature, not a bug.

comment 3y ago · link · parent

This reminds me of the “Architect from Pluto” scene in Jodorowsky’s Holy Mountain. The architect reveals his new efficient apartment design: a matrix of coffins. He received a thunderous applause from his investors. [1]

“A man doesn’t need a home. All he needs is a shelter. If we can sell him on the idea of a shelter, we’ll make millions.”

[1] https://youtu.be/FASvJF21yXU?feature=shared&t=70 (contains nudity)

comment 3y ago · link · parent

I was surprised that Whiz could use tools like ffmpeg even though it tells ChatGPT to only use available shell commands. I asked it to "convert demo.mov to an mp4" and "cut the first five seconds of demo.mp4" and it came back with the correct commands. I guess that was enough to allow it to assume ffmpeg is probably installed. Pretty cool!

comment 3y ago · link · parent

I was able to understand the Whiz source (~200 lines) in about sixty seconds, which is a big win in my opinion. The shell_gpt code is more convoluted. Would be interesting to compare how they perform.

comment 3y ago · link · parent

I was wondering if Whiz was using agent-style planning prompts, but it's much simpler and passes a single `function` parameter named `shell` to the OpenAI API.

I thought that was clever, because shell commands are highly composable, so it's likely that something can be done in "one shot".

It will also be way more efficient with token usage.

comment 3y ago · link · parent

But there could be benefits to being followed by a PI. For example, if the author forgets to brush their teeth, the PI could remind them.

/s

comment 3y ago · link · parent

This article glosses over the reason people moved to Texas in 2020-2021. It had nothing to do with tech or public transportation.

comment 3y ago · link · parent

wr.

comment 3y ago · link · parent

Ever done a group project in school? Free riders ruin shared incentives.

comment 3y ago · link · parent

https://developer.apple.com/app-store/review/guidelines/

We don't know all the facts yet, but there's one surefire way to get terminated:

> If you attempt to cheat the system (for example, by trying to trick the review process, steal user data, copy another developer’s work, manipulate ratings or App Store discovery) your apps will be removed from the store and you will be expelled from the Apple Developer Program.

12345
41