HNHacker News
TopNewBestAskShowJobs

ludston

1,233 karma · joined July 3, 2012

submissionscomments
ludston··on Australian employees now have the right to ignore work emails, calls after hours
My personal experience is that Australia doesn't have a huge problem with this generally. But mileage may vary. If it were a huge problem then vested interests would lobby fiercely against the law, and it seemed to pass without much challenge or comment from the public here.

This law might seem like a big deal if you're working in a place without labour protection laws, and therefore you're used to constant abuse from management and live in permanent anxiety of some petty retaliation. But here it really ought to just be a formalisation of normality unless you're working with particularly poor managers.

ludston··on It took my savings and 14 years but I’m about to beat arthritis
If true, what an amazing discovery.
ludston··on Cannabis use linked to epigenetic changes, study reveals
I think it is equivalent. It's not by default, a bad thing to take drugs in order to help control your mood. I am certainly an enjoyer of alchohol on rare occasions.

It just becomes a problem when your dependence on it causes you to become anti-social and/or generally a burden upon the people around you. For example you end up in the psychiatric hospital, costing the tax-payer 100's of thousands of dollars to baby-sit you whilst you recover from your latest meth bender.

ludston··on Cannabis use linked to epigenetic changes, study reveals
So long as they are choosing to live in such a way that improves the lives of the people around them to some degree of their abilities rather than burdening the rest of us then it's fine. Do all the drugs you want.
ludston··on Cannabis use linked to epigenetic changes, study reveals
Even if it doesn't have physical side effects, it certainly must have psychological ones.

My pet theory is that people relying on substances to emotionally regulate can neglect to develop the regular skills that everybody who doesn't rely on substances use for emotional regulation. And that's why some 40 year old stoner's will seem to have the emotional maturity levels of teenagers.

ludston··on A Road to Common Lisp (2018)
Yes. The trend is towards standardizing on an library called jzon. It's pretty decent.
ludston··on Common DB schema change mistakes in Postgres
Roles are for services not for users. If you have a read-only Web api then it makes sense to use a read-only role regardless of which user is using it.
ludston··on Programming Is Mostly Thinking (2014)
It's not just thinking though. You're not sitting at your desk quietly running simulations in your head, and if a non programmer was watching you debug it would look very busy.
ludston··on Programming Is Mostly Thinking (2014)
Fluency in bug fixing looks like, "there was an unhandled concurrency error on write in the message importing service therefore I will implement a retry from the point of loading the message" and then you just do that. There are only a few appropriate ways to handle concurrency errors so once you have done it a few times, you are just picking the pattern that fits this particular case.

One might say, "yes but if you see so many concurrency related bugs, what is the root cause and why don't you do that?" And sometimes the answer is just, "I work on a codebase that is 20 years old with hundreds of services and each one needs to have appropriate error handling on a case by case basis to suit the specific service so the root cause fix is going and doing that 100 times."

ludston··on Programming Is Mostly Thinking (2014)
Agree and disagree. Certain programming domains and problems are mostly thinking. Bug fixing is often debugging, reading and comprehension rather than thinking. Shitting out CRUD interfaces after you've done it a few times is not really thinking.

Other posters have it right I think. Fluency with the requisite domains greatly reduces the thinking time of programming.

ludston··on U.S. Steel Shareholders Approve Sale to Japan's Nippon Steel
What? You mean capitalist nation rather than communist right?
ludston··on Is .NET just miles ahead or am I delusional?
Yes. So you can not really argue that C# is better in the browser than javascript because unlike javascript it doesn't have native integration, or the same loads of documentation and libraries and tutorials and frameworks that are part of the JavaScript ecosystem.
ludston··on Is .NET just miles ahead or am I delusional?
I could probably give 20 different examples of this too. Not all of them would have identical compiler output, but the behaviour would be.

E.g. you could add

private int Foo { get; } = 4;

To the above example given that the behaviour is identical, although the compiled output should be different so I didn't to avoid any nit pickers.

ludston··on Is .NET just miles ahead or am I delusional?
All the same:

int Foo => 4;

private int Foo { get => 4; }

private int Foo { get { return 4; } }

ludston··on Is .NET just miles ahead or am I delusional?
Miles ahead of what? There is a reason that we write javascript in the browser and operating systems in c or c++, and telco services in erlang, and academic works in python rather than in C# or F#.

.Net is the best at being .Net I guess. It has loads of libraries that are both good and terrible. I think the .Net web ecosystem is a god-awful mess of magic DSL's and configuration, and more and more sugar syntax is being added to C# to make it harder and harder to on-board new developers, and .Net Core deciding to break backwards compatibility is probably costing my org 10's of millions of dollars. But I guess I don't need to type as much as I did 10 years ago.

ludston··on Why Don't I Like Git More?
I guess I can't take this seriously as soon as he said he didn't want decentralised version control.
ludston··on Gerbil Scheme – A Lisp for the 21st Century
Lisp programmers often call these algol-like languages or c-like languages.
ludston··on Georg Cantor and His Heritage
> Or I can tell you that it in base 10, it has an infinite representation,

Does it really have an infinite representation? I can't imagine an infinite representation fitting on a page. I'm pretty sure you're representing it as 1/3 or 0.(3). Neither of those representations are infinite. They're only a few characters really.

ludston··on Georg Cantor and His Heritage
You can have as many different symbols as you like, so long as you can actually write them on paper. As soon as you tell me that one of those symbols is a number with infinite digits I will disagree with you, given that you are unable to tell me what those digits are before the universe ends.
ludston··on Georg Cantor and His Heritage
No, infinity is a different concept to all of those quite distinct concepts. There are also clear and observable uses for all of those things that make them hard to replace, whereas infinity is unique in that if you drop it as an axiom then everything still works and your mathematical system becomes more rigorous.

Also I clearly just demonstrated that you can count negative numbers easily so I don't understand why you find it impossible.

ludston··on Georg Cantor and His Heritage
Once you drop infinity as an axiom you have to think about fractions and repeating decimals differently.

1/3 isn't a real, it's a fraction. Fractions can be used to generate reals, and they can be used in algebra along with reals.

0.(3) is also not a real. It's also just representative of a procedure that can generate reals.

Both 1/3 and 0.(3) can still be used in algebra in the same way as before. You don't lose any capability because you can't practically expand 0.(3) to infinite decimal places in the first place.

ludston··on Georg Cantor and His Heritage
Sure you can. Generate all 1 digit numbers, then generate all 2 digit numbers and so forth. Which number won't be generated?
ludston··on Georg Cantor and His Heritage
What price? In an algebraic setting you are never going to convert sqrt(2) into a real number, and in any practical setting you're going to have to round because nothing real actually has infinite precision.
ludston··on Georg Cantor and His Heritage
Sure I can. I start with the number of sheep I expect: 30, and then count backwards. When I count to -3 I know that I have too many sheep. There is no rule that says counting backwards isn't useful. Any positive number can be represented as a negative number in relation with a constant and remain a perfectly isomorphic model of reality.

Infinities are quite different, given that it is by definition impossible to measure whether something in reality is infinite or not unless you have infinite time.

ludston··on Georg Cantor and His Heritage
1/3 is also a special kind of procedure. It's 1 divided by 3. Either you use the isomorphic 0.3 repeater procedure where you recursively add 3 digits until you get bored or you have enough, or you use division to generate the number sequence. The fun thing about fractions is that we've worked out some ways in which fractions can be multiplied with natural numbers and rational numbers to generate new fractions, and also some fractions conveniently are isomorphic with rational and natural numbers.
ludston··on Georg Cantor and His Heritage
If infinities don't exist then R and N don't have cardinality so that's not really a problem.
ludston··on Georg Cantor and His Heritage
Well, you have to ask yourself what is PI really? You've been taught it is a number with infinite decimal places, however, practically speaking when you use PI you actually round. Practically speaking this doesn't matter because it's not actually possible to have a shape with infinite points in reality so you only need to approximate to whatever fidelity suits you.

How is this? This is because PI is not actually a number. It's a procedure that generates digits for approximating things about circles.

This is the same with sqrt(2). The sqrt procedure emits digits just as the procedure to find all real numbers does.

You can't "reach" PI for the same reason that a natural number can't reach "f(x) => x + 1". That is, natural numbers aren't procedures or functions.

ludston··on Georg Cantor and His Heritage
Yes. I have seen debt before.
ludston··on Georg Cantor and His Heritage
Yes. Infinity doesn't exist in the same way unicorns don't exist. The difference is that some people religiously believe in the existence of infinities and try to defend their existence even though nobody has ever seen one: see other replies to this thread.
ludston··on Georg Cantor and His Heritage
Since you can't write down this number, how can you generate a second number using this number? You'll never finish generating the first number in order to start the second.

You can come up with a bunch of procedures that generate numbers indefinitely, and you can even define relationships between those procedures, but a procedure is not a number.

← PreviousPage 5 of 14Next →