<?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: Hugo Sandoval</title>
    <description>The latest articles on DEV Community by Hugo Sandoval (@hhsm95).</description>
    <link>https://dev.to/hhsm95</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F276506%2F0e338902-bd6b-4506-85c7-3a627c85bf76.png</url>
      <title>DEV Community: Hugo Sandoval</title>
      <link>https://dev.to/hhsm95</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hhsm95"/>
    <language>en</language>
    <item>
      <title>Stop Getting Surprised by Claude Code's Rate Limits: A Status Line That Shows Your Quota (and When It Resets)</title>
      <dc:creator>Hugo Sandoval</dc:creator>
      <pubDate>Mon, 23 Nov 2026 05:18:22 +0000</pubDate>
      <link>https://dev.to/hhsm95/stop-getting-surprised-by-claude-codes-rate-limits-a-status-line-that-shows-your-quota-and-when-2op0</link>
      <guid>https://dev.to/hhsm95/stop-getting-surprised-by-claude-codes-rate-limits-a-status-line-that-shows-your-quota-and-when-2op0</guid>
      <description>&lt;p&gt;You're deep in a session with Claude Code, things are going great… and then you hit the 5-hour limit. No warning, no idea when it resets, and your flow is gone.&lt;/p&gt;

&lt;p&gt;That happened to me one too many times, so I built &lt;strong&gt;&lt;a href="https://github.com/hhsm95/claude-statusbar" rel="noopener noreferrer"&gt;claude-statusbar&lt;/a&gt;&lt;/strong&gt;: a status line for Claude Code that keeps the important stuff in front of you all the time.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Opus 5.5 │ high │ ◉ api-worker │ ⎇ feat/x ⌂ wt-a ↑2 │ 5h ▓▓▓▓▓▓▓░░░ 74% ↺16:59 │ 7d ▓▓░░░░░░░░ 21% ↺18 Nov 07:59 │ 163K/200K
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here's what it looks like in a real session:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F97xg5fr8leg2kg29wjkv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F97xg5fr8leg2kg29wjkv.png" alt="claude-statusbar close-up: 7-day quota window in orange at 89%" width="800" height="82"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Notice the 7-day bar already in orange at 89%: that's exactly the kind of heads-up I wanted before hitting the wall.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you get at a glance
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Quota windows with reset times.&lt;/strong&gt; A 10-cell bar and a percentage for both the &lt;strong&gt;5-hour&lt;/strong&gt; and the &lt;strong&gt;7-day&lt;/strong&gt; windows, plus &lt;em&gt;when&lt;/em&gt; each one resets (&lt;code&gt;↺16:59&lt;/code&gt;). It turns green → orange at 70% → red at 90%, so you know when to wrap up before you get cut off.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Context usage.&lt;/strong&gt; &lt;code&gt;163K/200K&lt;/code&gt; tokens, so you can see a full context window coming and compact or start fresh first.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Git that understands worktrees.&lt;/strong&gt; Current branch (or short SHA when detached), the linked worktree folder (&lt;code&gt;⌂ wt-a&lt;/code&gt;) and how many commits you are &lt;strong&gt;ahead of your base branch&lt;/strong&gt; (&lt;code&gt;↑2&lt;/code&gt;). Handy if you run several Claude sessions in parallel worktrees.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model, effort and session name.&lt;/strong&gt; So you always know which model and effort level is running, and which session you're looking at.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every segment can be turned on or off, and segments with no data simply hide themselves.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install in 30 seconds
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm i -g @hhsm95/claude-statusbar
claude-statusbar init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;init&lt;/code&gt; asks which segments you want (all pre-selected), writes its config and adds the &lt;code&gt;statusLine&lt;/code&gt; entry to Claude Code's &lt;code&gt;settings.json&lt;/code&gt;. That's it.&lt;/p&gt;

&lt;p&gt;A few things I cared about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It doesn't touch the rest of your settings.&lt;/strong&gt; Only the &lt;code&gt;statusLine&lt;/code&gt; key is changed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It respects what you had.&lt;/strong&gt; If you already had a custom status line, &lt;code&gt;init&lt;/code&gt; asks before replacing it and keeps a copy, so &lt;code&gt;claude-statusbar uninstall&lt;/code&gt; puts it back.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scriptable.&lt;/strong&gt; &lt;code&gt;claude-statusbar init --yes&lt;/code&gt; for dotfiles and CI.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Configure it your way
&lt;/h2&gt;

&lt;p&gt;Settings live in &lt;code&gt;~/.claude/statusbar.json&lt;/code&gt; (or &lt;code&gt;$CLAUDE_CONFIG_DIR&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"segments"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"model"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"effort"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"session"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"git"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"fiveHour"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"sevenDay"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"context"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A disabled segment isn't even computed. Turn off &lt;code&gt;git&lt;/code&gt; and no git command runs at all. Prefer plain text? Set &lt;code&gt;NO_COLOR&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Built to be fast and boring (in a good way)
&lt;/h2&gt;

&lt;p&gt;A status line runs constantly, so it has to be fast and it can never break your terminal:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;No runtime dependencies on the render path.&lt;/strong&gt; Just Node.js.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cross-platform.&lt;/strong&gt; Tested in CI on Linux, macOS and Windows with Node 22 and 24.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fails safe.&lt;/strong&gt; A missing or corrupt config just means "show everything", each git call has a 1-second timeout, and if something can't be read, that segment hides instead of crashing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Supply-chain friendly.&lt;/strong&gt; Releases are published from GitHub Actions through npm Trusted Publishing, with provenance.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How it differs from other status lines
&lt;/h2&gt;

&lt;p&gt;There are other status line tools for Claude Code, and many of them focus on &lt;strong&gt;cost tracking&lt;/strong&gt;. claude-statusbar focuses on what kept interrupting my work: &lt;strong&gt;quota windows with reset times&lt;/strong&gt;, &lt;strong&gt;git worktree and ahead-of-base info&lt;/strong&gt;, and &lt;strong&gt;per-segment toggles&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;On the roadmap:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Configurable segment order&lt;/li&gt;
&lt;li&gt;Custom colors and thresholds&lt;/li&gt;
&lt;li&gt;Configurable bar width and separator&lt;/li&gt;
&lt;li&gt;i18n&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it and tell me what you think
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm i -g @hhsm95/claude-statusbar &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; claude-statusbar init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;⭐ &lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/hhsm95/claude-statusbar" rel="noopener noreferrer"&gt;https://github.com/hhsm95/claude-statusbar&lt;/a&gt;&lt;br&gt;
📦 &lt;strong&gt;npm:&lt;/strong&gt; &lt;a href="https://www.npmjs.com/package/@hhsm95/claude-statusbar" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/@hhsm95/claude-statusbar&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It's MIT-licensed and contributions are welcome, especially &lt;strong&gt;new segments&lt;/strong&gt;. What would &lt;em&gt;you&lt;/em&gt; want to see in your status line? Let me know in the comments 👇&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>opensource</category>
      <category>claude</category>
    </item>
    <item>
      <title>Python useful list functions: map, filter, find and reduce</title>
      <dc:creator>Hugo Sandoval</dc:creator>
      <pubDate>Wed, 15 Sep 2021 23:56:32 +0000</pubDate>
      <link>https://dev.to/hhsm95/python-useful-list-functions-map-filter-find-and-reduce-2e0o</link>
      <guid>https://dev.to/hhsm95/python-useful-list-functions-map-filter-find-and-reduce-2e0o</guid>
      <description>&lt;p&gt;Hello everyone, I made a small recap of these super useful list functions in Python: map, filter, find, reduce.&lt;/p&gt;

&lt;p&gt;Let’s start defining our array.&lt;/p&gt;

&lt;p&gt;Defining our array of objects&lt;br&gt;
For example, we gonna use some fruits and their price and quantity.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;fruits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="s"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;"Apple"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s"&gt;"units"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s"&gt;"price"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.25&lt;/span&gt;
    &lt;span class="p"&gt;},&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="s"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;"Mango"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s"&gt;"units"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s"&gt;"price"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.35&lt;/span&gt;
    &lt;span class="p"&gt;},&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="s"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;"Banana"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s"&gt;"units"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s"&gt;"price"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.15&lt;/span&gt;
    &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now I have a developer blog, continue reading this post here: &lt;a href="https://hhsm95.dev/blog/python-useful-list-functions-map-filter-find-and-reduce/"&gt;https://hhsm95.dev/blog/python-useful-list-functions-map-filter-find-and-reduce/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;

</description>
      <category>python</category>
      <category>list</category>
      <category>map</category>
      <category>filter</category>
    </item>
    <item>
      <title>Javascript useful array functions: map, filter, find and reduce</title>
      <dc:creator>Hugo Sandoval</dc:creator>
      <pubDate>Wed, 15 Sep 2021 00:16:19 +0000</pubDate>
      <link>https://dev.to/hhsm95/javascript-useful-array-functions-map-filter-find-and-reduce-5gnn</link>
      <guid>https://dev.to/hhsm95/javascript-useful-array-functions-map-filter-find-and-reduce-5gnn</guid>
      <description>&lt;p&gt;Hello everyone, I made a small recap of these super useful array functions in JavaScript: map, filter, find, reduce.&lt;/p&gt;

&lt;p&gt;Let’s start defining our array.&lt;/p&gt;

&lt;h2&gt;
  
  
  Defining our array of objects
&lt;/h2&gt;

&lt;p&gt;For example, we gonna use some fruits and their price and quantity.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;fruits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Apple&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="na"&gt;units&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="na"&gt;price&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.25&lt;/span&gt;
    &lt;span class="p"&gt;},&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Mango&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="na"&gt;units&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="na"&gt;price&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.35&lt;/span&gt;
    &lt;span class="p"&gt;},&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Banana&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="na"&gt;units&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="na"&gt;price&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.15&lt;/span&gt;
    &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;];&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now I have a developer blog, continue reading this post here: &lt;a href="https://hhsm95.dev/blog/javascript-useful-array-functions-map-filter-find-and-reduce/"&gt;https://hhsm95.dev/blog/javascript-useful-array-functions-map-filter-find-and-reduce/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>arrays</category>
      <category>map</category>
      <category>filter</category>
    </item>
    <item>
      <title>Easily deploy your Python Flask web apps online with Gitlab and Heroku</title>
      <dc:creator>Hugo Sandoval</dc:creator>
      <pubDate>Tue, 14 Sep 2021 04:04:22 +0000</pubDate>
      <link>https://dev.to/hhsm95/easily-deploy-your-python-flask-web-apps-online-with-gitlab-and-heroku-1pmp</link>
      <guid>https://dev.to/hhsm95/easily-deploy-your-python-flask-web-apps-online-with-gitlab-and-heroku-1pmp</guid>
      <description>&lt;h1&gt;
  
  
  About the tools
&lt;/h1&gt;

&lt;p&gt;We will start with a summary of the tools that we will use:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;VS Code: Popular code editor.&lt;/li&gt;
&lt;li&gt;Flask: Small web server that we can set up with little code.&lt;/li&gt;
&lt;li&gt;Gunicorn: A simple WSGI HTTP Server in which we can mount Flask.&lt;/li&gt;
&lt;li&gt;Postman: An easy platform to test our Rest APIs.&lt;/li&gt;
&lt;li&gt;Gitlab: Version control service in the cloud and DevOps integration.&lt;/li&gt;
&lt;li&gt;Heroku: Platform that allows us to upload projects and deploy them online.&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  What do we need?
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Create your web app with Flask.&lt;/li&gt;
&lt;li&gt;Prepare your project repository with Gitlab.&lt;/li&gt;
&lt;li&gt;Create an account in Heroku.&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Configuring our project: Flask and Gunicorn
&lt;/h1&gt;

&lt;p&gt;In this section we gonna prepare our Flask app, the Heroku deploy file and the Gitlab CI configuration.&lt;/p&gt;

&lt;p&gt;Now I have a developer blog, continue reading this post here: &lt;a href="https://hhsm95.dev/blog/easily-deploy-python-flask-app-with-gitlab-heroku/"&gt;https://hhsm95.dev/blog/easily-deploy-python-flask-app-with-gitlab-heroku/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;

</description>
      <category>gitlab</category>
      <category>heroku</category>
      <category>flask</category>
      <category>python</category>
    </item>
    <item>
      <title>Simple React DataTable</title>
      <dc:creator>Hugo Sandoval</dc:creator>
      <pubDate>Thu, 16 Jul 2020 15:36:05 +0000</pubDate>
      <link>https://dev.to/hhsm95/simple-react-datatable-495c</link>
      <guid>https://dev.to/hhsm95/simple-react-datatable-495c</guid>
      <description>&lt;p&gt;Hi everyone, this time I want to show you a simple component that I made in React JS to visualize and manage your data in a table.&lt;/p&gt;

&lt;p&gt;It's inspired in the popular JQuery library &lt;a href="https://datatables.net/"&gt;DataTables&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Features
&lt;/h2&gt;

&lt;p&gt;The next are the features that I added so far.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Set title of columns.&lt;/li&gt;
&lt;li&gt;Set rows per page.&lt;/li&gt;
&lt;li&gt;Filter the data.&lt;/li&gt;
&lt;li&gt;Pagination control.&lt;/li&gt;
&lt;li&gt;On row click callback.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now I have a developer blog, continue reading this post here: &lt;a href="https://hhsm95.dev/blog/simple-react-datatable/"&gt;https://hhsm95.dev/blog/simple-react-datatable/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;

</description>
      <category>react</category>
      <category>datatable</category>
      <category>javascript</category>
      <category>ui</category>
    </item>
    <item>
      <title>Python Facebook Posts Scraper with Requests and BeautifulSoup4</title>
      <dc:creator>Hugo Sandoval</dc:creator>
      <pubDate>Wed, 13 May 2020 03:51:47 +0000</pubDate>
      <link>https://dev.to/hhsm95/python-facebook-posts-scraper-with-requests-and-beautifulsoup4-273a</link>
      <guid>https://dev.to/hhsm95/python-facebook-posts-scraper-with-requests-and-beautifulsoup4-273a</guid>
      <description>&lt;p&gt;A few weeks ago I wrote about the &lt;a href="https://dev.to/hhsm95/using-user-agent-to-scraping-data-lli"&gt;Importance of using User Agents when we scrap data&lt;/a&gt;, and my examples shows the response from Twitter when we used the correct User Agent. This time I want to do the same but Facebook. We gonna scrape the posts in users profiles, Facebook pages and groups.&lt;/p&gt;

&lt;h3&gt;
  
  
  What we gonna get?
&lt;/h3&gt;

&lt;p&gt;A list of items with the next values:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;params&lt;/th&gt;
&lt;th&gt;description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;published&lt;/td&gt;
&lt;td&gt;Formatted datetime of published&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;description&lt;/td&gt;
&lt;td&gt;Post text content&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;images&lt;/td&gt;
&lt;td&gt;List of images in posts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;post_url&lt;/td&gt;
&lt;td&gt;The unique post url&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;external_links&lt;/td&gt;
&lt;td&gt;External links found in description&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;like_url&lt;/td&gt;
&lt;td&gt;The Like url&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Now I have a developer blog, continue reading this post here: &lt;a href="https://hhsm95.dev/blog/python-facebook-posts-scraper-with-requests-and-beautifulsoup4/"&gt;https://hhsm95.dev/blog/python-facebook-posts-scraper-with-requests-and-beautifulsoup4/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;

</description>
      <category>facebook</category>
      <category>webscraping</category>
      <category>api</category>
      <category>python</category>
    </item>
    <item>
      <title>The importance of use User Agent to Scraping Data</title>
      <dc:creator>Hugo Sandoval</dc:creator>
      <pubDate>Thu, 30 Apr 2020 02:16:16 +0000</pubDate>
      <link>https://dev.to/hhsm95/using-user-agent-to-scraping-data-lli</link>
      <guid>https://dev.to/hhsm95/using-user-agent-to-scraping-data-lli</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PP4P_FNi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/5v50bq0fqtvzwycioofa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PP4P_FNi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/5v50bq0fqtvzwycioofa.png" alt="User Agent" title="Capture from Firefox extension User-Agent Switcher"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Using User Agent isn't a common practice by many scrapers and crawlers developers. But it is important to know that using the correct User Agent can help and make easy the scraping tasks of many websites.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a User Agent?
&lt;/h2&gt;

&lt;p&gt;The User Agent is a text string that the client sends through the headers of a request, and serves as an identifier for the type of device, operating system and browser that we are using. This information tells the server that, for example, we are using Google Chrome 80 browser and a computer with Windows 10. And therefore, the server prepares a response intended for that type of device.&lt;/p&gt;

&lt;p&gt;Now I have a developer blog, continue reading this post here: &lt;a href="https://hhsm95.dev/blog/the-importance-of-using-user-agent-to-scraping-data/"&gt;https://hhsm95.dev/blog/the-importance-of-using-user-agent-to-scraping-data/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;

</description>
      <category>webscraping</category>
      <category>python</category>
      <category>requests</category>
      <category>useragent</category>
    </item>
  </channel>
</rss>
