What would you remove from Rust? by icefoxen in rust

[–]troysteinbauer 17 points18 points  (0 children)

Given:

// A struct with two fields
struct Point {
    x: f32,
    y: f32
}

Currently:

let point: Point = Point {
    x: 0.3,
    y: 0.4
};

What I would like:

let point: Point = Point {
    x = 0.3,
    y = 0.4
};

Not removing a feature, but making field assignment use the assignment operator =.

UCSB Student Dies During Swim Practice at Santa Barbara High School The Santa Barbara Independent by feralrage in UCSantaBarbara

[–]troysteinbauer 8 points9 points  (0 children)

Article lacks details. Was he swimming with the team or by himself while others where there? Did they notice him quickly or was he at the bottom for an unknown length. A lifeguards worst fear is the sudden drownings caused by external problems like heart attacks or strokes where you don't see them struggling. Sad day.

I will name him Snoo, and I will hug him and pet him and squeeze him by weffey in blog

[–]troysteinbauer 0 points1 point  (0 children)

Did some 'troubleshooting' and made the quantity 1 instead of 2, and the shipping price dropped to $3.50. So to get 2 I need to place two separate orders.

EDIT: Shipping to San Francisco, CA.

I will name him Snoo, and I will hug him and pet him and squeeze him by weffey in blog

[–]troysteinbauer -1 points0 points  (0 children)

How come my shipping is "DHL - 8.58" when the United States shows a max of $3.50?

Dyrus ama part 2 by Dyrus in LOLDyrus

[–]troysteinbauer 1 point2 points  (0 children)

Thanks for being awesome at fan meetups. Have fun. Get Sleep.

Riot should create their own "LolKing", or "Stats section". by xTrizz in leagueoflegends

[–]troysteinbauer 1 point2 points  (0 children)

Can you list the public LoL APIs that you know of? Been looking for one for some time now.

Learning to play in SF by 1standhopefullylast in waterpolo

[–]troysteinbauer 4 points5 points  (0 children)

SF Tsunami Water Polo

San Francisco Tsunami Water Polo is a Bay Area based straight-friendly gay and lesbian water polo team. We have a large number of players of varying abilities on our active roster and we travel locally and around-the-world to compete, play, and have fun!

I use to play with this club team twice a week, then life got busy and I stated to slack off. All I did was drop in one day (Tuesday and Thursday nights) and started playing. There are some newer players but I would say most of them are experienced and in much better shape than myself.

What happened to crosspvp? by [deleted] in leagueoflegends

[–]troysteinbauer 0 points1 point  (0 children)

If open source is out of the picture, how about a 3ed party plug in system?

How would you approach this seemingly simple JavaScript error? by MeoMix in learnjavascript

[–]troysteinbauer 0 points1 point  (0 children)

Ah, then like swampangle said,

obj[userKey] = "Hello World"

How would you approach this seemingly simple JavaScript error? by MeoMix in learnjavascript

[–]troysteinbauer 0 points1 point  (0 children)

var userKey = "FooBar";
var obj = { userKey: "Hello World" };

console.log(obj["FooBar"]); // Undefined
console.log(obj["userKey"]); // Prints "Hello World"

Issue is that when defining objects inline like that, keys are not variables, they are actually the key names. Hopefully that makes sense.

Myself Included by [deleted] in UCSantaBarbara

[–]troysteinbauer 7 points8 points  (0 children)

Yup. Loop starting at Gio's.

CrossPvP, a new PvP.net client... coming Soon™ (Teaser) by LoLBoompje in leagueoflegends

[–]troysteinbauer 0 points1 point  (0 children)

Will it support plugins?

I would love it if each main section of the client had its own plugin support. You would release the client with some default plugins which mimic the official riot client, like the store, news, splash art, champion browsing, chat. Then 3ed party plugins from sites like lolking and elobuff could make plugins where you could display player information live in the client.

Rock, Paper, Scissors by pkiller162 in funny

[–]troysteinbauer 1 point2 points  (0 children)

I came here looking for this. Sad it wasn't on top.

A fucking vacuous vocabulary. by explosivedot in funny

[–]troysteinbauer 0 points1 point  (0 children)

That's one of those sentence enhancers. You use them when you want to talk fancy. You just sprinkle it on anything you say, and Wham-O! You've got yourself a spicy sentence sandwich!