ruffsl

joined 2 years ago
MODERATOR OF
 

Bonus points if you also know:

  • How the language (allegedly) got it's name?
  • Which operating system still leverages the language today?
 

cross-posted from: https://programming.dev/post/619886

As of version 3.42.0 (2023-05-16), the SQLite library consists of approximately 155.8 KSLOC of C code. (KSLOC means thousands of "Source Lines Of Code" or, in other words, lines of code excluding blank lines and comments.) By comparison, the project has 590 times as much test code and test scripts - 92053.1 KSLOC.

  • Four independently developed test harnesses
  • 100% branch test coverage in an as-deployed configuration
  • Millions and millions of test cases
  • Out-of-memory tests
  • I/O error tests
  • Crash and power loss tests
  • Fuzz tests
  • Boundary value tests
  • Disabled optimization tests
  • Regression tests
  • Malformed database tests
  • Extensive use of assert() and run-time checks
  • Valgrind analysis
  • Undefined behavior checks
  • Checklists

Related discussions:

[–] [email protected] 2 points 2 years ago

Not sure how to help on iOS. Perhaps you could modify the manifest file for the PWA, before installing it, and change the display property to something other than fullscreen or standalone, so that the browser navigation bar is retained, but at that point, might as well use the browser anyway.

https://developer.mozilla.org/en-US/docs/Web/Manifest/display

Perhaps you could file a ticket on the Lemmy UI repo about iOS PWA navigation? Although, surely iOS web devs must have a solution to such a common UI pattern.

[–] [email protected] 3 points 2 years ago

Yea, luckily Android can use the back navigation gesture in the PWA to traverse the site much like a browser tab's history. Android even has the lesser know forward navigation as well: handy when you accidentally pressed the back navigation gesture, but don't want to have to find the link you clicked before to get back to the same page you backed out of.

I wish the website or PWA had more of a short term memory about the state of pages you visit. As when I go back and forth posts and feeds, I have to return the content sort option back to what I was using before I left the comment section, as well as re-minimize the same comment threads, even if those comment subtrees never changed sence I folded them previously.

[–] [email protected] 4 points 2 years ago

Also, be sure to checkout this community: [email protected]

 

As of version 3.42.0 (2023-05-16), the SQLite library consists of approximately 155.8 KSLOC of C code. (KSLOC means thousands of "Source Lines Of Code" or, in other words, lines of code excluding blank lines and comments.) By comparison, the project has 590 times as much test code and test scripts - 92053.1 KSLOC.

  • Four independently developed test harnesses
  • 100% branch test coverage in an as-deployed configuration
  • Millions and millions of test cases
  • Out-of-memory tests
  • I/O error tests
  • Crash and power loss tests
  • Fuzz tests
  • Boundary value tests
  • Disabled optimization tests
  • Regression tests
  • Malformed database tests
  • Extensive use of assert() and run-time checks
  • Valgrind analysis
  • Undefined behavior checks
  • Checklists

Related discussions:

[–] [email protected] 0 points 2 years ago (1 children)

BTW, I recently found this Lemmy community [email protected] . @[email protected] , have you seen this one?

[–] [email protected] 1 points 2 years ago

If this did the slang and colloquial translation, that could be useful. I find it kind of amusing that UK English is oftenly annotated as such, with some nebulous consensus reached in deciding it had to be labelled it's own language option.

[–] [email protected] 3 points 2 years ago

There have been duplicate threads in both [email protected] and [email protected] cropping up about every few days, just after the previous related post falls off top of the local active/hot feeds. So I think pinning this mega thread for a while would help consolidate the discussion. Related:

[–] [email protected] 0 points 2 years ago

In reply to an offline discussion:

I get Facebook is evil and all, but having trouble understanding why it shouldn't be federated. Is the fear that FB content will overwhelm the network/resources? All arguments I see are philosophical or emotional. Thinking users should be able to filter content they don't want and operators should behave more like a DNS service (routing). Thinking FB federation would only increase adoption

Increase adoption? Probably, but taking a more pragmatic standpoint, setting aside Facebook's notorious history, I'd prefer a more cautious approach by first incentivizing organizations, institutions, and perhaps even individuals to join the FediVerse by not relying on a centralized instance.

If users can spread out using other federated platforms, diversifying stakeholders in the network, then this could help establish some degree of protocol ossification for ActivityPup.

In this regard, I shared similar concerns with reddit users who were at first asking app developers to trivialise user onboarding by defaulting everyone to lemmy.world . Given recent security incidents, I think this week has been a notable (if not a thankfully early and forgiving) reminder of the perils of putting all our eggs into one basket/instance. IMHO, sustaining perpetual diversity of our network is key for the Fediverse's survival, and perhaps for the Internet itself in general.

Instead, we could prioritize federating with more independent stakeholders first, rather than with a single social media instance that is already larger (by several orders of magnitude) than the current Lemmy-verse, let alone the entire Fediverse.

Platform Total Active
Facebook Threads 100,000,000 ?
Fediverse 10,048,569 1,941,542
Lemmy 363,331 74,361

Sources:

There are defeatists that suggest if ActivityPup can not passively withstand such onslaughts, then it's domize is already assured. Yet I would argue that communities are not passive, and that maintaining a public garden takes proactive efforts and vigilance, lest it be lost and succumb to wild overgrowth or a monoculture of human induced invasive species. Thus we should strategically seek to federate with instances that have self invested communities focused on self preservation, rather than instances that only have fiduciary obligations in monetization.

If I could stretch this agricultural medafor to its limits, then I'd say we do not yet have the moderation tooling or modern farming equipment to cultivate quality content on an industrial scale. Taking on to much land at once without enough self invested community members, where we'd have to pick up the slack as unpaid moderators (cough-Reddit), could lead to mismanagement of limited (and voluntary) resources. Given the historic issues of content moderation on Facebook's platform, and my impression that Facebook users in general are ambivalent to the self preservation of the company in comparison to its hosted content, I think it safe to say we'd have better success in learning to walk before attempting to run with global scale conglomerates.

While some may feel this remains a philosophical argument, I'd argue it is more of a pragmatic one, given the current maturity of the Lemmy software, the scale of current stakeholders, and realistic resources at our current disposal, taking on Facebook's level of traffic would be biting off more than we could chew.

[–] [email protected] 5 points 2 years ago

For anybody wondering what the Mastodon security issue is - CVE-2023-36460, you can send a toot which makes a webshell on instances that process said toot. #CVE202336460 #TootRoot

[–] [email protected] 9 points 2 years ago

For anybody wondering what the Mastodon security issue is - CVE-2023-36460, you can send a toot which makes a webshell on instances that process said toot. #CVE202336460 #TootRoot

[–] [email protected] 2 points 2 years ago (3 children)

It would be kind of cool for the bot to consider the entire chain of comments up to and including one's reply that pings the bot. Although perhaps that feature could be gated behind a command argument, like when commanding bot accounts from GitHub comments for CI/CD. That could gard against unintentional prompt injection or dilution of context with longer reply chains. Thoughts @[email protected] ?

[–] [email protected] 18 points 2 years ago

Looks like they posted some more updates scene I check this morning:

[–] [email protected] 1 points 2 years ago (1 children)

I came across this community, which it reminded me of your choice of avatar, and figured you'd be interested:

view more: ‹ prev next ›