stifle867

joined 1 year ago
[–] stifle867@programming.dev 0 points 11 months ago

I did this exact thing and hit the point where it didn't work. I appreciated that the problem broke my code because it made me arrive at a better solution.

[–] stifle867@programming.dev 0 points 11 months ago (1 children)

Im theory you could try counting CPU cycles or something analogous, or algorithmic complexity as the other commenter mentioned. You could also try to measure it in comparison to different code.

Outside of that, and in any practical sense, no you can't. Performance measurements are dependent on the machine as much as the software.

If a car is hardware, and the driver is software, how would you measure the performance of the driver in the different cars? The only way I can think of is if you had 2 different drivers and could compare their times in both cars. If driver 1 is 2x as fast in car 1, and 2x as fast in car 2, you could say driver 1 has a score 2x higher than driver 2.

[–] stifle867@programming.dev 0 points 11 months ago (1 children)

The problem is the example is actually eightwothree which comes out as 83 so if you replace from start to finish the example passes but the solution is incorrect.

[–] stifle867@programming.dev 0 points 11 months ago (4 children)

It's great! I've had community members point me in the right direction after already "solving" it incorrectly. It really makes you think about it. You have to expand your test cases and really come up with a better solution.

Not to say it isn't difficult especially if you expect the problem to be described perfectly accurately.

[–] stifle867@programming.dev 0 points 11 months ago (3 children)

In Switzerland, individuals are still free to download whatever files they like for their own private use (except for software and video games).

Note that uploading or seeding a copyrighted work, which was a misdemeanor under the previous law, remains illegal.

source: With P2P law, Switzerland reaffirms its commitment to privacy

[–] stifle867@programming.dev 0 points 11 months ago* (last edited 11 months ago) (1 children)

“Chicken meat poses a significant biosecurity risk to Australia, particularly the risk of highly pathogenic notifiable avian influenza (HPNAI) virus which can cause severe disease and mortality across Australia’s poultry industry, and may also affect wild bird populations.”

We do have a reputation for taking these things very seriously, as we should. We were even going to kill Johnny Depp's dogs at one point but settled for the "hostage video". Despite that, it does seem excessive in this case and should have been overturned on appeal at the very least.

Thankfully someone stepped up and ended up paying the fine on their behalf.

[–] stifle867@programming.dev 0 points 11 months ago (1 children)

I dropped it with a pop socket on the back and it landed right on the pop socket. You can see where it pushed through the display and caused that circular crack. It was maybe 80% as bad when it happened, the other 20% happened after using it for a year like that. I got so used to reading text only on the top half of the screen 🤣 I loved that phone so much I didn't want to get rid of it which I only did because large pieces of glass were coming out.

I ended up getting a Pixel 7 Pro. I only ever had Google phones before the 1+ so it made sense just to switch back after the direction 1+ took around that time.

[–] stifle867@programming.dev 0 points 11 months ago (3 children)

I could never get Google Pay working properly with a custom ROM. Plus the screen looks like this:

[–] stifle867@programming.dev 0 points 11 months ago (5 children)

I'm still never going back to OP after they fucked up Oxygen OS. I held onto that OP 7T Pro for the longest time.

[–] stifle867@programming.dev 0 points 11 months ago (1 children)

Why? I haven't reached any conclusions either way because I haven't heard the facts yet. I have an open mind towards all possibilities. Isn't that what you would be looking for on a jury?

[–] stifle867@programming.dev 0 points 11 months ago* (last edited 11 months ago) (3 children)

The full quote doesn't make it any better IMO. The context you provide does provide some explanation, but an explanation to a response he didn't give.

If he had said something along the lines of "I have received this complaint and while there are not enough details to specifically respond I look forward to defending myself in court" that would have been another matter entirely.

The response he actually gave just sounds suspicious. There's not enough to claim any knowledge of wrongdoing but it also doesn't give off an air of confidence in his innocence.

[–] stifle867@programming.dev 0 points 11 months ago* (last edited 11 months ago) (1 children)

Thank you! I'm in the same situation as OP and looking at the homebrew store it even includes apps for the other things I'm missing too! (CrunchyRoll and Jellyfin).

Do you happen to know if there's any way I can get ChromeCast like functionality from my TV? It's my last remaining little niggle with the TV.

EDIT: unfortunately LG has patched out the ability for rootmy.tv to work

1
submitted 11 months ago* (last edited 11 months ago) by stifle867@programming.dev to c/elixir@programming.dev
 

This only comes around once a year and is a great time to pick up some of their great courses using promo code 2023THANKS.

  • Elixir & OTP ~~$149~~ down to $89
  • Phoenix LiveView ~~$129~~ down to $77
  • Full-Stack GraphQL with Phoenix ~~$99~~ down to $59
 

I've noticed a small issue with my email client for quite some time now where composing a new email will have several blank lines by default.

It's not too much of an issue to simply delete them but hey, maybe no one had pointed this out before! So I filed a bug report only to get this response... basically it's not a bug, its a feature!

view more: next ›