something like rsync /
I got a printer and a tape interface for my 4-bit BASIC computer/pocket calculator Sharp PC-1248. I love this little toy because it has far more RAM than most users would ever need - almost 8K is available to the user. The printer is quick and tiny, too. The computer runs 150 hours from two CR2032, and the printer is powered by four AA batteries with unknown yet runtime.
@nina_kali_nina nice print. A self portrait?
Here's the device loading the program and printing the image. Sorry it's very blurry, I'm too excited to share it ASAP :D
If you're wondering why I needed a printer for this computer: well, first, it's cool, and second, the computer can record the programs to a tape without this device, but can't load them. I tried to build my own version of the cassette tape interface for it from scraps a couple of weeks ago, but it didn't work for some reason. Probably the signal was too quiet.
If you ever find yourself owning this little computer, here are some very useful resources:
Basic->WAV converter (comes with source codes):
https://www.peil-partner.de/ifhe.de/sharp/
DIY tape interface (you can't just load tapes from the device without it, only save): https://ht-deko.com/pokecom/bbce124.html
Printer emulator using Arduino: http://www.cavefischer.at/spc/html/CE-126P_Emulator.html#PC-1250A
Now that I have this wonder of portable personal computing in its final form, I need to think: what kind of computing I can do on a 4-bit BASIC computer (read: slow) with a super bad keyboard (read: worse than ZX81) and a screen of 16 characters (e.g. most output goes to a printer right away)? And the IO is limited to a tape and a printer.
There's enough RAM to run a simple text editor, but the keyboard is a pain, so I'd rather not. Simple spreadsheet app is feasible, but I might as well just use BASIC. A database app would require some clever sharding. It could work as an organiser for 100 notes/contacts, but this is better done by a sheet of paper hidden in the back cover of the computer.
What do I even do with you, o little computer?
It's obviously very useful for little programs like "enter your mortgage details and we'll print the payment schedule, taking compound interest into account" or "type in the colours of the stripes on your resistor and it'll print out the resistance". But what else?
I guess very few people bought such pocket computers / BASIC calculators to play video games, but I think it's going to be pretty good for all sorts of little games. I'm sure even a decent game of chess is very well achievable with 8K of RAM for BASIC.
Sadly, the device can't play music, and its serial port is a bit wonky, so even controlling MIDI through it might be a bit too much 🤔
Accessing BBSes is also out of the question; the screen is too tiny, and the serial port can't be used with the printer connected. Maybe it is possible to use a phone line to transmit programs/data over it as if its a tape recorder, but I doubt it'll work.
@nina_kali_nina So the cassette input is one channel audio, I presume? Or what kind of frequencies does it work at? I would imagine an analogue phone line would probably have no problems with the same frequency range. Why do you doubt it would work? Audio compression over a digital connection might corrupt the signal. But in principle I imagine it could work.
@steeph I have a cassette tape player that doesn't work with this computer because its earphone output is too quiet. Even when I use my laptop as the sound signal, I have to crank up the volume to the max or it doesn't work
@nina_kali_nina Hmm, would need an amplifier then.
One question is whether it's OK to use additional hardware to get another interface established. Because if that would be an option, a microcontroller that translates anything into whatever is required would be an option, too.
An amp would probably be below that threshold because it's not designed or programmed for the purpose of getting this device an additional way of communicating.
@steeph well, there's all sorts of interfaces made on Arduino, but at this point you might as well just use the Arduino but with a bigger keyboard and screen
@nina_kali_nina Pretty much what I thought. It's an interesting puzzle. Pretty tight constraints compared to 8 bit computers with parallel and serial ports.
@steeph it is designed to be a secondary computer for sure; it can sync with a PC and, from what I've heard, was used by all sorts of salespeople travelling around
@nina_kali_nina That makes sense.
Well. if it's meant to be used in combination with another computer, the other one might as well be an Arduino. LöL
I found a reasonable application for this pocket computer. Imagine you're doing a book club with a small number of visitors every time (5-10 people). You want to collect everyone's feedback about the club. Printing 500 copies of the form for the next year is annoying, and you'd have to write down the name of the book you're reading, the current date and the next date for every event. You also might realise, after using 50 forms, that the form is missing an important question or something.
This little computer is almost perfect for those small-scale print jobs. You type the form one, and you can get as many copies as you need (well, up to 100 copies from four batteries, unless you have a wall plug).
Sorry for messing up the string variables :D
I used something similar at a structural engineering firm back in the 90s, albeit a Casio. One of the partners wrote a beam design program on it. They had a bunch of them for the engineers but they were starting to fail. One of my jobs when I joined was rewriting it for a PC with Visual Basic to preserve the program. It would have been easy except there was a mistake in the maths but the partner wouldn't accept it and kept demanding why the new program gave different numbers 🙄
@nina_kali_nina
I wanted one of those pocket computers so much when I was a kid.
Especially the one that ran Lisp rather than basic.
@nina_kali_nina games? I had a Casio PB100 and the manual had a "snakes in the grass" BASIC game - there was a row of colons and every so often one would turn into a semicolon :::;:: and you had to press the corresponding digit before it disappeared.
@kw217 the manual for this one has a couple of games, too: Lunar Lander and Hunt (run around a 2D map chasing a "fox"). I think there is enough RAM for complex economic and role playing games - it should handle 1000 lines of BASIC with 2-4 commands per line
@nina_kali_nina ah yes - is the Lunar Lander one with velocity and altitude as numeric displays and you have to boost just right to land without crashing?
@nina_kali_nina I guess Colossal Cave would have too much text but maybe you could tokenize it?
@evv42 it is possible to program this calculator in machine codes somehow, but this particular model is fairly neglected/obscure. Tbh even the BASIC isn't particularly bad
@nina_kali_nina@tech.lgbt - print a randomly generated poem
- tarot reading
- basic inventory management (tracking stock, recording item transactions, tracking storage locations)
- regular reminders (if it has an internal clock); could be useful if you're the kind of person who finds physical reminder notes better & need to remember a bunch of regular things ie medication intake. have the printer roll out the thermal paper straight onto your desk and don't tear it off until you do it
@cyanidesunrise the reminder thing is pretty cool! It is possible to connect a 9V power brick to run it off the mains, and there's WAIT command that should sleep for ~1 second, so it should be doable. Probably not the best way to use all the powers
@nina_kali_nina@tech.lgbt if it's no clock and wait commands it'd need regular sync (i bet some commands are VERY blocking), which feels self-defeating. your reminder device needs reminders to function
@cyanidesunrise well, one of the examples implements a tiny pocket clock using WAIT, which is pretty impressive. This is a direct spin off of a first pocket commuter programmable in BASIC, so even if it drifts by few minutes day it's still very impressive
@nina_kali_nina@tech.lgbt i suppose it could display its own clock on the screen and add "i do not comprehend the concept of time :( please check the screen and correct for drift" as a reminder every week or so
@nina_kali_nina@tech.lgbt i think the reminder thing could also be adapted to a multi user context, like household chores reminder with the option for anyone to type in additional schedules; the horrible keyboard does not matter if it's just "mo/1230/milk for andy"
@cyanidesunrise it does work as a tiny printer with a timer, but it's not clear to me how it is superior to just a note on the fridge and an alarm xD
@nina_kali_nina@tech.lgbt it's not, the idea is bullshit, i'm just trying to scrounge up SOMETHING
@nina_kali_nina@tech.lgbt i suppose it is vastly aesthetically superior. you invite someone over and they see disheveled antique hardware with incomprehensible key layouts glued to furniture ask wtf that is and you say "oh that's my post-it" but that's probably nothing new in your home
@cyanidesunrise Oh, I know what kind of stuff it can be used for! Let me try a thing...
@cyanidesunrise I've done a thing: https://tech.lgbt/@nina_kali_nina/116387346908161534
I found a reasonable application for this pocket computer. Imagine you're doing a book club with a small number of visitors every time (5-10 people). You want to collect everyone's feedback about the club. Printing 500 copies of the form for the next year is annoying, and you'd have to write down the name of the book you're reading, the current date and the next date for every event. You also might realise, after using 50 forms, that the form is missing an important question or something.
This little computer is almost perfect for those small-scale print jobs. You type the form one, and you can get as many copies as you need (well, up to 100 copies from four batteries, unless you have a wall plug).
Sorry for messing up the string variables :D
@nina_kali_nina@tech.lgbt very fancy retrotech fridgenote
@nina_kali_nina@tech.lgbt bonus points if you manage to affix that thing to an actual fridge door
It should be possible to recompile/reuse many of the programs for TRS-80 PC-1, which is a grandfather of this computer: https://github.com/Robert-van-Engelen/119-Practical-Programs-for-the-TRS-80-Pocket-Computer?tab=readme-ov-file
@nina_kali_nina Golf. There is a credible version played along one line in 49 Explosive Games for the ZX81.
@drj I see there's Pool already, so making Golf shouldn't be too hard. But that's, again, games - I want something practical I guess xD
@nina_kali_nina another thought — a small-scale turn-based strategy, like “into the breach”, but (you guessed it) text-only.
@wbftw yeah, I'm thinking of Sharp City or Sharp Settlers
@nina_kali_nina can’t find anything online re: those, but a city builder sounds fun. Wonder how it’d work in text-only mode (unless there’s support for graphics?).
@wbftw I meant knock-offs of SimCity and The Settlers :)
I suspect the text-only mode would work just fine
@nina_kali_nina vocabulary translation drill would come to mind. Or any "past tense drill". Printer could be used to grant "proof of use" to a supervisor.
A game of BattleShips might also work.
@PypeBros oh! I can imagine irregular verb drill, super handy.
@nina_kali_nina and if you're ready to burn much paper, a port of the original Carmen Sandiego game could be pretty fitting, given that good amount of UI featured a typewriter ;)
Your mission is clear:
Print the bee movie script, then measure battery life in bee movie prints.
I'm sorry, I don't make the rules. This is just your life now.
@hp I looked up the manual, it says 2000 lines printed with poor batteries and 3000 lines with awesome batteries
@nina_kali_nina it seems at 22 character per line.
That means that good batteries are about 2 bee movies, bad batteries around 1.15 bee movies.
Everything except metric.
@hp 24 characters, so maybe 2.05 bee movies
@nina_kali_nina
no way that printer should be able to do that
the printer, of course, does that anyway
@hp
@nina_kali_nina @adipoeserPursch I totally love this, what a great toy! The only thing that makes me sad is that it shows me in an annoyingly clear way that I don’t know anymore what I could ever do with a computer that has no network interface.
Does that thing have any connectivity one could abuse? RS232 or something?
@zappes @adipoeserPursch there's a 5V serial port with hardware flow control; it is used by CLOAD/CSAVE, LPRINT, PRINT# and INPUT#, but obviously BASIC adds some overhead for PRINT#/INPUT#. The device should be programmable in machine codes allowing for direct access to the hardware, but there's no manual for it, afaik
@nina_kali_nina
I programmed in that era, but I'm sufficiently conditioned by our modern era that I find myself shocked by
> it has far more RAM than most users would ever need - almost 8K is available to the user.
😁
@nina_kali_nina I still have a SHARP PC1401 here that has served me well all these years. I don't have a printer for it. It's a great machine for its time.
@nina_kali_nina I have a similar Sharp calculator (no printer (yet)). I can’t believe that people actually did programming for work on these tiny keyboards and screens. The portability is awesome though!
@nina_kali_nina Wait... 150 hours from two CR2032s? Where did we go wrong. My watch only lasts 30 hours and its 2026.
@khleedril it also doesn't have Flash in it (I think), and nevertheless the RAM stores data for a little while after the batteries are extracted from the device)
@nina_kali_nina The memory is 8,000 little pistons which are moved up and down with a magnetic field generated by a coil underneath each, and a coil immediately above uses changes in inductance to read out the state of the memory cell...
As long as you don't shake the thing too vigorously batteryless retention is about five minutes after which piston slippage makes it unreliable.
it has the best user interface: command line interface ❤️
pkg updatedone
pkg upgrade
pkg install openssh
pkg install termux-services
sv-enable sshd
@hi termux annoyingly used GNU bash by default, when there’s a perfectly serviceable mksh already in the base AOSP
@knapjack @hi just out of curiosity, why do you use the nōn-standard shell GNU bash, which is copyleft and slow, instead of the Korn shell, whose main variant is literally POSIX shell’s father and extremely fast and whose other variant is copycentre licenced, very small and still 3x as fast as GNU bash (and in the subvariant I maintain, much closer to POSIX, too, while having tons of useful extensions, some of which have even been adopted by bash/zsh viceque versa)?
Some rc in there, too. And technically I started scripting in DCL, but that only got me in trouble. 😁
But, for instance, PowerShell has several *sh-isms that work similarly but not identically, so I catch myself stubbing my toe when I'm in PowerShell and not using the native commands. When I'm scripting I either care which shell I'm in or I try to be as portable as possible. Conversely, day-to-day one-liners, I find that it's rare that I'm stubbing my toe on the syntax or features of some other shell. But if I were, changing my default shell would be the first thing I'd do.
I am not promoting bash here, just genuinely curious if you're like, "OMG, my fingers cannot unlearn ________ and I use that feature continuously," or more, "F the GPL." Hoping it's the former and I get to learn something new.
@knapjack @hi in my case… I develop mksh because I like to program in shell ;-) and OpenBSD ksh was a much nicer base than GNU bash, especially wrt. what I could add portability-wise and that it also works well statically linked and fits the bootfloppies better. That my users tell me it’s 3× as fast in their workloads on average is a nice bonus.
But, basically, I pose it as an ash/dash and posh/loksh replacement. There are use cases for GNU bash, and I know people who use mksh as scripting shell instead of their interactive shell (though, in their case, the latter is usually zsh or, recently, fish).
And mksh is /system/bin/sh on Android, after all, so it’s the standard :þ
(Funnily enough, I went COMMAND.COM → GNU bash → OpenBSD ksh which then evolved into mksh.)
Somedays I really care and some days I'm like, whatever, just give me a browser and a shell and some kind of flat surface, maybe some carbs.
@knapjack by “move” you mean you just changed it in the config? Not an AP Move?
Then, yes, no wonder it does not work.
That’s going to be a hard thing to recover from. (Thankfully, you did not re-use an existing domain with a fresh instance, as someone else did, because we now cannot even see each other’s posts at all.) Perhaps unfollowing and re-following everyone individually will work? (Mention this in your profile bio before you do that, so people will know, and will also know they possibly have to re-follow you.)
I thought about moving to a big instance, maybe Vivaldi's, while I sort it all out and move back.
i wanted to try ksh in termux to run tests for my #openbsd scripts, but looks like it's not too much faster than running everything on remote openbsd host...
Japan's new anti-foreigner (*legal* residents) laws and rules changes are so demoralizing. Most of my non-Japanese friends have already moved out or are in the process of moving out. The last 12 months have been bad. This isn't a normal expat/immigrant turnover wave. Feels like the end.
No clue why someone would want to move to Japan. Late capitalist hellscape. Did they think they were moving to the anime islands or something?
@sampler I moved there over a decade ago. The situation with foreign residents was not as bad, and improving, instead of getting worse.
@sampler also, just to be clear, Indonesia is not a place I would want to live. (I used to live in Singapore. I know younger people Indonesia support this at a much lower rate, but that's reality.)
@cancel It's sad to hear that. Not unexpected though, with the current PM. But it seems to be a trend in many countries. Where I live (the UK) they have been steadily making it harder for foreigners ever since I moved here, 25 years ago. As it is today I could/would not move here. When people are afraid, foreigners are the easy target.
@cancel I'd like to learn more about this, are there particular measures that are very dispiriting, and/or do you have a link where I can read more? 🙏 Japanese is fine.
30x fee increase for applying or renewing resident status (visas) (green card fee now equivalent to 5 months rent, work visa equivalent to 2 months rent, must be renewed every 1 or 3 years)
green cards now have a prerequisite 5-year resident status terms (normal is 1 or 3 year. 5 is very hard/random to get. requirement is a black box and not documented and arbitrary, likely depends on the individual who reviews your application. either way you must also live in the country for 10 years and have an unbroken work paper trail for the last 5, with 0 late payments on pension and health care)
increased scrutiny in general
engineering/humanities visa now requires passing a japanese language proficiency test which is only administered in a few countries and requires flying to
renewals also require this test, no grandfathering
exceptions may be made if the company can prove japanese is not required for your job
some people will have to flee japan because this rule goes into effect april 15th and the test requires over a year of study
there are even more things, those are just some of them.
it's a giant list of things to trip you up and make it as difficult as possible to stay in the country
@vlad they keep adding to it every few weeks. it's kind of a nightmare
@vlad also i should point out that low-paid laborers for neighboring SEA countries in the temporary (use you and then kick you out) programs are not subject to this. it's only white collar workers from other countries who want to immigrate to japan willingly. it's performative cruelty
@cancel Thanks for taking the time to share all this info. The uncertainty in particular must be really scary, going off of what I've experienced with the UK Home Office.
@vlad for all that pain you can enjoy a 15% salary compared to what you would make in america, no discrimination protection (50% of landlords will turn you down from renting an apartment just for being a foreigner, this is legally allowed) and increasing xenophobia over the last 18 months. (for example a common belief in japan is that foreign workers don't pay tax, which is not even slightly true. subject to the exact same system as citizens.) it's no wonder most people i know are leaving.
@hi reliable push is achievable. I don't have any problems with matrix apps/ntfy/(a few other messangers) etc.
I can try to help you, but provide more info.
Carplay - I never used it, but try to download from system app installer "Apps"
Faceid - on new pixel no face scanner module, last was 4 pixel, so no face scan, but fingerprint need to calibrate itself, it will fix itself, just use your phone.
Find my... - apple dosent like giving access to their stuff outside their ecosystem, no find my stuff for now :(
Smooth install won't happen, because a lot of compilation options are bonked to be more secure. Installation will be slower. Other problems? For me it works fine
You can install something open source to fix password manager issue
Messages (?)
@hi I made this switch, too.
For an Airdrop replacement, you may have a look at "Local Send". It works cross platform. 🙂
#MastodonPoll: Which of the following regulations regarding leaf blowers would you support? Choose as many as you like.
1. Decibel limits
2. Fuel efficiency standards (the relevant metric for cars is miles per gallon, so the corresponding one here would be what, leaves blown per gallon?)
3. Fuel type restrictions (i.e. ban gas-powered ones completely)
4. Full ban, both gas-powered ones and electric
| Decibel limits: | 8 |
| Fuel efficiency standards: | 7 |
| Fuel type restrictions: | 9 |
| Full ban: | 5 |
Closes in 1:43:23
@egallager
If you'd asked me a year agp I'd have agreed with 2 and maybe even 3, but...
I live in a semirural area (in a town, surrounded by rural). I use an electric lawn mower for instance.
The industry for electric power tools is broken. Every manufacturer uses their own battery, most of which are $20 BOM and hundreds of dollars to buy, and which use proprietary chargers.
I use an electric lawn mower anyways. If and when it breaks, or the battery dies, it fucks me over really badly.
Meanwhile, it can only _barely_ handle the _small_ area I've got. I know people nearby who, with a gas leaf blower, need _two full tanks_ to clear their space.
To me, this rules out a ban on gas tools. The electric ones can work of you're, like me, insistent on using them, but they are in many ways inferior, not because electric is worse, but because their manufacturers are hostile.
Moreover, making small gas engines super efficient is _hard_. Not impossible, but hard. And expensive. There's limits to what's doable.
So I'd be in favor of a moderate requirement, to start: look at current high efficiency models and use that to raise the minimum slowly.
Tbqh, i think regulation of the electric manufacturers is more important. If we want widespread adoption of electric tools over gas, which i think is desirable, they need to stop getting away with acting like they own the tool *i* bought just because it has a battery instead of a fuel
@egallager
To emphasize: MAMY electric tool makers don't even make serious money on the tools. They just make the battery systems so locked down that you literally cannot do any repairs without going to an authorized dealer.
If a gas tool breaks, anyone competent can fix it. This isn't true with electric, by design. Third party batteries are impossible, by design. Repairs are impossible, by design.
Shoutout to walmart, actually, for somehow being the only manufacturer I've seen (under their "hyper tough" brand) for which i could make a custom battery. The *only one*. Of dozens.
Replacement instead of repair also has high emissions. It's bad enough that imo the negative effects are largely worse than low efficiency gas tools.
On a personal note, as someone who got electric tools and only recently began to understand why people hate them, i think it's very important that anyone who wants to get rid of the gas ones (a position i held a year ago) understand why people still use them. It's not stupidity, it's not apathy, in many cases it's not lack of care for the environment, i know some hippies around here who use em to maintain a privately-owned open-to-the-public trail and forest area.
But also: rural is not suburbs.
I'd probably be on board with tightened requirements for within city bounds, just not a State-wide restriction?
Large areas in rural neighborhoods absolutely need gas still, the highest capacity electrics can maaaaaybe do it but they're way overpriced and the gas ends up far far cheaper even after a decade of operation and even with the lower efficiency
Basically: it's a complicated topic with a lot of nuance and i think any simple rule will probably have unwanted negative consequences, including some that cancel out the intended wins
@egallager
Oh, and one last point (if i haven't annoyed you into ignoring me yet): emissions requirements are probably more important than fuel efficiency requirements in the suburbs.
Someone burning half as much fuel and spitting out double the emissions at their neighbor is not a good thing
But, also, emissions and fuel efficiency requirements tend to force engines to get bigger and heavier which, for something that is handheld or worn on the body is not ideal
Which is why i find it easy to agree with "ban the unreasonably awful" (if two models of equivalent weight exist and one is twice as bad as the other...) and harder to say "mandate an even stricter minimum" (because that likely renders designs that people currently depend on impossible with a good replacement)
So much of the problem comes back to the electric tool industry being scammy as shit :/
@pixx there is actually no need to blow leaves; raking is also an option, as is just letting the leaves sit
@egallager
...that's true. I was thinking of gas vs electric in general, not just for leaf blowers.
Fair point, i change my answer largely :)
that said, afaik the electric leaf blowers have the same problem as the other electric tools soooo I'd prefer to add right to repair laws there first and _then_ I'd probably be in support of an outright ban on gas leaf blowers _at least inside of cities_
@pixx yeah I agree that we should implement right to repair laws
One thing that I'm curious about though, is... if the electric manufacturers make their money on batteries largely, and pricing is already bad compared to gas, what happens when they're not allowed to gouge people on batteries anymore?
Tbh i think, more specifically than right to repair, we just need to make it illegal to implement a mechanism that prevents someone else from manufacturing parts
I don't want access to the protocop that they're using to cryptographically verify batteries, i want it to be a capital offense for them to have such a protocol to begin with
@egallager
I don't think funding is the problem.
A few months ago, a cop showed up on my door step. Told me the neighbor thought I'd knocked her cans over. The cop was very apologetic and understanding, i told her I'd seen a raccoon in my backyard an hour before, and she seemed embarassed to be there tbqh.
If i complained that my neighbors had a leaf blower that was too loud, the result would be similar. Nobody's going to charge someone over that. It's just not going to happen.
It's annoying that people are loud, but noise complaints result in them waiting until the cops leave, not solving it.
@pixx @khm I guess another idea is changing the point at which the decibel limit is enforced? Like, I think the way to do a decibel limit is to make it illegal for manufacturers to sell leafblowers that exceed a certain decibel limit, rather than punishing the end-user of the leafblower, who can't necessarily control it.
and speaking as a motorcyclist, the end-user is expected to control it by considering these matters during product acquisition. I inherited a Harley, and installing more effective exhaust silencers was very much On Me.
@qrstuv
It's not about failure to RE; the most egregious example i think is the STIHL one i have which, if it detects an attempt at charging it from a third party charger, trips the BMS as if it had an undervolt.
Remove the cells and charge them externally: BMS trips.
And if you take it to an authorized dealer and it shows signs of tampering, they're not allowed to disable the trip.
If i was made of money i could probably buy ten of them, fuck around, and figure out how to disable that check.
As is, i don't have a spare battery to play with.
...actually, the issue i had was with making a custom charger. Making a battery... hmmm 🤔
That's the worst one, others are very similar
I haven't bought most of them *to* RE because i knew it'd be a pita. I prefer to get ones that won't give me that trouble
@qrstuv
Maybe!
I know some of the others are _less_ bad. Perhaps I'm overestimating their safeguards. Didn't put too much effort into it since the batteries are >$100 to replace.
It's also entirely possible that the one I've got is actually unique in how bad it is.
Honestly you're probably right that I'm totally full of shit on this one
It's been like... 16 months? Since i looked at it and i didn't look super deeply other than at the specific one i already had bought qhen i realized how fucked it was
I'm quite likely extrapolating the one data point i do have and making incorrect assertions as a result. I genuinely don't remember most of it, shouldn't have spoken so confidently on it
Consider my ego popped for today
apps installed after installing google play services and google play store (installed via grapheneos app store). all apps themselves are saying notifications are on. some apps don't use google play services for notifications, but they have the same issue.
these apps (including google play store and google play services) have all related permissions: unrestricted battery, unlimited internet, all notifications, etc.
do i miss something?
@hi do you run the apps and play services in different profiles? Is a google account necessary to do the magic? Have you checked the apps? Can they fall back to web socket? Like WhatsApp and signal.
@hi I don't know if a UnifiedPush provider like the ntfy.sh app helps in this context, but it might be a useful pointer…
@hi as it's degoogled, apps relying on firebase (google notification service) for notifications will be delayed, or not get sent at all.
If apps can use something like ntfy or another unified push solution you'll notice a significant improvement... But obviously Google and "popular" apps won't support this.
MicroG also helps, but not sure if that is available on Graphene.
now we can confirms all 8,000 bunnies can fit inside a single #uxn vm.
p.s. in the background, ps -o %cpu,rss runs in a loop
@hi uxn vi would rock for a standalone uxn system
As an almost 70 year old man, I have some advice for young men.
Please boost this if you think it will help
1. Your voice doesn't need to be heard. In fact, realizing that you don’t HAVE to have an opinion on everything and voice opinions or ideas in meetings or social gatherings, is amazingly liberating. You can actually just shut up, and relieve yourself of all that effort and stress. Let Bob utter his embarrassingly dumb idea, let Shirley have a say. You can just let it be for the most part
My commute is more aesthetic than yours. (Is it? Show me)
@geffrey agree to disagree?
@niccolo A-mazing. Agreed.
@geffrey small caveat: it takes me 1 hour to get to work 🤣
@niccolo Same here 🤣 But I am getting driven! (train). Nice time to get some personal stuff in.
@geffrey same!
In the 70s they could open Facebook by pressing the Meta key and there were Like and Dislike buttons right on the keyboard.
@dchest as a Lisp Machine user let me tell you those were wonderful days.
@cynicalsecurity nice! Did you use 9 and 0 keys as a backup after the dedicated parentheses stopped working?
It's completely bonkers to me that 12 solar panels I bought from a supermarket last fall, just plopped on the ground and hooked up to a hodge-podge of off-the-shelf parts (solar chargers, inverters and batteries) provides my small off-grid cabin/tiny house with the same amount of electricity my apartment uses on average (~7kWh).
In Estonia. In March.
Like sure there is the "ThEsUnDoEsNtAlWaYsShInE" crowd and a couple of caveats but, like how is this _not_ a NO-BRAINER for everyone? Like, housing associations of soviet era buildings like my apartment??
Those are, in fact, solar mounts intended for flat roofs (https://www.voestalpine.com/ifix/en), installing 10-20kWp panels on the roof of an apartment building amortized across 16 apartments is an investment of less than a thousand EUR - and an investment that pays back not in years, but *months*.
Me: feels bad about the hodge-podge work-in-progress state of battery shelf at the tiny house.
Internet: https://not.an.evilcyberhacker.net/notes/ak73c11dov9j00d8
Me: uhh, thanks, that helps 😌
It is extremely sad that "if you want to have cheaper electricity, you are on you own, and by that I mean you will have to invest into your own generation" is where the world stands these days but trillions of capital will find a way to suck up all «cheaper» electricity as it emerges, be that through crypto mining schemes or AI datacenters or whatever…
https://climatejustice.social/@ketan/116366849519539437
@flaki
I wonder if the data centers pay the same price for the kWh as a household. They probably get extreme discounts because they are such good customers.
Meanwhile:
> Fifty-four percent said they do not support carrying out the green transition, while 11 percent were unable to state a position.
>
> Support for the green transition has declined over the past six months.
It's gonna be interesting to see what they think in 6 month again.
(though I must admit "green transition" is such a vacuous, over-politicized term, no wonder they have no idea how this vague blob affects their lives...)
https://news.err.ee/1609990782/pollster-estonians-support-for-the-green-transition-slipping
The "internetification" of the power grid is actually a wonderful way of putting it. The *whole initial idea* of the internet was to not have any single point of failure. The primal cold-war era fear that "one choke point got nuked, our computers should still be able to communicate". And so what do we see in Ukraine? The primary means of Russian winter terror is putting power plants and heating offline, which have triggered panic buying of batteries, inverters and, yes, solar panels.
But "everyone for themselves" is terrible for efficiency - not to speak about things like provisioning e.g. nuclear reactors that provide power regardless of weather is not exactly a neighborhood cooperative's project(yet*). "Everyone, together" beats everyone-for-themselves every time.
https://undecided.tech/the-national-grid-is-dead-heres-what-replaces-it/
___
(*) molten salt / SMR (small modular reactors) might change that though not in the next years & disintegrating international law with "power plants are now open season" is not helping there...
@flaki you might enjoy this https://overcast.fm/+AAoT_m3-Dus
@flaki
I think there are two different "efficiencies" involved here.
The economic efficiency of large generators (Coal, nuclear, or solar farms) is real. Solar panels are cheaper when purchased by the ship load.
However, generating the power where it is needed is more efficient electrically speaking. It avoids the losses of the distribution network. It also avoids the cost of draping high capacity power lines all over the scenery.
In practice it depends on the location. In a country with low population density, large distances, and a LOT of sunshine, home based solar makes a lot of sense.
Jonas Birgersson, a.k.a Broadband Jesus¹ talks about the self-sufficiency of the proof-of-concept EnergyNet² microgrid setup they have built in Lund, Sweden:
> Yeah, it will, but also it’s interesting because — 60% less on a year-to-year basis, but also six months of the year we won’t need any grid capacity at all. Even when it’s dark in Sweden, we don’t produce solar, if we have wind connected to this, the number of days when we need the grid goes down from six months to 14 days.
This absolutely tracks also in my experience in Estonia. You can get a bit more out of solar if you use vertical panels (=no snow build-up) and an oversize array - but even with that, when nights last 16-18 hours and even when the sun is "up" it's overcast, you really need wind. And days where it's bad solar AND bad wind are few and far between.
https://www.volts.wtf/p/making-the-electricity-grid-work
___
¹ https://en.wikipedia.org/wiki/History_of_the_Internet_in_Sweden
² https://lund.se/coaction-lund/detta-gor-vi-inom-energi/energynet
@flaki +9001%
Worst case just install more solar power and use excess on sunny days to generate Methanol for storage and use with Fuel Cells.
@kkarhan yeah a couple cloudy days isn't the issue. We had a few cold, rainy days in the past couple days. Forecast was 3-4kWh, made 5kWh+ on both "worst" days, and would have made more if I wasn't conservative with consumption (fully charged by noon-ish on both days).
The real problem, at least here up North is that you legitimately barely get any sun in the winter months — no battery bank can prepare you for long winter months, especially the 2 months of sub-minus-10°C we had this winter.
Wind would help a lot, and a ground-source heat pump would make heating a lot easier but residential wind is just a huge ordeal to deal with, and ground source heat pumps are a costly endeavor.
@flaki yeah, but like anything, economies of scale will help.
@hi I just run "sshd -p 4242", and then can login via
"ssh foobar@<ip-adderss> -p 4242", where "foobar" is the account name - probably set up by termux automatically, You can see it by typing "whoami".
You'd also need to set up a password for "foobar" (or add an ssh-key - I didn't try this)
please boost
| ma räägin eesti keeles: | 0 |
| i don't speak estonian: | 87 |
| show results: | 6 |
Closed
@hi I tried to convince my dear wife to join Mastodon just to vote on this, but she won't:-)
At the 8 PM deadline tonight:
| A nuclear weapon will be deployed: | 18 |
| Trump will chicken out with another lie: | 465 |
Closed
@chockenberry I voted with hope instead of fear, that he’ll chicken out.
@chockenberry 8pm is pretty late for people of that age so he may be napping. I’m sure he’s shared the codes with Kegsbreath so it might depend on who is up at that time. Hopefully they’re both sleeping or passed out by then. 🤞
@chockenberry I believe he *wants* to use a nuke. I choose to hope SOMEONE in that clown car stops him.
@chockenberry this vote is not helpful. it narrows down valid options to just two which has nothing to do with reality. it normalizes "not going nuclear" as "chicken-out" and it overall does this just for the clicks/reactions to go after a cheap dopamine kick.
fuck this US american imperial ego-adressing bullshit. 💩 it is way more sane and normal for a human being to NOT erase a civilization from the planet. are we on the same page here?
@chockenberry there’s no option for “orange head and his entire cabinet will go to life in prison with no chance of parole.”
I suppose option one includes that.
@chockenberry I fear, if it doesn’t happen, that it isn’t chickening out, but that somebody managed to convince him otherwise, at least for now.
@chockenberry They have the toys, and they want to play with them. Hegseth thinks this is a holy war video game. I wish I could believe they won’t try a tactical nuke (or worse). I wish I could believe there is enough will in our military to prevent it. However, no matter what us “alarmists” have said, it’s been worse every step of the way.
@chockenberry I sure hope my non nuclear vote will match reality in a few hours. But with the level of crazy of the last year I can’t be sure.
@chockenberry you’ve left the expiry time of the poll *after* the end of (a) civilization. I appreciate your positivity!
gave all permissions to android auto and play services. disabled vpn. forgot all bluetooth wifi connections. nothing helps...
@hi Welcome! I can tell.you that it works, but on a fresh install it took some fidgeting. It's been a while, but here are a few things I remember.
You can get to AA-specific configuration by opening the Settings app, going to "Apps", finding Android Auto, and clicking "Additional Settings in the App" (see screenshot)
Back in the Settings, go to "Apps", then "Sandboxed Google Play" and "Android Auto". Depending on how you're connecting, you might need to grant Google Play more access.
Generally, AA is more reliable using a USB than using Wif and BT. Some cars don't support wireless AA (including a handful of new ones).
If you're running an active VPN, AA gets very angry. Usually it'll give a big red popup, but I suggest disconnecting from the VPN before pairing/plugging to the car. (I use a #Tasker automation to do this automatically.)
Hope that helps!
@hi No worries, I get it.
The good news is that it's continually improving. I probably tried and gave up on GrapheneOS twice, but it was better each time. Now, I wouldn't go back, but I also don't recommend it to most folks.
@hi I've given up on it on my Pixel 5 running Calyx OS. You basically have to give so many permissions and install apps and services to a point where it "re-googlifies" your phone, so I gave up on it entirely.
(I have a secondary iPhone if I *really* need to use Carplay/Android auto but I honestly rarely needed it)
Wow… requested a VPS with @OpenBSDAms this afternoon and 2h later I got an email with the details! Amazing service from a cool project that donates a tremendous amount to the OpenBSD foundation ❤️
Quite excited for my first steps into the OpenBSD world. (Somehow I never used it despite using FreeBSD for so many years.)
(repost with more sane poll options)
If you use a backup system for your Laptop, PC or homelab, when was the last time you used it to restore files that you needed (so no tests, only real restore because it was needed)
This is an honest question. So please no snarky remarks about other people's setup or elaborate technical descriptions of your system and why it is superior. Just a simple answer. Thanks!
| In the past 72 hours: | 17 |
| In the past month: | 56 |
| Longer than a month ago: | 154 |
| Not in the past year, at least: | 295 |
@jwildeboer 3 days ago my main proxmox server's mainboard broke, restored a non-critical container to my other proxmox host
@jwildeboer
While I do run backups, I haven't had to use one in over 30 years. I am convinced the next time I need one will be when I stop making backups.
@jwildeboer mostly i just use my backups to pull files from another computer i can't easily reach at that moment. And it helped me with an accidental 'rm -rf' once or twice. No full restores yet.
@jwildeboer used to restore specific file paths quite often when the thing I needed was on another machine. but after setting up synced folders, restores went to zero
@jwildeboer i rarely have to restore. Maybe 5 times in the last 2 decades.
I use LVM+MDRAID or ZFS for any machine I care about the data. I use snapshots too.
@jwildeboer normally go years between incidents and the incidents tend to be doing dumb fat finger things. Ha.
@jwildeboer I haven't had a disaster in quite a while, so I _hope_ my tests are accurate, heh!
@jwildeboer I've never needed a full restore yet but I occasionally pulled files from old snapshots in the past year, both on the same machine and on other ones
Forgetting the laptops passphrase and doing a full-OS-restore only happened to me once. Thus I selected „not in the past year“ in the poll.
Single file restore from backup is very rare for me because of the snapshots.
so many stores, it's confusing...
@hi I do it the easy way...I download the apk and install it.
@hi
What do you mean by "sign them"..?
@hi I mostly rely on F-droid for search and discovery, then copy the source link into Obtainium for installation. Faster updates that way.
Don’t use F-Droid or Aurora store for security, use Obtainium, Accrescent and AppVerifier.
https://privsec.dev/posts/android/f-droid-security-issues/
https://xcancel.com/search?f=tweets&q=from%3AGrapheneOS+Aurora+Store
Which has the best source code?
----
Best is whatever you care about code quality. For some it might be design coherence, for others it might be resistance to security exploits, for others it might be architecture portability.
#netbsd #openbsd #freebsd #opensource
| NetBSD: | 18 |
| OpenBSD: | 46 |
| FreeBSD: | 6 |
Closed
TIL (Today I learned) that writing websites with simple HTML and CSS is now called "post-framework". Well. I did "post-framework" even before frameworks existed and I never stopped writing that little bit of HTML and CSS needed for static pages myself. I guess I'm so old that it is considered being young again :) (frantically adding "20+ years of experience and practice with post-framework web design" to my CV ;)
1/4
@jwildeboer @Meyerweb I feel this way about “static site generators”. I’ve been maintaining web sites with mk (like unix’s ‘make’) since 1997 or 1998; oh, there’s a special name for that now? Neat!
@jwildeboer
—simple HTML and CSS is now called "post-framework"
What a load of nonsense.
First we had HTML without CSS.
Then we had CSS 29 years ago!
I was doing static websites using HTML before CSS existed.
Then there was horrible MS IIS using two files, HTML & SQL queries.
Netscape Javascript C style BASIC for Web page on client side.
Oracle had Cold Fusion for Server side.
We had Apache with PHP (server side).
Then we had bloated "Frameworks" & CMS as well as CSS.
Idiots.
@raymaccarthy You forget fastcgi and Perl ;)
@jwildeboer
Oh, I wasn't being comprehensive.
Those that don't know history are doomed to invent wonky wheels?
@jwildeboer Also, running your own services on your own physical servers is now "a homelab". Fine. Nice to know that noisy part of the parents house in 1993 was a homelab.
To all that replied that it should be called pre-framework instead: you are showing your age without telling your age ;) Yes, most web developers nowadays were born after the pre-framework times. Many frameworks are of legal drinking age since many, many years.
2/4
@jwildeboer Never got warm with those over-engineered frameworks. So, it's nice to see some signs of their time coming to an end.
And, FTR (For The Record), my preferred term for „going back to the basics“ is #LayerSlayer (Cue heavy metal bandname style logo :)
(Logo by @ArtbybilliSoon, commissioned and paid for by me)
3/4
@jwildeboer (in Strong Bad voice) the LAYER SLAYER
@GroupNebula563 The Marvel superhero we all want :) The Layer Slayer. A successful WWF wrestler discovers his unique superpower when he first visits a datacenter and suddenly traffic and energy use drops 90% after he touches one of the servers and code flows from his hand to the systems, switching them all to static pages and artisanal CSS and HTML.
And now I need to really finish that redesign of my blog that still uses the MinimalMistakes template in a rather outdated version and switch to the simplest possible grid based theme that I am writing myself.
4/4
@jwildeboer @ArtbybilliSoon I got 90s neon pop vibes :D Cue bright tracksuits and belt bags!
@jwildeboer you should start posting about this great framework called jQuery 😅. Start it wholly from scratch again.
@jwildeboer The more I do web development the more I desire to build simple systems with as little dependencies as possible.
@jwildeboer This is the way to go.. again!
We have made development so complicated with all kinds of frameworks, libraries, managing tools and other cruft, it's ridiculous. Tools don't guarantee the outcome.
I have been doing webdev for 15+ years now. Simple(r) always wins. I am back to CSS only. Being able to move things between pc's and continue coding. No extra tools, processors etc. It's a great workflow.. 'post-framework'? Sure, name it that.
@codebuzz Yep, we both can add "15+ years of experience with post-framework web design" to our CV ;)
Actually, excess tooling guarantees a shit outcome - fragile, hard to maintain, and uses more energy.
Funny how many people can't do even a simple site without WorstPress.
@barbra @jwildeboer And if WordPress, can't build without Plugins.
I guess people have learned to ride the bike, fallen off, and are re-evaluating how much is too much :)
@jwildeboer Sometimes I feel like listening to music while driving around. That's when I turn on the car's post-television.
@jwildeboer @aslakr If modern CSS weren’t such a bloody hellscape, none of those frameworks would exist.
LOL. nice to see tech has "fashion" like everything else.
vinyl is back. bell bottom jeans keep re-appearing. why not HTML static websites? :)
@jwildeboer Great, it's got a buzzword! Now maaybe some colleagues at work might be interested in my internal "back to the basics" trainings ^^
@jwildeboer I recently built a web gallery that should not use external libraries or require a specific build system, but support modern features like touch gestures. It was fun to see what is possible these days. Not just HTML/CSS as it contains a JS part, but still...
@neuimneuland This. It is kinda bonkers how frameworks, once meant to hide complexity, now serve to *hide the simplicity* of modern HTML and CSS :)
@jwildeboer @neuimneuland at one point in my JavaScript journey frameworks (they weren't called that yet) were getting popular, particularly jQuery. I shied away from them because it seemed like a huge amount of library to load just for relatively simple stuff, and the extra dependency didn't seem worth it. Plus, the idea that I'd sink time into learning something that would perhaps quickly become obsolete wasn't appealing, when using the standardized APIs was not much harder and helped keep me honest about HTML element complexity and design.
document.querySelectorAll is pretty great actually!
So now I guess I'm also a post-framework veteran? Ha.
@tiotasram @jwildeboer @neuimneuland someone I worked with once called me a vanillaJS fangirl 😂 made my day
I feel like "kids these days" dont know just how far vanilla HTML, CSS, and a lil js script can take you.
@being As someone else said in my timeline today: It is weird to think of vanilla as plain, simple, boring when it is one of the most complex and satisfying taste experiences to have ever existed :) @tiotasram @neuimneuland
@jwildeboer Interesting that they are not calling it "pre-framework". I always associate "post-" as something that comes *after*
@Catwoman69y2k @jwildeboer I think that's actually some really slick marketing on the part of whoever came up with it. It makes it sound like "the new hotness". Like, "Oh, frameworks? Yeah, those are the past. We don't need those anymore." Really nice job of subliminal messaging; mad props to whoever did that.
@kagan Yes. My iPod classic is a post-streaming device. The public library is a post-subscription service. Picking up the young folks at the place they are to teach them what we elders of the internet and beyond already know in a way they feel comfortable with beats the "told you so". I tip my hat :) @Catwoman69y2k
@jwildeboer I am waiting for table layout to become the hot thing again.
I was dreaming in table within table within table within table ... I saw tables everywhere.
Could have been a nightmare ...
@jwildeboer I wrote my own websites in HTML before CSS existed. It was before JavaScript was common! I would do that that way again if I needed a fast web page because it was far, far more efficient, cleaner and faster and lower bandwidth than what we see now. (except in Gemini and Archie sites. Those are really low bandwidth but don't have most of the HTML features.)
Frameworks are fine when you *really* need them, but in my experience they add scope and endless management, esp. with non-SaaS sites.
Moreover the static non-dependency sites I designed and built all-the-way-back to 1996 still work, albeit not-so-great on phones, but even that can be quickly solved with a few lines of CSS.
The standards mantra we learned from @Meyerweb and @zeldman held up way better than anyone could have predicted!
@jwildeboer @aslakr Ohh thanks I’ll put that in the README.md of the PHP/HTML/CSS project I’m working on 😁
@jwildeboer I feel like a hipster, hah.
I never bothered with frameworks because I never needed them for any of my use cases. I just built with the raw HTML and CSS as needed. 😎
But I'm also a hobbyist, so, I learn only what I need to know for what I'm doing for the fun of it. And I like the added fun of doing the thing without the abstractions of frameworks and libraries whenever I can avoid using them.
@jwildeboer No you did not do Post-Framework before it existed :) It exists since now. What exists? Not what you did, but a trend. The trend is new. And you seem to criticise the trend. So not obeying the trend means that you are not part of it. Which means you are still not doing it :) It's just a trend, don't take it too serious ❤️
@droidboy I welcome the trend to go back to the basics, regardless of what trendy name others give it. If those trendy names help to promote the core message of learning the basics, I am more than happy to use the trendy names. I work in marketing for reasons ;)
stupidest thing ever. absolutely stupidest thing ever. librewolf doesn't have 22x22, 24x24 and 256x256 hicolor icons. EDIT: i fixed it. patch: https://codeberg.org/vimuser/librewolf-openbsd-port/commit/8a23fcb23b2591a25250f7f0fc7b43fcd3958c1f - now my lxqt menu **has an icon**
yes.
other than that, port is pretty much done. including for CURRENT - still need to build-test librewolf 149 on obsd current. librewolf 143 compiles on obsd 7.8
gonna submit to ports team asap. i wanna get this in openbsd proper, in time for their 7.9 release. so ppl can use pkg_add