@moroni@lemmy.ca avatar

moroni

@moroni@lemmy.ca

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

moroni,
@moroni@lemmy.ca avatar

This is funny because “push” sounds similar to pull in Portuguese. So it’s very common for new English speakers to read a push/pull sign, get confused, and do the opposite. All of us Portuguese speakers are “gifted” when we are just starting to learn English. 🤣

moroni,
@moroni@lemmy.ca avatar
moroni, (edited )
@moroni@lemmy.ca avatar

It was around 11pm near Eagle Ridge Hospital in Port Moody. Nothing special about the location, just walking around my complex. By 12:30 it got faint.

moroni,
@moroni@lemmy.ca avatar

Another option is to send the bill to the employer. The guy has already paid enough with losing two legs, and the employer should be responsible since they took a risk by hiring someone without legal status.

moroni,
@moroni@lemmy.ca avatar

CEO said that forgiving bills for this kind of a thing is a standard practice, but how come this was the customer support’s first reaction:

We normally discount these kinds of attacks to about 20% of the cost, which would make your new bill $20,900. I’ve currently reduced it to about 5%, which is $5,225.

If the customer support has authority to give 20%/5% discounts, this seems to me like the standard practice, and the CEO is probably just doing damage control because this became public.

'It's just not right': Passengers call out WestJet for breaching rebooking rules (www.ctvnews.ca)

Thousands of WestJet customers' flights were cancelled amid extreme weather earlier this month. And many say the airline would not reschedule them within the required window, in what one advocate framed as just the latest example of a failure to uphold travellers' rights.

moroni,
@moroni@lemmy.ca avatar

If it’s denied, passengers can file a complaint with the Canadian Transportation Agency, a process can take up to two years due to a backlog of about 64,000.

I’m on that queue. I’ll let you guys now the result in a few years.

moroni,
@moroni@lemmy.ca avatar

Oh man… I honestly made that mistake once when I was learning English.

moroni,
@moroni@lemmy.ca avatar

That’s a table scan, right there. Naughty.

moroni,
@moroni@lemmy.ca avatar

I’m reading “The Time Machine” by H.G. Wells and I must say, I love his writing style! This is my second book by him. If anyone has any recommendations for something similar, I’m all ears!

moroni,
@moroni@lemmy.ca avatar

I just finished reading “The Fall of the House of Usher” after watching the Netflix show. It’s a great read, and the atmosphere is really eerie, just like I was hoping for.

moroni,
@moroni@lemmy.ca avatar

Thanks for the suggestion! I’ve already read Star Maker. Out of the two, I’m actually enjoying H.G. Wells more. But I’ll probably give Olaf Stapledon another shot.

moroni,
@moroni@lemmy.ca avatar

I’m reading Children of Time now. It is very good. And today I was reading some news about how scientists are trying to translate spider language. Check this out: sciencealert.com/scientists-translated-spiderwebs…

moroni,
@moroni@lemmy.ca avatar

How does the caching work? If the method is called again with the same parameters, does it load from the cache or fetch the data from the database into the cache again?

moroni,
@moroni@lemmy.ca avatar

If you ignore the caching, the approach you’re describing loosely aligns with the concept of Domain-Driven Design (DDD). In DDD, the model is loaded before any business logic is executed, and then any changes made to the model are persisted back to the database.

moroni,
@moroni@lemmy.ca avatar

Agree.

I’m just saying OP is loading stuff into a dictionary that perhaps function as a Domain Model. Then they pass this Domain Model to a Use Case, where it gets modified and saved to a database.

OP was asking for an architecture name or design pattern, and while it’s not a perfect match, it’s kinda like a Domain Model, although an anemic one.

None of this is a DDD requirement.

Experiences with Language-Ext and/or CSharpFunctionalExtensions?

Lately I’ve been reading a lot about functional programming principles and how they (of some of them) can be applied in C#. So I came across Language-Ext and CSharpFunctionalExtensions (as well as a few smaller ones). I briefly tried Language-Ext and am liking what I see, but haven’t tried the other. I know there’s always...

moroni,
@moroni@lemmy.ca avatar

I’ve tried a few different packages before, including the ones you mentioned. However, in the end, I decided to build my own data structures. It was actually pretty fun to create them based on my own preferences, and I learned a lot about functional concepts along the way.

But to be honest, I rarely use them nowadays. The thing is, C# wasn’t really designed to be a functional language from the start. So while I could incorporate some functional concepts, the implementation never quite matched up to what you would find in a true functional language. Plus, the language can be pretty verbose, which kind of gets in the way.

This experience was a couple of years ago though, and I know that C# has improved a lot since then. So it’s definitely possible that my experience today would be different.

moroni,
@moroni@lemmy.ca avatar

Oh, share your script if you will, please!

moroni,
@moroni@lemmy.ca avatar

I’ve been trying to introduce guppies in my tank, but all my attempts failed. What is the secret? I have a 20G and just 3 glofish tetras, a little bit of duckweed, and that’s all.

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