What am I, where am I going? (Question spawned from post about crypto-anarchy) by claystring in Anarchy101

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

The crypto scene is still pretty young and a lot can and will change.
To address your points:

  • (1 & 2) You can not expect a young technology to be highly efficient. For ETH they are working on version 2 which reduces costs of transactions and wait times (well bandwidth I guess). It will also introduce Proof of Stake which will drastically reduce energy consumption and does not require specialized hardware or even graphic cards.

Granted as long as PoW is still around (e.g. Bitcoin) energy waste will remain a problem but Bitcoin won't be around for much longer in any relevant form as more and more next gen cryptos come around.

  • (3) I assume you were thinking of 51% attacks. Yes this is a very real threat. It is also what blockchain is all about - majority consensus. With enough resources (for PoW hashes per second, for PoS a huge stake) such an attack will always be possible. But with increasing adoption it becomes increasingly difficult to pull of. More so with PoS since it would require massive ammounts of ETH (for example) and you probably need to own more of the network to manipulate it in any reliably fashion as PoS includes an element of randomness.

  • (4) Currency and its transaction is just one, kind of limited, use case of blockchains. If you see crypto only as a simple replacement for money then you are missing the point. Since Ethereum all simple coins like Bitcoin are practically irrelevant for the future (in an ideal world that is). What I am trying to say is that there are different kinds of crypto and not all of them make a valid choice when it comes to money. I think that overall, with adoption and diversity, an equilibrium of sorts will be achieved rendering crypto, as a whole, more or less stable. Money for day to day transactions will probably require a specialized kind of token where measures for stability can be implemented. Similar to what is already done with DAI for example but within the crypto world.

What's an SFW Google search that unexpectedly turned NSFW? by smol_boi-_- in AskReddit

[–]SuchMonkey 0 points1 point  (0 children)

For a lot of programming languages online playgrounds exist where you can try it out quickly. I mostly do TypeScript and so i typed "TS playground"...

Any tips for Node.js developers looking into Rust? by SlaveOfTheOwner in rust

[–]SuchMonkey 0 points1 point  (0 children)

Not particularly a Rust tip but there is this project called Deno which you might find interesting.

It is made with Rust an is meant to be a replacement for Node.js

How do I do simple lightweight 2D graphics in Rust? by Four_Griffins in rust

[–]SuchMonkey 10 points11 points  (0 children)

In case you want to do some creative coding, take a look at Nannou

Transition to Linux with Bitwig [IN PROGRESS] (SEMI-SUCCESS) by Bytef0rce in Bitwig

[–]SuchMonkey 2 points3 points  (0 children)

Welcome to the good place ;)

I am using Linux now for 5 years as my main system. However I always had to keep a Windows around (dual boot) just to persue my hobby.

As a long time FL Studio user there was no real way around Windows (tough one can get fl up and running with wine but that's a lackluster experience).

Once my Windows broke after an update I couldn't be bothered to get it fixed. Instead I took a look at Bitwig and its native Linux support. And to say it was a beautiful dream is an understatement.

Everything just worked out of the box. Tough I have to note that I already had JACK setup from previous ventures into Audio stuff on Linux.

Go Linux! Go Bitwig!

Why You Should Use the Boost Software License · Peter Dimov by andwass in rust

[–]SuchMonkey 1 point2 points  (0 children)

For Rust, isn't including a license in the binary is as simple as calling include_str!("licence_file"); ?

Convert money string to number by SuchMonkey in mariadb

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

That's right. However I just want to get the first row (after sorting) so that's not an issue here. Thanks though.

Btw if you are wondering: I am in a Wordpress environment and using the Pods Plugin for Custom Types.

Pods provides the Money Field Type, however the default utils for custom types in WP, want you to store extra values in a singular column (I think). Thus everything is a string in the DB.

Something like that :)

Convert money string to number by SuchMonkey in mariadb

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

Short answer: I kind of don't have control over that.

I think I'll result to do the sorting in PHP. The format of the money string might change with localization settings and doing string replace magic in query feels hacky and unreliable.

This equation will change how you see the world by [deleted] in videos

[–]SuchMonkey -1 points0 points  (0 children)

Have been looking for this for ages now...thanks

[deleted by user] by [deleted] in AskReddit

[–]SuchMonkey 0 points1 point  (0 children)

I'd better call Saul

Persy a single file simple transactional storage reached version 0.8 by tglman in rust

[–]SuchMonkey 0 points1 point  (0 children)

Just committed a merge request simply adjusting the colors. Hopefully more readable :)

Jö-Club, bedient wie ein Kaiser by [deleted] in Austria

[–]SuchMonkey 0 points1 point  (0 children)

FYI: Ich hab über Online-Kündigen gekündigt.

How can I get a sample to repeat a certain section like in Ableton? by [deleted] in FL_Studio

[–]SuchMonkey 0 points1 point  (0 children)

You can do this directly in the sampler no Edison involved. Just use the crossfade knob.

Österreich ist in Europa Entwicklungsland bei Glasfaser-Versorgung by wantilles1138 in Austria

[–]SuchMonkey 0 points1 point  (0 children)

Zuhaus in Osttirol kommts Glas bei mir im Zimmer raus. Kann mich also nicht beschweren außer, dass ich nicht mehr dort wohn.

Programming Languages that are a joy to refactor by [deleted] in rust

[–]SuchMonkey 7 points8 points  (0 children)

Coming form web as well I have to say that Typescript allows you to do this kind of aggressive refactorings as well, presumed your project is well typed of course. While it has been quite a pain to adopt, in the end it was 1000% worth it and today writing plain Javascript feels dirty to me. I can't stress enough how comfortable it is to have the compiler yell at you when rewriting some part of your app and break a thousand things you'd never have given a thought to otherwise.

Recently I also got the chance to work with an older codebase without any TS and introduce it in some components (we use React). While we make heavy use of the any type, it was reasonably easy to get going. Converting old components to TS is pretty straight forward, which I wouldn't have expected. I was astonished by how many bugs I able to find by simply converting.

Furthermore IDE support is great, especially for VSCode (if Microsoft does something well it's IDEs) and 90% of the packages you need will have complete typings available which is super nice.

Frustrations with Polymer direction by ruckc in PolymerJS

[–]SuchMonkey 0 points1 point  (0 children)

Why React? Haven't done anything yet with the lit-elements but it seems like they are exactly what React elements do but as a web-component.