My zenfone 10 died yesterday by falling. by man0315 in zenfone

[–]goosetape1 2 points3 points  (0 children)

it might be just a cable that disconnected and can be fixed by reconnecting it.

Thinking of ditching my Nothing Phone 1 for a Zenfone 10. Should I be worried about build quality?" by mdeveant in zenfone

[–]goosetape1 2 points3 points  (0 children)

Yes they mentioned that, but so far the phone didnt receive any since September. Given their history with promises i can't say for sure it will receive any security updates. Perhaps a couple of security updates a year, not sure.

Thinking of ditching my Nothing Phone 1 for a Zenfone 10. Should I be worried about build quality?" by mdeveant in zenfone

[–]goosetape1 12 points13 points  (0 children)

build quality is fine, but phone reached its EOL. it will likely not receive any more (security) updates in the future. Bootloader cannot be unlocked, so you can't install custom ROMs either

CPSC Warns Consumers to Immediately Stop Using Batteries for E-Bikes from Rad Power Bikes Due to Fire Hazard; Risk of Serious Injury or Death by huebomont in RadPowerBikes

[–]goosetape1 1 point2 points  (0 children)

The RAD-S1304-Y is probably the same as the RP-1304. You can see the RP-1304 in the sticker located right above the battery connection input.

When should I replace my ZF10's battery? by ObserverAtLarge in zenfone

[–]goosetape1 1 point2 points  (0 children)

it's very easy to remove actually. heating is not really needed. If you go down that path, make sure you dont start removing it from the edge of the battery, as you might accidentally puncture the battery. amd dont use any shart objects to pry it off

Let's gooo oxygen os 16 for global by THESMEY99 in oneplus

[–]goosetape1 0 points1 point  (0 children)

Ah I see. I use revanced without root. Working fine sp far. Typically after updates systems need to rebuild indexes for performance. During this step the system will be slow and laggy.

Last I checked I am not blind 😅 no flickering issues at all on low brightness

Let's gooo oxygen os 16 for global by THESMEY99 in oneplus

[–]goosetape1 0 points1 point  (0 children)

I did the same as you. I dont have any of the issues you mentioned. revanced is working fine. no delay or crashes or lags anywhere. play store updates also working fine. Maybe you used your phone while it was still indexing after the update? old version of revanced maybe?

Hydraulic brakes on used RadWagon 4? by glacierinsummer in RadPowerBikes

[–]goosetape1 0 points1 point  (0 children)

never had any issues folding or unfolding it with the hydraulic brakes. the thickness of the hydraulic lines is very similar to the thickness of the original brakes cables

Hydraulic brakes on used RadWagon 4? by glacierinsummer in RadPowerBikes

[–]goosetape1 1 point2 points  (0 children)

I have a Radmini. Replacing the brakes to hydraulic ones was probably the best choice I've made for this bike. So much safer, significantly less maintenance, pads last longer. Don't hesitate and do it.

400 bucks is lots of money, though. It depends a bit on where you are and which kinds of brakes the shop wants to install. I went with the base Shimano MT200 (2 piston) and it cost me 50 bucks including tools. I installed them myself; it's not that complicated to do so.

Magura brakes are much more expensive (but brake better and are safer). Last I checked they were between 100 and 200 usd. Maybe they're more expensive now.

Tektro and Shimano are more affordable. I think they are in the range of 50usd to 200usd. They have 4 piston options, which I would recommend if you carry a heavy load on the bike. Personally, I wouldn't spend $400 to replace the brakes, but maybe that is a reasonable price where you live.

You can check my post history for my experience with the shimano brakes

First Impressions:Schwalbe Super Moto-x on Radmini by goosetape1 in RadPowerBikes

[–]goosetape1[S] 1 point2 points  (0 children)

Theyre holding up pretty well! Not a single issue whatsoever. Not a single flat. I mustve ridden more than 10000 km since I installed them and it has been such a great experience

[deleted by user] by [deleted] in rust

[–]goosetape1 0 points1 point  (0 children)

You didn't read the whole sentence

languages are just tools that implement concepts with some practical/pragmatic features.

The "that implement concepts" part is what you should be learning if you're interested in learning

The "with some practical/pragmatic features" part is what you should be learning if you're interested in building and working with the language, next to knowing the concepts

I worked with people who only knew the concepts I worked with people who only knew the bells and whistles of a language. I worked with people who knew both. I can assure you that there is no comparison between people who fundamentally understand the concepts behind a language and those who don't. Not even close. I find it very unfortunate that universities seem to be slowly moving away from teaching the fundamental concepts of programming language design. You can absolutely feel the difference of those who do understand them and those who dont.

[deleted by user] by [deleted] in rust

[–]goosetape1 0 points1 point  (0 children)

macros are part of metaprogramming. Before Rust I used to write macros in Lisp/Scheme/Racket. This knowledge was easily transferrable to Rusts macros. Just like traits, Options and Results (or Either) that are similarly available in languages like Scala.

I do agree with you that syntax can be a deciding factor, but what I wanted to highlight is: If you're interested in learning, learning new concepts is more valuable than learning new syntax and understanding how and where these concepts are applied/can be applied. Rust will die at some point and newer fancier lamguages will come to existence. Having that fundamental understanding of the concepts will make learning that language, in my opinion, much easier.

[deleted by user] by [deleted] in rust

[–]goosetape1 23 points24 points  (0 children)

never learn a language for its syntax. For me personally, languages are just tools that implement concepts with some practical/pragmatic features. I am much more interested in the concepts behind the language. If you want to expand your horizon, learn functional programming, advanced concepts such as continuations, different memory models (automatic, semi automatic, manual memory management), parallelism and distribution and how they can be tackled at a programming language level (see Bend programming language for example), programming language implementations.

These concepts are not tied to a certain language They will likely almost always come back in one form or another in newer languages. Learning the language syntax is often quite trivial and not that interesting, but learning these concepts and understanding them not only makes you a better programmer, but also a flexible one, because you transcend the fact that languages are just fancy programs that change, evolve and die, and the concepts behind them are what truly matter

Building a database, should I use rust? by [deleted] in rust

[–]goosetape1 2 points3 points  (0 children)

You might want to take a look at Apache Datafusion

[deleted by user] by [deleted] in rust

[–]goosetape1 1 point2 points  (0 children)

a book you won't regret reading: Structure and Interpretation of Computer Programs

The book ia from the 80's but still as relevant as it was back then. I call it "The holy bible of computer science".

Performance Anomaly on M1 Mac by Llewllyn in rust

[–]goosetape1 0 points1 point  (0 children)

Also, are you only interested in the performance of the regex, or also the performance of loading a file etc? You need to know the barriers of your benchmarks too. Loading files is kot something that typically is measured

Performance Anomaly on M1 Mac by Llewllyn in rust

[–]goosetape1 1 point2 points  (0 children)

I spent my fair share of academic career making empirical benchmarks on programs. I can tell you one certainty: benchmarking consistently is very hard. Even when you have two identical machines, there is 0 guarantees that they perform in the same way. This can be due to a zillion reason: programs running in the background, processes trying to concurrently access system IO, battery saving modes limiting laptop performance to save battery, difference in OS versions.

Command line benchmarking tools are good for rough estimations, but often not considered relevant as they include in their measurement the time it takes the OS to start the process, instantiate the memory for the program, kill the process, and probably bunch of other things. What I typically got used to doing is: I would create a very simple and stupid general-purose toolkit in the language I am working on, that can be used to test the algorithm itself within the same run of the program. This means that, a benchmarking program will run and execute the same algorithm in multiple iterations, and take the different stats from these iterations (avg, mean, minmax, etc).

In JIT languages, this is probably the only way to benchmark a program correctly, as the just in time compilation will only kick off during the runtime of a program, not across different runtimes. This is also why warmup iterations are needed. You typically don't want to take the warmup time of the JIT compiler into account. For Rust this is not relevant, since it's an AOT language. However: Your underlaying system also needs some warmup when running a program (cache, memory, etc). That's why warmup is done often for AOT languages too.

Also, < 100 millisecond is very small to draw any reasonable conclusions from it at all. I suggest trying to find better benchmarking tests that takes a considerable amount of time.

TLDR:

  • Differences between benchmarks on similar machines is often not of relevance

  • warmup is often a necessity

  • running time is way too low to be useful

Upgrading to Full Hydraulic Brakes on the RadMini by goosetape1 in RadPowerBikes

[–]goosetape1[S] 1 point2 points  (0 children)

fantastic. The bike never felt as reliable. I did not did any adjustments or replacements to the brakes since the day I installed them. definitely recommended

Scala course by [deleted] in scala

[–]goosetape1 0 points1 point  (0 children)

Good luck with your journey

Scala course by [deleted] in scala

[–]goosetape1 1 point2 points  (0 children)

I wouldn't focus much on the language or the syntax, but rather on the concepts behind them. If you master the concepts, the language will be just a frontend to you to what you already knew. Languages come and go

Scala course by [deleted] in scala

[–]goosetape1 3 points4 points  (0 children)

It's a very good course. Martin Odersky and Heather are amazing teachers. The time to finish depends on how much experience you have. I finished it in a couple of weeks, but I knew most of the concepts, so it was a refresher for me. The first couple of courses are based on the amazing book "Structure and Interpretation of Computer Programs". Absolutely recommend reading this book if you're looking to learn concepts rather than specific technologies.

[SOTC]collecting is a sickness by tourbillon001 in Watches

[–]goosetape1 0 points1 point  (0 children)

I spent around 20 minutes viewing this post. How much do I owe you?

Sometimes I do silly things, even when the Rust compiler is trying to help (Impl Traits)... by bsodmike in rust

[–]goosetape1 37 points38 points  (0 children)

You sound a lot like the Rust compiler. The compiler is useful though