Better HN
topnewbestaskshowjobs
Log inSign up

qubitcoder

1,648 karma · joined Jan 9, 2014 (12y ago) · 325 submissions

[ my public key: https://keybase.io/qubitcoder; my proof: https://keybase.io/qubitcoder/sigs/JVmfDS68RWeEMeqKdcW6ybbYTtRdh_9BV5NBocPaZ70 ]
Submissions

comment 4y ago · link · parent

If I have to wait in line at all, it's 99% a no-go. Add convenient self-checkout with wireless payments, and you've got my business. I wouldn't normally stop at CVS, but find myself doing so regularly. Why? Because there's no line. I can walk immediately to the items I need, then quickly scan them, tap my watch and walk out. It's easy, fast, and efficient.

Nowadays, waiting in line is a frustrating anachronism. The exceptions would be higher end stores like Publix that actively guide customers into the fastest checkout lines. But when purchasing a smaller quantity of items, self-checkout is most certainly preferable.

comment 5y ago · link · parent

This doesn't match my experience. I live in a small town in north Georgia, and I typically see 3-5 Teslas when driving nowadays, including small country roads.

comment 5y ago · link · parent

For what it's worth, the Tesla wipers are by default in automatic mode. They work so well that I didn't even realize they were automatic until about 10 minutes of driving in the rain.

Unlike other auto-wipers I've used in the past, the wipers on my Telsa Model Y are fantastic. By that mean, in nearly a year of driving, I've never once manually adjusted the wiper speed (or even thought about it). That includes extremely heavy downpours. The only time I interact with the wipers on the touch screen is to disable them before going through a car wash.

I believe they use the optical cameras for rain detection, unlike traditional sensor-based approaches (which were genuinely terrible).

comment 5y ago · link · parent

This is why I've been using Spacemacs as my primary editor for years now: cross-platform support, automatic language detection, package installation, well-designed key bindings, great documentation, etc. Not to mention significant productivity gains from packages such as magit (it's always fun when people see Git time machine in action--using the n/p keys to move backwards and forwards in time to see every change to a file, along with the commit message).

And it works across all major OSes. Just copy your .spacemacs file to a new laptop, and wait for everything to install itself.

To be fair, I use VS Code pretty regularly as well. But more of a nicer alternative to TextEdit/Gedit/etc. to capture notes as I work in Spacemacs (of course, there's also the helpful scratch buffer).

[0] https://www.spacemacs.org

comment 5y ago · link · parent

That’s why the MacBook Pro M1 has fans. It’s designed for harder workloads where you’re maxing out the cores (multi-core compilation, video encoding, etc) for extended periods. This was well-documented and discussed previously. The tradeoff is increased heat, power consumption, and fan noise.

Realistically, those aren’t typical workloads for most people, especially for 10+ minutes (and especially on an ultralight and portable laptop). So I wouldn’t lose sleep over thermal pads.

comment 5y ago · link · parent

Yes, but Starship is a prototype at the moment. And it'd require the Super Heavy to even reach orbit, which will soon begin testing [0].

Additionally, the engineering requirements for long-term life support are significantly more involved than the Dragon capsule.

There's also the testing and certification process for crewed-missions; in non-Elon time, this is likely several years, conservatively speaking [1]. (I'd love to be proven wrong, however!).

[0] https://www.space.com/spacex-starship-super-heavy-booster-ro...

[1] https://arstechnica.com/science/2021/04/five-reasons-why-nas...

comment 5y ago · link · parent

Yes, I can't imagine spending $10k on the promise of some half-baked FSD--especially when regular Autopilot is a reality today, and it's freaking fantastic. I, too, use it daily.

comment 5y ago · link · parent

Absolutely. All the features you mentioned are standard and work independently of Autopilot [0]

It probably has the best and most intuitive lane keeping, adaptive cruise control, blind spot alerts, collision detection warnings, etc. out there (at least from the cars I've driven). For example, other intelligent cruise control systems I've used will rigidly and aggressively maintain a fixed distance from the car in front of you, like a robot--with only 3 options: awful tail gating, kind of acceptable, and piss everyone else off as you stay a mile away.

Whereas Telsa's have some 8 levels of distance options--easily adjustable by pushing the right steering wheel button left or right, which shows a visual indicator on the screen. And more importantly, it isn't some rigid algorithm that will "always maintain 8 car lengths", instead its behavior is based on current conditions.

Autopilot is a fantastic driver-assist tool, and makes driving so much more enjoyable and less stressful. Part of the problem is that even technically inclined people, as witnessed here, have trouble with the distinction between "Full Self Driving", and "Autopilot". Autopilot is basically cruise control with steering. If you wouldn't use cruise control normally, certainly don't use Autopilot. And when using it, keep your hands on the wheel, and be prepared to take control immediately, just like it says--especially whenever there's an upcoming change to road conditions (e.g. a new lane appears, an intersection, a merger, etc).

It's also really easy to take control if it starts to veer into, say, another lane that appears. When I first got a Model Y in January, there were a couple places on my daily drive where it'd tend to rather aggressively steer into an an emerging turn lane with poor/non-existent markings. However, it would ultimately make the right decision, even if it was a little unnerving.

But with the latest software updates, those edge cases have been addressed; at most, it'll gently and momentarily steer in that direction, and then gracefully correct to maintain its previous heading (as you'd expect).

Autopilot doesn't have a detailed understanding of the road path, stop signs, intersections, etc. It's literally just using onboard sensors to figure out its surroundings.

Full Self Driving is a totally different animal.

And I think everyone would agree that Telsa has done a rather poor job communicating these distinctions and limitations.

[0] https://www.tesla.com/support/autopilot

[1] https://cleantechnica.com/2021/04/18/tesla-autopilot-is-just...

comment 5y ago · link · parent

Check out the audio books. The narrator, Jefferson Mays, does a masterful job at patois/Belter-speak, along with all the other character for that matter.

I suspect the Expanse series used his work as inspiration, since the patois is virtually identical on the show. Mays is in a league of his own. [0]

[0] https://en.wikipedia.org/wiki/Jefferson_Mays

comment 5y ago · link · parent

Welcome to the world of USB-C! My general approach, and recommendations to others, is to purchase only Thunderbolt 3 cables.

Yes, they're more expensive. But they'll essentially handle everything you throw at them, and behave as expected (due to the large protocol support [0,1]).

Of course, this won't always be the case. But it's generally a safe assumption for now.

[0] https://www.intel.com/content/www/us/en/products/docs/io/thu...

[1] https://thunderbolttechnology.net/sites/default/files/Thunde...

comment 5y ago · link · parent

Same here. This is one of the biggest selling points for macOS as a power user. I've used Windows and linux for years, and continue to do so on a daily basis. But on macOS, one can absolutely fly due to the consistent keyboard shortcuts.

- Standard keyboard shortcuts across all apps: done

- Standard Unix/bash shortcuts for moving the cursor/manipulating text: done

But, to the OP's point, unless you invest the time to learn how they work in macOS, they'll largely remain hidden and unknown.

When helping friends and colleagues transition to macOS, explaining how keyboard shortcuts work (and how powerful they are!) is the first thing I do--followed by the window/app paradigm, and then Finder.

As far as discoverability, you can use Command+Shift+/ pretty much anywhere. That keyboard shortcut displays the Help menu for the current application, with the search box already focused.

So, for example, in the Mail app, if you wanted to forward an email:

  Command+Shift+/. Start typing "forward"
Then hover your mouse over the "Forward" result. You'll immediately see the location in the menu bar, along with the corresponding keyboard shortcut: ⇧⌘F (Shift+Command+F), in this case.

And, of course, Command+; will open the Preferences for any application.

Apple actually has fairly great documentation on standard keyboard shortcuts [0].

[0] https://support.apple.com/en-us/HT201236

comment 5y ago · link · parent

To be fair, I don't think I've ejected something by dragging it to the trash can in eons (well, at least it was so long ago that I don't remember).

comment 5y ago · link · parent

The home directory is one of my most frequent destinations in Finder, and the first thing I enable in Finder (Preferences > Sidebar > <username>). And then I move it to the very top of the sidebar.

I'd argue that removing the home directory by default results in more confusion (as I've encountered multiple times now when helping others switch to macOS).

comment 5y ago · link · parent

For 1):

In Finder, you can go to _View > as Icons_ (or simply ⌘+1).

Then you can use ⌘ +/- (command plus/minus) to zoom in and out, respectively.

comment 5y ago · link · parent

Same here. I just learned about Cmd+down today after using macOS for nearly two decades. I've always used Cmd+o (as in, "open").

But it makes sense. Especially when considering that an Application on macOS is basically a folder (e.g. right click on an app, and select "Show Package Contents"), so navigating "down" into an app would open it.

comment 5y ago · link · parent

Try closing Finder and report back ;-).

And that was definitely a bug at one point. Whenever I encountered it years ago, I was always bemused thinking about how a typical user would ever figure out how to open Finder and get to their files. No matter how many times you clicked the dock icon, the window would never appear. Of course, I know to use Cmd+N; and nowadays, a new Finder window opens as expected when clicked.

comment 5y ago · link · parent

Yes, that's probably the first thing I do in Finder on a new macOS device. I struggle to understand the reasoning behind hiding it by default, since it only contains the standard folders like Documents, Downloads, Movies, etc.

I suppose it's an attempt to conceal/abstract away the underlying file system structure, which probably makes sense if those folders are already on the sidebar.

comment 5y ago · link · parent

You can also drag and drop files/folders from Finder into a Terminal/iTerm window. That'll expand to the full path in the terminal.

For example, dragging the Documents folder into a terminal pane becomes:

  /Users/<username>/Documents

comment 5y ago · link · parent

Interesting. I never noticed that because I've always used List or Icons as the default view in Finder (Command+1 and Command+2).

Personally, I'd recommend just not using the Column view. It seems pretty janky compared to the other options.

For what it's worth, Command+[ and Command+] will move back/forward between folders, just like Safari and elsewhere.

Holding down Shift with those commands will move between tabs in Finder.

comment 5y ago · link · parent

That's right. Regarding your last point about two-finger clicking on the folder name to show the path, you can also go to "View > Show Path Bar".

That will show the full path along the bottom, and you can move to any parent folder by double-clicking on it--which is, perhaps, not exactly intuitive :-).

comment 5y ago · link · parent

I'm not sure I fully understand the workflow here. I use three large 4k monitors with macOS, and it's straightforward for the most part. Then again, I basically never use the menu bar, since keyboard shortcuts are so consistent across apps. I just keep the dock on the primary display.

The only occasional pain point I encounter is when apps like Zoom automatically switch to "full screen mode".

There's also the option in Mission Control for "When switching to an application, switch to a Space with open windows for the application". If that feature is turned off, then you could, for example, have Chrome on _every_ desktop. Then it's just a matter of Cmd+tab to Chrome, and Cmd+n to open a new window on whichever display/desktop has the current focus.

For window management, I've found BetterSnapTool to be essential. It provides the typical window snapping from Windows. Better yet, you can setup keyboard shortcuts to quickly snap a window to the left side, right side, maximize, or move it to the next monitor. The shortcuts I use mimic Vim bindings, so it's easy to remember [1].

With caps locks remapped to Control in the Keyboard preferences, moving and re-sizing "windows" across multiple displays is fast & easy.

But I'm probably missing something with your particular use-case.

[0] https://apps.apple.com/us/app/bettersnaptool/id417375580?mt=... [1] https://imgur.com/a/YUufemN

comment 5y ago · link · parent

You can use Cmd+o to open a program (and the "return" key to rename it).

comment 5y ago · link · parent

Exactly the same here. I recently got a Model Y in mid-January. It's by far the best car I've ever owned, the most fun to drive, the least stressful, and it just makes me smile every time I get in it. The interface and UI is incredibly intuitive.

I've even got Siri Shortcuts setup to do things like, "hey Siri, open trunk", "vent windows", "prepare for launch" (turns on heated seats/steering wheel, sets climate control, opens garage door based on the current wifi network, etc).

Everyone who test drives it falls in love with it, including one individual who began working to get out of his BMW X5 lease.

And I've had the privilege of driving higher-end German cars for years. There's absolutely no comparison to the Tesla; the Tesla is superior in every way.

comment 5y ago · link · parent

Likewise! That's actually the reason I submitted the article.

115.

CSS Tips(markodenic.com ↗)

556 points · by qubitcoder · 5y ago · 157 comments

comment 5y ago · link · parent

Indeed. I've run into this multiple times. Something as simple as "brew upgrade youtube-dl" could end upgrading dozens of _unrelated_ packages, such as postgres--which ends up breaking my local development environments. Perhaps that's the wrong command to use, but either way, it's still frustrating when it happens.

comment 5y ago · link · parent

Indeed. This is illustrated vividly here: https://youtu.be/hA_B7qPyUDA?t=1120

Two people engage in a "charging race" to see who can charge the most in 15 minutes. The contenders, a Tesla Model Y and the 2021 Ford Mustang Mach-E.

The non-Tesla experience is almost comically sad.

comment 5y ago · link · parent

Have you considered that these measures are _temporary_? If people shared the same ideas about sacrifice, the United States would've never prevailed in WWII. Personally, it seems like objections to basic preventive measures, such as wearing a mask, are more rooted in ego and entitlement. And that is often coupled with spurious ideas about government overreach (which, while sometimes valid, isn't exactly a cogent argument in the United States, where shared ideals on liberty and limited government are so deeply ingrained).

comment 5y ago · link · parent

If homework is considered easy, then perhaps you're at the wrong school? Ideally you should be in an environment where you feel like everyone else is smarter, and you're struggling just to keep up. Consider transferring to a different institution, your future self will thank you.

comment 5y ago · link · parent

It could be a function of their integrated graphics approach with the M1 (SoC), as opposed to simply having the right ports. That's just a guess, however.
12345
11