Readit News logoReadit News
jphilip commented on LineageOS is currently installed on 1.5M Android devices   9to5google.com/2023/11/20... · Posted by u/thunderbong
fensgrim · 2 years ago
> Xiaomi

mtkclient [0] would let you skip the whole 7/14 days thing (also: unrestricted partition dumping/flashing). Though there are chances of ending up with soft/hard brick (normally possible to revert back to working state as long as you have backups), and there may be no support for your specific chipset/device/software revision at all.

0. https://github.com/bkerler/mtkclient

jphilip · 2 years ago
I went through a lot of trouble unlocking an old Xiaomi. mtkclient bypass methods do not work as a for all Xiaomi (or at least did not for my device). Thread: https://github.com/bkerler/mtkclient/issues/110
jphilip commented on Ask HN: Is anyone using cloud dev environments (e.g. Codespaces/Replit) at work?    · Posted by u/nbrad
jphilip · 2 years ago
I have not used a full blown online environment. Except maybe VSCode remote using SSH. I repeatedly find anything that requires a network call somewhere in between a serious impediment disrupting the flow of development. Sometimes I find myself in slow laggy situations with ssh to the point I prefer Mobile Shell mosh. VSCode remote (or similar) via ssh obviously becomes painful.

Most cloud environments are also limited in terms of what you can do. e.g: issue sudo while running a process, attach to a process with a debugger.

Usually when these come development environment ready, it also hides away underlying details - i.e, I no longer know the command line etc to should I need to write infrastructure code/automation later on.

I guess there are domains where these are non-issues. But for a wide variety of my use-cases local development is going to be preferable, because by design there are limitations in the alternative.

jphilip commented on FreeTube – The Private YouTube Client   github.com/FreeTubeApp/Fr... · Posted by u/akyuu
TLLtchvL8KZ · 2 years ago
I got that big warning about having 2 videos left before being locked out of youtube viewing due to running an "ad-blocker", that was last week, I've not watched a video on the site since.

I just download it with yt-dlp or throw it in to mpv. If those stop working I'll probably just stop watching youtube altogether since I only watch maybe 6-10 vids a week anyway. This "app" does look quite good, but for how long it will work if g**e keeps making it difficult I don't know.

jphilip · 2 years ago
I have logged out. Also tried yt-dlp but logging out and web is easier for search etc.
jphilip commented on Tell HN: Postman update removes all your stuff if you refuse to create account    · Posted by u/drunner
jphilip · 2 years ago
I remember encountering Postman years ago when it was a chrome app where I'd fill some fields and use it against a server absent a frontend to prototype/test.

I never understood what's the improvement from having a headless client written in Python using requests or something and the data in source-code, kept versioned? I figure requests or similar libraries have something with sessions and cookies that allows me to issue requests against an active or mock server. This way I can specify the API, data to send each endpoints and possibly also use these snippets in testing.

I have usually taken this Python route when I've wanted something nicer (this is subjective) in comparison to cURL.

Can someone experienced here tell me the value add over something like this with Postman?

jphilip commented on Ask HN: Anyone started using a dumbphone recently?    · Posted by u/pwb25
jphilip · 2 years ago
Aggressively reclaiming the notification/reminder area in the existing smartphone appears to be working for me.

I uninstalled intrusive (android) applications and moved to web equivalents. Anything that tries to gain space in the notification/lock-screen is uninstalled or if not viable (cabs, etc) are banned from showing notifications - and I poll when required. In my country, applications are increasingly intrusive (food apps piling on food offers, cab services pushing ads for cabs - wth, I'll book a cab if I need one, who advertises using push notifications for cab booking?).

I access web-versions via Firefox for Android with UBlock Origin enabled. These include socials like twitter, instagram. The setting provides a richer experience thanks to fewer ads. I noticed instagram cached videos to ensure smoother experience in doomscrolling (prefetch some recommendation buffer starting segments). The web version makes doomscrolling clunkier than a native-application (which works in favour of the dropping agenda). Most of the times I forget to enter the doomscrolling app because no reminders in the notification area.

My banking application was pushing loan-deals I did not want and stealing notification space. Unlocking my bootloader caused it to cry about security, now I use web-version there as well.

jphilip commented on Termux on Android 5 or 6   github.com/termux/termux-... · Posted by u/app4soft
pawelduda · 3 years ago
A bit of offtopic, but what do you use termux for on your Android phones?

I use it to run my restic backup script to backup my phone data, it's a bit barebones but seems to work.

I find it cool to have a shell on my phone, to be able to launch vim (but definitely not use it with the onscreen keyboard, lol)... was wondering what others are up to!

jphilip · 3 years ago
I was once upon a time plumbing together an ARM matrix multiply backend for an on-device neural machine translation engine.

The objective was to get something working for the Mac M1 (which none of us had at the time). So I'd just cross-compile targeting my android phone, download built binary using wget on tmux and then run it to test if it's working. I remember I could build just the matrix multiply library locally on termux as well (after getting cmake and build-essentials via `pkg`).

jphilip commented on The State of WebAssembly 2022   blog.scottlogic.com/2022/... · Posted by u/ColinEberhardt
martin_drapeau · 4 years ago
Can someone point out a known web page/service that uses WebAssembly?
jphilip · 4 years ago
Mozilla uses WebAssembly in it's offline translation extension. Here's a web-page demonstrating the same stuff:

- https://mozilla.github.io/translate/

These are neural models that are compressed and optimized to run on user's CPU. I write some of the code which repurposes the underlying (C++) library for extension's needs, all of which gets compiled via emscripten to WebAssembly for use in the browser.

Previous discussion on HN: https://news.ycombinator.com/item?id=31596888

jphilip commented on Mozilla releases local machine translation tools as part of Project Bergamot   blog.mozilla.org/en/mozil... · Posted by u/Vinnl
dnc · 4 years ago
Hi,

This is an awesome project, congratulations!

Could you share details about the machine translation engine that is used (or where to find out more about it)? Are there any plans to open source the extension code (with the WebAssembly optmizations that are mentioned in the article)?

Thanks.

jphilip · 4 years ago
A fork of marian-dev[1] is the underlying machine-translation engine:

- https://github.com/browsermt/marian-dev

Development of higher-level code wrapping around marian-dev make suitable for the browser-extension happens at:

- https://github.com/browsermt/bergamot-translator

Some of the WebAssembly optimizations are available in bergamot-translator/marian-dev. Rest are in Firefox source-code. A start point could be https://bugzilla.mozilla.org/show_bug.cgi?id=1720747.

Extension code is open-source, and linked already in other comments: - https://github.com/mozilla/firefox-translations

[1] https://github.com/marian-nmt/marian-dev

jphilip commented on I am resigning along with most other Freenode staff   p.haavard.me/407... · Posted by u/ilkkao
jphilip · 5 years ago
Why are all the gist.* urls returning 404, they seem accessible through the wayback machine though.

u/jphilip

KarmaCake day35May 14, 2021
About
jerinphilip.github.io
View Original