News for hackers. Stuff that matters.

mnr

Oh, completely missed that. My apologies.
He's referring to the title which says it "converts _any_ IPFS file".
Re:Eagle.js: A hackable slideshow framework built with Vue.js on Tuesday September 25, 2018 @11:17AM (#18066992)
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)
Re:Better Promises in JavaScript on Tuesday September 25, 2018 @07:41AM (#18065421)
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.
Re:Better Promises in JavaScript on Monday September 24, 2018 @11:16AM (#18058376)
Shucks, I can see how it becomes verbose.
Re:Self-solving Rubik's Cube on Monday September 24, 2018 @08:43AM (#18057180)
Ah, I misread. Makes enough sense!
Re:Better Promises in JavaScript on Monday September 24, 2018 @08:38AM (#18057154)
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".

Re:Self-solving Rubik's Cube on Monday September 24, 2018 @08:06AM (#18056957)
You could have shuffled it into a position where it takes less moves to solve than you made while shuffling.
It's 100:1 really.
Re:Jsonnet – A data templating language on Saturday June 23, 2018 @06:48PM (#17383868)
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.
Re:No: Body: Wants: To: Write: – YAML on Wednesday June 20, 2018 @11:53PM (#17362020)
Challenge.
Re:Mutually Nonconsensual Sex on Sunday June 03, 2018 @08:07AM (#17219171)
What’s stopping someone from entering a trap phrase to... entrap the other party?
Re:On the growing risk of the 51% attack against BCash on Friday December 22, 2017 @07:32PM (#15992080)
[citation needed]
Re:Teenagers are growing more anxious and depressed on Sunday November 26, 2017 @11:08AM (#15781487)
I have always felt that seeing other people’s success and happiness is not the cause of this type of behavioral change. I think that social media causes damage in two ways.

First of all, the feed/timeline/wall delivery system of information delivery must have some play in this. On instagram, I follow friends, family, coworkers, artists, creators, meme curators, technical brands, etc. They all deliver very different content, but I’m generally exposed to them in the same feed. So while I scroll through my feed, I do so much context switching that I get attention-motion sickness. I enjoy the post as I scroll though but I don’t retain anything. I could scroll through hundreds of posts in just a few minutes, and I’ll hardly remember any of what I’ve seen. It’s like an exercise in half paying attention, or an exercise of forgetting. But, we do it every single day, all the time. The information highway has gone from an open platform for sharing to a fast lane of content mixed with brands and ads shooting right through my conscious.

Then, we have the nerve to call it social. Yes, there’s a lot to say about the amount of connectivity these platforms have given us. But they’ve also changed the conversation we have. Sure, when I directly interact with people on these platforms, I’m doing something kinda social. But you know what’s not social? Staring at, or talking to a wall. No matter who has wiped their shit on it. I’m no biologist, but I know humans have mirror neurons which fire when interacting with other humans/things. So, we have a mechanism(s) in the body that respond to actual face to face interaction. How does an abstraction of technology interact with those mechanisms? I can only assume that the iPhone does not account for this in their UX meetings.

It is a little silly to me to assume that the staggering rates of depression and suicide come from reflection on the content these kids are seeing on social media. Social media, when used as designed, does not offer the time to reflect.

(I want to say that there are obvious other dangerous aspects of social media that may lend themselves to dangerous behavior as a result of reflection, such as obsession and stalking, bullying, etc)

Re:Amazon’s Cashierless Store Is Almost Ready for Prime Time on Saturday November 18, 2017 @05:26PM (#15731010)
I presume you can check your cart via the app before checking out... in terms of overcharging, how do you know when you’re overcharged at the store when the cashier checks you out if you have more than 10 or so items? Do you remember all the prices of each item?