olafurp

joined 2 years ago
[–] olafurp@lemmy.world 1 points 54 minutes ago

Gradually typed is a great description because it's neither fully static or dynamic. TS does allow you to circumvent the types too easily to be called statically typed.

const strings: string[] = ([1] as any[])

Is ok in TS land so the type of strings is not really static so to speak because you can assign whatever to it. Writing this in Dart would give

error - The argument type 'List<dynamic>' can't be assigned to the parameter type 'List<string>'. - argument_type_not_assignable

if I'm not mistaken.

[–] olafurp@lemmy.world 7 points 9 hours ago* (last edited 7 hours ago) (2 children)

TS as a statically typed language is not what I would call it. It's a language with enforced type annotations but can be circumvented pretty easily. For example when receiving a JSON from an http request a string field can be just whatever.

[–] olafurp@lemmy.world 17 points 1 day ago

Lost opportuntiy to not have you pee inside the robots big gaping mouth with a screen on top

[–] olafurp@lemmy.world 14 points 2 days ago* (last edited 2 days ago) (1 children)

I'll join in

const isEven = (n) 
  => !["1","3","5","7","9"]
    .includes(Math.round(n).toString().slice(-1)) 
[–] olafurp@lemmy.world 2 points 2 days ago

Maybe it was my CS major talking there. An algorithm is a sequence of steps to reach a desired outcome such as updating a neural network. The network itself is essentially just a big heap of values you multiply through if you were curious.

[–] olafurp@lemmy.world 2 points 3 days ago (2 children)

Yeah absolutely, I'm specifically talking about AI as a neural network/reinforcement learning/machine learning and whatnot. Top of the line weather algorithms are now less accurate than neural networks.

LLMs as doctors are pretty garbage since they're predicting words instead of classifying a photo into yes/no or detecting which part of the sleep cycle a sleeping patient is in.

Fun fact, the closer you get the actual math the less magical the words become. Marketing says "AI", programming says "machine learning" or "neural network", mathematicians say "reinforcement learning".

[–] olafurp@lemmy.world 2 points 3 days ago (1 children)

Yeah, I might actually play wow since I can reduce the XP scaling by a lot. It goes from 50 mobs at lvl 10 to 600+ to level up at lvl 60. I have a 7mo old no way I have time for that hahaha.

I use SQL for work so I can mod the DB easily to remove the exponential scaling in favor of linear scaling like mob XP scales.

[–] olafurp@lemmy.world 1 points 3 days ago (4 children)

You can mod the database for creatures to drop more xp, gold and loot from the looks of it.

[–] olafurp@lemmy.world 1 points 3 days ago

Update, I downloaded the VMangos database. It looks like it might be possible to edit drop rates with creature_loot_template(ChanceOrQuestChance) and XP gain by using creature_template(xp_multiplier)

I haven't hosted anything yet but it could be tested by editing a Chicken's xp_multiplier from 0.0 to 1.0

[–] olafurp@lemmy.world 3 points 3 days ago (3 children)

I've been seriously turned off by the grind of WoW. Are you able to do something like reduce the XP level scaling or something so that every level is like 30m and improve drop rates?

[–] olafurp@lemmy.world 4 points 3 days ago

Instead of a funded NHS people got austerity.

[–] olafurp@lemmy.world 25 points 3 days ago (4 children)

To expand on this a bit AI in medicine is getting super good at cancer screening in specific use cases.

People now heavily associate it with LLMs hallucinating and speaking out of their ass but forget about how AI completely destroys people at chess. AI is already getting better than top physics models at weather predicting, hurricane paths, protein folding and a lot of other use cases.

AI's uses in specific well defined problems with a specific outcome can potentially become way more accurate than any human can. It's not so much about removing humans but handing humans tools to make medicine both more effective and efficient at the same time.

26
Direct mp4 test link (commondatastorage.googleapis.com)
 
 

I consistently lose and always fail the vibe checks. I have given up on trying to win and now I sow chaos for fun when people insist on playing them.

It's a fun trick to enjoy the game even if winning is off the table.

 

I'm looking for sleeping tricks and thought some other people here might have similar issues or good tricks. Can be anything from getting the motivation to go to sleep to actually tricks to falling asleep.

My current trickbook is basically this:

Podcasts, but it has to be in some goldilocks zone of interesting to enough to keep attention but not too good so it gets exciting.

I've also done meditation in bed when falling asleep that tends to work.

Consistent routine is good. Shower, brush teeth, lights off, episode, sleep.

I'm curious to see what other autistic people are working with here.

 
 

I'm born in 1992 so this game is a bit before my time. I started playing it and got completely hooked. It's an absolutely fantastic game that would still hold up as a quality indie game today.

Music is amazing. Characters and character development is amazing. Story is very good. Combat is genuinely fun instead of feeling like a chore that cuts you off from the game. Art style is amazing.

I was surprised how much quality they could fit onto the SNES back it the day, it's a really good game and everyone with a potato can ploy it.

Pro tip: Remasters have some UI unpleasantness so it's best to stick to SNES emu version. I tried the Android and they used some native android font that ruined the immersion a bit. There's also a tight running section that's particularly unsuited for the mobile version. SNES is best, as originally intended.

 

So I of course screamed BLOOD FOR THE BLOOD GOD and SKULLS FOR THE SKULL THRONE like any reasonable human being. Then maimed some people with a knife, drank their blood etc.

She won't talk to me now and I don't understand why. Do you guys think the knife was to small?

Any help very much appreciated.

 

Does anybody else experience that Android activities get destroyed and rebuilt all the time when switching between apps?

Browser page gets reloaded and form values disappear.

Authorising a payment in different app can make the payment fail.

General bad experience when multitasking 3 apps and swapping between.

(I'm on Redmi Note 12 with HyperOS)

 

I've been wondering how many Linux users are being listed as unknown by statcounter out of curiosity. There has been a big global bump "Unknown".

Obvious ones are UserAgent spoofers Vpn users but I feel like that's pretty niche. I'm wondering if SteamOS, Endeavour and BSD show up as Unknown. Furthermore, will just all non-Ubuntu based OS?

 

I'm looking for a specific distro to handle some tasks.

I got a second hand rig with Nvidia GTX 1050 that I want to use as a home server. I wanted to use HoloISO but it doesn't support nvidia. If someone says "do it anyway, it's fine" I'll install it though.

The idea is to support a Jellyfin server and Steam Link gaming but steam is not big on Nvidia so it's hard to narrow down "black screen" issues etc. I'm also planning to manage it via VNC and SSH.

I'm familiar with Ubuntu based systems since I develop software on Ubuntu based KDE distro but never had a graphics card.

So it boils down to:

  • Ease of setup including nvidia drivers
  • Ease of update via command line (I'm not going to download nvidia drivers from their website to update proprietary drivers)
  • Graphics performance
  • Prefer Ubuntu based

I'm up for Gnome, Xface, Cinnamon, KDE or whatever DE.

Edit: Changed title to better reflect requirements and not have misleading "headless" and "server" in it

view more: next ›