Better HN
topnewbestaskshowjobs
Log inSign up

devadvance

683 karma · joined Mar 21, 2014 (12y ago) · 126 submissions

Opinions my own. Reach out through any of my public profiles. Employer = Google.

Website: https://go.mattj.io/hn

LinkedIn: https://go.mattj.io/linkedin

Twitter: https://go.mattj.io/twitter

Submissions

61.

Architecting for user (and engineer) happiness during Stadia Controller setup(stadia.dev ↗)

2 points · by devadvance · 5y ago · discuss

62.

Why is hardware setup in the cloud hard?(stadia.dev ↗)

8 points · by devadvance · 5y ago · discuss

comment 5y ago · link · parent

Fantastic post that builds up knowledge along the way. A fun case where this type of knowledge was relevant: when creating emoji short links with a couple characters (symbols), I made sure to snag both URLs: one with the emoji (codepoint + `U+FE0F`) and one with just the symbol codepoint.

Another thing worth calling out: you can get involved in emoji creation and Unicode in general. You can do this directly, or by working with groups like Emojination [0].

[0] http://www.emojination.org/

comment 5y ago · link · parent

This could be helpful to some folks. I appreciate the clear distinction between "salaried" and "exempt", as that's something I've seen many folks misunderstand.

It's worth noting that, if you're in the United States, minimum salary for exemption also varies by state [0]. For example, as of 2021 in California, for many professions it is now 58k USD.

[0] https://sbshrs.adpinfo.com/blog/exempt-employees-minimum-sal...

comment 5y ago · link · parent

If you're referencing the GIF of the terminal: it's a small docker image[0] I use to have a consistent demo environment. In this case, I'm running it within iterm on macOS.

[0] https://github.com/devadvance/terminalcheatsheet/blob/stagin...

comment 5y ago · link · parent

The hover previews is an awesome example. Thanks for sharing!

I like collections of commands. However, the challenges that seem unsolved are (1) keeping the example in sync with the CLI options, and (2) making it easy to dig into parts of examples. The former is a classic documentation problem, of course.

comment 5y ago · link · parent

Are you using FFmpeg or directly using libavcodec (or similar)?

comment 5y ago · link · parent

Author here. This is the same journey I went through and I 100% agree! It can be intimidating at first, but FFmpeg is a a worthwhile utility to begin learning.

I've also added some shell functions[0] to my dotfiles to make it a bit easier to use when switching between several different machines.

[0] https://gist.github.com/devadvance/03d3c8f57b3e0254fb989e946...

comment 5y ago · link · parent

Previously discussed here: https://news.ycombinator.com/item?id=15340729

As an engineer, I appreciate the depth of this post. However, I'd also appreciate a more approachable version that I could share with a broader audience. E.g., without understanding anything about hashing, SGX, etc., how can we best explain the advantages of this approach over the "upload your contacts list" request that you encounter in other chat apps?

comment 5y ago · link · parent

Ah, I didn't realize that! Looking at this [0] issue thread, it seems like the minimum version with AVIF support is v7.0.25. The suggestion to use Docker in that thread might be useful for you as well, if you are interested in a couple quick tests and are already set up for containers.

[0] https://github.com/ImageMagick/ImageMagick/issues/1432#issue...

comment 5y ago · link · parent

I used ImageMagick [0] just now to create a couple test images.

  magick testimage.png testimage.avif
  magick testimage.png -quality 60 testimage60.avif
[0] https://imagemagick.org/script/magick.php

comment 5y ago · link · parent

Great work on this! I especially appreciate the use of the limited-input device flow, after seeing many device projects that use flows intended for servers :)

> Support & configuration for time zones

Are you referring to this? [0] Might be out of scope, but from experience, there are some date/time conversions that will require the TZ name (e.g., "Europe/London") to avoid needing to know whether to use the offset value or DST offset value. Could be worth including the canonical names [1] in a future revision.

Again, awesome work, and it's pushing me to try an E-Ink project of my own!

[0] https://github.com/tikurahul/Inkplate-6-micropython/blob/mas...

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

comment 5y ago · link · parent

The native mobile app does not use a web view.

comment 5y ago · link · parent

The native app uses Flutter [0].

Disclosure: I work on Stadia, and am speaking only for myself.

[0] https://9to5google.com/2019/11/08/google-stadia-app-play-sto...

comment 5y ago · link · parent

I agree that the support for uncommon resolutions is less than ideal. That said, I've gotten it to work. Caveat: sample size of one.

On a 2019 MacBook Pro 16" with the dedicated GPU, I've had success connecting a 5120x1440 Samsung CRG9 via DisplayPort. I had to use this adapter [0] and this cable [1] to do so, but it does work. It also works on a 2018 MacBook Pro 13", but due to the lack of a dedicated GPU (i.e., Intel graphics only), the output is a bit fuzzy as it's not a natively supported resolution. Still, it's good enough for productivity work, though not for video/photo editing or gaming.

[0] https://www.amazon.com/gp/aw/d/B07F17ZHJY

[1] https://www.amazon.com/gp/aw/d/B079736Z53

comment 5y ago · link · parent

When building for the web, I use a combination of Lighthouse (Chrome Dev Tools audit) and the axe extension to do a first pass at validating the accessibility of the site/app/etc. Of course, there's an art to this as well.

For example, there's a significant number of individuals with cognitive disabilities [0], so using a combination of axe to ensure heading structure is logical and accurate, plus spending the time to ensure concise and accessible content, is an approach that I take often.

a11y is more than WCAG contrast ratios :)

comment 6y ago · link · parent

In principle, I like it. A lingering question, however: how would this work from a search engine indexing standpoint?

comment 6y ago · link · parent

Hi folks! This idea came to life after a friend asked for a guide to get started using the terminal on their MacBook. Though there are sites/pages that are workable, none quite matched the goals of approachability, accessibility, great UX, and performance that I was aiming for.

Terminal Cheat Sheet is the result of the collaboration between me and my friend [1] to try to meet those goals.

It maximizes approachability through straightforward content and localizing, accessibility through best practices like WCAG [2], and performance through the use of static content. It's also meant to complement, not replace, options like man pages or detailed user guides.

We started with the most essential commands and a few guides for now, and we're really looking for constructive feedback. Would this help folks get up and running on the terminal for the first time? What additional guides would help with that? Are you interested in helping us translate to other languages?

If you have any questions or ideas, please comment, reach out, or add an issue to the repo. PRs welcomed [3].

- - - - -

[1] For more of his work, check out https://medium.com/@dontcallmebigguy and https://github.com/dontcallmebigguy

[2] https://www.w3.org/WAI/standards-guidelines/wcag/

[3] https://github.com/devadvance/terminalcheatsheet

79.

Show HN: Terminal Cheat Sheet – get started using terminal(terminalcheatsheet.com ↗)

5 points · by devadvance · 6y ago · 2 comments

comment 6y ago · link · parent

Two kinds of data may be interesting:

1) where fiber may be run but not offered for residential service. E.g., future offerings.

2) where business fiber is offered. This would cover the dedicated internet (DIA) option.

comment 6y ago · link · parent

Wish I had known about this months ago! Any more info you can share on data, plans, etc.?

comment 6y ago · link · parent

Maybe a quick cache in front of Plaid for now? Even in-mem might be a decent short term solution.

comment 6y ago · link · parent

Cool idea, though I couldn't get it to load yet. Will look after the deluge of interest goes away!

I'm curious: do you see any risk of folks indirectly tracking you via your transactions?

comment 6y ago · link · parent

Interesting collection. Between the veritable homages (AV notification included) [0] and reinterpretations for various purposes (e.g., music player [1]), it's a fun mix!

It also reminded me of the Nielsen Norman article exploring flat design and comparing it to three-dimensional design [2]. While it's becoming less and less possible, it would be interesting to compare the experience across different UX patterns for first-time computer users. It seems hard to separate familiarity and nostalgia from truly superior UX.

  [0] https://winxp.now.sh
  [1] https://poolside.fm
  [2] https://www.nngroup.com/articles/flat-design/

comment 6y ago · link · parent

Very cool. It's pretty interesting to see the various failure modes. Some seem straightforward (e.g., the font is missing the glyphs) while others seem to be parsing limitations.

As an aside, this finally convinced me to explore using additional SSIDs in creative ways with emojis.

comment 6y ago · link · parent

For purely aesthetic purposes, this might be a fair point. However, there are many reasons to use custom fonts beyond that. One example is accessibility in a very broad sense. In some circumstances, it reasonable to use a font with more legible type across device types, more support for internationalization (i18n), or better support for uncommon characters (e.g., mathematics).

Another example is alternatives to image assets. Emoji are the common example here, but the private use areas [1] mean that fonts can be used to deliver what would otherwise be raster images or SVGs. A great example is mixing symbols in with text without resorting to images or CSS-via-spans to solve the problem. Think public transit icons, for instance.

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

comment 6y ago · link · parent

This makes for an amusing read, but it would be helpful to have evidence. While threads (kernel or user space) have their tradeoffs, there are tradeoffs to using multiple processes as well. What's the cost?

> On a long enough time-scale, all programs will be proven incorrect. All code has bugs, including your compiler and language runtime.

That's a bit of a false dilemma. Kernel bugs exist too.

comment 6y ago · link · parent

Based on the README, it looks like it's a partial fork/mod of this upstream repo [0], which is essentially set of tooling that "uses PCIe hardware devices to read and write target system memory".

So if I'm reading this right, the partial fork has changes specifically to read CS:Go data directly out of device memory to another device, which in turn processes that data and renders a web-based map of all player locations.

[0] https://github.com/ufrisk/pcileech

comment 6y ago · link · parent

I didn't realize this existed, thanks for the link! It'll be a great codebase to look through :)
12345