122 karma · joined Jun 2, 2021 (5y ago) · 41 submissions
comment 2w ago · link · parent
About the keypad, normally key presses are reported to apps by the system as key events (pressed, released etc) and keycodes. There is a mapping between hardware keys and software key codes that can be overridden through kcm files.
More about this here: https://source.android.com/docs/core/interaction/input/keybo...
comment 5mo ago · link · parent
You can't move the compute away in a headset. I have worked for an XR OEM, and when you are designing a headset, you want the compute to be as close as possible from the cameras and displays, to achieve the lowest possible latency and avoid motion sickness for the users.
Even moving the compute to the back of the headset was not considered viable by our HW team. And we haven't spoken about the bandwidth required for all those cameras and UHD displays.
A better way to reduce the weight of the AVP would have been to remove the (useless IMO) front holographic screen, and to replace most of the glass and metal by plastic. And maybe move the battery pack to the back, to get a more balanced headset.
6.
I Forked 4 CLI coding agents to Run the Same Model. I found a 2x gap(charlesazam.com ↗)
2 points · by grokx · 7mo ago · discuss
comment 9mo ago · link · parent
A great thing is that it's almost fully compatible with Github actions, so migrating an existing CI/CD should not be too painful. If you plan to move, make sure to read this first: https://docs.gitea.com/usage/actions/comparison#missing-feat...
For sure, it requires a bit of maintenance, mainly for updates, but that's all.
comment 9mo ago · link · parent
Those are much more meaningful to me than those giant stadiums where you watch the band on giant screens. These thoughts will seem obvious, but smaller spaces with a limited audience are really warmer. You feel much closer to the artists, you are sharing emotions, sometimes the artist comes playing or singing in the middle of the audience. Things happen! A guitar string breaks, a drum falls, the singer goes out of tune. This is real live music!
comment 11mo ago · link · parent
It seems that the terminology as evolved, as we speak more broadly of frontends and backends.
So, I'm wondering if Bison and Flex (or equivalent tools) are still in use by the modern compilers? Or are they built directly in GCC, LLVM, ...?
comment 11mo ago · link · parent
Open source communities should help each other, and work together, not fight.
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
This seems pretty nice in terms of features, but would probably need a bit of polish.
16.
Flag drawing with Turtle(jtanx.github.io ↗)
39 points · by grokx · 1y ago · 6 comments
comment 1y ago · link · parent
It saved my work a couple of times.
comment 1y ago · link · parent
A good friend of mine works for a manufacturer that make watches running on Android Wear, and closed-source system updates pushed by Google turn OS-level regressions (like battery consumption issues) into nightmares. So they are switching back to their own AOSP-based OS.
19.
Metahead – An enterprise-grade, Git-based metarepo(metahead.dev ↗)
53 points · by grokx · 2y ago · 34 comments
comment 3y ago · link · parent
>The race is on to decarbonize road transport and get drivers to switch to electric vehicles (EVs).
Actually the race is on to decarbonize all the things (at least here in France). My wife works at RTE (Réseau de Transport d'Electricité), which is the grid company here. She makes studies for customers that require more power, so she basically see where new power lines could be placed, whether a new high voltage station is required, etc.
These last years, she noticed a rise for such demands, as the whole heavy industry has been decarbonizing their processes: chemicals, metallurgy... Coal and other fuels (used for heat production for instance) are being replaced either by electricity, or by green hydrogen (so even more electricity).
comment 3y ago · link · parent
Romain is truly a talented developer, and deserves the success of scrcpy. If I remember correctly, scrcpy was also bundled with Genydeploy (an Android device provisioning solution) at the time.
Kudos Romain for your work!
comment 3y ago · link · parent
An official Peugeot mechanic told him that it would cost something like 4200€ to replace the unit, so he asked me if I could have a look.
After a quick search, I found an update for his system, burn it on a CD, and put the CD into its car.
The system updated, and then would work normally. Problem fixed for one hour of my time and a CD.
comment 4y ago · link · parent
I'm feeling old. :D
comment 4y ago · link · parent
- There was way too much bureaucracy.
- Software, security, design choices were decided by some kind of committee that didn't have sufficient expertise.
- Competition between teams.
- They wanted to do scrum, without knowing how to do it.
I think their actual expertise was focused on hardware design and manufacture (they build and assemble most of their hardware components in their own factory), and probably firmware devevelopment.
comment 4y ago · link · parent
IIRC, this one is called N² and runs a headless Android on a limited hardware, which explains the slowness of this thing.
The next version (called streetsmart) on which I worked 2 years ago is a real mess. It is based on Android 5.1 (Android 8 or 9 was available when the project started), and features a touch screen. There is absolutely no isolation between ticketing apps and maintenance apps (which allow among other things to withdraw the cash). A custom launcher gives access to one set of apps or another, depending on the current mode. An hardware token and a gesture allow agents to switch from vending mode to maintenance mode, but if one gains access to a shell, one just has to send particular intents to access to maintenance apps.
Some anecdotes:
- We shipped debug Android builds for internal testing (with root, adb enabled, etc) which somehow got sent to the customer, deployed on a public network and got infected by crypto miners. That triggered overheat of the CPU and reboots of the devices.
- Those are supposed to be deployed in Barcelona, I don't know if it's actually in production right now.
- Those were supposed to be deployed in NYC, but the deal got cancelled (not really a surprise to me).
- They run on a 12v car battery and a solar cell. I had a partial machine to dev (with no solar part), and I had to buy a car battery charger to power the battery.
The work itself was rather interesting (have you ever worked on a Android device that has a built-in printer and a cash machine?), but project management, collaboration between teams and vision were terrible. The main board seemed really well designed also.