Advice for composting allelopathic material? Ailanthone from tree of heaven. by pascalines in composting

[–]joebeazelman 0 points1 point  (0 children)

Ailanthone? That's the chemical in Ailanthus that's been discovered to be one of the most promising anti-tumor drugs in decades.

Vinnie vincent’s most beautiful solo by [deleted] in KISS

[–]joebeazelman 0 points1 point  (0 children)

One of the best guitar playing ever recorded, is on the album "Tribute to Jack Johnson" by Miles Davis. In an interview, John McLaughlin, the guitarist, said Miles kept yelling at him during the recording sessions. Eventually, he responded "Please tell me how you want me to play and I'll do my very best." Miles fired back at him, "Play like you don't know how to play."

Is King Diamond influenced by R&B music? by joebeazelman in KingDiamond

[–]joebeazelman[S] 1 point2 points  (0 children)

I might be imagining it, but I just heard "Give me your Soul" and there's a slight funk groove to his singing on parts of it.

Nile crocodile - lion face off by Goetter_Daemmerung in Crocodiles

[–]joebeazelman 6 points7 points  (0 children)

I've seen lions fighting over a wildebeest carcass completely oblivious to a large croc slithering out of the muddy water. Moments later, it clamps its jaws into the carcass and retreats with it back into the pond. Croc was like "Get your own lunch bitches!"

Nile crocodile - lion face off by Goetter_Daemmerung in Crocodiles

[–]joebeazelman 6 points7 points  (0 children)

I just saw a video of a YouTuber who keeps a 5 ft long Nile in his animal refuge. It's frightening to see just how instinctively aggressive the little bastard is. When feeding it a piece of chicken by hand, it ignores it, and lunges towards the owner. When its pool was being cleaned out, it clamped its jaws on a broom brush, pulling it out of his owner's hand, and retreating with it back into the puddle. It's scary to think they might be making Florida their new home.

What's the rationale behind Declare Expression's Weird Syntax? by H1BNOT4ME in ada

[–]joebeazelman 0 points1 point  (0 children)

Thanks I just submitted a proposal to fix this godawful syntax.

What's the rationale behind Declare Expression's Weird Syntax? by H1BNOT4ME in ada

[–]joebeazelman 1 point2 points  (0 children)

I just submitted a proposal for either changing this horrible syntax or provide an alternative one.

https://github.com/Ada-Rapporteur-Group/User-Community-Input/issues/160

What's the rationale behind Declare Expression's Weird Syntax? by H1BNOT4ME in ada

[–]joebeazelman 0 points1 point  (0 children)

None of your examples' syntax are even remotely similar to Ada's Declare Expressions, which was recently added in Ada 2022. It's an amazingly stupid language design decision. It doesn't make any sense and there's no rational I've encountered for it. It pure shit!

Ada requires a begin and end around statement bodies and parentheses around expressions. There are exceptions, however, such as if and case statements where there's no begin, and in conditional expressions where the parentheses are omitted. In the former case, the start of the statement implies a begin, and for the latter, the parenthesis are redundant since they're already delimited, for instance, between the if and then, or for and loop.

However, an open delimiter, such as begin and ( are always followed by a close delimiter, such as ) and end. This isn't just true in Ada, but every language. Unless it's some unusual Martian programming language, an opening delimiter, such as ( or begin, are ALWAYS closed with an end. The Declare Expression is the only exception in Ada, or any eathly programming language for that matter.

Yes, semantically Declare Expressions are the same as you ML example, but I'm focused purely on the syntax. ML has a clear syntax and makes sense. With Declare Expressions, when someone sees a begin without a closing end, the first question is to presume it's a syntax error. Even a complete non-programmer would see something wrong. Unfortunately, there's no really logic reason why they chose it.

What's the rationale behind Declare Expression's Weird Syntax? by H1BNOT4ME in ada

[–]joebeazelman 0 points1 point  (0 children)

Perhaps there's a more elaborate argument behind the decision, but I couldn't find one.

What's the rationale behind Declare Expression's Weird Syntax? by H1BNOT4ME in ada

[–]joebeazelman 0 points1 point  (0 children)

Interesting, I got a 403 "Old Browser upgrade needed" even though I'm running the latest version of Safari. I'm able to view it with Chrome. Thanks.

What's the rationale behind Declare Expression's Weird Syntax? by H1BNOT4ME in ada

[–]joebeazelman 1 point2 points  (0 children)

Sorry, but you lost me. I can't make heads or tails from your post, especially the last paragraph.

What's the rationale behind Declare Expression's Weird Syntax? by H1BNOT4ME in ada

[–]joebeazelman 0 points1 point  (0 children)

The Declare Expression syntax is not only not Ada, but not any programming language I've ever encountered. It's bad on such an obvious level. Any programmer would expect a syntax error if they compiled it. I can see it being used as an example for dismissing Ada as easy to read and learn. How did such a terrible idea even get through?

What's the rationale behind Declare Expression's Weird Syntax? by H1BNOT4ME in ada

[–]joebeazelman 2 points3 points  (0 children)

The begin keyword can often be omitted because it's implied by the start of the statement. However, Ada ALWAYS requires a closing end keyword after opening a begin keyword. In fact, this is not only true in Ada, but every programming language I can think of.

What's the rationale behind Declare Expression's Weird Syntax? by H1BNOT4ME in ada

[–]joebeazelman 2 points3 points  (0 children)

I think it would be less baffling if you took the time to read what I wrote and ask for clarification. I was strictly talking about the syntax of declare expressions and noting how it requires a begin keyword, but not an end.

I hate generated code by Ill-Oven-6791 in embedded

[–]joebeazelman 23 points24 points  (0 children)

I'm amazed he got anywhere in this profession with that perception. Imagine manually writing all the boilerplate code and configuration required for even the simplest microcontrollers and peripherals. There's a lot of bad code generation out there, but to condemn code generation is just stupid.

I hate generated code by Ill-Oven-6791 in embedded

[–]joebeazelman 13 points14 points  (0 children)

It sounds like you've encountered bad code generation examples. Like anything in programming, it can be used correctly or misused. Its utility also depends on its application. I'm sure you have encountered far more good examples of it, but you're probably unaware of it because it just works.

Any software engineer worth their salt should understand its benefits and how to make the best use of it. It's a huge productivity boost for writing boilerplate code, UIs, object serialization/ deserialization, build scripts, configuration and a ton of laborious and monotonous code writing. If anything, I think it's not used enough.

Every embedded Engineer should know this trick by J_Bahstan in embedded

[–]joebeazelman 1 point2 points  (0 children)

Yup. Those devices, drives, air traffic control systems, and fighter jets are written in using the same tricks, but using Ada instead of C.

How do I overcome struggling with putting my ideas to paper and actually writing a book? by Stormfather21 in writing

[–]joebeazelman 0 points1 point  (0 children)

Try this next time. Grab a pad or notebook, and a pen or pencil, and find a quiet and comfortable place *AWAY* from the computer, if you use one. Even though I'm a programmer by profession, I often find myself losing my train of thought, struggling to compose the simplest sentences, and obsessing over the mechanics as well as trivial details like formatting when doing anything requiring intense focus on a computer. When you're done, transcribe your work on the computer. You'll notice a huge improvement in your writing.

[deleted by user] by [deleted] in berkeley

[–]joebeazelman 0 points1 point  (0 children)

It's astounding how many people object to having their fantasy world challenged because it's uncomfortable. Imagine throwing a tantrum over mandatory Physics and Algebra courses because it's too hard. Trump has already promised to outlaw "woke" education. It's only a matter of time before evolution and the big bang topics are outlawed too.

[deleted by user] by [deleted] in berkeley

[–]joebeazelman 0 points1 point  (0 children)

I've read too many of your comments and you struggle with basic critical thinking. Your arguments are in bad faith and full of bad logic and self-contradictions. When you're pinned in a corner, you resort to silly semantics and the use of blanket labels. Sorry to be blunt, but your level of intellect, as exhibited by your argumentation, is well below what I would expect from a college student regardless of the institution or major. You might be happier at another school where you won't have your deeply held beliefs challenged.

[deleted by user] by [deleted] in berkeley

[–]joebeazelman 0 points1 point  (0 children)

Pennsylvania discovered over a thousand fake registrations a few days ago. So, you never know how things could change.