3071
Twitter
✨🛰 Q lets you run SQL queries on CSV files. Incredibly useful for data science.
from twitter_favs
yesterday
GitHub - harelba/q: q - Run SQL directly on CSV or TSV files
✨🛰 Q lets you run SQL queries on CSV files. Incredibly useful for data science.
from twitter_favs
yesterday
Twitter
Q: how many api calls do you need to do in to determine if the ☀️ is up?
A: 0
PHP  from twitter_favs
yesterday
Twitter
I’ll save you some time:

- Delete your outline: none rules (then go learn about focus-visible)

- Make every inter…
from twitter_favs
5 days ago
Twitter
Answered a fun question in the discussion repo about the gnarliest utility class I've ever written 😅…
from twitter_favs
6 days ago
Twitter
After years of 2 monitors, followed by a while with the LG 5K, I eventually switched to just my 15” MBP…
from twitter
6 days ago
Untitled (https://www.orbitmedia.com/blog/blogging-statistics/)
No surprise: the tactics that work best are the ones that few bloggers actually do.
from twitter_favs
7 days ago
Twitter
No surprise: the tactics that work best are the ones that few bloggers actually do.
from twitter_favs
7 days ago
Fun Tip: Use calc() to Change the Height of a Hero Component
The concept of Fluid Typography was tossed around a couple of years ago. The main idea is that if you know what size your font is at two different viewport sizes, then you can have the font scaling smoothly between the two sizes. We had a jQuery solution for this in FitText (meant of headings, of course) until the calc() function was shipped giving us a pure CSS solution.

p {
font-size: calc(16px + (24 - 16)*(100vw - 400px)/(800 - …
The post Fun Tip: Use calc() to Change the Height of a Hero Component appeared first on CSS-Tricks.
Article  calc  fluid  type 
9 days ago
Untitled (https://testingjavascript.com/)
🚨 This is not a drill 🚨

🔥 is LIVE!!! 🔥

Learn the smart, efficient way to test any JavaScr…
from twitter_favs
27 days ago
Twitter
🚨 This is not a drill 🚨

🔥 is LIVE!!! 🔥

Learn the smart, efficient way to test any JavaScr…
from twitter_favs
27 days ago
Twitter
RT : Yup...I was 15 yrs. old when I went to adult maximum security prison for 8 years. 🤷🏾‍♂️ Now let’s talk about the te…
from twitter
4 weeks ago
Twitter
"You can’t get fresh, novel, and engaging web experiences, without up-to-date content and development architectures…
from twitter_favs
5 weeks ago
RxJS and Reactive Programming - Animations and visual lessons
Voilà! I released a new version of
More operators + new superpowers 🚀…
from twitter_favs
5 weeks ago
Twitter
Voilà! I released a new version of
More operators + new superpowers 🚀…
from twitter_favs
5 weeks ago
Twitter
Pros:

1. Good music for concentration when you just need to write some code or documentation
2. Drowns our the noi…
from twitter_favs
6 weeks ago
Twitter
😞 Feel helpless? 👉 Your money can help getting progressives into office. Give to the Great Slate. Every penny count…
from twitter_favs
6 weeks ago
Twitter
RT : If you are a new programmer I just want you to know

me and all of my colleagues with years of experience

Google…
from twitter
6 weeks ago
[unknown title]
Right now we’re shifting to:

snake_case = value
humpBack = function
CamelCase = Class
hyphen-case = URL/fs…
from twitter
6 weeks ago
Twitter
I’m gonna start blanket adding the following rule to all my stylesheets:

:focus:not(:focus-visible) { outline: non…
from twitter_favs
6 weeks ago
Twitter
RT : For those of you who consider abortion to be murder, wouldn’t you be on board with having a handful of men castrate…
from twitter
8 weeks ago
Twitter
RT : Looking for my next role! I’m a JavaScript developer specializing in web & mobile development with React and React…
from twitter
8 weeks ago
Twitter
I don't know what it is about CSS that it's proponents demand you never be critical of its language design.

Like I…
from twitter_favs
9 weeks ago
Twitter
Punished by Rewards and Myth of the Spoiled Child, both by are great. The Self-Dr…
from twitter_favs
10 weeks ago
Twitter
Interesting Data: Correlation isn't causation, but Shopify/Wordpress sites receive FAR more Google traffic per doma…
from twitter_favs
10 weeks ago
CLI: improved
"Replacing standard CLI tools with better ones"

cli  tools  from twitter_favs
10 weeks ago
Twitter
As someone who has lost years of her life searching for the right icon (because lord knows I can't draw them, despi…
from twitter_favs
10 weeks ago
Twitter
RT : If you understand this RT and keep it going, no need to say anything else
from twitter
11 weeks ago
Twitter
There are so many useful third-party tools that can be used to improve page performance, so I built an app that cur…
from twitter_favs
11 weeks ago
The Best Mosquito Control Gear for Your Patio or Yard
After 40 hours of research and testing, we’ve determined that the Thermacell Radius Zone Mosquito Repellent is the best option for outdoor mosquito control that doesn’t involve covering your skin in sticky DEET spray. In a category full of marketing hype and debunked methods (including popular options like citronella candles), the Radius stands out by […]
12 weeks ago
Weekly News for Designers № 448
This week’s Designer News (N.448) includes Speed Up Alignment in CSS with Flexbox Utility Classes, a Tool for Collaboratively Editing CSS, Evolving the Firefox Brand, ApexCharts, Argon Design System, Using srcset for Responsive Images, The Age of the Wordless Logo and much more.
The post Weekly News for Designers № 448 appeared first on Speckyboy Web Design Magazine.
Designer  News 
august 2018
Collective #438
Little Big City * Pyxel * Between.js * theDoodleLibrary * Taskbook * The Bullshit Web * UI Sources * CodeZen * Improve your motion
Collective #438 was written by Pedro Botelho and published on Codrops.
august 2018
204 No Content - Evert Pot
204 No Content should be returned by a server when a request was
successful, but there was no response body.
For most APIs, the following two responses are the same:
HTTP/1.1 200 OK
Content-Length: 0

HTTP/1.1 204 No Content

The second format has a slight preference by most API designers. The reason
there is a separate status-code, is because the 204 No Content response can
signal a hypermedia client to not change the document and just stay on the
current ‘view’. For example, a client might ‘save’ a document temporarily and
not refresh to a new page.
Personally I have not really seen this behavior, but I can absolutely see this
as a real possibility for a true HATEOAS client.
However, most of the time, 204 is simply used as a stand-in for 200 without
a response body.
204 No content is sometimes misunderstood by implementors of HTTP APIs to
indicate that the target resource ‘no longer has any contents’ after a
DELETE request. However, other successful requests that don’t have a
response body should also have the 204 No Content status, including PUT
and POST.
References

RFC7231 - 204 status code.
august 2018
The Best Linen Sheets
After reading hundreds of owner reviews of linen sheets, testing samples from 21 highly regarded sets, and sleeping in seven sets on our own beds, we’re confident that Cultiver Linen Sheets offer the best combination of softness, great colors and prints, and the option to buy individual pieces. Cultiver’s Linen Sheets feel durable and we […]
august 2018
Twitter
RT : SOMEONE NEEDS TO SEE THIS

There is an app called Aspire News for people in abusive relationships. It’s disguised a…
from twitter
july 2018
Twitter
My keynote from is now online. I hope you enjoy this new talk: "Everything is Anything: The Unlikely Wis…
from twitter_favs
july 2018
React-pdf
✨ Styled-components in it's now a FACT✨

Check it out for yourself:

More updated…
reactpdf  from twitter_favs
july 2018
Twitter
✨ Styled-components in it's now a FACT✨

Check it out for yourself:

More updated…
reactpdf  from twitter_favs
july 2018
Twitter
🎉 I'm incredibly proud to announce we just launched react-select v2!

It represents my take on how to build powerfu…
from twitter_favs
july 2018
Casa Kids Designed a Triple Bunk Bed Packed with Storage for Kids
Small room for three kids? Here's a triple bunk bed that solves all the problems.
Home  Furnishings  Main  bed  bunk  beds  Casa  Kids  children  furniture  room  storage 
july 2018
Twitter
🚀 Excited to officially release the “early edition” of BaseCode. It has the first 6 chapters with practices for imp…
from twitter_favs
july 2018
Twitter
RT : 💅 A much-needed google suffix for all of my javascript searches
from twitter
july 2018
Twitter
What are the first performance improvements that you look for when going to a web page?
from twitter_favs
july 2018
Twitter
RT : My rapist was hired as the campaign manager on ’s State House campaign. I reported him, and gave Toomey…
from twitter
july 2018
How to create a logo that responds to its own aspect ratio
One of the cool things about <svg> is that it's literally its own document, so @media queries in CSS inside the SVG are based on its viewport rather than the HTML document that likely contains it.
This unique feature has let people play around for years. Tim Kadlec experimented with SVG formats and which ones respect the media queries most reliably. Sara Soueidan experimented with that a bunch more. Jake Archibald embedded a canvas inside and tested cross-browser compatibility that …
The post How to create a logo that responds to its own aspect ratio appeared first on CSS-Tricks.
Link  media  queries  SVG 
july 2018
Server-side Optimization with Nginx and pm-static - SitePoint PHP
This article is part of a series on building a sample application --- a multi-image gallery blog --- for performance benchmarking and optimizations. (View the repo here.)
Let's continue optimizing our app. We're starting with on-the-fly thumbnail generation that takes 28 seconds per request, depending on the platform running your demo app (in my case it was a slow filesystem integration between host OS and Vagrant), and bring it down to a pretty acceptable 0.7 seconds.

Admittedly, this 28 seconds should only happen on initial load. After the tuning, we were able to achieve production-ready times:

Troubleshooting
It is assumed that you've gone through the bootstrapping process and have the app running on your machine --- either virtual or real.
Note: if you're hosting the Homestead Improved box on a Windows machine, there might be an issue with shared folders. This can be solved by adding type: "nfs&quot; setting to the folder in Homestead.yaml:

You should also run vagrant up from a shell/powershell interface that has administrative privileges if problems persist (right-click, run as administrator).
In one example before doing this, we got 20 to 30 second load times on every request, and couldn't get a rate faster than one request per second (it was closer to 0.5 per second):

The Process
Let's go through the testing process. We installed Locust on our host, and created a very simple locustfile.py:
from locust import HttpLocust, TaskSet, task

class UserBehavior(TaskSet):
@task(1)
def index(self):
self.client.get(&quot;/&quot;)

class WebsiteUser(HttpLocust):
task_set = UserBehavior
min_wait = 300
max_wait = 1000

Then we downloaded ngrok to our guest machine and tunneled all HTTP connections through it, so that we can test our application over a static URL.
Then we started Locust and swarmed our app with 100 parallel users:

Our server stack consisted of PHP 7.1.10, Nginx 1.13.3 and MySQL 5.7.19, on Ubuntu 16.04.
PHP-FPM and its Process Manager Setting
php-fpm spawns its own processes, independent of the web-server process. Management of the number of these processes is configured in /etc/php/7.1/fpm/pool.d/www.conf (7.1 here can be exchanged for the actual PHP version number currently in use).
In this file, we find the pm setting. This setting can be set to dynamic, ondemand and static. Dynamic is maybe the most common wisdom; it allows the server to juggle the number of spawned PHP processes between several settings:
pm = dynamic
; The number of child processes to be created when pm is set to 'static' and the
; maximum number of child processes when pm is set to 'dynamic' or 'ondemand'.
; This value sets the limit on the number of simultaneous requests that will be
; served.
pm.max_children = 6
; The number of child processes created on startup.
; Note: Used only when pm is set to 'dynamic'
; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2
pm.start_servers = 3
; The desired minimum number of idle server processes
; Note: Used only when pm is set to 'dynamic'
; Note: Mandatory when pm is set to 'dynamic'
pm.min_spare_servers = 2
; The desired maximum number of idle server proceses
; Note: Used only when pm is set to 'dynamic'
; Note: Mandatory when pm is set to 'dynamic'
pm.max_spare_servers = 4

The meanings of these values aTruncated by Planet PHP, read more at the original (another 3649 bytes)
june 2018
Twitter
RT : Mother: can you please fix my computer

Me: *leans back in chair* well... well ... well ... if it isn’t Miss ‘Get…
from twitter
june 2018
Twitter
How does Google crawl? Botify analyzed 413M pages & 6B Googlebot reqs to find out! See our deck from or m…
SMXParis  from twitter_favs
june 2018
Twitter
RT : If you were a Satanist then you’d know that using your imaginary friends to attack dead people who were obviously s…
from twitter
june 2018
Twitter
Mr. Rogers had an intentional manner of speaking to kids, which his writers called, “Freddish”…
from twitter_favs
june 2018
Twitter
RT : Here's a good thread about questions we don't ask often enough about how we've chosen our society to work.
from twitter
june 2018
Vue templates in JSX — Sebastian De Deyne
RT : Had my doubts at first, but after just a few days I don't wanna go back to templates anymore 🙈
from twitter
may 2018
Twitter
It makes sense, but my problem with event sourcing in general is that it’s almost always a banking exam…
from twitter
may 2018
Twitter
RT : It looked like a gift, but turned out to be a curse.
TweetsFromTenYearsAgo  from twitter
may 2018
Twitter
RT : Our latest package is ready for prime time!

Laravel Visual Diff 👨‍🎨👩‍🎨
Add visual regression testing t…
from twitter
may 2018
Twitter
A lot of git commands are not intuitive. There's a lot of repetitive tasks too. Let's fix both by building a rich…
from twitter_favs
may 2018
Twitter
RT : What if the makers of Fortnite gave you free in-game perks once you shown you’re registered to vote in the 2018 mid…
from twitter
may 2018
Twitter
RT : Another one today... A white woman called the cops on a ‘Suspicious Man With a Baby’ at a park in Washington, DC.…
from twitter
may 2018
Twitter
RT : How different focal lengths affect your image.
from twitter
may 2018
Twitter
RT : He was cooperating. They then slammed him to the ground, knocked out his teeth, and began choking him until he pass…
from twitter
april 2018
Twitter
This would have been useful information last night - thanks !

If you get bitten by the Homebrew chang…
from twitter_favs
april 2018
Twitter
Just whipped up a Laravel validation rule that will let you check if a password has been exposed in a data breach.…
from twitter_favs
april 2018
Twitter
The biggest issue is that while you’re right, a lot of small dev teams have the option of an Electron-based…
from twitter
april 2018
Twitter
RT : My periodic reminder: When you disagree with someone’s position, it’s intellectually lazy to assume evil motive ins…
from twitter
april 2018
« earlier      
address admin adobe ajax amazon analytics and animation apache api app apple application apps art audio automation aws backup blog bootstrap browser buddypress business cache cdn checklater checklist ci clients clothing cloud cmorrell.com cms code collaboration components content conversion css css3 data database deployment design dev development devops diy domain ecommerce editor email explorer facebook feed feedly firefox flash font fonts food for form forms framework frameworks free gallery generator git github google graphics gui hacks hardware home hosting howto html html5 icon icons ifttt image images inspiration interface internet ios iphone itunes javascript jquery js language languages laravel later library link linux list mac mailchimp management marketing media microsoft mobile mozilla music mvc myspace mysql navigation network networking node node.js nodejs objective-c office on online opensource optimization osx payment payments paypal performance phone photo photography photos photoshop php plugin plugins productivity programming project react reactjs read recently reference resource resources responsive rss saas safari saved search security seo server service services shopping slider social software source sql stars startup states stock storage style support svg sysadmin tech technology template templates testing text the theme themes tips tool tools tracking tutorial tutorials tv tweecious twitter typography ui united unix upload usability utilities ux via:popular video videos visualization web webdesign webdev website wordpress wordpress-plugins wp wpmu writing wysiwyg xbmc youtube zend zendframework

Copy this bookmark:



description:


tags: