Tag Archives: Programming

Find Code Faster Than Ever

I have something really cool to share with you guys before you head off for the weekend!🕺🎉

An amazing new tool called Snipt.dev launched yesterday. It makes searching for code to re-use easier than ever.

Snipt.dev is a project by Codiga, an awesome “Grammarly for code” tool in which I’m an investor.

I briefly introduced you to Snipt.dev yesterday, but today I’m turning the blog over to creator Julien Delenge to explain what makes this tool so special:

Snipt: Search Engine for Code Snippets

We are excited to announce the release of snipt.dev, a search engine to help engineers find safe and reliable code patterns. Code Snippets are very popular for developers but the ecosystem of tools is very fragmented and not unified. Developers are often looking for snippets to use and spend hours searching on Google, StackOverflow or Sourcegraph.

To help developers find the right code snippet, we built snipt.dev: a one-stop shop for searching for code you can reuse.

But first, what is a Code Snippet?

Code Snippet is a block of code you can share and reuse. By reusing safe and proven code, you not only improve your productivity but you also make sure you always import the correct code and are not missing anything (e.g. missing argument, not checking error code or exceptions).

By using rock-solid, proven code, you avoid many common pitfalls and mistakes developers already did. You find the correct block of code to reuse to focus on what matters: shipping code and improving a product.

Why use Code Snippets?

Writing code is quite complex and requires having a really good knowledge of the language and libraries you are using. Even with languages with lots of abstractions, it is often hard to follow the code path and understand how code actually works! Sharing and using vetted code patterns directly in your IDE maximizes your productivity but also make sure you are using the correct code block for your job!

So now, what is snipt.dev?

snipt.dev is a new platform for searching code snippets. It includes a semantic analysis feature that detects what framework, library, or language you are looking for and optimizes the search results based on your criteria. For example, if you look for “react typescript”, the engine will only show snippets related to TypeScript while “react javascript” will show you only snippets related to JavaScript (and obviously, react).

snipt.dev is built to be blazing fast: a request takes just a few milliseconds to come back to you. As with most search engines, results are suggested as you type, showing you the most relevant snippets for your query.

Adding your own snippets

The engine indexes and searches snippets from the Codiga platform. To add your own snippet to snipt.dev, simply add snippets on the Codiga platform: they will be automatically indexed and visible on snipt.dev. Adding snippets is very easy and can be done directly from your IDE using Codiga plugin (see VS CodeJetBrains, or Chrome plugins). You can find more information in the Contribute section of snipt.dev

Open-Source

snipt.dev has been designed using popular open-source libraries (NextJs, GraphQL) and it was natural for us to share this project with the community. You can find this project on GitHub. If you have any comments or issues to report, please open an issue on the GitHub project.

Pretty cool, eh? Have a great weekend everyone! 👋

If you found this post interesting, please share it on Twitter/Reddit/etc. This helps more people find the blog! 

Save Money on Stuff I Use:

Fundrise

This platform lets me diversify my real estate investments so I’m not too exposed to any one market. I’ve invested since 2018 and returns have been great so far.

More on Fundrise in this post.

If you decide to invest in Fundrise, you can use this link to get your management fees waived for 90 days

Misfits Market

My wife and I have gotten organic produce shipped to our house by Misfits for over a year. It’s never once disappointed me.

Every fruit and vegetable is super fresh and packed with flavor.

I thought radishes were cold, tasteless little lumps at salad bars until I tried theirs! They’re peppery, colorful and crunchy!

I wrote a detailed review of Misfits here.

Use this link to sign up and you’ll save $10 on your first order. 

Codiga: Grammarly for Code

Never miss a post…subscribe!

If you’re writing an e-mail, you can use Grammarly to find errors and make suggestions as you type. It’s so useful that over 30 million people a day use it to improve their writing.

So why is there no Grammarly for code?

Well, now there is, thanks to Codiga! Codiga can flag coding errors in real time, avoiding bugs.

But Codiga goes way beyond fixing mistakes. You can even import pre-written code with a couple of keystrokes!

Codiga saves developers a ton of time and prevents costly software bugs. 

And unlike competitors like Codacy, Codiga flags these errors in real time. Codacy and others look backward at code reviews days later and finally identify the problem.

Wouldn’t you rather know right now?

Codiga is growing at an incredible rate and I’m super excited to be an investor in their seed round!

Try Codiga now for free and take your coding game to the next level!

Never miss a post…subscribe!

More on tech:

Tech Plunge Hits Early Stage Startups

Why I Just Invested in Deft, the Best Way to Shop Online

Inside Mark Cuban’s Plan to “F— Up the Drug Industry”

Photo: “Computer coding on a screen” by Markus Spiske is licensed under CC BY 2.0

If you liked this post, please share it on Twitter/Facebook/etc. using the buttons at the bottom of the page. This helps more people find the blog! 

Save Money on Stuff I Use:

Amazon Business American Express Card

You already shop on Amazon. Why not save $100?

If you’re approved for this card, you get a $100 Amazon gift card. You also get up to 5% back on Amazon and Whole Foods purchases, 2% on restaurants/gas stations/cell phone bills, and 1% everywhere else.

Best of all: No fee!

Fundrise

This platform lets me diversify my real estate investments so I’m not too exposed to any one market. I’ve invested since 2018 and returns have been great so far.

More on Fundrise in this post.

If you decide to invest in Fundrise, you can use this link to get your management fees waived for 90 days

Misfits Market

My wife and I have gotten organic produce shipped to our house by Misfits for over a year. It’s never once disappointed me.

Every fruit and vegetable is super fresh and packed with flavor.

I thought radishes were cold, tasteless little lumps at salad bars until I tried theirs! They’re peppery, colorful and crunchy!

I wrote a detailed review of Misfits here.

Use this link to sign up and you’ll save $10 on your first order. 

This Is How Startups Pitch Investors

You walk into the room, palms sweating. You go over your script in your head. You pray to God your computer doesn’t crash. Eyeing you skeptically are a bunch of grey haired money guys. Don’t screw this up.

At the very least, that may be how the public imagines the meetings where startups pitch investors. The reality isn’t quite so dramatic, especially now that virtually all meetings are conducted via Zoom. I just got off such a meeting myself with a Software as a Service (Saas) company that was looking to raise about half a million in funding. While I can’t discuss the specifics of the company, here’s an overview of what these meetings are like:

1) Intro: The founders describe what the company does, what the market is like, and how the company has grown so far.

2) Deck: The founders go through a slide deck (PowerPoint presentation) that provides further details on what their product does, what makes it different from its competitors products and the size and growth of the market.

3) Demo: This is when the founders actually show you the product in action. I found this part the most interesting. I remember doing software demos myself when I worked in the field, and invariably, something seems to go wrong that worked in rehearsal 1,000 times. But investors understand that, especially if you can get it working in a few minutes.

4) Q&A: The other investors on the call asked a lot about the competition. How is this company different from others in its area? What stops larger companies from shoving their way into the market, elbowing you aside?

I was immediately struck by what a small room one of the founders was in during the call. His chair appeared to nearly touch the door behind him. This brought a smile to my face: they’re not using investor money to pay themselves exorbitant salaries before the company is a clear success.

The other co-founder mentioned getting a refund of $30 from a vendor that accidentally overcharged them. I don’t think he was trying to make any particular point with this story…it was an incidental detail to a larger narrative. But it made a strong impression on me: these are frugal founders that will be good stewards of the capital they’re raising.

I can’t say for sure, but I think this company has strong odds of being funded by our investor group. The round is led by other investors and they’ll already be getting a substantial sum from them, in any event.

The competence and frugality of the founders, coupled with year-on-year growth in the hundreds of percent, is likely to convince a large number of investors.

For more on startups, check out these posts:

If you found this post interesting, please share it on Twitter/LinkedIn/email using the buttons below. This helps more people find the blog! And please leave a comment at the bottom of the page letting me know what you think and what other information you’re interested in!

Check out the Stuff I Use page for some great deals on products and services I use to improve my health and productivity. They just might help you too! 

Photo: “Rich Uncle Pennybags” by Sean Davis is licensed under CC BY-NC-ND 2.0