HNHacker News
TopNewBestAskShowJobs

Zelizz

148 karma · joined May 11, 2017

submissionscomments
Zelizz··on La Basilica Di San Pietro
It would be nice if they'd let you see the whole thing at once.
Zelizz··on Apple found in breach of EU competition rules
If they're selling below cost, who's the "we" that should buy them all up? Because if it's US consumers, then the domestic auto companies could fail in the while that's happening. If it's the US government - isn't that kind of what the tariff accomplishes, without having to take ownership of a bunch of inventory?
Zelizz··on Femtosecond lasers create 3D midair plasma displays you can touch (2015)
That's really cool. I tried it with an angled mirror, it was really weird wiggling my thumb and seeing it in the reflection but not outside of it.
Zelizz··on Tesla wants to monetize its cars to process AI workloads
I think we can confidently call stupid actions stupid actions. Inertia from prior success can keep them from being company-ending actions, especially if they can be corrected once they are recognized as stupid (or once the people who knew they were stupid from the beginning can gather enough political clout).

Tesla has smart people, just like any tech company, but they're not uniquely smart and they're not immune to the same short-sighted thinking that plagues other tech companies.

Note that I think this particular idea is not necessarily bad for the company, it's just not anything special. It's basically Folding@Home, monetized. If you can convince enough people to leave it on (or force it on and somehow avoid legal/PR issues) then I guess you can save a tiny bit of money on certain kinds of workloads.

Zelizz··on American flag sort
Characters in a string can be thought of as digits in a base-256 number. Call counting sort recursively on each bucket, looking at the next character in the string. Can you not see the similarity?
Zelizz··on American flag sort
Pretty much just a variation of counting sort with a worse name? https://en.wikipedia.org/wiki/Counting_sort
Zelizz··on Descent 3 Source Code
As someone who also bounced off it initially - I would recommend getting through the tutorial area and flying out somewhere in the ship before you put it down for good. Once I started going out there and visiting places, it really grabbed me. The more stuff you scan and read, the more intrigued it made me, and eventually I couldn't stop until I'd unraveled every story thread and mystery the game had to offer.
Zelizz··on Krita AI Diffusion
My very-rough feeling about it from playing around with Stable Diffusion is that it takes about 4x as long if it runs out of GPU memory and needs to shuttle data back and forth from system memory. There are a lot of variables though - on my 3070 with 8GB of RAM, I can get very impressive 512x512 images in about 10 seconds with somewhat low sample counts, or I can set it to a higher resolution and sample count with 2x upscaling and get a really sharp image in around 2 minutes.
Zelizz··on Chamberlain blocks smart garage door opener from working with smart homes
Sounds like they could implement local network IoT and reduce their server costs to $0 - but then they wouldn't be able to get a continuing revenue stream.
Zelizz··on Deprecation of OpenGL and OpenCL (2018)
They didn't, the Mac version of CE is a port of the PC port, shows the Gearbox logo on startup.
Zelizz··on Apple Maps location scan spikes WiFi latency every 60 seconds
My anecdotal experience (partially informed by working on the Windows Wi-Fi team) is that iOS/macOS are more aggressive about switching APs. It's a tradeoff - on one hand, you can have disruptive scans like this, but on the other, if it results in switching to a better network during a long period when the user is stationary, it can result in a better experience.

It also depends a lot on what your hardware is, whether you're doing a full scan or a partial scan, whether you have more than one NIC etc, etc.

Zelizz··on Elon Musk to join Twitter’s board of directors
Anyone can buy the stock though, while working at a company that pays better and has better work/life balance. Is the stock grant particularly generous or is there a better-than-average employee discount on stock purchases?
Zelizz··on Senate panel approves antitrust bill restricting big tech platforms
That's an oversimplification. Lots of people in this thread have mentioned consequences of giving companies like Facebook the option of moving to sideload-only, and how that normalizes not having a quality/policy gatekeeper for installed apps. You can't enforce good app behavior purely from API design.
Zelizz··on Senate panel approves antitrust bill restricting big tech platforms
Depends how tight you want your security to be, risk tolerance varies.
Zelizz··on New MacBook Pro has first ‘DIY-friendly’ battery replacement design since 2012
I used BetterTouchTool to add a second volume slider with no delay and no on-screen UI, for changing the volume while I watch something :)

I highly recommend using BetterTouchTool to get the most out of it if you still have a device with the touch bar.

Zelizz··on Apple requires account deletion within apps in AppStore starting January 31
> Else spouse will pay for it again

It doesn't quite work like that. When someone in your family goes to hit the purchase button, it pops up a window saying that someone else has already purchased it. I'm not sure why you have to hit the button first, maybe for some measure of privacy from your family members?

Zelizz··on Apple to face EU antitrust charge over NFC chip
That's possible from iOS as well.
Zelizz··on A grim warning from Israel: Vaccination blunts, but does not defeat Delta
If a person with cancer is hit by a bus, their death is not and should not be attributed to cancer. Likewise, if someone with a critical illness is robbed of their last few months by COVID, then it is correct to attribute their death to COVID.

The logic of "they were going to die anyways" means we might as well change every cause of death to "old age" or "natural causes", because if nothing else gets us, that's how we will all eventually die. But, of course, that would be stupid, and it would make death statistics meaningless - which is why we don't do it for COVID deaths.

Zelizz··on An update to our YouTube TV members on Roku
> For example, by not supporting open-source video codecs, you wouldn’t be able to watch YouTube in 4K HDR or 8K even if you bought a Roku device that supports that resolution.

There are two sides to this, the encoding side and the decoding side. Google can frame it charitably towards themselves by saying "the Roku won't be able play 4K HDR", but we could just as easily frame it as "Google doesn't want to encode non-AV1 4K HDR". Both companies are trying to save costs, but Google's trying to frame it as Roku failing its users (users which are Google's as well, if they're trying to watch YouTube TV).

To be clear, I think open-source codecs are great, and it makes sense for devices (especially plugged-in / home internet devices) to support as many as is reasonable.

Zelizz··on The man who produced Steve Jobs’ keynotes for 20 years (2018)
Are you serious? X is true. Google "X is true" and the list is endless. X is true.

This is practically the definition of confirmation bias.

Zelizz··on Microsoft tried to buy Nintendo, but got laughed out of the room
With Go rules, they'd already be ours!
Zelizz··on Apple's 15% Deflection Tactic
Don't you have to boot into developer mode on Xbox to run sideloaded apps? AFAIK you also can't access any store titles when in dev mode either. And UWP apps don't get access to the full power of the console, they run under the system OS.
Zelizz··on Apple made ProtonMail add in-app purchases, had been free for years
It does work for Windows, but the expectations are different there. I think being able to buy a completely open device and also buy a completely closed device is a good thing. I don't want every device to be locked down, but I'm okay with my iPhone being a console-like "it just works" device. The difficulty of screwing up an iOS device is a feature, in my opinion.

It's the same thing with my Switch, Xbox, 3DS, whatever. They all keep working well over time because apps are limited in what they can do, and they are curated.

Meanwhile, because on Windows and macOS you aren't limited to their respective app stores, the app stores don't have as complete a selection as their locked-down counterparts, meaning you have to go outside the store to get everything you need. Consequently, a Windows computer gets slower over time, and you're never sure if you've completely uninstalled something, unless you use one of the now numerous 500MB+ launchers/updaters. MacOS is marginally better, but I still have to go and clean out LaunchAgents and LaunchDaemons, and wonder if it's the Razer kext causing kernel panics because it was cheaper for them to make one than build everything necessary into the mouse. On both OSs, it's extremely nontrivial to figure out if some software is causing the device to wake from sleep and drain the battery. The consequence of allowing application developers to do anything is that they will do everything, and it's very hard as an OS developer to keep all the user software well-behaved.

Zelizz··on Apple made ProtonMail add in-app purchases, had been free for years
From the article: "They stumbled upon something in the app that mentioned there were paid plans, they went to the website and saw there was a subscription you could purchase, and then turned around and demanded we add IAP."

This is the part that Apple took issue with. Either they remove references to the external paid service, or they provide a way to pay for it from the app, with the usual fee. It's misleading to characterize this as "Apple forces a free app to become paid". Apple is just doing their usual thing of requiring that payments for features of an app cannot bypass Apple's payment system.

Zelizz··on Apple made ProtonMail add in-app purchases, had been free for years
The difference is that for installers, you've discovered and been distributed the software by an entity other than Microsoft, and you're not paying for the curation process. Consequently, it's easy to mess up a Windows system by running a random malicious installer.

Microsoft also offers an app store, and even a way to restrict Windows to only running software from that app store (S mode), but they take the somewhat-standard 30%. One nice thing they do that I think Apple should adopt is taking a smaller cut if you visited the store through a web link (meaning Microsoft didn't provide the "discovery" and thus shouldn't be compensated for it).

Zelizz··on Apple made ProtonMail add in-app purchases, had been free for years
This article is misleading. Apple doesn't let you make a free app that references a paid service outside the App Store, which is what ProtonMail was doing. If they allowed it, every app would be "free", they'd all make you go to their own websites to pay so they could bypass Apple's cut, and Apple would make no revenue from the store / hosting / curation / platform they provide.
Zelizz··on Energy Efficiency across Programming Languages [pdf]
C is not a true subset of C++ (though several compilers can handle both).
Zelizz··on A Fast, Cheap and Scary Way to Cool the Planet
This sounds like a really great way to make solar power less efficient, make us more reliant on fossil fuels, and do absolutely nothing about the acidification of the ocean or rising CO2 levels in the atmosphere.
Zelizz··on 'Dord': A Ghost Word
> Because the sorted items are sorted, it's not necessary to examine each of them.

This is true, but I'm being pedantic and calling the quadratic form of insertion sort just "insertion sort", and the form that does a binary search on the sorted items "binary insertion sort".

https://en.wikipedia.org/wiki/Binary_insertion_sort

Zelizz··on 'Dord': A Ghost Word
I was talking selection sort, not insertion sort.

But, while we're here... Insertion sort is O(n^2) on the number of comparison operations, because this step is O(n) on the number of sorted items (you start with 0 of them, and end with n of them, for an average of n/2, which is O(n)):

> find the place within the sorted books where this book belongs

You do this once for each unsorted item (you start with n of them, and end with 0 of them, for an average of n/2, which is O(n)).

Granted, in real life, your brain does a better job of remembering roughly the correct place for each book, so I would say average case with a small number of books you are correct. If you're sorting a large number of books, you need to find the correct spot in less than O(n) comparisons to do better than O(n^2) on the algorithm. I think finding the correct spot would still be O(n), just with a small constant.

Interestingly, if you were sorting a massive volume of books like this and you started to forget the right spot for things, you might modify your strategy and start binary searching for it. This would help you find the spot in O(log(n)), and you'd be doing the sort in O(n*log(n))! It's a small improvement that yields binary insertion sort.

Page 1 of 4Next →