Better HN
topnewbestaskshowjobs
Log inSign up

bencoder

788 karma · joined Jun 8, 2012 (14y ago) · 304 submissions

Contact: bencoder at gmail dt com
Submissions

comment 5y ago · link · parent

Yes, everywhere I've worked (UK), the EM manages a group of teams, each with their own team lead.

comment 5y ago · link · parent

Pseudonymity is essentially the default state of the internet. The "right" to it just exists by the nature of it.

If you want to remove that right you need to argue why it shouldn't exist

comment 5y ago · link · parent

Excellent resource, thank you!

I think the date at the top has the wrong year (2020 / 2021)

comment 5y ago · link · parent

Probably the billions that governments have paid for their place in the queue

35.

Vibration overcomes gravity on a levitating fluid(nature.com ↗)

37 points · by bencoder · 6y ago · 10 comments

comment 6y ago · link · parent

If that's your conditions I'll quit because I'm not desperate for the job... because of UBI

comment 6y ago · link · parent

It's mostly impossible - try buying bitcoin with a card that isn't in your name and see if you can manage it

comment 6y ago · link · parent

Not the OP but I count integration testing as testing integrations /between/ systems - wherever your code depends on something outside your codebase. You can mock this for unit testing.

Don't mock things that are already in your codebase. Use the actual object.

Common argument against this I've heard is "But then when something goes wrong it is harder to figure out where the problem is" - I have never actually experienced this myself, but I have, very often, experienced being reluctant to do any refactoring because I'd have to rip up all the unit tests because they are testing only implementation details

comment 6y ago · link · parent

> There is no formal definition of what a unit is or how small it should be, but it’s mostly accepted that it corresponds to an individual function of a module (or method of an object).

And there-in lies the problem. Remove the idea that the unit is a single method/function.

I subscribe to the idea that a unit is a unit of functionality. Nothing to do with the code implementation.

Only mock where you're reaching out outside of your codebase (filesystem, network, operating system (time, for ex.))

You can still do unit tests for individual functions when you need to work on a complicated algorithm, but those functions should have no dependencies or side effects - pass in all the data you need

comment 6y ago · link · parent

This is a really impressive demo and points to a very interesting future of programming where requirements can be automatically converted to code and the developer is primarily determining and phrasing unambiguous requirements and checking the resulting code.

I don't know if that's a future of software development that I would wish to see, but it's definitely interesting!

comment 6y ago · link · parent

Since January 1st 2020 the requirement is for ADS-B out. So they will be reporting their GPS position also, now.

comment 6y ago · link · parent

If you click the "camera" option a few times you get to satellite view - and you are correct, it seems we are driving in a big loop

comment 6y ago · link · parent

I feel like there's a huge amount of delayed demand. A lot of people I know are pretty desperate to travel as soon as it's safe to do so (without quarantine after each leg).

I don't think demand will take such a huge hit. It just depends on whether the airline industry can ramp up supply again quickly or if it will take a long time.

But I could just be in a bubble of people who still have jobs and I suppose that might all change as the true economic effects settle in

comment 6y ago · link · parent

That's a cool idea. Though I see no need to make it VTOL. A simple tug plane, like a glider tug but for passenger aircraft. Really nice thought!

45.

VentilAid open-source ventilator that can be made anywhere locally(youtube.com ↗)

2 points · by bencoder · 6y ago · discuss

comment 6y ago · link · parent

We are about 2 weeks behind Italy in death rate, which is the only measure that can be reliably compared between countries, due to differences in test rates and criteria to be tested.

Is 2 weeks "grace period" before implementing a lockdown and starting the heavy measures worth it in the long run? I don't think so.

47.

GPT-2 generated VC thought leader(twitter.com ↗)

1 points · by bencoder · 6y ago · discuss

comment 6y ago · link · parent

The true inflation rate is probably a lot higher than CPI which is what most calculators use. Somewhere between 7-13% [0] (for example)

[0] https://www.businessinsider.com/if-people-knew-the-actual-in...

comment 6y ago · link · parent

I work with quite a few ex-BBC developers. It seems to be more of a labor of love. They universally have said that it's poorly paid, relatively.

comment 6y ago · link · parent

They used to give it away. I learnt to program from a free magazine cover-disk Delphi, and its excellent help system.

comment 6y ago · link · parent

I've always had problems with external displays on macbooks. Particularly when using 2, regardless of hdmi or TB, but even a single display sometimes refuses to work without repeatedly unplugging and retrying. Never explicitly tried leaving for 20 seconds though, I'll try that next time

comment 6y ago · link · parent

Yep, I would fork myself.

Merging and deconflicting if you want to reunite forks could be a fun problem to solve in the future

comment 6y ago · link · parent

100% of its expected actual failure point, based on its design.

The plane is rated to 2/3rds of that (I think this is pretty standard in aviation) - the other "100%" - meaning it should never go above that in flight, and if it does it would require a very costly teardown/inspection.

12345
11