Better HN
topnewbestaskshowjobs
Log inSign up

ilozinski

22 karma · joined Mar 31, 2013 (13y ago) · 22 submissions

Submissions

comment 4y ago · link · parent

I work on an m1 macbook and a lot of times using arm architecture breaks dependencies. I have two really basic functions in my .zshrc (should also work for bash):

# M1 compatibility switches

arm() { arch -arm64 "${@:-$SHELL}" }

x86() { arch -x86_64 "${@:-$SHELL}" }

This with the addition of `$(uname -m)` in my $PROMPT, has saved me a lot of time by letting me switch between arm and x86_64 architecture.

comment 4y ago · link · parent

Does anyone have something similar to this for exec'ing into kubernetes pods? It's usually not the case that the container will have bash, vim, etc., but there is probably something to make it feel more like home.

comment 8y ago · link · parent

What happens if the machine loses power on a hot summer day? Seems like either the dog would be incinerated or the door unlocks in a failure mode. Either scenario sounds like a nightmare.

4.

Cascading Soft-Deletes in Django(blog.usebutton.com ↗)

1 points · by ilozinski · 8y ago · discuss

comment 8y ago · link · parent

My name is also Ian and I have invented my own shoe-tying method independently from Ian Fleggen's method. I believe it's faster than the "Ian Knot". Once I come up with a name for it, I will publish it online.

Taking name suggestions...

comment 9y ago · link · parent

Gorilla mux is way overrated and overused. I'm not sure why it's the first choice for so many people. There are much better alternatives such as https://github.com/julienschmidt/httprouter or https://github.com/gin-gonic/gin.

7.

Bro pages – crowdsourced man pages(bropages.org ↗)

3 points · by ilozinski · 10y ago · 1 comment

8.

Show HN: Goku – A distributed task queue for go (similar to sidekiq or celery)(github.com ↗)

4 points · by ilozinski · 10y ago · discuss

9.

Show HN: Defaults – Simple default values in go structs(github.com ↗)

2 points · by ilozinski · 10y ago · 2 comments

comment 10y ago · link · parent

Now that timeouts are supported, I think it makes sense. I'm curious if you agree.

11.

Show HN: Paralyze – a go package that simplifies parallelization(github.com ↗)

16 points · by ilozinski · 10y ago · 4 comments

12.

Show HN: Clipboar, self destructing pastes(clipboar.org ↗)

2 points · by ilozinski · 12y ago · discuss

comment 12y ago · link · parent

Corecursive factorial in javascript: https://gist.github.com/i/f75f21f6c56eb55c414c

comment 12y ago · link · parent

I'm in your class!

comment 12y ago · link · parent

A jorb well done.

16.

JavaScript Fallacy(gist.github.com ↗)

1 points · by ilozinski · 12y ago · discuss

comment 12y ago · link · parent

Maybe your math skills aren't as good as you think.

18.

World's Hairiest Teenager(guinnessworldrecords.com ↗)

1 points · by ilozinski · 12y ago · discuss

comment 13y ago · link · parent

Are you implying you lock your mailbox?

comment 13y ago · link · parent

Pretty neat.

21.

Show HN: In celebration of Earth Day...(yoloswag420.net ↗)

3 points · by ilozinski · 13y ago · discuss