224 karma · joined Oct 1, 2012 (14y ago) · 36 submissions
1.
7 points · by jeremydw · 6mo ago · 1 comment
comment 4y ago · link · parent
- 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 4y ago · link · parent
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, 1936comment 4y ago · link · parent
Accessibility is an issue though. If i could three finger scroll context horizontally that would be nice.
comment 4y ago · link · parent
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 4y ago · link · parent
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 6y ago · link · parent
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 6y ago · link · parent
It's just like nukes. We have a stockpile of them that are maintained... nukes are very hard to produce... etc. etc.
comment 6y ago · link · parent
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.
comment 6y ago · link · parent
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.
15.
Project Fi Is Now Google Fi(fi.google.com ↗)
134 points · by jeremydw · 8y ago · 220 comments
16.
Waymo early rider program(waymo.com ↗)
6 points · by jeremydw · 9y ago · discuss
comment 10y ago · link · parent
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.
comment 10y ago · link · parent
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.
comment 10y ago · link · parent
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.
20.
Figment VR iPhone case(kickstarter.com ↗)
2 points · by jeremydw · 11y ago · discuss
comment 11y ago · link · parent
So Google.com busts out of cross-domain iframes by default to prevent attacks like this.
comment 12y ago · link · parent
comment 12y ago · link · parent
27.
Android's new logo(android.com ↗)
1 points · by jeremydw · 12y ago · discuss
comment 12y ago · link · parent
I've been developing on GAE since it was released in 2008 and recently became "Google Cloud Platform Certified".
I'm considering offering a "Google App Engine for Startups" class/workshop (at something like General Assembly). The class would primarily include details about the platform's architecture and best practices for building high-scalability apps (like, say, Snapchat) so your app can "scale without thinking twice." Do you think there'd be some interest in a class like this?
comment 12y ago · link · parent
comment 12y ago · link · parent
One of our tag lines is "develop everywhere, deploy anywhere" – as in, sites are file-based and can be developed locally or in the cloud on our web service. Grow can deploy to a variety of servers (S3, GCS, Dropbox, etc.).
The project's not quite ready for use yet but the SDK will be released as an open source project under the MIT License.
Someone submitted my introductory blog post about Grow on HN a few months ago: https://news.ycombinator.com/item?id=6562182 – Right now you can sign up for the mailing list, and when a developer preview is ready I'll send out updates. :) I hope to have something ready in a few weeks, actually.