HNHacker News
TopNewBestAskShowJobs

craigching

881 karma · joined October 21, 2012

submissionscomments
craigching··on Lossless Log Aggregation - Reduce Log Volume by 99% Without Dropping Data
Sampling is lossy though
craigching··on Towards Idempotent Rebuilds?
Maybe even hermetic builds? https://bazel.build/basics/hermeticity
craigching··on An open-source implementation of Apple code signing and notarization (2022)
We have an enhancement opened with Apple to have a way to delete .cstemp files if the tool runs into them. You'd think we could just add a `find . -name '*.cstemp' -exec rm {} \;` to our build toolchains before building, but we're in a large mono-repo and that would add a lot of time to our builds. Having something like a `--force` to delete the .cstemp files instead of quitting and reporting an error would make us change to this tool pretty quickly I'd think.
craigching··on After 14 years in the industry, I still find programming difficult
At one company, I was responsible for putting together all the third-party software and their licenses. I called it the TPS report :)
craigching··on Building a high performance JSON parser
In my case, sentry events that represent crash logs for Adobe Digital Video applications. I’m trying to remember off the top of my head, but I think it was in the gigabytes for a single event.
craigching··on Building a high performance JSON parser
Probably anywhere that requires parsing large JSON documents. Off the shelf JSON parsers are notoriously slow on large JSON documents.
craigching··on Understanding Automatic Differentiation in 30 lines of Python
Also micrograd from Andrej Karpathy: https://github.com/karpathy/micrograd
craigching··on Mpire: A Python package for easier and faster multiprocessing
Someone downvoted you, I upvoted because I think you have a good point but it would be nice to back it up. I think I agree with you, but I have only used concurrent.futures with threads.
craigching··on When did Postgres become cool?
I remember maybe circa 2004 debating Postgres and mysql with a colleague. I told him to unplug the machine that was hosting his mysql instance. He did and corrupted his database. He said it didn't matter, he had backups, speed was more important :p This was before mysql had the innodb storage engine, after that it wasn't so bad. I have always stood by Postgres though, it's a fantastic piece of open source software.
craigching··on An Introduction to Statistical Learning with Applications in Python
To your point, I replaced an LSTM that required ~$100k of infrastructure with XGBoost that required no more infrastructure (we created and used the model at query time on existing infrastructure we already had for query loads) and only lost about 2% accuracy (LSTM: 98%, XGBoost: 96%). This was two years ago and it's still in use.
craigching··on An Introduction to Statistical Learning with Applications in Python
I used to introduce people new to machine learning with a python-converted version of ISL that I was developing. I never finished converting all of ISLR so this is very welcome!
craigching··on An Introduction to Statistical Learning with Applications in Python
Bishop is going to be more theoretical than ISL. It is true that Bishop is taught as an introduction to ML in many universities, but if you want more hands on to start with, ISL is an excellent option. There is another text called "Elements of Statistical Learning" that pairs well with ISL for a more theoretical treatment. I haven't looked at ESL in a long time, the only concern I'd have is if they aren't covering some introductory deep learning topics. Most of ISL, ESL, and Bishop are more traditional machine learning, covering a wide variety of algorithms, so bear that in mind.
craigching··on An Introduction to Statistical Learning with Applications in Python
ISL is a more introductory book than Bishop or Murphy. There's no reason not to read all of them, they're all excellent books that cover different topics. I'd also throw in Elements of Statistical Learning from the same authors as ISL(R/P). I've read ISL, ESL, and Bishop, started Murphy but didn't finish it (no real reason, just lost track of it when I got busy). I highly recommend any and all of these texts.
craigching··on Nineteen new Wolf-Rayet stars discovered in the Andromeda galaxy
https://en.m.wikipedia.org/wiki/Stellar_classification Answers most of your first two questions about classes of stars and stars that promote the possibility of life, though I don’t see Wolf-Rayet mentioned there.
craigching··on Terrible real estate agent photographs
Reminds me of https://www.cakewrecks.com :)
craigching··on HouseWatch: Open-source tool for monitoring and managing ClickHouse clusters
Uber wrote a blog on using Clickhouse to store logs: https://www.uber.com/blog/logging/
craigching··on HouseWatch: Open-source tool for monitoring and managing ClickHouse clusters
Integrate this into Grafana as an app plugin and you’d have me. I don’t want to leave Grafana where I have all my other operational dashboards for this.
craigching··on MiniGPT-4
If you want to understand the theory, that's true. If you want to develop an intuitive understanding without having to understand all the nuts and bolts (and I understand that can be a big ask for how some people learn/understand), give this a try: https://karpathy.ai/zero-to-hero.html
craigching··on MiniGPT-4
I was where you're at about ... oh wow, it's been almost ten years since I jumped into machine learning. Mind you, I've been learning on the side most of this time other than a theoretical class at the University of Minnesota. But, that aside, and depending on where you're at in your understanding, this is a great resource for catching up if you're really interested: https://karpathy.ai/zero-to-hero.html it was posted on HN a couple of weeks ago and I have to say it's a really good introduction and Andrej Karpathy is a passionate and excellent teacher. You may want to brush up on some intro Calculus, but it's very understandable.
craigching··on 916 Days of Emacs
I’m a touch typist and don’t find that argument valid either for vi or emacs. And I’ve used emacs for over 30 years now and still do use vi occasionally on production servers where I’m not going to load my full emacs config just for sys admin work.
craigching··on Was MPLS Traffic Engineering Worthwhile?
I honestly thought it was going to be something cool about routing automobile traffic in the Twin Cities as well!
craigching··on Was MPLS Traffic Engineering Worthwhile?
What are all these acronyms? I read the first paragraph but it really doesn't give much context if you're an outsider.
craigching··on Grand jury votes to indict Donald Trump
Impeachment is a political process, not a legal process.

EDIT: To back this up, from Wikipedia:

  In the United States, impeachment is a remedial rather than penal process,[13][14]: 8  intended to "effectively 'maintain constitutional government' by removing individuals unfit for office";[14]: 8  persons subject to impeachment and removal remain "liable and subject to Indictment, Trial, Judgment and Punishment, according to Law
craigching··on Update on Samsung SSD Reliability
I use my Puget for build performance for a large mono-repo at Adobe. I could set my watch to the consistency in memory and CPU usage during a full build of our products.
craigching··on Update on Samsung SSD Reliability
I have a puget system with the Samsung SSDs mentioned and it locks up on me every 2-4 weeks. This sounds like it would explain the problem. Puget sent out a message this week to upgrade the Samsung firmware, but I am at the latest. I’ll be contacting Puget support on Monday so I’m on their radar.

I will say I love my Puget, its performance has been killer other than these lockups. And I’ve heard only good things about Puget support. I should have reported this months ago, but it’s just now that I’m doing some critical work on Windows that it’s affecting me.

craigching··on The Twitter Files, Part Six
On mobile, I accidentally hit flag quite often trying to tap the link of the article below it. I do go back every time and unflag, but I can imagine not everyone would.
craigching··on Go 1.21 may have a clear(x) builtin
Go has no built-in set data structure, you use map if you don’t want to bring in a third party. Maybe this is why?
craigching··on JetBrains Ring UI
Exactly. There are tons of different ways to solve that problem in react-date picker, this being one of them: https://reactdatepicker.com/#example-year-dropdown
craigching··on JetBrains Ring UI
It's not bad, but I have grown really fond of Grafana's date/time picker and can whip up a clone of that using React-Bootstrap and React Datepicker (https://reactdatepicker.com) in about ten minutes :)
craigching··on Brew Is a Bad Neighbor
Agreed. When brew installed in /usr/local I ranted much like this post. I’m much happier with brew since the move to /opt.
Page 1 of 20Next →