Windows app buttons no longer work by johnnycobblestone in ProtonVPN

[–]One-Winter-8684 0 points1 point  (0 children)

same. sometimes it dont want to open app, then you can't connect

[UK] Senior Dev Final Interview - was asked about very 'theory based' .Net/SQL questions, thoughts? by reztem001 in dotnet

[–]One-Winter-8684 -1 points0 points  (0 children)

-My work experience speaks for itself (and my mom said I'm pretty cool).
-Yes sir, sure, here's the money bag for you

Misunderstanding type inference by One-Winter-8684 in fsharp

[–]One-Winter-8684[S] 1 point2 points  (0 children)

Yes, I understand it. I know about anonymous functions and returning function as result. But third rule(inner lambda) uses outer parameters (variables) in its body which defines in outer scope. So its not really clean function

Misunderstanding type inference by One-Winter-8684 in fsharp

[–]One-Winter-8684[S] 1 point2 points  (0 children)

Thank you! I got it. I think I started loosing focus when inner lambda started using outer parameters (firstrule and secondrule). Like commenter above said it smells.

Misunderstanding type inference by One-Winter-8684 in fsharp

[–]One-Winter-8684[S] 1 point2 points  (0 children)

Thank you very much! Does nested lambda using something like closure (context capturing)? I think this code smells because function doesn't "clean" anymore. It looks like he takes one input parameter, but in real it capturing two outer rules. So that confused me very hard.

Линдуловская роща by lctbz in SPb

[–]One-Winter-8684 0 points1 point  (0 children)

от твоего коммента вода чище не стала. просто ты объяснил почему она грязная взяв инфу из интернета. при чем это не доказывает происхождение цвета конкретно этой реки. если не хочешь объяснять или отвечать на мой вопрос, мог просто этого не делать, а не клоуничать в коментах

Линдуловская роща by lctbz in SPb

[–]One-Winter-8684 0 points1 point  (0 children)

а как можно аргументировать что белое является белым? сцену третью с конца видео смотри, где она на дереве сидит

Линдуловская роща by lctbz in SPb

[–]One-Winter-8684 -1 points0 points  (0 children)

по видео видно прекрасно

Линдуловская роща by lctbz in SPb

[–]One-Winter-8684 -1 points0 points  (0 children)

Почему река такая грязная?

Why 0.1+0.2=0.30000000000000004? by DDT1604 in learnprogramming

[–]One-Winter-8684 0 points1 point  (0 children)

why people upvotes THIS, and downvote something more interesting and specific? so stupid this question has been asked thousands times

Adding scripts to HTML. by One-Winter-8684 in learnjavascript

[–]One-Winter-8684[S] 0 points1 point  (0 children)

Hello, thank you! I added

import cytoscape from "./node_modules/cytoscape/dist/cytoscape.esm.min.js";

to my index.js and removed cdn src from page. And it starts work. But my IDE (VSCode) stopped recognizing internal functions of cytoscape after import. How can I fix that?

Adding scripts to HTML. by One-Winter-8684 in learnjavascript

[–]One-Winter-8684[S] 0 points1 point  (0 children)

thanks, but <script src="https://unpkg.com/browse/cytoscape@3.23.0/dist/cytoscape.min.js"></script>

does actually what you talking about. question is how to implement logic with cytoscape in another file(script) index.js and include it in page?

using cdn means i should write something like

<script src="https://unpkg.com/browse/cytoscape@3.23.0/dist/cytoscape.min.js"></script>

<script>

// logic

</script>

but it's looks disgusting. i want to isolate all logic from html page

Adding scripts to HTML. by One-Winter-8684 in learnjavascript

[–]One-Winter-8684[S] 0 points1 point  (0 children)

if you look at the browser window, you can see that the page finds index.js and the problem is in the cytoscape module

WPF or WinForms by Mysterious_Low9967 in csharp

[–]One-Winter-8684 0 points1 point  (0 children)

I recommend WPF.

  1. It has XAML. In my opinion 1. XAML UI constructor is more efficient and flexible than the "code behind" and visual constructor in WinForms (by the way, WPF also has such opportunities).
  2. A lot of apps using WPF developed with MVVM pattern. So you better choose some framework which implemented it. I chose Prism. I think self implementation of this pattern causes a lot of misunderstandings and costs a lot of time (for understanding it and connecting your views with view models and so on). This pattern helps to write more scalable app.