Since W3C define it is an integer number, and the majority of systems/software is limiting integers to 32bit signed numbers, that should be 2`147`483`647 (which would also be the limit for most integer values used in programming).
Still, it depends on the browser, but I wouldn't go above that number.
Sometimes the Linux Flash player starts lagging in the browser. This doesn't seem to fix it when trying to load Flash through another browser or restarting all browser windows completely.
A quick workaround in Chrome is playing with the Flash libraries. There is a version shipped together with Chrome and you can also use the library from the Flash player itself. If you have configured both .so files and navigate to:
Then you will find in the plugins list the Flash options similarly to the following screen:
By switching between the different libraries the lagging issue should get fixed. If not, update your library versions and use that approach when the browser rendering gets buggy again.
One of the most popular differences between operating systems is the new line separators used in each one of them.
Typically, the top three OS out there print new lines this way:
- Windows - CRLF, \r\n
- Mac OS X - CR, \r
- Linux/UNIX - LF, \n
It's normally an issue when working with a text document under different OS (or deploying to servers).
Luckily, there is a function in Eclipse that would help you automatically convert line endings - "Convert Line Delimiters To" under "File"
As a Linux user myself I personally prefer the UNIX-style as our servers are always running under some Linux derivative (and it helps mitigating possible issues related to this for version control systems or deploy scripts).
If you want to check the DB size before dump, login with mysql to the database and run:
SELECT table_schema "DB Name", sum( data_length + index_length ) / 1024 / 1024 "Data Base Size in MB"
FROM information_schema.TABLES GROUP BY table_schema ;
It would list all databases and their size in MB.
Thanks to the MySQL Forums for the tip.
I've found a great guide for Internet tethering from Ubuntu. You could use the same guide in Fedora with Gnome or other Gnome-related platform.
If you have a UDP (LAN) wired connectivity or a mobile broadband connection, you could create an ad-hoc wifi network that spreads that internet connectivity. Follow the steps, specifically the ad-hoc and automattic settings, as well as adding a specific WEP-protected password, in order to share the Internet connection to another device.
Keep in mind that 'Shared' option is mandatory for the 'server' and you also have to pick 'ad-hoc' type of network from the other device that you use to connect from.
I did two small updates today on the Fedora Mate setup (using the old Gnome supported release instead of the new terrible desktop environment).
First off, by default in Mate there are no Shutdown or Restart buttons. In order to be able to reboot, you need to wait for 60 seconds to logoff to the login screen and then reboot.
You could fix that by installing the ConsoleKit and activating the service as described here.
Second, since there is no UI to change the background visible on login and for unlocking (the annoying fireworks background), it's located in /usr/share/backgrounds/beefy-miracle/default/standard named 'beefy-miracle.png' (normally), though it's really linked from /usr/share/backgrounds/default.png (which links to the first one). So feel free to replace it and solve your problems.
On Fedora, install Groovy with yum.
Then, download Grails and follow the guide: http://grails.org/doc/latest/guide/gettingStarted.html#requirements
Important: set correct Java and Grails home paths to be used by the engine.
Plain and simple guide for Postgres - https://community.jboss.org/wiki/InstallPostgreSQLOnFedora?_sscc=t
The only difference here was that initdb was called through:
sudo postgresql-setup initdb
The correct way to do is to create a new super account.
python manage.py createsuperuser
On xampp/lampp install on Linux to be able to install or update themes or plugins, default user/pass:
pass: lampp (alternatively xampp)
For the past 7 years I have participated in tens of training courses - local and abroad - and trained hundreds if not thousands of lectures out there. Since I do regular classes on some topics, I need to polish my materials on a regular basis by doing research, testing and exploration to keep them up to date.
There is a variety of new technologies to be covered and I have to prepare materials from scratch for them after receiving a company request. What comes next are meetings with the client, management staff and target auditory, precisely calculating the amount of hours needed, topics, group knowledge level and the amount of exercises needed (unless it is a seminar-based course with no labs). Important thing is targeting the right group. I do send some quiz/test based forms to be filled which cover subjective evaluations from the trainees as well as technical questions helping me to figure out their level and averegize that value with their own personal marks. Forming a group of the same level is important for the pace - should be neither too quick, nor too slow.
Normally, for a training we need to do a research of the technology even if we're well acquainted with it. Some history at first (project creators, release date, where did inspiration come from), related technologies (comparison tables), current release and newest features. I have to create an agenda of topics and topic contents as well - just as books do. Then I need to design a structured material, put some code samples, graphics (diagrams), create demos and exercises for the people if needed. So we have extensive slides, demos on-site and exercises for the labs or at home.
I usually follow the same pattern creating a course content. I do create skeletons of presentations and estimate very roughly in a matter of time. Then I follow this flow. Here it is.
- Check previous training course folders. Since I've trained a number of training classes already, there is a chance that I can reuse some presentations or at least slides (graphics, code samples, comparisons, stats) for the current training as well. I could also mix 3 presentations and create a pretty neat and useful one here.
- Check out Slideshare. We're creating slides. Then why not we check for other slides from authors and see if we could learn anything new or gain inspiration about demos and labs.
- Google for other similar training courses. Since I've already built my skeleton and my timing, it'd be great to compare it to several other training classes out there. This could be _very_ subjective as it depends on the level of understanding of the group, the type of the training (lectures, samples, Q&A, labs, other) but still some synchronization could be done based on similar training programs.
- Search for tutorials and FAQ. Straight forward, browse online for tutorials and FAQ sections that could help adding some piece of information or example in the slides.
- Google with filetype:ppt. An extra slideshare search addition for other presentations all over the world. I managed to find a Chinese presentation once that was not readable for me, but 2 of the graphics were very helpful.
- Check for libraries and demos. Sites such as Java2s and other resources are so called 'code repositories'. Same goes for github and sourceforge and more, so you could find great sample projects or code snippets, well documented there.
- Check on YouTube. I used to not search for video tuts for several years, but latest trends show that many techs are covered as video tutorials and samples on YouTube which is great. So use it as an extra resource.
- Google for standard search phrases for the technology X such as: X examples, X demos, X code samples, X library. It helps.
- DZone/Reddit search. Social bookmarking sites and directories could be related to the tech you need to cover. Try them as well.
- Amazon. Similar to the training courses, check for books (to purchase if needed) or see the agenda and topics covered - you might have missed something important in your scope.
- #yourtechhere. Twitter has too many people so they could talk about what you need. The chance to read spam is high, but you could find rare facts there.
- StackOverflow/Nabble - super interesting Q&A questions for the most frequent issues with the tech could help for the support panel. You can even find the authors of the product you write about.
- Podcasts. Still not that popular, but you could download some audio material to your player and listen to it as a study book. Some universities even have open courses.
- Cheatsheets. I love them all. They have structured content with graphics or tables for the most important phases on every popular (and not so popular) technology. I even tend to give them to students while doing some exams to help a bit and use their reading memory.