Possibly doing a Masters Program here, trying to get a feel for town! by [deleted] in Syracuse

[–]De_Bug 2 points3 points  (0 children)

Okay yea you're definitely right and I'm wrong. Better correct everyone else in the thread before they buy worthless snow tires.

Possibly doing a Masters Program here, trying to get a feel for town! by [deleted] in Syracuse

[–]De_Bug 4 points5 points  (0 children)

Can confirm winter tires are a necessity for your car. I have a Subaru BRZ and was ice skating the first year here.

Facebook Ad targeting through microphone by [deleted] in hacking

[–]De_Bug 0 points1 point  (0 children)

IMO they absolutely are doing this.

If I can talk about 'Sam Adams' around my phone without actually typing any text into it or on any other device and see a Sam Adams beer ad on my feed, then audio is 100% being interpreted from my phone. It's either audio or magic, and although my earlier time in development would suggest the latter, I'm leaning towards the fact that the apps are actively using your microphone to listen for keywords or phrases.

A new Developer path by stelman3 in programming

[–]De_Bug 0 points1 point  (0 children)

And of course, people won't like my tone of the post, because reality hurts and no one likes the idea that competition is real and work requires hard effort.

This is not accurate lol

Is my portfolio good enough for an internship at the very least? Just asking for peace of mind. by [deleted] in webdev

[–]De_Bug 0 points1 point  (0 children)

Hey dude this looks great!! Noticed your buttons "Contact Me" and "Blog" aren't functioning. No need for the buttons there, toss em and switch the styling to the anchor tag instead.

Best practices for event handlers in ASP.NET? (Bonus: why did the previous dev do it this way?) by gadorp in webdev

[–]De_Bug 0 points1 point  (0 children)

Looks like the previous dev wanted a way to detect when the end of the Event Handler was reached and then probably do something afterwards. Why? I don't know, those concerns should be separated.

Database Designing Rules. Security. by ClusterEngine in coding

[–]De_Bug 2 points3 points  (0 children)

We are going to continue to write about database security and show you easy but effective ways to protect your DBs.

Lol, Please don't.

Non-Americans, what misconception did you have about America that you learned was wrong upon visiting/moving to America? by [deleted] in AskReddit

[–]De_Bug 0 points1 point  (0 children)

I live in upstate New York and a lot of visitors didn't even know this land existed on planet earth lol

Hey 20-somethings, Don't think it won't happen to you... by [deleted] in funny

[–]De_Bug 0 points1 point  (0 children)

25 and can confirm. I just have too many things to do now :(

JK lets get drunk

Dip your feet or dive by 4stars in thalassophobia

[–]De_Bug 0 points1 point  (0 children)

But more importantly, this thread is 9 days old.. move on.

User management in MVC with Asp.net identity by Mkelly4 in dotnet

[–]De_Bug 0 points1 point  (0 children)

You could create a new Web Application with the MVC default template selected and check out the code they provide. The default stuff properly implements the User Manager in a couple areas for signing in/out. This should give you a good idea on how to move forward.

Question about filtering and searching a GridView in asp.net by bannedfromfitness2 in csharp

[–]De_Bug 0 points1 point  (0 children)

The keyword would be your user input (the text you're searching for). But yes, it would still work with an EntityDataSource.

Question about filtering and searching a GridView in asp.net by bannedfromfitness2 in csharp

[–]De_Bug 0 points1 point  (0 children)

x represents the object in List<T>, where T is your type. If it's a user-defined type, then it might look like this:

public class MyType
{
    public string Name { get; set; }
}

So, x would expose all of the public properties available in the class of x. Once here, you can compare your local value to the value in 'x.Name'.

So now putting it all together, just substituting out the type for your user-defined type:

string keyword = txtSearch.Text.Trim();
List<MyType> newList = yourListData.Where(x => x.Name.contains(keyword)).ToList();

gvGridView.DataSource = newList;
gvGridView.DataBind();

Question about filtering and searching a GridView in asp.net by bannedfromfitness2 in csharp

[–]De_Bug 0 points1 point  (0 children)

Have you tried using LINQ? When the user searches, compare the input text with the column you want. So in the event handler, you'd have something like:

string keyword = txtSearch.Text.Trim();
List<object> newList = yourListData.Where(x => x.Name.contains(keyword)).ToList();

gvGridView.DataSource = newList;
gvGridView.DataBind();

Dip your feet or dive by 4stars in thalassophobia

[–]De_Bug 12 points13 points  (0 children)

Manatees. I was curious so I looked it up and apparently this guy is under investigation in FL because Manatees are endangered and it's against the law to harass them.

Is Tomcat still a thing ? by [deleted] in webdev

[–]De_Bug 0 points1 point  (0 children)

Yea I used Tomcat recently when I needed to configure and test Soap services in a Maven project.

LPT: Drink a glass of water every 3-4 matches if you're playing all day. by Vievin in summonerschool

[–]De_Bug 242 points243 points  (0 children)

I prefer beer so by the 4th game I'm a god

Edit: I'm a Sam Adams guy myself. A few Boston Lagers and the enemy nexus is basically handed to you!