Better HN
topnewbestaskshowjobs
Log inSign up

kevlar1818

2,215 karma · joined Sep 3, 2015 (11y ago) · 314 submissions

[ my public key: https://keybase.io/kevlar1818; my proof: https://keybase.io/kevlar1818/sigs/UT289FEs31yiQeJODcOD-gQ-wUlGGTJpItPBA1nHYPE ]
Submissions

comment 5y ago · link · parent

Very interesting. I'd like to learn more about how it works. How does this compare to DVC[1], for instance?

I'll throw in a shameless plug for my tool in this area, Dud[2]. Dud is to DVC what Flask is to Django.

Are the mentioned benchmarks published somewhere?

[1]: https://dvc.org [2]: https://github.com/kevin-hanselman/dud

comment 5y ago · link · parent

(HN mods: From 2015)

3.

Apache Arrow: A Cross-Language Development Platform for in Memory Data [video](youtube.com ↗)

2 points · by kevlar1818 · 5y ago · discuss

comment 5y ago · link · parent

TLDR: Small, cross-functional teams build better products.

comment 5y ago · link · parent

Thanks for the words of encouragement! I'm aiming to have basic benchmarks published in the next month.

comment 5y ago · link · parent

A tool for storing, versioning, and reproducing large files alongside source code. It's called Dud[1].

Dud : DVC :: Flask : Django

Open-sourced last October, targeting a more polished release in Q1.

[1]: https://kevin-hanselman.github.io/dud/getting_started/tour/

comment 5y ago · link · parent

Dud[1] is a tool for storing, versioning, and reproducing large files alongside source code. Planning a more "formal" release in Q1.

Dud : DVC :: Flask : Django

[1]: https://kevin-hanselman.github.io/dud/getting_started/tour/

8.

Code for the scenes used in 3blue1brown videos(github.com ↗)

4 points · by kevlar1818 · 5y ago · discuss

comment 5y ago · link · parent

I really like this method as opposed to using a bare Git repository. For one, it's conceptually simpler in my mind; you don't have to understand Git internals to get this working. Secondly, this lets you pick and choose which config files you want to "install" on a machine.

I feel obligated to share my Bash script, dotfiles.sh[1], that accomplishes what Stow does, but with a few tweaks that I found particularly useful:

dotfiles.sh targets the user's home directory by default (i.e. stow -t $HOME).

dotfiles.sh never symlinks directories, only files (i.e. stow --no-folding). (This was the straw that broke the camel's back and made me roll my own script in the first place.)

dotfiles.sh makes backups of local config files and can restore them if you remove your symlinked version.

My script is quite old now, and I use it so seldomly I'm not convinced there aren't bugs. YMMV.

[1]: https://github.com/kevin-hanselman/dotfiles

comment 5y ago · link · parent

No Special Duty - Radiolab[1]

From the link below: "What are the police for? Producer B.A. Parker started wondering this back in June, as Black Lives Matter protests and calls to “defund the police” ramped up. The question led her to a wild story of a stabbing on a New York City subway train, and the realization that, according to the law, the police don’t always have to protect us. Producer Sarah Qari joins Parker to dig into the legal background, which takes her all the way up to the Supreme Court... and then all the way back down to on-duty officers themselves."

[1]: https://www.wnycstudios.org/podcasts/radiolab/articles/no-sp...

comment 5y ago · link · parent

As a non web developer, writing less JS appeals to me, and I've found HTMX[1] to be simple to use. I'll add that the HTMX website/docs are much more approachable than this site.

[1]: https://github.com/bigskysoftware/htmx

comment 5y ago · link · parent

Shoutout to Michael Fogleman's primitive[1] for likely inspiring this work.

[1]: https://github.com/fogleman/primitive

comment 5y ago · link · parent

I'm excited about io/fs[1]. As a newcomer to Go, one of my favorite things is the excellent I/O interfaces. I can write code to take io.Writer's or io.Reader's (etc.) and my program is suddenly both a CLI app, a Web app, and a Whatever app with minimal effort. (The effect is similar at lower levels too. For example, I can log to a file or to memory with a one-line change.) I sense a lot of potential in applying this interface-based design on filesystems themselves.

[1]: https://tip.golang.org/pkg/io/fs/

comment 5y ago · link · parent

Absolutely this. I'll highlight two sub-commands of bspc that are particularly helpful for "building your own window manager" as you mention: You can dump the entire state of bspwm to JSON using `bspc wm -d`, and you can subscribe to window manager events using `bspc subscribe`.

An example I've implemented for myself: When opening a single app in an empty workspace, by default bspwm stretches the window to fit the whole screen (as usual with tiling window managers). On big monitors, this can be pretty annoying (e.g. staring at the very upper left corner of your 32" monitor when using a terminal). Using bspc, I can listen to when new windows are added, inspect bspwm's state to see if the new window is in a workspace on its own, and then use bspc to adjust the margins on the workspace to make the window a more comfortable size in the center of the screen. Even in Python I can do this in ~100ms.

comment 6y ago · link · parent

You may also be interested in a simple tool I'm building that works in concert with source control to store, version, and reproduce large data: https://github.com/kevin-hanselman/dud

My project is in its infancy (open-sourced less than a month ago), but I'm pleased with its UX thus far. There's lots to add in terms of documentation, but Dud currently uses Rclone[1] for remote syncing.

[1]: https://rclone.org/

comment 6y ago · link · parent

As a southern Mainer (not From Away :P) this is spot on.

17.

The Python Way (1999)(groups.google.com ↗)

1 points · by kevlar1818 · 6y ago · discuss

18.

Haunted by Data – Maciej Ceglowski(youtu.be ↗)

1 points · by kevlar1818 · 6y ago · discuss

19.

U.S. Fire and Smoke Map(fire.airnow.gov ↗)

2 points · by kevlar1818 · 6y ago · discuss

comment 6y ago · link · parent

I've been wanting to replace my Android box with a Linux box for a while, and I think this signals my Android TV exit. The main reason I have an Android TV box is because of its easy to use UI. I haven't found a suitable desktop environment or web browser configuration that supports a TV-scale UI on Linux. Does anyone have a Linux HTPC setup they're happy with? I really don't want to need a mouse and keyboard to watch Netflix, etc.

21.

The Twitch Streamer Who's Reinventing the Platform(youtube.com ↗)

1 points · by kevlar1818 · 6y ago · 1 comment

22.

File System Interfaces for Go – Draft Design(github.com ↗)

1 points · by kevlar1818 · 6y ago · discuss

23.

Nuitka: A Python Compiler(github.com ↗)

2 points · by kevlar1818 · 6y ago · discuss

comment 6y ago · link · parent

Maybe it's because I'm a newcomer to Go, but I'm surprised by all of the shade being thrown in the comments here. I think the design doc presents a clean and simple way to implement generics in Go -- and therefore it's very much in keeping with the spirit Go. I especially like the constraints system. Constraining generic types via interfaces just feels "right" for the language. It leans on a familiar mechanism with just enough leverage.

I'm not without concerns, but I'm struck by conflicting thoughts: I share the worry that implementing generics will negatively affect Go program readability which Go developers (rightfully) covet; when you have a hammer, everything looks like a nail. And yet, I also worry that the Go community is at risk of analysis paralysis on iterating the language in meaningful ways; the novel and innovative spirit that created Go must be harnessed to propel it into the future, lest it dies on the vine.

25.

DIY Solar Tracking System Inspired by NASA (Parker Solar Probe)(youtu.be ↗)

2 points · by kevlar1818 · 6y ago · discuss

26.

Go 2 proposal: simplify error handling with "pass" or "return if"(github.com ↗)

5 points · by kevlar1818 · 6y ago · 1 comment

comment 6y ago · link · parent

We use on-prem GPU nodes for training deep learning models. Our group estimated the cost vs. cloud and it was significantly cheaper to go on-prem. I can't speak to security-wise and whatever-wise though :)

comment 6y ago · link · parent

Thanks for pointing that out. I dislike this moderation strategy, but I'll respect it.

comment 6y ago · link · parent

@dang + HN moderators: Why did you change my link? I originally linked to the ArsTechnica article. And why was it removed from the front page?
12345
11