coolguy4's comments

coolguy4 | 7 months ago | on: Ask HN: Would you swap your desk for a restaurant shift?

It would be cool to do some evening shifts at a restaurant, for the novelty and the social aspect (compared with staring at a screen all day)... plus the work is cognitively very simplistic... quite relaxing compared to corporate life. The problem is, if I have a day job as an engineer, my regular income puts me in a high tax bracket. So, not only would I be earning close to minimum wage, I would be taxed at the highest tax rate on the minimum wage... so it really would be a waste of time. Progressive tax rates are what makes it unviable for high income earners to pick up a weekend or evening job.

coolguy4 | 10 months ago | on: Why does the U.S. always run a trade deficit?

Because there is a fiscal deficit which requires borrowing, which means that new money is created. If the new money were spent only in the USA it would cause prices to go up a lot, so the money goes overseas so that the price increases are more moderate (arbitrage). Why is there a fiscal deficit? Because politicians want to win elections. If the fiscal deficit were ended then mathematically there could not be a trade deficit.

coolguy4 | 1 year ago | on: Ask HN: Does trunk based development work?

Yes, it works. The "git flow" blogpost is cancer.

The faster you can deploy, the faster you can deploy fixes. Also note, you can always roll back bad deployment.

But, using a trunk branch (eg master, main, whatever you want to call it), doesn't mean you can't support a variety of release schedules. You primarily just feature flag the elements that aren't scheduled for release.

coolguy4 | 1 year ago | on: Tell HN: Claude is a crap learning tool

Why not tell it, "I only want the regex, don't give me the entire solution. I'm doing this to learn, please don't spoil the assignment for me." Anyway, if you want to learn regex there are many interactive regex tools online that you can use to iterate on.

coolguy4 | 1 year ago | on: A Practitioner's Guide to Wide Events

Wide events are good, but watch out they don't become "god events". The event that every service needs to ingest, and, therefore, if there's new data that a service needs then we just add it onto the god event, because, conveniently, it's already being ingested. Before too long, the query that generates the wide event is getting so complex it's setting the db on fire. Like anything, there are trade offs; practical limits to how wide an event should reasonably become.

coolguy4 | 1 year ago | on: AI Ruined Quora

It had too many Indians. Not that that's absolutely a bad thing, but it was bad for me because the answers tended to reflect Indian cultural perspectives and they weren't very relevant to me.

coolguy4 | 8 years ago | on: Lets talk PHP

PHP is a pain to work with. It doesn't have the tools that other languages have. The libraries available for PHP tend to be buggy or poorly designed.

The market for PHP developers isn't going to go away, but if you work somewhere that is using PHP there is a good chance you won't be working somewhere with a strong engineering focus. So you probably won't have great people to learn from and you will limit your growth as a software engineer.

coolguy4 | 8 years ago | on: Used GPUs flood the market as Ethereum's price drops below $150

150 ETH/USD is normal forex notation.

The graph shows a currency pair. So one currency is being sold in exchange for the other.

When you see currency pairs like this, ETH/USD, the first currency (ETH) is the one being bought, the second currency (USD) is the one being sold. If the chart is going up, the first currency is becoming stronger against the second. If the chart is going down, the first currency is becoming weaker against the second.

In that light it does make sense mathematically. The currency being sold is the denominator and the currency being bought is the numerator. The value of the currency being bought, the numerator is directly proportional to the exchange value of the pair. The value of the currency being sold, the denominator, is inversely proportional to the exchange value of the pair

coolguy4 | 8 years ago | on: Tesla’s big battery in South Australia may prove the viability of renewables

The storm caused extra load on the interconnector. The power went off when the interconnector shut down. The interconnector is needed because there is inadequate power generation within the state. There is inadequate power generation because coal generators were shutdown in favour of renewables.

The South Australian Government were patting themselves on the back about their high proportion of renewable energy but the reality was they were dependent on importing coal derived electricity form interstate. The storm exposed this dependency.

coolguy4 | 8 years ago | on: Tesla’s big battery in South Australia may prove the viability of renewables

South Australia is the 5th most populous Australian state, out of 6 total states in Australia. It has had a left-leaning government in power for the past 15 years.

South Australia has a lot of mineral resources and a very large land area but it is mainly desert.

Since renewable energy is cool with left-leaning governments, South Australia has built a lot of wind farms. The wind farms are heavily subsdised by the government. There is also a federal program called the Renewable Energy Target which mandates that electricity retailers purchase electricity from renewable power sources (eg wind and power).

The result of the market manipulation is that coal power plants are shutting down. This is putting further pressure on the renewable energy sources which fundamentally cannot provide baseload power in the first place. This is why South Australia draws electricity from interstate where baseload power is generated from coal.

A lot of people are arguing about the power outage in South Australia last year. The almost entire state (population >1.7 million) lost electricity for at least a day. Some people were without power for up to a week. As you can imagine there are a lot of negative consequences when the power goes off. For example the content of a zinc smelter solidified, destroying it.

There were a lot of factors to the blackout, but had there been sufficient baseload power within the state the blackouts wouldn't have occurred. It is a very politicised issue and lefists refuse to accept that the government created dependence upon renewable energy was responsible.

Following the blackouts, later in the summer there were planned brownouts as there wasn't capacity to meet demand.

Ok, now to why they decided to spend $50 million on a battery that can power the state for 3 hours.

Basically the Government of South Australia wants to look like they are doing something. Just like any government they want to be popular and to have the appearance of providing solutions to people's problems. The battery isn't the only thing they are doing. They are buying expensive gas-powered aero derivative generators that can be spun up and spun down quickly when required to meet demand.

So what the Government is doing is purchasing power sources that can compensate for the fluctuating electricity generated by wind and solar. They don't seem to be concerned that these measures will increase the overall cost of providing electricity as they seem to be primarily motivated by an objective of not backing down on the promotion of renewable energies. They don't seem to want to admit that the consequence of renewable energy is less reliable electricity and much more expensive electricity. In order to address the cost issues, the Government are criticising the electrity operators, accusing them of price gouging, in other words pointing the finger at private operators to take the blame off their own policies.

Elon Musk is like a celebrity, the battery idea sounds 'cool'... so basically this is a big PR move showing South Australians that their government is 'taking action'.

I think everyone knows the reality that this is basically a overreaching government trying to cover their arses and Elon Musk coming in way to do so with a big price tag attached. The big price tag actually helps the government because it puts a metric on the amount of action they are taking.

The way to ensure there is adequate electricity to meet demand it to deregulate the industry. That way people who care about wind and solar can pay for it and people are wish to save money can pay for coal generated electricity. Deregulation would ensure the optimum price through competition. While the governments of Australia persist with regulation and subsidies the problem will get worse. Actually the government of Victoria, the 2nd largest state of Australia is seeing one of its major coal power stations shut down and summer this year (in 6 months time) is predicted to have more blackouts, not only in South Australia. Wholesale electricity prices are increasing in Victoria by more than 100%. There is no end in sight for this because the leftist governments of are Australia persisting with their agenda and the federal government, although conservative, appears to be afraid to depart from the leftist narrative.

page 1