Hacker Newsnew | past | comments | ask | show | jobs | submit | ryan-duve's commentslogin

My work ritual every morning:

1. Power on laptop (it is powered off every day at 5 PM).

2. Log into VPN.

3. Log into Okta.

4. Log into AWS accounts, one per container (about 7 or 8).

5. Log into Docker Desktop.

6. Log into AWS CLI to get daily credentials.

The whole thing takes about 3-4 minutes. A former colleague referred to this as my "mise en place", or my daily arranging of my working environment. Like the article suggests, I find this offers me a "centering" before I open my email, calendar and missed chat messages and get started for the day.


I'm glad it helps you center.

But does anyone else think it's crazy how many logons you need to do on a repetitive basis?


I know you mean crazy bad, but only needing 3-4 minutes is crazy good.

Go ask your baker how early they had to arrive to make sure your croissan'wich was ready at 8:23 AM.


All of this should be just a matter of plugging in a $device into your computer that proves you are you. Then every other service should trust that and just log you in automatically.


Do those stay logged in for extended amounts of time? Most of my "serious" accounts have expiration times of an hour, so I only ever login when required.


They're all set for the day. I probably wouldn't do it if I had to log in every hour.


All that should just happen. Unless it is FedRAMP or something insane like that.


I have set my own cli credentials ttl to 8 hours and require 2FA to refresh. Once daily works fine for me. It all takes ~30 seconds, really.


Hello internet friend. I may be able to make your life easier for 4.

You can use aws vault to open the aws console using roles:

    aws-vault --help
    usage: aws-vault [<flags>] <command> [<args> ...]
    ...
    login [<flags>] [<profile>]
        Generate a login link for the AWS Console.
Which when combined with this plugin: https://github.com/blimmer/zsh-aws-vault

You can just to `avli some-role` and it will pop up in the browser in a new profile.

The only downside here is that you can't combine them into one window.

But it takes the pain out of logging in, and 2 factor, etc.


What is your VPN setup like?


[666]



I only spent a minute on the trainer, but my recommendation is to change the user experience from "type M 5 times in a row" to something like "get to the target with a single keystroke". Without any expertise is making a Vim training program, I feel like showing someone a goal and having them think of what keystrokes gets them there will be more effective than telling them the keystroke and having them type it 5 times consecutively.


Good news: no p-value threshold needs to be passed to switch from one UI layout to another. As long as they all cost the same amount of money to host/maintain/whatever, the point estimate is sufficient. The reason is, at the end of the day, some layout has to be shown, and if each option had an equal number of visitors during the test, you can safely pick the one with the most signups.

When choosing one of several A/B test options, a hypothesis test is not needed to validate the choice.


Yes, but assuming it was enhancing something already there, it was all pointless work.


I wonder if the author would have thought Pandas feels less clunky if they knew about `.eval`?

    import pandas as pd


    purchases = pd.read_csv("purchases.csv")

    (
        purchases.loc[
            lambda x: x["amount"] < 10 * x.groupby("country")["amount"].transform("median")
        ]
        .eval("total=amount-discount")
        .groupby("country")["total"]
        .sum()
    )


Or with and .assign:

    (
        purchases.loc[
            lambda x: x["amount"] < 10 * x.groupby("country")["amount"].transform("median")
        ]
        .assign(total=lambda df: df["amount"] - df["discount"])
        .groupby("country")["total"]
        .sum()
        .reset_index()  # to produce a DataFrame result
    )


``` library(data.table)

purchases[amount <= median(amount)*10][, .(total = sum(amount - discount)), by = .(country)][order(country)]

```

- no quotes needed - no loc needed - only 1 groupby needed


> The current 9-series configuration, which will end with 9ZZZ999, is projected to end sometime in 2026... The next generation of license plates will flip that structure on its head, moving to a “Numeral Numeral Numeral Alpha Alpha Alpha Numeral” format — such as 000AAA0.

Does anyone know why they care about this structure? Naively, there are 36^7 (minus edge cases) combinations available, which will always be sufficient.


In addition to the more concrete reasons, abstractly they're getting a bit of extra usage out of the namespace by segmenting it. A 9ZZZ999-type license plate is not just any license plate — it's specifically an ordinary private vehicle (as opposed to a state-owned vehicle or a trailer) that was registered in California between 1980 and 2026, and both of those facts are durably encoded in the number. Notably, both of these are also very human-readable facts, which for most of the existence of the car bureaucracy was extremely germane. The CA DMV got its digital-records act together in the 1990s (this is from memory, it might have been in the Bush years but it certainly wasn't in the '80s and it was a done deal by the Obama era) but there was a long time before that when "just plug it into the DB" was not an option because the DB was a filing cabinet and the query engine was a human digging through it.


So for example the capital O on license plates in California is only distinguished from the zero by being slightly more squarish, the capital G is mostly distinguished from six by six being slightly more smooth and diagonal in its top arc. I and one are a bit further visually, as are B and 8, but it would probably fool a traffic camera that was taking down plates automatically.

In addition, all-numbers-plates, I believe, are reserved by California exempt plates (emergency vehicles, police), and vanity plates are absolutely a thing, much more likely to start and/or end on a letter, so that's why you see numbers at the beginning and end. Like you can kinda see “6EIC023” and say “oh yeah my car looks like an ad for Geico” but because the start and end are numbers it doesn't occur to most people.


All-numbers would be worse not better? That's only 10^7, even if they kept the first one 1-9 and did 26^7,they'd have billions, seems like the obvious solution, but I take it there must be some limitations that make it hard to go there.


The DV (Disabled Veteran) plates are notably all-numerical. They are also issued in order of application.

That’s the primary way you can differentiate them at a glance from the DP (Disabled Person) plates.

Just a little odd fact; I know you meant the more standard plates.


The DMV considers the "DP" at the end of a DV plate to be part of the identifier. So DV123DP, in their database.


I think the DV and DP have implicit prefixes (DV and DP respectively) for when they are referenced or recorded.

I may be wrong, but that’s what get when I see them.


It's easier for memory and verbalization.


So... the headline is BS, and California is just being dumb?

This is not a shock. After moving here, I find that CA's highly-touted "car culture" is pretty retrograde compared to other major metro areas.


Down-modded by flunkie CA administrators.


When I click "Join the waitlist" on Firefox I see an empty beige box on an otherwise blank page.


Thanks for letting us know. Unfortunately we haven't been able to reproduce that with the current version of Firefox, but if you'd like to email us at hello@freefollow.org we'll add you to the list manually.


In Edge I get a big red screen yapping about the site being unsafe.


What "very simple columnar format" did you switch to?



For the curious, from the link above:

> log, plank, stick, crafting table, wooden pickaxe, cobblestone, stone pickaxe, iron ore, furnace, iron ingot, iron pickaxe and diamond


Could you share an example of a workflow using the built in feature to run tests in Vim?


Sure, here's a recorded example: https://www.youtube.com/watch?v=TUeousvp4PQ


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: