HN user

thesuperbigfrog

8,200 karma
Posts305
Comments1,850
View on HN
rustfoundation.org 28d ago

Rust Commercial Network Launches to Bring Commercial Rust Users Together

thesuperbigfrog
11pts0
www.cdc.gov 8mo ago

Autism and Vaccines

thesuperbigfrog
18pts7
www.infoworld.com 1y ago

Ada, other older languages vie for top spots in Tiobe language index

thesuperbigfrog
3pts2
news.ycombinator.com 1y ago

Ask HN: Who Is the Best Paid Email Provider? Why?

thesuperbigfrog
24pts48
stackoverflow.com 1y ago

Problem with Vim is that you don't grok vi

thesuperbigfrog
5pts0
www.psu.edu 1y ago

Radio pulses detected coming from ice in Antarctica

thesuperbigfrog
3pts1
www.theverge.com 1y ago

Microsoft's new Copilot Vision can 'see' your apps on Windows

thesuperbigfrog
4pts2
www.theverge.com 1y ago

Nvidia's gaming business just had its best quarter ever

thesuperbigfrog
4pts0
www.theverge.com 1y ago

Apple is reportedly going to rename all of its operating systems

thesuperbigfrog
13pts7
blog.veeso.dev 1y ago

Std: Mem Is Interesting

thesuperbigfrog
3pts0
q-ctrl.com 1y ago

Unlocking the Power of Quantum Navigation: Lockheed, Q-CTRL, & Partner Contract

thesuperbigfrog
1pts0
rust-edu.org 1y ago

Rust Edu: Rust education in academia (and beyond)

thesuperbigfrog
3pts0
foundation.rust-lang.org 1y ago

Supporting the Future of Rust: Spotlight on Teaching Initiatives

thesuperbigfrog
3pts0
edoras.sdsu.edu 1y ago

The Coming Technological Singularity: How to Survive in the Post-Human Era

thesuperbigfrog
3pts0
blog.rust-lang.org 1y ago

Announcing Rust 1.83.0

thesuperbigfrog
21pts0
www.zdnet.com 1y ago

Google turns Android into a desktop OS in 5 steps

thesuperbigfrog
10pts10
www.theregister.com 1y ago

Undergrad thought he had mastered Unix in weeks. Then he discovered rm -rf

thesuperbigfrog
25pts27
www.microsoft.com 1y ago

Streamline collaboration with new chat and channel experience in Microsoft Teams

thesuperbigfrog
3pts0
www.theverge.com 1y ago

Windows 11's new passkey design includes cloud syncing and 1Password integration

thesuperbigfrog
2pts0
marshallbrain.com 1y ago

Manna – Two Views of Humanity's Future (2003)

thesuperbigfrog
33pts25
www.axios.com 1y ago

Microsoft looks to kick-start its AI push

thesuperbigfrog
2pts0
techcrunch.com 1y ago

Microsoft Copilot can now read your screen, think deeply, and speak aloud to you

thesuperbigfrog
7pts5
dl.acm.org 1y ago

Open Access Developer Ecosystems for Software Safety

thesuperbigfrog
1pts0
www.newscientist.com 1y ago

Evidence points to Wuhan market as source of Covid-19 outbreak

thesuperbigfrog
8pts0
kerkour.com 1y ago

The biggest supply chain attack

thesuperbigfrog
3pts0
www.axios.com 1y ago

Common food dye lets scientists see through skin

thesuperbigfrog
1pts1
www.sciencealert.com 1y ago

US Confirms First Human Case of Bird Flu with No Known Animal Trace

thesuperbigfrog
2pts0
ferrous-systems.com 1y ago

Ferrocene 24.08.0 Now Available

thesuperbigfrog
1pts0
futurism.com 1y ago

Amazon Cloud CEO Says Human Developers Will Soon Be a Thing of the Past

thesuperbigfrog
4pts7
www.tomshardware.com 1y ago

Microsoft to kill Windows Control Panel in favor of Settings app

thesuperbigfrog
4pts1

> Something that I had heard is that it is because Mormons use a different baptism, which is not Trinitarian. However, it seems that it is Trinitarian, although this trinity is different from that of Christians (even though they still say "the Father", "the Son", and "the Holy Spirit").

I had not heard that so I looked it up:

-----------

Catholic baptism:

“I baptize you in the name of the Father, and of the Son, and of the Holy Spirit.” The matter is the water poured over the head of the recipient. Traditionally, the one being baptized has water poured over them or is fully emerged in water three times.

Source: https://ascensionpress.com/blogs/articles/the-ultimate-guide...

(Some) Protestant baptism:

Each candidate is presented by name to the Celebrant, or to an assisting priest or deacon, who then immerses, or pours water upon, the candidate, saying

N., I baptize you in the Name of the Father, and of the Son, and of the Holy Spirit. Amen.

Source: https://www.bcponline.org/Baptism/holybaptism.html

(Some groups do it differently, but this seems to be common.)

Mormon baptism:

73 The person who is called of God and has authority from Jesus Christ to baptize, shall go down into the water with the person who has presented himself or herself for baptism, and shall say, calling him or her by name: Having been commissioned of Jesus Christ, I baptize you in the name of the Father, and of the Son, and of the Holy Ghost. Amen.

74 Then shall he immerse him or her in the water, and come forth again out of the water.

Source: https://www.churchofjesuschrist.org/study/scriptures/dc-test...

-----------

I am not an expert, but they all seem mostly the same to me?

This looks like a really nice feature to see what goes into Rust binaries.

This post says that it is experimental, but does not say where it is used.

On my Ubuntu VM, it works with bat like the example shows, but does not work with the new Rust "ls":

  ubuntu@resolute:~$ cargo audit bin /usr/bin/ls
      Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
        Loaded 1107 security advisories (from /home/ubuntu/.cargo/advisory-db)
      Updating crates.io index
  error: No dependency information found in /usr/bin/ls! Is it a Rust program built with cargo?
  error: parse error: No dependency information found! Is this a Rust executable built with cargo?
  
  ubuntu@resolute:~$ ls -lah /usr/bin/ls
  lrwxrwxrwx 1 root root 29 Mar 30 16:50 /usr/bin/ls -> ../lib/cargo/bin/coreutils/ls
  ubuntu@resolute:~$ 

Still, this is a nice feature to have.

Greg Kroah-Hartman has been maintaining Linux for decades.

If he says that Rust is helping Linux maintainers to do their work more effectively, that is great news for Linux. I am excited to see the work advance.

I was skeptical of Rust until I gave the language a try for Advent of Code one year. I found it interesting, but I was uncertain about how it would work in a real codebase.

Later at $JOB, I migrated a troublesome C codebase to Rust as an experiment and the results were eye-opening. We discovered errors in the C code we had not realized were present. We were able to structure the code in a way that was easier to understand. The rewritten code was slightly faster, but much easier to understand and maintain.

It really is a game changer.

> Vegetarianism is such a bad label lol

Agreed. I was expecting to find AI-generated vegetarian recipes.

Actually, I wonder if they would be any good.

> Why? And also: What can be done to change this in the future?

Two corrupt political parties that are owned by monied interests thanks to Citizens United, decades without campaign finance reform, and rampant "gifts" and extortion.

Neither party represents the people or their needs. They take money and make money. Laws are written by monied special interests. Members of both parties have been doing insider trading for decades, but now it is on naked display, bold and unashamed, as if it to say, "what are you going to do about it?"

Drastic systemic changes are needed on the order of a Constitutional Convention, but it is doubtful that it will happen without tremendous public outcry.

https://www.youtube.com/watch?v=iRImYairm1A

There is not a good way to "guard ships on the sides" against hundreds of Shahed drones or small seaborne drones.

They would overwhelm any defenses and only a few would need to get through to destroy a tanker.

If multiple tankers are together in a line the risk becomes greater: more targets for the drones to hit and any fires or explosions on one tanker might spread to other tankers.

After working with C and C++ for many years and handling the problems associated with such software, Rust solves many of the difficult problems and makes nearly impossible problems manageable.

Rust is not perfect. It has flaws, moves quickly, and is harder to learn than other programming languages, but it is a large improvement and is advancing the state of the art.

What about all the weapons forbidden by the Geneva convention?

Some weapons are prohibited Geneva convention because they are designed to cause suffering or indiscriminately kill non-combatants:

"Weapons prohibited under the Geneva Convention and associated international humanitarian law (including the 1925 Protocol, CCW, and specific treaties) include chemical/biological agents (mustard gas, sarin), blinding lasers, expanding bullets, and non-detectable fragments. Also banned are anti-personnel landmines and cluster munitions.

Key prohibited and restricted weapons include:

Chemical and Biological Weapons: The 1925 Geneva Protocol and subsequent conventions (1972, 1993) banned the use, development, and stockpiling of asphyxiating, poisonous, or other gases, including nerve agents and biological weapons.

Blinding Laser Weapons: Specifically designed to cause permanent blindness (Protocol IV of the CCW).

Non-detectable Fragments: Weapons designed to injure by fragments not detectable in the human body by X-rays (Protocol I of the CCW).

Incendiary Weapons: Restrictions on using fire-based weapons (like flamethrowers) against civilian populations (Protocol III of the CCW).

Anti-personnel Landmines: Banned under the Ottawa Treaty (1997) due to risks to civilians.

Cluster Munitions: Prohibited due to their indiscriminate nature.

These treaties aim to protect civilians and combatants from unnecessary suffering and long-term danger."

Would "good hands" choose weapons that are designed to cause suffering or that kill indiscriminately?

No, they would not.

grep, sed, and awk are nice simple tools but were followed by perl which is a more comprehensive tool and a complete programming language.

perl advanced the state of the art for regular expressions such that most regular expression implementations are "perl compatible".

From HN user unpythonic:

"When perl came out we were living in horrific times. You had the choice of either Bourne, C or Korn shell. Automation was glued together in one of these with a series of grep, awk, sed, ls, test, commands glued together.

Anything more complicated was written in C and called from one of these things. Perl in one stroke collapsed the programming of C, text manipulation, the capabilities of all of the Unix utilities, and data structures into one system. For anything which wasn't subsumed into the monolith of Perl, you could easy access via backticks. It was very friendly in dealing with text streams, and that's what those call-outs in those back ticks spoke.

Yes, awk and sed were replaced by Perl, but more importantly, the unmaintainable nightmare that glued all of it together was wiped out." Source: https://news.ycombinator.com/item?id=36650120

From "The Art of Unix Programming":

"Perl is shell on steroids. It was specifically designed to replace awk(1), and expanded to replace shell as the ‘glue’ for mixed-language script programming. It was first released in 1987." Source: http://www.catb.org/esr/writings/taoup/html/ch14s04.html#per...

It is good to know grep, sed, and awk, but it would be remiss to not include perl too. It is equally ubiquitous, more capable, and still developed and maintained with version 5.42.0 released last year: https://www.cpan.org/src/README.html

"On the scripting side, Perl has also returned to prominence. Once the undisputed leader in scripting, Perl declined after years of internal fragmentation and competition from newer languages. Recently, however, it has staged a comeback, reclaiming a position in the TIOBE top 10 since January 2018." Source: https://www.tiobe.com/tiobe-index/

But don't take my word for it, give it a try and see what you think: https://www.perl.org/get.html

They have fired the honest people who reported numbers they did not like.

Anything that they publish should be considered untrustworthy. Anything they say should be considered unreliable.

It used to be "trust but verify", now it is "don't trust, seek a different source". It is sad, but reality now.