HN user

ryan-duve

739 karma
Posts30
Comments215
View on HN
www.emory.edu 1y ago

Emory University News Release – Lorem Ipsum

ryan-duve
1pts0
hathaway.cc 2y ago

How to fix the cursor movement in Mac OS X Terminal (2011)

ryan-duve
1pts0
arxiv.org 2y ago

A Tutorial on Principal Component Analysis (2014)

ryan-duve
2pts0
en.wikipedia.org 3y ago

Bootstrapping (Statistics)

ryan-duve
2pts0
twitter.com 3y ago

`press at twitter.com` now auto responds with Pile of Poo emoji

ryan-duve
4pts0
wyag.thb.lt 3y ago

Write Yourself a Git

ryan-duve
1pts0
en.wikipedia.org 3y ago

Cuthill–McKee Algorithm

ryan-duve
2pts0
camelot-py.readthedocs.io 3y ago

Camelot: PDF Table Extraction for Humans

ryan-duve
4pts0
spinroot.com 3y ago

Peter J. Weinberger's Face

ryan-duve
1pts0
www.youtube.com 3y ago

Stop Writing Classes by Jack Diederich (Python, 2012)

ryan-duve
3pts1
auction.whois.ai 3y ago

.ai Domain Auctions

ryan-duve
1pts0
stratusengineering.com 3y ago

Pin RS232 Pinout Explained

ryan-duve
1pts4
www.paulgraham.com 3y ago

The Python Paradox (2004)

ryan-duve
148pts269
jmespath.org 3y ago

JMESPath

ryan-duve
1pts0
basecamp.com 3y ago

Shape Up PDF

ryan-duve
3pts0
hcs64.itch.io 3y ago

Fitting Words Puzzle by Hcs64

ryan-duve
2pts0
stallman.org 3y ago

Better Genderless Pronouns in English – Richard Stallman (2018)

ryan-duve
11pts5
ubuntuhandbook.org 3y ago

How to Enable More Multi-Touch Gestures in Ubuntu 22.04 Gnome 42

ryan-duve
1pts0
pyreadiness.org 3y ago

Python 3.10 Readiness

ryan-duve
1pts0
huggingface.co 4y ago

Transformers-Based Encoder-Decoder Models

ryan-duve
1pts0
publish.illinois.edu 4y ago

Anti-Helmholtz Trap

ryan-duve
1pts0
www.first.org 4y ago

The EPSS Model

ryan-duve
1pts0
ryan-duve.medium.com 4y ago

How to Mock PostgreSQL with Pytest and pytest-PostgreSQL

ryan-duve
2pts0
lwn.net 4y ago

The Lwn.net Linux Distribution List

ryan-duve
2pts0
www.crockford.com 4y ago

Private Members in JavaScript

ryan-duve
2pts0
github.com 4y ago

Numdoc Lint: NumPy style docstring checking in Python code

ryan-duve
1pts0
www.slimy.com 4y ago

An Introduction to Lagrange Multipliers

ryan-duve
120pts10
ryan-duve.medium.com 5y ago

Intro to Topological Data Analysis and Application to Financial Services NLP

ryan-duve
1pts1
news.ycombinator.com 5y ago

Show HN: MazeBall [not mobile friendly; sorry]

ryan-duve
3pts3
www.linkedin.com 5y ago

Connecticut towns by ethnic diversity and school ranking data

ryan-duve
2pts1

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 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.

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?

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.

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.

Kagi Teams 2 years ago

Which Linux distributions are you installing on a new computer that doesn't come with Firefox installed already?

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.