Better HN
topnewbestaskshowjobs
Log inSign up

3eb7988a1663

3,526 karma · joined Sep 5, 2024 (2y ago) · 1,155 submissions

Submissions

comment 1y ago · link · parent

I am not invested in this particular issue, but the recurring root cause: the organization is completely disconnected from actual users. No accountant would think 12k rows for a corporate level system was acceptable. How do you handle monthly, quarterly, annual reporting? A single POS terminal at Target could process 12 thousands transactions in a month.

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

I have been looking for the term to describe this kind of enterprise software. It has glossy dashboards that are sold to VPs with the flash, "Monitor the entire company from one screen!" The actual rank and file users hate the product because little attention is ever given to the day-to-day workflows. Things barely work, super convoluted, etc.

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

The intention is to get one of those ~$100 N100 minipcs for the guts. Still coming in under budget vs the commercial option.

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

One completely random study result[0] supporting that couch + testosterone leads to bigger muscles. Maybe it is some puritanical thing, but not sure why this myth persists. Exercise + juice results in even bigger gains, but it is possible to increase muscle mass without hard work.

  ...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/NEJM199607043350101

comment 1y ago · link · parent

Billing mistakes happen all the time. Even (especially?) at multinationals with dedicated payment departments.

comment 1y ago · link · parent

When the nefarious actor is already inside the house, who knows to what lengths they will go to circumvent the protections? External network blocker is more straightforward (packets go in, packets go out), so easier to ensure that there is nothing funny happening.

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

That is an excellent insight about non-domesticated plant quality. Without human guidance, plants optimize for something significantly different than optimum tastiness or ease of harvest. Ancient corn varieties started with just seven kernels per cob.

comment 1y ago · link · parent

In fact, many plants already receive too much sunlight and have various mechanisms to limit their exposure.

comment 1y ago · link · parent

Amazon literally deleted 1984 from Kindles.

comment 1y ago · link · parent

Do you mean like is the User object is a well formed User, or did someone actually give you an int?

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

Just as long as you do not need a boolean.

(I know, modern Oracle has finally fixed this, but I have Oracle 11 and 12 systems which bring me daily joy)

comment 1y ago · link · parent

I am not sure I want the system to continue operating in that scenario. You have corrupted hardware that could be trashing other records. What if it is flipping bits on financial transactions?

comment 1y ago · link · parent

I am just excited because the more EVs mean fewer idiots in hot rods running without mufflers.

comment 1y ago · link · parent

There is even a wikipedia page on it: https://en.wikipedia.org/wiki/Monkey_gland

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

Minus some magic, those scripts are not going to interface with the IDE debugger.

comment 1y ago · link · parent

Not that I use Jitsi, but I suddenly feel more embarrassed about my number of open tabs. Some other exploit could have silently been launched long ago.

comment 1y ago · link · parent

For a 500 word blog post, sure it may be a bit much. This article was a decently hefty read, for which the summary callouts are not out of place.

comment 1y ago · link · parent

I was thinking an academic Abstract, but sure.

comment 1y ago · link · parent

What are some tells of a business flight? The only one that comes to my mind: I am doing whatever is possible to fly out on Monday or Friday rather than give up my weekend for the company.

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

Humans do not write conclusions? As someone who went to college, that is a natural way to end a long essay. True mark of higher education would be writing the conclusion at the top.

comment 1y ago · link · parent

It is hard to see many people empathizing with Mark when he routinely makes such terrible decisions. You want him to win, but even hearing his rationalizations -some of his actions are insane.

comment 1y ago · link · parent

Sounds like your complaint is with str() and not bool().

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

I fall into the "pull" camp so this is less of a worry. The server to be backed-up should have no permissions to the backup server. If an attacker can root your live server (with more code/services to exploit), they do not automatically also gain access to the backup system.

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

That is entirely consistent with how truthiness works in Python. The function does not claim to parse strings, that is how you get YAML Norway.

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

mRNA research. Something which the current government just cut funding across the board.

comment 1y ago · link · parent

I am failing to find it, but Simon Willison had a post where he vendored some small (<1000 line) blob of code instead of adding it as a dependency. The trick was that he had some Github action(?) automation which would automatically check if the vendored version ever fell out of sync with upstream. Get the benefits of vendoring while minimizing your actual support burden.

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

Jujitsu threw in the towel and is shelling out to the git CLI because of minor variations in libgit vs the binary.

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.

[0] https://lobste.rs/s/vmdggh/jujutsu_v0_30_0_released

comment 1y ago · link · parent

Does that mean it might be easier, regardless of language, to shell out to your cryptographic Go binary rather than deal with OpenSSL? I dislike a lot of Go, but they have been pretty good about backwards compatibility.
1
282930
39