3,526 karma · joined Sep 5, 2024 (2y ago) · 1,155 submissions
comment 1y ago · link · parent
Yet, the entire Workday chain of developers, PMs, management - all slapped their seal of approval on the product and pushed it out the door. Compiles? Good Enough.
comment 1y ago · link · parent
An accountant friend was just migrated to Workday(?) for their backend. Apparently whatever labyrinth configuration they have can only export 12,000 rows at a time. The official workaround they were given was to run reports in one week batches when a month of data is required. Previous solution could seemingly export unlimited amounts of data and time windows. A complete technical failure for which everyone should be ashamed.
comment 1y ago · link · parent
All that being said, there are more affordable NAS cases that would eliminate the labor. This is both an art piece and a because-I-can kind of venture.
comment 1y ago · link · parent
...The men in the testosterone groups had significant increases in the cross-sectional areas of the triceps and the quadriceps (Table 4); the group assigned to testosterone without exercise had a significantly greater increase in the cross-sectional area of the quadriceps than the placebo-alone group
[0] https://www.nejm.org/doi/full/10.1056/NEJM199607043350101comment 1y ago · link · parent
On Apple devices, first-party applications get to circumvent LittleSnitch-like filtering. Presumably harder to hide this kind of activity on Linux, but then you need to have the expertise to be aware of the gaps. Docker still punches through your firewall configuration.
comment 1y ago · link · parent
As to the first problem, I recommend the Parse don't validate post[0]. The essential idea is stop using god objects that do it all, but use specific types to make contracts on what is known. Separate out concerns so there is an UnvalidatedUser (not serialized and lacking a primary key) and a ValidatedUser (committed to the database, has unique username, etc). Basic type hinting should get you the rest of the way to cleaning up code paths where you get some type certainty.
[0] https://lexi-lambda.github.io/blog/2019/11/05/parse-don-t-va...
comment 1y ago · link · parent
Which still sounds super fake to me. It takes a host of modern drugs to prevent rejection when doing human-to-human transplants. I have long odds that monkey tissue would result in anything but a painful, septic death.
As a medical benchmark, penicillin was discovered in 1928.
Edit: I was ignoring the obvious - sham surgery! Just leave a bit of a scar, maybe inject them with some cocaine, and everyone comes out smiling.
comment 1y ago · link · parent
I have always booked corporate flights through an internal portal system. I assumed that this identified me as a belonging to X company, so my options would be priced by some standing agreement with the airline. Is this not true?
comment 1y ago · link · parent
Which becomes a different issue - what do you think str(True) and str(False) should produce. Integer representations? That then makes other things unintuitive with changing the form of a boolean.
print(0, 1, False, True)
# today: 0 1 False True
# as ints: 0 1 0 1
# new str: 0 1 "True" ""comment 1y ago · link · parent
comment 1y ago · link · parent
prefer bool() threw an exception on receiving a string, rather than act the way it does now.
That breaks the truthiness cornerstone of the language. You can write a = 1 # or [], (), "yo", "false", 3.2, MyFooClass(), (1,), False
if a:
fire_ze_missles()
else:
declare_peace()
Upon encountering `a`, Python is evaluating bool(a). If that no longer works for strings, you now need a separate code path for determining a non-empty string.It can short-circuit the brain upon reading a word that you know means false, but the Python rules are consistent. "Empty" is False, everything else is True.
comment 1y ago · link · parent
Do you think there should be different results for bool("no"), bool("false"), bool("heckno!"), bool("heckyes!")?
Edit: should have included internationalization: bool("nein!")
comment 1y ago · link · parent
Only a realistic strategy for small bits of code, but I have considered do the same for a few utility libraries which are a focused niche, but subtle enough that you would rather outsource the complexity.
comment 1y ago · link · parent
Failing to find a write-up, but there was this lobster thread[0] where someone from GitLab reported they had to do the same owing to some discrepancies vs the binary -where all of the real development happens.