I started learning Adonis once, but then I noticed it attempts to copy Laravel and that it's not yet a finished copy. So I decided to investigate Laravel, liked it and stayed with it. Laracasts and its docs are great.
Maybe Adonis can keep improving and eventually get to Laravel's level, but I highly doubt it, as it is a single developer project. Also it's a risky bet to use a single dev project.
> Maybe Adonis can keep improving and eventually get to Laravel's level, but I highly doubt it, as it is a single developer project. Also it's a risky bet to use a single dev project.
You are right. Still with 41.000 github stars and thousands of users I wouldn't worry about it being discontinued if the main developer stops working on it.
I think, to Adonis's credit, they have started slowly diverge from being a Laravel clone and forge their own path going forward. It looks really nice to use, I look forward to giving it a crack.
It's similar and different at the same time. Both handle HTTP and Websockets at the same time, have different kind of adapters-hooks-pluggins to serve different needs.
Both are opinionated, but Sails is more express-like (you can create "hooks" that are basically express middleware on steroids.
It's relatively easy to write a wrapper around your sqlx DB that logs queries before sending them to the underlying sqlx DB. I agree it would be nice to be built in, but then you're kind of locked into the logging interface(s) sqlx supports.
Well, really, Google deliberately kept out of content provision for years in a way that Yahoo didn't. Google was only interested in being the gateway or the platform, not the publisher. That seems to have worked for them.
rather than blocking a bot, it would make much more sense to CAPTCHA an ip that is producing a lot of traffic in a short time. Scaping has always been part of the web, and one should not have the belief that the information on a website is only going to be available on said website.
This approach only stops the most basic and laziest scrapers. Some people have tens of thousands of diverse IP addressed to utilize for scraping. Many of them will not give a shit about your bandwidth or server constraints and will cause your server to hit bottlenecks, making it slow and useless for everyone.
> it would make much more sense to CAPTCHA an ip that is producing a lot of traffic in a short time.
CAPTCHAs are useful, but they're an X/Y problem in the same way that this headless-detection is: trying to detect human vs bot, when the real solution would be to slow down (a portion of) the traffic.
Hashcash would seem like a better solution, since that doesn't lock anybody out (human or bot), it just slows them down to reduce server load. If some clients are higher priority than others (e.g. human users vs poorly-programmed bots) then use info like IP, cookies, etc. to slow down the low priority requests, or even adjust the difficulty depending on how likely the client is to be causing load.
Nuclear power is the largest source of electricity in the country, with a generation of 416.8 TWh, or 76.3%[2] of the country's total production of 546 TWh, the highest percentage in the world.
With the staggering drop in the cost of renewables and grid-battery storage I just don't see how nuclear has a bright future in any regard.
They're unbelievably capital intensive and have a mean construction time of 7.5 years [0]. I'm from the UK so it's easy to point to Hinkley Point C as an example of this. It's been in planning for a decade and certainly won't be in operation for a similar amount of time, and the currently proposed strike price is around £90/MWh, compared to the ~£60/MWh we've seen from offshore wind projects. Let alone mentioning those have the advantage of being independently deployable with how developers can generate income on a per-turbine basis rather than waiting for the entire farm to be constructed.
And while nuclear is certainly much less CO2 intensive than any fossil-fuel source even a pro-nuclear body's publication shows that wind produces approximately as much CO2/GWh over an installations lifetime as nuclear does [1].
Friend of mine's dad is a retired college professor that taught nuclear engineering for a couple of decades. Last time I saw him he mentioned natural gas killed nuclear and coal fired plants and he's glad he retired when he did. And also solar and wind are going to kill natural gas fired plants.
> I just don't see how nuclear has a bright future in any regard.
How about in space or on other planets?
> And while nuclear is certainly much less CO2 intensive than any fossil-fuel source even a pro-nuclear body's publication shows that wind produces approximately as much CO2/GWh over an installations lifetime as nuclear does.
And what if it's not windy?
---
Keep in mind, almost ALL the nuclear power plants built are based on 1950-1960s technology (designed for naval applications). That would be like comparing solar panels from that era with the panels designed/produced today. There is no comparison.
The seas around the British Isles, which the poster is talking about, are _always_ windy. Plus this can be mitigated with the battery storage the post you replied to mentioned and solar - it's unlikely to be both still and overcast.
Offshore wind farms around the UK have capacity factors around 40%; the seas are certainly not always windy.
Solar struggles to provide a significant amount of energy in winter. Wind tends to blow or not for a few days or more at a time - meaning you need much more storage than just to carry you from one day to the next as you might in places with consistent solar.
There's a slight inverse correlation between solar and wind, but not that much.
I'd love to see a lot more renewable capacity installed as soon as possible, but I don't see how we can move away from needing a lot of backup conventional capacity in the near future. This is okay by me; let's halve our emissions and then see what we can do next.
But how high is the cost of generating the energy _plus_ the cost of storing it?
And does the wind always have the same strength or do you need to build additional wind farms for times when the wind is weaker?
> With the staggering drop in the cost of renewables and grid-battery storage I just don't see how nuclear has a bright future in any regard.
Exactly. Nuclear plants are done, at least for the next 50 years.
People don't want nuclear plants, whatever the reason. I can see the case for continued nuke research, but the negative PR and scare factor is pretty insurmountable.
The coal industry had decades to invest in technology to make clean coal happen, and decided margins were more important.
Fracking will be the next victim, as more communities start to ban it and understanding of the negatives grows.
Same with hydro, at least in the US. We're only starting to understand the long-term effects of large dams.
I know there are tradeoffs with solar and wind. The eco cost of solar isn't zero from a production standpoint. There are downsides to living directly under a wind turbine. But the decreased cost and increased adoption of solar and wind give me hope that we have a chance at staving off cataclysmic climate change.
Nuclear is unpopular but is still extremely important to a low-carbon future. I recently wrote a fairly extensive primer on the current energy situation [1]. Key points are that battery backup of renewables is extremely challenging (even Stanford's 100% renewable superstar Jacobsen does not include them in his plan) and that the standard go-to plan with pumped hydro is potentially very flawed due to only-recently-understood biogenic methane emissions from reservoirs [2].
Also, this past December, the entire Pacific Northwest experienced a 10-day total wind lull and the 4GWe of capacity in the Bonneville Power Administration generated ~0 kWh. Backing that up alone would require a battery facility covering a football field 100 stories high and costing $90B that has to be replaced every dozen years. Now scale that by a few thousand and see how it looks. Baseload carbon-free energy from nukes is very valuable.
Do you have any thoughts on the benefits of decreasing the fragmentation of the US grid? Presently it's some 3000 utilities who don't have much of an incentive to work together, but you could imagine a future where regions of the US with excess generation transmit to areas at a deficit to diversify the energy supply of any region. This is roughly what's happening in China with their single public utility and usage of HVDC to source renewables from provinces with surplus generation to those operating at a deficit (i.e. the most populous).
HVDC interconnects are a reasonable way to help with regional intermittency. The cost of any necessary interconnects should be considered in the total cost evaluations going into our low-carbon system plans.
There are billions upon billions of dollars spent on nuclear, it just doesn't produce any new capacity.
Look at the failure of VC Summer, and what seems to be the imminent failure of Vogtle.
Since no private company is willing to take on the financial risk of building nuclear power, the federal government provides massive loan guarantees. For the "nuclear renaissance" to take place, state governments passed special laws so that the utility's rate payers took on all the risk of the failed builds. And the failed VC Summer build in South Carolina accounts for double digit percentages of current electricity bills for the utility's customers.
If somebody can figure out how to do project management, engineering, and the logistics of construction, there are lots of communities eager to welcome nuclear. But the industry has failed to deliver capacity even when given every opportunity to build.
Today's Russia and South Korea, and 1970s France all figured out how to do serial nuclear construction. The key is to standardize the design. Here are some numbers [1].
The two financial disasters I mentioned were the US's attempt at standardized design, and it failed miserably.
The best bet for nuclear in the US seems to be to have South Korea take over entirely. But they will then have to manage a US construction force, with all those risks. I really don't see how the industry is ever going to build a new big reactor ever again in the US. That's why nuclear fans are looking towards small modular reactors, an idea that in the past was considered less economical than the big ones.
The other risk of putting all your eggs in one basket by large deploys is the same design is what's happening right now in France with the "carbon segregation" problem:
20 plants are down, on the suspicion of a potential problem in the future. These types of problems are expected for any technology, but by having a very little variety in generation, any such small problem gets hugely amplified.
In general I have not found anybody who sees a path to building new nuclear in the US that does not simultaneously require a huge advancement in new tech. Solving the construction problem and the bad management problem is something that's swept under the rug and ignored in order to promote a favored tech.
Nuclear may be a good idea but that comparison with France is misleading. Electricity accounts for only 29% of US greenhouse gas emissions. [1] We could make our entire electrical generation carbon neutral and still have twice the per capita footprint of France.
No one wants to put up the money. Inevitably it's governments that are on the hook, because they're the insurer of last resort. The builder and operator insist upon that. And then for some reason in the U.S. we see the same kind of explosion in cost during construction that we see with NYC's 2nd Ave subway line, and that turns people off even more.
The only plant being constructed in the U.S. right now is fraught with cost overruns; the builder, Toshiba, nearly went out of business. A plant that came online in Tennessee in 2016 was started in 1976.
According to the World Nuclear Association, there is approximately 5.7M tons of recoverable uranium globally. [0]
The Minerals Council of Australia shows that the current worldwide uranium usage is increasing by about 4.8% p.a., projected to hit 97,900 tons in 2020. [1]
This will give us a little over 60 years until almost all of the economical sources of uranium are consumed, assuming conventional reactors.
Considering that timeframe along with the fact that plants take 7-15 years to bring online if they're started now, and the fact that they have dismal returns on investment, means there's little appetite for nuclear for economic reasons.
It's unclear if decommissioning costs are properly priced.
Also there hasn't been a lot of success with building any modern plants (technical issues and massive cost overrun, check the "Technical overview" section of the wiki page).
There's a lot of irrational fear about nuclear energy. An example is Germany (9.2 metric ton per capita) which decided to shutdown their nuclear facilities.
Nuclear isn't the only option for replacing base load production. Natural gas and renewables+pumped hydro are also good options. Though none of them are popular.
(1) Nat. Gas causes much more deaths per PWh produced (5 vs 0.1 for the US) and still produces quite a lot of CO2.
(2) Renewable + pumped hydro is much more expensive that just producing electricity directly from nuclear. The environmental impact of dam failures is also bigger than that of an nuclear accident.
For example the Banqiao+Shimantan dam failure killed 110,000, displaced 6,000,000. For comparison Chernobyl killed 9,000 to 93,000 (probably closer to the lower end) and displaced ~130,000.
Pumped hydro may be associated with surprisingly large biogenic methane emissions [1] which potentially might take the option off the table for a low carbon future.
I use to be a Rad worker and have even cleaned up a few "spills". Nuclear accident fears are based on accidents that occurred in plants that were designed with primitive nuclear technology by people who were just starting to understand the technology. Innovations like pebble bed reactors make release of fission particles highly unlikely. Just like rocket technology though nuclear technology has advanced leaps and bounds. It's also the only power source that could get us to Mars.
Accidents occur but this needs to be compared with alternative sources of energy. Even dams cause much more environmental issues and casualties than nuclear [1]. And let's not even talk about coal.
I wish ISPs billed like a utility. Something like $10 connection fee + 10-15 cents per GB.
This will force bandwidth hogs to self-regulate. If you have the ability to purchase 4k/8k TVs, then you should be responsible for the associated streaming costs and not have others subsidize it.
Also, NN does nothing to foster competition - the real problem. All we have are a bunch of local monopolies/duopolies.
That's not actually what bandwidth costs. The cost to the ISP is based on the connection speed (eg, bits per second) not on how much is transferred.
The ISP needs to size for peak usage, and they over-subscribe because that's the only way to be profitable. This is why your speed will often be slower at night than during the day. It also means when you pay for data transferred at non-peak times, you're not actually costing anything since the bandwidth was sitting there unused anyway.
Sorry, poor wording on my part. I meant slower in the evening (peak time), and you're right: late at night is typically the least busy and thus fastest time.