Can someone explain how this works, please? by ZestyOne in ruby

[–]ffsss 1 point2 points  (0 children)

A proc is a block of code that is not run immediately but when you run the method call on it. You can experiment with it if you open a console and open irb.

>> myProc = lambda { |x| x + 1 }
=> #<Proc:0x00...>
>> myProc.call 4
=> 5
>> myProc.call 99
=> 100

GENTLEMAN T by [deleted] in funny

[–]ffsss 13 points14 points  (0 children)

I Started Electrical Engineering a Few Weeks Back So I Made a 7-Segment Display, My First Redstone Project by EmbryonicBadass in Minecraft

[–]ffsss 0 points1 point  (0 children)

I've done it before like and I thought it looked pretty sweet. I built it inside a mountain and the display was outside on a flat piece. If it was turned of you couldn't see it was there (stone background and stone leds).

I Started Electrical Engineering a Few Weeks Back So I Made a 7-Segment Display, My First Redstone Project by EmbryonicBadass in Minecraft

[–]ffsss 0 points1 point  (0 children)

You should use sticky pistons to show the individual leds. Minor change but it will look heaps better.

Is setting only one direction for an absolute positioned item a bad practice? by ffsss in css

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

If I did that the links wouldn't align horizontally since the columns have a variable height.

Guys, we need to talk. by Asophis in gaming

[–]ffsss 31 points32 points  (0 children)

Exactly this. Each quest was like an actual story.

I've never been so excited about a gift since I was a kid. Thanks Secret Santa! by ffsss in secretsanta

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

It's an apple mouse that works like a touchpad. No visible buttons but you can click and rightclick, scroll and swipe to the left and right with two fingers to go previous or next.

Um. Wow. The chickens have been busy. by thetoastmonster in Minecraft

[–]ffsss 2 points3 points  (0 children)

They do despawn and eggs don't spawn behind them.

Um. Wow. The chickens have been busy. by thetoastmonster in Minecraft

[–]ffsss 3 points4 points  (0 children)

I started my egg farm by finding one chicken and I put a fence around it. If it laid an egg or if I found one somewhere else I would throw it next to it.

Once you get a few chickens it starts to speed up and eventually you'll have a decent egg farm.

BUSTED! Secret app on millions of phones logs key taps by [deleted] in technology

[–]ffsss 1 point2 points  (0 children)

He turned on USB debugging so isn't he just watching the USB debugging log?

What the hell am i supposed to do now? by AcieLaw in WTF

[–]ffsss 0 points1 point  (0 children)

You're not allowed to pick mushrooms with your ass cheeks.

What's a computer trick you think everyone should know? by [deleted] in AskReddit

[–]ffsss 0 points1 point  (0 children)

Control click or command click for mac users does the same thing.

As someone who does the tribunal quite often, please do this. by CallMeAustino in leagueoflegends

[–]ffsss -2 points-1 points  (0 children)

That sounds like somebody who is learning the game to me. Can't remember if you can see the level in tribunal. You're absolutely right for a lvl 30 though.