They're all set for the day. I probably wouldn't do it if I had to log in every hour.
HN user
ryan-duve
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.
[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.
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()
)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.
When I click "Join the waitlist" on Firefox I see an empty beige box on an otherwise blank page.
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?
TL;DR, YAGNI
I had a former boss who strongly pushed my team to use the repository pattern for a microservice. The team wanted to try it out since it was new to us and, like the other commenters are saying, it worked but we never actually needed it. So it just sat there as another layer of abstraction, more code, more tests, and nothing benefited from it.
Anecdotally, the project was stopped after nine months because it took too long. The decision to use the repository pattern wasn't the straw that broke the camel's back, but I think using patterns that were more complicated than the usecase required was at the heart of it.
And don't even get me started with dependency injection in Python.
Could I get you started? Or could you point me to a place to get myself started? I primarily code in Python and I've found dependency injection, by which I mean giving a function all the inputs it needs to calculate via parameters, is a principle worth designing projects around.
I've only used Elixir/Phoenix as the backend with Elm as the frontend. If you're familiar with that, can you TL;DR what Phoenix Liveview does differently than a Phoenix/Elm/GraphQL stack?
Does using SSH this way solves the Ctrl-Y problem in AWS Session Manager, which kills the session?
When I click the coin I see an animation of 7-8 blurry coins spinning. Further clicking seems to have no effect. Is something else supposed to happen?
My startup got acquired last year so I haven't interviewed anyone in a while, but my technical interview has always been:
- share your screen
- download/open the coding challenge
- you can use any website, Stack Overflow, whatever, to answer my questions as long as it's on the screenshare
My goal is to determine if the candidate can be technically productive, so I allow any programming language, IDE, autocompleter, etc, that they want. I would have no problem with them using GPT/Copilot in addition to all that, as long as it's clear how they're solving it.
I always read these articles that have lists of commands in Vim because I always learn a new one.
Have you ever used U after dd? Don't even try.
I never know about `U` before now!
I strongly recommend Elements of Physics by Millikan and Gale for anyone who wants to learn pre-quantum physics this way.
Site feedback: when I drag "Popular sources" into the field, I see the options "YouTube" and "HackerNews". But when I click either I just see a blank modal. I'm using Firefox 135.
This can be addressed with some variant of
random.seed(hash(user_id))
I think the bigger problem is handling the fact that not all users click through the same number of times.A lot of sites don't have enough traffic to get statistical significance with this in a reasonable amount of time
What's nice about AB testing is the decision can be made on point estimates, provided the two choices don't have different operational "costs". You don't need to know that A is better than B, you just need to pick one and the point estimate gives the best answer with the available data.
I don't know of a way to determine whether A is better than B with statistical significance without letting the experiment run, in practice, for way too long.
How do you handle different users having different numbers of trials when calculating the "click through rate" described in the article?
Do you have a link you can share that demonstrates the details of this approach?
Does anyone know of a way other than Raman spectroscopy to classify graphene monolayers? I recall making the graphene was simple but confirming it was the real chore.
Do you recommend something different than the article?
@nayuki Did this comment change your mind?
Which Linux distributions are you installing on a new computer that doesn't come with Firefox installed already?
I've never used Ansible. Is it worth using for just this workflow? I'm asking coming from a baseline of just having a Git-versioned shell script which has lines like
brew install coreutils
and whathaveyou.Yes, but in addition to the one at home we also have to buy a separate one to sit in the nurse's office all year. Also, if the before/after school program doesn't have access to the nurse's office, we have yet another one that sits in their cabinet, too.
They all come home at the end of the year, expire, repeat.