jeremydw

Joined 14 years ago

Karma
224
Submissions
36
Member since
Oct 1
https://blinkk.com https://amagaki.dev
View on Hacker News

Recent submissions

Comment · 3 years ago
Interested in hearing any tales of build vs. buy for CMS. Anyone have anything to report? Medium/large size company usage would be interesting to me.
Comment · 4 years ago
Sounds like someone has never been asked to clone and run software targeting Python 3.x when their system-installed Python is 3.y and the two are incompatible.
Comment · 4 years ago
This comment section itself clearly shows how crazy dependency and environment management is in Python. In this thread alone, we've received instructions to...

- 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.

Comment · 4 years ago
Foo Fighters have always meant a lot to me and I am a huge fan of Taylor Hawkins. I’ve been overloaded at work the past few weeks running my company, and have been heavily enjoying Taylor’s side albums these last few weeks.

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, 1936
Comment · 4 years ago
Personally I'd like it a lot. I think applications half of the screen can make sense. It'd be great to use to place things off screen that I may not need to use actively like Chrome devtools.

Accessibility is an issue though. If i could three finger scroll context horizontally that would be nice.

Comment · 4 years ago
Someone should make a compiler that converts inline styles to Tailwind so then you don't have to learn Tailwind but can still use Tailwind.

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.)

Comment · 4 years ago
I don't think this is quite right.

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.

Comment · 5 years ago
Instead of running Chrome and Chromium, try Chrome and Chrome Beta (or Dev/Nightly)? You can run the same profile in both and have two instances open.
Comment · 6 years ago
Noticed that keyboard navigation (tabbing, focus order, focus rings, etc.) didn't work on this site. Maybe I'm being pedantic but a baseline for good UX should be accessibility.
Comment · 6 years ago
Often, it's not the developers that are at fault. Middle managers, cross-functional people, etc. ask developers to cram garbage into otherwise would-be lean pages. Developers often have no authority to push back, and stakeholders often don't fully understand "why" the garbage they're asking developers to insert into pages is detrimental to the user experience.

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".

Comment · 6 years ago
IDK. I get that it's a hard problem, but it's a solvable one. It's not like it's some equation or law of science that needs to be discovered. It can be solved with money and effort. :\ I get the economics don't work out in normal times for a reserve like this, but that's exactly what an insurance policy (i.e. a federal reserve of medical supplies) is for.

It's just like nukes. We have a stockpile of them that are maintained... nukes are very hard to produce... etc. etc.

Comment · 6 years ago
Comment · 6 years ago
I keep seeing articles like this pop up. During one of the first coronavirus press conferences, the White House invited CEOs from Walmart, Target, CVS, etc. – presumably to show strength of the private sector.

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.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton