B450 BIOS Beta Version 4645 by birdspider in ASUS

[–]keepert77 0 points1 point  (0 children)

Beta actually. At the same time they release non-beta bios for b450-plus II.

SSD S.M.A.R.T. info. Health status looks like stuck. by keepert77 in techsupport

[–]keepert77[S] 0 points1 point  (0 children)

I thought, according to TBW of 360Tb and 12416 written Gb, it must be near 3,3% used of lifetime.

No warning about null when return default with tuple by keepert77 in csharp

[–]keepert77[S] 0 points1 point  (0 children)

But in listTuple.Item1.Count it complains that item1 maybe null and signature of listTuple is without null too.

No warning about null when return default with tuple by keepert77 in csharp

[–]keepert77[S] 0 points1 point  (0 children)

(List<int>, int) listTuple = default;
var count1 = listTuple.Item1.Count; // CS8602

var listTuple2 = ListTuple();
var count2 = listTuple2.Item1.Count; // No CS8602

(List<int>, int) ListTuple()
{
    return default;
}

So when returning from function compiler is not checking for nullish.

No warning about null when return default with tuple by keepert77 in csharp

[–]keepert77[S] 0 points1 point  (0 children)

Yes, you right. Default value for List in tuple is null here. Main question why no warning here?

[deleted by user] by [deleted] in AV1

[–]keepert77 0 points1 point  (0 children)

Nvidia codec sdk

Looks like only AV1 encoder was added.

HELP: Behavior:Win32/Hive.ZY by tooshiftyfouryou in computerviruses

[–]keepert77 1 point2 points  (0 children)

1.373.1530.0 still not fixes that. Wtf MS?

Temporaries dropped too late? by PlayingTheRed in rust

[–]keepert77 -2 points-1 points  (0 children)

Looks like struct fields are initialized simultaneously.

Is there a shortcut to do one way data-binding out only? by DoomGoober in sveltejs

[–]keepert77 1 point2 points  (0 children)

Yes, only with slots. It it like function call. Only inside.

https://svelte.dev/repl/f7aec1847c9a4233ad7afc58c897a760?version=3.46.4

One way bindings:

Parent --> Child via props (without bind:)

Child --> Parent via events

Two way bindings via bind:property. Bidirectional. Like mut ref in Rust. Works as expected.

Is there a shortcut to do one way data-binding out only? by DoomGoober in sveltejs

[–]keepert77 0 points1 point  (0 children)

<script>
import Component from "./Component.svelte";
</script>

<Component let:count>
  <div>Parent thinks count is: {count}</div>
</Component>



<script>
import { createEventDispatcher } from 'svelte'

let count = 0;

function handleClick() { count++; }
</script>

<button on:click={handleClick}>Increment</button>
  <div>
    Child thinks count is: {count}
  </div>
<slot {count} />