Are you over 18 and want to see adult content?
More Annotations
![A complete backup of noblegrouprealty.com](https://www.archivebay.com/archive/7ba2ee65-a214-443b-ad3d-b2e77950fefa.png)
A complete backup of noblegrouprealty.com
Are you over 18 and want to see adult content?
![A complete backup of realwaystoearnmoneyonline.com](https://www.archivebay.com/archive/3f82da05-8cc5-4209-86bb-07e8025caea3.png)
A complete backup of realwaystoearnmoneyonline.com
Are you over 18 and want to see adult content?
![A complete backup of audiomusicadigital.com](https://www.archivebay.com/archive/e5ccedff-2c31-4f54-9c84-16f8d9a5e3d6.png)
A complete backup of audiomusicadigital.com
Are you over 18 and want to see adult content?
![A complete backup of popcornsupply.com](https://www.archivebay.com/archive/b738e4fe-f447-4ab4-bf69-480c32dd6f3e.png)
A complete backup of popcornsupply.com
Are you over 18 and want to see adult content?
![A complete backup of amazinghands.com.au](https://www.archivebay.com/archive/8c55ba77-1b76-4829-aa13-29befefdab78.png)
A complete backup of amazinghands.com.au
Are you over 18 and want to see adult content?
![A complete backup of headlineplanet.com](https://www.archivebay.com/archive/c8853e18-49dd-48ae-b64b-d34ef6403985.png)
A complete backup of headlineplanet.com
Are you over 18 and want to see adult content?
![A complete backup of madeinamericatax.com](https://www.archivebay.com/archive/9c1c1502-1293-4010-a296-08fea1fb7095.png)
A complete backup of madeinamericatax.com
Are you over 18 and want to see adult content?
![A complete backup of trinitytigers.com](https://www.archivebay.com/archive/c52782d7-b632-4897-b907-be98cc70d67f.png)
A complete backup of trinitytigers.com
Are you over 18 and want to see adult content?
Favourite Annotations
![A complete backup of planetastatusov.ru](https://www.archivebay.com/archive2/b7fa0d93-dffb-4e26-8666-8602229263d3.png)
A complete backup of planetastatusov.ru
Are you over 18 and want to see adult content?
![A complete backup of akrzemi1.wordpress.com](https://www.archivebay.com/archive2/81314073-9c2d-486c-8be0-fc7d8c4ba53b.png)
A complete backup of akrzemi1.wordpress.com
Are you over 18 and want to see adult content?
![A complete backup of bakuwhitecity.com](https://www.archivebay.com/archive2/3f986afd-bc48-4be2-a12f-8316d4d0bd00.png)
A complete backup of bakuwhitecity.com
Are you over 18 and want to see adult content?
![A complete backup of banglasonglyrics.com](https://www.archivebay.com/archive2/adb8b7d0-9e04-4e8f-baa2-22fd920fd86d.png)
A complete backup of banglasonglyrics.com
Are you over 18 and want to see adult content?
![A complete backup of lunaticavillage.tumblr.com](https://www.archivebay.com/archive2/ca1e0c1a-aab2-4230-9980-7f8753e62cfe.png)
A complete backup of lunaticavillage.tumblr.com
Are you over 18 and want to see adult content?
![A complete backup of retrieving.org.au](https://www.archivebay.com/archive2/ca08add9-8d0a-45ed-a551-30407d0bbd14.png)
A complete backup of retrieving.org.au
Are you over 18 and want to see adult content?
Text
THE 5 RULES OF ARIA
Directly from the spec, the 5 Rules of ARIA: If you can use a native HTML element or attribute with the semantics and behavior you require already built in then do so. Do not change native semantics, unless you really have to. All interactive ARIA controls must be usable with the keyboard. Do not Continue reading "The 5 Rules of ARIA" CHANGING SVG PATH DATA WITH CSS Another great thing I learnt at CSS Day is that it’s possible to alter SVG path data – which is to be found in its d attribute – using CSS.. As Chris Coyier demoed, one can overwrite the SVG’s path in CSS by using the (underdocumented) d property. As long at the paths match up (e.g. same type, same amount of points, etc.) you can even sprinkle a transition property on top to get a 100VH IN SAFARI ON IOS When working with Viewport Units there’s this longstanding and extremely annoying bug in Safari on iOS where it does not play nice with the vh unit. Setting a container to 100vh for example will actually result in an element that’s a wee bit too high: MobileSafari ignores parts of its UI when calculating 100vh. Image Continue reading "100vh in Safari on iOS"USEWORKER()
useWorker() is a js library (with typescript support) that allows you to use the Web Worker Web API, through React Hooks. This library allows you to run the expensive function without blocking the user interface, using a simple syntax that makes use of Promise import React from "react"; import { useWorker, WORKER_STATUS } from "@koale/useworker"; Continue reading "useWorker() – Use Web CONVERT LAMBERT 1972 TO WGS84 Needed to convert LAMBERT 1972 (EPSG:31370) coordinates to WGS84 (EPSG:4326) for a project I’m working on in order to use the coordinates with Google Maps (which uses a SphericalMercator (EPSG:900913) projection).. Took me quite a while to find the needed algorithm, so hereby I’m listing them (and am providing the JavaScript implementation): PREVENT OVERSCROLL/BOUNCE IN IOS MOBILESAFARI AND CHROME UPDATE 2017.12: For non-Safari browsers (e.g. Chrome, Firefox) you can use overscroll-behavior to solve exactly this. Simply apply overscroll-behavior-y: none; on html, body and be done with it.. Safari however still requires the workaround detailed below CSS: INHERIT, INITIAL, UNSET, AND REVERT PPK: Today we’re going to take a quick look at a few special CSS keywords you can use on any CSS property: inherit, initial, revert, and unset. Also, we will ask where and when to use them to the greatest effect, and if we need more of those keywords. Inherit, initial, unset, revert → CSS CONTAINER QUERIES: A FIRST LOOK + DEMO Back in November 2020 it was announced that Chromium would experiment with Container Queries — back then just a proposal but earlier this year (February 2021) adopted to become part of the CSS Containment Module Level 3 Specification.. Just before the weekend a first version of this experimental implementation landed in Chromium Canary for us to play with (behind a flag). A FIRST LOOK AT CQFILL, A POLYFILL FOR CSS Update 2021.05.03:. From version 0.6.0 on, the polyfill will attach itself. The code examples have been updated to include this change. INFLUXDB FLUX: TYPE CONFLICT: INT != FLOAT In a Flux query I was writing I wanted to negate the fetched values using a map function to multiply each value by -1: map(fn: (r) => ({ _value: r._value * -1 })) To my surprise this yielded an error: type conflict: int != float Took me a few Google Search Coupons to realize the Continue reading "InfluxDB Flux: type conflict: int != float"THE 5 RULES OF ARIA
Directly from the spec, the 5 Rules of ARIA: If you can use a native HTML element or attribute with the semantics and behavior you require already built in then do so. Do not change native semantics, unless you really have to. All interactive ARIA controls must be usable with the keyboard. Do not Continue reading "The 5 Rules of ARIA" CHANGING SVG PATH DATA WITH CSS Another great thing I learnt at CSS Day is that it’s possible to alter SVG path data – which is to be found in its d attribute – using CSS.. As Chris Coyier demoed, one can overwrite the SVG’s path in CSS by using the (underdocumented) d property. As long at the paths match up (e.g. same type, same amount of points, etc.) you can even sprinkle a transition property on top to get a 100VH IN SAFARI ON IOS When working with Viewport Units there’s this longstanding and extremely annoying bug in Safari on iOS where it does not play nice with the vh unit. Setting a container to 100vh for example will actually result in an element that’s a wee bit too high: MobileSafari ignores parts of its UI when calculating 100vh. Image Continue reading "100vh in Safari on iOS"USEWORKER()
useWorker() is a js library (with typescript support) that allows you to use the Web Worker Web API, through React Hooks. This library allows you to run the expensive function without blocking the user interface, using a simple syntax that makes use of Promise import React from "react"; import { useWorker, WORKER_STATUS } from "@koale/useworker"; Continue reading "useWorker() – Use Web CONVERT LAMBERT 1972 TO WGS84 Needed to convert LAMBERT 1972 (EPSG:31370) coordinates to WGS84 (EPSG:4326) for a project I’m working on in order to use the coordinates with Google Maps (which uses a SphericalMercator (EPSG:900913) projection).. Took me quite a while to find the needed algorithm, so hereby I’m listing them (and am providing the JavaScript implementation): PREVENT OVERSCROLL/BOUNCE IN IOS MOBILESAFARI AND CHROME UPDATE 2017.12: For non-Safari browsers (e.g. Chrome, Firefox) you can use overscroll-behavior to solve exactly this. Simply apply overscroll-behavior-y: none; on html, body and be done with it.. Safari however still requires the workaround detailed below CSS: INHERIT, INITIAL, UNSET, AND REVERT PPK: Today we’re going to take a quick look at a few special CSS keywords you can use on any CSS property: inherit, initial, revert, and unset. Also, we will ask where and when to use them to the greatest effect, and if we need more of those keywords. Inherit, initial, unset, revert → CSS CONTAINER QUERIES: A FIRST LOOK + DEMO Back in November 2020 it was announced that Chromium would experiment with Container Queries — back then just a proposal but earlier this year (February 2021) adopted to become part of the CSS Containment Module Level 3 Specification.. Just before the weekend a first version of this experimental implementation landed in Chromium Canary for us to play with (behind a flag). A FIRST LOOK AT CQFILL, A POLYFILL FOR CSS Update 2021.05.03:. From version 0.6.0 on, the polyfill will attach itself. The code examples have been updated to include this change.THE 5 RULES OF ARIA
Directly from the spec, the 5 Rules of ARIA: If you can use a native HTML element or attribute with the semantics and behavior you require already built in then do so. Do not change native semantics, unless you really have to. All interactive ARIA controls must be usable with the keyboard. Do not Continue reading "The 5 Rules of ARIA" HOW TO RECORD SCREEN ACTIONS AS A PUPPETEER SCRIPT One of the new (experimental) additions to the Chrome 89 DevTools is the Puppeteer Recorder: DevTools can now generate Puppeteer scripts based on your interaction with the browser, making it easier for you to automate browser testing. Simply start a new recording and as you click around you’ll see Puppeteer code being generated. Stefan Judis Continue reading "How to Record CSS :NTH-OF-CLASS SELECTOR To solve my problem, I’d be needing something like a :nth-of-class selector. Unfortunately no such selector exists nor is it currently proposed. What is proposed though, in the upcoming CSS Level 4 Selectors specification (aka “not CSS4” 😜), is an extension to the nth-child/nth-last-child pseudo selectors: the ability to add an extra "of S" part into those selectors. USING DEEPFAKE TO CREATE BETTER LIP-SYNCING Now this is a good use of deepfake: correct the mouth and jaw movements of actors in dubbed video to match the new language track. The result is a (nearly) seamless lip-synced experience. TrueSync is the first AI offering from our neural network film lab. Filmmakers and content owners are now able to visually translate Continue reading "Using deepfake to create better Lip-Syncing" PREVENT OVERSCROLL/BOUNCE IN IOS MOBILESAFARI AND CHROME UPDATE 2017.12: For non-Safari browsers (e.g. Chrome, Firefox) you can use overscroll-behavior to solve exactly this. Simply apply overscroll-behavior-y: none; on html, body and be done with it.. Safari however still requires the workaround detailed below DATETIME – PAGE 2 – BRAM.US Every day has 24 hours; Every day without DST changes is 86400 (60 * 60 * 24) seconds long; Every day in UTC is 86400 (60 * 60 * 24)seconds long
LINK – PAGE 60 – BRAM.US Just announced at React Native EU is an alpha release of React Navigation 5.0, a navigator for use with React Native.. An exploration of a component-first API for React Navigation for building more dynamic navigation solutions. Should play well with static type system BRAM.US – A RATHER GEEKY/TECHNICAL WEBLOG, EST. 2001, BY TrueSync is the first AI offering from our neural network film lab. Filmmakers and content owners are now able to visually translate foreign language film into the native language of any audience. The photorealism is at such a level, the lip-sync so seamless, that the idiosyncratic performance of the onscreen actor remains intact inevery detail.
CSS CONTAINER QUERIES: A FIRST LOOK + DEMO CSS Container Queries: A First Look + Demo. Bramus! March 28, 2021. Back in November 2020 it was announced that Chromium would experiment with Container Queries — back then just a proposal but earlier this year (February 2021) adopted to become part of the CSS Containment Module Level 3 Specification. Just before the weekend a first version INFLUXDB FLUX: TYPE CONFLICT: INT != FLOAT In a Flux query I was writing I wanted to negate the fetched values using a map function to multiply each value by -1: map(fn: (r) => ({ _value: r._value * -1 })) To my surprise this yielded an error: type conflict: int != float Took me a few Google Search Coupons to realize the Continue reading "InfluxDB Flux: type conflict: int != float"THE 5 RULES OF ARIA
Directly from the spec, the 5 Rules of ARIA: If you can use a native HTML element or attribute with the semantics and behavior you require already built in then do so. Do not change native semantics, unless you really have to. All interactive ARIA controls must be usable with the keyboard. Do not Continue reading "The 5 Rules of ARIA" 100VH IN SAFARI ON IOS When working with Viewport Units there’s this longstanding and extremely annoying bug in Safari on iOS where it does not play nice with the vh unit. Setting a container to 100vh for example will actually result in an element that’s a wee bit too high: MobileSafari ignores parts of its UI when calculating 100vh. Image Continue reading "100vh in Safari on iOS" REACT NATIVE + SWIFTUI React Native + SwiftUI. Bramus! February 14, 2020. Kureev Alexey on how to use SwiftUI Components in an React Native App. Today, we’ll write a proxy that allows developers to use SwiftUI in their React Native applications. The Native SwiftUI Button Component looks like this: struct SwiftUIButton : View { @ObservedObject var propsUSEWORKER()
on useWorker () – Use Web Workers with React Hooks. useWorker () is a js library (with typescript support) that allows you to use the Web Worker Web API, through React Hooks. This library allows you to run the expensive function without blocking the user interface, using a simple syntax that makes use of Promise. CSS FULL-BLEED SCROLL-SNAPPING CAROUSEL WITH CENTERED For a project I’m working at, we’re building in some carousels (aka content sliders).While building a scroll-snapping carousel in itself is no rocket science nowadays, there was an extra variation that made my eyes sparkle: a full-bleed carousel that spans the entire page, with its focussed slide anchored to the center column of the page, and with the other slides “overflowing” outside RAY.SO – CREATE BEAUTIFUL CODE – BRAM.US Ray.so – Create beautiful code. Posted by. Bramus! February 18, 2021 Leave a comment. on Ray.so – Create beautiful code. Like Carbon, but a bit different. Ray.so →. PREVENT OVERSCROLL/BOUNCE IN IOS MOBILESAFARI AND CHROME Prevent overscroll/bounce in iOS MobileSafari and Chrome (CSS only) Bramus! May 2, 2016. UPDATE 2017.12: For non-Safari browsers you can use overscroll-behavior to solve exactly this. Simply apply overscroll-behavior-y: none; on html, body and be done with it. Safari however still requires the workaround detailed below . BRAM.US – A RATHER GEEKY/TECHNICAL WEBLOG, EST. 2001, BY TrueSync is the first AI offering from our neural network film lab. Filmmakers and content owners are now able to visually translate foreign language film into the native language of any audience. The photorealism is at such a level, the lip-sync so seamless, that the idiosyncratic performance of the onscreen actor remains intact inevery detail.
CSS CONTAINER QUERIES: A FIRST LOOK + DEMO CSS Container Queries: A First Look + Demo. Bramus! March 28, 2021. Back in November 2020 it was announced that Chromium would experiment with Container Queries — back then just a proposal but earlier this year (February 2021) adopted to become part of the CSS Containment Module Level 3 Specification. Just before the weekend a first version INFLUXDB FLUX: TYPE CONFLICT: INT != FLOAT In a Flux query I was writing I wanted to negate the fetched values using a map function to multiply each value by -1: map(fn: (r) => ({ _value: r._value * -1 })) To my surprise this yielded an error: type conflict: int != float Took me a few Google Search Coupons to realize the Continue reading "InfluxDB Flux: type conflict: int != float"THE 5 RULES OF ARIA
Directly from the spec, the 5 Rules of ARIA: If you can use a native HTML element or attribute with the semantics and behavior you require already built in then do so. Do not change native semantics, unless you really have to. All interactive ARIA controls must be usable with the keyboard. Do not Continue reading "The 5 Rules of ARIA" 100VH IN SAFARI ON IOS When working with Viewport Units there’s this longstanding and extremely annoying bug in Safari on iOS where it does not play nice with the vh unit. Setting a container to 100vh for example will actually result in an element that’s a wee bit too high: MobileSafari ignores parts of its UI when calculating 100vh. Image Continue reading "100vh in Safari on iOS" REACT NATIVE + SWIFTUI React Native + SwiftUI. Bramus! February 14, 2020. Kureev Alexey on how to use SwiftUI Components in an React Native App. Today, we’ll write a proxy that allows developers to use SwiftUI in their React Native applications. The Native SwiftUI Button Component looks like this: struct SwiftUIButton : View { @ObservedObject var propsUSEWORKER()
on useWorker () – Use Web Workers with React Hooks. useWorker () is a js library (with typescript support) that allows you to use the Web Worker Web API, through React Hooks. This library allows you to run the expensive function without blocking the user interface, using a simple syntax that makes use of Promise. CSS FULL-BLEED SCROLL-SNAPPING CAROUSEL WITH CENTERED For a project I’m working at, we’re building in some carousels (aka content sliders).While building a scroll-snapping carousel in itself is no rocket science nowadays, there was an extra variation that made my eyes sparkle: a full-bleed carousel that spans the entire page, with its focussed slide anchored to the center column of the page, and with the other slides “overflowing” outside RAY.SO – CREATE BEAUTIFUL CODE – BRAM.US Ray.so – Create beautiful code. Posted by. Bramus! February 18, 2021 Leave a comment. on Ray.so – Create beautiful code. Like Carbon, but a bit different. Ray.so →. PREVENT OVERSCROLL/BOUNCE IN IOS MOBILESAFARI AND CHROME Prevent overscroll/bounce in iOS MobileSafari and Chrome (CSS only) Bramus! May 2, 2016. UPDATE 2017.12: For non-Safari browsers you can use overscroll-behavior to solve exactly this. Simply apply overscroll-behavior-y: none; on html, body and be done with it. Safari however still requires the workaround detailed below . BRAM.US – A RATHER GEEKY/TECHNICAL WEBLOG, EST. 2001, BY TrueSync is the first AI offering from our neural network film lab. Filmmakers and content owners are now able to visually translate foreign language film into the native language of any audience. The photorealism is at such a level, the lip-sync so seamless, that the idiosyncratic performance of the onscreen actor remains intact inevery detail.
MONO ICONS – BRAM.US A simple, consistent open-source icon set designed to be used in a wide variety of digital products. The folks at Mono have released an update to their Icon Set, now totalling 177 icons in total. Available as SVGs (recommended) but can also be included asTHE CSS PODCAST
The latest episode of the show is about CSS Scroll-Timeline, something I’ve been writing, tweeting, and speaking about a lot ever since I discovered it mid-January (after seeing a tweet by Adam on it).. 🤩 I’m very excited about this episode, especially since my talk covering Scroll-Timeline was picked up and got featured in it.. 🆕 #CSSpodcast on @\scroll-timeline! A FIRST LOOK AT CQFILL, A POLYFILL FOR CSS Unfortunately the polyfill is not a simple drop-in that will work with your existing CSS code. This is because rendering engines that don’t support Container Queries will discard those specific statements and declarations. To work around this, the polyfill requires you to duplicate some CSS with an alternative syntax.THE 5 RULES OF ARIA
Directly from the spec, the 5 Rules of ARIA: If you can use a native HTML element or attribute with the semantics and behavior you require already built in then do so. Do not change native semantics, unless you really have to. All interactive ARIA controls must be usable with the keyboard. Do not Continue reading "The 5 Rules of ARIA" LAZY LOADING JAVASCRIPT USING INTERSECTIONOBSERVER Lazy loading JavaScript using. IntersectionObserver. Bramus! May 10, 2021. Jonathan Neal dissects the Islands Architecture approach behind Astro. During the presentation, Fred demonstrates dynamically loading JS using “Islands Architecture”,a strategy where small HTML placeholders are progressively upgraded with dynamic or interactive HOW TO RECORD SCREEN ACTIONS AS A PUPPETEER SCRIPT One of the new (experimental) additions to the Chrome 89 DevTools is the Puppeteer Recorder: DevTools can now generate Puppeteer scripts based on your interaction with the browser, making it easier for you to automate browser testing. Simply start a new recording and as you click around you’ll see Puppeteer code being generated. Stefan Judis Continue reading "How to Record REACT NATIVE BOTTOM SHEET (SLIDE UP PANEL) React Native Slack Bottom Sheet is a wrapper around Slack’s native PanModal component for iOS. 💁♂️ If you’re looking for a slide up panel that also works on Android check out rn-sliding-up-panel, a pure JS implementation. Note that it will require some tweaking before you get a somewhat similar result like its native counterpart.GITHUB SKYLINE
Published by Bramus! Bramus is a Freelance Web Developer from Belgium. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since View more posts DATETIME – PAGE 2 – BRAM.US Every day has 24 hours; Every day without DST changes is 86400 (60 * 60 * 24) seconds long; Every day in UTC is 86400 (60 * 60 * 24)seconds long
BRAM.US – A RATHER GEEKY/TECHNICAL WEBLOG, EST. 2001, BY TrueSync is the first AI offering from our neural network film lab. Filmmakers and content owners are now able to visually translate foreign language film into the native language of any audience. The photorealism is at such a level, the lip-sync so seamless, that the idiosyncratic performance of the onscreen actor remains intact inevery detail.
CSS CONTAINER QUERIES: A FIRST LOOK + DEMO CSS Container Queries: A First Look + Demo. Bramus! March 28, 2021. Back in November 2020 it was announced that Chromium would experiment with Container Queries — back then just a proposal but earlier this year (February 2021) adopted to become part of the CSS Containment Module Level 3 Specification. Just before the weekend a first version INFLUXDB FLUX: TYPE CONFLICT: INT != FLOAT In a Flux query I was writing I wanted to negate the fetched values using a map function to multiply each value by -1: map(fn: (r) => ({ _value: r._value * -1 })) To my surprise this yielded an error: type conflict: int != float Took me a few Google Search Coupons to realize the Continue reading "InfluxDB Flux: type conflict: int != float"THE 5 RULES OF ARIA
Directly from the spec, the 5 Rules of ARIA: If you can use a native HTML element or attribute with the semantics and behavior you require already built in then do so. Do not change native semantics, unless you really have to. All interactive ARIA controls must be usable with the keyboard. Do not Continue reading "The 5 Rules of ARIA" 100VH IN SAFARI ON IOS When working with Viewport Units there’s this longstanding and extremely annoying bug in Safari on iOS where it does not play nice with the vh unit. Setting a container to 100vh for example will actually result in an element that’s a wee bit too high: MobileSafari ignores parts of its UI when calculating 100vh. Image Continue reading "100vh in Safari on iOS" REACT NATIVE + SWIFTUI React Native + SwiftUI. Bramus! February 14, 2020. Kureev Alexey on how to use SwiftUI Components in an React Native App. Today, we’ll write a proxy that allows developers to use SwiftUI in their React Native applications. The Native SwiftUI Button Component looks like this: struct SwiftUIButton : View { @ObservedObject var propsUSEWORKER()
on useWorker () – Use Web Workers with React Hooks. useWorker () is a js library (with typescript support) that allows you to use the Web Worker Web API, through React Hooks. This library allows you to run the expensive function without blocking the user interface, using a simple syntax that makes use of Promise. CSS FULL-BLEED SCROLL-SNAPPING CAROUSEL WITH CENTERED For a project I’m working at, we’re building in some carousels (aka content sliders).While building a scroll-snapping carousel in itself is no rocket science nowadays, there was an extra variation that made my eyes sparkle: a full-bleed carousel that spans the entire page, with its focussed slide anchored to the center column of the page, and with the other slides “overflowing” outside RAY.SO – CREATE BEAUTIFUL CODE – BRAM.US Ray.so – Create beautiful code. Posted by. Bramus! February 18, 2021 Leave a comment. on Ray.so – Create beautiful code. Like Carbon, but a bit different. Ray.so →. PREVENT OVERSCROLL/BOUNCE IN IOS MOBILESAFARI AND CHROME Prevent overscroll/bounce in iOS MobileSafari and Chrome (CSS only) Bramus! May 2, 2016. UPDATE 2017.12: For non-Safari browsers you can use overscroll-behavior to solve exactly this. Simply apply overscroll-behavior-y: none; on html, body and be done with it. Safari however still requires the workaround detailed below . BRAM.US – A RATHER GEEKY/TECHNICAL WEBLOG, EST. 2001, BY TrueSync is the first AI offering from our neural network film lab. Filmmakers and content owners are now able to visually translate foreign language film into the native language of any audience. The photorealism is at such a level, the lip-sync so seamless, that the idiosyncratic performance of the onscreen actor remains intact inevery detail.
CSS CONTAINER QUERIES: A FIRST LOOK + DEMO CSS Container Queries: A First Look + Demo. Bramus! March 28, 2021. Back in November 2020 it was announced that Chromium would experiment with Container Queries — back then just a proposal but earlier this year (February 2021) adopted to become part of the CSS Containment Module Level 3 Specification. Just before the weekend a first version INFLUXDB FLUX: TYPE CONFLICT: INT != FLOAT In a Flux query I was writing I wanted to negate the fetched values using a map function to multiply each value by -1: map(fn: (r) => ({ _value: r._value * -1 })) To my surprise this yielded an error: type conflict: int != float Took me a few Google Search Coupons to realize the Continue reading "InfluxDB Flux: type conflict: int != float"THE 5 RULES OF ARIA
Directly from the spec, the 5 Rules of ARIA: If you can use a native HTML element or attribute with the semantics and behavior you require already built in then do so. Do not change native semantics, unless you really have to. All interactive ARIA controls must be usable with the keyboard. Do not Continue reading "The 5 Rules of ARIA" 100VH IN SAFARI ON IOS When working with Viewport Units there’s this longstanding and extremely annoying bug in Safari on iOS where it does not play nice with the vh unit. Setting a container to 100vh for example will actually result in an element that’s a wee bit too high: MobileSafari ignores parts of its UI when calculating 100vh. Image Continue reading "100vh in Safari on iOS" REACT NATIVE + SWIFTUI React Native + SwiftUI. Bramus! February 14, 2020. Kureev Alexey on how to use SwiftUI Components in an React Native App. Today, we’ll write a proxy that allows developers to use SwiftUI in their React Native applications. The Native SwiftUI Button Component looks like this: struct SwiftUIButton : View { @ObservedObject var propsUSEWORKER()
on useWorker () – Use Web Workers with React Hooks. useWorker () is a js library (with typescript support) that allows you to use the Web Worker Web API, through React Hooks. This library allows you to run the expensive function without blocking the user interface, using a simple syntax that makes use of Promise. CSS FULL-BLEED SCROLL-SNAPPING CAROUSEL WITH CENTERED For a project I’m working at, we’re building in some carousels (aka content sliders).While building a scroll-snapping carousel in itself is no rocket science nowadays, there was an extra variation that made my eyes sparkle: a full-bleed carousel that spans the entire page, with its focussed slide anchored to the center column of the page, and with the other slides “overflowing” outside RAY.SO – CREATE BEAUTIFUL CODE – BRAM.US Ray.so – Create beautiful code. Posted by. Bramus! February 18, 2021 Leave a comment. on Ray.so – Create beautiful code. Like Carbon, but a bit different. Ray.so →. PREVENT OVERSCROLL/BOUNCE IN IOS MOBILESAFARI AND CHROME Prevent overscroll/bounce in iOS MobileSafari and Chrome (CSS only) Bramus! May 2, 2016. UPDATE 2017.12: For non-Safari browsers you can use overscroll-behavior to solve exactly this. Simply apply overscroll-behavior-y: none; on html, body and be done with it. Safari however still requires the workaround detailed below . BRAM.US – A RATHER GEEKY/TECHNICAL WEBLOG, EST. 2001, BY TrueSync is the first AI offering from our neural network film lab. Filmmakers and content owners are now able to visually translate foreign language film into the native language of any audience. The photorealism is at such a level, the lip-sync so seamless, that the idiosyncratic performance of the onscreen actor remains intact inevery detail.
THE CSS PODCAST
The latest episode of the show is about CSS Scroll-Timeline, something I’ve been writing, tweeting, and speaking about a lot ever since I discovered it mid-January (after seeing a tweet by Adam on it).. 🤩 I’m very excited about this episode, especially since my talk covering Scroll-Timeline was picked up and got featured in it.. 🆕 #CSSpodcast on @\scroll-timeline!USEWORKER()
on useWorker () – Use Web Workers with React Hooks. useWorker () is a js library (with typescript support) that allows you to use the Web Worker Web API, through React Hooks. This library allows you to run the expensive function without blocking the user interface, using a simple syntax that makes use of Promise. A FIRST LOOK AT CQFILL, A POLYFILL FOR CSS Unfortunately the polyfill is not a simple drop-in that will work with your existing CSS code. This is because rendering engines that don’t support Container Queries will discard those specific statements and declarations. To work around this, the polyfill requires you to duplicate some CSS with an alternative syntax. HOW TO RECORD SCREEN ACTIONS AS A PUPPETEER SCRIPT One of the new (experimental) additions to the Chrome 89 DevTools is the Puppeteer Recorder: DevTools can now generate Puppeteer scripts based on your interaction with the browser, making it easier for you to automate browser testing. Simply start a new recording and as you click around you’ll see Puppeteer code being generated. Stefan Judis Continue reading "How to Record LAZY LOADING JAVASCRIPT USING INTERSECTIONOBSERVER Lazy loading JavaScript using. IntersectionObserver. Bramus! May 10, 2021. Jonathan Neal dissects the Islands Architecture approach behind Astro. During the presentation, Fred demonstrates dynamically loading JS using “Islands Architecture”,a strategy where small HTML placeholders are progressively upgraded with dynamic or interactive USING DEEPFAKE TO CREATE BETTER LIP-SYNCING Now this is a good use of deepfake: correct the mouth and jaw movements of actors in dubbed video to match the new language track. The result is a (nearly) seamless lip-synced experience. TrueSync is the first AI offering from our neural network film lab. Filmmakers and content owners are now able to visually translate Continue reading "Using deepfake to create better Lip-Syncing"GITHUB SKYLINE
Published by Bramus! Bramus is a Freelance Web Developer from Belgium. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since View more posts DATETIME – PAGE 2 – BRAM.US Every day has 24 hours; Every day without DST changes is 86400 (60 * 60 * 24) seconds long; Every day in UTC is 86400 (60 * 60 * 24)seconds long
CSS MIX-BLEND-MODE NOT WORKING? SET A BACKGROUND-COLOR 💡 If you find your CSS mix-blend-mode not working as expected (on a white background), you need to explicitly set a background-color on the underlying element. The easiest way to do so is to apply background-color: white; on the html and body elements.. html, body { background-color: #fff; } ~ Demos + Explanation Without a background-color set. You’ll notice here that for the “white INFLUXDB FLUX: TYPE CONFLICT: INT != FLOAT In a Flux query I was writing I wanted to negate the fetched values using a map function to multiply each value by -1: map(fn: (r) => ({ _value: r._value * -1 })) To my surprise this yielded an error: type conflict: int != float Took me a few Google Search Coupons to realize the Continue reading "InfluxDB Flux: type conflict: int != float" CSS CONTAINER QUERIES: A FIRST LOOK + DEMO CSS Container Queries: A First Look + Demo. Bramus! March 28, 2021. Back in November 2020 it was announced that Chromium would experiment with Container Queries — back then just a proposal but earlier this year (February 2021) adopted to become part of the CSS Containment Module Level 3 Specification. Just before the weekend a first version CHROME 92 — WHAT’S NEW IN DEVTOOLS Posted by. Bramus! June 5, 2021 Leave a comment. on Chrome 92 — What’s New In DevTools. New in DevTools that ship with Chrome 92 (selection): A new CSS grid editor (pictured above), similar to the Flexbox editor which shipped with DevTools in Chrome 90. Support for const redeclarations in the Console — Oh, didn’t know I neededthis!
THE 5 RULES OF ARIA
Directly from the spec, the 5 Rules of ARIA: If you can use a native HTML element or attribute with the semantics and behavior you require already built in then do so. Do not change native semantics, unless you really have to. All interactive ARIA controls must be usable with the keyboard. Do not Continue reading "The 5 Rules of ARIA"USEWORKER()
on useWorker () – Use Web Workers with React Hooks. useWorker () is a js library (with typescript support) that allows you to use the Web Worker Web API, through React Hooks. This library allows you to run the expensive function without blocking the user interface, using a simple syntax that makes use of Promise. A FIRST LOOK AT CQFILL, A POLYFILL FOR CSS Unfortunately the polyfill is not a simple drop-in that will work with your existing CSS code. This is because rendering engines that don’t support Container Queries will discard those specific statements and declarations. To work around this, the polyfill requires you to duplicate some CSS with an alternative syntax. REACT NATIVE + SWIFTUI React Native + SwiftUI. Bramus! February 14, 2020. Kureev Alexey on how to use SwiftUI Components in an React Native App. Today, we’ll write a proxy that allows developers to use SwiftUI in their React Native applications. The Native SwiftUI Button Component looks like this: struct SwiftUIButton : View { @ObservedObject var props 100VH IN SAFARI ON IOS When working with Viewport Units there’s this longstanding and extremely annoying bug in Safari on iOS where it does not play nice with the vh unit. Setting a container to 100vh for example will actually result in an element that’s a wee bit too high: MobileSafari ignores parts of its UI when calculating 100vh. Image Continue reading "100vh in Safari on iOS" PREVENT OVERSCROLL/BOUNCE IN IOS MOBILESAFARI AND CHROME Prevent overscroll/bounce in iOS MobileSafari and Chrome (CSS only) Bramus! May 2, 2016. UPDATE 2017.12: For non-Safari browsers you can use overscroll-behavior to solve exactly this. Simply apply overscroll-behavior-y: none; on html, body and be done with it. Safari however still requires the workaround detailed below . CONVERT LAMBERT 1972 TO WGS84 Needed to convert LAMBERT 1972 (EPSG:31370) coordinates to WGS84 (EPSG:4326) for a project I’m working on in order to use the coordinates with Google Maps (which uses a SphericalMercator (EPSG:900913) projection).. Took me quite a while to find the needed algorithm, so hereby I’m listing them (and am providing the JavaScript implementation): INFLUXDB FLUX: TYPE CONFLICT: INT != FLOAT In a Flux query I was writing I wanted to negate the fetched values using a map function to multiply each value by -1: map(fn: (r) => ({ _value: r._value * -1 })) To my surprise this yielded an error: type conflict: int != float Took me a few Google Search Coupons to realize the Continue reading "InfluxDB Flux: type conflict: int != float" CSS CONTAINER QUERIES: A FIRST LOOK + DEMO CSS Container Queries: A First Look + Demo. Bramus! March 28, 2021. Back in November 2020 it was announced that Chromium would experiment with Container Queries — back then just a proposal but earlier this year (February 2021) adopted to become part of the CSS Containment Module Level 3 Specification. Just before the weekend a first version CHROME 92 — WHAT’S NEW IN DEVTOOLS Posted by. Bramus! June 5, 2021 Leave a comment. on Chrome 92 — What’s New In DevTools. New in DevTools that ship with Chrome 92 (selection): A new CSS grid editor (pictured above), similar to the Flexbox editor which shipped with DevTools in Chrome 90. Support for const redeclarations in the Console — Oh, didn’t know I neededthis!
THE 5 RULES OF ARIA
Directly from the spec, the 5 Rules of ARIA: If you can use a native HTML element or attribute with the semantics and behavior you require already built in then do so. Do not change native semantics, unless you really have to. All interactive ARIA controls must be usable with the keyboard. Do not Continue reading "The 5 Rules of ARIA"USEWORKER()
on useWorker () – Use Web Workers with React Hooks. useWorker () is a js library (with typescript support) that allows you to use the Web Worker Web API, through React Hooks. This library allows you to run the expensive function without blocking the user interface, using a simple syntax that makes use of Promise. A FIRST LOOK AT CQFILL, A POLYFILL FOR CSS Unfortunately the polyfill is not a simple drop-in that will work with your existing CSS code. This is because rendering engines that don’t support Container Queries will discard those specific statements and declarations. To work around this, the polyfill requires you to duplicate some CSS with an alternative syntax. REACT NATIVE + SWIFTUI React Native + SwiftUI. Bramus! February 14, 2020. Kureev Alexey on how to use SwiftUI Components in an React Native App. Today, we’ll write a proxy that allows developers to use SwiftUI in their React Native applications. The Native SwiftUI Button Component looks like this: struct SwiftUIButton : View { @ObservedObject var props 100VH IN SAFARI ON IOS When working with Viewport Units there’s this longstanding and extremely annoying bug in Safari on iOS where it does not play nice with the vh unit. Setting a container to 100vh for example will actually result in an element that’s a wee bit too high: MobileSafari ignores parts of its UI when calculating 100vh. Image Continue reading "100vh in Safari on iOS" PREVENT OVERSCROLL/BOUNCE IN IOS MOBILESAFARI AND CHROME Prevent overscroll/bounce in iOS MobileSafari and Chrome (CSS only) Bramus! May 2, 2016. UPDATE 2017.12: For non-Safari browsers you can use overscroll-behavior to solve exactly this. Simply apply overscroll-behavior-y: none; on html, body and be done with it. Safari however still requires the workaround detailed below . CONVERT LAMBERT 1972 TO WGS84 Needed to convert LAMBERT 1972 (EPSG:31370) coordinates to WGS84 (EPSG:4326) for a project I’m working on in order to use the coordinates with Google Maps (which uses a SphericalMercator (EPSG:900913) projection).. Took me quite a while to find the needed algorithm, so hereby I’m listing them (and am providing the JavaScript implementation): CHROME 92 — WHAT’S NEW IN DEVTOOLS New in DevTools that ship with Chrome 92 (selection):. A new CSS grid editor (pictured above), similar to the Flexbox editor which shipped with DevTools in Chrome 90; Support for const redeclarations in the Console — Oh, didn’t know I needed this!; Source order viewer; Enhanced CORS debugging support; Lighthouse 7.5 Protocol monitor — Sure would’ve come in handy CSS: INHERIT, INITIAL, UNSET, AND REVERT PPK: Today we’re going to take a quick look at a few special CSS keywords you can use on any CSS property: inherit, initial, revert, and unset. Also, we will ask where and when to use them to the greatest effect, and if we need more of those keywords. Inherit, initial, unset, revert → HOW TO OPTIMIZE ORDER BY RANDOM() Doing a ORDER BY RAND() in MySQL is bad. Very bad. As Tobias Petry details (and Bernard Grymonpon always used to tell at local meetups): Ordering records in a random order involves these operations: Load all rows into memory matching your conditions Assign a random value RANDOM() to each row in the database Sort all Continue reading "How to optimize ORDER BY RANDOM()" CHROME VS. BLINKMACSYSTEMFONT: A WORKAROUND UPDATE 2020-04-28: Good news everyone! A workaround for this bug has landed in Canary (Chromium 84) and will be merged into the M83 release! The workaround described here still applies for Chromium 81. The problem As detailed before there’s this bug that shipped with Chromium 81 which somehow prevents the font-weight CSS property from being Continue reading "Chrome vs.THE CSS PODCAST
The latest episode of the show is about CSS Scroll-Timeline, something I’ve been writing, tweeting, and speaking about a lot ever since I discovered it mid-January (after seeing a tweet by Adam on it).. 🤩 I’m very excited about this episode, especially since my talk covering Scroll-Timeline was picked up and got featured in it.. 🆕 #CSSpodcast on @\scroll-timeline!THE 5 RULES OF ARIA
Directly from the spec, the 5 Rules of ARIA: If you can use a native HTML element or attribute with the semantics and behavior you require already built in then do so. Do not change native semantics, unless you really have to. All interactive ARIA controls must be usable with the keyboard. Do not Continue reading "The 5 Rules of ARIA" MONO ICONS – BRAM.US A simple, consistent open-source icon set designed to be used in a wide variety of digital products. The folks at Mono have released an update to their Icon Set, now totalling 177 icons in total. Available as SVGs (recommended) but can also be included as HOW TO CLEAN UP ASYNC EFFECTS IN REACT Dmitri Pavlutin walks us through properly cleaning up side-effects in React:. From time to time you might have difficulties at the intersection of component lifecycle (initial render, mount, update, unmount) and the side-effect lifecycle (start, in progress, complete). JUNE 2021 – PAGE 2 – BRAM.US I used to drag a little shell script around between each React Native project that cleaned out various cache directories (Watchman Cache, Bundler Cache, Build Artifacts, Yarn Cache, etc.) for me. A better alternative is the react-native-clean-project you can use.. Cleans your React Native project by purging caches and modules, and reinstalling them again. USING DEEPFAKE TO CREATE BETTER LIP-SYNCING Now this is a good use of deepfake: correct the mouth and jaw movements of actors in dubbed video to match the new language track. The result is a (nearly) seamless lip-synced experience. TrueSync is the first AI offering from our neural network film lab. Filmmakers and content owners are now able to visually translate Continue reading "Using deepfake to create better Lip-Syncing" INFLUXDB FLUX: TYPE CONFLICT: INT != FLOAT In a Flux query I was writing I wanted to negate the fetched values using a map function to multiply each value by -1: map(fn: (r) => ({ _value: r._value * -1 })) To my surprise this yielded an error: type conflict: int != float Took me a few Google Search Coupons to realize the Continue reading "InfluxDB Flux: type conflict: int != float" LAZY LOADING JAVASCRIPT USING INTERSECTIONOBSERVER Lazy loading JavaScript using. IntersectionObserver. Bramus! May 10, 2021. Jonathan Neal dissects the Islands Architecture approach behind Astro. During the presentation, Fred demonstrates dynamically loading JS using “Islands Architecture”,a strategy where small HTML placeholders are progressively upgraded with dynamic or interactiveUSEWORKER()
on useWorker () – Use Web Workers with React Hooks. useWorker () is a js library (with typescript support) that allows you to use the Web Worker Web API, through React Hooks. This library allows you to run the expensive function without blocking the user interface, using a simple syntax that makes use of Promise. A FIRST LOOK AT CQFILL, A POLYFILL FOR CSS Unfortunately the polyfill is not a simple drop-in that will work with your existing CSS code. This is because rendering engines that don’t support Container Queries will discard those specific statements and declarations. To work around this, the polyfill requires you to duplicate some CSS with an alternative syntax.THE 5 RULES OF ARIA
Directly from the spec, the 5 Rules of ARIA: If you can use a native HTML element or attribute with the semantics and behavior you require already built in then do so. Do not change native semantics, unless you really have to. All interactive ARIA controls must be usable with the keyboard. Do not Continue reading "The 5 Rules of ARIA" REACT NATIVE + SWIFTUI React Native + SwiftUI. Bramus! February 14, 2020. Kureev Alexey on how to use SwiftUI Components in an React Native App. Today, we’ll write a proxy that allows developers to use SwiftUI in their React Native applications. The Native SwiftUI Button Component looks like this: struct SwiftUIButton : View { @ObservedObject var props 100VH IN SAFARI ON IOS When working with Viewport Units there’s this longstanding and extremely annoying bug in Safari on iOS where it does not play nice with the vh unit. Setting a container to 100vh for example will actually result in an element that’s a wee bit too high: MobileSafari ignores parts of its UI when calculating 100vh. Image Continue reading "100vh in Safari on iOS" CSS :NTH-OF-CLASS SELECTOR To solve my problem, I’d be needing something like a :nth-of-class selector. Unfortunately no such selector exists nor is it currently proposed. What is proposed though, in the upcoming CSS Level 4 Selectors specification (aka “not CSS4” 😜), is an extension to the nth-child/nth-last-child pseudo selectors: the ability to add an extra "of S" part into those selectors. RAY.SO – CREATE BEAUTIFUL CODE – BRAM.US Ray.so – Create beautiful code. Posted by. Bramus! February 18, 2021 Leave a comment. on Ray.so – Create beautiful code. Like Carbon, but a bit different. Ray.so →. PREVENT OVERSCROLL/BOUNCE IN IOS MOBILESAFARI AND CHROME Prevent overscroll/bounce in iOS MobileSafari and Chrome (CSS only) Bramus! May 2, 2016. UPDATE 2017.12: For non-Safari browsers you can use overscroll-behavior to solve exactly this. Simply apply overscroll-behavior-y: none; on html, body and be done with it. Safari however still requires the workaround detailed below . INFLUXDB FLUX: TYPE CONFLICT: INT != FLOAT In a Flux query I was writing I wanted to negate the fetched values using a map function to multiply each value by -1: map(fn: (r) => ({ _value: r._value * -1 })) To my surprise this yielded an error: type conflict: int != float Took me a few Google Search Coupons to realize the Continue reading "InfluxDB Flux: type conflict: int != float" LAZY LOADING JAVASCRIPT USING INTERSECTIONOBSERVER Lazy loading JavaScript using. IntersectionObserver. Bramus! May 10, 2021. Jonathan Neal dissects the Islands Architecture approach behind Astro. During the presentation, Fred demonstrates dynamically loading JS using “Islands Architecture”,a strategy where small HTML placeholders are progressively upgraded with dynamic or interactiveUSEWORKER()
on useWorker () – Use Web Workers with React Hooks. useWorker () is a js library (with typescript support) that allows you to use the Web Worker Web API, through React Hooks. This library allows you to run the expensive function without blocking the user interface, using a simple syntax that makes use of Promise. A FIRST LOOK AT CQFILL, A POLYFILL FOR CSS Unfortunately the polyfill is not a simple drop-in that will work with your existing CSS code. This is because rendering engines that don’t support Container Queries will discard those specific statements and declarations. To work around this, the polyfill requires you to duplicate some CSS with an alternative syntax.THE 5 RULES OF ARIA
Directly from the spec, the 5 Rules of ARIA: If you can use a native HTML element or attribute with the semantics and behavior you require already built in then do so. Do not change native semantics, unless you really have to. All interactive ARIA controls must be usable with the keyboard. Do not Continue reading "The 5 Rules of ARIA" REACT NATIVE + SWIFTUI React Native + SwiftUI. Bramus! February 14, 2020. Kureev Alexey on how to use SwiftUI Components in an React Native App. Today, we’ll write a proxy that allows developers to use SwiftUI in their React Native applications. The Native SwiftUI Button Component looks like this: struct SwiftUIButton : View { @ObservedObject var props 100VH IN SAFARI ON IOS When working with Viewport Units there’s this longstanding and extremely annoying bug in Safari on iOS where it does not play nice with the vh unit. Setting a container to 100vh for example will actually result in an element that’s a wee bit too high: MobileSafari ignores parts of its UI when calculating 100vh. Image Continue reading "100vh in Safari on iOS" CSS :NTH-OF-CLASS SELECTOR To solve my problem, I’d be needing something like a :nth-of-class selector. Unfortunately no such selector exists nor is it currently proposed. What is proposed though, in the upcoming CSS Level 4 Selectors specification (aka “not CSS4” 😜), is an extension to the nth-child/nth-last-child pseudo selectors: the ability to add an extra "of S" part into those selectors. RAY.SO – CREATE BEAUTIFUL CODE – BRAM.US Ray.so – Create beautiful code. Posted by. Bramus! February 18, 2021 Leave a comment. on Ray.so – Create beautiful code. Like Carbon, but a bit different. Ray.so →. PREVENT OVERSCROLL/BOUNCE IN IOS MOBILESAFARI AND CHROME Prevent overscroll/bounce in iOS MobileSafari and Chrome (CSS only) Bramus! May 2, 2016. UPDATE 2017.12: For non-Safari browsers you can use overscroll-behavior to solve exactly this. Simply apply overscroll-behavior-y: none; on html, body and be done with it. Safari however still requires the workaround detailed below . CSS: INHERIT, INITIAL, UNSET, AND REVERT PPK: Today we’re going to take a quick look at a few special CSS keywords you can use on any CSS property: inherit, initial, revert, and unset. Also, we will ask where and when to use them to the greatest effect, and if we need more of those keywords. Inherit, initial, unset, revert → HOW TO OPTIMIZE ORDER BY RANDOM() Doing a ORDER BY RAND() in MySQL is bad. Very bad. As Tobias Petry details (and Bernard Grymonpon always used to tell at local meetups): Ordering records in a random order involves these operations: Load all rows into memory matching your conditions Assign a random value RANDOM() to each row in the database Sort all Continue reading "How to optimize ORDER BY RANDOM()" MONO ICONS – BRAM.US A simple, consistent open-source icon set designed to be used in a wide variety of digital products. The folks at Mono have released an update to their Icon Set, now totalling 177 icons in total. Available as SVGs (recommended) but can also be included as BEGINNER JAVASCRIPT NOTES + REFERENCE Published by Bramus! Bramus is a Freelance Web Developer from Belgium. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since View more posts HOW TO CLEAN UP ASYNC EFFECTS IN REACT Dmitri Pavlutin walks us through properly cleaning up side-effects in React:. From time to time you might have difficulties at the intersection of component lifecycle (initial render, mount, update, unmount) and the side-effect lifecycle (start, in progress, complete). JUNE 2021 – PAGE 2 – BRAM.US I used to drag a little shell script around between each React Native project that cleaned out various cache directories (Watchman Cache, Bundler Cache, Build Artifacts, Yarn Cache, etc.) for me. A better alternative is the react-native-clean-project you can use.. Cleans your React Native project by purging caches and modules, and reinstalling them again.HTML BOILERPLATE
Published by Bramus! Bramus is a Freelance Web Developer from Belgium. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since View more posts 100VH IN SAFARI ON IOS When working with Viewport Units there’s this longstanding and extremely annoying bug in Safari on iOS where it does not play nice with the vh unit. Setting a container to 100vh for example will actually result in an element that’s a wee bit too high: MobileSafari ignores parts of its UI when calculating 100vh. Image Continue reading "100vh in Safari on iOS" YOU MIGHT AS WELL TIMESTAMP IT Jerod Santo: There are plenty of times in my career when I’ve stored a boolean and later wished I’d had a timestamp. There are zero times when I’ve stored a timestamp and regretted that decision. Hear hear! Over the years I’ve come to include 9 meta fields for most of the tables I create: added_at, Continue reading "You might as welltimestamp it"
PURE HTML + CSS CALCULATOR Let this blow your mind: a functioning calculator done using only HTML and CSS by Lillian Kodi. Leverages the Checkbox Hack and the Space Toggle Trick. Crazy. As you may notice the option to divide is missing. I guess it was omitted because / is a character that might throw the parser off due to Continue reading "Pure HTML + CSSCalculator"
INFLUXDB FLUX: TYPE CONFLICT: INT != FLOAT In a Flux query I was writing I wanted to negate the fetched values using a map function to multiply each value by -1: map(fn: (r) => ({ _value: r._value * -1 })) To my surprise this yielded an error: type conflict: int != float Took me a few Google Search Coupons to realize the Continue reading "InfluxDB Flux: type conflict: int != float" LAZY LOADING JAVASCRIPT USING INTERSECTIONOBSERVER Lazy loading JavaScript using. IntersectionObserver. Bramus! May 10, 2021. Jonathan Neal dissects the Islands Architecture approach behind Astro. During the presentation, Fred demonstrates dynamically loading JS using “Islands Architecture”,a strategy where small HTML placeholders are progressively upgraded with dynamic or interactiveUSEWORKER()
on useWorker () – Use Web Workers with React Hooks. useWorker () is a js library (with typescript support) that allows you to use the Web Worker Web API, through React Hooks. This library allows you to run the expensive function without blocking the user interface, using a simple syntax that makes use of Promise. A FIRST LOOK AT CQFILL, A POLYFILL FOR CSS Unfortunately the polyfill is not a simple drop-in that will work with your existing CSS code. This is because rendering engines that don’t support Container Queries will discard those specific statements and declarations. To work around this, the polyfill requires you to duplicate some CSS with an alternative syntax.THE 5 RULES OF ARIA
Directly from the spec, the 5 Rules of ARIA: If you can use a native HTML element or attribute with the semantics and behavior you require already built in then do so. Do not change native semantics, unless you really have to. All interactive ARIA controls must be usable with the keyboard. Do not Continue reading "The 5 Rules of ARIA" REACT NATIVE + SWIFTUI React Native + SwiftUI. Bramus! February 14, 2020. Kureev Alexey on how to use SwiftUI Components in an React Native App. Today, we’ll write a proxy that allows developers to use SwiftUI in their React Native applications. The Native SwiftUI Button Component looks like this: struct SwiftUIButton : View { @ObservedObject var props 100VH IN SAFARI ON IOS When working with Viewport Units there’s this longstanding and extremely annoying bug in Safari on iOS where it does not play nice with the vh unit. Setting a container to 100vh for example will actually result in an element that’s a wee bit too high: MobileSafari ignores parts of its UI when calculating 100vh. Image Continue reading "100vh in Safari on iOS" CSS :NTH-OF-CLASS SELECTOR To solve my problem, I’d be needing something like a :nth-of-class selector. Unfortunately no such selector exists nor is it currently proposed. What is proposed though, in the upcoming CSS Level 4 Selectors specification (aka “not CSS4” 😜), is an extension to the nth-child/nth-last-child pseudo selectors: the ability to add an extra "of S" part into those selectors. RAY.SO – CREATE BEAUTIFUL CODE – BRAM.US Ray.so – Create beautiful code. Posted by. Bramus! February 18, 2021 Leave a comment. on Ray.so – Create beautiful code. Like Carbon, but a bit different. Ray.so →. PREVENT OVERSCROLL/BOUNCE IN IOS MOBILESAFARI AND CHROME Prevent overscroll/bounce in iOS MobileSafari and Chrome (CSS only) Bramus! May 2, 2016. UPDATE 2017.12: For non-Safari browsers you can use overscroll-behavior to solve exactly this. Simply apply overscroll-behavior-y: none; on html, body and be done with it. Safari however still requires the workaround detailed below . INFLUXDB FLUX: TYPE CONFLICT: INT != FLOAT In a Flux query I was writing I wanted to negate the fetched values using a map function to multiply each value by -1: map(fn: (r) => ({ _value: r._value * -1 })) To my surprise this yielded an error: type conflict: int != float Took me a few Google Search Coupons to realize the Continue reading "InfluxDB Flux: type conflict: int != float" LAZY LOADING JAVASCRIPT USING INTERSECTIONOBSERVER Lazy loading JavaScript using. IntersectionObserver. Bramus! May 10, 2021. Jonathan Neal dissects the Islands Architecture approach behind Astro. During the presentation, Fred demonstrates dynamically loading JS using “Islands Architecture”,a strategy where small HTML placeholders are progressively upgraded with dynamic or interactiveUSEWORKER()
on useWorker () – Use Web Workers with React Hooks. useWorker () is a js library (with typescript support) that allows you to use the Web Worker Web API, through React Hooks. This library allows you to run the expensive function without blocking the user interface, using a simple syntax that makes use of Promise. A FIRST LOOK AT CQFILL, A POLYFILL FOR CSS Unfortunately the polyfill is not a simple drop-in that will work with your existing CSS code. This is because rendering engines that don’t support Container Queries will discard those specific statements and declarations. To work around this, the polyfill requires you to duplicate some CSS with an alternative syntax.THE 5 RULES OF ARIA
Directly from the spec, the 5 Rules of ARIA: If you can use a native HTML element or attribute with the semantics and behavior you require already built in then do so. Do not change native semantics, unless you really have to. All interactive ARIA controls must be usable with the keyboard. Do not Continue reading "The 5 Rules of ARIA" REACT NATIVE + SWIFTUI React Native + SwiftUI. Bramus! February 14, 2020. Kureev Alexey on how to use SwiftUI Components in an React Native App. Today, we’ll write a proxy that allows developers to use SwiftUI in their React Native applications. The Native SwiftUI Button Component looks like this: struct SwiftUIButton : View { @ObservedObject var props 100VH IN SAFARI ON IOS When working with Viewport Units there’s this longstanding and extremely annoying bug in Safari on iOS where it does not play nice with the vh unit. Setting a container to 100vh for example will actually result in an element that’s a wee bit too high: MobileSafari ignores parts of its UI when calculating 100vh. Image Continue reading "100vh in Safari on iOS" CSS :NTH-OF-CLASS SELECTOR To solve my problem, I’d be needing something like a :nth-of-class selector. Unfortunately no such selector exists nor is it currently proposed. What is proposed though, in the upcoming CSS Level 4 Selectors specification (aka “not CSS4” 😜), is an extension to the nth-child/nth-last-child pseudo selectors: the ability to add an extra "of S" part into those selectors. RAY.SO – CREATE BEAUTIFUL CODE – BRAM.US Ray.so – Create beautiful code. Posted by. Bramus! February 18, 2021 Leave a comment. on Ray.so – Create beautiful code. Like Carbon, but a bit different. Ray.so →. PREVENT OVERSCROLL/BOUNCE IN IOS MOBILESAFARI AND CHROME Prevent overscroll/bounce in iOS MobileSafari and Chrome (CSS only) Bramus! May 2, 2016. UPDATE 2017.12: For non-Safari browsers you can use overscroll-behavior to solve exactly this. Simply apply overscroll-behavior-y: none; on html, body and be done with it. Safari however still requires the workaround detailed below . CSS: INHERIT, INITIAL, UNSET, AND REVERT PPK: Today we’re going to take a quick look at a few special CSS keywords you can use on any CSS property: inherit, initial, revert, and unset. Also, we will ask where and when to use them to the greatest effect, and if we need more of those keywords. Inherit, initial, unset, revert → HOW TO OPTIMIZE ORDER BY RANDOM() Doing a ORDER BY RAND() in MySQL is bad. Very bad. As Tobias Petry details (and Bernard Grymonpon always used to tell at local meetups): Ordering records in a random order involves these operations: Load all rows into memory matching your conditions Assign a random value RANDOM() to each row in the database Sort all Continue reading "How to optimize ORDER BY RANDOM()" MONO ICONS – BRAM.US A simple, consistent open-source icon set designed to be used in a wide variety of digital products. The folks at Mono have released an update to their Icon Set, now totalling 177 icons in total. Available as SVGs (recommended) but can also be included as BEGINNER JAVASCRIPT NOTES + REFERENCE Published by Bramus! Bramus is a Freelance Web Developer from Belgium. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since View more posts HOW TO CLEAN UP ASYNC EFFECTS IN REACT Dmitri Pavlutin walks us through properly cleaning up side-effects in React:. From time to time you might have difficulties at the intersection of component lifecycle (initial render, mount, update, unmount) and the side-effect lifecycle (start, in progress, complete). JUNE 2021 – PAGE 2 – BRAM.US I used to drag a little shell script around between each React Native project that cleaned out various cache directories (Watchman Cache, Bundler Cache, Build Artifacts, Yarn Cache, etc.) for me. A better alternative is the react-native-clean-project you can use.. Cleans your React Native project by purging caches and modules, and reinstalling them again.HTML BOILERPLATE
Published by Bramus! Bramus is a Freelance Web Developer from Belgium. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since View more posts 100VH IN SAFARI ON IOS When working with Viewport Units there’s this longstanding and extremely annoying bug in Safari on iOS where it does not play nice with the vh unit. Setting a container to 100vh for example will actually result in an element that’s a wee bit too high: MobileSafari ignores parts of its UI when calculating 100vh. Image Continue reading "100vh in Safari on iOS" YOU MIGHT AS WELL TIMESTAMP IT Jerod Santo: There are plenty of times in my career when I’ve stored a boolean and later wished I’d had a timestamp. There are zero times when I’ve stored a timestamp and regretted that decision. Hear hear! Over the years I’ve come to include 9 meta fields for most of the tables I create: added_at, Continue reading "You might as welltimestamp it"
PURE HTML + CSS CALCULATOR Let this blow your mind: a functioning calculator done using only HTML and CSS by Lillian Kodi. Leverages the Checkbox Hack and the Space Toggle Trick. Crazy. As you may notice the option to divide is missing. I guess it was omitted because / is a character that might throw the parser off due to Continue reading "Pure HTML + CSSCalculator"
Skip to content
BRAM.US
A rather geeky/technical weblog, est. 2001, by Bram(us) Van Damme* Home
* Speaking & Training* About
* More
* Back
CHANGE THE MARKER OF A LIST TO ANY CHARACTER WITH LIST-STYLE-TYPE:.
Posted byBramus! October 31, 2019October 31, 2019Posted
inOriginal Content
Tags: css
, lists
Leave a comment on Change the marker of a list to any character with list-style-type:GONE DIVING
Right now I’m packing my bag, as I’m leaving for vacation tomorrow. I’ll be going on a 10 day diving-trip to Tulum (Mexico) with my diving club Bubbledivers . It’s the first time I’m going to Mexico, and the first time I’ll be diving the Cenotes . _Cenote diving in Tulum (All Mexico 365)_
It’s a welcome vacation, as I’ve been really busy the past three months, both on a personal as a professional level: * Getting our first employee up and running _(along with all extra HR-related work that comes along with that, something I wasn’t made for I must admit)_ * Mentoring a student employee * Attending meetups and conferences such as Fronteers Conference and Full Stack Europe _(both of which were wonderful)_ * Creating a new workshop “React from Scratch” and adapting a few talks for Full Stack Europe _(that got me pumped!)_ * Spending time with the family * Gathering and preparing lots of stuff – from a bed and clothes to a card design and domain name – for our soon-to-be-born son _(due January 2020)_ * Attending no less than 4 weddings in 6 weeks time _(!)_ * Catching up with RSS feeds and blogging out interesting links _(I failed at the latter )_ * …and – in between – doing some actual work See you in 11 days, fully recharged! Posted byBramus! October 31, 2019 Posted inOriginal ContentTags: bramus
, diving
Leave a comment on Gone Diving HOW WE BUILT THE WORLD WIDE WEB IN FIVE DAYS At the most recent edition of Fronteers Conference – a conference which I’ve been attending for over 10 yeras by now – Jeremy Keith & Remy Sharp did a two-person talk on their rebuild of the original WorldWideWeb application back in February.
> Join (Je)Remy on a journey through time and space and code as they > excavate the foundations of Tim Berners-Lee’s gloriously ambitious > and hacky hypertext system that went on to conquer the world. I really liked this talk. The two-person format worked remarkablywell.
Also see Jeremy’s writeup on the occasion.
Posted byBramus! October 28, 2019October 28, 2019Posted
inElsewhere Tags: cern, fronteers
, video
, web30
Leave a comment on How We Built the World Wide Web in Five Days MY FAVOURITE GIT COMMIT David Thompson on his favorite Git commit: a single character fix, but with one hell of an explanation: > In a different organisation, from a different developer, this entire > commit message might have been change whitespace, or fix bug, or > (depending on the team’s culture) some less than flattering > opinions about the inventor of the non-breaking space. Instead, DAN > TOOK THE TIME TO CRAFT A REALLY USEFUL COMMIT MESSAGE FOR THE > BENEFIT OF THOSE AROUND HIM. I’d like to step through a few of the > ways I think this is a really good example. My favourite Git commit → Posted byBramus! October 28, 2019Posted
inElsewhere Tags: git, link
Leave a comment on My favourite Gitcommit
PROGRAMMATICALLY ADD SCRIPTS TO `PACKAGE.JSON` WITH `NPM-ADD-SCRIPT` Recently I needed to automate the addition of the addition of a script defined in a package.json‘s scripts section. To do this I used
npm-add-script _(an older, but still functioning project)_, along with the aforementioned npx.
For example, to add a script labelled start with the contents webpack-dev-server --config ./config/webpack.config.babel.js --env.MODE=development --open --hot, I use: npx npm-add-script \-k "start" \
-v "webpack-dev-server --config ./config/webpack.config.babel.js --env.MODE=development --open --hot" \--force
Using the --force I enforce overwriting of any existing start script. Did this help you out? Like what you see?Consider donating.
I don’t run ads on my blog nor do I do this for profit. A donation however would always put a smile on my face though. Thanks! Buy me a Coffee _($3)_ Posted byBramus! October 28, 2019Posted
inOriginal Content
Tags: automation
, npm
Leave a comment on Programmatically add scripts to `package.json` with `npm-add-script` ONE SIMPLE TRICK TO OPTIMIZE REACT RE-RENDERSKent C. Dodds:
> If you’re experiencing React performance issues, try this:>
> * “Lift” the expensive component to a parent where it will be > rendered less often. > * Then pass the expensive component down as a prop.>
> You may find doing so solves your performance problem without > needing to spread React.memo all over you codebase like a giant > intrusive band-aidNice one!
One simple trick to optimize React re-renders → Posted byBramus! October 28, 2019Posted
inElsewhere Tags: javascript, link
, performance
, react
Leave a comment on One simple trick to optimize React re-renders MAKING SENSE OF API RESPONSE TIMES Mathias Hansen, co-founder of Geocodio, on how they analyze their APIresponse times:
> For the longest time, we focused on average response times. It is a > quick and simple metric that you can quickly break down by API > endpoint and time window. While measuring average response > time have their place they can also be deceptive. The problem is that outliers go unnoticed that way, so better is touse percentiles:
> Using percentiles, you will be able to say: “X% of API calls have > a response time of Y milliseconds or less.” A (rather big) query to quickly generate reports like these is included in the post Making sense of API response times → Posted byBramus! October 28, 2019Posted
inElsewhere Tags: link, performance
, statistics
Leave a comment on Making sense of API response times ESNEXT: PROPOSALS TO LOOK FORWARD TO (FULL STACK EUROPE) I’m currently in Antwerp for the first edition of Full Stack Europe , _“The conference for the whole team”_. Earlier this week I guided a workshop “React from Scratch”. After a small Lightning Talk yesterday on “JavaScript Yellow”, I today did a full talk named “ESNext: Proposals to look forward to” > With the yearly ECMAScript releases (ES2015..ES2019) of a lot of > things have changed in JavaScript-land. And even more changes are> ahead!
>
> This talk takes a look at a few of the upcoming ECMAScript features, > which will (hopefully) become part of the ECMAScript Language > Specification in the near future. The slides are up on slidr.io,
and also embedded below:Talk Outline:
* TC39: Info on TC39, what they do, and how they work. * ESNext Proposal: Field Declarations * ESNext Proposal: Pipeline Operator * ESNext Proposal: Optional Chaining * ESNext Proposal: Null Coalescing * ESNext Proposal: Dynamic Imports * ESNext Proposal: Decimal * ESNext Proposal: Cancellation API * ESNext Proposal: Slice Notation * ES2019 Feature: Object.fromEntries() * ESNext Proposal: Pattern Matching* Fin.
Thanks to the organisers for having me, and thanks to the attendees for coming to see me. I hope you all had fun attending this talk. I know I had making it _(and whilst bringing it forward)_ If you are a conference or meetup organiser, don’t hesitate to contact me to come speak at your event.
Posted byBramus! October 25, 2019Posted
inOriginal Content
Tags: esnext
, javascript
, public speaking
1 Comment on ESNext: Proposals to look forward to (Full Stack Europe) DISPLAY THE MACOS DOCK IN TOUCH BAR USING POCK > Display macOS Dock in Touch Bar. It’s free and open source! Not that I’d use it _(I always use the “Expanded Control Strip” to make the Touch Bar show the “regular” keys)_, but I found this one quite interesting and it looks really cute. Installation possible per brew cask: brew cask install pock You can opt to show all Dock icons in there, or only those of the active applications. App thumbnailing also possible. And oh, a Kit to write your own Pock plugins is in the making.Pock →
Pock Source (GitHub) → If you’re running Catalina 10.15, it will ask you for a few permissions. These are explained in the Pock docs.
Posted byBramus! October 24, 2019October 24, 2019Posted
inElsewhere Tags: dock, link ,
macos Leave a comment on Display the macOS Dock in Touch Bar using Pock PURE CSS SCROLL SHADOWS (VERTICAL + HORIZONTAL) A long time ago _(2012!)_, Lea Verou shared a way on how to add scrolling shadows to containers that needs scrolling. Using
those shadows in a scroll container is a great UX thing, as they visually tell the user that the content is scrollable. Her code however, only worked with containers that scroll vertically. Based upon Lea’s code I created a version that also plays nice with horizontal scroll containers. Whilst I was at it, I also introduced CSS Custom Properties, as theyallow easy theming
.
Using the “CSS Variables” --background-color, --shadow-color, and --shadow-size you can configure the result. Still needs some love for Safari though … not 100% perfect in there /// working on it!Hope you like it
Did this help you out? Like what you see?Consider donating.
I don’t run ads on my blog nor do I do this for profit. A donation however would always put a smile on my face though. Thanks! Buy me a Coffee _($3)_ Posted byBramus! October 24, 2019October 25, 2019Posted
inOriginal Content
Tags: css
, scrolling
, ux
Leave a comment on Pure CSS Scroll Shadows (Vertical + Horizontal)POSTS NAVIGATION
1 2 3 …
582 Older posts
ABOUT
Bram.us is the technical/geeky weblog of Bram Van Damme (nicknamed Bramus!), a 35 year old geezer from Vinkt _(Belgium)_. Main topics are web related technologies _(CSS, JS, PHP, …)_, along with other geeky things _(robots, space, …)_ and personal interests _(cartography, music, movies, …)_.More …
STAY UP-TO-DATE
To follow bram.us you can: * Subscribe to bram.us via RSS * Follow bram.us on Twitter * Give bram.us a like on Facebook Next to his ramblings here, you may also follow Bramus himself onTwitter .
ARCHIVES
Archives Select Month October 2019 September 2019 August 2019 July 2019 June 2019 May 2019 April 2019 March 2019 February 2019 January 2019 December 2018 November 2018 October 2018 August 2018 July 2018 June 2018 May 2018 April 2018 March 2018 February 2018 January 2018 December 2017 November 2017 October 2017 September 2017 August 2017 July 2017 June 2017 May 2017 April 2017 March 2017 February 2017 January 2017 December 2016 November 2016 October 2016 September 2016 August 2016 July 2016 June 2016 May 2016 April 2016 March 2016 February 2016 January 2016 December 2015 November 2015 October 2015 September 2015 August 2015 July 2015 June 2015 May 2015 April 2015 March 2015 February 2015 January 2015 December 2014 November 2014 October 2014 September 2014 August 2014 July 2014 June 2014 May 2014 April 2014 March 2014 February 2014 January 2014 December 2013 November 2013 October 2013 September 2013 August 2013 July 2013 June 2013 May 2013 April 2013 March 2013 February 2013 January 2013 December 2012 November 2012 October 2012 September 2012 August 2012 July 2012 June 2012 May 2012 April 2012 March 2012 February 2012 January 2012 December 2011 November 2011 October 2011 September 2011 August 2011 July 2011 June 2011 May 2011 April 2011 March 2011 January 2011 December 2010 November 2010 October 2010 September 2010 August 2010 July 2010 June 2010 May 2010 April 2010 March 2010 February 2010 January 2010 December 2009 November 2009 October 2009 September 2009 August 2009 July 2009 June 2009 May 2009 April 2009 March 2009 February 2009 January 2009 December 2008 November 2008 October 2008 September 2008 August 2008 July 2008 June 2008 May 2008 April 2008 March 2008 February 2008 January 2008 December 2007 November 2007 October 2007 September 2007 August 2007 July 2007 June 2007 May 2007 April 2007 March 2007 February 2007 January 2007 December 2006 November 2006 October 2006 September 2006 August 2006 July 2006 June 2006 May 2006 April 2006 March 2006 December 2005 November 2005 August 2005 July 2005 June 2005 May 2005 April 2005 March 2005 February 2005 November 2004 October 2004 August 2004 July 2004 June 2004 May 2004 April 2004 March 2004 February 2004 October 2003SEARCH
Search for:
Bram.us , Proudly powered by WordPress.Details
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0