HNHacker News
TopNewBestAskShowJobs

bennyelv

566 karma · joined August 8, 2017

submissionscomments
bennyelv··on Daily energy expenditure through the human life course
Given that we're talking about cycling, the solution is to buy a power meter and measure rather than estimate. Unfortunately that's a rather expensive option for all but the most committed cyclists.

Being someone who has a power meter, I can say that strava's estimates over a long time period aren't that terrible, but if you're riding in a group, or there was a some wind, or a million other reasons they can be absolutely miles out.

That's hardly strava's fault, it's more about what's actually possible with an estimate.

What is completely made up and should be ignored is the calorie burn estimates you get from gym equipment.

bennyelv··on Daily energy expenditure through the human life course
It's actually nowhere near as simple as that, and it depends on how you define the "same activity".

Moving your body from one location to another at a particular speed results in a fairly static amount of work done (in the basic physics sense). So if the same you hops on a bicycle and cycles up the same hill in the same conditions with the only difference being that one of you has trained hard for the last 5 years and the other hasn't (but somehow your body mass has stayed the same) then you'll burn exactly the same amount of energy. Untrained you will find it much harder, but the energy burn will be roughly the same.

There are some things that can be different as you go from "untrained" to "trained", for example lighter people burn less energy moving themselves around than heavier people. Trained people tend to do activities harder/faster so the "same activity" could actually be a much harder activity despite it not feeling that way. Although if the activity involves travelling a set distance some of the extra effort involved in doing it faster is offset by the fact that it takes less time, so the difference between the two is not as large as you'd think.

bennyelv··on Strong static typing, a hill I'm willing to die on
Amen!

I'm currently responsible for a very large system built in raw javascript where function definitions like this one in the article: function birthdayGreeting1(...params)

...are the religion.

It's awful. I hold the people responsible in very little regard.

bennyelv··on Tell HN: Enterprises spend 10x more to build no-code solutions than coded ones
Big assumption that! Code written by non-developers, or even by the type of developer who is a tradesman rather than an engineer is usually untestable.

The biggest and only advantage is that you can read it and debug it in order to understand it, which you can’t do if it’s embedded in a mess of lines and boxes with logic hidden several clicks down in a low code platform.

bennyelv··on Tell HN: Enterprises spend 10x more to build no-code solutions than coded ones
Highest Paid Person’s Opinion, I believe.

You know the ones, they drop in towards the end of a complex cross functional discovery process and say something like “but it should do it like…” or “can’t you just…”

And some of the time they’re right, but the reason they’re right is because they created an organisation without delegated authority and autonomy, and tasked a team with creating change that also didn’t have authority. Which reinforces their view that micromanaging and not delegating authority is the only way to operate effectively because their team just doesn’t come up with the right answers ever.

bennyelv··on Why’s that company so big? I could do that in a weekend (2016)
Doesn’t that apply for every software product? Google didn’t start out by designing their own hardware, building their own datacentres, and implementing their own frameworks did they? Those things come later for optimisation.
bennyelv··on DJI Mini 4 Pro
> The big one to me though is the wind resistance. 10.7m/s is 23mph. The original specs 17mph. It is hard to say at which point it starts having trouble, but 23mph is a non-trivial improvement, it probably means 2x as many days you can actually fly.

That’s a huge one for me as well (also own a mini). I live near the sea and the number of days you can actually fly is surprisingly low. 23mph is still pretty low, but I understand the weight vs windspeed tradeoff.

bennyelv··on Shimano Recalls 760k Cranksets
It’s the old weight/strength/price triangle at play! Turns out they sacrificed the “strength” side a little too much…

Ultegra cranksets are surprisingly light, and Dura-Ace ridiculously so. It messes with your mind if you pick one up on its own.

bennyelv··on How Equifax Was Breached in 2017
Agreed - but 27001 doesn't have an opinion on that. It only requires that top management have set the context that the rest of the information security management system hangs off of. It doesn't specify what that context should be for your company.

It's completely unlike SOC in that regard.

bennyelv··on How Equifax Was Breached in 2017
Common misunderstanding about 27001 - it doesn’t have mandatory anything when it comes to security controls.

It defines how you structure and operate a risk based security management system, that’s all. It’s perfectly valid to say “I should be doing pen testing but my risk appetite is high enough for me not to care”, and still get a 27001 certification.

bennyelv··on European Cyber Resilience Act [Discussion]
It seems to apply only to "products with digital elements":

>>This Regulation ensures a high level of cybersecurity of products with digital elements. It does not regulate services, such as Software-as-a-Service (SaaS), except for remote data processing solutions relating to a product with digital elements understood as any data processing at a distance for which the software is designed and developed by the manufacturer of the product concerned or under the responsibility of that manufacturer, and the absence of which would prevent such a product with digital elements from performing one of its functions. [Directive XXX/XXXX (NIS2)] puts in place cybersecurity and incident reporting requirements for essential and important entities, such as critical infrastructure, with a view to increasing the resilience of the services they provide. [Directive XXX/XXXX (NIS2)] applies to cloud computing services and cloud service models, such as SaaS. All entities providing cloud computing services in the Union that meet or exceed the threshold for medium-sized enterprises fall in the scope of that Directive

Does anyone know what the other directives that are referred to here might be (currently just XXX/XXXX)? Are they directives that are also still under development?

bennyelv··on Platform Engineering – What’s Hype and What’s Not?
Turns out the world of tech is just like fashion: I was working on a platform engineering team in 2006!

It really is just slapping a fancy label on the very obvious concept of working out what the common problems are that your software engineers are having to solve that aren’t about the unique value of the system they’re building, and then solving them once, for everybody, in a coherent and managed way.

Pretty obvious and non controversial in my opinion, no SRE’s or devops engineers need to be sacrificed in its name.

bennyelv··on Skip the API, ship your database
That’s the critical point - in theory this idea is fine.

In reality other ways of solving the same problem have a decade of industry knowledge, frameworks and tooling behind them.

Is the marginal gain from this approach being a slightly better conceptual match for a given problem than the “normal way” worth throwing away all of that and starting again for?

Definitely not in my opinion. You’ll need to spend so much effort on the tooling and lessons before you’re at the point where you can see that marginal gain appear.

bennyelv··on Skip the API, ship your database
Absolutely correct, listen to this article's ideas with great scepticism!

The system that I'm currently responsible for made this exact decision. The database is the API, and all the consuming services dip directly into each other's data. This is all within one system with one organisation in charge, and it's an unmanageable mess. The pattern suggested here is exactly the same, but with each of the consuming services owned by different organisations, so it will only be worse.

Change in a software system is inevitable, and in order to safety manage change you require a level of abstraction between inside a domain and outside and a strictly defined API contract with the outside that you can version control.

Could you create this with a layer of stored procedures on top of database replicas as described here? Theoretically yes, but in practice no. In exactly the same way that you can theoretically service any car with only a set of mole-grips.

bennyelv··on Phenylephrine for colds and allergies don’t work, FDA panel says
I find it funny that “things you need to cook meth” are such common knowledge among normal people.

Breaking Bad sure had a deep influence!

bennyelv··on How long it took different companies to find product-market fit
Great inspiring article, but I think there’s much more nuance in reality that it doesn’t address.

My company (we’re multi-product) has been working on a new product that ticks a lot of the boxes that are proposed here, but that is still nowhere near PMF.

There are > 100 paying customers who pay ~$30k for the product.

There is a small set of these customers who absolutely love the product.

That’s steps 1-3 done.

But… Overall retention is low (varies between 55-60%).

Sales are pretty flat and seem like a real struggle. Customer acquisition cost is 130-150%.

Just because you got these first 3 milestones doesn’t mean that the rest naturally follow.

My view on this product stalling is that it doesn’t really get the results that the customers think it’s going to and they cool on the idea and stop using it, but… you have companies like Snowflake that went to market claiming to be the one data platform to rule them all, which was also a large over-promise (it’s more expensive, slower, complicated than what they promised) but it grew explosively and IPOed.

Even towards the end of the journey that this article describes there’s still major rolls of the dice that affect the outcome.

bennyelv··on UK drops 'spy clause' for scanning encrypted messages, admits not 'feasible'
Something strange is going on here. Nothing has changed about the bill, yet all news outlets are reporting as if it has.

All that happened was that somebody said "yeah but we won't use these controls so don't worry".

What is the authority of that statement? The bill hasn't been changed.

bennyelv··on Britain’s statisticians fix a blunder and find a bigger economy
I see where you’re going with this, but it’s not that simple. These bodies are created by various means - some are created through primary legislation, some are a bit more discretionary in their nature, but they all have a terms of reference and an independent board that provides governance.

The idea that the ONS would juice their figures due to political pressure is only something that seems plausible if you aren’t aware of how it’s set up.

Here’s their board: https://www.ons.gov.uk/aboutus/transparencyandgovernance/lea...

Who on that board would be under the thumb? How would they get an organisation of hundreds of economists and statisticians to fall into line with their plan?

bennyelv··on Britain’s statisticians fix a blunder and find a bigger economy
The ONS is something called a “Non departmental public body” which means it is not under the control of a minister and is at arms length from the current political rulers of the day.

https://www.gov.uk/guidance/public-bodies-reform#:~:text=A%2....

Weirdly I used to work both at the ONS, and subsequently at the department of the cabinet office responsible for tracking and reporting on them!

bennyelv··on The era of “free” returns is coming to an end at Amazon and other retailers
This must be US only? Consumer protection law in the EU/UK has got this covered for those citizens.

There could be unforeseen consequences for this regardless: 1. The amount of dodgy sellers slinging garbage on amazon has only been growing, and the only reason I (and probably other people) risk it is because you can just send things back if they turn out to be terrible. 2. People might start damaging your goods deliberately in order to return them if they feel that your returns policy isn't fair.

bennyelv··on Barracuda wrongly thought it drove 0-day hackers out of customers’ networks
27001 doesn’t actually explicitly dictate anything other than the structure and operation of the ISMS itself. The selection of appropriate security controls to implement is made on the basis of a risk assessment, and although the standard security controls which you are compelled to consider are explicitly listed in appendix A, the actual fine grained implementation of them is not prescribed at all.

There’s nothing stopping you implementing something better than the now slightly outdated recommendations/best practice for those controls found in 27002. It is guidance only, and if you have good reason to implement a control in a different way, or to not implement a control that is listed but instead treat a risk with an entirely different control you are free to do that.

That’s not to say that 27001 doesn’t have other flaws, and that it isn’t sold/understood as being something it’s not in a problematic way.

bennyelv··on 23 years of illegal data transfers due to inactive DPAs and new EU-US deals
As someone who has to make product/technical decisions in this space, my experience is that the regulation is so far removed from the technical/physical reality that it becomes impossible to work out what you're supposed to do.

Add to that the complete lack of case law and previous judgements, and you end up in a situation where you can either ignore the regulation and take the risk that no enforcement will happen, or you're so hamstrung that you can't be competitive.

Some examples: PECR regulation 6 (https://www.legislation.gov.uk/uksi/2003/2426/regulation/6/m...) - You cannot "gain access to information stored, in the terminal equipment..." without consent. Does this mean I can't have a script that makes a request back to me where that request involves information that was stored in a variable? What about browser properties accessible to javascript? Do I need consent for those? What about the fact that the browser sends me "information stored" whenever it sends an HTTP request and everything other than the initial download of an HTML file is triggered by the contents of that file which I created?

How is one supposed to navigate this minefield? Each DPA publishes guidance about use of cookies and not much else and leaves everyone to try and work out whether a specific technical thing is allowed or not under regulation which is completely woolly and loosely defined.

If you're not based in the EU and don't have any subsidiaries there, you can just ignore it and get on with your life because enforcement isn't practical despite the fact that the regulation claims that it applies to any enterprise which is processing the personal data of EU citizens regardless of where they're based. If you are based in the EU, then you have to try and work out all the answers to these questions at great expense with no way of knowing whether you got it right or you're going to get hit with a big fine in the future because a judge somewhere doesn't agree with your interpretation.

The whole thing is a hot mess that achieves absolutely nothing at the moment.

bennyelv··on JavaScript is weird
When your system gets to a certain size, this is absolutely fatal. Please halt and throw a massive exception, shrugging and carrying on makes bugs impossible to track down and the whole system unpredictable.

It’s a philosophy that might be acceptable for a simple-ish frontend, but when if you try and build something significant it’s just awful.

Source: I inherited responsibility for a > 5m LOC system written in JavaScript. The problems aren’t all JavaScript’s fault, but it does play a major part in it.

bennyelv··on Millions of UK voters’ data accessible in cyber-attack
You can almost guarantee that. Even if they don’t want to share it, a Freedom of Information request will force them to.
bennyelv··on Banks hit with millions in fines for using Signal and WhatsApp
In my experience it's simply down to convenience rather than malice. You have all your colleagues phone numbers, you know that a whatsapp is going to fire a notification that will get noticed whereas an email may not.

Or that email will go to the "work phone" which isn't sitting on the sideboard somewhere rather than in the person's pocket.

That said, there aren't any banks that don't have a comprehensive employee training program on security and compliance, so "I didn't realise" isn't going to be a valid excuse.

That's not to say that there isn't any deliberately malicious use going on, but it's unlikely that malicious use would be uncovered.

bennyelv··on Deutsche Bank's “dysfunctional” IT division (2018)
Agreed - but only where it makes commercial sense to, and each of the layers of the company's IT platform may end up with different plans for integration and end goals for it.

You probably don't want 10 different desktop hardware providers and IT support systems, but it might be a bad idea to try and unify the trading systems for slightly different looking business units unless there's some competitive advantage to be had by doing it.

There wasn't a CIO at Deutsche when I was there, it all fell under the remit of the COO who was this guy: https://en.wikipedia.org/wiki/Hermann-Josef_Lamberti

bennyelv··on Deutsche Bank's “dysfunctional” IT division (2018)
I think you’re correct - I worked there for about 5 years in the infrastructure engineering department. We had very rigorous processes around the underlying platform and keeping the operating systems and hardware up to date.

They’re talking about the “banking” operating systems.

Also note that Deutsche Bank (like many global financial institutions) is not really a single company, but more like 10 different companies all operating under one umbrella.

It’s all very well pointing at a company like Goldman and saying “look, they do IT well” when they don’t have the same range of commercial and consumer businesses as part of their company. If you’re just an investment bank, life is a bit simpler.

On a more general note I feel like in our industry there’s a tendency towards “perfection worship” where people think there’s some kind of immortal “perfect solution” that a company needs and anything less than that is terrible and must be chastised.

This is egoistical and forgets that IT and computing exists to enable companies and not the other way round. The world does not do computing for computing’s sake. Company change can be almost constant, changing systems to keep up is hard and expensive, being able to live with imperfection is critical to commercial success.

bennyelv··on Ask HN: How small startups deal with long security questionnaires from clients?
I’ve already tried this - it worked great!

Copy/paste my library of security questions and answers into GPT-4, copy paste the customer question, answers were as accurate as a human doing it!

bennyelv··on The free soloist who fell to earth
Quite - free soloing and eating bacon are on the same scale just at opposite ends of it.

Neither can really be classed as committing suicide - it has an explicitly different intent.

bennyelv··on Motorbike crashes: highside and lowside crashes explained
You spend at least 3 times as long going up the hill as you do going down it, and a reasonably fit person will be putting out the equivalent heat of an 800w-1000w heater during that period. This makes wearing protective gear impossible. If you look at downhill mountain biking the gear worn is very different.

That’s the reason!

← PreviousPage 3 of 10Next →