Hacker News new | past | comments | ask | show | jobs | submit | westurner's comments login

TPS: Transactions Per Second: https://en.wikipedia.org/wiki/Transactions_per_second

"A Measure of Transaction Processing Power" (1985)

"A measure of transaction processing 20 years later" (2005) https://arxiv.org/abs/cs/0701162 .. https://scholar.google.com/scholar?cluster=11019087883708435...

About the cover sheet on those TPS reports.

Max throughput, max efficiency,

Network throughput: https://en.wikipedia.org/wiki/Network_throughput

"Is measuring blockchain transactions per second (TPS) stupid in 2024? Big Questions" https://cointelegraph.com/magazine/blockchain-transactions-p... :

> focusing on the raw TPS number is a bit like “counting the number of bills in your wallet but ignoring that some are singles, some are twenties, and some are hundreds.”

https://chainspect.app/dashboard describes each of their metrics: Real-Time TPS (tx/s), Max Recorded TPS (tx/s), Max Theoretical TPS (tx/s), Block Time (s), Finality (s)

USD/day probably doesn't predict TPS; because the Average transaction value is higher on networks with low TPS.

Other metrics: FLOPS, FLOPS/WHr, TOPS, TOPS/WHr, $/OPS/WHr

And then there's Uptime; or losses due to downtime (given SLA prorated costs)


> "A measure of transaction processing 20 years later (2005)"

This is one of my favorites. Along with https://www.microsoft.com/en-us/research/wp-content/uploads/... (also 20 years later) which has more detail.

> USD/day probably doesn't predict TPS; because the Average transaction value is higher on networks with low TPS.

Exactly. If we only look at USD/day we might not see the trend in transaction volume.

What's happened is like a TV set going from B&W to full color 4K. If you look at the dimensions of the TV, it's pretty much the same. But the number of pixels (txns) is increasing, with their size (value) decreasing, for significantly higher resolution across sectors. And this is directly valuable because higher resolution (i.e. transactionality) enables arbitrage/efficiency.


Complex, nonlinear - possibly adaptive - systems with or without convergence but emergence, and structure!

Convergence: https://en.wikipedia.org/wiki/Convergence > STEM

Emergence: https://en.wikipedia.org/wiki/Emergence

Stability: https://en.wikipedia.org/wiki/Stability

Stability theory: https://en.wikipedia.org/wiki/Stability_theory

Glossary of systems theory: https://en.wikipedia.org/wiki/Glossary_of_systems_theory


FWIU, Photons leave other particles in their path affected, and it's possible to infer photon state by measuring those affected states in the wake without causing state collapse of an already-passed photon.

If none look at the sun, is it still shining?


/? termux USB webcam: https://www.google.com/search?q=termux+usb+webcam

Termux was F-droid only, but 4 years later is back on the Play Store: https://github.com/termux-play-store#current-status-for-user...

Termux has both glibc and musl libc. Android has bionic libc.

One time I got JupyterLab to run on Android in termux with `proot` and pip. And then the mobile UI needed work in a WebView app or just a browser tab t. Maybe things would port back from Colab to JupyterLab.

conda-forge and Linux arm64 packages don't work on arm64 Android devices, so the only option is to install the *-dev dependencies and wait for compilation to finish on the Android device.

Waydroid is one way to work with Android APKs in a guest container on a Linux host.

That Android Studio doesn't work on Android or ChromiumOS without containers (that students can't have either).


When you get x on turmux working you see what mobile development could have been and weep for the fallen world we live in.

containers/podman > [Feature]: Android support: https://github.com/containers/podman/discussions/17717 :

> There are docker and containerd in termux-packages. https://github.com/termux/termux-packages/tree/master/root-p...

But Android 13+ supports rootless pKVM VMs, which podman-machine should be able to run containers in; (but only APK-installed binaries are blessed with the necessary extended filesystem attributes to exec on Android 4.4+ with SELinux in enforcing mode.)

- Android pKVM: https://source.android.com/docs/core/virtualization/architec... :

> qemu + pKVM + podman-machine:

> The protected kernel-based virtual machine (pKVM) is built upon the Linux KVM hypervisor, which has been extended with the ability to restrict access to the payloads running in guest virtual machines marked ‘protected’ at the time of creation.

> KVM/arm64 supports different execution modes depending on the availability of certain CPU features, namely, the Virtualization Host Extensions (VHE) (ARMv8.1 and later).

- "Android 13 virtualization lets [Pixel >= 6] run Windows 11, Linux distributions" (2022) https://news.ycombinator.com/item?id=30328692

It's faster to keep a minimal container hosting VM updated.

So, podman-machine for Android in Termux might help solve for development UX on Android (and e.g. Android Studio on Android).

podman-machine: https://docs.podman.io/en/latest/markdown/podman-machine.1.h...


Wait so you're telling me I can run podman on android?

Looks like it's almost possible to run podman-machine on Android; and it's already possible to manually create your qcow for the qemu on Android and then run containers in that VM: https://github.com/cyberkernelofficial/docker-in-termux

There are Linux ports of the plan9 `syscall` binary, which is presumably necessary to implement parts of libc with shell scripts: https://stackoverflow.com/questions/10196395/os-system-calls...

I don't remember there being a way to keep a server listening on a /dev/tcp/$ip/$port port, for sockets from shell scripts with shellcheck at least


From "Calling your computer a Turing Machine is controversial" https://news.ycombinator.com/item?id=37709009 :

> Turing was familiar with the Jacquard loom for weaving patterns on punch cards and Babbage's, and was then tasked with brute-forcing a classical cipher.

And before the Jacquard loom was the music box.

Music box > Timeline: https://en.wikipedia.org/wiki/Music_box#Timeline

Jacquard machine > Importance in computing: https://en.wikipedia.org/wiki/Jacquard_machine#Importance_in...

Mechanical computer > Examples: https://en.wikipedia.org/wiki/Mechanical_computer#Examples :

> Antikythera: c. 100BC (a mechanical astronomical clock)


"RFC 9557: Date and Time on the Internet: Timestamps with Additional Information" https://www.rfc-editor.org/rfc/rfc9557.html

  1996-12-19T16:39:57-08:00[America/Los_Angeles]
> The offset -00:00 is provided as a way to express that "the time in UTC is known, but the offset to local time is unknown"

  1996-12-19T16:39:57-00:00
  1996-12-19T16:39:57Z
> Furthermore, applications might want to attach even more information to the timestamp, including but not limited to the calendar system in which it should be represented.

  1996-12-19T16:39:57-08:00[America/Los_Angeles][u-ca=hebrew]

  1996-12-19T16:39:57-08:00[_foo=bar][_baz=bat]
Astropy supports the Julian calendar – circa Julius Caesar (~25BC), born by Caesarean section (an Eastern procedure)), and also astronomical numbering which has a Year Zero. [1]

There is still not a zero in Roman numerals; there's "nulla" but no zero. Modern zero is notated with the Arabic numeral 0.

[1] Year Zero, calendaring systems: https://wrdrd.github.io/docs/consulting/knowledge-engineerin...

astropy.time > Time Formats: https://docs.astropy.org/en/latest/time/#time-format

Which calendar is the oldest?

List of calendars: https://en.wikipedia.org/wiki/List_of_calendars

Epoch > Calendar eras: https://en.wikipedia.org/wiki/Epoch#Calendar_eras

--

Are string tags at the end of the datetime that indexable?

Shouldn't there be #LinkedData URLs or URIs in an RDFS vocabulary for IANA/olsen and also for calendaring systems?

E.g. Schema.org/dateCreated has a range of schema.org/DateTime, which supports ISO8601, which also specifies timezone Z (but not -00:00, as the RFC mentions).

Astounding that there's been no solution for calendar year date offsets on computers. Are there notations for indicating which system, or has everyone on earth also always assumed that bare integer years are relative to their preferred system?

Somewhere there's a chart of how recorded human history is only like 10K out of 900K (?) years of hominids of earth, through ice ages and interglacials like the Holocene.


> The only problem? Major Linux distributions aren't yet onboard with using the Automatic Boot Assessment feature.

systemd.io/AUTOMATIC_BOOT_ASSESSMENT/ : https://systemd.io/AUTOMATIC_BOOT_ASSESSMENT/

From https://news.ycombinator.com/item?id=29995566 :

> Which distro has the best out-of-the-box output for:?

  systemd-analyze security
> Is there a tool like `audit2allow` for systemd units?

And also automatic variance in boot sequences with timeouts.

Where does it explain that a systemd service unit is always failing at boot?


From https://news.ycombinator.com/item?id=41022664 re: potential boot features: mandatory dead man's switch failover to the next kernel+initrd unless [...]:

> For EFI you could probably set BootNext to something else early on, in combination with some restarting watchdog. GRUB can store state between boots https://www.gnu.org/software/grub/manual/grub/html_node/Envi... and has "default" and "fallback" vars.


Today I found EffectfulJS Debugger, which is a DAP debugger with time travel and state persistence for JS: https://news.ycombinator.com/item?id=41036985

What about debugging and recording stack traces too?

"DevTools Protocol API docs—its domains, methods, and events": https://github.com/ChromeDevTools/debugger-protocol-viewer .. https://chromedevtools.github.io/devtools-protocol/

ChromeDevTools/awesome-chrome-devtools > Chrome Debugger integration with Editors: https://github.com/ChromeDevTools/awesome-chrome-devtools#ch...

DAP: Debug Adapter Protocol > Implementations: https://microsoft.github.io/debug-adapter-protocol/implement... :

- Microsoft/vscode-js-debug: https://github.com/microsoft/vscode-js-debug :

> This is a DAP-based JavaScript debugger. It debugs Node.js, Chrome, Edge, WebView2, VS Code extensions, and more. It has been the default JavaScript debugger in Visual Studio Code since 1.46, and is gradually rolling out in Visual Studio proper.

- awto/effectfuljs: https://github.com/awto/effectfuljs/tree/main/packages/vscod... :

> EffectfulJS Debugger: VSCode debugger for JavaScript/TypeScript. Besides the typical debugger's features it offers: Time-traveling, Persistent state, Platform independence, Programmable API, Hot mocking of functions or even parts of a function, Hot code swapping, Data breakpoints. This works by instrumenting JavaScript/TypeScript code and injecting necessary debugging API calls into it. It is implemented using EffectfulJS.

https://github.com/awto/effectfuljs : @effectful/debugger , @effectful/es-persist: https://github.com/awto/effectfuljs/tree/main/packages/es-pe...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: