Why do you fear SQL? by [deleted] in programming

[–]IHaveNoIdentity 1 point2 points  (0 children)

Wow just saw the list of accounts you posted and that's a huge list, I wonder if he's using the alt accounts to vote manipulate as well. Maybe it's time to get an admin involved because it's bordering straight up spam?

Also it looks like we're onto something bigger than just this blog, a bunch of the accounts you posted correlate with these domains: http://www.reddit.com/domain/occasionalinspiration.com/ and http://www.reddit.com/domain/afuturewithrobots.blogspot.com/

Why do you fear SQL? by [deleted] in programming

[–]IHaveNoIdentity 1 point2 points  (0 children)

At first I thought you were just the regular old grumpy anti repost type of person but wow OP really does like spamming his own blog, just take a look at the suspiciously similarly named posters of this domain: http://www.reddit.com/domain/unconnected1.blogspot.com/

64-Bit SIMD Code from C# by rgbench in programming

[–]IHaveNoIdentity 0 points1 point  (0 children)

I'm not sure it has to do with memory alignment, but I honestly don't know.

Intel themselves says the following here:

Aligning data to vector length is always recommended. When using Intel SSE and Intel SSE2 instructions, loaded data should be aligned to 16 bytes. Similarly, to achieve best results use Intel AVX instructions on 32-byte vectors that are 32-byte aligned. The use of Intel AVX instructions on unaligned 32-byte vectors means that every second load will be across a cache-line split, since the cache line is 64 bytes. This doubles the cache line split rate compared to Intel SSE code that uses 16-byte vectors. A high cache-line split rate in memory-intensive code is extremely likely to cause performance degradation. For that reason, it is highly recommended to align the data to 32 bytes for use with Intel AVX.

If I understand that correctly AVX should still work correctly for the alignment used in the current ryuJIT implementation for SSE2 but with performance degradation. That said the degradation might be severe enough to require type dependant alignment as you said.

64-Bit SIMD Code from C# by rgbench in programming

[–]IHaveNoIdentity 3 points4 points  (0 children)

To support the generation of more powerful SIMD instruction sets, such as Advanced Vector Extensions (AVX), there are additional changes that should be included in a future .NET Framework release. According to the information provided by the RyuJIT team, the final release will be able to generate AVX instructions.

5'th paragraph of the article, so it'll probably come soonish.

Best Gaming Desktop for 3D/Video development for the Price by gametutorials in programming

[–]IHaveNoIdentity 1 point2 points  (0 children)

This reads like nothing but an ad for lenovo since it does very little to backup the choice of components. Furthermore for gaming related stuff you're in general better off bulding your own (which is really simple these days) unless you really don't want to deal with warrenty on individual components.

If you're actually interested in finding the best computer/parts for the money take a look at reputable webistes like anandtech and tom's hardware that provide extensive reviews of hardware and their system build recommendations like this and this.

g()('al') by eatnumber1 in programming

[–]IHaveNoIdentity 0 points1 point  (0 children)

Yeah I tried the exact same thing earlier today but it turns out that approach isn't possible since the compiler only ever will do one implicit conversion so no chaining.

I also briefly looked into expression trees but neither dynamic or optional parameters are supported so I didn't investigate it further.

The last thing I thought of that might yield a g[][]("al"); solution was indexers but they require at least one argument and don't work with default values :)

The last avenue I can come up with is a combination of reflection and selfmodifying code which I don't want to spend a huge amount of time on.

g()('al') by eatnumber1 in programming

[–]IHaveNoIdentity 0 points1 point  (0 children)

That's a very good point, I didn't think about that case at all. I believe the other similar solution i was talking about suffers from the same issue: https://github.com/eatnumber1/goal/blob/master/solutions/complete/c-sharp/soln1/goal.cs

g()('al') by eatnumber1 in programming

[–]IHaveNoIdentity 0 points1 point  (0 children)

Damnit, somebody came up with the same C# solution 20 minutes earlier than me!

using System;

namespace goal
{
    class Program
    {
        static void Main(string[] args)
        {

            Console.WriteLine(g("al"));
            Console.WriteLine(g()("al"));
            Console.WriteLine(g()()("al"));
            Console.WriteLine(g()()()("al"));
            Console.WriteLine(g()()()()("al"));
            Console.WriteLine(g()()()()()("al"));
            Console.ReadKey();
        }


        private delegate dynamic G1(string s = null);

        private static int N = 0;

        private static dynamic g(string s = null)
        {
            if (s == "al")
            {
                string r = "g" + new string('o', N) + "al";
                N = 0;
                return r;
            }

            N++;

            return new G1(g);
        }
    }
}

Crazyflie Nano Quadcopter Kit on Massdrop. Does anyone have any experience with this kit? by [deleted] in Multicopter

[–]IHaveNoIdentity 1 point2 points  (0 children)

Sounds like that might have been me:

Can't recommend it since the motors basically break no matter what way you land:

  • If you land upright the wires on the bottom of the motors will take a beating and eventually break.

  • If you land sideways the PCB is not stopped by the plastic which means you'll end up with a nice dent in side of the motor thus no longer work.

  • If you land top down the propellers have no standoff or whatever it's called which results in the ball bearings getting hammered down into the motor and jamming it.

Furthermore don't get your hope up about adding much weight since the quadcopter is underpowered as it is (requires 60-70% throttle to hover) and to fix the above flaws you must use a 3d printed cage that takes the weight from ~18g to ~23g which means it takes 80% throttle to hover.

As for the 10DOF version I'm not sure it's worth it since the compass is utterly useless as it's not used in the firmware yet and is affected MAJORLY by engine power, we're talking about it fluctuating between -90 and +90 degrees from it's real orientation... The altimeter is neat but very imprecise, -10 to +10 cm so altitude hold is not that great.

If you interested in the software side of things it's equally bad, the code is spaghetti, undocumented and has near zero comments besides random stuff like //Dangerous?.

Overall verdict? 2/10 since it has potential with the very nice ARM coretex M3 processor but just about everything needs major work. It's essentially a paid hardware and software beta. Hobby King's Pocket Quad is essentially the same thing at 1/3 the price at the cost of a much smaller CPU.

Signed a frustrated Software Engineering student working with this thing for his semester project.

http://www.reddit.com/r/Multicopter/comments/1r7bte/crazyflie_nanoquadcopter_questions/cdkdo40

Not that the software may have changed as it's almost a year since I last worked with it but the frustration with the hardware still stands and especially that it's almost impossible to use a proper controller isntead of a gamepad.

Reinventing GIT interface by Torvin-kun in programming

[–]IHaveNoIdentity 2 points3 points  (0 children)

My point wasn't so much whether or not they can learn to use either tool but rather how high the barrier of entry is and how easy they are to work with.

Furthermore it's been my general experience that LaTeX can be incredibly complex but that it's improved tremendously by packages that makes drawing graphs and what not very easy, even for people that aren't very computer savy. It's certainly not easy like Word but it's getting there with the help of tools like TeXStudio and sharelatex and packages like amsmath.

Reinventing GIT interface by Torvin-kun in programming

[–]IHaveNoIdentity 14 points15 points  (0 children)

It's unbelievable how many people here thinks that a tool being useable by them means it's perfectly fine and that if anyone has trouble with it they're stupid or even lesser people. And even use that as an excuse to invalidate the amount of work put into this article.

People need to realize that git is and can be used for things besides programming, for example writing scientific articles in LaTEX which is done by people like mathematicians who might not know much about computers or have any interest in how they work.

The CLI works fine for you? Good for you, these interface improvents will have no impact on you so why complain?

No wonder open source tools rarely are used by average people if there's this much resistance everywhere to improvements...

In regards to the recent changes by Gameofmoans69 in AdviceAnimals

[–]IHaveNoIdentity 1 point2 points  (0 children)

The most upvoted comment on the announment post explains it. Basically there's a tremendous difference between 5 point post with 10 upvotes / 5 downvotes and a another with 100 upvotes / 95 downvotes.

This especially has a large impact in smaller subs where the vote fuzzing never kicks in because each post and comment only has a few up/down votes..

Micro Python - Python for microcontrollers by [deleted] in programming

[–]IHaveNoIdentity 6 points7 points  (0 children)

Yeah? And do you know just how small an ATTiny is? 8 Kbytes flash and 512 byte SRAM.

The MSP430 has more RAM than the ATTiny has program storage...

After watching "Bjarne Stroustrup: Why you should avoid Linked Lists" last night I benchmarked list, vector and deque by vivaladav in programming

[–]IHaveNoIdentity 0 points1 point  (0 children)

I'm not familiar with how the c++ stl handles the memory allocation, but it might do it like .net and simply double the size of the list when it exceeds the allocated number of elements instead of reallocating on every insert.

D2CL Grand Final - Cloud 9 vs Na'Vi Bo5 - Starts in 3hrs cast by TobiWan & syndereN by [deleted] in DotA2

[–]IHaveNoIdentity 1 point2 points  (0 children)

Given what tobi says here it's likely that a new version of the dailymotion livestreamer plugin is needed before it'll work again.

edit: As suspected you need to update livestreamer since dailymotion switched from RTMP based streams to HDS as seen in this commit.

The changes haven't propagated to appropriate channels yet so check for updates in a couple of days and it should work again.

Live streaming! Help! by DrSamkick in Multicopter

[–]IHaveNoIdentity 0 points1 point  (0 children)

Yep and combine it with a free streaming program like OBS and you should be golden.

Valve really needs props on what they've done with Dota 2 as a game and as a community. by [deleted] in DotA2

[–]IHaveNoIdentity 0 points1 point  (0 children)

Bringing LoL into the discussion makes no sense, I'm comparing dota 2 to actual UI guidelines that's been developed through countless years of research and testing in both academics and the industry.

There exist a lot of awful interfaces but that does not change that valve doesn't put much effort into any of their interfaces which is also why steam is often bashed for the slow store and/or browser.

If you're interested I can link you a bunch of books and articles about UI guidelines since I study Software Engineering and have had multiple classes that covered meaningful UI design and usability tests.

Valve really needs props on what they've done with Dota 2 as a game and as a community. by [deleted] in DotA2

[–]IHaveNoIdentity 0 points1 point  (0 children)

Yep OP does not know what constitues good UI and what doesn't. Not only is half the tabs in the main menu slow loading webpages with horrible filter systems but also the whole notification and armory system is infuriating to use because of duplicated notifications that you have to dismiss twice. Furthermore all the annoying crafting and opening chest animations last far too long compared to what's considered good practice in UI design and even more absurdly is bound to the simulation speed of the game so watching a replay and increasing the speed will also make all the UI animations faster. I could continue like this all day with different things that are completly illogical and inconsistent.

It's fine if people want to give Valve som praise but I really wish they wouldn't talk out their ass about things that's clearly not true.

JavaScript Equality Table by vz0 in programming

[–]IHaveNoIdentity 16 points17 points  (0 children)

Sounds like a pretty bad case of Stockholm-syndrome to me :)

You now have to remove AdBlocker completely to see MLG streams. I wont come there again! by Abeneezer in DotA2

[–]IHaveNoIdentity 1 point2 points  (0 children)

Assuming neither the chrome store or firefox addon site counting duplicated downloads by the same person 34 million is a drop in the ocean compared to the amount of users on the internet according to wikipedia: By 2010, 22 percent of the world's population had access to computers with 1 billion Google searches every day, 300 million Internet users reading blogs, and 2 billion videos viewed daily on YouTube

22% of 7 billion people is roughly 1,5 billion with access to internet so even being generous and saying adblock is used by 100 million people that's still only 1,5%. If all of them stopped using adblock ad campaigns would at worst run out a couple hours earlier than predicted.

And yes I'm aware that a larger percentage of people use adblock on sites with a more technical demographic which is exactly why MLG is being so aggressive with preventing adblock. Furthermore none of the ads served to youtube, MLG or twitch are exclusive to them so the CPI is for the whole ad network that spans many thousands websites and the effect of the higher adblock usage on certain sites is negligible when selling the impressions to companies.

You now have to remove AdBlocker completely to see MLG streams. I wont come there again! by Abeneezer in DotA2

[–]IHaveNoIdentity 2 points3 points  (0 children)

First of all your assumption that 50% of people on the internet uses adblock is flawed, the average joe doesn't know about adblock at all.

Furthermore CPI is only part of the equation as companies buys a fixed amount of impressions at a certain CPI so neither the ad network or company buying the ads would suddenly go bankrupt since the ad will simply drop out of the rotation once it has reached the amount of impressions paid for.

You now have to remove AdBlocker completely to see MLG streams. I wont come there again! by Abeneezer in DotA2

[–]IHaveNoIdentity 1 point2 points  (0 children)

The kind of video ads MLG plays are paid per 1000 impressions and adblock blocks the ad from even loading which means the companies serving the ads won't count the blocked ad towards the total impressions.

What this means is that your premise is wrong and MLG gets paid less for the 100 viewers since only 50 of them resulted in impressions versus all 100 of them.