Good work getting this far, but I think you're overcomplicating this a little. To match all contiguous alphabetic characters in a row, all you need is "/[A-z]+/". "+" means one or more of the preceding character. So put together that should be:
str.replace(/[A-z]+/g, "STUFF\$&")
There is a really helpful website called https://regexr.com that makes it really easy to play around with them. Here is your example:
You are 100% on the right track! Especially if this is your first language getting the basics down first is a great idea. If you feel like you are still learning and growing from the tutorials definitely keep doing them. Code academy and Solo are the best way to build a solid foundation for you to build off of. I use them a bunch still! I would also look into coding challenges online like LeetCode or CodeChef. These are great places to practice without having to worry about IDEs or compilers. And then I would get Visual Studio (it's the best c++ ide) and build a project! There are plenty of tutorials online and VS makes it pretty simple. Keep it up!
Hey bro/brodett. I write this to you on my last day as also a late teen. Python is a pretty good (not to mention useful) programming language to start with. I would recommend not so much YouTube, but http://www.codecademy.com. It is a great website that has a lot of tutorials covering various programming languages and markup languages (which HTML is). It also has tutorials on JavaScript, which is arguably the biggest web based scripting language in the world right now, and is very useful due to JavaScript's unique approach to oop (object oriented programming). If you want to get into web development, I would also recommend http://www.w3schools.com, which provides the basics to many web based languages/protocols including CSS, bootstrap (which is really a CSS class collection that is very helpful and scalable), more JavaScript(!), and some basic PHP and SQL (which are used for server development). If you want to do more backend though, I would start with Java as an Object Oriented start and then work my way into C#, as it is huge for back-ends and desktop applications.
In the end, it depends on what you want to do with your knowledge in programming, so choose depending on what you want to do with it.
I believe that's the visual studio code (https://code.visualstudio.com/) logo. It may be the visual studio for mac logo, though. They change the visual studio logos around annually.
Or if you want it to ALWAYS be cmd, click on the gear in the lower left, then in user settings on the right find "terminal.integrated.shell.windows"
and replace the value with one of the usual Windows values. If you can't find that setting name, add a new setting. Make sure there are curly braces on the outside of setting list, too.
No, the website only sends enough information so your browser knows what to display on your screen (or speak, if you're using a browser for the visually impaired. Or print, if you're printing the webpage, etc).
If the website accepts information and remembers it for later, and lets you access that information from other computers, then it's using a database. For example, a website with a sign up form will use a database, while https://gabrielecirulli.github.io/2048/ isn't using a database. Although https://gabrielecirulli.github.io/2048/ remembers your best score, it's storing it on your own computer, rather than on the website.
I am currently a senior in college getting my history degree with minors in archaeology and classical studies. I am only trying to learn code to create informative history 8 bit video games and improve my GIS skills.
However I am handling this entire thing like I would handle history or linguistics. I learned latin before I learned spanish. Do I need to learn assembly before I learn Python?
Is there a map somewhere of how these languages evolve?
it could look like this: http://www.ancient.eu/uploads/images/1028.png?v=1431030069 except with code instead of human language
Java has a round that you might want to use: http://www.tutorialspoint.com/java/number_round.htm
You can also just format a number for display without actually changing the value if you want too: http://stackoverflow.com/questions/153724/how-to-round-a-number-to-n-decimal-places-in-java
https://scratch.mit.edu/ could help you learn the basics of programming, and then once you feel comfortable there you could move onto using an arduino: https://www.google.com/amp/s/www.create-learn.us/blog/arduino-programming-for-kids/amp/
I believe vn is actually of the vector data type but I'm not positive because I am not familiar with float's (this is my first year of comp sci).
https://stackoverflow.com/questions/345838/ball-to-ball-collision-detection-and-handling
The code of interest is in here under the resolveCollision method
edit: now that I'm looking at it again I see that vn is the result of a dot product of two vectors which does return a scalar, so it's not a vector
https://stackoverflow.com/questions/345838/ball-to-ball-collision-detection-and-handling
This is where I'm getting the code from, the line of interest is in the resolveCollision method. I have the code all down in my program but without any floats or vector2d's. It's somewhat functional but seems a little off and I believe it's because I'm interpreting the line I posted about incorrectly. In my code I'm using only doubles, and have two separate doubles (an x and y part) for all the vector2d's the coder uses.
Visual Studio Code is only a code editor. It doesn't have any built in compilers. You'd have add those extensions in yourself. Looks like a quick Google search may help you here, but perhaps you can start here: https://code.visualstudio.com/docs/languages/cpp
maybe you should be downloading .Netcore sdk
you"ll find all the help you need on this link
Awesome, Thank You So Much! Someone suggested me to use glitch.com to start. I checked it out but it still looks a bit advanced for me. I also updated the links to my projects so It actually works now if youd like to check them out and see where my skill level is.
You could try this for work: https://code.visualstudio.com/docs/editor/portable
There's no browser based IDE that I know of, but if you can use visual studio at work then you can look at version control like GIT that /u/Paladinlvl99 mentioned above
As far as efficiency goes, you're in constant time, so no, you can't really do too much better. I would actually take a step back from efficiency in this script and look at how you can make your work more (1) readable, (2) maintainable, and (3) reusable. As questions such as "Would another programmer be able to understand what is happening in the code?", "Where would I use this code? Can I extend it to a basic application?".
In terms of python programming, you might consider a couple of this:
"\n".join(...)
is interesting, but I never see it in the wild. While Python code can be optimized to an extent, if you're looking for maximum efficiency, it isn't the language to use.I've created a repl with a couple of the ideas implemented here: https://repl.it/repls/SuburbanLiquidNaturaldocs
what is your objective? Are you looking to become a software developer professionally?
If you just want something to play with, you can check sites like code academy http://www.codecademy.com/ they have short tutorial for a bunch of languages. Depending on your objective, you can look at the different languages offered for the best fit.
Btw the following subreddit is dedicated to learning to program: http://www.reddit.com/r/learnprogramming/
Wait I just realized you have to upload these as files? If that's correct, then what you want is probably Handbrake
handbrake does batch conversion to mp4 surely. If you have problems getting players to recognize its usually the bandwidth too high. I had one old box that would only play if I used certain preset so maybe try the conversion with different device profile until you find one that works.
Check out Laracasts if you haven’t already. The site deals mostly with the PHP language and the Laravel ecosystem, but has expanded outward to other languages, technologies, and topics over the years to build a substantial library.
Laracasts is an incredible resource and Jeffrey Way has an easy going style of teaching that makes it fun to learn from and he explains topics with real-world examples that are actually useful and make the content easier to understand. The community is helpful and it’s a friendly place for new learners, which I think is important, especially when you’re first learning. I bought a lifetime subscription back when Laracasts first offered it and I haven’t had any regrets.
Oh that's not a huge resolution. OBS is open broadcast studio, a free application for streaming or recording. Nimbus is in the same category apparently ( i haven't used it). obs is geared towards extensibility and flexibility. Not as slick but very powerful. Streams much more than just your desktop / mic / webcam. It even has a vlc output so anything vlc will play, you can stream. Or if you want you can capture just the window of a particular program, not the whole screen.
However you display the animations (html / mp4 / ??? ) -- whichever program puts it on the screen for your laptop, you would just open up obs, create a scene, add a window capture to the scene (with your other program open) and choose your program from the list. You can add other things like an image to show if the program isn't open. Once the scene is set up, you would just click stream and then operate the other program to show the images as needed. Or of course just play a video using the vlc source, but if you go that route where you're not actually capturing any screens or windows, you might as well just use vlc alone, since it can put out a stream on it's own. On the recieving end, the machine with the monitors will be using vlc either way. Maybe you want to try using just two instances of vlc because simpler is often better at least as a fallback method. https://www.videolan.org/vlc/streaming.html
Have a look here, for example: https://stackoverflow.com/questions/4779577/background-images-how-to-fill-whole-div-if-image-is-small-and-vice-versa
You want to use "background-size: 100%" and "no-repeat" for the repeat.
Unless you're incorporating this into something bigger that you don't have control over, I'd delete all those "!important" bits, by the way.
I second that, but will add what you're seeing is the string literal in the resulting exe.
The double-spacing looks to me like what you get in the UTF-16 encoding from .NET.
On the off-chance it is a .NET exe, you can use something like JustDecompile or ILSpy to peek at the guts.
Uuummmmm excel? I don't think so, however you could use the image editing tools in Microsoft Word to rotate and crop the image (or use an actual image editor like gimp ). This isn't really a coding problem unless you need to do it to a lot of images, in Which case you may want to use Processing but if you don't like the Java or processing I'm sure there's a python library for it
Oh! I totally forgot about this, but there is a tool called BuiltWith Technology Profiler that may tell you... Or at least tell you if they are using a software (wordpress... etc) that would require an underlying database. Sorry for remembering this so late!
instead of following the book page by page, learning that heavy reading way, try https://www.codewars.com/, challenge yourself, and when you hit a wall on something you dont know, start educating yourself in that area, either by reading the parts about that in your book, or by googling.... and i gotta say, i google a lot when coding :D
Can you explain what you mean by both modified versions (I'm very new to this - I'm just doing a beginner's course in coding)? The console doesn't say anything at all for some reason - is it supposed to highlight the mistakes? Here's a link to the codepen I made of it https://codepen.io/anon/pen/evBemE