Note

The app for independent voices

Hey Friends, I’m here of Substack, and here is why I decided to leave MSNBC and go 100% independent with all my content.

0:00
/
1:03
Substack Launch: Let's do this!

I just want to say thank you to everyone who has reached out with kindness and encouragement, both personally and in these social media streets. So very proud of The Reidout @joy.msnbc.com team, who are truly family, and all of our supporters & friends. See you tomorrow night at 7 ET, one more time ‼️

Spoiler alert: I wasn’t nice to him.

You made it, you own it

You always own your intellectual property, mailing list, and subscriber payments. With full editorial control and no gatekeepers, you can do the work you most believe in.

Alcohol suspected in crash that injured 2 MHS students

This man is the leader of the free world.

Great discussions

Join the most interesting and insightful discussions.

Fuck my Twitter boycott: Here goes:

I said two weeks ago on @CNN that Donald Trump is a Russian asset. I stand by that. The entire world should now know that this is the scary truth.

Hi everyone, I have a request for you all.

Please follow my page as much as possible. I get my information directly from my CDC sources some were sadly fired last week, but others remain inside, risking everything to keep me informed about Bird Flu.

I report on Bird Flu, COVID-19, Tuberculosis, Measles, and other infectious diseases.

Stay informed and share for public health awareness.

Grow your publication on Substack

With recommendations, referrals, and a powerful growth network, Substack creators spend less time on marketing and more time on their craft.

Regardless of RFK Jr being confirmed as HHS secretary, I will continue to provide evidence based health education on social media. We need more helpers now more than ever.

I’m no constitutional law scholar, but shouldn’t the Democratic members of congress be filing for restraining orders to stop each of the illegal (meaning contrary to the constitution or federal statutes) acts of Trump or his proxies? Why are they leaving it to the states and individual citizens?

You made it, you own it

You always own your intellectual property, mailing list, and subscriber payments. With full editorial control and no gatekeepers, you can do the work you most believe in.

DHS Now Allows for Surveillance based on Sexual Orientation or Gender Identity

Trump and Vance beclowned themselves in their meeting with Zelenskyy. They came across as weak, petty little bullies. Zelenskyy’s position will now be strengthened around the globe while America continues to sink further and further into disrepute.

World-class writing

The best stories, ideas, and culture right at your fingertips.

Friends, you have no idea what it’s like to be Ukrainian at this moment.

We’ve been through much harder things over the last 3 years and 4 days. But this is still a punch to the stomach like few others.

Thank you for your solidarity. Especially to those in the United States of America who don’t endorse this monster.

We are the Senate Democrats. And tonight, we’re going live with

as we work for the American people.

Senate Republicans are about to try to advance a budget resolution that clears the way to cut taxes for Trump’s billionaire buddies.

Democrats are going to expose how Republicans want to gut health care, jobs, public safety, housing, education, and national security.

Grow your publication on Substack

With recommendations, referrals, and a powerful growth network, Substack creators spend less time on marketing and more time on their craft.

just getting started on substack, excited to be here and looking forward to seeing old friends and meeting new ones. more soon.

To every Trump supporter calling me a traitor because I’m “rooting” against my own country: When my own country is on the wrong side in a fight for freedom, sovereignty and democracy, I will root against my own country. Every single time. If that makes me a traitor, so be it.

Grow Your Audience

Marketing isn’t all on your shoulders. More than 50% of all new free subscriptions and 25% of paid subscriptions come from within our network.

I woke up this morning with a heart full of gratitude.

We are building a movement that will usher independent media into a brighter future. Thank you for everything. We are just getting started.

No more billionaires. No more dictating what we say or write. It’s time for independence. Full stop.

You made it, you own it

You always own your intellectual property, mailing list, and subscriber payments. With full editorial control and no gatekeepers, you can do the work you most believe in.

I absolutely am ashamed at what just went down in the Oval Office.

I imagine many older IT folk are squirming a bit. In the old days, the operating systems actually provided distinct interfaces for dealing with a few different kinds of files. If you tried to open a file with the wrong interface, you application would fail, often with no opportunity to recover. Unix systems introduces a great simplification where all i/o devices were presented as a file (or a file-like) object in the file tree. You used a common simple open or close, read or write, seek or tell, and control or status API. Life became much simpler for developers, in some ways, and more complex in others. We had to design, and hopefully standardize, the file formats mentioned in the article to store audio, video, graphics, etc.

The language run-time libraries provide the ability to use such an entity as a line-oriented text file, or a record oriented FORTRAN file or a COBOL block oriented file or just a plain stream of bytes. The *nix OS directly provides the plain stream of bytes, with all the other formats built on top of that. Probably the most common is the line-oriented text file. You ask the run time to give you lines of bytes which are separated by new-line characters, and you asked the run-time to write lines of bytes separated by newline chanters. Life was good.

Then in the 1980's along came the IBM PC and the Apple Macintosh. The PCDOS OS used a carriage return and a newline, and MACOS OS used just a carriage return, to separate lines in "text" files. By this time, the internet (but not yet as we know it now) linked thousands of computers together, and facilitated the transfer of data (often via files). Inter-op was a big buzz word and selling feature - it was very important for computers to talk to each other. And that meant that the new microcomputers had to talk to the rest of the world, generally be exchanging files. That is when the distinction between binary and text files became critical. Our apps had to know which of three conventions was used to separate lines in the text files.

Modern versions of Python have a feature called universal newlines. When you open a file as a text file, e.g. with mode='T', the Python run-time library will discover the new line convention used in the file and properly separate the byte stream into lines for you. And when you write to a text file, the run-time will use the usual line separator character(s) for the OS between the lines you write. When you open a text file in binary mode, you may need to perform this discovery yourself, and check which OS you are running on to determine the default line separator.

Under the hood, so to speak, the Python run-time is accessing a binary stream of bytes. It provides convenient services that depend on the file mode to make life easier for all Python developers. All we need to know is how we want to use the file. And hopefully that matches to content of the file.

There is no such thing as a raw text file
1 Like
Jun 5, 2023
at
11:39 PM
No replies yet
Be the first to add your thoughts