HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ryan-duve

739 karmajoined 6 năm trước

Submissions

Emory University News Release – Lorem Ipsum

emory.edu
1 points·by ryan-duve·2 năm trước·0 comments

comments

ryan-duve
·5 tháng trước·discuss
They're all set for the day. I probably wouldn't do it if I had to log in every hour.
ryan-duve
·5 tháng trước·discuss
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.
ryan-duve
·6 tháng trước·discuss
[666]
ryan-duve
·năm ngoái·discuss
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.
ryan-duve
·năm ngoái·discuss
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.
ryan-duve
·năm ngoái·discuss
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()
    )
ryan-duve
·năm ngoái·discuss
> 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.
ryan-duve
·năm ngoái·discuss
When I click "Join the waitlist" on Firefox I see an empty beige box on an otherwise blank page.
ryan-duve
·năm ngoái·discuss
What "very simple columnar format" did you switch to?
ryan-duve
·năm ngoái·discuss
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
ryan-duve
·năm ngoái·discuss
Could you share an example of a workflow using the built in feature to run tests in Vim?
ryan-duve
·năm ngoái·discuss
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.
ryan-duve
·năm ngoái·discuss
> 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.
ryan-duve
·năm ngoái·discuss
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?
ryan-duve
·năm ngoái·discuss
Does using SSH this way solves the Ctrl-Y problem in AWS Session Manager, which kills the session?
ryan-duve
·năm ngoái·discuss
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?
ryan-duve
·năm ngoái·discuss
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.
ryan-duve
·năm ngoái·discuss
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!
ryan-duve
·năm ngoái·discuss
I strongly recommend Elements of Physics by Millikan and Gale for anyone who wants to learn pre-quantum physics this way.
ryan-duve
·năm ngoái·discuss
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.