Sign in with Twitter

Username:

Preet Shihn @preetster San Francisco

🇨🇦 Interested in Computational Journalism, Creative Coding, Web Tech, Polaroids, Shiny Objects✨

997 Following   949 Followers   6,656 Tweets

Joined Twitter 9/18/08


@threepointone source: https://t.co/mcn5HPfThf @threepointone No one asked, but whatevs: In 18th century, Potatoes were considered exotic in France. A scientist p… https://t.co/8tfvy1WR18The goal is to implement all basic functionality provided by CanvasRenderingContext2D, which includes drawImage() 🎨 https://t.co/Iqnj8q36M7According to YouGov, 2% of Americans consider Canada an enemy. https://t.co/F1ifDFJWQn
Retweeted by Preet Shihn
11/16
2019
@lnplum @swyx was a bit tongue in cheek. seriously, even though there may be some where social pressure plays a rol… https://t.co/VrNP60h6BH @swyx The modern thing in my culture these days, is an arranged first date. Then the couple takes it from there if… https://t.co/ecqCSILdIQ @swyx They actually are a great idea. Data suggest higher success rate ;) @morewry If it’s a mandatory field, there’s no need to uncheck it. If it’s filled in the first place, then most pe… https://t.co/fV61RcGdEGGreat to see more tools using RoughJS! (Sketchviz reached top on HN 2 days ago, apparently) https://t.co/734nk2w5Qm
11/15
2019
There's so much money you can save with a good caching strategy. https://t.co/Ry4sKfuw1R
11/14
2019
"Everybody is fighting a battle they're not tweeting about."
Retweeted by Preet Shihn
11/13
2019
In other news @placecardme is celebrating a little milestone on @IndieHackers today! Cheers to round numbers! 🍻… https://t.co/CQWQcOxh3y
Retweeted by Preet Shihn @redblobgames Nice! I faced this problem recently and used an adapted version of Bresenham where the fill is optimi… https://t.co/29boTU6jeN @matthewcp I use Typescript as my only tool and it works great :P At a company I interned at, they had a team of 3… https://t.co/xYt7NozKoU @matthewcp Uh oh. This gives me make file nightmares.
11/12
2019
@nelsonhu And the supply/demand devaluation with that much goldThe real question these days is, how much taxes does it pay. https://t.co/8JV6gMQOP7 @FogleBird We used to do that using potatoesBummed I'm not at #ChromeDevSummit this year. But I have bugged the venue and will be listening in from an unmarked can outside.
11/11
2019
@matthewcp Works well in ramen @AdamRackis @BrendanEich Just WASM it! *Swoosh logo* @anotheruiguy This was primarily a docs site and don't do releases as such. I usually tie the deploy to a specific… https://t.co/u4KARzNW2D @swyx I have set it up so, actually. Good reminder to be more vigilant in the future though. This was a new one and… https://t.co/IlcQ7cerEf @swyx In this case, it was delayed enough to be picked up almost every time haha. It's actually pretty great. I lov… https://t.co/dBRYIhugS1Pushed to a repo about 20 times in the last hour - all typo fixes in docs. Then realized I had triggered 20 deploys on Netlify 🤦🏽‍♂️
11/9
2019
@matthewcp Chrome 80! A new dawn for web workers.Yes! Been waiting for this for a while now. https://t.co/Em6iSAvS0dOH: In a small company, long meetings is where things get done. As you grow bigger, long meetings turn into a waste of time.Huge step for WASM debugging story https://t.co/iGL2pN7ZXq
11/8
2019
Filling convex and concave polygons - trickier than I thought. https://t.co/f7qKHr94DQAchievement unlocked: Circle and Ellipse approximation. Never thought I'd be implementing rasterization algorithms.… https://t.co/411HkkP4dG
11/7
2019
Academic journals not being free is so frustrating at times. I can't find a free copy of a 27 YEAR OLD paper. Surel… https://t.co/Z1Boi7xglNNext up fitting squares into curved and angled shapes. Also have to think about shadow colors if people want to use… https://t.co/F6IXjil9j9Apparently, I have too much time on my hands, I started writing a graphics engine last night that draws using Lego… https://t.co/V4m4DxbVFU @WestbrookJ Argh that's adding more to the confusion :PA Twitter account that tweets about exactly why something is trending on Twitter. Someone do this please. @czue So excited to see that profit number creep up over time. Especially place cards! @briankardell @justinfagnani Just thinking out loud: Extending SVG elements the main one - Custom svg elements, css… https://t.co/XNMmGAuKad
11/6
2019
@swyx Joke's on you: npm publish ChristmasAlbum.js @zachleat I hate them! but they can be useful when you have a multi component system with inter-dependencies. Keeps… https://t.co/hvKdDKgSKO @swyx There goes my plan to release a Christmas Album?1. I have to say, I thought I'd never want to read another word on Scorsese & Marvel movies. I was wrong. This Scor… https://t.co/kj7R5hOwz8
Retweeted by Preet Shihn @czue It doesn't hijack natural scrolling per say. not implementing my own scroll, this just visualizes the current… https://t.co/HRqL3y0wqq
11/5
2019
@msurguy So you're thinking that this bar just gets wider to become the open menu ? @swyx @markdalgleish Luckily my blog stack looks like this: Eleventy and nothing else. @swyx Hehe. I'm not even sure I want to 'release' it to the public at the moment. Just getting ideas if I want to… https://t.co/WpbcRDyFCH @swyx I guess what I really want to hear if there's a big no-no. "I hate it" because... haha. @swyx Not sure. Any UX concerns? behavior? customization? Interference with existing scrolls? Will you use it?This is inspired by the scroll gutter in code editors, where tokens are marked on the scroll area. https://t.co/WGw0WmGGl0Working on a concept and would LOVE your feedback! Blog/page with a 'smart scrollbar' of sorts. Tells you scroll p… https://t.co/CYBvbURhy9👑 One Script To Rule Them All 👑 Once this script has loaded, any script loaded later will not run. Single handedly… https://t.co/65PonZOAqUDid another CSS-only art. Flemish/baroque inspired. Two weekends. Made for Chrome. https://t.co/d4Z9kkvu1R
Retweeted by Preet Shihn
11/4
2019
@matthewcp That's true. Everyone's running Raspberry PIs rather than smaller micro-controllers. And it's HTTP is pr… https://t.co/QsdeS9ZZwY @matthewcp Also headers like content-length can be optional, i think, which can be used for optimization. Anyways,… https://t.co/OFgrowYYsz @matthewcp Minor things & I am no expert - but non binary headers add significant payload + more parsing logic, kee… https://t.co/xl8c5525HA @matthewcp Sad part is HTTP is not an efficient protocol for iot. (Don't know if HTTP3 solves this) @matthewcp Other than the UI interface to talk to the device?
11/3
2019
Earthquakes with exaggerated depth (and CSS filters of course😁) just had some fun for #30DayMapChallenge. Check it… https://t.co/9rgxYsJA4M
Retweeted by Preet ShihnCORS! There should be a secure way to fetch cross domain data in a web app without CORS. Something that native apps… https://t.co/gBXWozUtjH @pickover And he plugged it in the right side up in the first attempt @asthanaut Nice. It's the raw data behind this publicly available? @swyx yes, need is not the right word. But it does make good DX sometimes. (e.g. Comlink by Surma for web workers is very widely used). @swyx I am working on a lightweight P2P database/store designed especially for web clients. It may need something similar actually.Big News 📣 Apple TV website built w/ over 50 @stenciljs generated web components!! 📺 Media kit and video player l… https://t.co/bgE7gQNPm8
Retweeted by Preet Shihn
11/2
2019
@slightlylate Fingerprinting sucks, but I do wish there was some well supported way in the web to obtain a unique t… https://t.co/2f3URKlHoiI've given it a lot of thought. Here's how I would have implemented React Suspense: @swyx Yes definitely a great use object stores. Or even creating an object layer on top of Databases.Proxies are totally under-utilized in the JS community. (I know Vue uses it. Do any other major frameworks?)There's absolutely no need to create custom message handlers when dealing with RPC - workers, iframes, windows, soc… https://t.co/aHst001UjRAchieving 60fps in the main thread. Every component - does micro task, releases thread, repeat https://t.co/63nBYKWH5sMy quest of putting everything in the world behind a Proxy continues....It's Release Friday, so here you go 📢 🧦🧦 SOCKLY 🧦🧦 ✨ Easiest way to work with an API over WebSockets or a WebRTC… https://t.co/682cLvKJ1K @dalmaer Kinda related: I always wanted a service that would take all the bookmarked articles and blog posts and fa… https://t.co/zzFqpjPmsS @WestbrookJ Ha! I don’t have @matthewcp’s coding or library naming skills. I’m calling it 'sockly' right now which… https://t.co/f0XUmJ8NsT
11/1
2019
I just finished writing a js lib for sockets. gzipped output is exactly 666 bytes. I am not changing anything in the code, ever! @polaroidgirl The battery is likely dead in the pack though, even if not the film :/ Might try this weekend :) @polaroidgirl I have 1 pack of time-zero film in the fridge. What are the chances it will still work? Any tips on increasing the chances?New post: If data is imperfect, why isn't the visual representation of that data imperfect as well?… https://t.co/YTc2bwzmZk
Retweeted by Preet ShihnWriting a JVM in WASM, so I can run my sweet Java applets. @WestbrookJ Not environment friendly enough @swyx I think you are supposed to end these with “, you cowards!”They have these on SF buses (cameras, not thanos lasers) and it has made Uber/Lyft drivers super paranoid. They are… https://t.co/96lVNXLJ58A million particles create a gravitational potential and also move subject to it. Potential computed with FFT via P… https://t.co/mcQp700hEY
Retweeted by Preet ShihnOn Twitter, Jack stated today, Some ads will be going away. The difference is stark Between him and Mark, Who says you can lie if you pay.
Retweeted by Preet Shihn
10/31
2019
@swyx Pfft numbers. They don't mean anything in this post truth era ;) @swyx I think they have only 2 in San Francisco👁 FRESH web experiment for yoou todayy 👀 - 🐍 Inspect This Snake 🐍 - it's SNAKE ! ( your fav game ) but i hid it i… https://t.co/hwBHVLEpHT
Retweeted by Preet Shihn @matthewcp mad skillz
10/30
2019
@matthewcp I know, right! Luckily our bash script's aren't that bad, just a bunch of them to be called in the right order. Still scary.Updating production is scary when you have 20k active websockets open 😳 I'm triple-checking every bash command I type. @prushforth Hello Recursion, my old friendYears ago, I worked on a framework for creating p2p apps for the web. So many amazing ideas but for various reasons… https://t.co/v0UgCFNHdpAir purifier is now an essential appliance in California. Got myself one today. Some of these are quite expensive.
10/29
2019
I've never had to call IRS till today. 2 hours on hold and after being transferred 4 times, the resolution was "we… https://t.co/Q21TUP5W3xVariants include grading the most unisex names and how a name became from a boy's name to a girl's name.Every couple of months I see a dataviz about name popularity in the US over time go viral. It's a dataset that neve… https://t.co/e8Pyw7ZGuN
10/28
2019
1. Two sources have confirmed to the New York Times that Baghdadi’s location in Idlib was confirmed as far back as… https://t.co/YIr8DxZVzh
Retweeted by Preet Shihn @mfpiccolo I enjoyed children of time, and the three body problem series. @briankardell @justinfagnani Really hoping SVG is the next to get extended officially. Not just for customer elemen… https://t.co/3qfAEV8pTESnapchat inspired twitter: 👻 Every tweet disappears after n hours ⏱ Every retweet/like/comment in that tweet’s thr… https://t.co/bqEWdTiG8M
10/27
2019

0