Readit News logoReadit News
mikevin commented on Coding without a laptop: Two weeks with AR glasses and Linux on Android   holdtherobot.com/blog/202... · Posted by u/mikenew
transpute · 3 months ago

  There's roughly 4 different approaches to Linux on Android:
    • virtual machine emulating x86_64
    • Termux
    • arm64 binaries running in chroot
    • proot..  Same idea as chroot, but doesn't use forbidden system calls 
Fifth option: arm64 pKVM VM from Android 15 on Pixel 7+ phone/tablet hardware using nested h/w virtualization. Shipped in 2025 under the uninformative name of "Linux Terminal" via Development options, Android now has full Debian Linux with VM root, no emulation, compatible with USB-c desktop display.

https://news.ycombinator.com/item?id=43973395 & https://www.androidauthority.com/android-linux-terminal-purp...

> The main purpose of this Linux terminal feature is to bring more apps (Linux apps/tools/games) into Android, but NOT to bring yet another desktop environment.. Ideally, when in the desktop window mode, Linux apps shall be rendered on windows just like with other native Android apps.. GPU acceleration is something we are preparing for the next release.

Hopefully Android 2025 Linux VMs will lead to iOS 19 VMs at WWDC, since Apple wants to sell smart glasses to compete with Meta glasses.

mikevin · 3 months ago
Any idea where to find the source? Wondering how it's set up.
mikevin commented on The Beauty of Having a Pi-Hole (2024)   den.dev/blog/pihole/... · Posted by u/mpweiher
wang_li · 4 months ago
> read TFA for the iptables config that fixes those apps and devices that bypass local DNS. For example,

Don't worry. All the browsers and stuff are bypassing this level of control by moving to DNS-over-HTTPS. You'll either have to deploy a TLS terminating proxy on your network, or give up on this arms race.

mikevin · 4 months ago
Would certificate pinning also remove the first option? I wonder if we are moving to a system where inspecting your own traffic isn't a viable option anymore, am I missing a workaround?
mikevin commented on A sysadmin's rant about feed readers and crawlers (2022)   rachelbythebay.com/w/2022... · Posted by u/leonry
unregistereddev · 6 months ago
Even when etag's have nothing to do with the filesystem they can still be a security vector. Some API's use etag's to identify what has changed since the last time you called a particular API. This means the ETAG values are probably stored in a database, which means the API server needs to protect against SQL injection in the request headers.
mikevin · 6 months ago
I mean that's something you need to do every time a DB is involved. Not really an argument against ETAGS.
mikevin commented on Putting Andrew Ng's OCR models to the test   runpulse.com/blog/putting... · Posted by u/ritvikpandey21
cheema33 · 6 months ago
Am I the only one seeing a conflict of interest issue with this blog post?

"We ran our OCR offering against competition. We find ours to be better. Sign up today."

It feels like an ad masquerading as a news story.

mikevin · 6 months ago
Of course there's a conflict of interest. It's their right to promote their solution but I would never take their word for it.
mikevin commented on Introducing a terms of use and updated privacy notice for Firefox   blog.mozilla.org/en/produ... · Posted by u/pentagrama
mikevin · 6 months ago
Sometimes I wish I had the kind of education that allows you to interpret Terms of Use, Privacy Notices and other legal mumbojumbo in a way that answers my questions. It's great practice if you like cryptic crosswords though.
mikevin commented on Why I'm writing a Scheme implementation in 2025: Async Rust   maplant.com/2025-02-17-Wh... · Posted by u/maplant
Y_Y · 6 months ago
Tokio is a Rust library for async - https://tokio.rs/

CPS is Continuation Passing Style - https://www.youtube.com/watch?v=MbtkL5_f6-4

mikevin · 6 months ago
Is that the correct video for CPS?
mikevin commented on Dual-Link QR Code Generator   dualqrcode.com/... · Posted by u/redbell
jdoe1337halo · 7 months ago
Hey I made this! Thanks for posting! I answered most questions in the r/webdev reddit thread but I will happily answer more questions here.
mikevin · 7 months ago
Do you have a writeup of the technical details? How does this exploit (without reading the code and reverse engineering it)?
mikevin commented on Ts_zip: Text Compression Using Large Language Models   bellard.org/ts_zip/... · Posted by u/signa11
mikevin · 8 months ago
I'm curious what the compressed text looks like. Anyone have an example?
mikevin commented on Microfeatures I love in blogs and personal websites   danilafe.com/blog/blog_mi... · Posted by u/fabianholzer
mikevin · a year ago
I really like "archive" and "tag" overviews. I don't want to scroll through every post in full as a way of finding an entry that interests me. Not really a blog but Hackaday on mobile is really bad at this. It's kind of hard to filter for interesting stuff without having something specific to search for.
mikevin commented on Why Elixir (2014)   theerlangelist.com/articl... · Posted by u/arrowsmith
zelphirkalt · a year ago
I recently used Elixir for Advent of Code 2023. It is elegant in many places, at least from what I have explored during puzzle solving. However, to me it does not reach the elegance of Scheme or Lisp and I switched back to Guile while solving more puzzles. Due to its not as simple syntax, naming choices are more limited than in many Lispy languages. Also the way anonymous functions are written did not appeal to me especially that much and how they must be written when being passed to other function and how to reference functions in the same module sometimes requiring to still write the name of the module and all that is not that intuitive.
mikevin · a year ago
Do you have a repo for your Guile solutions to AoC? Would love to see it.

u/mikevin

KarmaCake day171December 24, 2015View Original