HNHacker News
TopNewBestAskShowJobs

kungfufrog

468 karma · joined July 11, 2015

submissionscomments
kungfufrog··on Ask HN: Can I see your cheatsheet?
Thanks for the link, had a quick peruse, looks very comprehensive!
kungfufrog··on Ask HN: Can I see your cheatsheet?
That AWK REPL in JS is amazing! Just what I need for a playground to refine my understanding of its language. Thank you!

I will consider buying the books and spread the word :) Thanks again!

kungfufrog··on Ask HN: Can I see your cheatsheet?
I consider myself pretty experienced at shell-fu and capable of doing most things I set out to achieve in either bash scripts or fearless one-liners. However, my awk is rudimentary at best, I think mostly because it's such an unforgiving environment to experiment in.

These books you've written are great for a bit of first principles insight and then quickly building up to functional usage. I will have no hesitation in referring colleagues to them!

Do you have a patreon or something similar? Do you accept pull requests for collaboration?

Thanks for creating such great free material!

kungfufrog··on Don't use Kubernetes yet
My experience of ECS is the opposite of yours. It integrates nicely with the AWS ecosystem and was substantially easier to use and educate others on. Would not hesitate to use again on either fargate or BYO EC2. I will acknowledge scheduling is not quite as fast as Nomad but I never found it 'slow'
kungfufrog··on macOS screenshot tricks to impress your co-workers
Y'all definitely need to check out Shottr too, it has built in annotation and OCR and doesn't cost anything unlike CleanShot (which admittedly, is great too!)

https://shottr.cc/

kungfufrog··on SQLite 3 Fiddle
Holy smokes, all of this is very cool! Nice work!
kungfufrog··on I won free load testing
This is a good alternative when security is the priority. Wouldn't verifying an mTLS certs validity be significantly more expensive than whitelisting IP blocks though? Especially when a server is potentially under duress? Can you cache the verification so it wouldn't have to be done each time? All legitimate questions! I don't have the answers but am curious.
kungfufrog··on Show HN: Hatch 1.0.0 – Modern, extensible Python project management
Hey, thanks for taking the time to respond. I also wanted to say thanks for hatch, I can see this problem space is something you care a lot about! I will definitely give it a go at the next opportunity and see how I can fit it into my workflow.

I have to say I do like a lot of the design decisions that have gone into hatch. Regardless, it is great to have more compelling options being worked on, and eventually something will get it "right" enough for the important use cases that it becomes a de facto standard and then hopefully a "blessed" option that everyone can rally around.

kungfufrog··on Show HN: Hatch 1.0.0 – Modern, extensible Python project management
Strangely enough the more I think about this, I kind of want hatch, PDM and poetry to have a baby in some unholy union and give me everything:

I want the automatic virtualenv management from poetry with the lockfile for dependency management and resolution

BUT

with the option to use a vendor dir like PDM without virtualenvs

BUT

with hatch's awesome environment management and matrix functionality for tests/docs etc.

Then, I'd love to work out how I can bundle a python runtime against my package so I can ship a single distributable archive that can be placed anywhere to run predictably. Does anyone have any suggestions for something that solves this last part?

kungfufrog··on Show HN: Hatch 1.0.0 – Modern, extensible Python project management
Meanwhile, the last few years I've consolidated on poetry and been pretty happy with it. How does hatch compare to poetry?

Ultimately, I don't really care what I use! But python's woeful package management and distribution is actually a factor in my decision criteria for when and how I use it.

If I control the system end to end? Sure, I don't mind messing with python and building something I deploy. If not, I don't want to deal with it or the headaches that come with the gazillion ways the runtime can be installed/packaged. In this situation I've been defaulting to go even though I'm slightly less productive in it.

I just want a community accepted standard solution that gives me an easy way to offer a pip installable package with its dependencies, or a way to package the runtime easily (cross platform) and move it around with my code so I can forget altogether about what's lurking underneath all that.

kungfufrog··on Memray: a memory profiler for Python
https://github.com/plasma-umass/scalene check out scalene!
kungfufrog··on Why Ruby Has Symbols
To be honest, while I've dabbled in Ruby, I've never understood the difference on an intuitive gut level like other foreign constructs unique to individual languages I've gone deep with.

I don't know what it was about this article but I feel slightly more confused now. It jumps to bytecode before explaining how they're useful at the higher level of abstraction that is the developer.

How do symbols help you think about and find solutions to problems and then implement those solutions? I.e., what is the facility they provide that is not present in some more traditional OOP language (say PHP?)

kungfufrog··on Mgmt – Next generation distributed, event-driven, parallel config management
Hi purpleidea, I've been following the project for years because of how much I loved the concept and how inspiring I found one of the talks you gave about how the configuration management space is all wrong. I remember when you left your job at RedHat to work on mgmt full-time and was excited for what would come of it.

I was just wondering if you can comment on the current status of the project and its future direction at this point?

kungfufrog··on Zim – The Zsh configuration framework
I see. I just dump that kind of stuff in a bash script or bash -c '...' it directly if necessary.

Still, to each his own! That's the great thing about having a glut of viable options.

kungfufrog··on Zim – The Zsh configuration framework
I don't get it. Are you executing extremely convoluted bash one liners at your shell prompt?

I still write for bash and use a bash shebang to run it when I need to script. Mostly because the likelihood a colleague or whoever else comes along later happens to be using fish is pretty low. Bash remains the most portable option!

kungfufrog··on Zim – The Zsh configuration framework
I used to love zsh and it's endless customisation options, it definitely felt more robust and sophisticated than bash as a shell and was my preferred daily driver.

Then I discovered fish and to be honest the sane defaults and out of the box functionality means I haven't looked back in a few years now.

If fish didn't exist, I'd absolutely still be using zsh with Zim or presto.

kungfufrog··on Writing a document database from scratch in Go: Lucene-like filters and indexes
Did you read the article? He addresses your point directly. Your criticism sounds a little petty, but, perhaps you're being flippant and it's lost on me..
kungfufrog··on Grafana OnCall: an easy-to-use on-call management tool
I'm not sure what this is competing with in it's current incarnation.

I need corresponding mobile phone applications for any alert product I intend to use that can override DND/volume etc. on my phone so I can get woken up at night and respond to problems.

kungfufrog··on Show HN: Document and automate your operations playbooks and business processes
I have had a peruse of the product website, but I'm still kind of confused having never used a product in this niche before. When I hear "operations", as a developer/administrator I think of things like DB migrations, data archiving, crisis management, routine deploy related tasks, system and software upgrades, metrics/monitoring and associated tooling, etc.

At first blush, I can't work out how a website would be particularly helpful in orchestrating those type of actions.

Can you give some examples of "operations" that fall right in your wheelhouse?

kungfufrog··on Lab-grown meat may never be cost-competitive enough to displace traditional meat
Regardless, in terms of humaneness, the aforementioned approach is a pragmatic step up from industrialised meat farming. Morally, however, the argument for killing an otherwise "healthy" animal regardless of the humaneness involved is specious at best.
kungfufrog··on A Tour of the Oil Language
I see Oil and oilshell posted here somewhat regularly.

Is anyone using it and can relay their experiences?

Is it ready to be used as a daily driver?

kungfufrog··on Apple fires engineering manager for allegedly leaking information
Thanks for the thoughtful and considered replies, lots of food for thought! I genuinely wish to understand how to approach these issues better in terms of my own internal thought processes but also how others feel. At some point though, I think the feelings of others have less merit than my own, I'm just unsure how to be certain of where that boundary is and want to avoid being an inconsiderate jerk at the same time.
kungfufrog··on Apple fires engineering manager for allegedly leaking information
Well, I have two reactions to this:

1) "Drop the pants" doesn't offend me 2) I don't know why it's assumed kimono is a reference to a garment exclusively worn by women and certainly the etymology of the phrase is not clear that it pertains at all to Geisha's or "comfort women"

The best evidence I can find online suggests its a reference from feudal Japan where one could prove one wasn't harbouring any weapons.

However, I do agree that when someone says, "this language is demeaning and hurtful to me", that you should at least reflect internally on whether that's a valid position for them to hold and if so change your own behaviour to cease using a certain phrase.

The bit that stumps me, and I mean I'm totally flummoxed here, is what do I do when I fundamentally disagree with someone else about the implicit sexism or bias of an expression? What if it's something as innocuous as "low-hanging fruit", and, a colleague is offended by that?

EDIT: Actually, I just had a reaction to this, which is when someone else polices my phrasing, I feel misrepresented and attacked. Especially when there exists enough ambiguity that it would be impossible to determine whether there was intent or some hitherto unearthed entrenched bias in my choice of words. So now we're in a circular argument. I feel victimised, and they feel victimised.

Oh gosh, now I'm having flashbacks of past toxic relationships.

kungfufrog··on Apple fires engineering manager for allegedly leaking information
I had never heard the phrase, "open the kimono", before, as referenced here in a summary of events leading to her firing: https://www.ashleygjovik.com/ashleys-apple-story.html

I find it hard to see the implicit sexism in this. Truth be told, if I heard the phrase around the workplace and someone took issue with it I'd probably be internally rolling my eyes.

Am I different from the average person? Do other people have an automatic, internal and visceral reaction to such locutions that I'm lacking?

kungfufrog··on Measuring memory usage in Python: it’s tricky
Is MiB/GiB binary? And, GB/MB SI? Or the other way around?
kungfufrog··on Ansible 4.0
Hey there, I've been following "mgmt" for years, hoping it was going to be the next big thing. I did see a while ago that you made a significant investment in developing mgmt full-time but then didn't see much news out of the community afterwards.

I'm curious whether there's a status update you could provide? I'd love to get involved as I think it truly represents a next generation style config management system, but I also had fears it was dead in the water or not being actively developed!

kungfufrog··on Deno 1.6 supports compiling TypeScript to a single executable
Not sure ncc is an equivalent. I think nexe or pkg are comparable, they bundle a runtime into the exe whereas ncc just reduces the code down to a single distributable code file in that you still need node installed to run it on the target host.
kungfufrog··on 30-35 percent of Covid-19-positive Big Ten athletes had myocarditis
I just wanted to say I'm sorry you're experiencing such terrible after effects. When you had COVID, was it a particularly severe case?

I hope there is some possibility of long term recovery beyond where you're stuck at now.

kungfufrog··on After 10 years in tech isolation, I’m now outsider to things I once had mastered
https://www.youtube.com/watch?v=2UKeHbrsF94&feature=emb_logo

One of the videos that got Jesse McGraw on the FBI radar and ultimately arrested. I don't necessarily agree with the severity of his sentence or how he was treated in prison, but his behaviour was pretty reprehensible and juvenile.

It is sad he lost 10 years of his life from some pretty thoughtless actions that I'm sure had he had more life experience would not have considered undertaking.

kungfufrog··on Fundamental attribution error
There's a specific name for that cognitive bias but I can't remember what it is. I recall it being mentioned in the context of a CTO articulating why they believed their business' product was successful. Their answer was, 'we used Ruby on Rails', and the bias was demonstrated in that there's no clear way to distinguish if that fact was an actual true determinant in the product's success, but because looking back it stood out to him/her as something tangible they could reason about, then it must be true by de facto.

edit: Perhaps hindsight bias? https://en.wikipedia.org/wiki/List_of_cognitive_biases

← PreviousPage 3 of 4Next →