ilozinski
Re:Ask HN: Can I see your scripts?
on Monday August 15, 2022 @10:55AM (#32470460)
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.
Re:Ask HN: Can I see your scripts?
on Monday August 15, 2022 @10:48AM (#32470367)
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.
Re:She Had a Genius Idea: Air-Conditioned Doghouses, then the City Sho...
on Sunday August 12, 2018 @07:56PM (#17747152)
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.
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...
Re:Go Web Examples
on Friday February 10, 2017 @01:22AM (#13613623)
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.
Bro pages – crowdsourced man pages
Show HN: Goku – A distributed task queue for go (similar to sidekiq or celery)
Show HN: Defaults – Simple default values in go structs
Re:Show HN: Paralyze – a go package that simplifies parallelization
on Thursday December 31, 2015 @08:27PM (#10820723)
Now that timeouts are supported, I think it makes sense. I'm curious if you agree.
Show HN: Paralyze – a go package that simplifies parallelization
Show HN: Clipboar, self destructing pastes
Re:Corecursion
on Thursday May 08, 2014 @07:33PM (#7718379)
Corecursive factorial in javascript:
https://gist.github.com/i/f75f21f6c56eb55c414c
Re:HomestarRunner.com was updated today for the first time in nearly f...
on Tuesday April 01, 2014 @05:42PM (#7511936)
A jorb well done.
JavaScript Fallacy
Re:Flappy Math Saga
on Sunday February 16, 2014 @12:53AM (#7246787)
Maybe your math skills aren't as good as you think.
World's Hairiest Teenager
Re:Show HN: SnpCht.com, a site that lets you secretly save your unread...
on Wednesday November 13, 2013 @01:13PM (#6727091)
Are you implying you lock your mailbox?
Re:Show HN: SnpCht.com, a site that lets you secretly save your unread...
on Wednesday November 13, 2013 @12:24PM (#6726709)
Pretty neat.