@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
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

I tried watching a soccer game and it worked fine too. shrug

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
  • โ€ข
  • JUstTest
  • GTA5RPClips
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • khanakhh
  • Youngstown
  • ngwrru68w68
  • slotface
  • everett
  • rosin
  • thenastyranch
  • kavyap
  • tacticalgear
  • megavids
  • cisconetworking
  • normalnudes
  • osvaldo12
  • ethstaker
  • mdbf
  • modclub
  • Durango
  • tester
  • provamag3
  • cubers
  • Leos
  • anitta
  • lostlight
  • All magazines