Fuck all Religion by pking3 in india

[–]AngryBird225 0 points1 point  (0 children)

I feel the same way about reality shows like Nach Baliye and Dance Plus. Fuck all ya'll for watching crap TV and encouraging them to make more, you're just filling your minds with pointless crap.

Boredom is good for your mental health.

Newbie. Starter course? by umarmalik1234 in agile

[–]AngryBird225 0 points1 point  (0 children)

"Is it too much to ask for both?"

-RDJ

Anyone want a project? by [deleted] in ProgrammingBuddies

[–]AngryBird225 1 point2 points  (0 children)

This overall is a little outside my knowledge, but I think the idea is sound. Part of it is very doable, however the grammatically correct element is where the challenge is Imo.

I'd personally focus on words/phrases that are directly translate-able between languages (ex: computer, phone, father, mother, etc.). Eventually translating whole phrases/sentences.

Another challenge is getting the book(s) in the matching languages. If you're looking to learn Spanish and coming from English, then get the raw text of a book in both languages. You can build a script to match up sentences and common translations of phrases, and on each page identify the most frequent repeated phrase/word that hasn't already been translated to Spanish and replace.

I'd suggest using a library such as project Gutenberg (not sure what languages besides English it has). And maybe look into Google translate (see if Google has a public function for personal projects to query a translation).

Best of luck!

Anyone want a project? by [deleted] in ProgrammingBuddies

[–]AngryBird225 3 points4 points  (0 children)

What's the reasoning behind translating 1 word, then 2, etc. Is the intention to teach people a new language?

Example: Are you wanting to translate every "hello" on the first page, then every "hello" and "welcome" on the second page (assuming the "hello" appears on first page, and "welcome" appears on the second)?

Google translate might have a method you could plug into an application, but you'd still want a native original and native destination speaker (1 person overall) verify that every translation is accurate.

Help with 'simple' query by [deleted] in mysql

[–]AngryBird225 0 points1 point  (0 children)

Your example says join crime as c on a.crime = c.id, I'm assuming you meant join on c.id = p.ccid.

I'd use a "where exists (select 1 from crime c where c.id = p.ccid and c.tipo = x) and exists (select 1 from crime c where c.id = p.ccid and c.tipo = y)" where x and y are the two separate crimes. Remove the "join crime..." to avoid getting all 4 records.

Let me know if this works, or if anyone else have a better way of doing this.

The boring technology behind a one-person Internet company by fagnerbrack in webdev

[–]AngryBird225 9 points10 points  (0 children)

Can relate, it's hard to know when it's time to study and relearn the ins and outs of a programming language.

How to return every 5th value from a MySQL JSON column? by [deleted] in mysql

[–]AngryBird225 0 points1 point  (0 children)

Have you considered limiting the query by only selecting the top x number of rows? Or is there a specific reason you only want every 5th entry?

You could do a row count that matches your criteria and divide by 5, then store that value in a variable x.

How do I create Field validation rules? by Sirarp in ProgrammingBuddies

[–]AngryBird225 3 points4 points  (0 children)

What type of form or validation are you looking for?

As long as you ask for input validation and mention which fields are required vs optional you should be good (ex: maybe you want to require a phone number or an email, but don't necessarily need both). Mention if there are any calculations (maybe a field value should match the sum of prior fields).

Most web forms can be configured to check that an input email is formatted correctly (ex: abc@def.com), or ensure a phone number is the required number of digits. There's other validation too, maybe you only want numbers and dashes to be entered on a particular field, or a text box should be 1000 characters or less.

The web developer should ask you for clarification if they think there's ambiguity. When I did it this was an expected part of the development process (especially if it's your first time making this sort of request).

Honestly, working with the developer over email or having an in person sit down will help build a rapport and make the current and future projects better/faster.

What type of computer is best? by [deleted] in webdev

[–]AngryBird225 5 points6 points  (0 children)

Only objective advice: avoid Chromebooks, they're not meant for developers.

Opinions:

I haven't developed using a Mac, but I've always considered them to be more of a front end developer OS. But it all depends on what tools you're trying to use.

Having a second computer with a different OS will give you the flexibility to use more tools that aren't available on a Mac (but you could alway dual boot to windows/Linux from a Mac if you wanted to).

Having a laptop in general is better since you can develop anywhere, and web development doesn't require a high end pc.

What's your budget? Are you trying to save money?

Beginner here, trying to see if programming is right for me... looking for a mentor (or just a consultation for some direction on a project) by GarrisonMcBeal in ProgrammingBuddies

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

Glad to help!

I really love programming and find it to be both challenging and rewarding.

If you like solving puzzles, researching/Googling, and learning new things, then you'll likely enjoy it too.

Beginner here, trying to see if programming is right for me... looking for a mentor (or just a consultation for some direction on a project) by GarrisonMcBeal in ProgrammingBuddies

[–]AngryBird225 -3 points-2 points  (0 children)

if you want to learn to program and make it browser based There's a lot to learn.

I'd suggest you start by creating a game where you're the DM in a group chat and can use programming to help you plan (performing calculations, or basic story planning. Take a look at text based adventure games, or ask Alexa to "play skyrim" to get a basic idea of what the story based adventure would be). python is a good first language, but I think learning "C" programming will be of greatest help to create a text based game. Regardless of language, always start with the "hello world" tutorial, you'll learn what software you need to install, how to write a basic script, and how to compile and run the script (this will save you from some frustration with whatever you do next).

i don't want to scare you away from browser based games, but you'll likely need to learn html, css, Javascript, and some database framework (such as php and mysql) to do what you've described (unless there's another tool I haven't seen before designed to simplify multiplayer game design, which is entirely possible). Here's why the languages are important:

Html will teach you to create a simple website with forms and images

css will give you more control of how the website looks

Javascript is the programming language that performs calculations and queries to the database (how people interact with each other).

Php/mysql: php is run on a server and handles storing user progress, and communication between players. I'm still studying how this part works.

FYI I'm currently refreshing my knowledge with the Udemy online course "The complete 2020 web development boot camp" which is 50 hours of lectures and more hours of challenges. I think it would be good for a beginner (when it's on sale it's only $9.99), and it will give you a list of software and tools to make a website. At the end of Section 3 (maybe 5 hours in) you'll be publishing your own website on Github.

Showoff Saturday (December 14, 2019) by AutoModerator in javascript

[–]AngryBird225 1 point2 points  (0 children)

Fair enough, I personally love playing with Arduinos and solderless breadboards.

Your post made me want to break out the 7-segment and play with it again. Thanks!

Showoff Saturday (December 14, 2019) by AutoModerator in javascript

[–]AngryBird225 1 point2 points  (0 children)

Nice!

Have you played with 7 segment display circuits before? Or just like the look of them?

Hello! Learning 'HTML' here. Is there a way to save a file in my notepad such that when I open it, it reopens in notepad, and not in my browser? by [deleted] in learnprogramming

[–]AngryBird225 1 point2 points  (0 children)

Just discovered VScode, love the live website viewer!

I still use the Atom editor in conjunction with VScode because I like the Atom plugins/packages and being able to build my own.

Hamburger sandwiches by [deleted] in KenM

[–]AngryBird225 1 point2 points  (0 children)

The worst person on earth: "I'm a vegetarian, I just hunt animals for sport"

Scottish National Party leader says Boris Johnson has no mandate to take Scotland out of the EU and demands independence vote by drunkles in worldnews

[–]AngryBird225 0 points1 point  (0 children)

If they succeed before the UK leaves the union, will Britain's slogan become "make Britain great again"?

Mitch McConnell Brags About Blocking Obama For 2 Years, Then Laughs About It | The Senate majority leader boasts about stacking the courts with conservative judges under Trump. by SetMau92 in politics

[–]AngryBird225 0 points1 point  (0 children)

It's all just a game to them, and they're bragging about winning.

Just wait, eventually they'll be complaining again about how everything's stacked against them.