Readit News logoReadit News
Qwertie commented on Why I never finish my Haskell programs   blog.plover.com/2018/09/0... · Posted by u/AndrewDucker
patientplatypus · 7 years ago
I've always felt of Haskell that it's a way for very smart people to never get anything done.

I want to like Haskell, I really do, but it's like learning Latin - you'll feel very smart except no one can talk with you except other people that correct your grammar.

Bleh.

Qwertie · 7 years ago
Part of the reason I stopped using haskell is because of how generalized everything is. I want to get something basic done and you are expected to read a whole book some maths topic to understand how do something basic. Another language would have an example on how to do that thing 99% of users are trying to do but in haskell land they want you to understand the 1000 different ways the library can be used and piece that together to work out what you want.
Qwertie commented on Lego Wants to Remake Its Toy Bricks without Anyone Noticing   nytimes.com/2018/08/31/bu... · Posted by u/blondie9x
autokad · 7 years ago
wouldn't be surprised if they went to something that was unusable after 3 years and said 'its for the environment'
Qwertie · 7 years ago
Thats the case for apple chargers. I have seen that macbook chargers fail after about 6 months use because they switched to a plastic that was less toxic. Conveniently the side of the cable that always fails is the one you can't remove from the brick so you have to buy a new $100 charger at least once a year.
Qwertie commented on Bye bye BetterSlack   g3rv4.com/2018/08/bye-bye... · Posted by u/g3rv4
ateesdalejr · 7 years ago
> Injecting javascript into Slack via Chrome extension can have an impact on the privacy and security of our customers and our product.

So can taking screenshots of messages. If injecting JS can possibly affect the security of your platform then that's a vulnerability you should fix, not send a C&D to some developer about.

Qwertie · 7 years ago
If I make a browser extension that grabs your auth token and all of your messages and sends it to my server. How is slack meant to fix that?
Qwertie commented on Bye bye BetterSlack   g3rv4.com/2018/08/bye-bye... · Posted by u/g3rv4
Qwertie · 7 years ago
If this threat is legally valid, doesn't that mean all adblockers/tracker blockers could be made illegal?
Qwertie commented on Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node   bitbucket.org/liamilan/wo... · Posted by u/liamilan
telcy · 7 years ago
What you mean is setInterval and does work well for synchronous execution. His approach is correct and would even work if the animate function is asynchronous as the next tick gets scheduled at the end of animate function execution.
Qwertie · 7 years ago
Ah yes, you are right. Got those mixed up.
Qwertie commented on Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node   bitbucket.org/liamilan/wo... · Posted by u/liamilan
Qwertie · 7 years ago
Nice work. I'm not a JS expert but I think I saw a bug.

Inside of animate() you are calling setTimeout() to automatically call animate repeatedly but this is also calling setTimeout() every time animate runs but setTimeout() should only be run once.

You should be able to take

  setTimeout(() => {
    animate();
  }, 100);
and paste it over animate() on the last line

Qwertie commented on IRC turns thirty   oulu.fi/university/node/5... · Posted by u/worez
donatj · 7 years ago
If you've never poked the IRC protocol directly, Google how to connect to IRC with Telnet.

You can pretty reasonably use IRC just by writing to a socket - by hand. It's all human readable and understandable. It's incredible. It's what an open protocol should be.

Writing a simple IRC client is a breeze!

Qwertie · 7 years ago
I tried that once. Main issue is you have to reply to the pings or you get kicked.

I have found Matrix to be easier to interact with. You need a HTTP client instead of netcat but it's super simple to send JSON from a program or terminal.

Qwertie commented on IRC turns thirty   oulu.fi/university/node/5... · Posted by u/worez
tapland · 7 years ago
Met my fiancée over IRC many years ago and we're both using it as our main social communication with others online.

It's an enclave untouched by much of the current toxicity of social media. It requires you to make friends with others based on your words and not content filtering algorithms. You are exposed to other people with other ideas since it isn't filtered. All with a reasonably high lowest level since the lack of bells and whistles turn a lot of people away from it.

Qwertie · 7 years ago
I only started using irc about 5 years ago but I have been using it daily since then and yeah the people on it aren't too bad. I have only really seen tech stuff on it recently, all the non tech irc channels I was in moved to discord :L
Qwertie commented on IRC turns thirty   oulu.fi/university/node/5... · Posted by u/worez
ailideex · 7 years ago
I like slack quite a bit, but it's not designed to be a replacement for general use case of IRC - it focuses on specific use cases and can be manhandled into other use cases with a lot of pain towards the users.

matrix.org/riot.im seems like a more sensible alternative to IRC - but their systems are overloaded and slow - multi second latency is the norm.

Qwertie · 7 years ago
The speed has gotten better recently. It usually sends messages in under 1 second. The UI is still a little laggy when switching tabs but everything is slowly getting more polished and faster.
Qwertie commented on Electric Scooters in New York City? They Just Might Work   nytimes.com/2018/08/18/op... · Posted by u/petethomas
lostcolony · 7 years ago
My wife and I purchased a pair of e-bikes (I haven't seen any for rent where we are except at bike shops, and I can bike to work which makes owning one make sense), and yeah, they are -insanely- fun. Even for exercise they're great; you can pedal without pedal assist...but hit a steep hill, or have to stop due to traffic, having a throttle to get you moving just makes everything so much smoother.
Qwertie · 7 years ago
My fitness has improved so much since owning an ebike. Yeah it's not nearly as much work as using a regular bike but unless you are using a bike all the time you are going to see a massive improvement from switching from a car to an ebike.

u/Qwertie

KarmaCake day239February 19, 2016View Original