923 karma · joined Feb 28, 2021 (5y ago) · 80 submissions
Projects:
- plaintextsports.com: Live scores, play-by-play and box scores, in plain text. No images, no ads, no tracking, and no loading. (Also twitter.com/PlainTextSports)
- jless: A command-line JSON viewer written in Rust. (jless.io)
61.
Big problems at the timezone database(blog.joda.org ↗)
103 points · by CodeIsTheEnd · 5y ago · 32 comments
comment 5y ago · link · parent
As I understand it, recent controversial changes to tzdb effectively removed data for some timezones pre-1970. This email [3] seems to give a rough summary of what this means.
I'm unsure when this change was made, but it seems like in the past month or so there have been calls to revert this change [4], discussions of a fork [5], and calls to replace the TZ coordinator [6].
As a result of Samoa abolishing Daylight Savings Time [7], there is a need to release an updated version of tzdb. The linked proposal is suggesting releasing two new versions, one with and without the recent change, effectively an officially sanctioned (temporary) fork until the issue can be fully resolved.
I don't have any insight into what's going on beyond reading some of the emails on the mailing list and a couple of posts on Twitter, so if anyone wants to step in and provide more detail (and/or correct me), go ahead!
[1]: https://mm.icann.org/pipermail/tz/2021-September/thread.html
[2]: https://www.iana.org/time-zones
[3]: https://mm.icann.org/pipermail/tz/2021-September/030517.html
[4]: https://mm.icann.org/pipermail/tz/2021-June/030220.html
[5]: https://mm.icann.org/pipermail/tz/2021-September/030400.html
[6]: https://mm.icann.org/pipermail/tz/2021-September/030478.html
63.
Proposal for New Tzdb Versions(mm.icann.org ↗)
1 points · by CodeIsTheEnd · 5y ago · 1 comment
comment 5y ago · link · parent
Each Sonobe unit functions as an edge in the underlying structure, so building a structure around an icosahedron, which has 20 faces and 30 edges, requires 30 units, and yields a stellated icosahedron with 60 faces and 90 edges.
You can also build a stellated octahedron from 12 pieces, and a stellated tetrahedron (which actually just appears as a cube) with 6 pieces, but that's just the beginning [4]!
[1]: Strictly speaking, it's not a true stellation, which is formed by extending the planes of faces until they intersect. [2]: https://en.wikipedia.org/wiki/Sonobe [3]: https://www.amherst.edu/media/view/290032/original/oragami.p... (instructions for folding; I believe the image uses the two-mountain folds variation on the first page) [4]: https://www.polypompholyx.com/2017/01/modularorigami/
comment 5y ago · link · parent
Using Rust promises performance and stability, key features for the thousands of engineers that will be running Rome as a critical part of their workflow. The vast majority of those developers would prefer that the tool runs faster and has fewer errors over having a lower barrier to entry for contributing.
"Contributing" may also encompass the plugin/extensibility ecosystem around the tool, and can be closely tied to the underlying implementation language. This functionality has been integral to the growth of things like Babel and Webpack, but it seems in this case Rome is trying to replace much of that very ecosystem.
I there are some toolchains that may prioritize "barrier of entry to contributions" -- new languages, or niche communities for example -- but I don't think it's an appropriate priority for a toolchain for a massively popular established programming language with $4.5 million in funding [1].
comment 5y ago · link · parent
Making this optimization for something like Option<u8> is, naturally, impossible.
(I assume you are aware of this and were implicitly referring to this optimization.)
comment 5y ago · link · parent
I really appreciate this class of application that exposes more hardware functionality to the end user. Flux (which may or may not be a direct competitor) is another great example, as is Halide, the pro camera app for iPhones. They're certainly not flashy, but they can be great quality-of-life improvements.
And they're difficult to write! They require using APIs that are often woefully under-documented, and terribly difficult to debug. I wanted to write an app that would slowly lower your device's volume over time (so you could raise the volume for a song that you like, but then not accidentally spend the next 30 minutes with the volume super loud), and even doing simple things like listing audio devices and getting their names was endlessly frustrating.
comment 5y ago · link · parent
I realize that the majority of engineers will never need to use any of the more advanced topics taught in an algorithms class, but I hope you recognize the irony in this comment; the “trivial indexing” performed by Google is anything but, and, in fact, is only enabled by those very algorithms, implemented dozens of times, in multiple languages, with subtle variations and optimizations and under non-obvious reinterpretations, at every level of the stack.
71.
Making a Lego Domino Machine [video](youtube.com ↗)
10 points · by CodeIsTheEnd · 5y ago · 1 comment
comment 5y ago · link · parent
Rearranging a layout with more than 3 panes in tmux or vim is always difficult. In tmux it's at least easy to swap panes (C-prefix '{' or '}'), but vim doesn't have any simple way to do something similar. I wonder if Zellij's approach makes it any easier. Maybe it's a UX pattern that is made easier with a mouse.
comment 5y ago · link · parent
1Password originally operated on a licensing model, but has since switched to a membership model.
It is still possible to purchase a single license, but they make it very difficult to do so. The option of a standalone license is not mentioned anywhere on their pricing page: https://1password.com/sign-up/
As I understand it, only once you have downloaded the app and are logging in do they mention that standalone licenses are available. (But, at least on Mac, this option is only available on the version of the app downloaded directly from their site, and not the version downloaded from the Mac App Store.) This support thread shows some users' frustration with this, and their support team's insistence on pushing users to the subscription model: https://1password.community/discussion/102412/where-do-i-buy...
I'm not entirely certain of the differences between the subscription model and the standalone version, but I believe the primary difference is that the subscription model will automatically sync your passwords between multiple devices.
You can achieve similar functionality with the standalone license version by storing your vault (1Password's password file) in iCloud or Dropbox, and relying on that for syncing. I use the Dropbox version and it works incredibly well, even on iOS! I think they also support Google Drive for syncing on desktop, but not on mobile. Certainly the syncing offered through their subscription model is valuable, but for users who have other options, it's just doesn't make sense.
I gladly paid for a standalone license, and have purchased licenses for my parents as gifts; the product is incredible. The Chrome extension works great, and the app can be your 2FA device, so it will automatically fill in password forms and copy the 2FA code to your clipboard. It works just as well on iOS too.
comment 5y ago · link · parent
> The statement Rust is for Professionals does not imply any logical variant thereof. e.g. I am not implying Rust is not for non-professionals.
comment 5y ago · link · parent
What IS frustrating is that some of their products don't offer a monthly plan. I want to use Lightroom about once a year, after going on a big vacation, but there's no cheap plan that just includes Lightroom.
There's a $10/month annual Photography Plan that includes Photoshop and Lightroom (exactly what I want), but no monthly option. I would pay $15 for one month of this, but the only way to get Lightroom for a single month is with the All Apps package, which is $80 for a single month.
comment 5y ago · link · parent
It's so different from the austere presentation of a polished LaTeX paper. A completed proof leaves out so much of the exploration process -- the doodling, hopeful symbol-pushing, flawed intermediate conjectures and conclusions -- and just leaves an artificially linear representation of how to approach the problem. It's easy to feel despair when a textbook or paper presents something so succinctly, as if it's the most obvious thing in the world, but there was a lot of stumbling around in darkness (the dark background of the note-taking software!) before the elegant formulation was finally illuminated.
Graph problems and combinatoric problems are especially fun to puzzle out in a notebook as it's especially easy to come up with examples, though it does get difficult to play around with larger graphs. Recently I tried to find an algorithm for generating round-robin tournament pairings, and ended up filling pages of notes with tables and dissections of complete graphs. It's a fun challenge, and accessible even to someone without a theoretical math background. I eventually found a horrendously complicated solution, one I was proud of, even after reading a supremely simple construction on Wikipedia.
[1] https://d2r55xnwy6nx47.cloudfront.net/uploads/2021/04/Zoom-S...
comment 5y ago · link · parent
At the time I perceived using the location as a crutch, so I made photocopies of the pages, cut them into the separate columns, then taped them together to make one very long and skinny list of words. I would then roll it up into a small scroll, little bigger than a tube of chapstick. Maybe the spatial location was a learning aid, and this actually made it harder to learn words, but it did make it much easier to discreetly study during other classes, so it was probably a net win overall.
comment 5y ago · link · parent
comment 5y ago · link · parent
I got sick of how slow ESPN and nba.com are to load on mobile, so I made a site that shows sports scores (NBA and NHL for now), in plain text, as a single HTML file, with no tracking or other asynchronous requests.
The home page is about ~3-4 kb compressed, and pages for completed NBA games, even with detailed play-by-play data, are only around ~11-12 kb.
I'm still working on adding support for individual game pages for the NHL, and I want to add pages for individual teams (so you can see their recent and upcoming games), and also add support for viewing past or future days' games. Once the baseball season starts, I'll build support for that too!
It's become my daily go-to for sports scores, and everyone I've shown it to has appreciated the speed and simplicity. Hope you enjoy it!
80.
Show HN: Plain Text Sports: live sports games, play-by-play, and boxscores, fast(plaintextsports.com ↗)
9 points · by CodeIsTheEnd · 5y ago · 7 comments