Time To End The vi/Emacs Debate
- Programmers continue to argue over the best text editor: vi or Emacs.
- I still remember my classmates arbitrarily picking vi or Emacs.
- I tried emacs back then and did not like it.
- Vim, the improved version of vi, scored 25.8% in popularity, while Emacs scored a paltry 4.1%.
- To further gauge popularity, I counted 22,582 questions tagged with vim and 15,667 questions tagged with Emacs on Stack Overflow.
- To delete a character, type ‘x’.
- To insert a character, type ‘i’.
- The GNU Emacs reference card is twice as long.
- Invoking the emacs editor requires three additional letters; those extra keystrokes add up over time.
- If you still use Emacs, I feel for you.
- You can try to convince me to use Emacs, but you will have an easier time convincing me to go back to Visual Basic.
How I Became A Web Developer in 4 Months
- Just like the title says, I was able to land my first web developer position in only 4 months of studying.
- This class was just going over the basics of web development, we never built anything “amazing” just some plain simple websites with a little of styling.
- I didn’t see myself retiring as a warehouse worker anyway, so I let my managers know that I wouldn’t be relocating with them.
- It was actually awkward because when I left my job, I just randomly seen an ad for Front-End Web Development, so I signed up for the free 7-day trial.
- After completing my 7-day trial, I was hooked on web development again.
- So from November 2016 to February 2017, I was able to complete Team Treehouse Front-End Developer Stack.
- Once I completed it, I felt confident enough to start working on some projects and my portfolio.
Improving The Use Of Constants
- That way is to not just get the constant value as an export from a file, but also do checks against it with a method, typically provided from the same file.
- We can add another layer of abstraction by adding methods that do the checks for us, and in the process make our code cleaner and easier to work with and look at while adding very little overhead.
- You should define constants, explicitly (preferably as properties of an “enum” object, like what TypeScript provides), but also write methods that do the actual check for you.
- With this approach, we can change the name of the property we are checking, the constant’s name, or the value of the constant separately without changing anything else.
The Shoemaker's Children: A Developer Allegory
- It was a simple plan: give my personal website a makeover and write a blog post about the process.
- His post showed off an elegant developer landing page that he open-sourced, along with instructions on hosting it on GitHub pages.
- I was initially reluctant to use his project, because I felt like I should build my own page, but ultimately I realized that it did exactly what I needed and would help me craft a much more interesting post than “here’s how I built my website”.
- I just needed my code changes to be reflected on my website, which, as I learned from @flexdinesh 's post, is precisely what GitHub pages does.
- I already have dev.to for blog posts, GitHub to showcase my projects, and LinkedIn and a resume to list qualifications and career experience.
Put your chatbot where your headless CMS is
- We’re going to make a pretty simple setup by creating a type for Intents and adding a content field for Fullfillments in our intranet-post-type.
- The intent schema consists of a title that makes it easy to find in Sanity, a intentName that we’ll use to map it to that in Dialogflow and a reference field to the posts that contain the fullfillments to this intent.
- Now that we’ve set up Sanity with a intent and a fullfillment, we’re ready to connect it to Dialogflow.
- If you managed to piece all this together, you should now have a working chatbot in Slack that parses natural langauge for intents with machine learning in Dialogflow, finds the fullfillment texts from your headless CMS via a serverless function that talks to APIs. Now you only need to add Blockchain somewhere in this mix to tick off all the buzzword boxes.
Repl.It 1.0: IDE that Grows from Playgrounds to Fullstack Apps
- If you want to use files, write to files, split your code into modules, etc., you just do that and behinds the scenes the environment will switch to one where you're interacting with the filesystem.
- You use it to listen on a port, any port you'd like; we'll detect that, host your server/repl on your Repl.it subdomain (forever!) and that's it you're developing/deploying an application.
- We also know that not all applications will grow incrementally so in typical Repl.it one-click-start fashion we've pre-setup a Django, Rails, Express, and Sinatra apps.
- Repl.it serverless apps are unique in that they're stateful and that the same repl, same protocol, same everything, that you use in development is deployed and running in production.
- After getting user-interest @pyelias is starting to explore building a full stack application using Django.