jeremydw | 3 years ago | on: Ask HN: What's a build vs. buy decision that you got wrong?
jeremydw's comments
jeremydw | 3 years ago | on: Learning Go as a Python Developer: The Good and the Bad
jeremydw | 3 years ago | on: Learning Go as a Python Developer: The Good and the Bad
- poetry
- "Just pin the dependencies and use Docker"
- pip freeze
- Vendoring in dependency code
- pipreqs
- virtualenv
This is simply a mess and it's handled much better in other languages. I manage a small agency team and there are some weeks where I feel like we need a full-time devops person to just help resolve environment issues with Python projects around the team.
jeremydw | 4 years ago | on: Taylor Hawkins, Foo Fighters drummer, dies at 50
A friend sent me this poem to help cope with this news, entitled “Encounter”…
—
We were riding through frozen fields in a wagon at dawn. A red wing rose in the darkness.
And suddenly a hare ran across the road. One of us pointed to it with his hand.
That was long ago. Today neither of them is alive, Not the hare, nor the man who made the gesture.
O my love, where are they, where are they going The flash of a hand, streak of movement, rustle of pebbles. I ask not out of sorrow, but in wonder.
Wilno, 1936jeremydw | 4 years ago | on: Cardboard: a scrollable tiling window manager
Accessibility is an issue though. If i could three finger scroll context horizontally that would be nice.
jeremydw | 4 years ago | on: Tailwind CSS v3.0
For example it can convert `<div style="background-color: white">` to `<div class="bg-white">`. Perfect! (Yes, "bg-white" is the Tailwind way to make the background color white.)
jeremydw | 4 years ago | on: Tailwind CSS v3.0
I'm not a tailwind user but I think the following:
``` <div class="flex">Foo</div> <div class="flex">Bar</div> <div class="flex">Baz</div> ```
gets generated to:
```html <div class="flex">Foo</div> <div class="flex">Bar</div> <div class="flex">Baz</div> ```
```css .flex { display: flex; } ```
If we replaced this with `style` attribute usage, you'd get:
``` <div style="display: flex">Foo</div> <div style="display: flex">Bar</div> <div style="display: flex">Baz</div> ```
Assuming the content is gzipped when transferred (a good assumption), the non-Tailwind version's payload is smaller because there are no separate CSS definitions.
Your statement is true in the general sense (a page can easily load unused CSS with other CSS/styling approaches) but I don't think it's correct to say that using Tailwind results in smaller payloads vs. using style attributes.
jeremydw | 5 years ago | on: Google has turned off access to sync features for Chromium
jeremydw | 5 years ago | on: Laws of UX
jeremydw | 5 years ago | on: Google no longer providing original URL in AMP for image search results
With AMP, the little badge (the verification), serves as a constraint for developers, but mostly for business stakeholders. The conversation of "I can't do that, because it's simply not compatible with AMP" is way easier than "I can't do that, because it will make the page slow".
jeremydw | 6 years ago | on: Doctors Say Shortage of Protective Gear Is Dire
It's just like nukes. We have a stockpile of them that are maintained... nukes are very hard to produce... etc. etc.
jeremydw | 6 years ago | on: Doctors Say Shortage of Protective Gear Is Dire
Planet Money did a great episode recently on how the US government is currently paying for a year-round supply of chicken eggs to produce vaccine for a pandemic flu. (https://www.npr.org/transcripts/812943907).
I understand this situation is different from eggs, as an egg not used for a vaccine can be converted to feed, but in the end it's all about money. It's like an insurance policy. I pay for auto insurance but don't use it until I really need it.
jeremydw | 6 years ago | on: Doctors Say Shortage of Protective Gear Is Dire
On the flip side, why can't we enlist money and resources from the private sector to quickly fix some of these supply issues? For example:
- Convert car factories to produce masks and ventilators.
- Convert construction companies to build makeshift hospitals. (Or use hotels.)
- Use tech companies to improve national information access with regards to CV19 testing and track and help patients using their software on their phones to help with contact tracing.
I realize that it's not as simple as pressing a button and instantly converting a factory that makes Teslas into one that makes masks. I also realize there are potential privacy concerns with nationalized information tracking.
But, we're about to enter an unprecedented public health crisis. We have resources that can lessen the impact if we just align and get behind this direction.
I can't help but think we could do more and not just wait for the shortage to happen, and for the curve to spike.
We stockpile enough nukes to basically destroy the whole Earth (exaggeration but you get the idea), but we can't stockpile some ventilators and face masks in case of a pandemic? You can't fight a pandemic with diplomacy. At least you can fight a foreign enemy with that.
jeremydw | 9 years ago | on: Chromium is no longer supported for Chromecast
My opinion: I feel like this is a pro-user move with an unfortunate side effect of breaking/unsupporting an extension. If I just want to cast to my TV why should I have to hunt for an extension. I'd rather it "just work" via a context menu in the browser.
jeremydw | 10 years ago | on: Facebook Rights Manager
That said, I'm sure WP VIP will break down when Marketing's needs increase – such as when Marketing needs to do internationalization, or perform a timed launch of a new site/content update.
jeremydw | 10 years ago | on: Gogs – Go Git Service
For example, PyInstaller itself changes drastically from version-to-version, and I've previously had to spend hours picking away at why "compiled" Grow worked before but no longer works post-PyInstaller updates.
Overall happy though, and much happier to write in Python and distribute a single executable without requiring folks to muck around with Python versions, pip, dependencies, etc.
jeremydw | 10 years ago | on: Google Launches Sidewalk Labs
jeremydw | 10 years ago | on: Apple iPad Gets Split-Screen Multitasking in iOS 9
jeremydw | 11 years ago | on: elgooG
So Google.com busts out of cross-domain iframes by default to prevent attacks like this.
jeremydw | 11 years ago | on: Google Compare Auto Insurance