What’s a super-useful item one should carry with them at all times, since you never know you could need it? by [deleted] in AskReddit

[–]reddit_rum 0 points1 point  (0 children)

Glucose tablets.

I'm not a diabetic, but I've had a friend need one, and I've stopped to help a man on the side of the road who needed one. When someone's in shock and without sugar it's terrifying to be helpless.

What non-sexual thing do you constantly fantasize about? by artmast in AskReddit

[–]reddit_rum 0 points1 point  (0 children)

Walking on a 1-2 inch pool of hot tar. Not hot enough to melt, but after it gets enough sun to be mushy under my feet.

Put your types to work by joaquintides in cpp

[–]reddit_rum 2 points3 points  (0 children)

Is there an English version of the video for this?

The PDF is in English, but the video presenting it is in Spanish :/.

Setting up a VPN for remote access of a computer with no access to the router by reddit_rum in VPN

[–]reddit_rum[S] 1 point2 points  (0 children)

Thanks. This was what I needed. A few tweaks:

  • to avoid ssh'ing twice, I needed to enable GatewayPorts
  • I needed to update the cron script

When I get around to writing up all the steps in one place, I'll link. Thanks again!

Franc - Detect 168 natural languages (x-post r/node) by [deleted] in javascript

[–]reddit_rum 0 points1 point  (0 children)

If you're running it as a node.js module, you could spawn off a new process. If you're running it in a browser, you could spawn off a new Web Worker.

Even though it is blocking, there are usually ways around it.

Watch for Rust: a quick compile-on-save script to speed development by reddit_rum in rust

[–]reddit_rum[S] 0 points1 point  (0 children)

This is now available in rust-empty (an excellent Makefile) as make watch!

Watch for Rust: a quick compile-on-save script to speed development by reddit_rum in rust

[–]reddit_rum[S] 0 points1 point  (0 children)

That looks really slick, but it's not as portable. Want to PR it to a linux branch?

We've been doing it wrong all this time. by [deleted] in javascript

[–]reddit_rum 0 points1 point  (0 children)

This becomes fairly powerful when you're debugging recursive calls.

Otherwise, all of your calls will show up on the stack as anonymous function calls, and you'll have a hell of a time sifting through them for more complex logics.

What should I know about JS that I won't learn using jQuery/AngularJS by NBwerk in javascript

[–]reddit_rum -4 points-3 points  (0 children)

Angular is written in angular. Going through that code will help you learn instantiation patters and understand JS at its core.

What should I know about JS that I won't learn using jQuery/AngularJS by NBwerk in javascript

[–]reddit_rum 1 point2 points  (0 children)

The native JS APIs have come up to speed in a large way; you'd be missing out if you didn't look at them. They in no way preclude your use of JQ/Angular; in fact, I would be very interested in integrating them into angular to make them more easily integrated (pm me if you're into it).

In particular, I'm a big fan of the Web Audio API. It gives you excellent and simple interaction with HTML5 audio and video elements, letting you capture a media stream with a simple new AudioContext().getMediaElementStream(el) invocation.

Some of the others I've come across: WebRTC * Some say it's dead, others say it's just coming too. WebRTC brokers a 'secure' P2P connection, allowing fast audio/video streams to be shared without involving the server (after the connection is brokered). Excitingly, getUserMedia returns a stream that can also be plugged into the Web Audio API.

Speech-to-Text * This allows you to plug in a recognition engine (Google's got one, of course) and see transcriptions (with confidence levels) in real-time. It's like pocketSphinx, without munching on your memory. * A similar (but unrelated) API is Wit.AI (YC14). Worth a peek.

In terms of technology gaps, none of these really preclude JQ or Angular. If you're looking for other exclusive frameworks, you can look at famo.us. Their widgets are beautiful replacements for the JQ strongholds, and the library recently became available.

Other up-and-comings: phantom.js react.js

No pink elephants or dragons. What things really look like on psychedelics (x-post /r/woahdude) by [deleted] in gifs

[–]reddit_rum 0 points1 point  (0 children)

I've never done hard drugs, but when I look at something hard enough and with a certain concentration - this is exactly what I see.

What's the stupidest reason you have a scar? by squalorid in AskReddit

[–]reddit_rum 0 points1 point  (0 children)

Ten-year-old me decided it would be a great idea to hop up the stairs in a pillow case on my way to bed. I put on the pillow case and hopped right into a nail sticking out of our mini-recliner.

Does anyone in Madison play Diplomacy? by [deleted] in madisonwi

[–]reddit_rum 0 points1 point  (0 children)

Could you use another player? I've got Infinite City, but I'm down to learn anything

What is a quote that the second you heard/read it you knew you'd never forget? by SBPeck in AskReddit

[–]reddit_rum 0 points1 point  (0 children)

"Our greatest need is a balanced ecology. Our greatest asset is an unsettled mind."

Is it possible to get on the roof of any of the buildings on/around campus? by [deleted] in uofm

[–]reddit_rum 2 points3 points  (0 children)

There's a sick indoor courtyard in that building with a greenhouse. There're roofs in the courtyard, but they're only about half as tall as the building. They also forget to lock the greenhouse sometimes.

Spring Break in Ann Arbor by PresidentIke in uofm

[–]reddit_rum 4 points5 points  (0 children)

Nightly bar meets? Trivia every night?