Better HN
topnewbestaskshowjobs
Log inSign up

devchix

695 karma · joined Jun 16, 2016 (10y ago) · 259 submissions

I do things with Splunk. christine dot tran at gmail
Submissions

comment 5y ago · link · parent

... and for the things within your reach, you will leave a legacy of unmaintainable bash scripts; the inheritors of which will loathe to modify or throw them out all together because of code inertia and their foggy understanding of it.

comment 5y ago · link · parent

Early 2000s, me and two others, all working for major US-multinational companies you've all heard of, were onsite for one major US customer. We were all shoved into one cube, ONE. I used to joke that if the cube was any smaller it would have been fornication. Three laptops, gears, writing implements, three chairs. There was one power strip and one desk phone. This went on for probably 5 months. We were all polite, agreeable people so nobody came out with lasting damages.

comment 5y ago · link · parent

We've had 3 greyhounds, all died of cancer, two of bone cancer. Seems to be the curse of the greyhounds. It's lovely that you'll be adopting again. Tracks in the US have mostly closed, the waiting list for retired racers are long. UK and Ireland still have many retired racers, but the cost to transport them to the US is quite prohibitive. I quite envy you, and wish you much love with your new darlings.

My most previous greyhound would play bite, which indicates to me he knew what a real bite does. On occasions I have said "ow ow" he would stop immediately and looked at me with surprise. I have also stepped on him or otherwise jostled him by accident, and I immediately and profusely said "sorry, sorry", and he would lick my hand as if he understood it was a mistake. Am I anthropomorphising the behavior? I've never doubted that dogs could differentiate what is intentional and unintentional.

comment 5y ago · link · parent

Perhaps there's a net good application to this, more yield so a plant can produce more, feed more hungry people, survive storage and shipping -- but I see 4lbs packs of Driscoll strawberries at my store, year round. The fruits are gigantic, way bigger than what a strawberry should be, firm, uniformly red, and absolutely tasteless. Same with tomatoes, bananas, potatoes, anything you could buy at a typical grocery store. Especially tomatoes, you can taste what an astounding difference between a commercially produced tomato (even with monikers like vine-ripened, kumato, heirloom, etc.) and an ugly homegrown one. I don't want this future, but my want is at odds with that of the producers: what's wrong with fresh tomatoes and basil year round? and that of the poor: what's wrong with affordable berries, asparagus, good-tasting not-mealy apples?

I remember when honeycrisps first came on the market, they were smaller, now they are gigantic, I don't know if they taste more diluted. I also remember green plumcots, they used to be smaller, more tart and sweet. Now they are huge!

comment 5y ago · link · parent

You are here, lat=x, long=y, bearing N 45 E at 5km/h, the air temp is -12C, it is 45min to sunset. You don't know where you should be. You are lost. Who's fault is it? Yours, or the dash?

comment 5y ago · link · parent

I've always wondered why desert nomads dress like they do. Given modern fabrics and constructions, would you chose to dress like this to go to the desert? I understand it is an area of extreme heat in the day and extreme cold when the sun goes down, the head and face protection I understand, but the flowing, multi-layered robes? The conjecture would be that they insulate more than disperse heat via evaporative cooling? Seems like we have cold-weather gears figured out with cold and high-altitude expeditions, but desert gears?

comment 5y ago · link · parent

That's why good dashboards come with Title, subtitle, legend, the X and Y axis, and units. Count of packets denied from source IP, source port, last 4 hours. Average number of requests forwarded to proxy farm, distributed by server, last 7 days vs. same time last month. Who called 2049, last 24 hours.

comment 5y ago · link · parent

1. Set up some strawmen about dashboards

1a. Define dashboards in a way that suits your argument

2. Knock em down!

3. Profit?

This, https://status.cloud.google.com/, is a static dashboard. One can make up one's mind about its usefulness and function. A blunt example, but nobody I know "debugs" using dashboards.

Dashboard is automation, if you're against dashboards, you're against automation of repetitive, boring, long-winded, laborious, hard-to-remember, tasks. Dashboards aren't sacred, once one outlives its usefulness, get rid of it.

comment 5y ago · link · parent

I was looking for an old video of Tom Brokaw interviewing Gates and Schmidt, and found this. For a little laugh and innocent nostalgia: Flashback! The Internet In 1995

https://www.youtube.com/watch?v=95-yZ-31j9A

I watched that clip and my inner monologue was all "Oh my sweet summer child, what do you know of 'The Internet'? "

comment 5y ago · link · parent

I was going to mention this. Here's The Atlantic write-up on the project:

https://www.theatlantic.com/science/archive/2018/11/hi-seas-...

The podcast was pretty entertaining and enlightening, and not too long. 6 (untrained) people in close quarters and isolation for a long time seems a recipe for mayhem. I know astronauts do long stints but they're trained and supported by people who share their purpose.

comment 5y ago · link · parent

Don't ditch your phone. Divide and compartment its functions. I went to Europe without a phone once. Things were fine but there was a layer of friction over everything. When does that restaurant/shop open, how to get reservation, buy tickets in advanced. The airline had a strike, I had to go through the concierge to find out if I needed rebooking for the flight home, it was up in the air the day I departed.

I had with me a Garmin with a memstick of the local map. Sadly I'd given it away, I wish I had kept it. I also had with me a non-wifi little camera that could shoot videos. I used the Garmin for direction and map. When I got home I unpacked the camera memsticks. Things were mostly fine.

What's the best alt to Apple product is the wrong question. Apple, or anyone else, has such leverage because it bundled so many functions important to you, convenience is the scaling factor. Maps and navigation on phone is great, iPhone camera is awesome, sharing grocery lists and docs is very handy. Put them all together and Apple becomes dangerous to privacy.

I'm still muddling through, trying to think about this and how I will change my tech using habit.

comment 5y ago · link · parent

But I don't have 2 or 3 hours to listen in to conversations of strangers and then decide if they are worthwhile or not.

comment 5y ago · link · parent

You're right, thanks for the nuanced view. I guess my impression here is that modern Korea, with its own cultural identity: dress, food, language, literature, history ... would not have been if the US hadn't entered WWII. I don't mean to create indebtors, it's an observation on how a country+culture could survive or disappear on a turn. And given what tenuous a beginning it had, it's amazing that South Korea is the entity it is now.

comment 5y ago · link · parent

The thing is super complicated! The US under SecDef William Howard Taft backed the Japanese annexation of Korea (tacitly, as it didn't do anything in protest) in return for Japan not raising a row over the US acquiring The Phillipines, during the Spanish-American war. Everybody is retconning history. Anyhow, the point is, it's a reach to say Korea's history has little historical baggage. Why is it not a poor, angry, belligerent nation state whose chief export is "freedom fighters" with massive chip on shoulder, as opposed to the technical, democratic state it is right now.

comment 5y ago · link · parent

> South Korea’s rise to a middle power status comes without much historical baggage

The kingdom of Joseon was annexed entirely by Japan in 1905. Modern Korea (nevermind the North/South prefix) would not exist had the US not enter WWII. The 35-years under Japan is a major flashpoint in Japan-Korea relation, it's a joke that the thing that unites North and South is their common hatred of Japan. I'm surprised there's not a more nationalistic jingoistic attitude from South Korea, given their economic state today. Historians agree that the costly outcome of the Russo-Japanese war led to the rise of militaristic Japan and their entry into WWII.

comment 5y ago · link · parent

Columbia is 22 miles south of Baltimore, home to an entity sometimes known as The Fort. 40 miles south is DC if you want to work GovTech. TRowePrice has/had a datacenter in Owings Mills, 20-some miles northwest of Baltimore. CapitalOne has offices in Baltimore but HQ in Virginia. Constellation Energy (not sure what they're known as now) used to have a datacenter south of Baltimore as well. It's not SV or Boston or NYC, to be sure.

comment 5y ago · link · parent

If it's like pulling teeth to motivate your users to use dashboards, you're building useless dashboards.

Dashboards are great for at-a-glance metrics roll-up. Build small, single-page, targeted dash that answers questions your user asks, and they'll be used. I want to see the lay of the land and know I'm heading into the weeds, instead of being kicked in the shin by a monitoring alert when I'm already in the weeds.

comment 5y ago · link · parent

A reasonable question. But, it's very hard to watch a "serious" movie or read a "serious" book while at the beach. There's a reason why there exists a genre called "beach reads". I am not going to watch Almodovar or Bunuel or Bergman or Aronofsky or Inarritu on the beach.

I can't watch trashy movies either, but my tolerance for them is more flexible at the beach.

comment 5y ago · link · parent

> I can hardly sit through an entire two-hour movie or play a video game without feeling like I should be doing something else.

One summer we rented a beach house, I had delusions of lazing on the beach under a big umbrella, drinks, books, dogs, netflix, music, a endless orgy of entertainment and sunny weather. I went stir-crazy in about half a day, there's only so much lazing about I can do, after 2 movies I thought meh, I'm wasting this day. I envy the people who say they're going on vacation and do nothing for a week, two weeks even. I can't seem to do that, and I don't know whether that's something intrinsic to who I am, or that's a toxic thought pattern I need to get rid of. When I'm back at home and at work I am so busy I have a tendency say "I wish I had some more time to unwind" a lot.

At the present, I'm trying to have focused and purposeful idle time. With intent, sit through a movie, read something, play a game, whatever, for a chunk of time, or deliberately do nothing at all. The last one is very hard for me, I don't think I've managed 15 minutes of it.

comment 5y ago · link · parent

And the cargo-culting of "everything should be API no exception" was due to Yegge's colorful writing which endorsed it (relative to how things were done at Google at the time he was there) in his original piece. I sometime wonder if this development philosophy drove the microtizing of services, and then AWS went to sell that philosophy all over the world. There is such a thing as TOO MUCH atomizing of services.

comment 5y ago · link · parent

I remember now! It is called the XY problem.

https://meta.stackexchange.com/questions/66377/what-is-the-x...

comment 5y ago · link · parent

> the problem of "Why do you want to do that? You should do this instead

IIR, there's a word or idiom that describes this kind of solution, I can't think of it and now it's going to bother me until I do. It's a stackoverflow issue, someone asks "How do I do X?" Someone will counter, "Why do you want to do X?" and upon receiving additional information, answer, "You don't want to do X, or this other thing you're doing before doing X. You want to start this way and go down this path and that way you don't have to do X." Maddening!

comment 5y ago · link · parent

> It was written by an ambitious 20-something with a lot of dreams, idealism, and smarts

A generous assessment, I would describe the mindset as exploitative with the self-knowledge that he didn't have any of his own talent worth exploiting. TL;DR: hire other people to do the work for you and mark it up a lot. I binned it quickly. To this day I avoid the author's name without exception everywhere it appears, he's guest to a lot of podcasts. Unfair maybe, but that mindset at 20 is probably that mindset at 30, 40, but with a sophistication to sell it better.

comment 5y ago · link · parent

Not irrational at all. I've often wondered at some ascetic values of the very rich: cold showers, building a cabin with your own hands, short duration of rough wilderness living, and in your quoted case, abstemious diet. Humanity spent generations trying to escape those conditions, poor people will never willingly engage in them. Is it because the rest of rich people's lives are elevated away from those conditions, so it's a choice to embrace it, and thereby redefining the thing's perceived values?

Yet another data point on why the poor are playing the lottery, eating crisps and not virtuously buying and cooking rice and lentil, there's a game-theory-ish idea that the poor understands that as much hard work and lentil they could shovel, they stand little chance of getting out. So with the money they have they buy the best value thing possible, discounted for future possibilities; and those best value things are junk food, lottery tickets, sometimes expensive (relative to their circumstance) and flashy things like clothes or phones.

comment 5y ago · link · parent

Have you worked with setfacl(1), getfacl(1) recently? The agony they inflict makes me want to die. Do you need log dirs read by a non-root logreader? Are there nested subdirs? What are the defaults? Extra crispy boss-mode: is SELinux on? I think the extended ACLs have taken us further into the weeds, and I think the permission architecture needs to be rethink entirely. It was designed for shared university-type computing resources at a time when 30 profs and researchers shared dirs and commingle a set of files, and daemons are users with own places to keep things. No longer. The RBAC and inheritance model, I dunno, they may work correctly but they are so fiddly with so many knobs and intersections that you end up front-loading a huge amount of work; nobody wants to do that, nor have I seen it done correctly, with design and intent.

comment 5y ago · link · parent

I appreciate this. I think one of the more valuable advice I was given re:conditionals is to make sure the positive path is the non-branching path. Branch your exception, let your expected path fall through.

    if ( unexpected = true )
      branch;
    do_expected_stuff
Caveat: ways to do things age. Maybe this is no longer true or even slightly advantageous, but so far it has served me.

I also prefer 20 lines of simple pedestrian code to 2 lines of clever code. I remind myself that I write for the maintainers, who do not have the benefit of my resident knowledge when they encounter the code.

comment 5y ago · link · parent

I remember reading that the reason for long shifts at hospitals, for doctors or nurses, is that most mistakes are made during hand-over. The thing had a study cited, I'm sorry I cannot find the source, so the hospitals optimize for minimal hand-over. I would think they also did a control study on mistakes made during the last few hours of shifts when care providers feel the strongest effect of sleep deprivation, but I don't remember that being compared.

comment 5y ago · link · parent

I've finished my 2nd viewing of Blade Runner:2049; the replicant K buys an AI(-ish) holographic program that presents itself as a beautiful, loving wife, her name is Joi. Think about that, robots buying robot love (I know it's a movie, work with me.) Comes the turning point, they have to run. Joi has been a constant companion to K all this time, if the bad guys get access to her "memories", they have access to everything K ever did, saw, everywhere he went. You have to destroy the console, she said. But that means if anything happens to the remote, you'd be destroyed, gone forever, he said. Break the antenna too, she said.

On first watch, I thought, awww, semi-sentient AI fumbling toward love. On second watch, I thought, there's nothing here that replicant K doesn't want. He wants to destroy the console. He wants to destroy the antenna. That it came from her voice doesn't change that, especially not when the advert for Joi - a Wallace product - is "Everything you want to see, everything you want to hear." There's no AI in love, there's only K, has been all along. Joi is an extremely well-adapted product.

comment 5y ago · link · parent

> encapsulated as JSON structs, adds so much complexity to the process

Or XML, you need to have written a parser (or pay Splunk to do it for you), you have to know how deeply nested your param of interest is. AFAIU Splunk has problems with too-deeply nested JSON, it was written at the time of unstructured logs. I can say this with confidence, for most of my problem cases, a good start to finding the culprit was a good tail -f and grep. I doubt myself and frequently ask if I'm one of those idiots who'd rather have faster horses. I mean, those are brilliant people making money hand over fist with their log analytics and event management tools, they know what they're doing, right? Right?

comment 5y ago · link · parent

At some point in my organization's press toward Ansible, I came to the realization that Ansible the product is yet another layer of abstraction that is there for its own sake, and of dubious value. I converted a simple script to patch stuff, something that is trivial to write and run, and the yum module behaves different enough from the command-line yum that I have to learn a different way to get and parse the output. AWS logs also behave the same way, impossible to take up and read, quickly, trivially. Why do people read logs? To find out what happened, and do so quickly. Someone will argue that logs are so verbose we need to make them machine-friendly vs. people-friendly, so we can make tools to process them. Somewhere in the past 5 years we've gone toward making things more tool-friendly that humans can no longer interact with them in meaningful way. Some time in the future when something else supplants Ansible, shell will still be there, and still works. Meanwhile, I crib from Ansible docs and StackOverflow just to get things to work the way it did, and the pay-off is ... what exactly?

Edited to add:

Years ago Solaris10 converted the rc boot scripts to what was systemd precursor, SMF. I drank the koolaid, yes! we can build dependencies now, we have service-level kernel events now! I can get rid of daemons and watchdog scripts now! The innards of SMF was indecipherable XML, dependencies grew, you could no longer find a good system view when you ask SMF, and you couldn't easily find and fix what's wrong with the service file. At the time, it was designed to be un-messed-around-with by keyboard-happy warrior greybeard sysadmins, judged to be a source of instability and inconsistency.

12345
9