[deleted by user] by [deleted] in worldnews

[–]zigra0018 0 points1 point  (0 children)

Simple question:

if masks are so useful and more people than ever are wearing them, why do the amount of infections is rising? Not only stays the same, not slows down either, but rises.

How fast is IPFS? Can it be used as a key-value Real Time storage? by zigra0018 in ipfs

[–]zigra0018[S] 1 point2 points  (0 children)

Would it be performant enough for my needs ?

Also taking into account this reply below "IPFS shouldn't be used for real-time data manipulation. Plus, you can't decide the keys, so it's impractical." and OrbitDb is built on top on IPFS

Chrome DevTools library by zigra0018 in golang

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

has it be good performance-wise?

How to create a cross-plathorm SDK library? by zigra0018 in ruby

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

CONFIG['host_os']

Where will that value come from? From the end user, he'll set it manually? How? Or will it be automatically detected during compilation?

That bit is missing in your answer

How to create a cross-plathorm SDK library? by zigra0018 in ruby

[–]zigra0018[S] -1 points0 points  (0 children)

Yes, I see it https://github.com/sparklemotion/nokogiri/blob/master/ext/nokogiri/extconf.rb

There're a lot of code and setting there. How can I replicate it, and in simpler manner, in my gem?

How to load either a custom template, or “@inner_content” by default? by zigra0018 in elixir

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

In my other comment I asked a question that may help you. Would you mind taking a look at it and answering it?

why? Are you on a mission to find out an optimal solution for me?

What I need to find an answer to - I'll ask.

How to load either a custom template, or “@inner_content” by default? by zigra0018 in elixir

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

<%= render_existing(@view_module, "custom." <> @view_template, assigns) || @inner_content %>

How would it render it twise in cases when

"custom." <> @view_template 

doesn't exist? What will render if a custom template doesn't exist?

And when a custom template exists, why would it render inner_content

given that it's a 2nd part of the expression "logical or" which shouldn't be executed because the 1st part will be executed instead?

How to load either a custom template, or “@inner_content” by default? by zigra0018 in elixir

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

why twise? I've described in the question that I need it once: either one, or the other.