<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: greengorcer</title>
    <description>The latest articles on DEV Community by greengorcer (@greengorcer).</description>
    <link>https://dev.to/greengorcer</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1017710%2Fde5596f9-b326-48f7-a907-1c53a3b7d104.gif</url>
      <title>DEV Community: greengorcer</title>
      <link>https://dev.to/greengorcer</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/greengorcer"/>
    <language>en</language>
    <item>
      <title>SPVM</title>
      <dc:creator>greengorcer</dc:creator>
      <pubDate>Tue, 14 Feb 2023 08:22:36 +0000</pubDate>
      <link>https://dev.to/greengorcer/spvm-3468</link>
      <guid>https://dev.to/greengorcer/spvm-3468</guid>
      <description>&lt;h1&gt;
  
  
  &lt;a href="https://metacpan.org/dist/SPVM" rel="noopener noreferrer"&gt;SPVM (Static Perl Virtual Machine)&lt;/a&gt;
&lt;/h1&gt;

&lt;p&gt;It is technically a language with static type written in Perl.&lt;/p&gt;

&lt;p&gt;To me, it is would be a great way to compile Perl string manipulation codes into executables. Looking at the claimed benchmark, 100x efficiency improvement seems possible after the compilation. Considering Perl's runtime efficiency is already pretty high among the dynamic languages, the compiled code would be of great performance while keeping Perl's powerful Regex features. &lt;/p&gt;

&lt;p&gt;I have learned C programming in the college time, which is a long while ago. I hope I can contribute to this project in some ways.&lt;/p&gt;

&lt;h1&gt;
  
  
  Add github Issues as the bug tracker
&lt;/h1&gt;

&lt;p&gt;I found that Mr Szabo has already committed the bug track update to SPVM-Sys.&lt;/p&gt;

&lt;p&gt;I found SPVM and SPVM-Regex are using github Issues without updating Makefile.PL files, so I sent pull requests to these repos in github. I hope they work.&lt;/p&gt;

</description>
      <category>portfolio</category>
      <category>showdev</category>
      <category>gratitude</category>
    </item>
    <item>
      <title>OSDC Lesson 2</title>
      <dc:creator>greengorcer</dc:creator>
      <pubDate>Tue, 07 Feb 2023 05:06:05 +0000</pubDate>
      <link>https://dev.to/greengorcer/osdc-lesson-2-567</link>
      <guid>https://dev.to/greengorcer/osdc-lesson-2-567</guid>
      <description>&lt;h2&gt;
  
  
  First thing first
&lt;/h2&gt;

&lt;p&gt;After joining OSDC, starting submitting pull requests and creating github.io pages, I learned that my username in github.com is actually greeng&lt;strong&gt;or&lt;/strong&gt;cer, not &lt;em&gt;greengrocer&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;After checking github.com, I found that &lt;em&gt;greengrocer&lt;/em&gt; was available I When I joined github.com in 2014. So it was totally my spelling error at that time.&lt;/p&gt;

&lt;p&gt;Someone took &lt;em&gt;greengrocer&lt;/em&gt; in 2016, so I need to figure out what to do with my username now. &lt;em&gt;greengorcer&lt;/em&gt; is kinda stupid.&lt;/p&gt;

&lt;h2&gt;
  
  
  You need to install openssh-client to get ssh-keygen command
&lt;/h2&gt;

&lt;p&gt;Then using ssh-keygen to generate a ssh public key for SSH github push.&lt;/p&gt;

&lt;h2&gt;
  
  
  git basic work flow
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. git clone
&lt;/h3&gt;

&lt;p&gt;This is for the initial downloading from github.com repo.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. make some edit in the repo
&lt;/h3&gt;

&lt;h3&gt;
  
  
  3. git add &lt;em&gt;filename&lt;/em&gt;
&lt;/h3&gt;

&lt;p&gt;This put the edited files to be staged&lt;/p&gt;

&lt;h3&gt;
  
  
  4. git commit
&lt;/h3&gt;

&lt;p&gt;Submit the change in the local rep.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. git push
&lt;/h3&gt;

&lt;p&gt;Submit the change of the local repo to the github.com repo.&lt;/p&gt;

&lt;h3&gt;
  
  
  git reset --soft HEAD~1
&lt;/h3&gt;

&lt;p&gt;Revoke the latest commit in the local repo.&lt;/p&gt;

&lt;h3&gt;
  
  
  git restore --staged &lt;em&gt;filename&lt;/em&gt;
&lt;/h3&gt;

&lt;p&gt;This will unstage the files. The reverse action of &lt;em&gt;add&lt;/em&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  git checkout &lt;em&gt;filename&lt;/em&gt;
&lt;/h3&gt;

&lt;p&gt;This could revoke the local change.&lt;/p&gt;

&lt;h2&gt;
  
  
  .gitconfig
&lt;/h2&gt;

&lt;p&gt;git config --global --add user.name "Foo Bar"&lt;/p&gt;

&lt;p&gt;git config --global --add user.email &lt;a href="mailto:foo@bar.com"&gt;foo@bar.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can also edit the ~/.gitconfig file directly.&lt;/p&gt;

&lt;h2&gt;
  
  
  A little about ack, a Perl project
&lt;/h2&gt;

&lt;p&gt;It is under active development, but the demand is mainly in the document format definition, not in Perl code.&lt;/p&gt;

</description>
      <category>osdc</category>
      <category>perl</category>
      <category>git</category>
      <category>ack</category>
    </item>
    <item>
      <title>US government agencies' opensource projects</title>
      <dc:creator>greengorcer</dc:creator>
      <pubDate>Tue, 31 Jan 2023 02:07:41 +0000</pubDate>
      <link>https://dev.to/greengorcer/us-government-agencies-opensource-projects-18kc</link>
      <guid>https://dev.to/greengorcer/us-government-agencies-opensource-projects-18kc</guid>
      <description>&lt;h1&gt;
  
  
  1st &lt;a href="https://osdc.code-maven.com/osdc-2023-01-perl/"&gt;OSDC&lt;/a&gt; pull request
&lt;/h1&gt;

&lt;p&gt;I have been interested in the US government opensource activities since around 2016, so all my OSDC homework entries of the open source projects are in the governments section.&lt;/p&gt;

&lt;p&gt;The most interesting project would be &lt;strong&gt;&lt;a href="https://github.com/NationalSecurityAgency/ghidra"&gt;ghidra&lt;/a&gt;&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;Back in 2018 I was looking for a reverse compiling tool to look at the binary of &lt;strong&gt;Dominions 5&lt;/strong&gt; (it is a play by email 4X game. lots of fun!). IDA pro is really nice but I do not have the budget to purchase a license. &lt;/p&gt;

&lt;p&gt;NSA opensourced ghidra right at that moment. It works like a charm on x64 ELF. &lt;/p&gt;

&lt;p&gt;NSA's rationale is simple. They &lt;strong&gt;do not have the budget&lt;/strong&gt; to keep the tool up to date either, so it is better to opensource the tool and gain support from the community.  5 years later I would say their strategy worked.&lt;/p&gt;

&lt;h1&gt;
  
  
  There are joke/parody projects of US government agencies on github
&lt;/h1&gt;

&lt;p&gt;Here is an example of &lt;a href="https://github.com/ciagov"&gt;CIA&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Considering CIA started a podcast in 2022, we might see an official CIA github account in 2023. After all, CIA does have a large amount of internal software tooling projects.&lt;/p&gt;

</description>
      <category>osdc</category>
      <category>opensource</category>
      <category>perl</category>
    </item>
  </channel>
</rss>
