Better HN
topnewbestaskshowjobs
Log inSign up

VBprogrammer

8,523 karma · joined Mar 16, 2009 (17y ago) · 2,630 submissions

Submissions

comment 5y ago · link · parent

I sometimes wonder if this argument is an example of the "no true Scotsman" logical fallacy. No matter how little regulation is imposed on a market someone will still find some example to point to and say "if only we weren't subject to such awful regulation the market would be free and everything would work perfectly".

comment 6y ago · link · parent

If that is capitalism then capitalism can go get fucked in my opinion.

Honestly, we're not talking about having a wart removed here. It's basic medical treatment for a child. That should be beyond reproach in any civilised country.

comment 6y ago · link · parent

I've recently been knees deep in optimising some old python multi processing code. I threw everything at it from trying to optimise the SQL queries it made to pre-fetching multiple requests to its child processes. In the end I broke out pyinstrument and found some logging in a loop which was taking up a big chunk of parent time. Fixing that gave a 2x performance increase.

I went back and tested the various changes I'd made to that point and thankfully found that most of them were needed to sustain that performance improvement but it was a good reminder to break out the profiler first, not last.

comment 6y ago · link · parent

I feel it was entitled because you asked for them to:

a) spend a non-trivial amount of time creating a work around for you.

b) release artistic control of their content in a way in which it will be shown to people alongside adverts and whatever else these platforms decide.

c) a video would likely be larger than the original generated version, or suffer from video compression artifacts.

comment 6y ago · link · parent

That's the most entitled comment I've read in a while.

If you really are that worried why not create a virtual machine for browsing untrusted things.

comment 6y ago · link · parent

We're not talking about the philosophical elements of politics for the most part. There are plenty of parts of government policy where there is an objective truth and one side (or even both on occasion) are trying to manipulate the narrative away from that.

To use a non-US example: Boris Johnson claiming that he is going to deliver 50000 more nurses in the NHS. Except that figure includes some 19k nurses who are already employed in the NHS.

Back to Trump: Great, but we also won the election!

comment 6y ago · link · parent

The idea of "false balance" cannot be so quickly wiped away with a one liner.

Imagine the current media shit storm was being given credibility by the media by devoting half of their reporting to ways maybe Trump is right, maybe Trump did win. They would be enabling authoritarian behaviour.

Balance in reporting should be aiming to centre around objective truth. Not trying to find the mid point between one side or another's narrative.

comment 6y ago · link · parent

Nothing quite like having to make up a 300 year cultural headstart to ensure equality.

comment 6y ago · link · parent

If I know one thing about files it's that any fix beginning with "You can just..." is probably wrong.

https://danluu.com/file-consistency/

comment 6y ago · link · parent

I mentioned this elsewhere on this thread. I completely agree with the sentiment.

In a "when I'm king" kind of way I thought it would be great if tech leads had a modest budget for open source contributions (with a minimal amount of oversight to assure it wasn't being funneled off to their friends account).

It might also help with legal / finance to have these funds earmarked so that they only had to approve it in the beginning.

comment 6y ago · link · parent

I understand where you are coming from but I imagine few open source projects were created with the idea that they'd eventually make the big bucks on support contracts.

I think the important point is that if money should be on the table. After that it's a business negotiation as to how much you are willing to pay.

An interesting point is how you can implement a process to make this whole thing not consume non trivial amounts of time. By way of example:

Bob is a developer. He finds bug in his code comes from an underlying open source library. This gives Bob 3 options.

- Bob can either dig into the library and see if he can fix it and maintain a fork.

- Bob can fix it and try to get corporate approval for submitting an upstream patch.

- Bob can try to seek approval and budget to pay the maintainer of the project to take a look at the problem.

If companies I have worked for are anything to go by 3 sounds like a herculean task. 2 sounds possible but involves effort. 1 is a minor annoyance (with high probability of major issues down the line).

comment 6y ago · link · parent

I think part of this narrative is the US spends an incredible amount on the military. If they don't continue to cast the entire world as with us or against us then that amount of money becomes harder to justify.

comment 6y ago · link · parent

No, but the 30 thousandth time a meme resurfaces proporting to show guns being delivered to terrorist refugees it would be nice if Facebook automatically tagged it with the information that actually it's a scene from some movie or where ever it really came from.

comment 6y ago · link · parent

I do agree with that to some degree. In fact I do find some of the pan rattling about how social networks "must combat disinformation" about the potential Covid vaccines troubling.

However, maybe I'm just unlucky, but I have a number of family members who are predisposed to believing anything they see on the internet. I can see the need for social distancing when it comes to viral content too.

comment 6y ago · link · parent

Alas, Facebook was founded 4 years too late for even the younger Bush.

comment 6y ago · link · parent

The president of the United States has been using these platforms to lie to the entire world unashamedly. For the most part not even the skillful half truths, statistics and selective quoting that politicians are known for, just complete fabrications and nutjob conspiracies.

The corporations had the choice to continue to be complicit, silence him completely or provide some balance from other sources. It seems to me that they choice a cautious and sensible approach.

comment 6y ago · link · parent

That's precisely contrary to my point. The available evidence is that the 737 Max did not meet the certification requirements for force vs pitch. As such no amount of extra training would have sufficed to make it a certifiable aircraft.

I appreciate that Boeing themselves have made this difficult by their PR line that MCAS makes it fly like other 737s. If you have ever been involved in something like this being managed in the public perception you'll understand this is pretty typical of how technical issues are dumbed down for public consumption. In this case it also happens to be technically correct, in that other 737s have certifiable behaviour in this flight regime, so MCAS makes it fly more like them.

comment 6y ago · link · parent

I've gotten fed up of trying to explain this to people. The tldr is that the most reasonable interpretation of events is that the 737 Max without MCAS is not certifiable without MCAS (or at least a better thought out modification to the control feel system). There is no particular requirement for aircraft on the same type certificate to "handle" the same way. For an extreme example look at the Cessna 500 series. The CJ4 has a note in its pilot operations hand book that it is high performance and is basically at the limit of what a single pilot can handle.

comment 6y ago · link · parent

That made me think of an interesting point. I wonder how much of the M1's performance comes from just being able to press the reset button on backwards compatibility? In other words, if I take a latest generation AMD processor and compile every binary for it with all of the processor specific optimisations enabled how much faster would it be.

comment 6y ago · link · parent

I think you missed this:

> This should be easy to fix but it is another thing which needs to be rolled out and working in the next 10 years.

comment 6y ago · link · parent

I think it comes down to what interests you. Nuggets like how different map projections impact size and shape of the earth is the kind of thing I would never forget.

Other kids could discuss specific goals, matches, titles and football players; sometimes from foreign leagues. Even though I vaguely enjoy watching the odd match, the details would instantly be lost to the ether.

comment 6y ago · link · parent

Alas, if it makes my heating work the way it is supposed to then it's a price I'm willing to pay.

comment 6y ago · link · parent

> Is also a matter of performance (no wonder Java code is that slow)

Surely these would be trivially inlined?

comment 6y ago · link · parent

I accept that but for the moment there is no centrally organised way to do this, car charges have timers and the like built in for sure, but that is asking a lot to expect everyone to set it. The majority of people will come home and plug in. This should be easy to fix but it is another thing which needs to be rolled out and working in the next 10 years.

comment 6y ago · link · parent

Tesla's new fast chargers support 250kw peak per car. So even 12kw is nothing to write home about. How many poles is that shared between? If it's more than 4 then it's not really enough. I suspect the reason the conductor is over specified though is to avoid voltage dropping outside of the 10% range it's allowed.

comment 6y ago · link · parent

3kw is a trickle charge. Even the previous generation leaf had a 24kwh battery. From flat to fully charged would be overnight. 60kwh is more like what you need for similar range to a petrol car.

comment 6y ago · link · parent

Do you have a reference for this because it seems unlikely to be true. The difference in wiring guage between a 100w light and a 3kw is very significant.

Edit: this article talks about one street in London being the first to have car chargers built in an is from March this year.

https://www.fleeteurope.com/en/new-energies/europe/analysis/...

comment 6y ago · link · parent

I'd heard somewhere that the idea that the national grid would need upgraded is vastly overstated but doing some back of the envelope maths does seem like it could potentially be a problem.

My workings were 32 million licenced cars, 40kwh each (obviously bigger batteries are already available but you'd hope not every car would need charged from scratch). Works out as over 1000gwh, you'd have say 10 hours to charge them so you could bring that down to 100gw. Average electrical consumption in the UK is about 30gw. I appreciate it's a gross over estimate as most cars won't do nearly that many miles every day.

Average mileage in the UK is typically around 10k miles. A 40kw battery nets somewhere around 200 miles, so needs to be fully charged perhaps once per week on average. That cuts the above significantly but it's still of the order of the UK's current average consumption.

comment 6y ago · link · parent

She is currently slightly obsessed by the ring doorbell. I feel her techie lust is incurable.

comment 6y ago · link · parent

Thanks for the hint on ethernet over power. I can plug one in reasonably close to the thermostat and another close to the router and they'd be on the same ring main so should work pretty well.
1
454647
88