Unforeseen scope creep is the reason to utilise Django over Flask, I feel.
Also, you can pick and choose what to use in Django similarly to Flask - it just has a higher initial learning curve.
Once you get to sufficient levels of complicated, leaning on established, documented, community supported design patterns and abstractions helps vs. sorting out your imports, making bespoke design choices, and doing a bunch of non-core value producing work.
I will forever beat the Django over Flask drum. Nothing ever stays simple. Maybe today it is one single view function, but tomorrow someone is going to want to add authentication, emails, whatever. Django might have features you do not need, but it would be an unusual situation where Django is holding you back vs Flask.
I agree. I've met Bob in person and he's a very nice guy and obviously very passionate about his field. But these rants feel like he's talking down to the audience, as though explaining something for the 17th time to someone who doesn't get it.
I found them in 2015 when I was maintaining a legacy app for a university.
The developer that implemented them could have used a few bools but decided to cram it all into one byte using bitwise operators because they were trying to seem smart/clever.
This was a web app, not a microcontroller or some other tightly constrained environment.
One should not have to worry about solar flares! Heh.
Maybe. Every time I write something I consider clever, I often regret it later.
But young people in particular tend to write code using things they don’t need because they want experience in those things. (Just look at people using kubernetes long before there is any need as an example). Where and when this is done can be good or bad, it depends.
Even in a web app, you might want to pack bools into bytes depending on what you are doing. For example, I’ve done stuff with deck.gl and moving massive amounts of data between webworkers and the size of data is material.
It did take a beat to consider an example though, so I do appreciate your point.
Coming from a double major including EE though, all I have to say is that everyone’s code everywhere is just a bunch of NOR gates. Now if you want to increase your salary, looking up why I say “everything is NOR” won’t be useful. But if you are curious, it is interesting to see how one Boolean operand can implement everything.
I can understand writing your own instance and deployment "orchestrator", but I would not consider trying k8s for fun, because it just seems like some arbitrary config you have to learn for something someone else has built.
Nobody that uses bit flags do it because they think it makes them look clever. If anything they believe it looks like using the most basic of tools.
> One should not have to worry about solar flares!
Do you legitimately believe that a bool is immune to this? Yeah, I get this a joke, but it's one told from a conceit.
This whole post comes off as condescending to cover up a failure to understand something basic.
I get it, someone called you out on it at some point in your life and you have decided to strike back, but come on... do you really think you benefit from this display?
I made a concerted effort to understand the code before I made any effort to adapt it to the repo I was working on. I'm glad I did (although honestly, it wasn't in the remotest bit necessary to solve the task at hand!)
Great stack, I use a very similar stack and for the same reasons. I imagine you’re also in your late 30’s.
Honestly the best UI I’ve seen is the terminal-based one at libraries in the 80’s and 90’s that allowed you to find books. Lightning fast and allowed the user to become an expert quickly, especially because the UI essentially never changed.
If you design things with Occam’s razor in mind, a full page reload doesn’t feel like one.
Nowadays I build software to last as long as possible without future investment of time and effort spent on maintenance. Meanwhile the industry seems to have developed some need to mess with their programs all the time. It’s almost like a tic.
I have been both to this site and to Coober Pedy, South Australia. Pretty neat bit of architectural convergent evolution for extremely high temperature environments.
> It astounds me that these things do not catch on.
Basements are very common throughout the country. Once you've built a basement, you might as well put a house on the next floor up.
Modern insulation technology is very effective. It's much cheaper to put a lot of insulation in the above-ground portion of a house than to try to build the equivalent area entirely below the grade.
Building entirely below the surface without putting anything on top would be massively expensive compared to the same square footage in a traditional home, even if you accounted for equivalent insulation and cooling costs. It's not even close.
I lived in Fresno for 15 years. I spent north of $400 bucks a month on AC in the summertime (starts in June and goes till early November). I lived in a new home with modern insulation.
I now live in NY and I have a basement. It's generally about 10 degrees cooler. I would have loved that in Fresno.
Electricity in California is the most expensive in the country. When I lived there I spent between 20-35c/kWh. I moved to Utah and now pay approx 9c/kWh, cheaper by a factor of about 3. I live in the Southwest part of the state where the temperatures regularly hit 46c and my electric bill comes out to about $100.
typical wholesale prices are 2½¢ per kilowatt hour
solar panels are 8¢/peak watt https://www.solarserver.de/photovoltaik-preis-pv-modul-preis... which works out to 40¢ per average watt assuming a 20% capacity factor. at 7% yearly interest, that's 2.8 cents per watt, and since a year has 8.766 kilohours, it's 0.3¢ per kilowatt hour. for ac inverter systems, balance of system costs typically triple this, and in the us, import tariffs double it again to 1.8¢ per kilowatt hour
the future is already here; it just isn't widely distributed. and that's why you're getting scammed
I mean I can get solar on my roof for about $4000Aud and then I pay nothing unless it's particularly cloudy.
But for grid electricity even if the generation is dirt cheap the power company in WA is responsible for covering an area the size of a chunk of Europe with a total population of under 3million.
There are significant distribution costs involved and I suspect even at the prices we pay its subsidised by the government.
$4000 is also pretty expensive; at my 7% yearly interest that's $23 a month. at my number of 0.9¢ per kilowatt hour that's 2600 kilowatt hours per month, an average of 3600 watts. i will be very surprised if you are using 3600 watts round-the-clock average unless you have a machine shop in your garage
so i think you are dramatically overestimating the cost of rooftop solar
I think that underground or earth bermed homes are often failures. There are different water and ventilation concerns for these. An above ground home is pretty accessible for repairs, but these can be nearly impossible if the home is underground.
This is what kills most "non-standard" homes and buildings - anywhere in the world.
If you build an American-style house in Bavaria it may end up a disaster because nobody around knows the building materials or how to fix it.
It gets even worse when it's entirely custom like this Skywalker style house, where it's a one-off using techniques nobody knows. You need a dedicated maintenance crew for that so they can learn all about it over time.
So something like this could work for a largish company, or a college campus, but as a one-off house it's going to be expensive and eventually abandoned.
I wonder if there aren’t zoning laws that create incentives for or against some of these approaches. In dry places the living space can be connected to rain-collecting cisterns that further help to reduce evaporation losses. When you free the surface to other uses, you can also generate power from wind or solar (and solar also helps to protect the top soil from evaporative losses).
> In a hole in the ground there lived a hobbit. Not a nasty, dirty, wet hole, filled with the ends of worms and an oozy smell, nor yet a dry, bare, sandy hole with nothing in it to sit down on or to eat: it was a hobbit-hole, and that means comfort.
> ... The best rooms were all on the left-hand side (going in), for these were the only ones to have windows, deep-set round windows looking over his garden and meadows beyond, sloping down to the river.
It does not astound me. Building things underground is expensive and in a lot of cases not cost effective compared to the cost of electricity at human scale.
Dr. Murthy understands social media and the headwinds that younger generations are facing.
With this in mind, are we underestimating the devastation awaiting the younger generations?
We have scientists cocksure of natural disasters in the medium term, four decades of increasing economic inequality, cost of living pressure, and in the U.S., and increasingly in other countries, price increases in health, rent, and education.
Speaking as the author, I completely agree. The DEP provides both a shared API for existing libraries, but also the foundations for native background workers in Django - and it's going to be great!