Readit News logoReadit News
kradroy commented on Aho – a Git implementation in Awk   github.com/djanderson/aho... · Posted by u/pabs3
dkarl · 2 years ago
You nailed it. Perl replaced awk and then turned out to be counterproductive in a lot of cases because there was no simple and broadly understood way for people to write Perl code that was 1) readable for other programmers and 2) scalable to medium-to-large programs.

Which is not to say that nobody ever figured out those things and did them well, just that the success rate was low enough across the industry to earn Perl a really bad reputation.

I'd like to see a revival of awk. It's less easy to scale up, so there's very little risk that starting a project with a little bit of awk results in the next person inheriting a multi-thousand line awk codebase. Instead, you get an early-ish rewrite into a more scalable and maintainable language.

kradroy · 2 years ago
> I'd like to see a revival of awk. It's less easy to scale up, so there's very little risk that starting a project with a little bit of awk results in the next person inheriting a multi-thousand line awk codebase. Instead, you get an early-ish rewrite into a more scalable and maintainable language.

Taco Bell programming is the way to go.

This is the thinking I use when putting together prototypes. You can do a lot with awk, sed, join, xargs, parallel (GNU), etc. But it's really a lot of effort to abstract in a bash script, so the code is compact. I've built many data engineering/ML systems with this technique. Those command line tools are SO WELL debugged and have reasonable error behavior that you don't have to worry about complexities of exception handling, etc.

kradroy commented on Reflecting on 18 Years at Google   ln.hixie.ch/?start=170062... · Posted by u/whiplashoo
znpy · 2 years ago
I noticed that and it's a very strong point.

Taking such a strong stance is not something would so light-heartedly, i really wonder what went on to drive this person to write such harsh words about her.

Considering the amount of people the author has likely seen over 18 years and how many of them he could have complained about... It must not be a chance it's her specifically.

kradroy · 2 years ago
There's no greater source of professional resentment than suffering under a manager who's incompetent and a narcissist (my summary of his blurb). After 18 years at Google he probably feels safe burning that bridge.
kradroy commented on IBM cancels 401k matching, replaces with proprietary pension fund RBA   old.reddit.com/r/IBM/comm... · Posted by u/lisplist
neilv · 2 years ago
> By introducing this retirement benefit within IBM’s Personal Pension Plan, which is stable and well-funded,

This corporate communication sounds slimy, but I'm wondering about the "stable and well-funded" part: is this new infusion of money propping up the pension plan?

kradroy · 2 years ago
Propping up, probably not. Enriching IBM directly and indirectly, probably yes.
kradroy commented on Tell HN: Automatic fraud detection is making my life hell    · Posted by u/aiProgMach
aiProgMach · 2 years ago
Laundering money using 100-200$ gift cards?
kradroy · 2 years ago
Absolutely. Walmart used to have a policy of refunding gift cards in cash. You'd buy many at one location, and return them at another. Less trackable. Gift cards are also used quite regularly in human/sex trafficking to control the victims.
kradroy commented on California suspends Cruise's autonomous vehicle deployment   reuters.com/business/auto... · Posted by u/ra7
dilippkumar · 2 years ago
> It seems odd that self driving cars have been skipping this step.

[Citation needed]

kradroy · 2 years ago
I have doubts about this too. I remember seeing a Humvee autonomously driving around the CMU campus back in 1998. I get the feeling research institutions and, now, product companies have been working closely with local city governments about safely releasing these into the wild for some time.
kradroy commented on Texas death row inmate at mercy of supreme court, and junk science   theguardian.com/world/202... · Posted by u/YeGoblynQueenne
Workaccount2 · 2 years ago
I'm always bothered by how doctor's word is always taken as gospel. Anyone who's gone through the medical merry-go-round knows that doctors opinions on the same set of symptoms can be all over the place, some even outright idiotic.
kradroy · 2 years ago
Always remember.

What do you call a med school graduate who had a straight-A average? "Doctor".

What do you call a med school graduate who had a C-minus average? "Doctor".

I've had to weed through a couple dunce doctors in my time.

kradroy commented on Is this fraud? And if so, to what extent am I responsible?   workplace.stackexchange.c... · Posted by u/Wowfunhappy
orev · 2 years ago
Since your comment references sueing, I’m going to assume you’re in the US, where almost all employment is “at will”. They can dismiss you for any reason as long at it’s not a protected one. Telling the truth and being a jerk is not a protected status, so you won’t be getting anywhere with that lawsuit.
kradroy · 2 years ago
In the US retaliation by an employer for an employee reporting inappropriate or unlawful conduct to a superior is unlawful. This is a protection granted at the federal level.
kradroy commented on Is this fraud? And if so, to what extent am I responsible?   workplace.stackexchange.c... · Posted by u/Wowfunhappy
randombits0 · 2 years ago
If you present a document you know to be untrue, that’s the same as lying.

OP, get a pen test scheduled and tell the client, “You know, we’ve had a lot of changes since we rolled out. Since you asked, we felt it was best to get a current pen test to reflect our present state.”

No lies (just a slight deception with the truth) and you get a legit pen test your client can rely on.

kradroy · 2 years ago
That sounds like a very reasonable course of action. However... given the circumstances the author is in, I don't think his director is the type to schedule a pen test and then wait for all the violations to be resolved in order to get the contract. (I assume the client, as a government entity, is legally required to obtain a minimum number of bids for contracts and make a decision in a timely manner.)

Lying and fraud aren't the same, which is the author's concern. Lying incurs a social cost. Fraud incurs both social and legal costs.

kradroy commented on Is this fraud? And if so, to what extent am I responsible?   workplace.stackexchange.c... · Posted by u/Wowfunhappy
codelikeawolf · 2 years ago
It's worth mentioning that there is a legal definition of fraud[1]. Fraud must be proved by showing that the defendant's actions involved (5) separate elements:

1. A false statement of a material fact is made

2. Knowledge on the part of the defendant that the statement is untrue

3. Intent on the part of the defendant to deceive the alleged victim

4. Justifiable reliance by the alleged victim on the statement

5. Injury to the alleged victim as a result

So if the local government is hacked because they thought the software provided was pen tested and it actually wasn't, congratulations, you've hit fraud bingo.

Important disclaimer: IANAL

[1]: https://legal-dictionary.thefreedictionary.com/Fraud

Edit: Formatting and disclaimer

kradroy · 2 years ago
But I think the author's paper trail will show #3 is not the case. He doesn't appear to want to deceive the client OR his boss. He's being pressured.
kradroy commented on Alcohol without the hangover – scientists are finding ways   wsj.com/articles/syntheti... · Posted by u/meany
jdjdjdjdjd · 2 years ago
I have discovered that for me personally, taking magnesium before, during or shortly after having drinks greatly reduces hangovers. I typically get really strong headaches the day after from 2-3 drinks. If I take a 100mg magnesium supplement it is massively reduced. Alcohol depletes magnesium from your body so I guess it counters that.
kradroy · 2 years ago
Magnesium saves me too. I've had persistent leg cramps since my teens. If I look at my right calf the wrong way, it seizes up, especially after a night of drinking. All of that went away when I started taking 200mg supplements daily. Big, big difference.

u/kradroy

KarmaCake day756September 6, 2018View Original