8,487 karma · joined Feb 1, 2017 (9y ago) · 2,549 submissions
comment 3y ago · link · parent
Less feature-ful text editors like sublime and vim just don't do it for me.
comment 3y ago · link · parent
Most of aforementioned humans also likely need to move heavy objects from time to time without throwing out their back.
I read once that deadlifts are the single best exercise you can do for desk bod. If I only have 10 minutes to work out, I do deadlifts. Next I try to get abs, obliques, back stabilizers, etc., then some squats and leg work. I do chin/pull/push ups between the core and leg stuff.
comment 3y ago · link · parent
comment 3y ago · link · parent
Pros: work on really exciting stuff. I worked on cutting edge squad-embedded robotics platforms and media forensics to fight fake news. Got to travel a bit for demos. It's very rewarding to know your work is making a real impact.
Cons: they don't call it DARPA-hard for nothing. Timelines are tight, the problems are research heavy with no guaranteed results. I did a lot of work bridging grad student quality code to production systems, which is its own kind of hell.
comment 3y ago · link · parent
Why? I have no problem with reproducibility when I use a little bit of discipline.
Your workflow does indeed sound nice but also sounds like it involves way more tooling and institutional knowledge. Anywhere I can learn more about it or see the scripts you use?
comment 3y ago · link · parent
Nothing even comes close. There's a reason it's dominant in the data science field.
Your workflow works for you but the jupyter workflow works for millions of students, data scientists, and even developers. Heck I even know all the ways to avoid jupyter, and I still use it often, because it's so convenient.
comment 3y ago · link · parent
I definitely do like to strip notebooks and make them run-idempotent to the best of my ability, but sometimes you just need stateful notebooks. And since .ipynb are technically json but in reality act more like a binary file format (with respect to diffing), DVC is the ideal tool to store them. Don't get me started on git annex or LFS, both of those took years off my life due to stress of using them and them bugging out.
Also I am hardly a fan of XML, but does anyone feel like notebook files would have been a near-ideal use-case of it? It's literally a collection of markup. The fact that json was chosen over xml I think is somewhat damning of xml as an application data storage format. I think xml is perfectly cromulent as a write-once-read-many presentation format or rendering target (html, svg, GeniCam api info), but it seems to flounder in virtually every other domain it's been shoehorned into, with the exception of office application formats.
Actually, downthread there is a link to a jupyer enhancement proposal for a .nb.md markdown based format. I think this is great. One theme I keep coming across in my computer science journey is that formats which have mandatory closing endcaps are kind of a PITA. It seems the stream-of-containers (with state machines as needed) is all-around better. JSON-LD is better than JSON, streaming video formats are better than ones that stick metadata at the end, zip is... an eldritch horror, etc.
comment 3y ago · link · parent
Sure, welding back on a hardpoint that broke off a plow is concrete and obvious (maybe that's analogous to fixing a broken dependency that got renamed), but there are other fixes that definitely fall under "I don't know why it works but it works". I've had electrical gremlins and fixed them by grounding something that looked like it ought to be grounded, and was grounded when I tested for continuity, but nonetheless was acting floaty. It was probably a loose connection elsewhere in the system, but I didn't know that for sure, nor do I even know that it was the problem in the first place.
Software definitely reaches insane depths of complexity, but again, if you can dig down and understand the abstraction well enough to attempt a fix, and the problem goes away, isn't that good enough? The real difference is mechanical systems typically only have a few layers of abstraction, while software has dozens to thousands of layers of abstraction.
comment 3y ago · link · parent
This was and is quite common in any blue-collar field where works don't always have the money or time for a brand new jawn every time something goes wrong.
I love estate/yard/garage/barn sales and going through the tools and reading the tales they tell from their wear patterns, field repairs, revisions, and hacks from their owner.
Case in point, here's a tool which has gotten multiple leases on life through modifications. https://youtube.com/watch?v=oTA513ttrbQ
comment 3y ago · link · parent
comment 3y ago · link · parent
That is certainly one way of looking at things, and one of the more frequent perspectives I harbor. But I've also had enough trips down the rabbit hole to realize there's more to it than that. Way more to it.
We are definitely strange effects for sure. We are haunted atoms that formed in the core of a dying star. Weird, right? If you find that worldview imprisoning, I encourage you to question it. Magic is often simply what you need it to be, no need to get hung up on whether magic is "real" or not, because that doesn't actually matter.
Check out Discordianism if you haven't already. It's kinda like hot swapping reality tunnels. No need to commit to one ontology all the time :).
comment 3y ago · link · parent
When you put the exact same warning on food as lead-containing special solder, cadmium paints, and other very obvious "don't eat this" industrial materials, it loses all efficacy.
comment 3y ago · link · parent
Patient has standard American diet and is overweight but not obese -> that leads to sleep apnea -> chronically tired -> they develop a diet Coke habit -> slight increase in cancer risk. What's causing the cancer here, the diet, the adiposity, the sleep apnea, the lack of quality sleep, the soda itself, the effect of soda on teeth leading to gingival inflammation, or the aspartame in the soda?
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
Oh sweet summer child (meaning Jeff White, not OP/GP). As someone who has implemented a censorship/filtering list, this is a UX problem on the same level of decideability as the halting problem. You can spend boundless time curating a list to flag/grawlix every possible string that would offend even the most prudish of prudes, and some would still get through. Such as the superficially benign "EATTHE"
https://www.dailymail.co.uk/news/article-2039662/Virginia-dr...
comment 3y ago · link · parent
I disagree. From experience, there are enough times that configuration requires repetition, loops, interpolation, etc, that you often end up in this gross space of either repeating chunks manually (error prone and brittle), or using code/templating to generate config (requires everyone on the codebase to use a specific toolchain).
HCL2 (used by Terraform) has been my favorite configuration system. It's just the right amount of power that I don't need copypasta or feel the need to resort to configgen. TOML is great for a single human-defined configuration for a program, but HCL does just as well at that, while also working for systems.
JSON definitely fails as human-editable. Again, you need some tooling to ensure syntax correctness.
> JSON has the nice property that you can parse it with exactly one upfront memory allocation: N bytes of JSON requires at most N words of memory.
I really don't care how much memory is allocated during parse, within reason, as long as execution is bounded, can't blow up, or otherwise misbehave.
comment 3y ago · link · parent
Also, what about .idea/.vscode and related IDE stuff? Those I would definitely consider "metadata".
Would X/.meta/.dockerignore work the same as X/.dockerignore ? As in relative to the root as if .meta was not there?
Not sure I agree with docker-compose.yml being there, but not really opposed to it either. What about Makefile or CMakeList.txt?
comment 3y ago · link · parent
> What would the Python "requests" module do if it has no Linux kernel below it to pass the requests to a network stack?
Why does requests need a linux kernel? It's cross-platform. Strictly speaking it only needs the appropriate I/O calls. WASI provides a system interface to do I/O, network, files, etc.
comment 3y ago · link · parent
comment 3y ago · link · parent