<?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: Brian Horakh</title>
    <description>The latest articles on DEV Community by Brian Horakh (@elasticdotventures).</description>
    <link>https://dev.to/elasticdotventures</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%2F629342%2F258c4f1c-8fe2-4c9e-8538-4820d155a0e4.png</url>
      <title>DEV Community: Brian Horakh</title>
      <link>https://dev.to/elasticdotventures</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/elasticdotventures"/>
    <language>en</language>
    <item>
      <title>VsCode Debug RUST</title>
      <dc:creator>Brian Horakh</dc:creator>
      <pubDate>Mon, 23 May 2022 01:47:34 +0000</pubDate>
      <link>https://dev.to/elasticdotventures/vscode-debug-rust-198m</link>
      <guid>https://dev.to/elasticdotventures/vscode-debug-rust-198m</guid>
      <description>&lt;p&gt;This guide is intended to explain how to use the VSCode LLDB debugger with RUST.&lt;/p&gt;

&lt;p&gt;Cunningham's Law states "the best way to get the right answer on the internet is not to ask a question; it's to post the wrong answer." The concept is named after Ward Cunningham, the inventor of wiki software.&lt;/p&gt;

&lt;p&gt;With the Cunningham spirit in mind, if you know a better way to do this, or other cool stuff I should try please let me know in the comments.&lt;/p&gt;

&lt;h1&gt;
  
  
  Resources I used:
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/vadimcn/vscode-lldb/blob/master/MANUAL.md#vscode-commands"&gt;https://github.com/vadimcn/vscode-lldb/blob/master/MANUAL.md#vscode-commands&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://vscode-docs.readthedocs.io/en/stable/editor/debugging/"&gt;https://vscode-docs.readthedocs.io/en/stable/editor/debugging/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;CodeLLDB natively supports visualization of most common Rust data types:&lt;/p&gt;

&lt;p&gt;Built-in types: tuples, enums, arrays, array and string slices.&lt;br&gt;
Standard library types: Vec, String, CString, OSString, Path, Cell, Rc, Arc and more.&lt;/p&gt;

&lt;p&gt;Below is a fully functioning launch.json for vscode that works with rust 1.60, inline comments:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
    "version": "0.2.0",
    "configurations": [
        {
            // 😓 LLDB Help: https://github.com/vadimcn/vscode-lldb/discussions
            "type": "lldb",
            "request": "launch",
            "name": "Debug",

            // 🤓 use this to debug RUST binaries:
            "program": "${workspaceRoot}/target/debug/${workspaceRootFolderName}",

            // 🤓 use cargo for libraries
            /* 
            "cargo": {
                "args": ["test", "--no-run", "--lib"], // Cargo command line to build the debug target
                // "args": ["build", "--bin=foo"] is another possibility
                "filter": { // Filter applied to compilation artifacts (optional)
                    "name": "mylib",
                    "kind": "lib"
                }            
            */
            "args": [],
            "cwd": "${workspaceFolder}",
            "sourceLanguages": ["rust"], // required to add support for Vec, String, enum .. 
            "terminal":"integrated",        // can also be 'console', 'external'

            // 🤓 https://github.com/vadimcn/vscode-lldb/blob/master/MANUAL.md#stdio
            "stdio": null                // connect all streams to default terminal, can also use file(s)

            // "stopOnEntry":true,          // should open an lldb hex/asm dump on start
        ]
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>vscode</category>
      <category>rust</category>
      <category>programming</category>
    </item>
    <item>
      <title>_b00t_ - a startup environment</title>
      <dc:creator>Brian Horakh</dc:creator>
      <pubDate>Tue, 11 May 2021 08:47:40 +0000</pubDate>
      <link>https://dev.to/elasticdotventures/b00t-a-startup-environment-298</link>
      <guid>https://dev.to/elasticdotventures/b00t-a-startup-environment-298</guid>
      <description>&lt;p&gt;The idea behind &lt;em&gt;b00t&lt;/em&gt; is a framework to build a startup properly and provide tooling &amp;amp; infrastructure, devops pipeline, vs code environments, "startup kit", mostly python &amp;amp; typescript with optional libraries such as ai, crypto, ecommerce, etc. necessary for building &lt;em&gt;and&lt;/em&gt; testing &lt;em&gt;and&lt;/em&gt; deploying those.&lt;/p&gt;

&lt;p&gt;I'm still very early into the process, I'm presently building heavily into the Azure Cloud,  OpenID and the authentication middleware in Vue.JS, using the Vittesse framework.  The final product can give you a Vue.JS interface to push a button that runs an authenticated function, and then builds a plurality of messaging layers MQTT, Redis, etc. At least that's the dream.&lt;/p&gt;

&lt;p&gt;Presently the docker and fzf menuing system is coming along nicely.  This is a massive cloud-stack span of knowledge will ultimately come together in a crescendo of pre-configured bash scripting &amp;amp; menuing environment, thereby compressing the first 100 hours of action required for "creating a startup" into a few commands and reducing operational costs substantially by starting from a functional template.  &lt;/p&gt;

&lt;p&gt;&lt;a href="http://github.com/elasticdotventures/_b00t_"&gt;http://github.com/elasticdotventures/_b00t_&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
