Peter Cooper Profile Banner
Peter Cooper Profile
Peter Cooper

@cooperx86

Followers
25,180
Following
1,819
Media
3,427
Statuses
79,795

GitHub user #118 . Obsessions include SQLite, Ruby, Python, LLMs, Bach, and the piano. Absurdist.

Woodhall Spa, England
Joined December 2006
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
Pinned Tweet
@cooperx86
Peter Cooper
2 years
Tip: Want to test HTTP timeouts in your library/language/whatever of choice? can not only return any HTTP status you wish, it can take as long as you want to do it too..
Tweet media one
6
57
242
@cooperx86
Peter Cooper
5 years
If you're on macOS and have Homebrew installed, run `brew cask install quicklook-json` and Quick Look will let you look into JSON files properly.
Tweet media one
55
1K
4K
@cooperx86
Peter Cooper
16 days
@HumansNoContext Might be an ex-Navy pilot. This is an aircraft carrier style landing 😂
22
33
4K
@cooperx86
Peter Cooper
5 years
Pair programming level 50
34
994
3K
@cooperx86
Peter Cooper
5 years
It says a lot about me that I found this bit on Computer Chronicles about "changing" a C program to C++ quite funny.
43
465
2K
@cooperx86
Peter Cooper
5 years
The irony is that Cloudflare being down also took down the site I often use to see if things are down.. 😂
Tweet media one
40
401
2K
@cooperx86
Peter Cooper
2 years
To put age into perspective: Grace Hopper first entered computing at age 38, completed the first compiler at age 46, influenced the design of COBOL at age 53, wrote COBOL for the Navy through her 70s, retired from the Navy aged 80 and *then* became a consultant for DEC(!) 😍
14
326
1K
@cooperx86
Peter Cooper
1 year
Now this is cool and useful as heck. Draw something at and it'll show you the closest Unicode matches to what you drew.
10
146
1K
@cooperx86
Peter Cooper
5 years
One of the best technical articles I've seen this year is Unraveling the JPEG: – digs into how the JPEG format works and, more importantly, lets you play with raw JPEG data live and see how it affects the resulting image.
10
289
889
@cooperx86
Peter Cooper
25 days
@DickMackintosh In other words: "The Conservatives no longer represent a true majority view, so if we lose all our tricks to win elections unfairly, we're screwed."
8
29
870
@cooperx86
Peter Cooper
6 years
My take on a meme as a programmer / developer 😄
Tweet media one
10
259
761
@cooperx86
Peter Cooper
9 years
ShellCheck - http://t.co/FCsHWi3w4L - detects fragility, issues, and vulnerabilities in shell scripts/code. http://t.co/xp6cVEiNDc
Tweet media one
11
599
750
@cooperx86
Peter Cooper
6 years
The most mind-boggling optical illusion I've seen in a while. Those horizontal bars really are parallel.
Tweet media one
15
380
688
@cooperx86
Peter Cooper
4 years
Bill Gates: "Y'know, when you work as hard as I do to create a great spreadsheet, you want a beer that won't fill you up."
13
187
619
@cooperx86
Peter Cooper
10 years
What it's like reading someone else's source code (credit: http://t.co/lnnZE5D7Na) http://t.co/ed71YnCqUk
Tweet media one
25
713
556
@cooperx86
Peter Cooper
10 years
Extreme Pair Programming (source: http://t.co/HTroeDVpCI) http://t.co/2xVNM8ybKn
Tweet media one
27
1K
568
@cooperx86
Peter Cooper
11 days
@CJFDillow My bet is to make the in-laws proud. They're billionaires. He was successful but not that successful. Leading a minor world power is a pretty big tick in the son-in-law box.
21
18
575
@cooperx86
Peter Cooper
2 years
Soothing playlist required today.. yes, it was real. No, I don’t own it, alas.
Tweet media one
11
143
535
@cooperx86
Peter Cooper
7 years
Somehow I've gone 20 years using Unix without knowing `apropos` and`whatis`. Here they are in case you're in the same boat. `apropos` searches man pages for keywords, `whatis` shows descriptions of commands that match.
Tweet media one
15
252
527
@cooperx86
Peter Cooper
8 years
Gotta admit I didn't realize this was actually recommended practice with HTML5. More at
Tweet media one
29
294
464
@cooperx86
Peter Cooper
4 years
Working with JSON a lot lately. I love `jq` for querying JSON, but what about exploring it tree-style? fx – – does the trick! See my quick demo here.
5
98
464
@cooperx86
Peter Cooper
27 days
@JohnnyMercerUK Normal people don't advocate for other people's children to do unpaid labour under threat of sanction, mate.
3
14
403
@cooperx86
Peter Cooper
4 years
Discovered `bmon`, a neat tool for monitoring network traffic/bandwidth. For Linux and Mac, but on the latter `brew install bmon` and you're all set:
6
97
358
@cooperx86
Peter Cooper
7 years
One for the tiny intersection of compsci and meme geeks.
Tweet media one
17
124
338
@cooperx86
Peter Cooper
6 years
TIL that if you use Skype in a podcast or livestream, you have to give Skype credit at least every 15 minutes: .. I've heard this occur zero times ever 🤣
Tweet media one
43
160
328
@cooperx86
Peter Cooper
5 years
Me every day my MacBook Pro's keyboard continues to work as expected
Tweet media one
10
34
329
@cooperx86
Peter Cooper
5 years
I'd love to go to a developer event that was entirely "show and tell". Tool, library, API, pet project, whatever.. you gotta show off something you actually built. No stage-based talks, more science fair style. Does this exist?
27
31
298
@cooperx86
Peter Cooper
4 years
The random lockdown eBay purchases have begun. Today’s arrival, a retro @Microsoft badge from the 80s 😂
Tweet media one
7
30
280
@cooperx86
Peter Cooper
3 years
Love how 80s this programming book cover is.
Tweet media one
11
40
280
@cooperx86
Peter Cooper
5 years
I really liked how the BBC News had an HTML list where the bullets were joined by a line. So I reverse engineered it and put a simple example on @CodePen if you want to do it too:
Tweet media one
6
50
267
@cooperx86
Peter Cooper
6 years
These 4 graphed (x,y) datasets have the same mean x, mean y, and almost the same x variance, y variance, and linear regression, yet look totally different when plotted! They're called Anscombe's quartet and were designed to reinforce the importance of graphing data in analysis.
Tweet media one
5
138
261
@cooperx86
Peter Cooper
8 years
A future programmer in the making? /via
Tweet media one
7
189
259
@cooperx86
Peter Cooper
5 years
Just found a video of Microsoft sharing their latest developer tools and dev-related news in 1993 😆 Pure gold!
Tweet media one
17
99
260
@cooperx86
Peter Cooper
28 days
@LeeDavidEvansUK Let’s simplify: Is it a policy that would force people to either join the military or perform unpaid labour entirely by virtue of their age? If so, no, we get it.
2
11
255
@cooperx86
Peter Cooper
28 days
@iainmartin1 They have different social bargains. People invest more in society when society invests in them with free education, good healthcare, good unemployment safety net, etc. The UK is more libertarian historically so I’m surprised you find it odd.
4
10
258
@cooperx86
Peter Cooper
28 days
@GarethBStreeter You were forced to either do unpaid labour or join the military when you were 18? Sorry to hear that. Forcing people to do things is not the same as doing it with their consent.
3
3
253
@cooperx86
Peter Cooper
5 years
I've worked out how to colorize <audio> elements that use the default controls - use CSS filters to apply a sepia effect, then adjust the hue from there! for the code.
Tweet media one
6
33
230
@cooperx86
Peter Cooper
10 years
Two Twitter image bots have got themselves into a rather interesting automated loop: - pretty!
18
381
227
@cooperx86
Peter Cooper
11 years
Loving these form submit buttons that include loading state animations/transitions: http://t.co/hThkzJeFYZ
7
157
228
@cooperx86
Peter Cooper
2 years
DigitalOcean revealed in their latest SEC filing that they bought CSS Tricks for $4m: – interesting because it's not often you see a number around dev industry media acqusitions.
10
34
222
@cooperx86
Peter Cooper
1 year
@fesshole You don't deserve a song for that.
Tweet media one
3
0
213
@cooperx86
Peter Cooper
6 years
Oracle's cookie/privacy modal takes *48 seconds* to get past when you try to go to one of their blog posts. It's such a bizarre experience I had to record it in real time for you here:
34
102
219
@cooperx86
Peter Cooper
6 years
@mhoye I interviewed for head of digital at the BBC when I was 18 because a recruiter messed up and I thought it'd be a laugh.
1
1
211
@cooperx86
Peter Cooper
4 years
I'm so impressed how easy it is to deploy "serverless" Ruby (yes, Ruby!) functions on @zeithq I just had to show it off in a 65 second video (including customizing memory and installing gems).
6
34
202
@cooperx86
Peter Cooper
29 days
@runtleywood @darrenmccaffrey Fantastic, we look forward to hearing about your volunteering over the next year.
2
0
188
@cooperx86
Peter Cooper
5 years
With an appearance by now-CEO @satyanadella at the 1hr45m mark: 😄
Tweet media one
4
43
175
@cooperx86
Peter Cooper
7 years
If you ever use the "nano" text editor on Linux/Mac/whatever, this is a neat little "xyzzy"-themed easter egg:
Tweet media one
4
52
171
@cooperx86
Peter Cooper
11 years
The reality of being a programmer in animated GIF form: http://t.co/zjtm4EliyF (via /r/ProgrammerHumor)
4
427
168
@cooperx86
Peter Cooper
28 days
@fesshole You can’t refuse. She’ll make you come.
2
0
169
@cooperx86
Peter Cooper
4 years
Ordered a Raspberry Pi 400 yesterday. It's already here and even better it has Ruby out of the box 😆
Tweet media one
8
9
169
@cooperx86
Peter Cooper
12 days
@RichardJMurphy I don't get his argument at all. Okay, yes, the self employed have less of a safety net so should pay less.. but they do. They don't pay the 13.8% employer NICs employees indirectly pay, for starters.
13
20
160
@cooperx86
Peter Cooper
5 years
Anyone noticed a change in Chrome's autosuggestions? It seems to favor recent searches over long-term suggestions now. For example, just "t" used to be enough to make Twitter first, now it's some random search starting with "t" I did yesterday 😬
25
16
154
@cooperx86
Peter Cooper
9 years
A Material Design-style theme for Sublime Text 3: http://t.co/Cd9RDTkVPi
Tweet media one
3
60
153
@cooperx86
Peter Cooper
10 years
Why Breaking Bad wasn't set in Europe: http://t.co/HGyQCmGbjO
Tweet media one
14
345
149
@cooperx86
Peter Cooper
7 months
@matthewcp Next you're gunna tell me I don't need to use <THEAD> and <TBODY> in my table layouts or something.
4
0
149
@cooperx86
Peter Cooper
5 years
Fontanello - - is a favorite browser extension of mine. Right click on any text to see what font/color/weight it is - quicker than opening DevTools.
0
39
146
@cooperx86
Peter Cooper
1 year
I wonder if Twitter could be experiencing an increase in scraping because, oh I dunno, they kicked everyone off the API that was more efficient for that task? 🤔
4
27
146
@cooperx86
Peter Cooper
5 years
Just discovered 'hyperfine' – – a command line benchmarking tool that supports warmups, multiple runs, has great output info, etc. An easy `brew install hyperfine` on macOS.
2
24
141
@cooperx86
Peter Cooper
8 years
Don't take this too seriously, but.. OOP theory vs OOP reality. /via
Tweet media one
5
188
141
@cooperx86
Peter Cooper
3 years
Found a photo of my dad programming a Commodore VIC-20 forty years ago. Look at the size of the screen (!!) 😂
Tweet media one
7
8
142
@cooperx86
Peter Cooper
5 years
TIL if you set the TMOUT environment variable at the shell, if you don't do anything for that number of seconds, the session will end automatically! Handy.
3
39
140
@cooperx86
Peter Cooper
1 year
Impressed with @flydotio 's "V2" offering so far. Your app can scale down to 0 instances but then start up (quickly) on demand. Think Heroku, except faster, cheaper, *regional*, and you only pay for the seconds the app runs. It's like serverless, edge, and VMs having a party.
6
11
140
@cooperx86
Peter Cooper
2 years
@NYT_first_said For anyone wondering what's going on here, in the original tweet, the word "cardio" is followed by the invisible Unicode character U+200C ZERO WIDTH NON-JOINER (‌) – the bot seems to detect it as a unique "word" because of this.
5
4
136
@cooperx86
Peter Cooper
4 years
Just been sent a book to review by my friends over at @nostarch - Black Hat Go - def one of the best gopher drawings I’ve seen 😁
2
18
132
@cooperx86
Peter Cooper
14 years
Wanna hijack other people's Facebook/Twitter/etc sessions on your wireless network? Oh dear: http://codebutler.com/firesheep
1
130
125
@cooperx86
Peter Cooper
5 years
I'm not going to post these all day, but someone on Hacker News has found another cute .dev forward: => MDN
2
36
117
@cooperx86
Peter Cooper
5 years
macinbox is a Ruby-powered tool that gets a clean macOS Mojave install imaged up and running in VirtualBox, Parallels, or VMware using Vagrant:
Tweet media one
3
30
123
@cooperx86
Peter Cooper
8 years
Are there any programmers you enjoy watching on YouTube? (Ideally doing/demonstrating rather than chat/discussions.) Looking for more :-)
26
33
122
@cooperx86
Peter Cooper
4 years
htop 3.0 is out.. it's a great interactive process viewer for Linux, macOS, etc: .. it's also interesting to see the maintainer reflect on the stresses of running such a project for 15 years:
Tweet media one
2
41
120
@cooperx86
Peter Cooper
5 years
Does anyone else remember copying files around computers in your house using a parallel port cable and LapLink? 😂
Tweet media one
22
4
120
@cooperx86
Peter Cooper
5 years
So WHY am I using Windows NT? I wanted to play with Microsoft's Frontpage Express, a free Web page editor from 1997. It still works well and the resulting HTML isn't *too* terrible!
9
14
114
@cooperx86
Peter Cooper
8 years
Internet "cheatsheet" from 1993, via
Tweet media one
6
80
115
@cooperx86
Peter Cooper
6 years
TIL Microsoft Research has its own podcast featuring a different researcher each week: - unsurprisingly CS heavy and features amazing folks like Dr. Simon Peyton Jones
2
31
117
@cooperx86
Peter Cooper
4 years
Reading Sid Meier’s memoirs and there’s a great quote of his thinking in 1982: “Digital gaming had already peaked, as far as I was concerned - I mean, could the human eye even see more than 128 colors?” 1982! 😂
Tweet media one
5
30
116
@cooperx86
Peter Cooper
14 days
@peterrhague We have the culture, language and soft power to innovate, build and share. We lack the home market size to commercialise and scale well. We were just starting to get the hang of the EU for the latter but then.. old racist people.. 🤷‍♂️
25
3
114
@cooperx86
Peter Cooper
7 years
The first thing I had to use the Touch Bar for, of course.. 😁
9
31
108
@cooperx86
Peter Cooper
5 years
15
54
112
@cooperx86
Peter Cooper
2 years
@disclosetv me misreading this as "1 hour" on first read
6
0
103
@cooperx86
Peter Cooper
4 years
@THEKarlaPacheco @vmbrasseur If there's not a band called "Twee Looking Adults" who sound a bit like Belle & Sebastian out by the end of 2020, I'm going to be upset 😂
1
0
108
@cooperx86
Peter Cooper
9 years
Someone hooked up a bot to a 1TB corpus of Reddit comments to "ask" it questions. So I have. http://t.co/el01pYpVmH
Tweet media one
5
106
104
@cooperx86
Peter Cooper
7 years
@LEGO_Group It's really a noun adjunct, no? Like in "chicken soup", chicken is not an adjective but a noun that modifies the noun phrase.
4
10
104
@cooperx86
Peter Cooper
11 years
Run "traceroute 216.81.59.173" if you want a laugh (takes 10-15 hops to get going).
8
261
104
@cooperx86
Peter Cooper
8 years
I hope learning to program to benefit people's existing jobs becomes more common than doing it to become a full time software developer.
6
62
102
@cooperx86
Peter Cooper
22 days
@ToryVote_ People in west London were stupid enough to vote for Boris as their MP so they need more convincing.
0
0
103
@cooperx86
Peter Cooper
5 years
Want to link to paywalled Medium articles in newsletters, your blog, etc. without annoying your readers? Here's how! Paste the URL in a Twitter DM to yourself, copy the resulting URL, and use that instead. No paywall nonsense appears.
5
29
99
@cooperx86
Peter Cooper
6 years
👏 AWS Lambda finally has native support for Ruby! This is not a drill! 😄 #serverless
Tweet media one
3
49
101
@cooperx86
Peter Cooper
6 years
Glad there's an "optout" button on Reddit's redesign. I just ended up on it, and.. wow 🤢 It's not the visuals, it's slower and less immediate than the old Reddit. You 👏 Don't 👏 Have 👏 To 👏 Render 👏 Everything 👏 With 👏 React. Compare perf #s old vs new site..
Tweet media one
6
26
98
@cooperx86
Peter Cooper
3 years
Sorting through my dad’s lifetime collection of gadgets and gizmos and how about a 32 year old mouse mat that flips over to be a cutting board?
Tweet media one
Tweet media two
14
6
99
@cooperx86
Peter Cooper
4 months
@wesbos I live near his hometown - there's a statue of him outside the train station
Tweet media one
5
1
95
@cooperx86
Peter Cooper
29 days
@anthonyboutall It's a shame, but I'd welcome every private school going under versus your party's national service plan coming to fruition, so fingers crossed you lose.
1
2
99
@cooperx86
Peter Cooper
2 months
I wonder.. are there more Ruby developers who are billionaires than for any other programming language? Think founders of GitHub, HashiCorp, and Shopify, at least..
17
8
100
@cooperx86
Peter Cooper
5 years
If you listen really carefully, you can hear 1001 nerds bashing out "Cloudflare being a single point of failure for half of the Internet is a bad idea!" hot take blog posts.
6
10
97
@cooperx86
Peter Cooper
8 years
400,000 GitHub repositories analyzed for the use of tabs vs spaces:
Tweet media one
12
115
97
@cooperx86
Peter Cooper
13 years
Why the Oxford/Harvard comma is important (funny pic): http://t.co/dquR1oTI
5
321
98
@cooperx86
Peter Cooper
25 days
@_HenryBolton Pressing teenagers into service is also the sort of thing Putin does.
7
8
93
@cooperx86
Peter Cooper
9 years
"your account has a debt of $755.{rand(10,99)}}" .. good old virus spam mails.
Tweet media one
7
78
84
@cooperx86
Peter Cooper
7 years
Apparently Trello's revenue is $4m, got acquired for $425m. Can't blame anyone for selling at a 106x multiple 😆 Nice work if you can get it!
8
40
92
@cooperx86
Peter Cooper
7 years
Politics aside, I have to admire how manipulative this unsubscribe page UI is:
2
45
93
@cooperx86
Peter Cooper
5 years
TIL that jet planes occasionally fly with an extra engine attached as a cheap way to transport the engine to where it's needed (rather than package it as cargo).
Tweet media one
8
10
93