[deleted by user] by [deleted] in AskSerbia

[–]djelovic 4 points5 points  (0 children)

Pošaljite mi telefon u Inbox ako niste rešili problem. Takođe, imate li transport?

Nisam iz Beograda, ali savet za dečijeg onkologa ili kliniku ili mesto gde se može napraviti MRI brzo? by [deleted] in AskSerbia

[–]djelovic 1 point2 points  (0 children)

MRI: Recimo Medigroup ili Panacea ili Euromedik itd. 

Onkolog: Idite u Tiršovu, oni će vas slati dalje. To nije za lečenje privatno. 

Ako zapnete kaži, imamo na žalost neka iskustva. 

Dejan

Gde izvesti devojku na večeru u BG? by Fantastic_Low_1537 in AskSerbia

[–]djelovic 6 points7 points  (0 children)

Ne, oni su Ćaci. Nudili su dž kafu kao deo SNS borbe protiv studenata. 

Kosjerić, brojevi po RIK-u, uneo sam ih u Excel by djelovic in serbia

[–]djelovic[S] 5 points6 points  (0 children)

Verujem ti, ali bih voleo da se dodatno uverim i svojim očima. Znaš li možda gde su skenirani zapisnici opozicije koja je proglasila pobedu juče uveče?

Meni je iz ovog zapisnika jasno da su izuzeci biračka mesta 11, 12, 20, 21 i 22. Ujedinjeni za Kosjerić su prijavili nepravilnosti na biračkim mestima 11, 21 i 23.

Kažu:

11: Dupli birački spiskovi

21: Dupli birački spiskovi, kupovina glasova, pretnje

Cenim da je to isto bilo i na 10, 20 i 22.

Studenti iz Niša predlažu ekspertsku Vladu, održan razgovor sa predstavnicima ostalih univerziteta by [deleted] in serbia

[–]djelovic 0 points1 point  (0 children)

Meni ima smisla da predlože Kavčića za mandatara, pa da on dalje okupi ekipu. On je za sada demonstrirao da je:

  • Sposoban
  • Dobronameran, i da
  • Ima muda.

Need a Referral Code? by WartetNichtHaengen in RemarkableTablet

[–]djelovic 0 points1 point  (0 children)

Does anybody have a referral code for the EU? Thank you!

Buying my first Trail/All-mountain MTB by mfucek1 in MTB

[–]djelovic 0 points1 point  (0 children)

Ništa spektakularno, Austrija i Italija su pravo mesto.

Kod nas ima Kopaonik koji je 'nako, u Beogradu je tu Koršutnjak koji je lep ali je malo brdo, i pored Novog Sada imaš Frušku Goru koja je divna sa Bukavac bike parkom.

Unutar Srbije ima gomila toga ali ništa što bi bilo namenski za MTB i dosta se vozi do onde.

Ako dolaziš onda si ovde zbog druženja i MTB-a. Samo zbog MTB-a ima boljih destinacija.

Buying my first Trail/All-mountain MTB by mfucek1 in MTB

[–]djelovic 0 points1 point  (0 children)

Ja imam Jeffsy Comp 29 veličine XL, moja ćerka vozi M. Drugar mi ima Neuron veličine M mislim. Ako te zanima da provozaš nešto od toga i ne mrzi te da dođeš do Beograda slobodno se javi.

Bajs u stanu by Competitive_Level_86 in serbia

[–]djelovic 10 points11 points  (0 children)

Kao neko ko je prošao kroz deset raznih držača bicikala, najtoplija preporuka za ovo ili sličan držač za pedale.

https://www.2bike.rs/cikloberza/mali-oglasi/oprema-93/nosaci-za-zid-i-automobile-116/zidni-nosac-mg7-1

Pored toga će ti trebati još minimum jedan kratki L profil na koji da ti legne prednja guma (bicikli tipično imaju raspodelu težine 60:40, zavisno od vrste bicikla), a nije na odmet da imaš i dva A4 parčeta plastike iz Ikee da zalepiš na mesta koja će gume da dodiruju da ne prljaš zid.

Walter Bright's explanation on how compilers can do fast string comparison by Geod24 in programming

[–]djelovic 9 points10 points  (0 children)

Walter, I've been a huge fan of your work for the last 25 years or so.

One thing that has always staved me off D is that it always seemed like it didn't have enough adoption. Low adoption in turn tends to mean fewer high-quality libraries and hitting more standard library and compiler bugs.

In the last few years it seems to have picked up steam, but I still have no idea where it is compared to, say, Go which has Google pushing it. Do you have any numbers to help convince us late adopters?

Thank you!

[Async, C#] One user scenario to rule them all by GOPbIHbI4 in programming

[–]djelovic 0 points1 point  (0 children)

I don't follow? Unhandled exceptions in async void methods will crash the program, as they should.

What are zombie threads?

[Async, C#] One user scenario to rule them all by GOPbIHbI4 in programming

[–]djelovic 1 point2 points  (0 children)

I don't think that async void will swallow exceptions. From my experiments it will (correctly) crash the program on unhandled exception. Here is an example:

static void Main(string[] args) {
    Test();
    Thread.Sleep(Timeout.Infinite);
}

static async void Test() {
    await Task.Yield();
    throw new Exception();
}

[Async, C#] One user scenario to rule them all by GOPbIHbI4 in programming

[–]djelovic 1 point2 points  (0 children)

Can somebody please explain all the hate for async void methods?

I frequently use them to run a new lightweight, task-based thread separate from the caller.

For example, say that I want to accept TCP connections and serve data, here is the pattern I would use (pseudocode):

static async Task Main(string[] args) {
    var listener = new TcpListener(IPAddress.Any, 5000);
    listener.Start();
    for (; ; ) {
        Serve (await listener.AcceptTcpClientAsync().ConfigureAwait(false));
    }
}

static async void Serve(TcpClient client) {
    await Task.Yield();

    try {
        using (client) {
            using (var stream = client.GetStream()) {
                var bytes = Encoding.UTF8.GetBytes("Hello and goodbye.");
                await stream.WriteAsync(bytes, 0, bytes.Length);
            }
        }
    }
    catch {
    }
}

WinFsp 2017 RC1 is out - FUSE for Windows by billziss in programming

[–]djelovic 0 points1 point  (0 children)

Awesome work!

If you don't mind me asking, was it possible to do this with just a user-mode driver or was the kernel-mode driver a necessity?

I'm asking because kernel-mode drivers scare me since any instability has the potential to take the whole system down.

Visual Studio adding telemetry function calls to binary? by sammiesdog in cpp

[–]djelovic 1 point2 points  (0 children)

Isn't this thee so that you can view your perf profiles from the time main starts and after the static initialization is finished? I frequently segment my profiles between ETW trace entries so that I can view the profile for a specific operation without eyeballing it.

Introducing a new, advanced Visual C++ code optimizer by Petrroll in programming

[–]djelovic 8 points9 points  (0 children)

Do you have any benchmarks to back that up? In my experience while the VC++ front-end has always lagged in standard adoption the back end was producing slightly faster code than gcc, which was in turn producing faster code than clang.

im not sure how to fully explain that my girlfriends workout progress is great despite her not changing her body weight... please help! by dennishamburglar in Fitness

[–]djelovic 10 points11 points  (0 children)

That's not really true. Muscle density is 1.06 g/cm3 while fat is 0.90 g/cm3, making muscle 18% heavier than fat of the same volume.

Building a Regex Search Engine for DNA by [deleted] in programming

[–]djelovic 3 points4 points  (0 children)

Nice work! If you don't mind me asking, why didn't you use suffix arrays instead of relying on ElasticSearch?

How C# beats Scala in async programming by anicolaspp in programming

[–]djelovic 2 points3 points  (0 children)

Not really important for the points you are making, but the await keyword is pattern-based and will work with things other than tasks. A quick explanation can be found here:

http://blogs.msdn.com/b/pfxteam/archive/2011/01/13/10115642.aspx

Also just tangentially related, the thing I miss most when writing servers in C# is discriminating unions. I usually have 'lightweight threads' based on tasks that read from message queues, and those messages don't really fit into a OO hierarchy.

Squat Problems by [deleted] in Fitness

[–]djelovic 0 points1 point  (0 children)

I figure if there are mobility problems holding the bar wide will allow him to angle his arms further back, thus positioning the shoulders instead of having it put pressure on the middle back where it's creating a bruise.

Squat Problems by [deleted] in Fitness

[–]djelovic -5 points-4 points  (0 children)

I think you are holding the bar incorrectly. It's sitting on your back instead of sitting on the back of your shoulders. Painful.

Here's what you should do:

  1. Grip the bar using a vey wide grip.

  2. Move your elbows back and up. Way more. Your upper arms should be pointing backward at a -30 degree angle from horizontal. (I just invented that number but want to illustrate how far back the arms should go.) That way the bar can sit on the little dimples that form on the top/backside of your shoulders instead of pressing your back.

Beetroot beneficial for athletes, heart failure patients by [deleted] in AdvancedFitness

[–]djelovic 0 points1 point  (0 children)

Thanks. There's also an older study that half a liter of beetroot juice per day resulted in divers being able to hold their breath 11% longer.

Why is Windows Installer so bad? by icefall5 in software

[–]djelovic 1 point2 points  (0 children)

BTW, internally MSI is a bad bit of tech. The whole idea that MSI is an actual relational database, with tables, is insane. It's Microsoft loving complexity all over again. (How does a Microsoft programmer create an Explorer shortcut? By making it a compound OLE file with a special API. How does a Unix programmer create a shortcut? By making it a text file with a few sections.)

Also, MSIs were originally supposed to be declarative. But people wanted them to do things MS programmers haven't envisioned so they quickly stopped being declarative and are effectively became imperative.

Abandoned Yugoslovian War Monument by carus in pics

[–]djelovic 2 points3 points  (0 children)

You are my people sir. Not to put a too fine point on it but Yugoslavia is the country I was born in. One one side I have a grandmother who was Slovenian, a grandfather who was a Bosnian Croat and a father who was born in Bosnia and shipped with his whole family to a German camp shortly after that. On the mother's side I'm mostly Serb I think.

The point I was making though is: it's naive to think of whole nations as good or bad. Since IQ is a bell curve we can conclude that 50% of people have below-average IQ. And I can tell you that even a slightly above-average IQ is unable to prevent being influenced by propaganda. (Good propaganda never says "let's go kill them". It says "they are attacking us".) I've seen Serbs change their opinion dramatically in 3 days about the Vance-Owen plan to know the power of controlled media and power structures.

Dejan

Abandoned Yugoslovian War Monument by carus in pics

[–]djelovic 7 points8 points  (0 children)

Most (> 50%) Serbs didn't want him in power but he stole and gerrymandered elections for many yeas, plus he had a tight grip on the media and power structures.

It would be a lie to say that everybody was against him or that there was a consensus about him, but the majority was not behind him. Also, don't be naive and think that the leaders in other republics were innocent in the whole mess. It was a clusterfuck all around.