@otl@lemmy.sdf.org
@otl@lemmy.sdf.org avatar

otl

@otl@lemmy.sdf.org

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Today's Commute: Orion RXB250L (lemmy.world)

Made by Nicot and distributed by Orion, the RXB has a very KTM “inspired” frame design with a Honda CB derived single cylinder 249cc engine. A lot of Chinese drop-shipped bikes are advertised as “250” cc, but this one actually is. It’s got six gears, too. Capable of 20-ish horsepower, lightweight, simple, cheap, it’s...

otl,
@otl@lemmy.sdf.org avatar

I guess because it’s a CB 250 derived engine it should be pretty reliable?

otl,
@otl@lemmy.sdf.org avatar

I wonder if their compositors would be laggy and bloated with features, too?

otl,
@otl@lemmy.sdf.org avatar

The custom bike scene in SE Asia is really worth checking out. The ingenuity makes me feel even more of a dumbass than I already am. Loads of fun. I’ve had some great times chatting about bikes when I’ve been over there.

otl,
@otl@lemmy.sdf.org avatar

I suppose it’s a call to arms - the intended audience is those who are familiar with all those acronyms. It’s meant to ignite a fire in the belly to spur individual action against the proposed Chat Control legislation.

I know what you mean though. The reality of “resisting” is actually kinda messy. Using all the mentioned tooling is exhausting. Much like I don’t think that consumer recycling is going to save humanity, I don’t think that if everyone “made the little effort required to secure their data and their communications” it would end crazy proposals like Chat Control. TLS is so common now (in HTTPS) and WhatsApp (implementing e2ee) is incredibly popular. Yet here we are.

The article briefly mentions open-source software. To me this is where I see more private & secure by design stuff like you mention. I’m happy that things like Lemmy exist making countermeasures like 3rd party cookie blocking sand URL cleansing irrelevant.

otl,
@otl@lemmy.sdf.org avatar

I’m now 30 years old and I wonder what I’ll feel like after another 30 years :(

otl,
@otl@lemmy.sdf.org avatar

This is more along the lines I was thinking.

I think the parent comment went ad hominem rather than trying to understand some of the difficulties I brought up. I’m not sure whether engaging with them would be productive.

otl,
@otl@lemmy.sdf.org avatar

You just said that this software was much more complex than Unix tools

Probably need to keep in mind incidental versus essential complexity here.

So with all those configuration options, why is the standalone binary expected to have defaults that may sound same on one system but insane in a different one?

Because this is how much of what we use already is implemented. Significant effort goes in to portability, interoperability and balancing compromises. When I’m doing software development e.g. writing HTTP APIs (of which I apparently know nothing about ;) ) - I feel like I’ve got a responsibility to carefully balance what I expose as some user-configurable thing versus something managed internally by the application. Sometimes, thankfully, the application doesn’t even have to think about it al all - like what TCP flags to set when I dial some service.

You bring up containers which is a great example of some cool features provided by the Linux kernel to solve interesting problems. If you’re interested, have a look at FreeBSD’s Jails, Plan 9 and LXC. Compare the interface to all these systems, both at the library level and userspace, and compare the applications developed using those systems. How easy is it to get going? How much do I need to keep in my head when using these features? Docker, Kubernetes, and the rest all have made different tradeoffs and compromises.

Another one I think about is SQLite. Some seriously clever smarts. Huge numbers of people don’t know anything about for-loops, C, or B-Trees but can read & write SQL. That’s technology at its best.

Consider how difficult it could be to, say, start a car in all the different operating conditions it is expected to be used in. But we never think about it.

We as tech people pride ourselves on familiarity with esoteric detail, but it doesn’t need to be like this. Nor does memorising it all have anything to do with “skill”.

What I’m struggling with are thoughts of significant vested commercial interest in exposing this kind of detail, fuelling multi-billion dollar service industries. Feelings of being an outsider despite understanding how it all fits together.

It is a pluggable service that connects to one or more TSDBs, performs periodic queries, and notifies another service when certain thresholds are exceeded.

Have you ever written this kind of software before?

It sounds like you are comfortable with the status quo of this part of the software industry, and I’m truly jealous! If you’ve got any tips on dealing with this kind of stuff you can find my email at www.olowe.co/about.htmlThanks :)

otl,
@otl@lemmy.sdf.org avatar

We can’t go back to the old way of doing things but we can’t keep maintaining these fundamentally flawed systems either.

That’s a great way of putting it, thanks. I’m actually only 30 years old (lol). Sometimes I feel there’s so few people who’ve ever used or written software at this level in the part of the industry I find myself in. It seems more common to throw money at Amazon, Microsoft, and more staff.

I’ve replaced big Java systems with small Go programs and rescued stalled projects trying to adopt Kubernetes. My fave was a failed attempt to adopt k8s for fault tolerance when all that was going on was an inability to code around TCP resets (concurrent programming helped here). That team wasn’t “unskilled”; they were just normal people being crushed by complexity. I could help because they just weren’t familiar with the kind of problem solving I was, nor what tooling is available without installing extra stuff and dependencies.

Thanks for your understanding :)

otl,
@otl@lemmy.sdf.org avatar

Definitely depends, yeah. bash is a huge piece of software that - for me - feels a bit out of place in other systems closer to original unix. Interesting ones are http://9p.io/magic/man2html/1/rc and even plain old /bin/sh provided by something like busybox.

otl, (edited )
@otl@lemmy.sdf.org avatar

Thankfully uBlock Origin removes those parameters for us. The default filters include a whole bunch of removeparam filters; e.g. privacy.txtSee also removeparam.

Maybe you could help your friends and family install Firefox and/or uBlock Origin? Every little bit helps :)

otl,
@otl@lemmy.sdf.org avatar

Is it? Found this setting: forums.macrumors.com/…/img_1639-png.2219522/

Not sure what the default is and I don’t have iOS 17 yet.

otl,
@otl@lemmy.sdf.org avatar

They don’t necessarily need to; hopefully we can help people install uBlock Origin which removes tracking query parameters from URLs. See privacy.txt

otl,
@otl@lemmy.sdf.org avatar

Probably not; userChrome.css just modifies the local user interface of Firefox, right? I don’t think any of this information is ever transmitted to servers, nor is it available from Javascript. Custom user styles however could probably be used for fingerprinting.

Related interesting article from Mozilla: Privacy and the :visited selector

otl,
@otl@lemmy.sdf.org avatar

I’m still not sure whether the post is just spam.

otl,
@otl@lemmy.sdf.org avatar

pearl clutching

Ha! Can’t believe I haven’t heard this one before. I’m gonna use it all week to keep my usual long whinge-y “society is fucked” rants nice and short. My girlfriend will be very pleased.

otl,
@otl@lemmy.sdf.org avatar

Each time your browser makes a request (such as updating the graphs), it’s submitting a new DNS query each time.

That would be surprising; most HTTP clients reuse network connections and connections are deliberately kept open to reduce the overhead of reopening a connection (including latency in doing a DNS lookup).

Then again, I’ve seen worse ;)

Can anyone walk me through a React phone component?

I’m currently having trouble with the phone component I’m writing. To be extra vague about it, on my onChange, I’m using a function to move to the next text box. However, when I use my data handler function to raise the value to the parent, it doesn’t work. In addition, by adding my data handler to the individual text...

otl, (edited )
@otl@lemmy.sdf.org avatar

Thanks! Some quick thoughts.

Recommend staying away from LLMs (Bing, ChatGPT et al.) for now.

Take a look at Sharing data between components from the official React quick start guide.

Try thinking about what is required without thinking about React. I think we need 4 input elements. The value of those elements needs to be concatenated and displayed to the user. Is that right?

From there, we can work out a way to implement what we need using React. Thinking this way helps us start with an even simpler implementation e.g. using just 1 input element instead of 4.

There’s a few things we don’t need right now: unused props like errorMessage, useRef(), and changing focus.

I’ve heard of raising state to the parent, but passing state down, not as data, but as actual state, sounds difficult and somewhat complex.

I think what you’re talking about are Signals from Preact? This feature isn’t required right now and it introduces complexity; I personally find it hard to juggle extra concepts in my head especially when starting out with some new tooling.

If you’re still interested we could try writing a couple of basic components that get us part of the way there.

otl,
@otl@lemmy.sdf.org avatar

Ok! Just so I’m clear on what we need to do, what do you think the final HTML would look like? Happy to keep comms over Lemmy but email might be easier than fighting with Lemmy’s markdown renderer. My deets are at www.olowe.co/about.html in “Contact”

Apple blames iOS 17 bugs and apps like Instagram for making iPhone 15s run hot (www.theverge.com)

Apple has acknowledged user complaints that iPhone 15 and 15 Pro phones are overheating, reports Forbes, but said that contrary to speculation, it has nothing to do with the phone’s hardware design. Forbes noted an update to Instagram has already rolled out with version 302, released September 27th, to address some of the...

otl,
@otl@lemmy.sdf.org avatar

We can never know exactly. For me I always think about the (incidental) complexity of these huge apps like Instagram.

Somebody mentioned the phone overheating when watching Reels - those short videos. Here’s a made-up example (but I’ve written some software for video streaming services)…

Those videos are pretty short, and some people skip the clip even after less than 1 second. Instagram want that next video to be playing instantly (gotta get that dopamine hit ASAP!). A strategy you could take is have the app load the next, say, 5 possible videos in the background before you’ve even seen them. When the user swipes, that video is already playing. To make this even faster we could execute some recommendation decisions on-device rather than on some servers (over a relatively much slower 4G connection).

With all this complexity comes greater chance of some unexpected behaviour. Instead of loading 5 videos, maybe we accidentally load 100 and never clean up the old ones. Maybe after an OS update we need to change the way we mark a task as low priority.

otl,
@otl@lemmy.sdf.org avatar

I agree. ActivityPub messages are not necessarily public information; implementations like Mastodon and Lemmy just assume it - and there’s nothing stopping the services relaying the messages elsewhere afterwards.

Actually in my fiddling with ActivityPub I’ve made some posts and comments to a Lemmy instance which were not relayed to other instances, even though they would have been if I made them using Lemmy. So there’s definitely opportunity for systems to implement features inbetween “totally public” and “single recipient”.

otl,
@otl@lemmy.sdf.org avatar

But seldom in the motorbike space, I think?

Giving up on selfhosted email / Any sane email setups?

So I’ve been running self-hosted email using Mailu for a couple of months (after migrating out of Google Workspace). Today it turned that although my server seems to be capable of sending and receiving emails, it also seems to be used by spammers. I’ve stumbled upon this accidentally by looking through logs. This seems to...

otl,
@otl@lemmy.sdf.org avatar

This was the provider I went with after self-hosting my mail for 7+ years on an OpenBSD VPS. I feel like Migadu is an honest and good-value service.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • tacticalgear
  • magazineikmin
  • thenastyranch
  • Youngstown
  • mdbf
  • rosin
  • slotface
  • InstantRegret
  • khanakhh
  • Durango
  • kavyap
  • osvaldo12
  • DreamBathrooms
  • JUstTest
  • GTA5RPClips
  • ngwrru68w68
  • everett
  • tester
  • ethstaker
  • cisconetworking
  • cubers
  • modclub
  • provamag3
  • anitta
  • normalnudes
  • Leos
  • lostlight
  • All magazines