Please help contribute to the Reddit categorization project here

    Pocketfullofbugs

    + friends - friends
    1,131 link karma
    7,741 comment karma
    send message redditor for

    [–] This Japanese toilet refills through a sink in the top so you can rinse your hands and re-use the water. Pocketfullofbugs 1 points ago in mildlyinteresting

    Normally I pee in the sink (trashy). I feel like this would effect me adversely (reservoir tank full of pee), while at the same time I would technically be peeing in the toilet (not trashy).

    [–] The Sexy Halloween Megathread Strikes Again! Pocketfullofbugs 18 points ago in AskReddit

    Wife is going as a sexy witch, I would like to go as a sexy wizard. What would a sexy wizard dress like?

    [–] What’s an unspoken rule that is universally accepted? Pocketfullofbugs 1 points ago in AskReddit

    My ex-sister-in-law’s mother did that. Not a surprise. Still shitty

    [–] What is the weirdest thing you have seen someone do like it is completely normal? Pocketfullofbugs 3 points ago in AskReddit

    I read a book about the fall of the Berlin Wall. It was made up of different first hand accounts. It mentioned someone seeing a person receive a banana for the first time, and they ate it just how you described and loved it.

    [–] What is your “ but wait, it gets worse” story? Pocketfullofbugs 3 points ago in AskReddit

    I’m in a rebuilding year myself. Weight loss, better job, depression meds. Kickass

    [–] What's extremely rare but people think it is very common? Pocketfullofbugs 5 points ago in AskReddit

    I’m currently in an active shooter preparedness seminar. It’s two hours. The likelihood that this happens is so close to zero. They’d save more lives talking about diet and exercise.

    [–] Which Bards Accompany Your Prayers? Pocketfullofbugs 3 points ago in swoleacceptance

    Sleep, Black Breath, Power Trip, Black Sabbath, Electric Wizard, YOB, Bell Witch. Heavy music for heavy lifting.

    [–] Can I still be a decent Software Engineer if I'm slow and not intelligent? Pocketfullofbugs 1 points ago in cscareerquestions

    So I'm late here but wanted to provide support. I'm a new hire at a company (first dev job, and actually in a paid training program, not in production at the moment), and I'm not the fastest coder. In fact I'm pretty slow. After a couple of weeks I felt comfortable with my boss and asked what it was that got me hired. Other people in the program are obviously more technically skilled. She said that the company can teach passionate people, who jive well with others and company culture, how to code. What they can't do is teach people how to have an inner desire to learn, or teach people how to work well with others. They heard me talk about how I studied (went to a boot camp like thing) and how I resolved team conflicts I've had, and that's what got me the job. So I'd say if you can always be learning and know how to take advice and ask for help there is a great chance you'll find a job. Good luck!!!

    [–] NBA2K19 Pocketfullofbugs 1 points ago in RandomActsOfGaming

    2000, thank you

    [–] The Sims 3 Key (Origin) Pocketfullofbugs 1 points ago in RandomActsOfGaming

    Ok so I eat about six eggs a day and I like to think I do them right.

    On an electric stove because I didn't get to pick it out.

    First, on low heat, I start melting about a half table spoon of bacon grease and a half table spoon+ of Kerrygold butter (it makes such a difference) in a small pot.

    Second, I crack in six eggs.

    Third, I remove the shells.

    Fourth, I stir the whole time. This may take a while as far as eggs go.

    Fifth, as the eggs start to set up, about 45 seconds from when they look like they will be done, add a slice of cheddar or pepper jack cheese. Once that melts you can remove the pan from the heat.

    Sixth, I add salt (i like about a half teaspoon) and pepper.

    I learned this method from a Gordon Ramsey video, and its the best. I've tweaked it just a bit to suit my taste. The more patience you have with it the better.

    [–] API help trying to search more than one thing Pocketfullofbugs 1 points ago in learnprogramming

    I kinda figured it was like that. But I’m so new I wanted to make sure I wasn’t missing a whole other way to get results. I’ll shoot an email their way

    Edit: thank you

    [–] I need to tell if an individual checkbox is checked but am having what seems to be a dumb problem Pocketfullofbugs 1 points ago * (lasted edited 3 months ago) in learnprogramming

    so there isnt a tutorial actually, was just told to make todo list with react

    hopefully, once isChecked is figured out, I'll be able to implement a counter of items left, as well as make a remove function for done items

    also, the above code does some screwy stuff, might just be me.

    Edit: because this might be relevant here is the last piece of code

    App.js

     import React, { Component } from 'react';
     import './App.css';
     import Todo from './Todo'
    
    
    
     class App extends Component {
    
    constructor(props) {
      super(props);
      this.state = {
    
      }
    }
    
    render() {
      return (
    
        <div className="App">
          <Todo defaultText="Add task" />
    
    
        </div>
      );
    }
    

    }

    export default App;

    not importing TodoList crashes the app

    [–] I need to tell if an individual checkbox is checked but am having what seems to be a dumb problem Pocketfullofbugs 1 points ago in learnprogramming

    This puts the state of isChecked in the Todo state. It does not seem to update when clicked. The to do items in the list still do not cary a state

    TodoList.js

    import React, {Component} from 'react';
    
    class TodoList extends Component {
        constructor(){
            super()
            this.state={items:[]};
    
        }
    
    
        render() { 
    
    
    
            return (
                <ul>
    
                    {this.props.items.map(item =>(
    
                        <ul key = {item.id}><input type='checkbox'
                            onChange={this.handleChecked}
                            />
    
                            {item.text}</ul>
                    ))}
                    </ul>
            );
    
    
    
        };
    }
    
    export default TodoList
    

    Todo.js

    import React, {Component} from 'react';
    import TodoList from './TodoList';
    
    class Todo extends Component {
    
        constructor(props){
            super(props);
            this.state = {isChecked: false, items: [], text:''};
            this.handleChange=this.handleChange.bind(this);
            this.handleSubmit=this.handleSubmit.bind(this);
            this.handleChecked=this.handleChecked.bind(this);
    
        }
    
        render() { 
            const {defaultText}=this.props;
            return (  
            <div>
            <h1>To Do List</h1>
    
    
            <TodoList items = {this.state.items}
            //define is checked here and run it
            />
    
    
            <form onSubmit={this.handleSubmit}>
                <label name="add">
                    Add Todo Item
                </label>
                <input
                    id="add"
                    onChange={this.handleChange}
                    value={this.state.text}
                    />
                    <button>{defaultText}</button>
            </form>
            </div>
            )
        }
    handleChange(submit){
        this.setState({text: submit.target.value})
    }
    handleSubmit(submit){
        submit.preventDefault();
        if(!this.state.text.length){
            return;
        }
        const newItem={
            text: this.state.text,
    
        };
        this.setState(prevState=>({
            items: prevState.items.concat(newItem),
            text:''
        }))
    
        }
        handleChecked(){
            this.setState({isChecked: !this.state.isChecked})
        }
    }
    
    
    
    
    
    
    export default Todo;
    

    [–] I need to tell if an individual checkbox is checked but am having what seems to be a dumb problem Pocketfullofbugs 1 points ago * (lasted edited 3 months ago) in learnprogramming

    pardon my ignorance. "Todos" as you typed refers to my TodoList.js, right?

    Edit: regardless, it didn't seem to make it item specific, or I am unsure if I implemented it right

    class Todo extends Component {
    
    constructor(props){
        super(props);
        this.state = {isChecked: false, items: [], text:''};
        this.handleChange=this.handleChange.bind(this);
        this.handleSubmit=this.handleSubmit.bind(this);
        this.handleChecked=this.handleChecked.bind(this);
    
    }
    
    class TodoList extends Component {
    constructor(){
        super()
        this.state={items:[]};
    
    }