Hacker Newsnew | past | comments | ask | show | jobs | submit | more codenesium's commentslogin

I'm curious what things you're trying to do that requires you to overload xunit classes? We use xunit for everything and haven't found any gaps so far.


Because the API is a REST API and you don't want your frontend to have to make 100 calls to render a screen. Each frontend may be a completely different app so they all need the data in their own format. And each team may control their app so you don't want all of the teams roadblocked by the API team.


If the API were a REST API then the client would only need to make 1 call to request the screen (representation of a resource) in a format (media type) the client expects.


This is not the reality when you go into most organizations. It may have started like that but a few cases of "just one more call" result in the client making a load of calls at startup followed by many others when user navigates to a detail screen. It probably caches a few items, but many others are not cached appropriately.

This is what the vast majority of developers are facing. Be thankful, if you don't have to clean these messes up only to move to another team to repeat it. It happens naturally because of the tension between shipping things and finding enough time to properly optimize.


Also, the data may be coming from multiple systems. So somewhere you have to stich that data together.


You're going to think you have it figured out and then they and you are going to get sick. I'm 3 months in and the lack of sleep is tough. Hobbies are on hold. Just try not to think about it too much and focus on taking care of your kiddo, your SO and your job. There might be enough energy to do most of that.


Buy an electric crib that rocks and has music. Take shifts if you can. Sleep whenever you can get it. Workout.


When I see a job posting with no salary all I think is what are they scared of? Must be low. A 4 hour project for a senior? For DevOps? I could spend those 4 hours pinging people in my network and probably have interviews scheduled.


You pump it back out into the ocean.


Sounds expensive to pump it to wide enough area for not to cause issues to marine life. The total amount in context isn't an issue, but the spikes in concentration is.


Probably fine for small-scale use, but on a planetary scale increased salinity could dramatically influence marine biodiversity, not to mention climate from thermohaline circulation disruption [1]

https://oceanservice.noaa.gov/education/tutorial_currents/05...


It's not possible to change ocean salinity by any measurable amount by desalination. Except maybe for some very closed off seas, which are already less saline than the ocean.


To expand on this. There's ~321M cubic MILES of water in the ocean.

Total US water usage is about 2 cubic miles per week - which is not even a 100 millionth of the water in the ocean.


I imagine similar things were said about burning oil and gas at one time.

That aside I think the more pressing concern is the local environment, turning the area around your station into a brackish dead zone.


It is in the water cycle anyway, so yes globally really makes no difference. But the localized levels of salinity certainly can be effected and be detrimental.


You probably have. You just don't know it.


Fair enough


If it's a catastrophe I don't know why the government should have to buy everyone out. The insurance companies should just stop insuring the crops and let the market sort it out.


It probably makes a huge difference how the irrigation is applied. Flooding land with water or digging trenches and running water to crops is a lot less efficient than drip emitters on each plant. Obviously doesn't work for stuff like alfalfa but they shouldn't be growing that anyway...


Alfalfa is one of the most water efficient and nutritionally rich crops there is. It is also one of the most drought resistant crops. It is hearty and reliable, unlike corn which is far more wasteful when it comes to water.

> Deep-Rootedness—alfalfa roots are commonly 3-5 feet deep and can extend to 8-15 feet in some soils. Therefore this crop can utilize moisture residing deep in the profile when surface waters become scarce. It shares this property with crops such as orchards, vineyards, and sugarbeets and safflower, unlike crops such as onion, lettuce and corn, where it's easy to lose water past the root zone.

> Alfalfa's deep roots are capable of extracting water from deep in the soil, thus much of the water applied is not wasted. Additionally, deep roots enable the crop to survive periodic droughts.

> Perenniality—The fact that the crop grows for 4-8 years, grows quickly with warm conditions in the spring is a major advantage of alfalfa—it can utilize residual winter rainfall before irrigation is necessary. This is unlike summer-grown annual crops that need to be replanted each year (water use efficacy is low during this time). In many areas, the first cutting of alfalfa of the year requires zero irrigation– supported only by rain and residual soil moisture.

> Very High Yields—Alfalfa is a very high yielding crop, and can grow 365 days a year in warm regions (such as the Imperial Valley of California and southern Arizona). Its biomass yields are very high—we can get up to 12 cuttings per year in those regions, and growers with top management can obtain more than 14 tons/acre dry matter yields. High-yields create higher water use efficiencies.

> High Harvest Index, High Water Use Efficiency—Alfalfa's Water Use Efficiency is not only due to high yields, but because nearly 100% of the above-ground plant material is harvested (known as the harvest index). In most seed-producing and fruiting crops, only a portion of the plant is harvested (typically 30-50% of the total plant biomass).

[0]: https://ucanr.edu/blogs/blogcore/postdetail.cfm?postnum=1772...


Flooding rice fields in Glenn County is essentially 100% efficient because all of the water returns to the Sacramento River or recharges aquifers. Watering orchards in west Fresno County returns all of the water to the atmosphere via transpiration. Even though superficially a rice field looks wasteful, they are on two opposite extremes.


Doesn't a large percentage of the water flooding a rice field in Glenn County still evaporate, both before it enters the plants/aquifer, and later through transpiration?

I don't know the percentages (but would love to learn) but it's certainly not zero.


Sure, but the denominator for flooded irrigation is huge, so the efficiency is high. That's why flooding is a superficial and not substantial problem. The plant transpires water at a certain rate and a certain density per ground area. That rate isn't influenced by whether the field is flooded or drip-irrigated. By the way flooding also provides wildlife habitat.

Anyway I'm just tired of the meme about growing rice in a desert. California rice country isn't a desert, it exists in places that were annually flooded before flood control engineering, and should still get flooded for various reasons. It is not a waste of water.


Returning to the atmosphere is not really sustainable, is it? Sure, it enables a rainfall at some point, but not necessarily at the time and the place you need it next year.


No, it is not sustainable at all. They are pumping out fossil water in California and whatever portion of it falls as rain does so hundreds or thousands of miles to the east.


How does returning it to the river solve the problem of their isn't enough groundwater? That water goes back into the ocean where it's stuck if it never rains.


Yeah but that's not really what happens to Sacramento River water. It's all diverted downstream for other uses. The Tracy pumps that raise the water from the delta into the aqueduct are the largest energy consumer in the state.


In the U.S. that's called at will in most states. They can fire you for no reason as long as it's not one of the limited reason protected by the federal government. It doesn't matter how long you've worked there.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: