5,408 karma · joined May 1, 2013 (13y ago) · 961 submissions
comment 3y ago · link · parent
Well, same way that notebooks are a REPL that remembers things, it's helpful to rapidly tweak parameters in your API calls, flick a menu to point to a different environment, retry requests on your own local instance, etc. Then when you have it all ready, you just save and it's shared with your team, and the non-developers don't even need to learn what a virtualenv is. Even your CI can take advantage of it. Well, it could.
There's "nothing" Postman provides that you can't do with a python script and git, but it lets you move much faster and have a tighter iteration loop.
That said, paying $10/user/mo just to effectively share a bunch of json definitions was always a plan that only made sense with corporate credit cards. With this added artificial restriction, my team is going to be looking for other alternatives.
Dropbox gave a similar degree of convenience and that's why they took off. But once every cloud provider figured out they too can sync files in the cloud, the novelty became a commodity. This plan reeks of Postman being out of actual feature ideas so in their desperation they're just milking whatever they can get out of their corporates through artificial restrictions before "a cloud-sync'd API runner" becomes a software commodity and the lights go out.
comment 3y ago · link · parent
It's almost a trite recommendation because his tidbits are sampled all the time in electronic or meditation music, but they're sampled all the time because he's known for opening western minds up to eastern mysticism in a very down-to-earth approachable, comparative, compassionate, and often humorous way. Who knew that philosophy can make you laugh.
His lectures just show you a different way of looking at the world, and it's a breath of fresh air for the soul.
comment 3y ago · link · parent
90's were nice.
comment 3y ago · link · parent
This is such a sad viewpoint on the world when biodiversity is valued only if it is commercially exploitable. See other threads on what "home in commerce" really means: optimizing for transportability and uniformity at the expense of flavor and nutrition.
Late to the heirloom party, but this summer a friend offered me a cheese and tomato sandwich from her garden. I originally wasn't interested because tomatoes were always kinda meh for me. But after some encouragement I went for it and after the first bite, I realized I just never actually had a truly juicy and flavorful tomato in my life.
When you say something needs to be commercially successful to be viable, be careful what you're optimizing for. Our commercial agriculture systems don't always optimize for the things you're sold in the slick marketing commercials. There's alternative commerce systems out there, but they look like a farmer's market where you might be surprised by a variety you've never tasted before and might have a few blemishes rather than the scale of a national supermarket where both coasts and everyone in between always gets the same consistent but bland red delicious.
comment 3y ago · link · parent
That's exactly the goal here: make grid export uneconomical so you need to pair solar with a storage system that banks your afternoon excess into self-consumption once the sun goes down and the duck curve kicks into peak territory.
comment 4y ago · link · parent
Author links to a json file https://meat.io/oksolar.json but haven't done manual jetbrains theming so hoping more experienced eyes have taken a stab at it.
comment 4y ago · link · parent
> “We encourage policymakers to consider utility rates that encourage day charging and incentivize investment in charging infrastructure to shift drivers from home to work for charging,” said the study’s co-senior author, Ram Rajagopal
comment 4y ago · link · parent
> How are people going to charge their cars during commutes?
Come on, you're saying most commutes are "late morning and early afternoon"? I too would like a job where my commute in is at 11 and my commute home is at 2.
Rather than spreading EV FUD, can we instead discuss what the article is actually talking about, like installing charging infrastructure in daytime parking lots so we can take better advantage of the cheap, plentiful, and often curtailed solar energy?
comment 4y ago · link · parent
For someone hanging out on hackernews with the name Christensen, I imagine you would have stumbled upon The Innovator's Dilemma by now.
Tiny competitors disrupting established incumbents by playing a different game that is fundamentally incompatible with the incumbents' business model is the very story of tech disruption.
comment 4y ago · link · parent
Copy-pasting a template and just not being aware of accessibility and functionality requirements is most likely explanation here. Or devs being given 4k UHD monitors and never looking at their work on a small laptop.
comment 4y ago · link · parent
All this is just a disingenuous "the industry can't develop because the supporting infrastructure isn't there", while if you look at their actions, they've been building the supporting infrastructure along with the developing industry.
It looks like disingenuous FUD because it seems like the market is saying they've bet on the wrong kind of infrastructure.
comment 4y ago · link · parent
Come on, all of these are things that grow WITH the EV industry as the EV industry develops.
Given how much Toyota has helped the hydrogen industry develop hydrogen infrastructure over the last decade as they put all their eggs into the hydrogen bucket, they very much know all this.
comment 4y ago · link · parent
CBT is often about reframing or "reconstrueing" a negative or damaging viewpoint into something less emotionally charged. Venting is just watering and reinforcing the emotionally charged pathways -- the "gasoline on a fire" analogy.
comment 4y ago · link · parent
The point of this urban design trend is to not think of these regions as destinations, but rather as places you live in and so can avoid the car trips in the first place. If you can walk there, why is parking relevant?
Is it friendly towards the people who live in suburban housing developments who need a car to get anywhere? No. But those people chose to live in a place where you need a car to get everywhere, so they shouldn't be surprised their lifestyle isn't accommodated in districts that have made a conscious decision to be less car-centric.
"But only the rich people can afford to live in the cute small downtown!" Great... that's telling you something about the market desirability of small, dense walkable regions. Why don't we get rid of more zoning codes and build more places that the market demands?
comment 4y ago · link · parent
I own a car, I’m not a “destroy all cars” guy. I just don’t want it to be the only option. The American suburban experiment has resulted in the least active, the least healthy, the most indebted, the most isolated, and the loneliest generation. Yes, of course there’s many other factors. But when you look at the studies of where people know the fewest neighbors by name, it’s in the little boxes on the hillside. Sprawl ain’t helping.
I get it, we all want plentiful cheap land after we’re done living with roommates. I do too. But there’s gotta be a better way than strip malls nestled between HOA-gated subdivisions, connected only by 45mph 6-lane stroads. There’s gotta be a way to build human-centric. Let’s talk about what the next suburban experiment will look like instead of perpetually adding more lanes, always straining to connect our increasingly disconnected subdivisions.
comment 4y ago · link · parent
So the significant question isn't "will driverless lead to fewer emissions because of fewer cars", the significant question is "will (electric) driverless lead to fewer emissions because of fewer miles driven?"
It's no question that electric is more efficient on emissions per mile, but if the number of trip-miles increases because driverless cars eg are constantly circling the downtown waiting for passengers, or they make more low-occupancy trips possible so they induce demand of low-occupancy miles, well it could be worse emissions wise!
comment 4y ago · link · parent
Nope.
The embedded energy in manufacturing a gasoline car is maybe 1/8th or 1/10th its total lifetime emissions. This is why EV's are so much better cradle-to-grave than gasoline cars -- yes, EV's require extra energy to manufacture the batteries relative to a gasoline car, but even so, that extra energy cost is more than offset within the first few months of electricity-powered driving, even if your local grid is primarily coal powered. By far most of a car's lifetime emissions are from operating it, not manufacturing it.
See chart on page 3 of this Union of Concerned Scientists report: https://www.ucsusa.org/sites/default/files/attach/2015/11/Cl...
comment 4y ago · link · parent
https://didhondafixtheclocks.com/
> Honda’s head unit receives a GPS signal for date and time including a number representing a week, coded in binary. These digits count from 0-1024 and rollover to 0 after the completion of week 1024. Honda’s head unit supplier did not code their head units to account for the rollover and, on January 1, 2022, reverted to a date and time 1024 weeks in the past [1024/52 = 19.7, so 20 years in the past or 2002]
So despite all the almost-magic level of engineering that has gone into the GPS system that has stayed consistent for 40-some-odd years, a classic integer overflow has ruined it all because some subcomponent test engineer didn't think to check the inputs against the expected lifetime duration of the car's equipment.
Another fun issue with these is DST databases. The satellites will tell you the time, but it's up to you know how your location translates into a DST zone. And if you have long-running offline equipment (say, a car), and the DST dates change, well, your smarts are only as smart as the update procedure.
comment 4y ago · link · parent
gunicorn bills itself as "Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. It's a pre-fork worker model."
uvicorn's one-liner "Uvicorn is a lightning-fast ASGI server implementation, using uvloop and httptools."
So it seems redundant at first to be running both, but what the gunicorn+uvicorn-worker-process pattern really does is throw away the "WSGI HTTP Server" part of gunicorn and just use the "pre-fork worker" process management part, with the underlying processes actually being ASGI.
If you run in a different kind of process-management environment like k8s, does running gunicorn+uvicorn give you anything else?