Recent submissions

Comment · 8 years ago
Oh, completely missed that. My apologies.
Comment · 8 years ago
He's referring to the title which says it "converts _any_ IPFS file".
Comment · 8 years ago
It says that scrolling up should go to the previous slide, but it advances to the next slide for me. (using Apple Magic Mouse 1)
Comment · 8 years ago
I thought I was so clever! But yes I see how it's very different. In general, magic (or using Proxy) scares me, but I'm warming up to the idea here.
Comment · 8 years ago
Shucks, I can see how it becomes verbose.
Comment · 8 years ago
Ah, I misread. Makes enough sense!
Comment · 8 years ago
This is already a feature in Vanilla.js [1] in the "Parentheses" module.

Example:

  const lines = (await fetch(myUrl)).text().split('\n');
[1]
http://vanilla-js.com/

Edit: magic-promises promotes all accessed properties to magic-promises as well, and performs magic on functions, so it's not exactly the same, but I'm not sure if I'd want to add the proxy overhead to my code just to make my code more "fluent".

Comment · 8 years ago
You could have shuffled it into a position where it takes less moves to solve than you made while shuffling.
Comment · 8 years ago
It's 100:1 really.
Comment · 8 years ago
Right? One time my boss asked me to do something in JSON but I explained to him I simply couldn’t work with JSON because of the braces and quotes. JSON is practically unusable.
Comment · 8 years ago
Challenge.
Comment · 8 years ago
What’s stopping someone from entering a trap phrase to... entrap the other party?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton