Search

Nalezeno "Blog": 1842

In Defense of the Ternary Statement


Some months ago I was on Hacker News (as one does) and I ran across a (now deleted) article about not using if statements. If you’re new to this idea (like I was), you’re in a for a real treat. Just search for "if statements" on Hacker News. You'll get articles proposing that you might not need...

How to Reverse a Video


One of my favorite media utilities is ffmpeg. This command line utility allows us to do some pretty amazing stuff like; Slice videos Convert video formats Modify video speed Combine audio and video Every once in a while I see a meme or funny video that reverses a video for effect. Since ffmpeg does...

Native Lazy Loading


IntersectionObserver has made lazy loading a lot easier and more efficient than it used to be, but to do it really right you still gotta remove the src and such, which is cumbersome. It's definitely not as easy as: <img src="celebration.jpg" loading="lazy" alt="..." /> Addy Osmani says...

AI-Based Video Preview from Cloudinary (Sponsored)


The early days of video on the web weren’t great. We started with custom browser plugins and codecs, then moved to Flash, and eventually we found our way HTML <video>. Once we solved the technology problem, we started using more video for content and advertising. The next problem...

2019: Year of the DEX


Is the winter of cryptocurrency prices the golden age of blockchain technology? Welcome 2019, the year of Decentralized Exchanges (DEX) From the CMC editorial team: We’ve heard lots of hype around DEXes billing 2019 as the year that they might […] The post 2019: Year of the DEX appeared...

Awesome Automation and Integration with Buddy


One of my favorite services for years has been IFTTT (If this then that). Having a service that allows me to trigger a host of functionalities with one simple action is amazing! Posting a picture to Instagram can trigger IFTTT to send a tweet, post to Facebook, email to friends, etc. I’ve...

You probably don’t need input type=“number”


Brad Frost wrote about a recent experience with a website that used <input type="number">: Last week I got a call from my bank regarding a wire transfer I had just scheduled. The customer support guy had me repeat everything back to him because there seemed to be a problem with...

Set Branch Alias with Git


Version control systems can be difficult to use, especially when you don’t use a UI app. Just think about main branch or revision names: svn uses “trunk”, git uses “master”, and mercurial (hg) uses “tip”. I need to switch between mercurial and...

DeFi: Seamless Payments with Totle


Decentralized finance (DeFi): The industry of financial services built on the blockchain for the purpose of removing consumers’ dependency on the banking system, enhancing financial security, and expanding consumers’ financial capabilities. DeFi services offer users complete control over their...

Free Programming Courses from Harvard, MIT, Microsoft and more (Sponsored)


Did you know that you can learn programming online from institutions like Harvard, MIT and Microsoft on edX.org? The nonprofit site offers 2000 online courses from 140 institutions worldwide. Courses are free to try. EdX has over 200 courses from Microsoft alone, including an 11 course program...

Build a Decentralized Web Chat in 15 Minutes


In this 15 minute tutorial we’re going to build a simple decentralized chat application which runs entirely in a web browser. All you will need is a text editor, a web browser, and a basic knowledge of how to save HTML files and open them in the browser. We’re going...

The Biggest Barrier to Building in DeFi


DeFi services have the potential to make managing finances easier than ever before: We’ve entered the era of programmable financial instruments. DeFi promises us complete control over our funds, stronger security infrastructure, seamless payment functionality, and investment options previously only...

Příběh frameworku Ujorm


Někdy v roce 2008 jsem měl příležitost zúčastnit se vývoje zajímavého rezervačního systému v jazyce Java pro klienta působícího v dopravě. Prezentační část se stavěla na technologii RichFaces, což byl komponentový framework postavený nad JavaServer Faces (JSF) firmy Sun Microsystems, obchodní...

Set Commit Author with git or hg


Knowing who authored a code patch is a sacred and important practice in the world of software engineering. Knowing the author gives the reviewer an idea of trust level, know who to ask questions about the patch, and gives credit to the genius of an important fix. There have been times when...

How blockchain will disrupt the communication industry


From the CMC editorial desk: One of the things we’ve always wanted to explore is what mass adoption of blockchain technology looks like. Here we have some examples of how it will change the face of the communication industry in […] The post How blockchain will disrupt the communication...

Adding Search to Your Site with JavaScript


Static website generators like Gatsby and Jekyll are popular because they allow the creation of complex, templated pages that can be hosted anywhere. But the awesome simplicity of website generators is also limiting. Search is particularly hard. How do you allow users to search when you have...

Chrome Lite Pages


The Chrome team announced a new feature called Lite Pages that can be activated by flipping on the Data Saver option on an Android device: Chrome on Android’s Data Saver feature helps by automatically optimizing web pages to make them load faster. When users are facing network or data constraints...

I Don’t Hate Arrow Functions


TL;DR Arrow functions are fine for certain usages, but they have so many variations that they need to be carefully controlled to not break down the readability of the code. While arrow functions clearly have a ubiquitous community consensus (though not unanimous support!), it turns...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace