News for hackers. Stuff that matters.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by dmd on Thursday February 03, 2022 @12:01PM (#30195007)
One of my favorites is the warning you get if you enter the shell of an Oracle ZFS storage appliance:

  +-----------------------------------------------------------------------------+
  |  You are entering the operating system shell.  By confirming this action in |
  |  the appliance shell you have agreed that THIS ACTION MAY VOID ANY SUPPORT  |
  |  AGREEMENT.  If you do not agree to this -- or do not otherwise understand  |
  |  what you are doing -- you should type "exit" at the shell prompt.  EVERY   |
  |  COMMAND THAT YOU EXECUTE HERE IS AUDITED, and support personnel may use    |
  |  this audit trail to substantiate invalidating your support contract.  The  |
  |  operating system shell is NOT a supported mechanism for managing this      |
  |  appliance, and COMMANDS EXECUTED HERE MAY DO IRREPARABLE HARM.             |
  |                                                                             |
  |  NOTHING SHOULD BE ATTEMPTED HERE BY UNTRAINED SUPPORT PERSONNEL UNDER ANY  |
  |  CIRCUMSTANCES.  This appliance is a non-traditional operating system       |
  |  environment, and expertise in a traditional operating system environment   |
  |  in NO WAY constitutes training for supporting this appliance.  THOSE WITH  |
  |  EXPERTISE IN OTHER SYSTEMS -- HOWEVER SUPERFICIALLY SIMILAR -- ARE MORE    |
  |  LIKELY TO MISTAKENLY EXECUTE OPERATIONS HERE THAT WILL DO IRREPARABLE      |
  |  HARM.  Unless you have been explicitly trained on supporting this          |
  |  appliance via the operating system shell, you should immediately return    |
  |  to the appliance shell.                                                    |
  |                                                                             |
  |  Type "exit" now to return to the appliance shell.                          |
  +-----------------------------------------------------------------------------+
I like how it explicitly says "no, seriously, Mister Unix Wizard, we mean YOU."
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by robmusial on Thursday February 03, 2022 @12:25PM (#30195429)
This place is a message... and part of a system of messages... pay attention to it!

Sending this message was important to us. We considered ourselves to be a powerful culture.

This place is not a place of honor... no highly esteemed deed is commemorated here... nothing valued is here.

What is here was dangerous and repulsive to us. This message is a warning about danger.

The danger is in a particular location... it increases towards a center... the center of danger is here... of a particular size and shape, and below us.

The danger is still present, in your time, as it was in ours.

The danger is to the body, and it can kill.

The form of the danger is an emanation of energy.

The danger is unleashed only if you substantially disturb this place physically. This place is best shunned and left uninhabited.

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by elaus on Thursday February 03, 2022 @12:34PM (#30195595)
I think there's a lot to learn from this message, even in your daily communication with people from other fields of exertise. It's very clear and communicates without any technical terms – if only all error/warning messages were a bit (!) like that.

For reference, the message parent quoted is a Long-time nuclear waste warning message:

https://en.wikipedia.org/wiki/Long-time_nuclear_waste_warnin...

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by selestify on Thursday February 03, 2022 @01:08PM (#30196168)
I've seen commentary before that this messaging could actually backfire, if you imagine intrepid explorers seeing this message and thinking there must be some great ethereal power located inside, ready to be unleashed with the right set of rituals.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by brimble on Thursday February 03, 2022 @01:21PM (#30196368)
Only way this works is if the one reading it knows your culture was technologically advanced, for-real and not just in your own estimation, and has some appreciation of what that might mean.

Otherwise, "curse of the mummy? LOL, yeah, I'm sure that's a real thing. Must be something great buried here. Watch out for actual traps, but we're about to get rich, boys!"

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by thaumasiotes on Friday February 04, 2022 @01:02AM (#30203396)
> Only way this works is if the one reading it knows your culture was technologically advanced, for-real and not just in your own estimation, and has some appreciation of what that might mean.

This is pretty well guaranteed if they can read your message at all.

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by brimble on Friday February 04, 2022 @10:39AM (#30208164)
I alluded to European expeditions to Egypt for a reason :-)

Though maybe there's only a brief window of development in which a culture is both not superstitious enough to be scared by this, and also lacks the technology & knowledge to figure out what you actually mean and verify it themselves.

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by thaumasiotes on Friday February 04, 2022 @04:33PM (#30213585)
Europeans could read Egyptian inscriptions for two reasons:

- A descendant language had been preserved in the Coptic Bible.

- The Rosetta Stone provided a parallel text between Egyptian and Greek, and Greek was well understood.

But the ability to read Greek gave us more than just an understanding of what the Rosetta Stone said. The Greeks wrote a lot about Egypt, too.

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by lmkg on Thursday February 03, 2022 @01:29PM (#30196485)
That's part of the design consideration, and the reason for the emphasis on "no value." I mean, humans gonna human, but you can still try to communicate a difference between "this is dangerous because we booby-trapped our buried treasure" vs "we don't want this."
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by selestify on Thursday February 03, 2022 @01:56PM (#30196917)
Right, but that could probably be explained away as “Hah, they couldn’t figure out how to strike a deal with the ethereal being, but we have the best mystic in the tribe with us!”

I’m not saying the experts did a bad job at all. This is probably about the best you could do to communicate with a culture of unknown technological complexity, far off into the future. I’m just saying, as good as it might be, this communication is likely still pretty imperfect :)

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by wongarsu on Thursday February 03, 2022 @02:27PM (#30197468)
> Right, but that could probably be explained away as “Hah, they couldn’t figure out how to strike a deal with the ethereal being, but we have the best mystic in the tribe with us!”

In a way that is true. You could in principle use the radiation from nuclear waste to do useful work (like generate electricity), but our sages haven't figured out a way to do so in a way that makes economic sense to us. The waste could be useful to a different civilization with better technology or worse natural resources.

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by BitwiseFool on Thursday February 03, 2022 @06:14PM (#30200394)
I wonder if fudging the truth and being less specific is actually better.

"A terrible sickness is contained underground. It kills all who come close. We have done our best to contain it so it does not kill you, our children. We have hidden it. It is very deep. You are safe if you do not dig."

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by bckr on Thursday February 03, 2022 @02:22PM (#30197391)
The purpose is not to control people's behavior over the next several thousand years. The purpose is to behave ethically with respect to people over the next several thousand years.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by sterlind on Thursday February 03, 2022 @02:17PM (#30197298)
like the Pah Wraith were Plutonium and the Fire Caves were Yuca Mountain.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by earthboundkid on Thursday February 03, 2022 @12:54PM (#30195939)
I dunno, I TL;DR'd in the middle. Seems like it's dangerous maybe? Whatever, can't be that bad.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by amacbride on Thursday February 03, 2022 @01:18PM (#30196327)
“You’ll soon be glowing with health!”
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by contravariant on Thursday February 03, 2022 @03:33PM (#30198397)
It's odd how surprisingly difficult it is to convince people to stay away or their skin might fall off.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by bcantrill on Thursday February 03, 2022 @05:21PM (#30199855)
Wow, that brings back memories! I wrote this message, and it was a direct result of some very bad experiences from some people who thought they knew what they were doing -- but in fact had no idea. I don't know how well this message worked, but it warms my heart to see it again; thank you!
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by dmd on Thursday February 03, 2022 @05:38PM (#30200034)
Holy shit! THIS is why I come to HN.

I really really want an Oxide. Sadly it doesn't solve any problem we have, but ... man, so cool. Great work.

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by tsomctl on Thursday February 03, 2022 @12:07PM (#30195105)
That feels like an additional sentence was added every time someone screwed up their machine and called support.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by BitwiseFool on Thursday February 03, 2022 @12:09PM (#30195130)
I forget where this was posted, but there was a multiline comment along the lines of

  "DO NOT ATTEMPT TO OPTIMIZE OR REFACTOR THIS CODE. 
  When you ignore this warning and fail, increment this tally mark: IIII"
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by isp on Thursday February 03, 2022 @12:21PM (#30195369)
http://bash.org/?947444

    //
    // Dear maintainer:
    //
    // Once you are done trying to 'optimize' this routine,
    // and have realized what a terrible mistake that was,
    // please increment the following counter as a warning
    // to the next guy:
    //
    // total_hours_wasted_here = 25
    //
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by mPReDiToR on Friday February 04, 2022 @08:14AM (#30206378)
Do we know what the current tally is?

Is the code still in use?

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by cmeacham98 on Thursday February 03, 2022 @12:28PM (#30195494)
Likely from this SO answer: https://stackoverflow.com/a/482129
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by Veliladon on Thursday February 03, 2022 @12:09PM (#30195140)
You know what they say. Regulations are written in blood.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by FabHK on Thursday February 03, 2022 @01:16PM (#30196298)
Well, in aviation. Not so sure for software engineering.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by ipython on Thursday February 03, 2022 @02:01PM (#30197031)
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by MaxBarraclough on Thursday February 03, 2022 @03:39PM (#30198485)
A small fraction of software developers work on safety-critical software. Safety-critical software is (or at least should be) developed with quite different methodologies, as the cost/benefit assessment is very different regarding development speed against number and nature of defects.

If there are lessons written in blood for the development of safety-critical software, they haven't propagated to the wider field of software development.

(Disclaimer: I don't work on safety-critical software.)

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by wongarsu on Thursday February 03, 2022 @02:36PM (#30197608)
NASA's guidelines are not written in blood, but certainly in lost spacecraft. The most famous is the Mars Climate Orbiter that was lost due to ground system and orbiter using different units of measurement, but that's not the only example [1]

1: https://www.csoonline.com/article/3404528/8-famous-software-...

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by greenyoda on Thursday February 03, 2022 @03:37PM (#30198458)
> NASA's guidelines are not written in blood

I can think of at least three NASA missions that resulted in deaths: Apollo 1[1], and the Challenger[2] and Columbia[3] space shuttles.

[1] https://en.wikipedia.org/wiki/Apollo_1

[2] https://en.wikipedia.org/wiki/Space_Shuttle_Challenger_disas...

[3] https://en.wikipedia.org/wiki/Space_Shuttle_Columbia_disaste...

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by ncmncm on Thursday February 03, 2022 @10:08PM (#30202342)
Only one of those particularly affected guidelines. After, anything that might end up in a pure oxygen atmosphere had to be non-inflammable, and very uncomfortable.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by lostlogin on Thursday February 03, 2022 @01:59PM (#30196992)
The 737 Max attempted pioneering work in this area.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by Veliladon on Thursday February 03, 2022 @07:56PM (#30201377)
What do you mean attempted? Boeing successfully slaughtered 346 people with their negligence.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by SAI_Peregrinus on Thursday February 03, 2022 @10:23PM (#30202433)
And they didn't even get any new regulations written that I've seen. The hand wheels for the horizontal stabilizer trim became too hard for average pilots to physically operate if the aircraft is going too fast and out of trim far enough (even without being outside the safe operating envelope). There was no regulation limiting how much force the trim wheels can need while within the operating envelope. AFAIK, there's still no such regulation. So the "fixed" 737 Max models didn't change the hand wheels, meaning the physical backup in case of a trim runaway might not actually be usable. Yet they certified it without changes, because there's no regulation saying that the safety backup wheels have to be physically usable by average pilots in the event the primary powered system fails!
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by throwaway0a5e on Thursday February 03, 2022 @02:53PM (#30197847)
Are we living in the same world? Encryption, weed, appliances don't do their jobs in the name of efficiency?

Seems like half the time it's the blood of the lobbyist or spook who didn't realize how heavy that suitcase full of benjamins was and the other half of the time it's the blood of whoever got trampeled when the moral panic turned into a moral stampede.

Cheap quips like "regulations are written in blood" are just high brow ways of saying "because I said so".

As the top level commenter points out, these sorts of messages coming from untrustworthy entities who's best interest only aligns with yours in passing are not held in high regard unless they come with some sort of justification since the entities in question (be they oracle or the EPA) do not have the reputation for honesty that they can rely on. If there's really a hazard, communicate the hazard and don't lie about it. The vast majority of the regulation of which you speak is far closer to the "no user serviceable parts inside" end of the spectrum than the "warning, landmines" end and that is why it's not taken seriously.

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by duxup on Thursday February 03, 2022 @01:15PM (#30196271)
>"no, seriously, Mister Unix Wizard, we mean YOU."

That makes sense as they're the folks who will get in trouble.

Rando person probably turns back at this point "nope this isn't what I wanted".

Guy who thinks he knows better is the one who keeps going and freaks out when it hits the fan.

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by spectra72 on Friday February 04, 2022 @01:10AM (#30203439)
I had to read that multiple times to prove to myself that the text didn't literall call out "Unix Wizards".

After 10+ years of doing qa on the ZFS appliance I completely ignored the warning and you could have slipped anything past me in the text.

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by hnthrowaway0315 on Thursday February 03, 2022 @12:15PM (#30195255)
Why include the shell then? Just curious.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by colechristensen on Thursday February 03, 2022 @12:29PM (#30195516)
It really should be applauded, you own this thing and can fully control it, but that means you can do things with it we can’t save you from and will refuse to even try.

No need for a “security” team to lock away access from you, a very stern warning will do.

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by hnthrowaway0315 on Thursday February 03, 2022 @01:27PM (#30196450)
Got it, thanks!
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by dmd on Thursday February 03, 2022 @12:23PM (#30195405)
It's really for Oracle techs to use, I guess?

Dell Compellent has a similar thing. Theirs is hidden behind the super seekrit password "SuPpOrt"...

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by hnthrowaway0315 on Thursday February 03, 2022 @01:27PM (#30196467)
That's a very...secure password!
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by duxup on Thursday February 03, 2022 @01:17PM (#30196308)
Debugging maybe?

When I worked support for networking equipment every device had potentially multiple shells or APIs hidden that allowed you to do stuff that really only the engineers who made the thing should do / direct someone to do it.

I often walked trustworthy customers through using them as they knew if they did it then it was on them.

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by hnthrowaway0315 on Thursday February 03, 2022 @01:27PM (#30196456)
Reasonable, someone gets to use it.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by tgsovlerkhgsel on Thursday February 03, 2022 @03:46PM (#30198573)
Most likely for support engineers working on "something went really wrong" cases to be able to provide you with debug commands that you should run, or for support engineers to be able to run such commands.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by cryptonector on Thursday February 03, 2022 @06:52PM (#30200773)
For Sun (later, Oracle) support staff to access remotely (with the customer's approval).
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by IncRnd on Thursday February 03, 2022 @04:14PM (#30198953)
Apparently, you didn't read the message.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by hnthrowaway0315 on Thursday February 03, 2022 @05:03PM (#30199641)
No I did, just not sophiscated to understand all of that. My basic understanding is that they put something in the piece of software that users should absolutely not touch, that's why I asked why it absolutely has be there.

That is, is there any chance that they can remove it from the hand of users without damaging the usability of that piece of software. The other commenters mentioned that support engineers may use it, so that answered my question.

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by Gaelan on Thursday February 03, 2022 @12:04PM (#30195068)

  +-----------------------------------------------------------------------------+
  | You are entering the operating system shell. By confirming this action in   |
  | the appliance shell you have agreed that THIS ACTION MAY VOID ANY SUPPORT   |
  | AGREEMENT. If you do not agree to this -- or do not otherwise understand    |
  | what you are doing -- you should type "exit" at the shell prompt. EVERY     |
  | COMMAND THAT YOU EXECUTE HERE IS AUDITED, and support personnel may use     |
  | this audit trail to substantiate invalidating your support contract. The    |
  | operating system shell is NOT a supported mechanism for managing this       |
  | appliance, and COMMANDS EXECUTED HERE MAY DO IRREPARABLE HARM.              |
  |                                                                             |
  | NOTHING SHOULD BE ATTEMPTED HERE BY UNTRAINED SUPPORT PERSONNEL UNDER ANY   |
  | CIRCUMSTANCES. This appliance is a non-traditional operating system         |
  | environment, and expertise in a traditional operating system environment    |
  | in NO WAY constitutes training for supporting this appliance. THOSE WITH    |
  | EXPERTISE IN OTHER SYSTEMS -- HOWEVER SUPERFICIALLY SIMILAR -- ARE MORE     |
  | LIKELY TO MISTAKENLY EXECUTE OPERATIONS HERE THAT WILL DO IRREPARABLE       |
  | HARM. Unless you have been explicitly trained on supporting this            |
  | appliance via the operating system shell, you should immediately return     |
  | to the appliance shell.                                                     |
  |                                                                             |
  | Type "exit" now to return to the appliance shell.                           |
  +-----------------------------------------------------------------------------+
Cleaned up formatting
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by dang on Thursday February 03, 2022 @12:23PM (#30195403)
Thanks! I've ported that edit to the GP - it just requires adding two spaces to the start of each line (see https://news.ycombinator.com/formatdoc).
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by hexo on Thursday February 03, 2022 @12:17PM (#30195300)
That is so arrogant (from oracle) it should be illegal.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by zhengyi13 on Thursday February 03, 2022 @01:19PM (#30196345)
Tell me you've never worked in support without telling me you've never worked in support.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by bcantrill on Thursday February 03, 2022 @05:24PM (#30199899)
In this case, the message in question was written at Sun -- by someone who would turn out to be one of Oracle's biggest critics.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by cryptonector on Thursday February 03, 2022 @06:52PM (#30200776)
I wonder who that might be! :)

EDIT: Ah, I see you claimed authorship in a comment below.

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by IncRnd on Thursday February 03, 2022 @04:16PM (#30198979)
AH, now we see who cavorted inside the shell.
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by 0xFFFE on Thursday February 03, 2022 @08:33PM (#30201666)
You would have added some expletives too if you had worked as a support engineer.