HNHacker News
TopNewBestAskShowJobs

sebastic

8 karma · joined March 28, 2016

submissionscomments
sebastic··on Vis: A Vim-Like Text Editor
Dang, there is nothing negative about being critical. The user I responded to clearly has childish ways of motivating himself. Being critical helps him analyze the flaws in how he motivates himself.

Hacker news is degrading quickly and you blocking me is helping that. This site needs inter-user critical comments. I doubt you have the insight to see that yourself and you're probably just following implied orders from Sam and Paul. This site is facing a leadership vacuum in this crisis and will likely implode. Good job.

sebastic··on Mozilla founder unveils Bitcoin-based micropayments system for users, publishers
Lots of figureheads in tech wear suits in marketing materials.

Even still, my criticism isn't specifically or especially the suit. That's just a superficial component of the deeper flaw. It's just looks like it's trying too hard, doesn't look natural, feels cringy. I mean, who sits on a bench in a suit by themselves looking ambiguously into the distance while clasping their hands together? It's weird.

sebastic··on Mozilla founder unveils Bitcoin-based micropayments system for users, publishers
Some feedback:

1. You really need to remove that picture of Eich. It's just bad. We get it, he's a visionary who wears suits. Please don't downvote me, it's legitimate criticism. It's vain and out of touch. A picture of him is fine but one that is less market-y, more down to earth, isn't trying as hard.

2. The ad-experience-oriented value-add over existing browsers is too low. The vast majority of people just want a fast/stable/free browser to search google and browse Facebook. For the most part they aren't conscious of what browser they are using. When it comes to web-based tracking/advertising they either don't care or don't know to care. It's sad but inescapably true.

Additionally, for those who do care about privacy and/or are aware that their browser is a program they can change, they definitely don't want to pay for an ad-free experience. Why would someone pay for ad-free Brave when they can use ad-free Firefox/Chrome for free? If you're going to argue that they can make money with Brave, how much money are we talking? I'd guess dollars if not cents, is that worth it?

I really hope the Brave team can realize their project is a mistake before learning the hard way. There is definitely a more successful thing out there that they could work on.

sebastic··on Chinese state media discourages April Fools' Day
Funny, to me this joke promotes of the idea of JavaScript, inconsistent, annoying to read, total trash, etc. Very bad one.
sebastic··on Chinese state media discourages April Fools' Day
You've never been to China, you have no idea what you're talking about. Go to China and you'll see it's like America x9000.
sebastic··on Show HN: tmux2html - Render full tmux windows or individual panes as HTML
Complete the loop. Make the browser a tmux client...
sebastic··on Nyuzi: An experimental FPGA multicore GPGPU processor
You have no idea what you're talking about. You're wrong, MyHDL is a proper hardware DSL in Python. You've never used it and you have no idea what you're talking about
sebastic··on Nyuzi: An experimental FPGA multicore GPGPU processor
Chisel doesn't help. It just converts to verilog. The verilog is then converted by a closed source program to a closed file format that is then uploaded by a closed sourced program to closed fpga hardware.
sebastic··on Under the hood of C++ lambdas and std::function
Compiler will not warn this:

    MovableObject a, b, c;
    b = std::move(a);
    c = std::move(a);
`c` may contain garbage.

BTW the "move trait" (as its called in rust) is a related but orthogonal concept to its borrow checker.

sebastic··on Under the hood of C++ lambdas and std::function
Also C++ is generally as fast as C. If anything, it's faster thanks to increased opportunities for inlining.

Whoever says C++ is slower than C is misinformed and/or overgeneralizing.

Professional C++ programmers know this already though.

sebastic··on Under the hood of C++ lambdas and std::function
His logic is wrong. It's not because they are objects, it's because std::sort and friends are function templates. They know what they are calling at compile time. Templates allow for compile-time polymorphism like this.

Because of compile-time polymorphism, you can pass in prvalue function pointers and objects alike and the compiler will be able to inline.

C doesn't have templates, therefore it doesn't have compile-time polymorphism, therefore it's much harder for the compiler to inline.

Compilers like GCC and Clang can inline in some runtime-polymorphism circumstances. See -flto and -fdevirtualize.

sebastic··on C++14: floats, bits, and constant expressions
Please stop using C-style casts. It's 2016. C++ != C. Unlearn what you have learned.
sebastic··on C++14: floats, bits, and constant expressions
I'm glad you're aware of Carmack's association with the fast inverse square root (hopefully you also know that it doesn't originate from him) but the joke here isn't the denigration of the code itself.

The joke is that the original need for a fast inv sqrt is moot at compile-time.