_ar7

Joined 10 years ago

Karma
73
Submissions
28
Member since
Sep 14
On a scale of one to my account, this is my account.
View on Hacker News

Recent submissions

Comment · 9 years ago
Comment · 9 years ago
Really cool that this is built completely from scratch. I expected a dependency on something like d3 at least.
Comment · 9 years ago
This is why electron is so popular
Comment · 9 years ago
My question would be what's the alternative? Cross platform native apps rarely look as good, and would require entirely new code bases and different sets of developers. Sure electron sucks for users, but what's the business incentive to ship native apps other than to satisfy the minority of users who are even aware electron saps so many resources?

I think that for whomever is developing using electron in most cases the desktop versions of the apps wouldn't even exist if electron wasn't a thing. Also, just as a side note, electron apps are so _easy_ to develop. I don't know if any other platforms that target desktop are as simple, but I might just be out of the loop.

Comment · 9 years ago
facebook
Comment · 9 years ago
So if we were to have a rational debate, what points did he have, and points did his opponents have?
Comment · 9 years ago
Although it wouldn't work if you were using objects and wanted to do a deep comparison e.g.

    [...new Set([{x: 1}, {x: 1}])]
Comment · 9 years ago
If you wanted to do O(n) functionally, you could do

    [1, 1, 2, 3, 4].filter(
      (obj => x => {
        if (obj[x]) {
          return false;
        }
        obj[x] = true;
        return true;
      })({}),
    );
What's happening is that you're passing an object (hashmap / hashset) into a function that returns a filtering function, and that object is used inside the closure to track the dupes. It's still a pure function because even though you're mutating the passed in object, the filtering function is still deterministic and referentially transparent.
Comment · 9 years ago
Yeah you're reading it wrong. This is for node so it'd never be client side, and I'm sure the pw examples are in plaintext just for simplicity in the README.
Comment · 9 years ago
All those machines are owned by Google or Apple though. They're not completely random machines.
Comment · 9 years ago
Really liked the blog post. Elixir and the capabilities of the BEAM VM seems really awesome, but I can't really find an excuse to really use them in my day to day anywhere.
Comment · 9 years ago
Lol now I feel bad for perhaps coming off a bit too harsh. I appreciate you taking my feedback into consideration. Best of luck with your company!
Comment · 9 years ago
* Why do I have to download an 8MB payload on load, most of which consists of 1MB+ PNGs, which aren't even visible until I scroll?

* Why are you doing some unintuitive scroll-jacking?

* Why are you using React for literally a single scrollable page?

* Why are you putting the scroll position into the URL instead of somewhere like local storage? It's annoying that I can't even leave the page without pressing back multiple times.

ugh

Comment · 9 years ago
Operator mono I think. It costs a lot.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton