GissaMittJobb

@GissaMittJobb@lemmy.ml

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

GissaMittJobb, (edited )

This figure doesn’t really pass the smell test, given that it’s been repeated to death that the CEO makes $193 million, with the vast majority being stocks. Can you source the claim?

GissaMittJobb,

Idk how much I can trust anything being posted by Reason tbh - it’s not exactly what I would call a respectable publication.

GissaMittJobb,

Price is unfortunately not a reliable proxy for quality. That’s kind of why communities like BuyItForLife exist.

Granted, the marketers are catching up to this and as such they are losing their usefulness, but yeah.

GissaMittJobb,

As almost a cruel joke, we’ve managed to breed out satiation of some dogs, leading to them always being motivated by food, since they are always hungry.

GissaMittJobb,

This one is my pet peeve. Please just trust the technology, people will let you know if your screen is not visible.

GissaMittJobb, (edited )

A few things come to mind:

  1. The array is probably fine. It’s not going to be particularly large and lookups are O(1)
  2. It’s a bit weird to me that you’re using the char pointers as indices. I would probably use actual indices and spend the miniscule amount of additional stack data to improve the clarity of the code
  3. You could save on some indentation by returning early instead of nesting the for-loop inside the first if-statement
  4. Is the call to the lookup-table really safe? Maybe checking that the token from RNA is within the bounds is the way to go?
  5. The only thing I would even remotely care about with regards to performance is the malloc, and that’s not that big of a deal anyway unless the length of dna is really large. Streaming the result or overwriting the presumably already malloc’d input would be the only thing I would touch, and only if I could prove that it improves performance in practice.
  6. (added in edit): if you can guarantee that the input is well formed, you can omit the bounds check and save some effort there.
GissaMittJobb,

A switch statement is probably a decent option here, yeah. You trade off a little bit of memory for what might be a few more instructions executing the switch statement, unless the compiler picks up on it and optimizes it. Maybe check godbolt for what gets generated in practice if you really care about it.

Bone conduction headphones?

I just recently learned that this is a thing that exists. I’ve had a couple audiology tests that use these weird headphones with firm rubber balls where normally expect to see the speakers; the rubber balls sit on your temporal bone, and there’s a metal bar the wraps around your head connecting them and giving them pressure...

GissaMittJobb,

Which brand/model are you using?

Aftershokz Aeropex

How’s the sound quality?

Not great, but they are not headphones I use for audiophile-purposes

How’s the sound leak?

No idea tbh - a bit more than in-ears/over-ears I guess?

What kind of music do you use it to listen to?

Hardly any. If I want music, I have other hardware for that. My primary use for these headphones is to listen to podcasts while exercising

Are they comfortable to wear? For how long?

You don’t really notice them. I use them for hours on end for long cycling trips and they work well for that

Do you get any skin irritation or even breakdown where it contacts your temple?

I have not noticed any

Does the hook part wrap around your ears without any pressure points?

Yes

Does the behind-the-head band bounce around when you’re walking or running?

Not noticably

How much space is between the band and the back of your head/neck?

A few centimeters, less than five.

How’s the battery life?

A full charge maybe gets you 8 hours I think? I never let my devices go that low, though

How long have you had it?

2 years

When do you use it?

While exercising to listen to podcasts

Do they stay put, or do you need to reposition them frequently?

They stay where they are. It can be annoying to put on/take off shirts though as they can easily get stuck in them

Anything else to comment on?

I really enjoy my headphones, but they are most certainly not good for music imo. Still, it makes my rotation, which is mostly these plus a pair of buds that go in my pocket for all other listening purposes

GissaMittJobb,

I’ve heard it said that the boiling point of water is 100 °C, and the boiling point of milk is the moment you look away for a second.

GissaMittJobb,

Panniers perhaps combined with a box, would be my method of choice, I think.

GissaMittJobb,

The Matrix at 7 years old messed me up a bit, what with the whole mouth melting together-scene and all.

GissaMittJobb,

It’s because they base their reality on crap TV like Blue Bloods.

See this excellent video: youtu.be/_7OBdD7zubg

Then go watch the rest of the series because it’s all excellent.

France votes to ban ‘forever chemicals,’ exempting frying pans (www.politico.eu)

The French National Assembly on Thursday unanimously adopted a bill aimed at restricting the manufacture and sale of products containing per- and polyfluoroalkyl substances — also known as PFAS or “forever chemicals.” The MPs, backed by the government, voted to exclude kitchen utensils from the scope of the text....

GissaMittJobb,

You squash so all your gross “isort” “forgot to commit this file” “WIP but I’m getting lunch” commits can be cleaned up

The next step on the Git-journey is to use interactive rebasing in order to never push these commits in the first place and maintain a clean history to be consumed by the code reviewer.

Squashing is still nice in order to have a one-to-one relationship between commits on the main branch to pull requests merged, imo.

GissaMittJobb,

Not to say that it’s a sufficient penalty for the C-suite, but their compensation packages generally consist of stock options in the company, meaning that the share price decline following unexpected negative events translate into a large pay cut for them.

GissaMittJobb,

For anyone not fluent in Norwegian, the article in question states that “The rumours of Salwan Momika’s death are untrue”.

GissaMittJobb,

The root cause is the supply not keeping up with demand. Any proposed solution that does not include building like mad is ultimately going to fall short.

GissaMittJobb,

Hey, I take exception to that. I was in fact thirteen when I discovered them.

GissaMittJobb,

I was under the impression that Witcher is to be interpreted as the male form of Witch - a Witchman, basically. I think they even call Geralt a Witchman a few times in the games, come to think of it.

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