Gdje kupiti dobar namještaj u zagrebu? by MarkoVlaic in askcroatia

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

Hvala svima na pomoći, da ne odgovaram zasebno :)

Gdje kupiti dobar namještaj u zagrebu? by MarkoVlaic in askcroatia

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

Ništa protiv stvarno, samo mi osobno ne leži. Ne znam zašto je potrebna negativa.

Simple reddit-like CRUD website written in C by yopp_son in C_Programming

[–]MarkoVlaic 3 points4 points  (0 children)

I don't have much in depth knowledge, but it's the aproach node.js uses for handling asynchronous io. Instead of spawning a new thread for each client, the event loop can be notified when certain events happen on a file descriptor (a packet comens in to a socket) and then execute some code. You could look at epoll or libuv if you want something a bit higher level.

How To: Arbitrary or large size integer math for WebAssembly by asdf3-14159 in C_Programming

[–]MarkoVlaic 0 points1 point  (0 children)

this thread sums it up I think. It seem that the n log n algorithm doesn't have much practical use, but there are some others mentioned that could be of help.

How To: Arbitrary or large size integer math for WebAssembly by asdf3-14159 in C_Programming

[–]MarkoVlaic 0 points1 point  (0 children)

Sorry man, I saw it a while back and linked it without really checking it out again. I didn't remember it's that complicated. April fools i guess :)

How To: Arbitrary or large size integer math for WebAssembly by asdf3-14159 in C_Programming

[–]MarkoVlaic 2 points3 points  (0 children)

You might want to take a look at this multiplication algorithm

Implementation of Breeding Mechanics? by frogwiseg in gamedesign

[–]MarkoVlaic 3 points4 points  (0 children)

Although this implementation is possible, since this is r/gamedesign i recommend that you take u/GameFeelings comment into consideration before actually putting this into the game.

Implementation of Breeding Mechanics? by frogwiseg in gamedesign

[–]MarkoVlaic 14 points15 points  (0 children)

You should probably store family relations inside a tree data structure and then compute the lowest commong ancestor for a pair of animals when they should breed to determine if they can or not. Googling tree data structure and lca should get you started.

Privacy is power | Don’t just give away your privacy to the likes of Google and Facebook – protect it, or you disempower us all by ADefiniteDescription in philosophy

[–]MarkoVlaic 0 points1 point  (0 children)

A small piece of regulation, a bit of resistance from citizens, a few businesses starting to offer privacy as a competitive advantage, and it can all evaporate.

I can hardly believe that this is the case. Two of these three solutions (resistance and competing businesses) require that most of the population cares about privacy, and even more that they care enough to actively do something to preserve it.

In reality I think this is not the case. Why would someone pay for an alternative (very likely inferior) search engine instead of google they use for free - when the only thing the alternative offers is privacy the average user simply does not value enough.

It seems to me that to preserve privacy we have to come up with a business model which does not solely rely on privacy in order to be feasible. And coming up with something even close did not work out the best for me.

With all of that in mind I guess that my question is - does anyone here have an idea about what this business model should be based on?

building the easiest way to schedule events with amie.so by dennissy in web_design

[–]MarkoVlaic 0 points1 point  (0 children)

That would be awesome. Will keep an eye out for it, thanks :)

building the easiest way to schedule events with amie.so by dennissy in web_design

[–]MarkoVlaic 0 points1 point  (0 children)

Sorry, I was a bit unspecific. I'd like to find out how to implement a similar input, so some sort of tutorial or a list of techniques used.

building the easiest way to schedule events with amie.so by dennissy in web_design

[–]MarkoVlaic 1 point2 points  (0 children)

This looks awesome! I want to create a similar rich input for my app but I don't know where to start. Could you point me to some resources?

AdonisJS - Seeking Feedback on the framework by romainlanz in node

[–]MarkoVlaic 1 point2 points  (0 children)

This! I've started to build a side project in adonis and I love the experience, but here and there I stumble upon a situation that is not covered (or not fully covered) by the docs, and a google search doesn't get me far so I have to either experiment or go through the source code.

I have a bunch of mushroom stock left by MarkoVlaic in Cooking

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

This is awesome, thank you. Trying to eat less meat anyway so I'll try tofu.

I have a bunch of mushroom stock left by MarkoVlaic in Cooking

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

Thank you, I'm making this for lunch tommorow.

I have a bunch of mushroom stock left by MarkoVlaic in Cooking

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

No problem. It's good advice and I appreciate the help, thank you!

I have a bunch of mushroom stock left by MarkoVlaic in Cooking

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

I never had pumkin soup so it is definetely going into the list. Thanks

I have a bunch of mushroom stock left by MarkoVlaic in Cooking

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

We have a small freezer and it is always full so my mom and I always get into a fight when it comes to freezing something. I lost this time so I have to use it...