<?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: shaileshs</title>
    <description>The latest articles on DEV Community by shaileshs (@shaileshs).</description>
    <link>https://dev.to/shaileshs</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%2F329810%2F927b0acc-3bed-4216-a212-c7bd2a762e29.jpg</url>
      <title>DEV Community: shaileshs</title>
      <link>https://dev.to/shaileshs</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shaileshs"/>
    <language>en</language>
    <item>
      <title>using Timezone package in flutter</title>
      <dc:creator>shaileshs</dc:creator>
      <pubDate>Mon, 07 Sep 2020 04:21:37 +0000</pubDate>
      <link>https://dev.to/shaileshs/using-timezone-package-in-flutter-2cln</link>
      <guid>https://dev.to/shaileshs/using-timezone-package-in-flutter-2cln</guid>
      <description>&lt;p&gt;&lt;a href="https://pub.dev/packages/timezone"&gt;Timezone&lt;/a&gt; package makes life a bit easier to deal with those pain in the neck issues related to timezone. However, I had a bunch of issues using that package, so documenting them here for someone else to save some time. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Take a look at &lt;a href="https://medium.com/flutter-community/working-with-timezones-in-flutter-1c304089dcf9"&gt;Udit's&lt;/a&gt; post. That helped me a lot.&lt;/li&gt;
&lt;li&gt;Take a look at resources at [IANA].(&lt;a href="https://www.iana.org/time-zones"&gt;https://www.iana.org/time-zones&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Download the timezone database.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/srawlins/timezone.git
&lt;span class="nb"&gt;cd &lt;/span&gt;timezone
flutter pub get
flutter pub run tool/get &lt;span class="nt"&gt;-s&lt;/span&gt; 2020a
&lt;span class="nb"&gt;cd &lt;/span&gt;lib/data
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Add it to your codebase.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cp &lt;/span&gt;lib/data/2020a&lt;span class="k"&gt;*&lt;/span&gt; &amp;lt;project_dir&amp;gt;/assets/timezone/
&lt;span class="nb"&gt;cd&lt;/span&gt; &amp;lt;project_dir&amp;gt;
git add-&amp;gt;commit-&amp;gt;push
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Also, add it to your pubspec file under assets with the path you used above. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use it in your code.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  Future&amp;lt;void&amp;gt; initTimezones() async {
    // get device timezone
    String dtz = await FlutterNativeTimezone.getLocalTimezone();

    // Load timezone data
    var byteData = await rootBundle.load('assets/timezone/2020a.tzf');
    tz.initializeDatabase(byteData.buffer.asUint8List());
    tz.initializeTimeZones();
    // set the local location.
    tz.setLocalLocation(tz.getLocation(dtz));

    // Iterate and use through the list of timezones.
    _locations = tz.timeZoneDatabase.locations;
    _locations.values.forEach((element) {
        print(element.name);
        print(element.currentTimeZone.abbr);
        print(element.currentTimeZone.offset);
        print(element.currentTimeZone.isDst);
        print(element.zones.length);
      });
  }
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;For timezone conversion, readme on the package provides great examples, so I will skip repetition.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Hope this helps someone.&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>timezones</category>
      <category>dart</category>
      <category>iana</category>
    </item>
    <item>
      <title>The bear and the bike</title>
      <dc:creator>shaileshs</dc:creator>
      <pubDate>Sat, 29 Feb 2020 22:24:17 +0000</pubDate>
      <link>https://dev.to/shaileshs/the-bear-and-the-bike-3m1f</link>
      <guid>https://dev.to/shaileshs/the-bear-and-the-bike-3m1f</guid>
      <description>&lt;p&gt;If I make a list of things which influenced me the most during the year 2019,  &lt;a href="https://twitter.com/naval"&gt;Naval Ravikant’s&lt;/a&gt; podcast with &lt;a href="https://twitter.com/joerogan"&gt;Joe Rogan&lt;/a&gt; will top that list! It made a lasting impression and changed my viewpoint on life and career.  &lt;/p&gt;

&lt;p&gt;During this &lt;a href="https://www.youtube.com/watch?v=3qHkcs3kG44"&gt;podcast&lt;/a&gt;, Naval uses an interesting metaphor on why people find him interesting. If you see a bear in the circus, that’s common. If you see a performer on a bike, that’s common. But if you see a bear on the bike, that is certainly uncommon and interesting. Naval brings an interesting mix of entrepreneurship and philosophy, hence the ‘Bear on a Bike’ metaphor.&lt;/p&gt;

&lt;p&gt;This got me thinking about some discussions I had with members of my organization around specialization vs. generalization. As an engineer, the progression of career is usually associated with the increased knowledge, increased scope, and increased impact; either as an individual contributor (scale up) or as a people manager (scale out). On the path to this progression, you can learn many skills which will be required or useful where you are going. If you have a luxury, you could try to be intentional on what projects you are executing to learn these skills.&lt;/p&gt;

&lt;h2&gt;
  
  
  The bear
&lt;/h2&gt;

&lt;p&gt;Well, you may have already guessed it, but as a software engineer, you are the bear! Your engineering and problem solving skills are your ‘bear-ness’. However, you are not the only bear in this circus! This circus could be anything; a job, a promotion, good projects, startups and whatnot. How do you become an interesting bear with some edge on the other bears?&lt;/p&gt;

&lt;h2&gt;
  
  
  The bike
&lt;/h2&gt;

&lt;p&gt;So the trick is to teach the bear how to ride a bike, or a unicycle, as Naval says. What is the bike/skateboard/unicycle of our industry? You can look at it from a couple of different angles. Let’s start with the specialized functional areas.&lt;/p&gt;

&lt;p&gt;Front end&lt;br&gt;
Windows app dev&lt;br&gt;
Cloud Services &lt;br&gt;
Game dev &lt;br&gt;
Mobile dev&lt;br&gt;
Data Engineering&lt;br&gt;
BI Engineering&lt;br&gt;
Network Engineering&lt;br&gt;
Site reliability &lt;br&gt;
Security &lt;br&gt;
Privacy&lt;br&gt;
Accessibility&lt;br&gt;
Deployment technologies&lt;br&gt;
Scalability&lt;br&gt;
Performance and optimization&lt;br&gt;
Localization &amp;amp; Internationalization &lt;br&gt;
Full stack&lt;/p&gt;

&lt;p&gt;I am definitely missing others, so please feel free to add them in the comments.&lt;/p&gt;

&lt;p&gt;As you grow in your career, change teams, or change companies, you may have an opportunity to be selective on what you want to do. Try out different things, figure out what you are enjoying and what works well with your strength; specialize on one or more of these. Learn to ride the bike.&lt;/p&gt;

&lt;p&gt;In addition to diving deeper into specific functional areas of software development, one can also learn the ropes of the industry they are part of. Although, I should say that it takes longer to achieve differentiated specialization in any verticals.&lt;/p&gt;

&lt;p&gt;Financial services&lt;br&gt;
Legal &amp;amp; Contract Management&lt;br&gt;
Insurance&lt;br&gt;
Healthcare&lt;br&gt;
E-commerce&lt;br&gt;
Hardware &amp;amp; embedded&lt;br&gt;
Gaming &lt;br&gt;
Media&lt;br&gt;
Education&lt;br&gt;
Many more…&lt;/p&gt;

&lt;p&gt;Today, if you look at the startups in any specific vertical, chances are high that it is founded or supported by experienced people from that industry who have spent years to understand the customers and/or nuances of that domain.&lt;/p&gt;

&lt;p&gt;The foundation of technology is critical, but one has to build on top of that foundation. What you build and how you build it is up to you, whether it is functional expertise, industry expertise, or both. &lt;/p&gt;

&lt;p&gt;Also posted on &lt;a href="https://www.linkedin.com/pulse/bear-bike-shailesh-shah/"&gt;LinkedIn&lt;/a&gt;&lt;/p&gt;

</description>
      <category>career</category>
    </item>
  </channel>
</rss>
