6,699 karma · joined Jul 18, 2012 (14y ago) · 1,967 submissions
Backend-focused full-stack engineer with 8+ years of experience, mostly focused on Go, Rust, and TypeScript, but open to other options.
Resume: https://drive.google.com/file/d/1VNC272B3n7ZEfppMHkm2wGgaINwYl4Av/view
comment 3y ago · link · parent
Is there any good guide for getting Rust working on ESP32? (the old Xtensa dual core model, or the newer C3 or C6 models)
I’ve also been looking at maybe trying an RP2040 board I have, but the Getting Started[0] guide seems very incomplete. It doesn’t even seem to mention that you need a nightly build of Rust, but I’m pretty sure you do.
I also doubt that running “cargo run” is going to result in an example being loaded onto any development board, so that seems like a confusing thing to show in the guide.
comment 3y ago · link · parent
Someone else mentioned “Hello Transcribe”, which is a cool demo due to how real time the transcription is, but it’s effectively unusable for anything practical because it seems to split the audio on 30 second chunks (and not in the contextual way that Whisper normally does it).
Whisperboard is a free, open source iOS app (available on the App Store) that seems fairly user friendly, but there are a few crashes and bugs that the author is hopefully going to work out soon.
Aiko is extremely simple to use, but it only supports the “medium” model, so it isn’t very fast, but the results are good quality. Aiko is really designed to be paired with another app, like the Apple Voice Memos app, where you can share a voice memo directly to Aiko.
comment 3y ago · link · parent
No, someone else responded to that. I was just here to look at a specific claim and see what your evidence showed. If that claim had been supported by the evidence, it would have been scandalous, but it wasn’t. I’m not an expert in the Windows security model, so I don’t claim to know anything about DCH drivers.
If you're going to complain about people not responding to every single thing in your comments, then why didn't you respond to the main point I was making? The Dell laptop was supported as well. Clearly Dell put in the effort, where Lenovo did not.
> Though I'm not even claiming there is one - there isn't a particular need for a conspiracy here.
Your previous comments absolutely are making claims that there were large conspiracies at play. You claimed that Microsoft did this to help Intel sell more chips, which would be a huge conspiracy between Microsoft and Intel. Claiming that Microsoft lied about their reasons for obsoleting old processors by trying to present evidence that Microsoft wasn’t following their own stated reasons naturally also requires the existence of a significant conspiracy within Microsoft. Perhaps you didn’t mean to claim those things?
comment 3y ago · link · parent
That statement seems misleading at best. According to Microsoft's page[0] on that processor, the Dell Precision 5520 is supported as well, which means this support is clearly not limited to Microsoft's own hardware.
Depending on how Lenovo configured the BIOS, it is entirely possible that they disabled certain features that Microsoft deemed critical later on with Windows 11. Vendors do plenty of weird things with BIOSes, which can have far reaching impacts on what an operating system is able to do with the hardware. Or Lenovo didn't provide a necessary driver, or whatever the actual problem was here. Dell managed to meet the requirements just fine, apparently.
Yes, obsoleting a bunch of hardware sucks, but your claim that this was to help Intel sell more chips is extremely dubious. Your claim that Microsoft isn't doing this for security reasons because they're exempting only their own hardware doesn't mesh with the reality of that Dell laptop. None of the evidence here supports some grand conspiracy here, as far as I can tell.
I also found a forum thread[1] where at least one person was struggling to update their Surface Studio 2 to Windows 11, so even that hardly seems cut and dry.
[0]: https://learn.microsoft.com/en-us/windows-hardware/design/mi...
[1]: https://answers.microsoft.com/en-us/surface/forum/all/window...
comment 3y ago · link · parent
https://www.ifixit.com/News/68671/does-the-surface-pro-9-mar...
comment 3y ago · link · parent
> On a Raspberry Pi 4, voice commands can take around 7 seconds to process with about 200 MB of RAM used.
Have you looked into supporting something like the Coral Accelerator[0], which can drastically speed up machine learning inference on a Raspberry Pi?[1]
It used to be available for $60, but it is hard to find in stock at the moment except for way over MSRP.
[0]: https://coral.ai/products/accelerator
[1]: https://www.hackster.io/news/benchmarking-machine-learning-o...
comment 3y ago · link · parent
[0]: https://www.analog.com/media/en/technical-documentation/data...
comment 3y ago · link · parent
CLIP has been extremely influential and is still an impressive model.
Personally, I have found Whisper to be very impressive.
I didn't even see any news around the release of Flan-UL2, and I pay significantly more attention to machine learning than the average person. Searching for more info about Flan-UL2, it seems somewhat interesting, but I don't know if I find it "an order of magnitude more impressive" than CLIP or Whisper. Certainly, they are completely different types of models, so it is hard to compare them.
If Flan-UL2 is as good as one twitter account was hyping it up to be, then I'm surprised it hasn't been covered to the same extent as Meta's LLaMA. Flan-UL2 seems to have gotten a total of 3 upvotes on HN. But, there is no shortage of hype in the world of ML models, so I take that twitter account's report of Flan-UL2 with a (large) grain of salt. I'll definitely be looking around for more info on it.
comment 3y ago · link · parent
This was the same audio sample fed through each of those four models, with no "prompting" as you're discussing.
If I add "--initial_prompt ChatGPT", then all four models are able to get the spelling correct.
Regardless, I don't think "chat GPT" versus "ChatGPT" is a huge deal. There will always be some level of uncertainty and ambiguity in the transcript, and even books written by humans always have a few typos get past multiple stages of copy editing. Perfection is virtually unachievable, but you can always scroll through the transcript and make some edits after the fact, if desired. Maybe some future model will magically eliminate all typos.
comment 3y ago · link · parent
I will also say that I've personally been unimpressed with the new "large-v2" model, even though it supposedly scores better. The original "large-v1" model seems to work better than the "large-v2" model in the audio clips I've been testing Whisper against, but results will vary. In general, I find I'm really happy with what "small.en" and "medium.en" will emit, and they're much faster than the large models. (The ".en" models are specialized to English, and usually perform better for strictly English input, whereas the non-".en" models are trained on multiple languages.)
comment 3y ago · link · parent
comment 3y ago · link · parent
They probably would have both failed, in that case. Apple for delivering a product that wasn't good enough, and Personal Solutions for having no brand recognition and no retail partnerships/network.
> Startups with no brand succeed all the time, if they have a great product.
Launching a physical product back then wasn't as easy as launching a Kickstarter and eventually transitioning to an Amazon listing. Just having a good product didn't mean you knew how to get it into the hands of customers. Things are much easier these days, and even so... lots of good products still fail to reach market for reasons that have nothing to do with the product itself.
comment 3y ago · link · parent
Elsewhere... as in the comment that I replied to? Which you then replied to me?
I was literally in agreement with the "elsewhere" that you're referring to. Your comments are confusing to me. Storage capacity was not the thing that made iPod successful, even though the anecdote at the top of this thread is trying to make that argument. There were a number of other factors that were more important. That's what I said and that's what the "elsewhere" also appears to have said. That's exactly what you just said too, so you're literally agreeing with me, but you want to argue for some reason.
Still, "Apple" was a much better brand than {someone no one has ever heard of}, which matters for something like the Personal Jukebox.
comment 3y ago · link · parent
Apple's brand may not have been as good as Sony in the music space, but Apple was still a very well-known brand, even if they were struggling at the time.
comment 3y ago · link · parent
comment 3y ago · link · parent
iPod was not successful because it was the only thing offering high storage capacity. It wasn't the only one. iPod was successful because it offered a touch wheel, iTunes, and Apple's brand recognition. As you point out, it also had very good build quality. None of these things have to do with some exceptional storage capacity.
comment 3y ago · link · parent
As others have pointed out here, there were other competitors offering larger-than-1-inch hard drives like the ones Apple used.
As I have pointed out elsewhere, a portable MP3 player with about 5GB of storage was actually introduced about 2 years before the iPod.
Based on the available evidence, storage was not the defining feature that made iPod successful, which is the claim that anecdote was trying to make. The iPod was successful for other reasons, regardless of how emotionally compelling that anecdote tries to be.
comment 3y ago · link · parent
>> Maybe Apple would have slightly higher storage capacities, but... we're talking about a relatively marginal difference compared to the gulf in storage capacity between these microdrive MP3 players and the flash based MP3 players of the time. An advantage, but not a revolution.
Regardless, it turns out that it wasn't even a capacity advantage, since the Personal Jukebox[0][1] was released in 1999 and offered 4.8GB of storage in a package that weighed 300g instead of the 185g of the 2001 iPod. A difference in weight, sure, but... modern smartphones are often between those two weights, so a few extra grams would have been fine and the Personal Jukebox would have flown off shelves, if storage capacity was the defining feature.
Just telling a compelling anecdote doesn't make it accurate. Apple had other advantages at the time, including the scroll wheel and iTunes, as well as brand recognition. Based on the evidence of what existed at the time, I do not think storage was the compelling thing that made iPod more of a success than the Personal Jukebox.
[0]: https://www.pcworld.com/article/520590/evolution_of_the_mp3_...
comment 3y ago · link · parent
I disagree entirely, for reasons that should be obvious once we examine the actual state of the market at the time. Storage was not the thing that made iPod successful.
The microdrive had existed for several years by then[0][1], developed originally for digital cameras. Like most storage technologies, it was growing in capacity as time went on. I don't think "technology gets marginally better with time" counts as a "tech revolution", nor do I think the microdrive counted as a consumer storage technology that was previously unseen by the time the iPod launched. A physically larger 1.8-inch microdrive (with consequently greater capacity) also does not count as a revolution... it's like making a bigger montor and being surprised that you have more screen real estate.
I also find the anecdote you replied to confusing because surely Apple would have known what a microdrive was before this meeting. That part of the anecdote makes no sense. IBM had their own 1GB microdrive by June of 2000, so even if Apple had exclusive rights to Toshiba's larger 1.8-inch microdrives, that seems entirely irrelevant, contrary to the "key takeaway" that the anecdote posited.
Maybe Apple would have slightly higher storage capacities, but... we're talking about a relatively marginal difference compared to the gulf in storage capacity between these microdrive MP3 players and the flash based MP3 players of the time. An advantage, but not a revolution.
As it turns out, Apple didn't even have a storage capacity advantage[2], in direct contradiction to the anecdote posted upthread.
[0]: https://en.wikipedia.org/wiki/Microdrive
comment 3y ago · link · parent
comment 3y ago · link · parent
Also, why don’t Windows or Android ask you to name apps before you install them? Why doesn’t Steam? This is just not how installing apps works. At a minimum, I would like it to avoid popping the keyboard up by default. If a user wants to edit the name, tapping on the name themselves shouldn't be a problem.
> Discoverability of the installation process is IMO the real issue.
I agree this is certainly the biggest issue.
comment 3y ago · link · parent
That page also talks about "What to Cache" here[1], and it specifically suggests that most apps will want to cache the main page's HTML.
Now that iOS will supports push notifications in PWAs, I definitely plan to try out the developer experience again soon.
> I still want the address bar with the manual refresh button. But I can't do that.
Yeah, I mean... you're meant to provide an app-like experience if you're doing a PWA. You could certainly build your own stylized, floating bar that only shows up in PWA mode, or think about new ways to let users control the way the page updates. Alternatively, you could just automatically refresh the page with a setTimeout?
I'm not sure how much you want to invest in experimenting with the technical foundations of your app, but I wrote out a few ideas that occur to me:
- Your Cache-Control header is kind of weird. `max-age=15`. I would expect to at least see a `public` or `private` directive in there to specify how this data is supposed to be handled by intermediate proxies. Something like your website is a prime candidate for caching in a CDN layer, and I think you generally want to specify `public` for CDNs to do anything useful. Maybe they default to `public`? I've honestly never felt the need to try. Beyond the `public` / `private` discussion, `stale-if-error` could be useful so the CDN could serve the most recent info even if your application is having a brief outage. If you're not using a CDN... probably something worth checking into.
- As cool as just serving self-contained HTML document is, your page is still transferring 6 kilobytes each time it refreshes. If the goal is to lower that as much as possible, I would start by pointing out that you don't need to send your JavaScript snippet every single time the page loads. It looks to be several thousand bytes uncompressed, although I'm not sure exactly how much it is affecting your compressed payload size. You could separate that into an aggressively cached JavaScript file that is served separately from the HTML. (As usual, best practice is to have a file hash in the name of the javascript file, that way the cache time can be infinite. If the javascript needs to be updated, the hash would change, so the browser wouldn't have that cached, and would fetch the new file immediately, as soon as the refreshed HTML file requests it.)
- But then after that... the next logical step is to render the actual score interface client-side, since the score data is significantly smaller than the HTML needed to render the score data. This would also allow you to handle refreshing more elegantly from the client by just fetching the data route that returns a JSON blob, and re-rendering the HTML. At this point, the HTML representing the empty app shell could be cached too, but it would probably be best to limit the cache duration depending on your preferences. The right value for HTML caching would likely be somewhere between a few minutes and a few days. Now, opening the app would load the locally cached HTML and JavaScript, and then the JavaScript would just fetch the tiny blob containing only the scores and nothing else. Of course, you could cache this information locally so that when the PWA is opened, the user can always see the last information (and when it was fetched) even if they don't have an internet connection, while the PWA can continue trying to fetch the updated scores.
- Taking this to the extreme, the maximally efficient design for something like this would probably involve an SSE (server sent events) endpoint that the client would subscribe to. Whenever the scores actually do change, the server could push that straight down to the client. This would reduce the latency from your current 30 second target, and it would also use even less data since people aren't refreshing and receiving the same stale data multiple times. (I will note that a good implementation of this would still send a tiny ping from server to client every minute or two just to ensure the connection doesn't get silently dropped by any weirdly configured firewalls along the way.)
- If you were really going all-in on features, well... this whole HN discussion is highly focused on push notifications, so you could always let people subscribe to specific teams, and send them a push notification when scores change for those teams.
comment 3y ago · link · parent
Right now, the install process for PWAs is needlessly obtuse compared to what users experience with a Smart App Banner.
I saw someone elsewhere comment on the number of taps required with both methods, and I would point out that not all taps are equal. The simple, guided flow that the Smart App Banner gives users is tremendously easier for users to figure out than the “Add to Home Screen” flow that currently exists.