Hacker News new | past | comments | ask | show | jobs | submit | dmlorenzetti's comments login

It seems like it would be a lot easier to just have students call, e.g., `ta_fork()` rather than `fork()`, and then provide an implementing file to be linked with their program. Then `ta_fork()` allows the TA to trigger errors, either probabilistically or deterministically (say, by setting environment variables).

This approach would also give students insight into testing strategies like mocking, plus it would work on more operating systems.

[Edit: Not to disparage this project. It seems like it would have lots of uses, and it was probably a lot of fun to develop.]


Seems pretty clear from the article that this person had no interest in doing this in any of the easy ways!


My intro to systems course did something similar with shared memory calls if I recall correctly


This site compares a few text-based diagramming tools, including Mermaid: https://text-to-diagram.com


I have a more comprehensive list here https://xosh.org/text-to-diagram/


being a janitor often pays really well

When I was a kid, maybe 5th or 6th grade, my family was driving out in the country and came upon a burning farmer's field.

We stopped to help, and my older brother and I were charged with keeping an eye on the smoking remains of a field that had already burned out. The adults, and my younger siblings, went to fight the actual fire.

By the time it was all over, my brother and I were both feeling slighted and sidelined. But as we got back to the car, my mother, may she rest in peace, told us how much responsibility we had been given, to be set such an important job, with no adult supervision, the farmer must have thought we were older than we really are.

Two points, I suppose. First, one doesn't always appreciate one's salient qualities. Second, 45+ years later, that episode still stands out in my memory for how rewarding it felt.


This brings to light the importance of managements messaging to the "legacy" and "Greenfield" teams.

Frequently the Greenfield project is purely political, or just a punt.. and has a 50-50 chance of successfully launching in a way that ever replaces legacy.

People lose sight of the fact that until the Greenfield thing launches, 100% of the revenue keeping the lights on comes from the legacy system. Keeping legacy alive and thriving is critically important both to the firm and also to give the Greenfield team runway to build the new solution. Even beyond the launch date, a sliding % of the revenue will continue to go through legacy, often the majority, and often for years.

The reality is you could fire the entire Greenfield team and continue as a going concern for 5 years. If your legacy system fails, your firm might miss payroll within a few months.

Most often I find management slaps unrealistic optimistic timelines on the Greenfield project, and continues to stick with them as the new thing fails to deliver. This both stresses out the Greenfield team to build a more corner cut solution.. while also causing mass attrition on the legacy team out of job risk concerns.


Alex Jones reminds me of the Introduction to Kurt Vonnegut's "Mother Night" -- We are what we pretend to be, so we must be careful about what we pretend to be.


Worth noting that InformIT currently has a sale running. Through end of 31-May EDT, use code SUNSHINE to get 50% off when you buy two books or ebooks.


Similarly, they would use blanked keyword blocking. So sex education resources would frequently get blocked.

I had a colleague whose surname, Sextro, was part of his email address. He occasionally had messages blocked by blanket filters like that.


Before HTTPS was all but required for everything, an intranet site would get blocked in one particular office at 11pm every night. We tracked it down to a night-shift employee signing in, whose last name contained "shit". After pleading fruitlessly against that office's IT policies we solved the problem permanently by eating the overhead and turning on HTTPS.


I once debugged an email delivery issue which turned out to be a similar filter which included email headers while scanning, ending up blocking any email that passed through an SMTP server called foo.sussex.bar.hp.com (or maybe it was Essex, my memory is hazy).


Praying for all the people who use the shortened form of Richard


The ultimate litmus test for such filtering.

https://en.wikipedia.org/wiki/Dick_Van_Dyke

And a favorite tech blog/news website that is often blocked:

https://torrentfreak.com/



The canonical joke is the complaint about substring censorship:

"There are three English football teams that always fall victim to overzealous censorship: Arsenal, Scunthorpe and Manchester Fucking United."


or.. https://en.wikipedia.org/wiki/Shit_My_Dad_Says https://en.wikipedia.org/wiki/$h*!_My_Dad_Says

The later (TV-Show) is actually based on the former (twitter feed) but couldn't retain the name in the US. It would probably have been perfectly fine as is in the UK.


> $h*!

I never understand that kind of (often self) censorship where the meaning is intentionally left clear. It could be malicious compliance with keyword-based filters but people do it voluntarily even in places where no such filters exist.


As a racing fan, Dick Trickle [0] (retired NASCAR driver) is also a fun name.

[0] https://en.wikipedia.org/wiki/Dick_Trickle


Rich?


I believe they were referecing a bit more relevant to the discussion short version of "Richard", which is "Dick".


Interesting, TIL.


Bob is short for Robert, too by the way.

I make a point to mention that my cat’s full name is Robert. I enjoy the reactions: person either looks at me like I’m a moron for thinking this is something worth spending the energy to say out loud, or they really enjoy it. I digress.


Yeah, I did know that. However "Richard" and "Dick" are much more distant in some sense... I had no idea.


Totally, thanks for letting me use your comment to digress about Robert.


Richard is often shortened to Dick, e.g. as in "Tom, Dick, and Harry".


I know that Dick is another name for Richard. But Why? They don't seem to even be plays off of the same name, nor do they sound the same at all.

It's like if another name for John was Frank. It makes zero sense.


It likely originated in rhyming slang where words that rhyme are used as replacement[0]. It isn't the only example in nick names. Bill is a nickname for William and Bob is a nickname for Robert.

[0] https://en.wikipedia.org/wiki/Rhyming_slang


It comes from Middle English rhyming slang. Rick -> Dick; Rob -> Bob.


My wife's name is Aleksandra, but the short version of that is Ola. Similarly, Olek is a short for Aleksander. Also no idea why.


The O/A phonetic distinction in Russian and related languages is tricky, with some dialects making a distinction and some not (https://en.wikipedia.org/wiki/Vowel_reduction_in_Russian and https://en.wikipedia.org/wiki/Akanye)

If someone would pronounce Alek and Olek the same, the chosen transcription of the shortened nickname is pretty much arbitrary.


> Olek is a short for Aleksander.

Very likely this is due to both being transliterations from Cyrillic.


This is correct.

Oleksander is Ukranian form of Aleksander.


Or the diminutive is Sasha. For reasons?


The nickname for John is Jack, actually. Jack and Dick both belong to a class of nicknames that all end in "ck" or "k" sounds, but for which the original doesn't have a k sound.

* Jack

* Dick

* Rock from Roland

* Hank from Henry

* Chuck from Charles


Wait till you find out about "Buffy".

https://en.wikipedia.org/wiki/Buffy


Wait till you find out about "Tiffany"

https://www.youtube.com/watch?v=9LMr5XTgeyI (CGP Grey)

(spoiler: he couldn't find out where it came from, and did this video on his research to explain more: https://www.youtube.com/watch?v=qEV9qoup2mQ )


The standard of counting as "Tiffany" is strange. He's not happy with Θεοφανώ or Theophania, but he's perfectly happy to count (French) Tiphaine, Thifaine, Thiephaine, and (English) Tephany as being "obviously" the modern name. But the difference between Tephany and Theophania is down to the "Th" at the beginning. Why agonize over the difference between the very well-attested Greek Theophania and modern Tiffany if it's so clear that medieval Tephany matches the modern form? It's a better match for the Greek form!


Did you know people often use Jack as a shorthand for John? JFK was often, famously, referred to as Jack Kennedy when he was alive...


See also Prince Harry (Duke of Sussex) who was christened Henry.


And of course he married a woman named Jacqueline.


Wait until you find out what Peggy, Betty, or Tina are short forms of.


Another name for John is Jack, though.


Try again.


Chard?


I wonder how such filters work in Sweden. We often see advertisement like "Sex gym i stan!". Meaning "Six gyms in town!".


Swedes aren’t quite so puritanical, as I think you know. In Swedish culture it’s apparently funny when small children make jokes about bajskorvar.


You don't put science on your name if you're a real science

Having flashbacks to when a close friend was getting an MS in Political Science, and spent the first semester in a class devoted to whether or not political science is a science.


Well? Don't keep us hanging.


Another example of selling the same space twice is cities moving from fixed parking meters, to meters that print out a parking receipt.

With the meter stuck on a pole at the parking space, if I pay for an hour but leave after 20 minutes, the meter still shows time. Somebody else can come and park there for 40 minutes, free.

But if I buy a paper receipt and stick on my dashboard, and leave after 20 minutes, the next person still has to rent the same 40 minutes of time.

Nobody I mention this to is upset about it (neither am I, at heart, though I do notice it). That suggests to me that conflicts over tray space on airplanes is driven more by a sense of claustrophobia and powerlessness, than by any particular notion of fairness or ownership.


In Australia, parking at popular beaches is both packed and crazy expensive, with day passes pushing $50, so there's a well-established tradition of giving your parking ticket to the guy waiting to swipe your spot as you pull out.

Of course, the councils running the parking didn't want to lose out, so they've "upgraded" to parking meters that require you to punch in your license plate number, which is then printed on the ticket in large letters to make sure it can't be reused.


In the Netherlands ( and probably elsewhere) you get a parking app and hit start and stop so you only pay for the exact amount of time you used.


I bet they make a lot of revenue from people forgetting to hit stop


I understand your cynicism, but most systems like this have a reasonable maximum timeout (usually the maximum time you're allowed to stay in that zone - 2-3 hours) at which point it'll end the session.

While that's far from ideal for a 5 minute stop, it's not the only way to pay (you can also try and guess how long you'll be in the spot and prepay much like meters but to the minute rather than some multiple of the change in your pocket) - and at some point you need to take ownership of your oversight, no?


I’ve parked in places where I’m pretty sure the only option was to start a timer (it’s why I made the comment).

EDIT: yup, RingGo in a city centre in England. Just checked. Only option is to start a timer. And it stops in 5 hours time if not stopped (£5.60 for the first 2 hours then a fixed £3.80 for the time until 10pm)

When the old systems worked just fine, and there is no option to prepay, no, I will not take ownership of my “oversight” - it’s dark patterns designed to prey.

It’s more inconvenient for me yet they charge me a convenience fee (especially if you drive a lot of rentals, registering each car is a PITA).


This [0] helpful resource distinguishes between tutorials, reference material, how-to guides, and explanations.

[0] https://documentation.divio.com


Oh wow, I literally have a blog post queued up about how different kinds of "documentation" can be split into similar categories. Great to see that someone else has had a similar insight!

My categories are Source (Reference), Procedures (~Tutorials), Examples (How-tos) and Meta (Tribal Knowledge, history, etc).

In the context of software teams (and others I'm sure) my anecdotal insight is that without a balance of these kinds of information, certain team functions break down:

- No Source/Reference, no shared deep understanding

- No Procedures, difficulty scaling processes (and difficulty onboarding new team members)

- No examples, harder to develop new skills / level up existing skills

- No meta, no context or "why", leading to less motivation


Indeed, that was the first time I've seen someone clearly voice more-or-less the same view, when the link previously appeared here on HN.


Yup! This helped me immensely when I started writing documentation more regularly. In the past I used to mix all 4 and ended up confusing everyone.


"Numerical Python" by Johansson was an exception for me.


Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: