Are you over 18 and want to see adult content?
More Annotations
A complete backup of https://balkanje.com/turske-serije/naslednica-2019/
Are you over 18 and want to see adult content?
A complete backup of https://balkanje.com/latino-serije/ljubav-latino/
Are you over 18 and want to see adult content?
A complete backup of https://balkanje.com/turske-serije/niko-ne-zna-2019/
Are you over 18 and want to see adult content?
A complete backup of https://balkanje.com/turske-serije/20-minuta/
Are you over 18 and want to see adult content?
A complete backup of https://balkanje.com/turske-serije/dete-2019/
Are you over 18 and want to see adult content?
Favourite Annotations
A complete backup of pequotmuseum.org
Are you over 18 and want to see adult content?
A complete backup of tapairportugal.com
Are you over 18 and want to see adult content?
A complete backup of rocketsoftware.com
Are you over 18 and want to see adult content?
A complete backup of bestbikesplit.com
Are you over 18 and want to see adult content?
A complete backup of aventurasinfinitas.com
Are you over 18 and want to see adult content?
Text
approach.
MODERN TYPESCRIPT AND REACT DEVELOPMENT IN VIM Modern TypeScript and React Development in Vim. Wil Hall. March 23, 2020. vim. typescript. react. javascript. When I started working in TypeScript and React, I found it challenging to continue using vim. I switched to Visual Studio Code because it was better suited for thetask at hand.
CONCISE MEDIA QUERIES WITH CSS GRID Concise Media Queries with CSS Grid. Media queries are commonly used to control responsive layouts on websites. Organizing layouts this way is intuitive: On a wide desktop display, we want to present information in columns, and as screen width diminishes below a threshold, we stack elements vertically. With modern CSS, solutions tothis problem
KAFKA BASICS: TABLES VS STREAMS Resources. While they are slightly different, tables are also sometimes called a changelog stream . In truth, everything is a stream and KTables are an abstraction over that stream. Similarlly, streams are sometimes called a record stream and the same abstraction princible applies. You may see this termonology come up when lookinginto Kafka.
READING A POSTGRES EXPLAIN ANALYZE QUERY PLAN Postgres builds a tree structure of plan nodes representing the different actions taken, with the root and each -> pointing to one of them. In some cases EXPLAIN ANALYZE provides additional execution statistics beyond the execution times and row counts, such as Sort and Hash above. Any line other than the first without an -> is such information, so the structure of the query is: TYPESCRIPT: STOP USING 'ANY', THERE'S A TYPE FOR THAT The any type is a powerful way to work with existing JavaScript, allowing you to gradually opt-in and opt-out of type checking during compilation. Let that sink in. The TypeScript documentation express clearly that when we have the any type, we are telling the compiler: We are saying no thank you when over 500 contributors to the languageoffer
AUTO-SQUASHING GIT COMMITS If you’ve read thoughtbot’s Git protocol guide, you’ll know that once a branch has been code reviewed, we encourage the branch’s author to use an interactive rebase to squash the branch down into a few commits with great commit messages.. It’s fairly common for a feature branch to be squashed down to somewhere between one and three commits before it’s merged. STREAMING DOWNLOADS PROXY SERVICE WITH NODE.JS While the paginated REST API is written in Ruby, I decided to write the streaming-downloads proxy in Node.js for its nice Stream interface. I abstracted the pages-to-stream pipeline into a stream-like object that can be piped into other modules that implement Node’s streams. I use this along the ya-csv module to compose an API-> ApiStream
FINDING THE OLDEST/YOUNGEST RECORDS WITHIN A GROUP postgres. web. A common query that crops up in web apps is finding the oldest or the most recent record in a single table. This is straightforward in SQL. You can even write the relevant part of the query without knowing anything about the table (other than the fact that it has a timestamp column called created_at ): ORDER BYcreated_at LIMIT 1.
RUBY SCIENCE
CONTENTS iv UseConventionOverConfiguration 160 III Principles 167 DRY 168 DuplicatedKnowledgevs.DuplicatedText . . . . . . . . . . . . . ..168
CREATIVE STUDIOS BUILDING WEB AND MOBILE PRODUCTS Benefit from over 17 years of experience designing and building successful products. Whether you're a founder with a new idea, a product owner at a large enterprise, or somewhere in between, thoughtbot can help you solve meaningful problems with a design-ledapproach.
MODERN TYPESCRIPT AND REACT DEVELOPMENT IN VIM Modern TypeScript and React Development in Vim. Wil Hall. March 23, 2020. vim. typescript. react. javascript. When I started working in TypeScript and React, I found it challenging to continue using vim. I switched to Visual Studio Code because it was better suited for thetask at hand.
CONCISE MEDIA QUERIES WITH CSS GRID Concise Media Queries with CSS Grid. Media queries are commonly used to control responsive layouts on websites. Organizing layouts this way is intuitive: On a wide desktop display, we want to present information in columns, and as screen width diminishes below a threshold, we stack elements vertically. With modern CSS, solutions tothis problem
KAFKA BASICS: TABLES VS STREAMS Resources. While they are slightly different, tables are also sometimes called a changelog stream . In truth, everything is a stream and KTables are an abstraction over that stream. Similarlly, streams are sometimes called a record stream and the same abstraction princible applies. You may see this termonology come up when lookinginto Kafka.
READING A POSTGRES EXPLAIN ANALYZE QUERY PLAN Postgres builds a tree structure of plan nodes representing the different actions taken, with the root and each -> pointing to one of them. In some cases EXPLAIN ANALYZE provides additional execution statistics beyond the execution times and row counts, such as Sort and Hash above. Any line other than the first without an -> is such information, so the structure of the query is: TYPESCRIPT: STOP USING 'ANY', THERE'S A TYPE FOR THAT The any type is a powerful way to work with existing JavaScript, allowing you to gradually opt-in and opt-out of type checking during compilation. Let that sink in. The TypeScript documentation express clearly that when we have the any type, we are telling the compiler: We are saying no thank you when over 500 contributors to the languageoffer
AUTO-SQUASHING GIT COMMITS If you’ve read thoughtbot’s Git protocol guide, you’ll know that once a branch has been code reviewed, we encourage the branch’s author to use an interactive rebase to squash the branch down into a few commits with great commit messages.. It’s fairly common for a feature branch to be squashed down to somewhere between one and three commits before it’s merged. STREAMING DOWNLOADS PROXY SERVICE WITH NODE.JS While the paginated REST API is written in Ruby, I decided to write the streaming-downloads proxy in Node.js for its nice Stream interface. I abstracted the pages-to-stream pipeline into a stream-like object that can be piped into other modules that implement Node’s streams. I use this along the ya-csv module to compose an API-> ApiStream
FINDING THE OLDEST/YOUNGEST RECORDS WITHIN A GROUP postgres. web. A common query that crops up in web apps is finding the oldest or the most recent record in a single table. This is straightforward in SQL. You can even write the relevant part of the query without knowing anything about the table (other than the fact that it has a timestamp column called created_at ): ORDER BYcreated_at LIMIT 1.
RUBY SCIENCE
CONTENTS iv UseConventionOverConfiguration 160 III Principles 167 DRY 168 DuplicatedKnowledgevs.DuplicatedText . . . . . . . . . . . . . ..168
CREATIVE STUDIOS BUILDING WEB AND MOBILE PRODUCTS Benefit from over 17 years of experience designing and building successful products. Whether you're a founder with a new idea, a product owner at a large enterprise, or somewhere in between, thoughtbot can help you solve meaningful problems with a design-ledapproach.
AUTO-SQUASHING GIT COMMITS If you’ve read thoughtbot’s Git protocol guide, you’ll know that once a branch has been code reviewed, we encourage the branch’s author to use an interactive rebase to squash the branch down into a few commits with great commit messages.. It’s fairly common for a feature branch to be squashed down to somewhere between one and three commits before it’s merged. BACK TO BASICS: HTTP REQUESTS IN RAILS APPS Address Bar Typing a URL into the address bar of a web browser sends a GET request to the URL specified. Sending a GET request in this fashion looks identical to sending a GET request through the terminal with cURL. If we set the root path of our demo app to the index action of our dummy controller and navigate to localhost:3000 the browser will send the GET request. THE CASE FOR DISCRIMINATED UNION TYPES WITH TYPESCRIPT A solution is using a combination of string literal types, union types , type guards, and type aliases. To discriminate one type from the other in a union, we add a __typename property for that goal. Since it’s purpose is to differentiate, the value should be a constant. Here we use a hence the string literal type: type Official STARTING AND STOPPING BACKGROUND SERVICES WITH HOMEBREW I love Homebrew, but sometimes it really gets me down, you know?Especially when I have to deal with launchctl.. launchctl loads and unloads services that start at login. In OS X, these services are represented by files ending with .plist (which stands for “property list”). These plists are usually stored in either ~/Library/LaunchAgents or /Library/LaunchAgents. ANDROID CANVAS' DRAWARC METHOD: A VISUAL GUIDE On today’s episode we are going to focus on a particular method in Android’s Canvas class. Specifically the drawArc method. There are two Canvas.drawArc method implementations: The only difference between the two is that the first one takes a RectF whereas the second one takes all the values ( top, left, right, and bottom) necessary to A JSON EVENT-BASED CONVENTION FOR WEBSOCKETS A JSON event-based convention for WebSockets. This post was originally published on the New Bamboo blog, before New Bamboo joined thoughtbot in London. HTML5 WebSockets are cool. Given a compliant server – and browser – all you need to do is instantiate your socket object and start listening to server-pushed data. HOW TO MANAGE YOUR PYTHON PROJECTS WITH PIPENV Begin by using pip to install Pipenv and its dependencies, pip install pipenv. Then change directory to the folder containing your Python project and initiate Pipenv, cd my_project pipenv install. This will create two new files, Pipfile and Pipfile.lock, in your project directory, and a new virtual environment for your project if itdoesn’t
MEET WEEKLY TO DISCUSS SUCCESSES, FAILURES, AND FUTURE PLANS Meet weekly to discuss successes, failures, and future plans. Once a week, usually on Monday, everyone meets in-person or via video conference. This replaces Monday's daily standup and is an opportunity for the entire team to discuss achievements, hurdles, and concerns with the goal of everyone leaving excited and empowered for the weekof work
ANALYZING MINARD'S VISUALIZATION OF NAPOLEON'S 1812 MARCH Analyzing Minard's Visualization Of Napoleon's 1812 March. In The Visual Display of Quantitative Information, Edward Tufte calls Minard’s graphic of Napoleon in Russia one of the “best statistical drawings ever created.”. But what makes it so good? Before we analyze this graphic, we need to know a bit of history. CONCISE MEDIA QUERIES WITH CSS GRID Concise Media Queries with CSS Grid. Media queries are commonly used to control responsive layouts on websites. Organizing layouts this way is intuitive: On a wide desktop display, we want to present information in columns, and as screen width diminishes below a threshold, we stack elements vertically. With modern CSS, solutions tothis problem
UNDERSTANDING SQL GROUP BY Understanding SQL GROUP BY. Edward Loveall. February 17, 2021. sql. This is part 3 of a series on SQL basics. Read part 1 and part 2 for context on SELECT, WHERE, and JOIN and how to set up a test database to follow along with these examples. When I first had to use GROUP BY, it was anything but intuitive. It was only after I learned the mental KAFKA BASICS: TABLES VS STREAMS Resources. While they are slightly different, tables are also sometimes called a changelog stream . In truth, everything is a stream and KTables are an abstraction over that stream. Similarlly, streams are sometimes called a record stream and the same abstraction princible applies. You may see this termonology come up when lookinginto Kafka.
STREAMING DOWNLOADS PROXY SERVICE WITH NODE.JS While the paginated REST API is written in Ruby, I decided to write the streaming-downloads proxy in Node.js for its nice Stream interface. I abstracted the pages-to-stream pipeline into a stream-like object that can be piped into other modules that implement Node’s streams. I use this along the ya-csv module to compose an API-> ApiStream
READING A POSTGRES EXPLAIN ANALYZE QUERY PLAN Postgres builds a tree structure of plan nodes representing the different actions taken, with the root and each -> pointing to one of them. In some cases EXPLAIN ANALYZE provides additional execution statistics beyond the execution times and row counts, such as Sort and Hash above. Any line other than the first without an -> is such information, so the structure of the query is: TESTING FROM THE OUTSIDE-IN A few months ago my colleague Josh Steiner wrote a comprehensive post on How We Test Rails Applications, detailing the different types tests we write and the various technologies that go with them.In this follow up, we will take a closer look at thoughtbot’s testing workflow. We use a process known as “Outside-in testing”, driving our development from high-level tests and working our way SUSPENDERS - THOUGHTBOT Suspenders was created for use at thoughtbot as a baseline application setup, with reasonable default plugins that the majority (if not all) of our applications used, as well as best-practice configuration options. Thanks to various Boston.rb people and rails rumble people for attempting to use suspenders this past weekend and giving itit’s
SASS'S `@CONTENT` DIRECTIVE USE CASES Sass 3.3 adds the @at-root directive and improved & s. The former allows us to nest declarations in Sass, but compile them to the stylesheet’s root. The latter appends any following text directly to the parent’s selector. These can be used with @content to simplify writing BEM syntax. Thanks to Scott Kellum for the originalimplementation.
MOCKING REACT COMPONENTS WITH JEST You can then put this in your test, but it must be outside of any scope to work. It can’t be in a function, a before block, or anything else. This is a pain to abstract and use in other (all)tests.
HOW TO STOP VOODOO PROGRAMMING Conclusion. We can stop voodoo programming by writing failing tests, reading the backtrace, exploring the source code of our dependencies, using debugging statements, reading the manual, writing good commit messages, and contributing to open source. CONCISE MEDIA QUERIES WITH CSS GRID Concise Media Queries with CSS Grid. Media queries are commonly used to control responsive layouts on websites. Organizing layouts this way is intuitive: On a wide desktop display, we want to present information in columns, and as screen width diminishes below a threshold, we stack elements vertically. With modern CSS, solutions tothis problem
UNDERSTANDING SQL GROUP BY Understanding SQL GROUP BY. Edward Loveall. February 17, 2021. sql. This is part 3 of a series on SQL basics. Read part 1 and part 2 for context on SELECT, WHERE, and JOIN and how to set up a test database to follow along with these examples. When I first had to use GROUP BY, it was anything but intuitive. It was only after I learned the mental KAFKA BASICS: TABLES VS STREAMS Resources. While they are slightly different, tables are also sometimes called a changelog stream . In truth, everything is a stream and KTables are an abstraction over that stream. Similarlly, streams are sometimes called a record stream and the same abstraction princible applies. You may see this termonology come up when lookinginto Kafka.
STREAMING DOWNLOADS PROXY SERVICE WITH NODE.JS While the paginated REST API is written in Ruby, I decided to write the streaming-downloads proxy in Node.js for its nice Stream interface. I abstracted the pages-to-stream pipeline into a stream-like object that can be piped into other modules that implement Node’s streams. I use this along the ya-csv module to compose an API-> ApiStream
READING A POSTGRES EXPLAIN ANALYZE QUERY PLAN Postgres builds a tree structure of plan nodes representing the different actions taken, with the root and each -> pointing to one of them. In some cases EXPLAIN ANALYZE provides additional execution statistics beyond the execution times and row counts, such as Sort and Hash above. Any line other than the first without an -> is such information, so the structure of the query is: TESTING FROM THE OUTSIDE-IN A few months ago my colleague Josh Steiner wrote a comprehensive post on How We Test Rails Applications, detailing the different types tests we write and the various technologies that go with them.In this follow up, we will take a closer look at thoughtbot’s testing workflow. We use a process known as “Outside-in testing”, driving our development from high-level tests and working our way SUSPENDERS - THOUGHTBOT Suspenders was created for use at thoughtbot as a baseline application setup, with reasonable default plugins that the majority (if not all) of our applications used, as well as best-practice configuration options. Thanks to various Boston.rb people and rails rumble people for attempting to use suspenders this past weekend and giving itit’s
SASS'S `@CONTENT` DIRECTIVE USE CASES Sass 3.3 adds the @at-root directive and improved & s. The former allows us to nest declarations in Sass, but compile them to the stylesheet’s root. The latter appends any following text directly to the parent’s selector. These can be used with @content to simplify writing BEM syntax. Thanks to Scott Kellum for the originalimplementation.
MOCKING REACT COMPONENTS WITH JEST You can then put this in your test, but it must be outside of any scope to work. It can’t be in a function, a before block, or anything else. This is a pain to abstract and use in other (all)tests.
HOW TO STOP VOODOO PROGRAMMING Conclusion. We can stop voodoo programming by writing failing tests, reading the backtrace, exploring the source code of our dependencies, using debugging statements, reading the manual, writing good commit messages, and contributing to open source. UNDERSTANDING SQL GROUP BY Understanding SQL GROUP BY. Edward Loveall. February 17, 2021. sql. This is part 3 of a series on SQL basics. Read part 1 and part 2 for context on SELECT, WHERE, and JOIN and how to set up a test database to follow along with these examples. When I first had to use GROUP BY, it was anything but intuitive. It was only after I learned the mental TESTING FROM THE OUTSIDE-IN A few months ago my colleague Josh Steiner wrote a comprehensive post on How We Test Rails Applications, detailing the different types tests we write and the various technologies that go with them.In this follow up, we will take a closer look at thoughtbot’s testing workflow. We use a process known as “Outside-in testing”, driving our development from high-level tests and working our waySIGN IN TO UPCASE
About thoughtbot; Sponsor; Privacy Policy; Terms & Conditions; Contact us © 2012 - 2021 thoughtbot, inc. Upcase, the design of a robot, and thoughtbot are registered TYPESCRIPT: STOP USING 'ANY', THERE'S A TYPE FOR THAT The any type is a powerful way to work with existing JavaScript, allowing you to gradually opt-in and opt-out of type checking during compilation. Let that sink in. The TypeScript documentation express clearly that when we have the any type, we are telling the compiler: We are saying no thank you when over 500 contributors to the languageoffer
CONTRIBUTING TO OPEN SOURCE GO PROJECTS I want to walk you through my workflow for contributing to open source Go projects. If you’ve contributed to open source projects in other languages, it should feel familiar, but there are a few special thingsto look for.
MOCKING REACT COMPONENTS WITH JEST You can then put this in your test, but it must be outside of any scope to work. It can’t be in a function, a before block, or anything else. This is a pain to abstract and use in other (all)tests.
BREWFILE: A GEMFILE, BUT FOR HOMEBREW The brew bundle command is automatically installed the first time it is used. Simply create a Brewfile at the root of your project’s directory tree, and run brew bundle while in that directory.. Note that Homebrew will treat lines that start with # as comments. To install a package, use brew, and to tap a repository, use tap.So this: ANDROID CANVAS' DRAWARC METHOD: A VISUAL GUIDE On today’s episode we are going to focus on a particular method in Android’s Canvas class. Specifically the drawArc method. There are two Canvas.drawArc method implementations: The only difference between the two is that the first one takes a RectF whereas the second one takes all the values ( top, left, right, and bottom) necessary to STARTING AND STOPPING BACKGROUND SERVICES WITH HOMEBREW I love Homebrew, but sometimes it really gets me down, you know?Especially when I have to deal with launchctl.. launchctl loads and unloads services that start at login. In OS X, these services are represented by files ending with .plist (which stands for “property list”). These plists are usually stored in either ~/Library/LaunchAgents or /Library/LaunchAgents. SASS'S `@CONTENT` DIRECTIVE USE CASES Sass 3.3 adds the @at-root directive and improved & s. The former allows us to nest declarations in Sass, but compile them to the stylesheet’s root. The latter appends any following text directly to the parent’s selector. These can be used with @content to simplify writing BEM syntax. Thanks to Scott Kellum for the originalimplementation.
CSS TRANSITIONS AND TRANSFORMS FOR BEGINNERSSEARCHALLTOPICSIOSANDROIDWEB
transition-timing (optional). The transition-timing-function property allows you to define the speed of the transition over the duration. The default timing is ease, which starts out slow, quickly speeds up, and then slows down at the end.The other timing options are: linear, ease, ease-in, ease-out, and ease-in-out. Here’s an example of the different timing options (used with the transform CONCISE MEDIA QUERIES WITH CSS GRID Concise Media Queries with CSS Grid. Media queries are commonly used to control responsive layouts on websites. Organizing layouts this way is intuitive: On a wide desktop display, we want to present information in columns, and as screen width diminishes below a threshold, we stack elements vertically. With modern CSS, solutions tothis problem
READING A POSTGRES EXPLAIN ANALYZE QUERY PLAN Postgres builds a tree structure of plan nodes representing the different actions taken, with the root and each -> pointing to one of them. In some cases EXPLAIN ANALYZE provides additional execution statistics beyond the execution times and row counts, such as Sort and Hash above. Any line other than the first without an -> is such information, so the structure of the query is: AUTO-SQUASHING GIT COMMITS If you’ve read thoughtbot’s Git protocol guide, you’ll know that once a branch has been code reviewed, we encourage the branch’s author to use an interactive rebase to squash the branch down into a few commits with great commit messages.. It’s fairly common for a feature branch to be squashed down to somewhere between one and three commits before it’s merged. HOW TO GIT WITH UNITY Configure Unity for version control. Use Git Large File Storage. 1. Add Unity-specific .gitignore Settings. We recommend GitHub’s Unity .gitignore template. In addition, depending on the platforms you intend to use for development, you should gitignore common files for TESTING FROM THE OUTSIDE-IN A few months ago my colleague Josh Steiner wrote a comprehensive post on How We Test Rails Applications, detailing the different types tests we write and the various technologies that go with them.In this follow up, we will take a closer look at thoughtbot’s testing workflow. We use a process known as “Outside-in testing”, driving our development from high-level tests and working our way THE MAGIC BEHIND CONFIGURE, MAKE, MAKE INSTALL Creating the configure script Instead of writing the configure script by hand, we need to create a configure.ac file written in m4sh—a combination of m4 macros and POSIX shell script—to describe what the configure script needs to do. The first m4 macro we need to call is AC_INIT, which will initialise autoconf and set up some basic information about the program we’re packaging. FINDING THE OLDEST/YOUNGEST RECORDS WITHIN A GROUP postgres. web. A common query that crops up in web apps is finding the oldest or the most recent record in a single table. This is straightforward in SQL. You can even write the relevant part of the query without knowing anything about the table (other than the fact that it has a timestamp column called created_at ): ORDER BYcreated_at LIMIT 1.
CLASS-BASED GENERIC VIEWS IN DJANGODJANGO GENERIC VIEWSDJANGO CLASS VIEWSDJANGO GENERIC VIEW PAGINATION Class-based generic views. Convention is where the “generic” part of “class-based generic views” comes into play. Django provides subclasses of View for a variety of common situations that are packed full of conventions and take all of those pesky little decisions out of our hands. Using the generic DetailView, which displays details of STREAMING DOWNLOADS PROXY SERVICE WITH NODE.JS While the paginated REST API is written in Ruby, I decided to write the streaming-downloads proxy in Node.js for its nice Stream interface. I abstracted the pages-to-stream pipeline into a stream-like object that can be piped into other modules that implement Node’s streams. I use this along the ya-csv module to compose an API-> ApiStream
CSS TRANSITIONS AND TRANSFORMS FOR BEGINNERSSEARCHALLTOPICSIOSANDROIDWEB
transition-timing (optional). The transition-timing-function property allows you to define the speed of the transition over the duration. The default timing is ease, which starts out slow, quickly speeds up, and then slows down at the end.The other timing options are: linear, ease, ease-in, ease-out, and ease-in-out. Here’s an example of the different timing options (used with the transform CONCISE MEDIA QUERIES WITH CSS GRID Concise Media Queries with CSS Grid. Media queries are commonly used to control responsive layouts on websites. Organizing layouts this way is intuitive: On a wide desktop display, we want to present information in columns, and as screen width diminishes below a threshold, we stack elements vertically. With modern CSS, solutions tothis problem
READING A POSTGRES EXPLAIN ANALYZE QUERY PLAN Postgres builds a tree structure of plan nodes representing the different actions taken, with the root and each -> pointing to one of them. In some cases EXPLAIN ANALYZE provides additional execution statistics beyond the execution times and row counts, such as Sort and Hash above. Any line other than the first without an -> is such information, so the structure of the query is: AUTO-SQUASHING GIT COMMITS If you’ve read thoughtbot’s Git protocol guide, you’ll know that once a branch has been code reviewed, we encourage the branch’s author to use an interactive rebase to squash the branch down into a few commits with great commit messages.. It’s fairly common for a feature branch to be squashed down to somewhere between one and three commits before it’s merged. HOW TO GIT WITH UNITY Configure Unity for version control. Use Git Large File Storage. 1. Add Unity-specific .gitignore Settings. We recommend GitHub’s Unity .gitignore template. In addition, depending on the platforms you intend to use for development, you should gitignore common files for TESTING FROM THE OUTSIDE-IN A few months ago my colleague Josh Steiner wrote a comprehensive post on How We Test Rails Applications, detailing the different types tests we write and the various technologies that go with them.In this follow up, we will take a closer look at thoughtbot’s testing workflow. We use a process known as “Outside-in testing”, driving our development from high-level tests and working our way THE MAGIC BEHIND CONFIGURE, MAKE, MAKE INSTALL Creating the configure script Instead of writing the configure script by hand, we need to create a configure.ac file written in m4sh—a combination of m4 macros and POSIX shell script—to describe what the configure script needs to do. The first m4 macro we need to call is AC_INIT, which will initialise autoconf and set up some basic information about the program we’re packaging. FINDING THE OLDEST/YOUNGEST RECORDS WITHIN A GROUP postgres. web. A common query that crops up in web apps is finding the oldest or the most recent record in a single table. This is straightforward in SQL. You can even write the relevant part of the query without knowing anything about the table (other than the fact that it has a timestamp column called created_at ): ORDER BYcreated_at LIMIT 1.
CLASS-BASED GENERIC VIEWS IN DJANGODJANGO GENERIC VIEWSDJANGO CLASS VIEWSDJANGO GENERIC VIEW PAGINATION Class-based generic views. Convention is where the “generic” part of “class-based generic views” comes into play. Django provides subclasses of View for a variety of common situations that are packed full of conventions and take all of those pesky little decisions out of our hands. Using the generic DetailView, which displays details of STREAMING DOWNLOADS PROXY SERVICE WITH NODE.JS While the paginated REST API is written in Ruby, I decided to write the streaming-downloads proxy in Node.js for its nice Stream interface. I abstracted the pages-to-stream pipeline into a stream-like object that can be piped into other modules that implement Node’s streams. I use this along the ya-csv module to compose an API-> ApiStream
CREATIVE STUDIOS BUILDING WEB AND MOBILE PRODUCTS Benefit from over 17 years of experience designing and building successful products. Whether you're a founder with a new idea, a product owner at a large enterprise, or somewhere in between, thoughtbot can help you solve meaningful problems with a design-ledapproach.
CSS TRANSITIONS AND TRANSFORMS FOR BEGINNERS transition-timing (optional). The transition-timing-function property allows you to define the speed of the transition over the duration. The default timing is ease, which starts out slow, quickly speeds up, and then slows down at the end.The other timing options are: linear, ease, ease-in, ease-out, and ease-in-out. Here’s an example of the different timing options (used with the transform THE MAGIC BEHIND CONFIGURE, MAKE, MAKE INSTALL Creating the configure script Instead of writing the configure script by hand, we need to create a configure.ac file written in m4sh—a combination of m4 macros and POSIX shell script—to describe what the configure script needs to do. The first m4 macro we need to call is AC_INIT, which will initialise autoconf and set up some basic information about the program we’re packaging.SIGN IN TO UPCASE
About thoughtbot; Sponsor; Privacy Policy; Terms & Conditions; Contact us © 2012 - 2021 thoughtbot, inc. Upcase, the design of a robot, and thoughtbot are registered TESTING FROM THE OUTSIDE-IN A few months ago my colleague Josh Steiner wrote a comprehensive post on How We Test Rails Applications, detailing the different types tests we write and the various technologies that go with them.In this follow up, we will take a closer look at thoughtbot’s testing workflow. We use a process known as “Outside-in testing”, driving our development from high-level tests and working our way TYPESCRIPT: STOP USING 'ANY', THERE'S A TYPE FOR THAT The any type is a powerful way to work with existing JavaScript, allowing you to gradually opt-in and opt-out of type checking during compilation. Let that sink in. The TypeScript documentation express clearly that when we have the any type, we are telling the compiler: We are saying no thank you when over 500 contributors to the languageoffer
STARTING AND STOPPING BACKGROUND SERVICES WITH HOMEBREW I love Homebrew, but sometimes it really gets me down, you know?Especially when I have to deal with launchctl.. launchctl loads and unloads services that start at login. In OS X, these services are represented by files ending with .plist (which stands for “property list”). These plists are usually stored in either ~/Library/LaunchAgents or /Library/LaunchAgents. FINDING THE OLDEST/YOUNGEST RECORDS WITHIN A GROUP postgres. web. A common query that crops up in web apps is finding the oldest or the most recent record in a single table. This is straightforward in SQL. You can even write the relevant part of the query without knowing anything about the table (other than the fact that it has a timestamp column called created_at ): ORDER BYcreated_at LIMIT 1.
GIT INTERACTIVE REBASE, SQUASH, AMEND AND OTHER WAYS OF pick 07c5abd Introduce OpenPGP and teach basic usage pick de9b1eb Fix PostChecker::Post#urls pick 3e7ee36 Hey kids, stop all the highlighting pick fa20af3 git interactive rebase, squash, amend # Rebase 8db7e8b..fa20af3 onto 8db7e8b # # Commands: # p, pick = use commit # r, reword = use commit, but edit the commit message # e, edit = use commit, but stop for SEARCH - GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS Displaying articles 51 - 60 of 144 in total. Replacing NERDTree with Ctrl-P. Using a fuzzy finder like Ctrl-P has improved my speed to find files over my previous method of a file drawer in Vim like NERDTree. CSS TRANSITIONS AND TRANSFORMS FOR BEGINNERSSEARCHALLTOPICSIOSANDROIDWEB
transition-timing (optional). The transition-timing-function property allows you to define the speed of the transition over the duration. The default timing is ease, which starts out slow, quickly speeds up, and then slows down at the end.The other timing options are: linear, ease, ease-in, ease-out, and ease-in-out. Here’s an example of the different timing options (used with the transform CONCISE MEDIA QUERIES WITH CSS GRID Concise Media Queries with CSS Grid. Media queries are commonly used to control responsive layouts on websites. Organizing layouts this way is intuitive: On a wide desktop display, we want to present information in columns, and as screen width diminishes below a threshold, we stack elements vertically. With modern CSS, solutions tothis problem
READING A POSTGRES EXPLAIN ANALYZE QUERY PLAN Postgres builds a tree structure of plan nodes representing the different actions taken, with the root and each -> pointing to one of them. In some cases EXPLAIN ANALYZE provides additional execution statistics beyond the execution times and row counts, such as Sort and Hash above. Any line other than the first without an -> is such information, so the structure of the query is: AUTO-SQUASHING GIT COMMITS If you’ve read thoughtbot’s Git protocol guide, you’ll know that once a branch has been code reviewed, we encourage the branch’s author to use an interactive rebase to squash the branch down into a few commits with great commit messages.. It’s fairly common for a feature branch to be squashed down to somewhere between one and three commits before it’s merged. HOW TO GIT WITH UNITY Configure Unity for version control. Use Git Large File Storage. 1. Add Unity-specific .gitignore Settings. We recommend GitHub’s Unity .gitignore template. In addition, depending on the platforms you intend to use for development, you should gitignore common files for TESTING FROM THE OUTSIDE-IN A few months ago my colleague Josh Steiner wrote a comprehensive post on How We Test Rails Applications, detailing the different types tests we write and the various technologies that go with them.In this follow up, we will take a closer look at thoughtbot’s testing workflow. We use a process known as “Outside-in testing”, driving our development from high-level tests and working our way THE MAGIC BEHIND CONFIGURE, MAKE, MAKE INSTALL Creating the configure script Instead of writing the configure script by hand, we need to create a configure.ac file written in m4sh—a combination of m4 macros and POSIX shell script—to describe what the configure script needs to do. The first m4 macro we need to call is AC_INIT, which will initialise autoconf and set up some basic information about the program we’re packaging. FINDING THE OLDEST/YOUNGEST RECORDS WITHIN A GROUP postgres. web. A common query that crops up in web apps is finding the oldest or the most recent record in a single table. This is straightforward in SQL. You can even write the relevant part of the query without knowing anything about the table (other than the fact that it has a timestamp column called created_at ): ORDER BYcreated_at LIMIT 1.
CLASS-BASED GENERIC VIEWS IN DJANGODJANGO GENERIC VIEWSDJANGO CLASS VIEWSDJANGO GENERIC VIEW PAGINATION Class-based generic views. Convention is where the “generic” part of “class-based generic views” comes into play. Django provides subclasses of View for a variety of common situations that are packed full of conventions and take all of those pesky little decisions out of our hands. Using the generic DetailView, which displays details of STREAMING DOWNLOADS PROXY SERVICE WITH NODE.JS While the paginated REST API is written in Ruby, I decided to write the streaming-downloads proxy in Node.js for its nice Stream interface. I abstracted the pages-to-stream pipeline into a stream-like object that can be piped into other modules that implement Node’s streams. I use this along the ya-csv module to compose an API-> ApiStream
CSS TRANSITIONS AND TRANSFORMS FOR BEGINNERSSEARCHALLTOPICSIOSANDROIDWEB
transition-timing (optional). The transition-timing-function property allows you to define the speed of the transition over the duration. The default timing is ease, which starts out slow, quickly speeds up, and then slows down at the end.The other timing options are: linear, ease, ease-in, ease-out, and ease-in-out. Here’s an example of the different timing options (used with the transform CONCISE MEDIA QUERIES WITH CSS GRID Concise Media Queries with CSS Grid. Media queries are commonly used to control responsive layouts on websites. Organizing layouts this way is intuitive: On a wide desktop display, we want to present information in columns, and as screen width diminishes below a threshold, we stack elements vertically. With modern CSS, solutions tothis problem
READING A POSTGRES EXPLAIN ANALYZE QUERY PLAN Postgres builds a tree structure of plan nodes representing the different actions taken, with the root and each -> pointing to one of them. In some cases EXPLAIN ANALYZE provides additional execution statistics beyond the execution times and row counts, such as Sort and Hash above. Any line other than the first without an -> is such information, so the structure of the query is: AUTO-SQUASHING GIT COMMITS If you’ve read thoughtbot’s Git protocol guide, you’ll know that once a branch has been code reviewed, we encourage the branch’s author to use an interactive rebase to squash the branch down into a few commits with great commit messages.. It’s fairly common for a feature branch to be squashed down to somewhere between one and three commits before it’s merged. HOW TO GIT WITH UNITY Configure Unity for version control. Use Git Large File Storage. 1. Add Unity-specific .gitignore Settings. We recommend GitHub’s Unity .gitignore template. In addition, depending on the platforms you intend to use for development, you should gitignore common files for TESTING FROM THE OUTSIDE-IN A few months ago my colleague Josh Steiner wrote a comprehensive post on How We Test Rails Applications, detailing the different types tests we write and the various technologies that go with them.In this follow up, we will take a closer look at thoughtbot’s testing workflow. We use a process known as “Outside-in testing”, driving our development from high-level tests and working our way THE MAGIC BEHIND CONFIGURE, MAKE, MAKE INSTALL Creating the configure script Instead of writing the configure script by hand, we need to create a configure.ac file written in m4sh—a combination of m4 macros and POSIX shell script—to describe what the configure script needs to do. The first m4 macro we need to call is AC_INIT, which will initialise autoconf and set up some basic information about the program we’re packaging. FINDING THE OLDEST/YOUNGEST RECORDS WITHIN A GROUP postgres. web. A common query that crops up in web apps is finding the oldest or the most recent record in a single table. This is straightforward in SQL. You can even write the relevant part of the query without knowing anything about the table (other than the fact that it has a timestamp column called created_at ): ORDER BYcreated_at LIMIT 1.
CLASS-BASED GENERIC VIEWS IN DJANGODJANGO GENERIC VIEWSDJANGO CLASS VIEWSDJANGO GENERIC VIEW PAGINATION Class-based generic views. Convention is where the “generic” part of “class-based generic views” comes into play. Django provides subclasses of View for a variety of common situations that are packed full of conventions and take all of those pesky little decisions out of our hands. Using the generic DetailView, which displays details of STREAMING DOWNLOADS PROXY SERVICE WITH NODE.JS While the paginated REST API is written in Ruby, I decided to write the streaming-downloads proxy in Node.js for its nice Stream interface. I abstracted the pages-to-stream pipeline into a stream-like object that can be piped into other modules that implement Node’s streams. I use this along the ya-csv module to compose an API-> ApiStream
CREATIVE STUDIOS BUILDING WEB AND MOBILE PRODUCTS Benefit from over 17 years of experience designing and building successful products. Whether you're a founder with a new idea, a product owner at a large enterprise, or somewhere in between, thoughtbot can help you solve meaningful problems with a design-ledapproach.
CSS TRANSITIONS AND TRANSFORMS FOR BEGINNERS transition-timing (optional). The transition-timing-function property allows you to define the speed of the transition over the duration. The default timing is ease, which starts out slow, quickly speeds up, and then slows down at the end.The other timing options are: linear, ease, ease-in, ease-out, and ease-in-out. Here’s an example of the different timing options (used with the transform THE MAGIC BEHIND CONFIGURE, MAKE, MAKE INSTALL Creating the configure script Instead of writing the configure script by hand, we need to create a configure.ac file written in m4sh—a combination of m4 macros and POSIX shell script—to describe what the configure script needs to do. The first m4 macro we need to call is AC_INIT, which will initialise autoconf and set up some basic information about the program we’re packaging.SIGN IN TO UPCASE
About thoughtbot; Sponsor; Privacy Policy; Terms & Conditions; Contact us © 2012 - 2021 thoughtbot, inc. Upcase, the design of a robot, and thoughtbot are registered TESTING FROM THE OUTSIDE-IN A few months ago my colleague Josh Steiner wrote a comprehensive post on How We Test Rails Applications, detailing the different types tests we write and the various technologies that go with them.In this follow up, we will take a closer look at thoughtbot’s testing workflow. We use a process known as “Outside-in testing”, driving our development from high-level tests and working our way TYPESCRIPT: STOP USING 'ANY', THERE'S A TYPE FOR THAT The any type is a powerful way to work with existing JavaScript, allowing you to gradually opt-in and opt-out of type checking during compilation. Let that sink in. The TypeScript documentation express clearly that when we have the any type, we are telling the compiler: We are saying no thank you when over 500 contributors to the languageoffer
STARTING AND STOPPING BACKGROUND SERVICES WITH HOMEBREW I love Homebrew, but sometimes it really gets me down, you know?Especially when I have to deal with launchctl.. launchctl loads and unloads services that start at login. In OS X, these services are represented by files ending with .plist (which stands for “property list”). These plists are usually stored in either ~/Library/LaunchAgents or /Library/LaunchAgents. FINDING THE OLDEST/YOUNGEST RECORDS WITHIN A GROUP postgres. web. A common query that crops up in web apps is finding the oldest or the most recent record in a single table. This is straightforward in SQL. You can even write the relevant part of the query without knowing anything about the table (other than the fact that it has a timestamp column called created_at ): ORDER BYcreated_at LIMIT 1.
GIT INTERACTIVE REBASE, SQUASH, AMEND AND OTHER WAYS OF pick 07c5abd Introduce OpenPGP and teach basic usage pick de9b1eb Fix PostChecker::Post#urls pick 3e7ee36 Hey kids, stop all the highlighting pick fa20af3 git interactive rebase, squash, amend # Rebase 8db7e8b..fa20af3 onto 8db7e8b # # Commands: # p, pick = use commit # r, reword = use commit, but edit the commit message # e, edit = use commit, but stop for SEARCH - GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS Displaying articles 51 - 60 of 144 in total. Replacing NERDTree with Ctrl-P. Using a fuzzy finder like Ctrl-P has improved my speed to find files over my previous method of a file drawer in Vim like NERDTree. Skip to main content thoughtbot thoughtbot Let’s Talk Menu* Services
* Case Studies
* Resources
* Our Company
Let’s get started! LET’S MAKE YOUR PRODUCT AND TEAM A SUCCESS thoughtbot is your expert design and development partner. We bring digital products from validation to success and teach you how because we care. It’s time to move beyond simply building features and start designing the right product with the right strategy.Let’s talk
STARTUPS, SCALE-UPS, AND BEYOND Positive outcomes for hundreds of web and mobile projects like yoursFEATURED CASE STUDY
HEALTH MATCH 360
Rapid validation of a therapist matching web app Health Match 360: Read the case study DIGITALOCEAN — Integrating a content management system to help marketing move fasterRead the case study
JOYDRIVE — Online auto seller goes from concept to Superbowl Sundaylaunch
Read the case study
OUR SERVICES
Your expert partners for building mission-driven products Benefit from over 17 years of experience designing and building successful products. Whether you're a founder with a new idea, a product owner at a large enterprise, or somewhere in between, thoughtbot can help you solve meaningful problems with a design-led approach. Work with a small, dedicated team of project-focused product experts built to fit the needs of your project. Learn more about our services SPECIALTY TEAMS FOR EVERY STAGE OF YOUR BUSINESS:* thoughtbot Ignite
* thoughtbot Lift Off* thoughtbot Boost
* thoughtbot Mission ControlSERVICE HIGHLIGHT
Pay down your design debt to acquire, retain, and engage users When time and talent feels constrained, teams sometimes default to shipping features without applying design thinking. But paying down design debt is an incredibly powerful source of user value. Taking care of your design debt enables you to hit your product metrics. Learn more about design debt and how to start tackling ittoday.
Start tackling design debt todayBLOG POST HIGHLIGHT
Zero Downtime Rails Deployments with Kubernetes If you’re deploying your application to Kubernetes, you already have all the pieces you need to ensure your deployments run without downtime. However, figuring out how to piece them all together for a Rails application can be something of a challenge! This post walks through the major steps to get a Rails application running in Kubernetes, deployed without downtime.Read the blog post
OUR CLIENTS
We’re proud to partner with clients on meaningful solutions.Learn more
*
*
*
*
*
*
AWARDS
Best Place to Work
thoughtbot was recently named a Best Place to Work by Built In Austin, Built in NYC and The Crains Awards. Learn more about the awards ONLINE WORKSHOPS AND EVENTS Watch online workshops that unstick your product strategy, level-up your team, and uncover next steps Join the thoughtbot team and our special guests as we tackle today’s biggest product challenges. During our workshops, we cover the latest from the latest on how COVID-19 is impacting our product, design and development process to thoughtbot's tried and true process. Check out our eventsCLIENT TESTIMONIAL
> Adding thoughtbot’s strategic horsepower to your company’s > engine can help bring your product to life.Hunter Gorham
Founder & CEO, JoydriveRead the case study
OUR COMPANY
Purpose-driven teams Our team is driven by our purpose and values; we continually improve our process, do our best work in strong partnerships with you, and transparently share how we work. Learn more about our company RESOURCES FOR ENTREPRENEURS, DESIGNERS, AND DEVELOPERS Reap the rewards of everything we’ve learned while buildingsuccessful products
Purpose-built
Actionable advice for entrepreneurs who want to build products peoplelove.
Dive into our resourcesDesign Sprint Guide
Our guide to conducting and facilitating Product Design Sprints.Start your sprint
Upcase
Become an experienced developer and take “junior” out of yourtitle.
Learn from the expertsOur Playbook
Our documented approach to making successful web and mobile products. Discover a better way of workingOur Blog
The latest design, development, and product tools, techniques andmore.
Stay current on best practices Giant Robots Smashing Into Other Giant Robots Podcast A podcast about the design, development, and business of greatsoftware.
Listen and subscribe WHAT DOES SUCCESS LOOK LIKE FOR YOUR PROJECT?Let’s talk!
FOOTER
thoughtbot
* Services
* Case Studies
* Resources
* Let's Talk
* Our Company
* Purpose
* Blog
* Sponsor
* GitHub
* Dribbble
thoughtbot, inc.
* US: +1 (877) 9-ROBOTS * UK: +44 (0)20 3807 0560* Code of Conduct
* Accessibility Statement* Privacy Policy
* FormKeep
* Hound
Details
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0