HackerTrans
TopNewTrendsCommentsPastAskShowJobs

xen0

no profile record

comments

xen0
·8 gün önce·discuss
The reported average of 20 days is likely skewed by a small number of long leaves and I suspect* is nowhere near typical for the median worker (it's nearly taking a day off every two weeks).

Longer leave already requires a doctor's approval so the proposal to require that for all leave is unlikely to change much other than drown doctors in more busy work.

*I can't find much for the 'median' amount of leave taken per year.
xen0
·2 ay önce·discuss
And yet I would still stop and wait before walking out. The law will not save me against 1.5 tons of metal hitting me by accident.
xen0
·3 ay önce·discuss
Indeed, at 3 pieces per second (I don't have a good sense of how fast good tetris players play, but I've seen some videos and it looks like they can average more than one a second), it's 10 hours of constant play.

Playing at such a speed for 10 hours is kind of insane. Playing it without error is not human.
xen0
·3 ay önce·discuss
> Also: in Europe everybody normally takes paracetamol and not FANS as a first reach to minimize adverse effects. So this article looks like very US centric.

This is not my experience. After moving to Germany from the UK, I feel like people take and expect Ibuprofen far more often than Paracetamol. It seems like the first port of call for colds and general headaches, with Paracetamol being treated with some suspicion, despite it being far more effective in my experience for certain things (I've taken a lot of Ibuprofen and other NSAIDs in my time so am quite familiar with how they affect me).
xen0
·3 ay önce·discuss
As a fencer watching these, I've never felt like I've not known where the blades are. Just from the hand positions and knowing what people do. So I find the constant lights a little distracting.

But I can imagine non-fencers don't have that sense.

What I would like is clarity of when blades meet; this is crucial when determing who scores in foil and sabre and it's often muddied or lost during recordings.
xen0
·4 ay önce·discuss
I've never grokkeed suffix trees, but isn't possible for them to be O(n) in space (n total length of all strings)? Is there just an unacceptable constant factor overhead? I can imagine the pointer overhead being painful.
xen0
·4 ay önce·discuss
That is... amazing.

I think my favourite part is the fact that '1' isn't even one of the supported values.
xen0
·5 ay önce·discuss
As an Englishman that has been transplanted to another country, I find myself making them more in Germany than I ever made them back home.

But that's because my wife requests it.

It would never occur to me to up the egg ratio so high to reach into that void though. My wife manages to mess up the proportions every time though, so maybe we'll unwittingly explore that region one day.
xen0
·5 ay önce·discuss
I am not a fan of Github's interface.

But my point is, is that I believe the important thing to preserve in history is whatever your unit of review is. If you could stack PRs and each were subject to the individual review, I would not combine and squash those (just the individual commits within each PR).
xen0
·5 ay önce·discuss
I want every commit to represent a buildable state in which I have confidence automated tests pass. Bisecting is made unnecessarily difficult otherwise, and it's nice to be able checkout any commit and just build something for testing.

This constraint is usually enforced by code review.

On Github, the unit of code review is the PR.

Therefore, I prefer squashing.
xen0
·6 ay önce·discuss
Thanks for pointing out what I was missing.

Please consider a variable `List{int}[3] x`, this is an array of 3 List{int} containing List{int}. If we do `x[1]` we will get an element of List{int}, from the middle element in the array. If we then further index this with [5], like `x[1][5]` we will get the 5th element of that list.

I get that motivation. In C++ it's an odd case that where `std::vector<int> x[4]` is "reversed" in a sense compared to `int x[4][100]`. And this quirk is shared with other languages (Java, C#).

But in my experience, mixing generic datatypes like this with arrays is quite rare, and multi-dimensional array like structures with these types is often specified via nesting (`std::vector<std::vector>>`) which avoids confusion.

The argument re. pointers is more convincing though.
xen0
·6 ay önce·discuss
The closed intervals for slices caught my eye as well, but I simply filed that under 'that's a weird quirk' rather than 'wtf?'.

It would require more thinking on my end to change that to either 'this is an acceptable choice' or 'this is a terrible idea'.

But the array indices being reversed on declaration? I cannot think of an upside to that at all.
xen0
·6 ay önce·discuss
Reading through, something small caught me by surprise.

https://c3-lang.org/language-common/arrays/#fixed-size-multi...

Multi dimensional arrays are not declared in the same way they are accessed; the order of dimensions is reversed.

Accessing the multi-dimensional fixed array has inverted array index order to when the array was declared.

That is, the last element of 'int[3][10] x = {...}' is accessed with 'x[9][2]'.

This seems bizarre to me. What am I missing? Are there other languages that do this?
xen0
·7 ay önce·discuss
Looking at those in my extended family that have reached retirement, this does not appear to be a given.

End of life care* is highly variable in duration and costs and many people do not adequately prepare for expensive endings.

* this is true of more than just care post retirement
xen0
·7 ay önce·discuss
An unfortunate reality is that you're never going to have such services until there are children for them to service.

Decline like this is difficult to reverse, but that doesn't mean we shouldn't try.
xen0
·7 ay önce·discuss
Your real commit history is irrelevant. I don't care too much about how you came to a particular state.

The overall project history though, the clarity of changes made, and that bisecting reliably works are important to me.

Or another way; the important unit is whatever your unit of code review is. If you're not reviewing and checking individual commits, they're just noise in the history; the commit messages are not clear and I cannot reliably bisect on them (since nobody is checking that things build).
xen0
·7 ay önce·discuss
I work on a build system (Bazel), so perhaps I care more than most.

But maybe it does all just come down to equality comparisons. Just not always within your own code.
xen0
·7 ay önce·discuss
It's sometimes nice to be deterministic.

I don't often care about a specific order, only that I get the same order every time.
xen0
·8 ay önce·discuss
Open source projects? Maybe less so.

But there are definitely companies that use Bazel in a major way.
xen0
·9 ay önce·discuss
At least in British English usage, there is no distinction between Jail, Gaol, and Prison other than at least one of these is a dated word.

I believe only the US has a strong distinction between Prison and Jail.