i'm in engineering school and i'm very new in website development (not in my only did C language and algorithm) and i'd like to make one beautiful.
By searching, i read that using Padrino/Sinatra could be nice. I installed it, but i didn't find a tutorial which regroup all.
I'm so lost cause i find too much information but no good examples. In guides, i can't find anything on : how to design websites, how to make a menu...I think i really need examples or templates to start (a code to read).
Thanks
You can start from here: http://www.padrinorb.com/guides/blog-tutorial
It cover most of important concept of padrino and sinatra.
The best way I suggest is to look a bit into opensource websites, for example ours: https://github.com/padrino/padrino-web
On github there are thousands of websites built with padrino or sinatra, so you can find more less/higher complicated.
Here you can find a bigger list:
https://github.com/padrino/padrino-framework/wiki/Projects-using-Padrino
Related
I am a history teacher and have been working to assist students learning English with class materials and work along with many of my co-workers. Although it has its issues, google translate is incredibly helpful. I had been looking for ways to translate slides efficiently when I found the "Quickstart: Translate add-on for Google Slides" page of G Suite Developers. Link Below.
I know a bit about code and was able to quickly follow the instructions (which were excellent) to set up the add on, but many of my co-workers may struggle with adding it to their slides.
Long story short here is the question:
I am wondering if there is an already published version of the page/Quickstart Translate add-on which people can use instead of setting up the add on manually? I have not been able to find one.
I'm running into the same problem and have found the same document as you. Have you thought about publishing the add-on to your domain only. You can do that and the link you have links to the documentation on how to do so. You may need to work with the Google Admin in your district to make it happen though. Good luck!
I am looking for alternative guides or tutorials from the ones offered by Microsoft Academy to learn more about sharing objects in the HoloToolkit-Unity that has nothing to do with the HoloToolkit used by Microsoft at the Academy.
As I have seen until now, there are a lot of links and references to those tutorials, as I guess they were the first out there offering a pretty fair way of working with the Hololens.
Microsoft offers both toolkits in two different repositories: one to learn at the academy where each topic has a different adapted HoloToolkit and another one to use in real life.
Bonus:
I could understand that they are different to focus on different matters and then the academy samples can be a bit more light. But academy really focuses on most of the HoloToolkit features, so, why are both toolkits so different?
Some of the differences noted from both toolkits at the 240 Sharing topic are different namespaces (like GazeManager or the ImportExportAnchorManager), amount of code or missing (or at least not finding the equivalent from for example the CustomMessages or GestureManager classes)
The very big counterpart I find to this is that being so different makes actually the learning process almost double, first you have to learn how to use the Academy toolkit and afterwards the normal one.
I don't think this fits very well with the guidelines of stackoverflow, see here: https://stackoverflow.com/help/how-to-ask but I'll weigh in anyway. Those tutorials were put together prior to the holotoolkit existing as it does today on github. The better question is why don't they fix it? Your best bet is to find a tutorial elsewhere to help you get started that uses the holotoolkit such as mine:
http://www.cameronvetter.com/2016/10/21/hololens-development-tutorial-based-on-talk/
I need to find figures that show how many programmers world wide, has each of the following languages as their primary programming language.
C
C++
C#
Object-C
Java
JavaScript
VB.NET
VB6 (or older)
VBA
PHP
flash scripts
Ruby
Does anyone know of such comparison figures?
If not. Do you know of a good way to research this?
I could compare the number of tags here at stackoverflow and the number of articles for each language at sites like codeproject. This would give me a good idea.
But if you can suggest other ideas how to find these numbers I will be greatfull.
/Thomas
A very common site that does this is the TIOBE index. It basically searches for programming languages in major search engines and compares the results, and it shows you some history. The only problem is that C/C++/C# are not distinguished very well, therefore C is more dominant than you'd expect (not to mention that search results include many pages where many languages are listed, like programming FAQs). But in general, TIOBE gives a good idea, I think, and it should get better, since at least Google tends to know the difference between zero, two or four pluses.
Have you tried TIOBE index?
In general this is hard to measure because every approach has a lot of drawbacks.
TIOBE and others that are based on search results e.g. do not tell anything of what is actually used but just what is highly ranked by google (You can even see that just Google changing a bit of their results in 2004/2005 completely mixed TIOBE). And moreover they have the problem that lots of search-terms are ambiguous (Like Java which IS also an island, Ruby which also exists as gem, Python which is a snake and others which have alternative meaning). Another problem with search based is that most things put into the web stay up forever which means it is irrelevant if it is CURRENTLY interesting. If a C resource was put up in 2002 it likely still is available today (which hugely overrates leading or older languages.)
Here one is an interesting approach based on the number of book sales. (This at least eliminates the ambigous problem, but comes with others.)
Wikipedia also has a small article about the topic.
Try Google trends (see an example). In addition, check sites like freshmeat.net and note the number of projects in each language. That's only open source projects and many people will use a different language for their hobby projects than at work (i.e. one that sucks less).
Next, look for sites which offer job openings. I don't have a good link handy but this Google query should get your started.
not yet!!!!!!!
That's only open source projects and many people will use a different language for their hobby projects than at work (i.e. one that sucks less).
Next, look for sites which offer job openings. I don't have a good link handy but this Google query should get your started.
The title may seem slightly self-contradictory, and I accept that you can't really learn a language quickly. However, an experienced programmer that already has knowledge of a few languagues and different styles (functional, OO, imperative etc.) often wants to get started quickly. I've seen a few websites doing effective "translations" in the form of "just show me syntax equivalence". I can't remember the sites now, but for related languages (e.g. Perl/PHP) it's quite common.
Is there a better resource that covers more languages? Is there a resource that covers idioms as well as syntax? I think this would be incredibly useful for doing small amounts of work on existing code bases where you are not familiar with the language. Looking at the existing code, as we know, is not always a good indicator of quality. Likewise, for "learn by doing" weekend project I always have the urge to write reasonably idiomatic, clean code from the start. Such a resource could also link to known good example projects of varying sizes for those that prefer to learn by reading. Reading a well-written medium sized code base can also be much more practical when access to development environments might be limited.
I think it's possible to find tutorials and summaries for individual languages that provide some of this functionality in disparate web locations but I'm hoping there is a good, centralised, comparative place that the busy programmer can turn to.
You generally have two main things to overcome:
Syntax
Reference
Syntax you can pick up fairly quickly with a language tutorial and a stack of samplecode.
Reference (library/API calls) you need to find a proper guide to; perhaps the language reference, or perhaps google...
With those two in place, following a walkthrough (to get you used to using the development environment) will have you pretty much ready - you'll be able to look up what you want to say (reference), and know how to say it (syntax).
This, of course, applies principally to procedural/oop languages; languages that require a paradigm switch (ML/Haskell) you should go to lectures for ;)
(and for the weirder moments, there's SO!)
In the past my favour was "learning by doing". So e.g. I know a little bit of C++ and a lot of C#.Net but I must write a FTP Tool in Python.
So I sit for an hour and so the syntax differences by a tutorial, than I develop the form itself and look at the generated code. Then I search a open source Python FTP Client and get pieces of code (Not copy and paste, write it self to see, feel and remember the code!)
After a few hours I get it.
So: The mix is the best. A book, a piece of good code, the willing to learn and a free night with much coffee.
At the risk of sounding cheesy, I would start with the language's website tutorial and/or FAQ, followed by asking more specific questions here. SO is my centralized location for programming knowledge.
I remember when I learned Perl. I was asked to modify some Perl code at work and I'd never seen the language before. I had experience with several other languages, however, so it wasn't hard to figure out the syntax with the online Perl docs in one window and the code in another, side-by-side. I don't know that solely reading existing code is necessarily the best way to learn. In my case, I didn't know Perl but I could tell that the person who originally wrote the code didn't know Perl either. I'm not sure I could've distinguished between good Perl and really confusing Perl. It would've been nice to be able to ask questions here at the time.
Language isn't important. What is important is learning your ways around designing algorithms and the proper application of design patterns. Focus on the technique, not the language that implements a certain technique. Once you understand the proper development techniques, any programming language will just become real easy, no matter how obscure they are...
When you put a focus on a language, you're restricting your own knowledge.
http://devcheatsheet.com/ seems to be a step in the right direction: it aggregates cheat sheets/quick references and they are (somewhat) manually reviewed. It's also wide-ranging. It still comes up short a bit in terms of "idiomatic" quick reference: for example, the page on Ruby doesn't mention yield.
Rosetta Code appears to be an excellent resource that includes hints on coding idiomatically and moves from simple (like for-loops) to things like drawing. I haven't checked out how comprehensive it is, but there are a large number of languages and tasks listed. The drawbacks re: original question are:
Some of the linking is not accurate
(navigating Python->ForLoop will
take you to the top of the ForLoop
page, not the Python section). It's a
wiki, this can be improved.
Ideally you could "slice" the wiki
however you chose to see e.g. the top
20 tasks for two languages
side-by-side.
http://hyperpolyglot.org/ seems to be an almost perfect match for what I was looking for. The quality is not always there, or idiom can be lacking, but it has the same intention and is pretty comprehensive.
What are the best open source image gallery engines? Both stand-alone, and for existing frameworks such as Wordpress or Drupal.
Hopefully we can build a good list here over time.
Gallery is the classic choice. It has skins, security layers, heaps of plugins, etc, but can be run with the default settings easily if you want to. I've used it for years.
GOOD QUESTION, lots of people ask this in many web forums so hopefully we will get some good responses to this, and have a good list of solutions.
Personally I always used to say something like Gallery or some other OS script, but recently I have found myself using more and more something like a simple php script which just spits our a list of images (maybe 7 a page) but relying on a Javascript library such as mootools or Ext to provide all the functionality, particularly for small or individual galleries. Im particularly loving the noobslide mootools class at the moment which has some lovely gallery effects.
Noobslide
I suppose at the end of the day its all down to what you need, there will be no one answer that fits all but a number of different solutions will hopefully show up here that will suit different peoples needs.