Starting today, that ends.
We’re releasing Socket Firewall — FREE, zero-config, CLI that blocks malware before it lands on your laptop or CI.
Just run:
npm i -g sfw
sfw npm install lodash
Works for: npm, yarn, pnpm, pip, uv, and cargo.
Starting today, that ends.
We’re releasing Socket Firewall — FREE, zero-config, CLI that blocks malware before it lands on your laptop or CI.
Just run:
npm i -g sfw
sfw npm install lodash
Works for: npm, yarn, pnpm, pip, uv, and cargo.
Today I noticed that capitalization doesn't alway preserve length:
str.toUpperCase().length === 2
Question:
How to map the char position of str to the char position of str.toUpperCase() in a sanely efficient way
Today I noticed that capitalization doesn't alway preserve length:
str.toUpperCase().length === 2
Question:
How to map the char position of str to the char position of str.toUpperCase() in a sanely efficient way
This is building frontend toolkits using JS/Web in embedded Chromium. It's not app development. Experience with non-Web UI helps.
DM me if you prefer "building React" to "using React" 🔥
This is building frontend toolkits using JS/Web in embedded Chromium. It's not app development. Experience with non-Web UI helps.
DM me if you prefer "building React" to "using React" 🔥
* ::before/::after
* <textarea>/<input>
* shadow dom
* <img alt=copyable>
What am I missing?
* ::before/::after
* <textarea>/<input>
* shadow dom
* <img alt=copyable>
What am I missing?
happily we can improve things due to having to do a complete migration which will make things even better
happily we can improve things due to having to do a complete migration which will make things even better
If you can build something for a customer try to take care of answering as many of those questions as possible and give the most relevant answers up front. Same for programming libraries.
WITH o AS ( SELECT * FROM org as o WHERE o.active )
SELECT t .* FROM tasks as t
JOIN o ON o .id = t .org
WHERE t.status = 'ERR'
Always ask WHAT, HOW, and WHY
docs.google.com/presentation...
If you can build something for a customer try to take care of answering as many of those questions as possible and give the most relevant answers up front. Same for programming libraries.
WITH o AS ( SELECT * FROM org as o WHERE o.active )
SELECT t .* FROM tasks as t
JOIN o ON o .id = t .org
WHERE t.status = 'ERR'
Always ask WHAT, HOW, and WHY
docs.google.com/presentation...
WITH o AS ( SELECT * FROM org as o WHERE o.active )
SELECT t .* FROM tasks as t
JOIN o ON o .id = t .org
WHERE t.status = 'ERR'
Always ask WHAT, HOW, and WHY
docs.google.com/presentation...
Socket now retains 30 days of daily scan data, giving you powerful new insight into how your supply chain risks evolve over time.
Socket now retains 30 days of daily scan data, giving you powerful new insight into how your supply chain risks evolve over time.
Socket now retains 30 days of daily scan data, giving you powerful new insight into how your supply chain risks evolve over time.
If your framework updates the DOM fast enough, you might be able to just use one line of CSS to save all the rendering work you need for hidden DOM.
As always, measure.
`content-visibility: hidden` hides elements and skips all the layout and rendering work for them. If Lit renders to these elements it just updates DOM state.
If your framework updates the DOM fast enough, you might be able to just use one line of CSS to save all the rendering work you need for hidden DOM.
As always, measure.
pts = unordered_points(4)
bb = ordered_bounding_box_pts(pts)
// pair points such that the sum of distance between pairings
// is minimized
bestfit_pairs = pair(pts, bb)
pts = unordered_points(4)
bb = ordered_bounding_box_pts(pts)
// pair points such that the sum of distance between pairings
// is minimized
bestfit_pairs = pair(pts, bb)
Reciprocal PR tariff license: for every line of code using this library (even indirectly) you must PR and upstream maintenance fixes of the same number of lines.
Removing lines of code means you have a deficit. You cannot land the PR until lines are added
Reciprocal PR tariff license: for every line of code using this library (even indirectly) you must PR and upstream maintenance fixes of the same number of lines.
Removing lines of code means you have a deficit. You cannot land the PR until lines are added