#java script is too hard though
Explore tagged Tumblr posts
Text
ok im def gonna make my own website again, prob on neocities again. hell yeah time to start learning html and css again :D
39 notes
·
View notes
Text
Normally I just post about movies but I'm a software engineer by trade so I've got opinions on programming too.
Apparently it's a month of code or something because my dash is filled with people trying to learn Python. And that's great, because Python is a good language with a lot of support and job opportunities. I've just got some scattered thoughts that I thought I'd write down.
Python abstracts a number of useful concepts. It makes it easier to use, but it also means that if you don't understand the concepts then things might go wrong in ways you didn't expect. Memory management and pointer logic is so damn annoying, but you need to understand them. I learned these concepts by learning C++, hopefully there's an easier way these days.
Data structures and algorithms are the bread and butter of any real work (and they're pretty much all that come up in interviews) and they're language agnostic. If you don't know how to traverse a linked list, how to use recursion, what a hash map is for, etc. then you don't really know how to program. You'll pretty much never need to implement any of them from scratch, but you should know when to use them; think of them like building blocks in a Lego set.
Learning a new language is a hell of a lot easier after your first one. Going from Python to Java is mostly just syntax differences. Even "harder" languages like C++ mostly just mean more boilerplate while doing the same things. Learning a new spoken language in is hard, but learning a new programming language is generally closer to learning some new slang or a new accent. Lists in Python are called Vectors in C++, just like how french fries are called chips in London. If you know all the underlying concepts that are common to most programming languages then it's not a huge jump to a new one, at least if you're only doing all the most common stuff. (You will get tripped up by some of the minor differences though. Popping an item off of a stack in Python returns the element, but in Java it returns nothing. You have to read it with Top first. Definitely had a program fail due to that issue).
The above is not true for new paradigms. Python, C++ and Java are all iterative languages. You move to something functional like Haskell and you need a completely different way of thinking. Javascript (not in any way related to Java) has callbacks and I still don't quite have a good handle on them. Hardware languages like VHDL are all synchronous; every line of code in a program runs at the same time! That's a new way of thinking.
Python is stereotyped as a scripting language good only for glue programming or prototypes. It's excellent at those, but I've worked at a number of (successful) startups that all were Python on the backend. Python is robust enough and fast enough to be used for basically anything at this point, except maybe for embedded programming. If you do need the fastest speed possible then you can still drop in some raw C++ for the places you need it (one place I worked at had one very important piece of code in C++ because even milliseconds mattered there, but everything else was Python). The speed differences between Python and C++ are so much smaller these days that you only need them at the scale of the really big companies. It makes sense for Google to use C++ (and they use their own version of it to boot), but any company with less than 100 engineers is probably better off with Python in almost all cases. Honestly thought the best programming language is the one you like, and the one that you're good at.
Design patterns mostly don't matter. They really were only created to make up for language failures of C++; in the original design patterns book 17 of the 23 patterns were just core features of other contemporary languages like LISP. C++ was just really popular while also being kinda bad, so they were necessary. I don't think I've ever once thought about consciously using a design pattern since even before I graduated. Object oriented design is mostly in the same place. You'll use classes because it's a useful way to structure things but multiple inheritance and polymorphism and all the other terms you've learned really don't come into play too often and when they do you use the simplest possible form of them. Code should be simple and easy to understand so make it as simple as possible. As far as inheritance the most I'm willing to do is to have a class with abstract functions (i.e. classes where some functions are empty but are expected to be filled out by the child class) but even then there are usually good alternatives to this.
Related to the above: simple is best. Simple is elegant. If you solve a problem with 4000 lines of code using a bunch of esoteric data structures and language quirks, but someone else did it in 10 then I'll pick the 10. On the other hand a one liner function that requires a lot of unpacking, like a Python function with a bunch of nested lambdas, might be easier to read if you split it up a bit more. Time to read and understand the code is the most important metric, more important than runtime or memory use. You can optimize for the other two later if you have to, but simple has to prevail for the first pass otherwise it's going to be hard for other people to understand. In fact, it'll be hard for you to understand too when you come back to it 3 months later without any context.
Note that I've cut a few things for simplicity. For example: VHDL doesn't quite require every line to run at the same time, but it's still a major paradigm of the language that isn't present in most other languages.
Ok that was a lot to read. I guess I have more to say about programming than I thought. But the core ideas are: Python is pretty good, other languages don't need to be scary, learn your data structures and algorithms and above all keep your code simple and clean.
#programming#python#software engineering#java#java programming#c++#javascript#haskell#VHDL#hardware programming#embedded programming#month of code#design patterns#common lisp#google#data structures#algorithms#hash table#recursion#array#lists#vectors#vector#list#arrays#object oriented programming#functional programming#iterative programming#callbacks
20 notes
·
View notes
Text
Top 10 Benefits Of Having A Digital Marketing Career - 2020
Though the idea of digital marketing in India is not a new one, its implementation and rapid growth fairly and comparatively rare. In contemporary times. It can transparently be seen that the mainstream of businesses is shifting from traditional to digital marketing day by day. To be precise, up until 2010, the traditional business models were dominating the field of Indian business arena and practices. One of the biggest reasons for this happening was the attitude of the entrepreneurs who simply did not want to leave that kind of traditional business media practices.
However, after 2010, a paradigm shift started to happen when these entrepreneurs started to understand and appreciate the stuff that digital media in the fields of business was offering.
Before starting to talk about the opportunities and perks that having a career in digital marketing presents, let's understand the scopes in India in contemporary times. The Indian government has started a program with the name inverted "Digital India" which created a lot of opportunities in the digital marketing branch in order to empower Indian society and economy digitally.
Benefits of having a Digital Marketing Job :1) Freedom :
Freedom is one of the biggest perks having a career in the digital marketing field. Any kind of freedom be it artistic or creative, it is one thing that can be guaranteed in this career as there is a lot of scope for reaching the goal. Depending on how the temper of your employees is, it may also be possible for you to continue your work from home.
It is pretty natural for people to want to use all the platforms in the Digital world in order to provide and sat updates. For example, the official Twitter handle of Mumbai Police is very very active and they provide details of each and every minute to the citizens by using those tweets. In order to make it much more attractive and interesting to be yours especially young ones sometimes the contents which are used are pretty creative. Therefore the freedom that is present in the careers of digital marketing is not just about the culture but also about the quality of work.
2) Demanding Future :
The scopes of digital marketing careers are on the rise constantly. One of the biggest reasons for that being possible is the versatile and flexible nature of the work which makes it so attractive to clients as well as marketers. People who are trying to enter the arena of digital marketing and associated careers have a lot of room to get into.
Those geeks who are savvy with technologies like SEM and SEO and are confident in their technical intellect are especially perfect for this career. Most of the businesses of the whole world are turning towards shifting their marketing techniques to the digital arena and looking at that, marketers can predict that the demand for digital marketing in the future will rise and get doubled up.
3) Scope :
One of the most important things about this career is that it is always engaging and ever-changing. That's what attracts most of the people to work in this field as there is always something to learn. The other thing is the adrenaline rush of getting to do adventures with new clients everyday especially if you are working with an agency.
if you don't want to work under a boss per se, a lot of freelancing options are there too. Portals like Indeed, Freelancer, Upwork, Naukari have freelancing opportunities that they can provide you as a freelancer.
4) Financially Good :
Marketing is one of the key tools for business. Because most marketing today is done in the digital field, the salary of digital marketers is on the rise. It has been calculated that a decent digital marketer on the time of demand can earn $400,000 in a year. One other big plus point is that the rays that you want to get exist at regular intervals. The better you are at your job and the more you are able to upgrade your skills, the higher the chances are to get big fat checks at the end of the day. Those who don't have much experience to start with can also earn around $300000 to $1,300,000 per year.
5) Not a Hectic Job :
Digital marketing is not a job like sales. Unlike traditional marketing where you had to go in order to promote and sell your services here, you can reach your potential target audiences through the web.
Not just manufactured products but also services sectors like restaurants and hotels are also taking the help of online platforms in order to promote their services. Because of the revolution in the technological field, it has been possible for people to promote and market their products and services from one place not roaming around
6) Easy to get into :
High qualifications and technical training to get into this field of career are not very important. There is no defined specific qualification that is required to be a digital marketer. If you are thinking about getting into this field and you worry that you don't have any specific qualifications then the good news for you is that you only need to be serious, creative and must have good communication skills, that's it.
Though it is better to have basic knowledge in the marketing field which you can get from digital marketing courses which are available today everywhere.
7) Discovering professionalism :
As the field that we're talking about is booming with the growing development in the technological sector a lot of opportunities are opening up. Associating oneself with these opportunities can provide a hard-hitting experience with professionalism which one can enjoy thoroughly. The diverse nature of this field can introduce a person to various sides and various ways of the world which eventually can lead to being a better professional.
8) Wide Range of jobs opportunities :
The digital marketing field is not restricted to only one kind of job structure or portfolio.
If you get into this field you will be exposed to jobs like :
Content marketing managerDigital brand managerContent writerDirector of digital marketingInternet marketing specialistInternet marketing directorContent brand managerSocial media marketing managerSocial media marketing analystSEO manager
9) Opportunity to show creativity :
If you are creative and actually in love with expressing your thoughts in an attractive way then this is true "The field" for you. Digital marketing provides various opportunities to showcase your creative skills as part of your portfolio.
10) Get Involved with a change :
Evolution is happening in the field of marketing. If you get involved with digital marketing jobs you will be a part of this revolution. The confinements of traditional media opened its doors to digital media. After that happened, automatically the various kinds of prospects that were intermingled with the digital media started to go up.
Getting associated with the digital marketing field especially in a booming time like this has no cons. If you are truly creative and passionate about your work then this is the appropriate job title for you. Increasing popularity simultaneously generated the rise of career opportunities which eventually in the digital marketing form led to the foundation of various kinds of institutes exclusively to teach and research digital marketing.
digital marketing course in jaipur
advance java in jaipur
asp net mvc training in jaipur
asp net programming in jaipur
business component development course in jaipur
c programming course in jaipur
c course in jaipur
data structure training course in jaipur
hibernate framework course in jaipur
java script training course in jaipur
java web component developer in jaipur
spring framework training course in jaipur
sql certification training course in jaipur
struts framework course in jaipur
vb net programming in jaipur
visual basic training course in jaipur
advanced diploma in computer science programming adcs adcp in jaipur
certified ethical hacking training course in jaipur
cloud salesforce certification training course in jaipur
oracle certification training in jaipur
rkcl rscit course in jaipur
unity game development course in jaipur
basic excel course in jaipur
summer training 2020 in jaipur
excel vba training course in jaipur
microsoft excel advanced course in jaipur
ms access training courses in jaipur
ms office course in jaipur
ms project training course in jaipur
3d animation using blender course in jaipur
adobe flash animation training course in jaipur
adobe illustrator training course in jaipur
adobe indesign training course in jaipur
coreldraw training course in jaipur
dtp graphic design courses in jaipur
graphic designing diploma course in jaipur
maya animation training course in jaipur
photoshop training course in jaipur
ajax training course in jaipur
css training course in jaipur
html training course in jaipur
javascript training course in jaipur
web designing course in jaipur
angularjs training course in jaipur
cakephp training course in jaipur
mongodb training course in jaipur
node js training course in jaipur
php training course in jaipur
wordpress training course in jaipur
interview skills training in jaipur
personality development course in jaipur
spoken english course in jaipur
ai artificial intelligence training course in jaipur
big data hadoop certification training course in jaipur
iot internet of things training course in jaipur
machine learning course in jaipur
python class certification training in jaipur
r language programming course in jaipur
android app course in jaipur
ios development course in jaipur
cisco ccna certification course training in jaipur
cisco ccnp course in jaipur
aws cloud computing course in jaipur
cloud computing certification training in jaipur
cloud salesforce certification training course 2 in jaipur
mcse windows server microsoft certification in jaipur
red hat certified system administrator in jaipur
rhce red hat certification in jaipur
dst diploma in software testing in jaipur
hp loadrunner performance testing course in jaipur
hp qtp uft course in jaipur
hp software testing certification training class in jaipur
istqb certification exam course in jaipur
jmeter performance testing in jaipur
selenium certification training course in jaipur
arduino training course in jaipur
embedded systems training course in jaipur
pcb circuit designing course in jaipur
raspberry pi training course in jaipur
robotics and embedded systems course in jaipur
robotics training class in jaipur
vlsi training course internship in jaipur
matlab training course in jaipur
plc scada training course in jaipur
solar energy training course in jaipur
3d studio max training 2 in jaipur
advanced diploma in interior designing in jaipur
diploma course in interior designing in jaipur
interior design course training in jaipur
ansys training course in jaipur
autocad for mechanical training in jaipur
catia training in jaipur
cnc programming training in jaipur
creo pro e training course in jaipur
hvac training course in jaipur
nx cad training course in jaipur
primavera training course in jaipur
solidworks training course in jaipur
advanced diploma course in jewellery designing in jaipur
diploma in jewellery design courses in jaipur
jewellery designing training courses in jaipur
rhino 3d training course in jaipur
autocad for civil training in jaipur
civil 3d training course in jaipur
ms project training courses in jaipur
mxroad training course in jaipur
staad pro training course in jaipur
3d studio max training in jaipur
autocad training course in jaipur
google sketchup training in jaipur
revit architecture training course in jaipur
a hardware course in jaipur
n networking courses training in jaipur
tally financial accounting course in jaipur
advanced diploma in commercial accountant in jaipur
diploma in banking and finance in jaipur
gst goods and service tax course in jaipur
mis training course diploma in jaipur
sap fico certification course in jaipur
sap mm training course in jaipur
winter internship training for b tech mca in jaipur
acc certification training course in jaipur
ccc training course in jaipur
computer teacher training course cttc in jaipur
dca diploma in computer application in jaipur
doap diploma in office automation publishing in jaipur
doeacc nielit o level course in jaipur
pgdca course in jaipur
adobe certified associate exam in jaipur
apple certification in jaipur
autodesk certified testing center in jaipur
google certification in jaipur
mos microsoft certification exams in jaipur
rkcl authorized center govt computer institute in jaipur
tally certification in jaipur
microsoft office training course in jaipur
robotics classes for kids in jaipur
1 note
·
View note
Text
On line casino Video games - On the web Poker - Aspect 1
Permit's begin with dissimilarities of on the net poker versus off line poker video game and the specialists and disadvantages of the on the net variation. The major main big difference is very clear - gamblers, the competitors can not view each individual other. Consequently, upon 1 hand a participant does not comprise towards continue to keep his "poker graphic" and upon the other hand the participant won't be able to "study" the opponent hand via concentrating upon the Entire body Language. As a result, inside of on the internet poker area the emotional minute of the recreation is as a substitute poor, for anyone it is optimistic and for anyone it is not therefore Great. Inside of other respects on line poker features simply rewards and it will get a extensive season towards popularity all of them. Listed here are the most important kinds.
Any house the very same as any on the web casinos effort and hard work 24 hrs a working day 365 times a yr and any gambler might enjoy all more than the clock gap 12 months.
A participant does not include toward tog up and transfer someplace. Participating in poker on the net at the personal computer is further more gentle that at the on line casino desk.
The gambler can opt for versus a extensive assortment of video games which include the rarest types, may perhaps enjoy in the course of a 15 second crack; or depart the desk any period. Avid gamers may possibly take part within just a selection of tournaments and money-game titles, can enjoy shorter passed tables or encounter-in the direction of-facial area, may well participate in at many on the web poker place tables at a season, perform numerous video games in just an hour with simultaneous shuffling and working. Season decrease for preference getting would make the video game extra dynamic. The gamers do not comprise toward deal with and depend the jackpot and their personalized chips.
Participating in poker on the web is a beneficial coach for the newbies participating in micro restrictions which are unable to be identified inside of off line on line casino.
Right before taking part in the video game.
If by yourself are geared up towards engage in poker on line, on your own should really set up individual packages. Merely the application includes 2 areas - server aspect - right here the playing cards are developed and content material over all the gamblers is gathered. Affected individual's component - right here the participant sees the playing cards, rivals and helps make gaming choices. Possibly sections of the computer software are linked by the Web and always replace material.
Patient Designs.
Affected individual plans can be of 2 layouts: downloaded (executable systems) and non-downloaded (flash or java, performed within just the browser). Non-downloaded applications are considerably less easy while their selection is improving upon. In the direction of perform non-downloaded poker space edition a gambler must, as a rule, force some button such as "Fast Enjoy", then a minimal browser window will be opened and the poker area software program will be downloaded there. If this is java software package, the participant need to include java scripts enabled inside of his browser, flash plug-within just really should be put in toward check out flash. The avid gamers are heading in the direction of consist of Website Explorer 5.5 or large with 128-byte encryption.
If by yourself want downloaded model (and it is further more handy and useful), remember to identify the component "Down load" at the internet web-site and obtain the software package (customarily 4-8 Mb, despite the fact that from time to time materialize lower types significantly less than 1MB; they obtain the computer software immediately after the release and then will put in the affected individual). As soon as the down load is detailed, start out the software and it will put in the affected individual application. As a rule the patient will routinely increase the icon of the poker house at your desktop or towards folder "Designs".
Regulations for the registration at the poker rooms, cash depositing and withdrawal of the successful cash are the identical as within just on the net casinos. Though registering, fill out the software, signify your total track record, deal with, cell phone range, electronic mail, pick login and password, and far too your display screen reputation that will be made use of for the duration of the poker area taking part in periods. Virtually all on the net poker rooms settle for playing cards. There are a handful of e-wallets these as Moneybookes, Neteller, Firepay and therefore upon in direction of comfort the avid gamers financing alternatives.
1 note
·
View note
Text
March 18th-March 24th, 2020 Reader Favorites Archive
The archive for the Reader Favorites chat that occurred from March 18th, 2020 to March 24th, 2020. The chat focused on the following question:
What device do you most often read webcomics on and why? Has this affected whether you read a comic or not?
carcarchu
Typically computer but I will use an emulator to download a specific app if i need to. It's a real pain but if i want to read a certain series enough i will download the dedicated app it's on
Capitania do Azar
Oh I'm all for reading in the computer. Bigger view, more details, no need to zoom on things or have weirdly placed panels.. nice
keii’ii (Heart of Keol)
I read a lot of vertical comics yet I read almost exclusively on desktop...
eli [a winged tale]
On mobile! I do think desktop work better for traditional layout comics though —- but in that case I usually just buy the actual physical copy (best experience imo)
LadyLazuli (Phantomarine)
Computer or mobile. But I particularly love reading things on my iPad. Closest proportions/feel to an actual book, I guess
Tuyetnhi (OIYD!)
same on Computer or mobile, but I read more comic sites on desktop and webtoons on mobile
Feather J. Fern
I read mostly on mobile due to reading on transit or on the go. Computer is only if the website is large spreads or large pages only
Ash🦀
I read on mobile because I’m on my phone a lot at work (I finish my work much faster than everyone else so /shrug until they notice my efficiency, might as well relax)
Cronaj (Whispers of the Past)
I read on my phone most of the time. I am often reading on the go, and I don't like reading comics in my office, because that's the room where I work.
Kabocha
I'm a mix of mobile and desktop. If it's a new-to-me comic and I find it through a platform that I'm browsing on my phone, the website needs to be mobile friendly for me, or available through ArchiveBinge... Otherwise, I'll forget it ^^:;; Unless something about the story REALLY catches me. Desktop though? Eh, as long as the website isn't super slow, it's fine. Basically for me, the website needs to be usable on whichever platform I'm checking it out on. If it's being tweeted rather than rec'd by a friend, I would really hope it's a site that has been tested for mobile friendliness at least.
(also, if the website is mobile friendly but the comic's page-by-page style, setting the max scale is SO helpful! that way I can zoom in on small panels or whatnot if I'm interested. https://css-tricks.com/snippets/html/responsive-meta-tag/)
sssfrs (JOE IS DEAD)
I prefer desktop because I can more easily bookmark comics
Erin Ptah (BICP | Leif & Thorn)
Desktop -- I have ComicRocket bookmarked on my phone, but the only comics I open there are the handful that I remember are readable on mobile.
If I get the print version I usually read it, although some book designs are more comfortable reads than others...
RebelVampire
For me it really depends on what I'm reading the comic for. If it's just for personal pleasure reading, then I tend to do a mix with a heavier emphasis on desktop since I'll read it while taking mini-breaks from what I'm working on. Sometimes I'll read a bit on mobile, but usually the majority I consume on my desktop. However, for CTP comics, unless they're super long, I actually read those almost exclusively on mobile. For me personally just as the host, I don't consider that reading free-time persay (more like unpaid work time). So it's just more work after work. And after work I just want to be mush on my bed. So I combine the best of both worlds and just be mush on my bed while being productive and getting something done. Insofar this hasnt really affected comics I've read. Most of the personal ones I choose read okay on both platforms, and the few that I would've not read cause of mobile issues were much older CTP comics so I read them anyway and just dealt with having to do it on desktop.
Cronaj (Whispers of the Past)
I have definitely given up on a few comics because they were basically unreadable on mobile, but usually those comics that were unreadable on mobile were also pretty hard to read on desktop too (i.e. bad fonts, lack of spacing between words/letters, small type, handwritten text, etc.) I also read mostly webtoons/scrolling-format comics, so I usually don't have a problem, but I also read a decent amount of page-by-page comics that are also easy to read on mobile, so some creators just know what they're doing
RebelVampire
Yeah I have to agree there. That my personal experience is that comics that are bad to read on mobile were generally still bad for desktop.
chalcara [Nyx+Nyssa]
Agree too. Font needs to be clean and the spacing needs to be good, and I'm fine.
Additionally, I both strongly prefer page-by-page comics and I prefer to read on the phone, so I want to be easily able to pinch zoom to dvelve into the details. Some web-pages break that by trying fancy navigation thingies, and that's usually enough for me to look somewhere else for entertainment.
And, of course, infamous mention to that one, now defunct webcomic, that gave you a "don't steal, don't copy" java script pop-up if you happened to click or tap on an image, with the results you couldn't scroll on mobile at all. That was a... less than ideal webdesign choice.
Holmeaa - working on WAYFINDERS
I am on my computer mostly, but I am so baad at reading, I am dealing with adultling haha
Tantz Aerine (Without Moonlight)
I don't like reading things on my phone, but that's because my eyes aren't what they used to be. I prefer desktop/laptop optimized, page-by-page comics. Though the vertical scroll isn't a deal breaker, it's not something I'm a fan of UNLESS it's used in such a manner that it adds to the story. That is rare though, at least in the webcomics I've come across. Tiny fonts or hard-ro-read fancy fonts are an instant turn-off.
sagaholmgaard
I also prefer being on my computer, and reading traditional page styles over vertical scroll comics. If a comic is designed for vertical scroll it can be good!! But I'm really not a fan of 'breaking up' a traditional page for a scrolling format as it kinda ruins the composition that the creator worked so hard on :( and idk I've never been good at using comics apps on my phone, I just dont get into the habit of opening them and checking for updates. I'm much better at checking for updates on a webpage on my laptop.
Nutty (Court of Roses)
Last year for my birthday I got a Samsung Tab! It's good for drawing, but I'm still getting used to that part... but turns out it's also perfect for reading webcomics!! The screen has the perfect size to read pages, which I can do on the go as long as I'm able to connect to WiFi. I also have the Feedly app, which tracks RSS feeds for my fav comics and lets me know where I left off!
DanitheCarutor
Eeeh I'll read a comic on mobile when I'm on the toilet in the morning or riding in the car, but I prefer desktop. It's easier to read and see the details of a page without zooming in, also I'm just not much of a phone person. There have been a couple comics I couldn't read on my phone either due to the layout or font size, causing me to wait till I got to my computer, but this is a rare case. Most of the time I don't have much of an issue. Although vertical scroll comics with a ton of empty space in between panels are an absolute pain in the ass to read on the desktop, so much scrolling! Aurg!
#ctparchive#comics#webcomics#indie comics#comic chat#comic discussion#comic tea party#ctp#reader favorites
1 note
·
View note
Text
Important libraries for data science and Machine learning.
Python has more than 137,000 libraries which is help in various ways.In the data age where data is looks like the oil or electricity .In coming days companies are requires more skilled full data scientist , Machine Learning engineer, deep learning engineer, to avail insights by processing massive data sets.
Python libraries for different data science task:
Python Libraries for Data Collection
Beautiful Soup
Scrapy
Selenium
Python Libraries for Data Cleaning and Manipulation
Pandas
PyOD
NumPy
Spacy
Python Libraries for Data Visualization
Matplotlib
Seaborn
Bokeh
Python Libraries for Modeling
Scikit-learn
TensorFlow
PyTorch
Python Libraries for Model Interpretability
Lime
H2O
Python Libraries for Audio Processing
Librosa
Madmom
pyAudioAnalysis
Python Libraries for Image Processing
OpenCV-Python
Scikit-image
Pillow
Python Libraries for Database
Psycopg
SQLAlchemy
Python Libraries for Deployment
Flask
Django
Best Framework for Machine Learning:
1. Tensorflow :
If you are working or interested about Machine Learning, then you might have heard about this famous Open Source library known as Tensorflow. It was developed at Google by Brain Team. Almost all Google’s Applications use Tensorflow for Machine Learning. If you are using Google photos or Google voice search then indirectly you are using the models built using Tensorflow.
Tensorflow is just a computational framework for expressing algorithms involving large number of Tensor operations, since Neural networks can be expressed as computational graphs they can be implemented using Tensorflow as a series of operations on Tensors. Tensors are N-dimensional matrices which represents our Data.
2. Keras :
Keras is one of the coolest Machine learning library. If you are a beginner in Machine Learning then I suggest you to use Keras. It provides a easier way to express Neural networks. It also provides some of the utilities for processing datasets, compiling models, evaluating results, visualization of graphs and many more.
Keras internally uses either Tensorflow or Theano as backend. Some other pouplar neural network frameworks like CNTK can also be used. If you are using Tensorflow as backend then you can refer to the Tensorflow architecture diagram shown in Tensorflow section of this article. Keras is slow when compared to other libraries because it constructs a computational graph using the backend infrastructure and then uses it to perform operations. Keras models are portable (HDF5 models) and Keras provides many preprocessed datasets and pretrained models like Inception, SqueezeNet, Mnist, VGG, ResNet etc
3.Theano :
Theano is a computational framework for computing multidimensional arrays. Theano is similar to Tensorflow , but Theano is not as efficient as Tensorflow because of it’s inability to suit into production environments. Theano can be used on a prallel or distributed environments just like Tensorflow.
4.APACHE SPARK:
Spark is an open source cluster-computing framework originally developed at Berkeley���s lab and was initially released on 26th of May 2014, It is majorly written in Scala, Java, Python and R. though produced in Berkery’s lab at University of California it was later donated to Apache Software Foundation.
Spark core is basically the foundation for this project, This is complicated too, but instead of worrying about Numpy arrays it lets you work with its own Spark RDD data structures, which anyone in knowledge with big data would understand its uses. As a user, we could also work with Spark SQL data frames. With all these features it creates dense and sparks feature label vectors for you thus carrying away much complexity to feed to ML algorithms.
5. CAFFE:
Caffe is an open source framework under a BSD license. CAFFE(Convolutional Architecture for Fast Feature Embedding) is a deep learning tool which was developed by UC Berkeley, this framework is mainly written in CPP. It supports many different types of architectures for deep learning focusing mainly on image classification and segmentation. It supports almost all major schemes and is fully connected neural network designs, it offers GPU as well as CPU based acceleration as well like TensorFlow.
CAFFE is mainly used in the academic research projects and to design startups Prototypes. Even Yahoo has integrated caffe with Apache Spark to create CaffeOnSpark, another great deep learning framework.
6.PyTorch.
Torch is also a machine learning open source library, a proper scientific computing framework. Its makers brag it as easiest ML framework, though its complexity is relatively simple which comes from its scripting language interface from Lua programming language interface. There are just numbers(no int, short or double) in it which are not categorized further like in any other language. So its ease many operations and functions. Torch is used by Facebook AI Research Group, IBM, Yandex and the Idiap Research Institute, it has recently extended its use for Android and iOS.
7.Scikit-learn
Scikit-Learn is a very powerful free to use Python library for ML that is widely used in Building models. It is founded and built on foundations of many other libraries namely SciPy, Numpy and matplotlib, it is also one of the most efficient tool for statistical modeling techniques namely classification, regression, clustering.
Scikit-Learn comes with features like supervised & unsupervised learning algorithms and even cross-validation. Scikit-learn is largely written in Python, with some core algorithms written in Cython to achieve performance. Support vector machines are implemented by a Cython wrapper around LIBSVM.
Below is a list of frameworks for machine learning engineers:
Apache Singa is a general distributed deep learning platform for training big deep learning models over large datasets. It is designed with an intuitive programming model based on the layer abstraction. A variety of popular deep learning models are supported, namely feed-forward models including convolutional neural networks (CNN), energy models like restricted Boltzmann machine (RBM), and recurrent neural networks (RNN). Many built-in layers are provided for users.
Amazon Machine Learning is a service that makes it easy for developers of all skill levels to use machine learning technology. Amazon Machine Learning provides visualization tools and wizards that guide you through the process of creating machine learning (ML) models without having to learn complex ML algorithms and technology. It connects to data stored in Amazon S3, Redshift, or RDS, and can run binary classification, multiclass categorization, or regression on said data to create a model.
Azure ML Studio allows Microsoft Azure users to create and train models, then turn them into APIs that can be consumed by other services. Users get up to 10GB of storage per account for model data, although you can also connect your own Azure storage to the service for larger models. A wide range of algorithms are available, courtesy of both Microsoft and third parties. You don’t even need an account to try out the service; you can log in anonymously and use Azure ML Studio for up to eight hours.
Caffe is a deep learning framework made with expression, speed, and modularity in mind. It is developed by the Berkeley Vision and Learning Center (BVLC) and by community contributors. Yangqing Jia created the project during his PhD at UC Berkeley. Caffe is released under the BSD 2-Clause license. Models and optimization are defined by configuration without hard-coding & user can switch between CPU and GPU. Speed makes Caffe perfect for research experiments and industry deployment. Caffe can process over 60M images per day with a single NVIDIA K40 GPU.
H2O makes it possible for anyone to easily apply math and predictive analytics to solve today’s most challenging business problems. It intelligently combines unique features not currently found in other machine learning platforms including: Best of Breed Open Source Technology, Easy-to-use WebUI and Familiar Interfaces, Data Agnostic Support for all Common Database and File Types. With H2O, you can work with your existing languages and tools. Further, you can extend the platform seamlessly into your Hadoop environments.
Massive Online Analysis (MOA) is the most popular open source framework for data stream mining, with a very active growing community. It includes a collection of machine learning algorithms (classification, regression, clustering, outlier detection, concept drift detection and recommender systems) and tools for evaluation. Related to the WEKA project, MOA is also written in Java, while scaling to more demanding problems.
MLlib (Spark) is Apache Spark’s machine learning library. Its goal is to make practical machine learning scalable and easy. It consists of common learning algorithms and utilities, including classification, regression, clustering, collaborative filtering, dimensionality reduction, as well as lower-level optimization primitives and higher-level pipeline APIs.
mlpack, a C++-based machine learning library originally rolled out in 2011 and designed for “scalability, speed, and ease-of-use,” according to the library’s creators. Implementing mlpack can be done through a cache of command-line executables for quick-and-dirty, “black box” operations, or with a C++ API for more sophisticated work. Mlpack provides these algorithms as simple command-line programs and C++ classes which can then be integrated into larger-scale machine learning solutions.
Pattern is a web mining module for the Python programming language. It has tools for data mining (Google, Twitter and Wikipedia API, a web crawler, a HTML DOM parser), natural language processing (part-of-speech taggers, n-gram search, sentiment analysis, WordNet), machine learning (vector space model, clustering, SVM), network analysis and visualization.
Scikit-Learn leverages Python’s breadth by building on top of several existing Python packages — NumPy, SciPy, and matplotlib — for math and science work. The resulting libraries can be used either for interactive “workbench” applications or be embedded into other software and reused. The kit is available under a BSD license, so it’s fully open and reusable. Scikit-learn includes tools for many of the standard machine-learning tasks (such as clustering, classification, regression, etc.). And since scikit-learn is developed by a large community of developers and machine-learning experts, promising new techniques tend to be included in fairly short order.
Shogun is among the oldest, most venerable of machine learning libraries, Shogun was created in 1999 and written in C++, but isn’t limited to working in C++. Thanks to the SWIG library, Shogun can be used transparently in such languages and environments: as Java, Python, C#, Ruby, R, Lua, Octave, and Matlab. Shogun is designed for unified large-scale learning for a broad range of feature types and learning settings, like classification, regression, or explorative data analysis.
TensorFlow is an open source software library for numerical computation using data flow graphs. TensorFlow implements what are called data flow graphs, where batches of data (“tensors”) can be processed by a series of algorithms described by a graph. The movements of the data through the system are called “flows” — hence, the name. Graphs can be assembled with C++ or Python and can be processed on CPUs or GPUs.
Theano is a Python library that lets you to define, optimize, and evaluate mathematical expressions, especially ones with multi-dimensional arrays (numpy.ndarray). Using Theano it is possible to attain speeds rivaling hand-crafted C implementations for problems involving large amounts of data. It was written at the LISA lab to support rapid development of efficient machine learning algorithms. Theano is named after the Greek mathematician, who may have been Pythagoras’ wife. Theano is released under a BSD license.
Torch is a scientific computing framework with wide support for machine learning algorithms that puts GPUs first. It is easy to use and efficient, thanks to an easy and fast scripting language, LuaJIT, and an underlying C/CUDA implementation. The goal of Torch is to have maximum flexibility and speed in building your scientific algorithms while making the process extremely simple. Torch comes with a large ecosystem of community-driven packages in machine learning, computer vision, signal processing, parallel processing, image, video, audio and networking among others, and builds on top of the Lua community.
Veles is a distributed platform for deep-learning applications, and it’s written in C++, although it uses Python to perform automation and coordination between nodes. Datasets can be analyzed and automatically normalized before being fed to the cluster, and a REST API allows the trained model to be used in production immediately. It focuses on performance and flexibility. It has little hard-coded entities and enables training of all the widely recognized topologies, such as fully connected nets, convolutional nets, recurent nets etc.
1 note
·
View note
Text
Java mouse coordinates offset

JAVA MOUSE COORDINATES OFFSET CODE
You would then be in a position to better ascertain the location of the image and convert the mouse point values you require, for example. Instead, you could create a custom component and render the image the way you want. At the time of mouse click, variable x will get X coordinate an y will get Y coordinate or mouse click location. Here Mouse Adapter class used to implement mouse click event. We can capture any mouse clicked location or position on a java applet or frame. While you could create your own delegate, you would end up needing to create one for each supported platform and.I'm too lazy. Get X, Y Coordinate at Mouse Clicked Location in Java Applet or Frame.
JAVA MOUSE COORDINATES OFFSET CODE
How can I modify above code to get coordinates relative to image?īasically, it would be very hard to achieve this using a JLabel as the actual position of the image is determined by the JLabel's look and feel delegate. So here's the problem: the JPanel is larger than the image and the JScrollPane is taking up 100% of the JPanel (which looks nice, I'm happy about that) but the mousePressed event is giving me the coordinates relative to the JScrollPane/JPanel, not the image so the x coordinate is offset (even though the mouseListener was add to the JLabel containing the ImageIcon). ScreenLabel.addMouseListener(new MouseAdapter() //I override only one method for presentation Removing all the stuff about the offset, you can easily get the X, Y coordinates of the click relative to the browser. ScreenScroll.getViewport().setBackground(Color.white) See Java Language Changes for a summary of updated language features in Java SE 9 and subsequent releases. Examples and practices described in this page don't take advantage of improvements introduced in later releases and might use technology no longer available. JScrollPane screenScroll = new JScrollPane(screenLabel) The Java Tutorials have been written for JDK 8. final JLabel screenLabel = new JLabel(new ImageIcon(image)) The JScrollPane, screenScroll, is contained in a JPanel with a BorderLayout. Tip: To get the vertical coordinate (according to the client area) of the mouse pointer, use the clientY property. I want to get the mouse coordinates of a mouse click relative to an image which is within a JSrollPane. The clientX property returns the horizontal coordinate (according to the client area) of the mouse pointer when a mouse event was triggered. The MouseListener interface is found in package. You can simulated user behavior by using this simple methods.I am building a desktop application in Java. The Java MouseListener is notified whenever you change the state of mouse. It is very useful when you want to test desktop or even web application. No additional dependencies or libraries are required. Java has several ways to simulate user inputs.
press two keys simulating copy and paste.
left click mouse to capture the area MessageBox will display results Press Esc to exit. position crosshair and right click mouse to anchor it 2.
Java robot type string - simulate user typing/input Reports position and size of selected rectangle To select area: 1.
Mouse move to coordinates - x and y with Java robot.
In this post tested with Java 8(this scripts are good for automations and testing purposes):

0 notes
Text
Datacrow java runtime environment

#Datacrow java runtime environment Pc
#Datacrow java runtime environment windows
Right-click the created shortcut and select properties.You can also use "Send to > Desktop (create shortcut)". Click "Create shortcut" on the context menu. bat file, a command terminal opens and do the commands on the. It is recommended to use "cd" command before "java" command to specify the default running directory. Open a text editor (for example, notepad) and create a new file by it.To add options, you can choice from two ways.
#Datacrow java runtime environment windows
It is special for Windows to run Java GUI applications without terminals.) command. jar file type to be run by javaw.exe (which is another java running command. Usually, the JRE installer registers the.
Go to ~/Applications/Utilities in Finder.
Open Spotlight ⌘ Cmd + Space and search for "terminal".
Alternatively use ⊞ Win + R and enter "cmd" in the Run window.
Open the start menu and search for "cmd".
Open the start menu and search for "terminal".
How to access command terminals on different operating systems. Font rendering options eSystemAAFontSettings=on -Dswing.aatext=true Enables anti-aliasing. 3d=true =true Enabling DirectX graphic acceleration for Windows. tested on WinXP + nVidia FX1500 + dual monitor) use: =true =false although note that the opengl option can cause problems with window managers on Linux. If you have problem with this setting (false icon and background, dialog.
#Datacrow java runtime environment Pc
Specify it if you know your PC has OpenGL 2D graphic accelerators. Graphic acceleration options =true Enabling OpenGL. 6Addresses=true Specify it if you need IPv6. Set it if the proxy server requires authentication. Dhttp.proxyPassword= specifies proxy password. For example: -Dhttp.proxyHost=8080 -Dhttp.proxyUser= specifies proxy username. For example: -Dhttp.proxyHost=192.168.1.1 -Dhttp.proxyPort= specifies a proxy port. Proxy options -Dhttp.proxyHost= specifies a proxy server if you want to use http though a proxy server. Increase it to, for example, 512 MB with the option -Xmx512m. The default value is 64 MB which is often too small. This is the maximum memory capacity of the Java application. Memory options -Xmx is the only memory option which really matters. See Java documentation for more information. The following are commonly used options for the Java VM. For example, for to run JOSM, type commands like this: It's not so hard even if you don't have any experience of command lines. Some Java applications (for example, mkgmap.jar) cannot run without terminals. This way is a more basic fundamental approach which you can use on any operating system. Think twice before you set up your system to start jar files automatically by just clicking-this would work with all downloaded jar files then (also with accidental, malicious downloads)! Better use the command line or a manually built link/script. Firstly, you'll need Java installed as detailed above, and with the necessary operating system hooks enabled, and these may not be available for some operating systems. The file contains details of which Java class files to run by default, and the application just starts up. This means you can simply double-click the file on many operating systems.

0 notes
Text
THE CUSTOMER SUPPORT PEOPLE TIED FOR FIRST PRIZE WITH ENTRIES I STILL SHIVER TO RECALL
They've become more bureaucratic, but otherwise they seem to be much more difficult. Another reason people don't work on big things, I say: don't believe it when they got started in January.1 In more recent times, Sarbanes-Oxley deters people like him from being CFOs of public companies, that's proof enough that it's broken. The founders of Airbnb didn't realize at first that they're startup ideas. You have to use Java. Being a really good job on anything you don't think things you don't want their money, is at the conferences that are occasionally organized for startups to be killed by competitors. It might still be reasonable to stick with the Old Testament Proverbs 17:28. The saddest windows close when other people die. These ideas didn't just seem small. And if you feel you're speaking too slowly, because their spread will be driven by a spirit of benevolence. If I had a design philosophy. Your old bad habits now help you to understand your users.
What matters in Silicon Valley it seems normal to me, a whole new piece of software—in war, for example, to want to do, or by the number of startups is that they hate the type of company designed to grow fast. Any programming language can be divided into two parts: some set of fundamental operators that play the role of a political commissar in a Red Army unit.2 Indeed, although investors hate it, you should get a job paying about $80,000 a year at a big company, then you should be protected against such tricks initially. We're all trying to de-emphasize search? In most, the cause of the 1929 crash. I bought it, for the company to become valuable, and the fact that Jessica and I ran YC day to day management. You're just looking for things we can't say: to look at users.3 But if you parse it all, your filter might degenerate into a mere html recognizer. Why would they go to college still matters, but not powerful.4 And that is just what tends to be way more than the desire to do something audacious.
But what is a novelist to do? Unpopularity is a communicable disease; kids too nice to pick on one another of course Michelangelo had his nose broken by a bully, but they love plans and procedures and protocols.5 In this respect, and the first thing about the mechanics of startups, they decided to try it themselves.6 The philistines have now been trained that anything hung on a wall is art. It's much better than Microsoft today. I let myself believe that my job was to be the scripting languages of early IBM mainframes. Human Knowledge another shot in college. In fact, don't even ask for their email address unless you need to attract. It will actually become a reasonable strategy or a more reasonable strategy to suspect everything new. Ruby on Linux.7 A Unified Theory of VC Suckage March 2005 A couple months ago, the main thing I'd tell him would be to make it excessively hackerish.8
I'm trying other strategies now, but only a few thousand great programmers a year. Credit card debt is a bad data point.9 Even if the professor let you change your sales conversations just a little from do you want to do that doesn't mean you should actually use it to write software. I'm not writing here about Java which I have never used but about hacker's radar which I have thought about a lot.10 And of course if Microsoft is your model, you realize how little most people judging you are more like a fluid than individual objects. For a given total amount of pain, raising money, raising money, and so on. If they get confused or bored, they won't tell you them. Even a fool is thought wise if he keeps silent, says the New York skyline shot from a discreet distance, or a tool for system administrators, and so on.
The fact that super-angels would quibble about valuations. They think creating a startup is just a subset of the language is brief to a fault. Because they're good guys and they're trying to produce research, and set them to work on things you like from the back. It would only dilute their own judgment to average it together with other people's mistakes, traffic jams, addictive but unrewarding pastimes. So if some friends want you to sell them the company is their project. A novice imitates without knowing it. See, we love big juicy lumbar disc herniations, but they are still missing a few things we would have the new feature too. Whatever the story is in the average case if you release a new version sanitized for your protection.11 Made Lisp Different December 2001 rev.
So, paradoxically, if you want to write an essay about the condition it induces, which I can just incorporate in the essay. The idea of a good idea because a they're fair, and b means they can supply advice and connections only the top VCs can supply?12 The Pie Fallacy A surprising number of people who want to start a startup. An optimization marketplace would be a waste of time, not making money has become habitual. The more ambitious merely hoped to climb the same ladder faster. Nerds still in school is that real work needs two things errands don't: big chunks of our software, even though the phrase compact disc player is not present on those pages. Richard Feynman said that the world would be that how one presented oneself counted more than the founders realized. Many famous works of art are unfinished. Either your site is about.13 Actually what they care most about is your traffic, then what other investors think. '', I look for probabilities for Subject free'', free!
Notes
You need to offer especially large rewards to get good grades in them to ignore these clauses, because I can't tell if it were Can you pass the salt? Vision research may be even larger than the time and became the twin centers from which they don't yet get what they're wasting their time on applets, but there has to be located elsewhere. The two 10 minuteses have 3 weeks between them generate a lot of time, because the median total compensation, including both you and listen only to emphasize that whatever the valuation of hard work is a facebook exclusively for college students.
Innosight, February 2012. The solution for this at YC. You could probably write a book or movie or desktop application in this respect.
His critical invention was a refinement that made a general-purpose file classifier so good. It might also be argued that we should be the dual meaning of the subject of language power in Succinctness is Power.
The empirical evidence suggests that if the students did well they do, I'll have people nagging me for features.
Now to people he meets at parties he's a real idea that they kill you, they'll have big bags of cumin for the spot very easily. I'd take an angel.
There was one of the first half of it in B. They're often different in kind, because you can talk about the details.
Distribution of alms, and the first question is to say, but simply because he was notoriously improvident and was troubled by debts all his life. There are some VCs who don't like content is the limit that such tricks, you'd get ten times as much effort on sales.
8 in London, 13 in New York. As I was a special name for these topics. I remember are famous flops like the stuff one used to build little Web appliances.
Later you can play it safe by excluding VC firms have started to give up legal protections and rely on social conventions about executive salaries were low partly because it depends on a road there are a different idea of what's valuable is least likely to coincide with mathematicians' judgements. Did you just get kicked out for a couple hundred years ago they might have infected ten percent of them.
Macros very close to the margin for error.
But in a couple of hackers with no deadline, you should avoid raising money, but no doubt often are, which a seemed more serious and b the local stuff.
The problem with most of the 3 month old Microsoft presented at a large pizza and found an open booth.
Jones, A P supermarket chain because it doesn't commit you to stop raising money, you may have been a good deal for you to test a new search engine, the Patek Philippe 10 Day Tourbillon, is he going to kill. I doubt he is at fault, since they're an existing investor, the owner has already told you an asking price. Is this unfair?
#automatically generated text#Markov chains#Paul Graham#Python#Patrick Mooney#reason#tricks#benevolence#mathematicians#founders#company#world#competitors#deal#compensation#times#years#cumin#matters#procedures#herniations#guys#half#Distribution#power#A#shot#booth#Unpopularity
1 note
·
View note
Text

As I walked the thing of chaos this morning I got to thinking about our future, and by our future I’m not talking just the furry beast and mine, I’m talking ours, the current caretakers of the western world.
Yep, going to be a deep dive this morning, there’s a lot to process out there, so grab a Java and open your mind, we need to talk.
I’m a big picture thinker and fact driven, it’s both a blessing and a curse as I tend to over analyze situations at times to determine direction. Data is my friend, facts drive my decisions.
By all measures we are in a world of hurt right now, we’ve lost leave of our senses and we are making really bad choices these days. We are like the teenagers left home for the weekend for the first time and I’m sure our intention was just “to have a couple friends over” even though mom and dad said no, and maybe we know that things could take a bad turn. Problem is when you are a teenager you don’t realize how hard mom and dad worked to buy and build that home you take for granted, and as the police drive away in the early morning hours as you stand at where the front door used to be looking out on the contents of your home on the front lawn like a scene out of Animal House you get that pit of the stomach feeling of the trouble you are going to be in when your parents get back early from their romantic weekend getaway. Problem is you aren’t think about where you are going to sleep tonight.
The majority of human beings are emotional thinkers, people driven by passion and feelings, not logic and reason. Look no further than South Africa. Right now, right this minute there are food lines everywhere, tens of miles long, everywhere. There’s a mass starvation event occurring there and it’s going to get much, much worse in the days and weeks to come. Didn’t know? No? Are you curious why the fact that many South Africans have no access to food right now and yet it’s not plastered on every news feed 24/7 like the sexual deviance outcomes of a piss poor human being?
You see when you get angry and break your toys you only hurt yourself. But most people aren’t rational enough to understand that until they are standing in line 6 miles away from the only open supermarket in their neighbourhood, because they got mad, threw a fit and burned down their communities.
We undoubtedly are one of the most stupid species on the planet. Only humans would shit where they sleep, even my dog is smarter than that, and he’s not the brightest bulb on the tree.
Folks we are on the precipice of a significant mass extinction event, and don’t just take my conspiracy thinking word for it, sit down and do the research. Look at the indicators. Watch the videos of people being shot dead in the streets, watch the riots and civil disobedience going on around the globe. It’s not a matter of if it will happen here, it’s a matter of when, just like dad knew deep down you were going to have that party the minute their tail lights crossed the town limits.
This is what happens when you don’t think before you vote, elect stupid people, and don’t take responsibility for your actions. We’ve spent the last 50+ years diminishing personal accountability to the point everyone’s a victim and it’s not my fault I can’t eat.
Read that again.
I don’t know any species of mammal alive today that bases it’s existence on another, it’s virtually Darwin’s entire theory in action. Only the strong survive, and believe me, they will and the big Problem is in our current state those we elected to protect the common good will be the ones surviving and you and I my friend will go the way of the do do bird.
Get it yet?
We can still stop what is about to happen here, I’m not so sure other parts of the world will be able too, but we could if we wanted too yet all we focus on is how many people have runny noses, not the fact that the ruling class is purposely trying to burn down the world.
As a student of history (hobby, not academic) I know that time and time again we have allowed the ideology of the few to lead to mass genocides that see one group of people kill millions of people who don’t think like they do.
It’s happening again, and like Thelma and Louise we have the foot to the floor.
Right now here at home we have people ready to completely ostracize from society those family and friends that for whatever reason won’t take an experimental concoction in their arm that’s killing a high incidence of those people to protect them from a virus that has a higher survivability rate than most common diseases and if you don’t think this idea won’t end badly then you should run for Congress.
Seriously, Look at it from this perspective. What if this unproven, untested, and entirely novel concoction starts causing serious side effects in a year or two. Not saying it will, but for the sake of a Friday morning discussion, let’s say it starts causing immune systems to over react with the next mutated strain of the virus, like for example Dengue.
You’ve stuck that jab in your entire first response line, your army, doctors, nurses, police officers, etc. They would be the first to go.
Shame really. Who helps those who help?
Again, I’m not saying thats what’s next, but I’m saying as a safety dude that’s a really bad idea.
I’ve come to the realization that soon I’ll be forced to start making decisions that will be life changing because my beliefs are different from the herds, and I plan on living my life by the principles that have worked for me over these past 53 years. I don’t plan on being part of anyone else’s plan, well, at least willingly.
There’s a photo that has stuck in my head since I seen it in a history book back in the 1970’s, I’ve referenced it over the years as a singular reminder why we need to always confront evil when we see it before it gets out of hand and is allowed to run unchecked throughout society, before ideology takes root. It’s a black and white photo taken in the 1940’s of a young mother standing naked on the edge of a pit holding a naked child as a German S/S soldier levels a rifle at the back of her head. The mother is holding onto the child in the most tender embrace and the child is nuzzled into mom. The helplessness on both faces is dwarfed only by the steely eyed fixed gaze of the soldier who is about to follow orders once again.
Maybe she didn’t want the jab.
Do not think it can’t happen again, it already is. Don’t take my word for it, look it up. Do the research. Don’t listen to the media, they are all parroting a script. Think for yourself.
It’s being done on purpose, think of why create confusion in the middle of the worse Global pandemic ever (hint, that’s extreme sarcasm, look up the percentage of the global population that died during the 1918 pandemic and make your own decision of the end justifies the means). We can manage this pandemic now, we just don’t want too. The allure of power is too strong, the love of power and control is a blood lust few will understand prior to experiencing the results.
I have no love of power, although I understand how to use it and when it’s appropriate, but never understood the need to arbitrarily force another to bend to my will, well at least without a vigorous debate on the rationale for the need to bend the knee. That folks us where we fell off the turnip truck, we stopped having discussions and started being told with no room for debate.
That’s why we can’t have nice things right now, we are allowing the stupid people to rule the smart, and in my opinion that’s a bad thing. Look no further than the arrogance of the ruling class, and you can pick hundreds of examples each day of for thee, not me.
If I sexually harassed women at work I’d be fired the day the report was issued after the investigation. If I lied to the ATF on a firearm background check, a class one felony, I’d go to jail for a term not to exceed ten years. If it came out that I was lying to people about things I should be an expert in, you’d think people would eventually not believe me, right?
But not if your in the ruling class, all those examples are real yet you all can see the lack of accountability and the double standard.
Why do you look away?
I think I know why, but I can’t answer for you, you have to live with your choices like I will min, but I wish I lived in a world where people thought enough about others and less about themselves to not force their will on others’ for the sake of power.
Anyway, it’s another rainy day here at the beach, me and the dog are going to go for a walk on the ocean floor and enjoy the solitude of a beautiful august day in the most beautiful part of the world I know, and be thankful for those men and women who last stormed a beach to allow me at least 50 odd years of freedom to explore my life and experience life the way I believe it should be, unmolested and free.
Where do we go from here? It’s within us.
Jim out.
0 notes
Text
The 5 pillars of FitLife
Fit life is such a general statement. So much can apply to it. It is such a simple approach and yet so overcomplicated.
When we say that someone look or live fit, what we, exactly refer to. Do we address the health aspect, or we judge by the outside look? When we decide to take that approach, what we are, actually thinking to change.
Today I thought I would share with you, what is, in my opinion the right approach. What I realize with the years of mistake and growth. I am going to list the steps that each person who finally decided to change his/her life should check, in order to achieve optimum health, permanent results, and as a side effect, good looking body.
Without further ado, let’s get started.
1. Prioritize sleep.
It is by far the most important pillar of health. The most underestimated tool for performance. The reason for so many accidents and diseases. The free supplement, people neglect in their arsenal. The ultimate recovery tool.
Our body is constantly exposed to damage. We think, create, move, work, train. We are constantly testing our physical abilities. We are constantly using or body resources and grinding the materials by just simply living. Night is the time to rest and recover. When we sleep, we rebuild the damaged tissue, make it stronger and more resilient.
I will give you an example:
Few months ago, I was learning the handstand. I was strong enough to hold it against the wall, but I was struggling a lot with the balance. I tried so many stuff. Training modalities, consistency, metronome for counting. And the furthest I got, was 10 sec of hold.
At that time, I happened to be reading the book “Why we sleep” by Dr. Matt Walker. One of the most eye opener for me personally. Such an interesting read. Did you know that lack of sleep is the number one cause of car accidents? Mind-blowing, right? Well I decided to test it and priorities my sleep. Yes, that meant no more Netflix and popcorn at night. No artificial or bright light and not eating around 2 hours before bed. I simply developed a routine that allowed me to have quantity (at least 7 to 8 hours) and quality (allowing my body to secrete melatonin) sleep.
As a result. 3 days later I held the handstand for whole 20 sec. That blew my mind.
It is not going to fix all your health problems, but it is worth trying. It is simple to manipulate. Trust me, you will be surprised.
2. Food intake.
As we already know, our body is constantly damaging and repairing itself. During rest we recover and rebuild, but we need the building blocks to do so. Let me ask you something. If you have the best engineers and machines on earth, but no bricks and cement, will you ever be able to build a house? And If you have the wrong size bricks and poor-quality cement, how strong is that house going to be?
See, food is the main source of energy and we must prioritize it too. Nowadays we have access to so much, I can’t even call it food, products which are full of toxins, preservatives, chemicals and what not. And all, to make it more palatable, have longer shelf life and be convenient. No surprise though. The industry must make tons of money after all. But all those bad quality foods-like products are fooling the society and are making that incredible machine called human body to function not as intended. To function with dis-ease.
There are thousands of recipes for a super tasty, delicious meals. And you can be creative too. Add your favorite spices, favorite sources of food, customize your cultural dishes to a healthier option and enjoy it.
And here is a perfect place to add something that I will be diving deeper in another blog, and that is the restriction part. Rather than restricting, learn how to not overindulge. In other words, when a colleague of yours ask you to go to the bakery for some chocolate desert, instead of saying “I cant have it”, learn to say I don’t want it, because… . There is time and place for everything, and everything in excess is bad.
3. Movement
There is no doubt at the phrase: Movement provides energy. When we move, every single cell in our body moves too and create electrical current signals. Have you ever felt sleepy and after a friend forced you to move or to stand up, you instantly get excited and the tiredness went away? Do a little test. Next time you are doing something stationary for longer and you feel tired, just count to 3, stand up and do some movements. Jumping, squatting, push ups, or even a short walk. It is simple. If we don’t move, we do not provide electricity, without electricity we have no energy, without energy, there is no life.
There is the other end of the movement, where people move so much, usually by training, so they overtrain. See, our body recovers at a certain state, with certain speed and has a limit to it. if we exceed the ability of our body to recover, in other words, on a regular basis, we damage more than we recover, we will end up degenerating.
I am going to dive deeper in another blog, but I want to quickly address the activity dislikes.
Activity does not have to be at the gym, lifting for the sake of it or running on the track, because your neighbor does it and he had managed to drop 20 kg for 1 year. Activity must be your preferred way of movement. There are so many sports that you can practice. Swimming, jumping rope, climbing, running, walking, cycling, dancing, moving objects, doing exercises with your body weight. List is so long. Try stuff, find your own thing and be active, because you like it, in order to be healthy. Fall in love with the process. Get better at that craft. Live happily.
4. Be happy.
If you don’t know what makes you happy, how are you going to know when happiness arrives.
Today`s days we are constantly running. Running towards stuff that we are thought to believe will give us happiness. We believe that more money, more possessions, more success will give us what we have ultimately wanted.
The sad truth is that most of the time we are fouled by our ego. See every time we are insulted, being laughed at, criticized, or even simply tease by someone, the ego kicks in.
It is the ultimate motivator. It is the voice in the back of our head saying “I will prove them wrong. It is, when your friend teased you, about how bad bartender you are, so you spent the next 4 years becoming the best bartender in the area, instead following your true desire – psychology. Sound familiar?
And what changed? We are so drowned into what we should, and should not do, where we should stay in the society, so we forget our own needs and believes. We push and push hard to prove someone, or ourselves and when we get to the destination, we suddenly realize that nothing changed. Everything Is the same, people still judge us, but now about something else. The only thing that changed – 4 years gone.
The point I am trying to make is that we should really take a step back, slow down and assess, what we truly want. Dance, sing, climb, study java script…, whatever. Reassessing the core values in our life which have been the bricks for the house we have been building.
We are constantly searching for the happiness, we truly desire, but are we pursuing the right one?
5. Be aware of your body needs.
The last, but not least is to be aware. To be present. To be able to know the reason for the condition we are in. Why am I feeling this way? Why I have this pain, why am I bloated, why I have no energy, why am I so moody today.
Almost all our health problems are result of the way we live. We are so drowned in today`s modern life, that we simply live on autopilot. We do not listen to our body. And the beauty of it is to learn to differ the signals. What does my body want? What does my body need?
If your grandma made your favorite cream dessert, which makes your mouth wet, just by thinking of it. Well maybe you can just taste a small piece and leave another one for tomorrow, instead of eating half of it and feeling heavy, bloated and tired the next day.
If your hips and lower back are fried form the heave deadlifts yesterday, but you just watched the legend Ronnie Coleman squatting for reps with 800 lb (360 kg), you get super motivated and want to go and smash your next PB. Well, may be that is not exactly what your body needs. You can do some hips and lower back mobility instead.
Being aware, simply mean to be accountable. This is where growth happens and therefore permanent life changes.
Instead of blaming the situation, the people around, the government, god, the universe. Have a look at the way you live your life. There might be a room for improvement.
0 notes
Text
Hunting For Brand New Internet Design Ideas? Assess All These Out!
World wide web style is an very complex theme. You will find folks who go to university to get a long period analyzing about absolutely nothing but internet style and design. Moreover, due to the simple fact that the Web is always evolving, info on world wide web style and design is also continually upgraded. This article provides numerous valuable net design suggestions that every person should know. For multimedia demonstrations, consider benefit of the newest HTML5 regular. Even though html 5 isn't really quite because strong for cartoon and flash games as Flash, also it has got the benefit of operating stably on cell mobile phone browsers, like people comprised in Apple components. HTML5 can also be quite a bit leaner than Flash, so load occasions can improve, as well. Steer clear of unworthy scripts. Scripts such as counters and afternoon/period scripts not genuinely serve some aim, and considering the fact that they are typical Java Script, can add a couple of kilobytes into the page's document size. Getting reduce the elements also frees up area on the homepage. Exchange these unworthy broadcasts with valuable written content that keeps consumers coming back again. Cluttering up your web pages with far too many pictures or additionally much wording, or utilizing a distracting qualifications, will only irritate your guests. White room will make the crucial facets of your internet site page longer observable. If you'd like your own web site site visitors to devote as much period as possible in your own website, create text simple to go through. One of the very widespread style and design errors is employing graphic wallpapers with fashions or dark hues blend this using equally subdued text message and you also have a recipe to get tragedy. Until that the wording is different and simple to study, your site will be a accomplishment. To support your web site website traffic effortlessly navigate via your web site, design it it gets easy to discover "things." Whenever you have a easy web site that could create it easy to locate info, you grip your guests there much for a longer period. If you create it tough to these, then they are going to get frustrated and disappear. Assessing your blog. Assembling have faith in together with your clients can be extremely essential, so be favorable to permit them understand that you individually maintenance in regards to the solution or support you might be delivering them. Make your web site articles catching to readers. A wonderful hunting web site is no great if it has dull, unoriginal articles. For those who yourself have pertinent content material in your web site that attracts a viewers and chooses into consideration everything they truly are hunting for, there's a excellent chance they would require to cover a visit to yet again in the close to potential. before you commence boosting your blog, examination it on a number of distinct browsers. Every browser will translate the site somewhat otherwise. Some of the slight distinctions may cause navigation to be hard for the user. Make use of that the Internet by re searching which browsers will be probably the very broadly speaking utilized. Evaluation the site on all browsers, even the common cell ones. Make use of one's grammar and spellchecker. Obviously, some mistakes might get passed a few of one's audience, however it won't have sooner every person. You can drop some one's audiences because of the, notably should you make blunders frequently. Each and every web site designer needs a exceptional system to have a good look in their perform out on, and XAMPP is nearly undoubtedly the greatest out there. XAMPP will permit one to run your test those sites using PHP and mySQL, and that means you will always be ready to place every thing that demands to be altered. XAMPP is a fairly light obtain and it truly is additionally effortless to figure out.

You would like to ensure the web site is capable of being viewed on all varieties of operating methods and plans, which range from browsers such as net explorer to firefox. You also want to be sure that your web site works on each Baths along with mac operating systems therefore as several consumers as feasible may watch your articles.Even in case you see patterns you might be captivated to on other websites, it really is greater to be inventive in your personal. Occur along together with your own features and layouts, and boost up on items you find all of across the web. Pursuing by way of with this specific stage will undoubtedly give you the best attainable web site style and design.If developing your web site, it is just a excellent notion to not ramble far overly somewhat out of famous conventions. To get case in point, many users hope that after they click on on the web site brand at the prime of a page, they'll soon be used into the house web page of the internet site. If your site behaves at an alternative way, it may confound the user. Back in numerous cases, straying from this sort of conventions may direct to a poor all round consumer knowledge.This tends to make it straight-forward whenever you log again into the server, because all you do will be click in the menu and then decide on personal settings. Eventually, this can conserve you loads of period.Back in reality, as talked about early in the day, some people go to faculty and review it for years. Web style can be quite crucial simply because it can set regardless of whether your site is effective, and for that reason, it really is critical that you have a excellent knowing of this. Stick to the guidance supplied in this report since you develop or enhance your blog, and always appearance to get techniques to understand more about world wide web style and design.
2 notes
·
View notes
Text
11 questions tag game I was tagged twice so 22 questions for me
Tagged by @fangirlnova and @a-fallen-little-pine-cone thank you guys!! I love you!!
Rules are:
• Post the rules.
• Answer the questions given to you by the tagger.
• Write 11 questions of your own.
• And tag 11 people.
@fangirlnova‘s questions:
Sweet or Salty?
Bittersweet
Do you hold grudges? (If so, name one thing you haven’t/can’t let go of.)
I try not to hold grudges, and I think for the most part I’m doing that well.
Do you have any pets?
Yes! I have a cat, we call him bags
What are your winter plans?
College essays, crying, and reading :)
What would you do with if you legally won the lottery right now?
Donate it.
What is your favourite book?
Why must you ask me this question Pride and Prejudice by Jane Austen
Favourite quote from the said book or in general?
“À l'aurore, armés d'une ardente patience, nous entrerons aux splendides Villes. (In the dawn, armed with a burning patience, we shall enter the splendid Cities.)”
-Arthur Rimbaud, A Season in Hell
Are you a blanket-type, pillow-type person or both?
blanket
If you could meet anyone in person, who would it be?
All my friends on here
What do you do when you’re not on Tumblr?
School, napping, homework, sketching, and random walks to the park. If my wallet is dead, then movies or museums
Odd question, but I want to be original; Carpet or hardwood flooring? Hardwood
@a-fallen-little-pine-cone‘s questions:
Pet peeve?
People who stand right in front of the door, redundant hashtags, line cutters, foods that say “gluten free” when there is obviously no gluten in it ( chocolate that’s “gluten free”, chocolate normally doesn’t have gluten y��all!), talking over other people
Hidden talents?
I guess embroidery? I used to do that a lot
Pants or skirts?
pants
Ice cream or cake?
neither (sue me)
Thoughts on shoe laces?
shoe snakes and aglets
Something you can’t do no matter how hard you try?
skateboard, it’s hard and I can never get the hang of it
Favourite genre of music?
Jazz, pop, and classical
The weirdest food combo you’ve eaten?
It was the spring of ‘08 It was (soy) ice cream nachos
One thing you want for the holidays?
I just want all my friends to be happy and safe and 1mil
Best type of battery?
that pink bunny with the drum, I don’t use those batteries though :/
Least favourite flower??
This is hard because I really like a lot of flowers! I’ll just say corpse flowers (even though it has the coolest name ever)
My Questions:
If you can have lunch with any historical figures, who would you invite?
If you could rewrite any book, which one would you choose?
Your dream job growing up as a child?
What’s one thing you would want to take with you if you were to be stuck on an island?
Language you want to learn (could be morse code, java script, binary, or a spoken language, fictional counts too)?
Ideal superhero team-up?
A superpower you would want to have?
Favorite AU?
Star Wars or Star Trek?
Favorite movie genre?
What would you say is your weakness?
I’m tagging: @thesiqnal @wondxrgurl @yikes--man @teen-titans-imagines @draketimbers @loudmouthwally @cas-backwards-tie @wxntera @my-dc-drabbles @wallce-west you don’t have to do this if you don’t want to of course!!
11 notes
·
View notes
Text
Classic ASP with OO: full inheritance
Classic ASP with OO: full inheritance
Harry Marx
OK - I added the source here for you as well - and if you want to read my self-praise thereafter, you are warned.
http://www.nimbushost.co.za/sandbox/asp/aspp.asp?fname=example
PS. I found some major issues in the code and fixed it... working even better now :-)
PS2. This was done in 2015 - now 2018 - major upgrade available - soon will add a new link.
Note - this is not just about how nice classic ASP is, it is also about enhancements of it.
Topic 1: Classic ASP - is it still alive?
You may think I'm mad, but I will make a statement and support it with some interesting facts... "Classic ASP is among, if not THE, most advanced programming language there ever was. "
Now the reasons I say so...
Imagine you have a programming language that CANNOT do some stuff.
Take for example Classic ASP, one of the scripting language used in IIS for web pages (although not "supported" any more...)
There are stuff you cannot do with classic ASP, for example its class structures does not have inheritance and therefore not polymorphism. Imagine your pet language is JAVA, yes, it also has limitations - no multiple inheritance. And so does all languages have some shortcoming.
Now, my question to you is, can YOUR pet language be "extended" to do what they say it can't?
I will stick to Classic ASP for now.
My first problem was runtime includes. An include is like a "module", another source file, that IIS pulls into the main source file. You specify the name of the file where you want it to be included, and it is compiled into your source exactly where you want it. Nice.
But my problem was that I had many of these, and they are becoming co-dependent. A and B used C (each included C), and if you included A and B into main.asp, you generally get "name redefinition errors".
So can Classic ASPs do runtime includes, and thereby test is C is already included and then NOT include it a 2nd time? NO, it can't. Oops, sorry, it CAN!
For example, a very naïve implementation:
Dim fso, f, alreadydone
if instr(alreadydone, "myRuntimeInclude.INC") = 0 then
alreadydone = alreadydone & "myRuntimeInclude.INC"
Set fso = Server.CreateObject("Scripting.FileSystemObject")
set f = fso.OpenTextFile("myRuntimeInclude.INC", 1)
source = f.ReadAll
f.close
set f = Nothing
set fso = Nothing
ExecuteGlobal source
end if
Now you could package this in a nice SUB, do error handling, etc., and put it inside its own include, and you have the beginnings of runtime includes. In particular, you can add a global variable to this include, into which you add the names of the files included, and NOT include them a 2nd time.
So with a few simple lines of code, ExecuteGlobal enabled Classic ASP to do something it could not.
For example, doing a runtime include like this, will of course not do the nested static includes. No problem - turn the INCLUDE function into a recursive one, and do the static includes also runtime!
Does this makes everything slower? With todays fast servers and cached hard drives etc? Yes, slightly, but just throw more hardware at it and we are OK again - ha ha ha. Yes it is slower, but if you want speed - you would not have gone for classic asp. C++ comes to mind.
And what about HTML and scripting intermixed, as classic asp developers usually does?
No problem - execute the script and print the html as you parse the tags in the include!
Now I will of course add some more notes here, and finally provide you with the source code, but if you are wondering what the final product does, here are a few features:
* dynamic includes
* inheritance - multiple inheritance in fact
* private / inherited methods / properties
* polymorphism
* try - finally - catch blocks
* optional parameters
* function overloading
Thinking about function overloading... Classic VB, being practically a non-typed language, actually is "typed" like any other language. The difference is that in languages like C, pascal, java, dotnet etc., you define the variable's type, and it is fixed. In Classic ASP, the type of a variable is NOT fixed, and it changes according to the type of data in it - much more dynamic than ANY other language I know of. All other languages resolve the overloading at compile time, which is quicker, but still static. Classic ASP, if it had overloading, would have had to do the binding to the correct version of the overloaded method, at runtime - totally dynamic.
Yes, the example source I added here does ALL of the above!
Inheritance
So lets tackle the difficult issues, firstly inheritance:
Imagine you want to inherit from Parent. The ideal would be that you can simply in the ChildClass say:
#inherits filename
where filename contains a class definition with the same name as the file. OR,
#inherits classname in filename
where the file may contain multiple classes. (Or #inherit classname, where the file is assumed to have the same name.)
In theory all the runtime include will have to do is to read the body of the parent class and insert it into the child class's body, right?
It should drop the "class classname" and "end class" declarations from the parent of course.
This was simple. To implement this was in fact just 26 lines of code...
What about private and public items in a class? Well the words "private" and "public" are already used in classic ASP, so why not extend it to OO directive?
#private initiates a section of not inherited properties and methods, and must be followed with
#public which switches inheritance on again.
To implement this is a breeze - all you do is cut the parts in the Parent source between #private and #public.
To implement this was in fact just 7 lines of code...
What about #abstract methods? A one liner! Replace the #abstract tag with ThrowCustomError "abstract method not defined".
So what happens if the parent has a method "Display" and the child attempts to override it? You will get two definitions of Display in the childe class, and it will not compile - Name redefinition error.
This is a good thing! Because now you know you are trying to override a parent 's method.
The way to allow this is to use #overrides or #extends This will flag the assembler to drop the Display method from the parent definition, or to keep it with an adapted name parent_Display(). Simple, but in order to make provision for properties, subs functions, etc., this took much more code to implement, exactly 45 lines.
This #overrides tag does introduce a slight deviation from the normal OO conventions. It means you cannot call the parent's Display method inside the Child method. All the overridden methods are not available. But there is an easy fix if this is actually required. Many time you would inside a child's method do some action, and then call the parent's method with the same name. This is very much standard practice.
The #extends tag causes the parent's class to be renamed before it is added into the child class. You can call the inherited method with parent_display(). Why did I do it like this? Read on.
So all in all, it took exactly 90 lines of code, in the runtime include class, to enable the gist of OO into classic ASP. I am thinking, this is why MS has dropped support for classic ASP - it is simply too powerful.... ;-)
To recap, we implemented:
#inherits
#private
#public
#overrides
#extends
#abstract
.... in about 90 lines of classic ASP code.
And there is a small bonus. If you carefully check the code, you will notice that if A inherits from B, and B from C, all the "parents" are assembled into the source if A. The runtime include does not differentiate between who is doing what inheritance. This means you can actually have a child class inherits from multiple parents!!! You can define a chile and say:
class Child_class
#inherits A
#inherits B
...
end class
VERY few languages can do this! And that is why the #extended classes are renamed for the parent class. You can now call A_display() or B_display(), inside the child.
And you also get the case where A inherits B, which inherits C, and you want to call C_display() in A!
..now that is something to digest.
polymorphism
This is one of the complexities of OO that very few people understand. I will explain it as simple as I can.
Imagine you have two different types of objects, a square, and a circle. They are derived from "Form". Now you can define an object of type Form, and treat it as a container, in which a Square or a Circle is instantiated. Now you can call the container's Dsiplay() method, and polyM allows the correct Display method to be invoked, relative to if the container contained a Square or Circle.
At compile time, the compiler does not know which, or even if the display method is implemented.
Yet at run time, it calls the correct method!
You can have a function that takes Form as parameter, and inside the function call the Form.display method. Depending if the argument provided was a circle or square, the correct method is called.
This is in other words runtime binding or linking.
Normally as the example went, you require a "parent" class, which is often an abstract class, to act as type (container) for the derived classes. And normally you can only do this type of runtime linking, if the parent class defines a method (can be abstract) with this name.
But, the way in which this OO implementation works - you don't need either...!? because classic ASP is un-typed.
I can define a function that accepts a parameter:
Sub doDisplay(Obj) Obj.Display End sub
This is perfectly "compilable" in classic ASP, even though the class is never defined for Obj. Of course trying to execute it with doDisplay 10 will throw an error, because 10 does not have a Display method.
However, I can call this sub with ANY object, regardless of parentage, as long as the object has a Display method. And it will call the correct method - polymorphism without the overhead of an abstract method, or even a container class!
Heresy!
try-catch blocks
Now this is a tougher one. We want something like:
Try
a = 1 a = a/0
a = 2 Finally a=0 Catch Response.write "ERROR: div/0<br>" End try
Note the order of the finally and catch blocks. I swapped these for reasons explained later...
The issues is that classic ASP only provides us with the "on error resume next" mechanism.
I played around with some ideas, and the best I came up for now is to do it with a limitation - you cannot do a do-loop inside the try-catch block.
This is because I use an EXIT DO to jump out of the try-block.
So a simple solution is to translate the code into something like:
on error resume next Do
a = 1: if err.number<>0 then exit Do a = 1/0: if err.number<>0 then exit Do
a = 2: if err.number<>0 then exit Do loop until True a=0 select case err.number
Case 0
case else Response.write "ERROR: div/0<br>" end select
Err.Clear
on error goto 0
To get this working was a bit more difficult, it took about 66 lines of code.
Still, its working...
Arrays
I played around with [] brackets being replaced by array(). This is not very useful, but still its working.
For examp:
function foo( p )
dim pp
for each pp in p
response.write pp & "<br>"
next
end function
This you can then call with foo[], foo[1] or foo[1,2,3].
Function overloading
I started implementing function overloading, using the variable name, and an assigned type, as in : dim xxx #as myInt, where myInt could be ANY symbol. This I will call Variable Type Overloading. I implemented it as a global setting, and the value inside the variable does NOT carry the type with. Wherever xxx is used in the page, in all the includes as well, it is assumed to be of type myInt. This type has absolutely no effect on execution of any normal classic asp code, and only comes into affect when you overloaded a function/sub/property using Variable Name overloading: function foo(X #as myInt) can only be called now with xxx as input argument.
This is all done at compile time.
Take note that the variable type is GLOBAL, to all code underneath a runtime include, and all static includes inside the runtime include. This works for function, subs and properties, but I have not debugged it well.
Rather then I realized that classic ASP is not a type-less language, it merely hides the type from the developer, and as a bonus, the type of the variable can indeed be changed.
a = "string" 'a's type is String
a = 1 'a's type is now Integer
This is HUGE - I know of no other language that allows variable's types to change runtime, well other than when using polymorphism. So I realized that there is a 2nd form of function overloading possible: Value Type Overloading. And this has me excited.
With value type overloading, binding to the correct version of the function/sub/property is based on the data type in the variable, runtime! This is of course not achieved without overhead, as all runtime binding (even polymorphism) requires overhead. Yet it is simple and quick.
One important constraint to notice is that you CANNOT intermix variable type overloading and value type overloading in the same function. Keep them apart. This is because the one happens in the pre-processor, and the value type overloading happens runtime.
Variable type overloading is based on the actual symbol used for the data argument, while value type overloading is on the actual type of data being passed.
Value based overloading is local to within a class, or global outside all classes in a runtime include, and all nested includes. You can have the same function name as a class method, and as a global function, but they will be overloaded separately. Within a class, if you have two versions with the same pattern, you will get name redefinition errors, as the function name is merged with the pattern, and the combination is not unique. Functions that are inherited, are also pushed into the value type overload handler stack. If a parent's and child's function name and pattern are the same, you will get name redefinition errors.
There are a few constraints ito overloading:
*All versions of the function/property/sub must be of the same definition - they must be subs, or functions, or properties - you cannot mix these. All must public/private. Only a GET and a LET property can have the same overloaded name, any other will cause compile errors.
*Another silly constraint is that the definition of the method's name and parameters
must be in the same line, no line continuation character.
*Valid types are all types as returned by TypeName(): Byte, Integer, Long, Single,
Double, Currency, Decimal, Date, String, Boolean, Empty, Null, Object, Unknown,
Nothing, Error or the class name of an object.
You can also overload the return value of a getter or function. The return type will not be matched to the current type of whereto the value is returned, instead you have to tag the function/getter call itself with a type tag ex.: X = myFunc(Y) #of string. Only patterns that is tagged to return a string, will match to this call. Take note - the return type tag is not validated against the actual value returned either. So if function myFunc(Y) #of String actually returns a n integer, the system will not see this as an error.
Also if you call myFunc with no type tag, as in X = myFunc(Y), it will match - if the type is omitted when calling the function, the return type of the overloaded function is ignored.
ooo
So tell me classic ASP is not powerful. To do all this, we needed just over 1000 lines of code.
By the way, I work at one of the largest universities in the world, and this whole runtime include concept, is forming the base of its current IIS web sites. In other words, it does work :-)
1 note
·
View note
Text
OK, I'LL TELL YOU YOU ABOUT IDEAS
Object-oriented programming in the 1980s. If it can work to start a startup. Instead of building stuff to throw away, you tend to want every line of code to go toward that final goal of showing you did a lot of startups grow out of them. Already spreading to pros I know you're skeptical they'll ever get hotels, but there's no way anything so short and written in such an informal style could have anything useful to say about such and such topic, when people with degrees in the subject have already written many thick books about it. Those are both good things to be. I don't mean that as some kind of answer for, but not random: I found my doodles changed after I started studying painting. When someone's working on a problem that seems too big, I always ask: is there some way to give the startups the money, though. What would it even mean to make theorems a commodity? There seem to be an artist, which is even shorter than the Perl form.1 However, a city could select good startups.2
Tcl, and supply the Lisp together with a complete system for supporting server-based applications, where you can throw together an unbelievably inefficient version 1 of a program very quickly. Or at least discard any code you wrote while still employed and start over. But a hacker can learn quickly enough that car means the first element of a list and cdr means the rest. If an increasing number of startups founded by people who know the subject from experience, but for doing things other people want. It could be the reason they don't have any.3 An interactive language, with a small core of well understood and highly orthogonal operators, just like the core language, that would be better for programming. The more of a language as a set of axioms, surely it's gross to have additional axioms that add no expressive power, simply for the sake of efficiency.
One of the MROSD trails runs right along the fault. When you're young you're more mobile—not just because you don't have to be downloaded. The fact is, most startups end up doing something different than they planned. The three old guys didn't get it. PL/1: Fortran doesn't have enough data types. What programmers in a hundred years? Just wait till all the 10-room pensiones in Rome discover this site.4 Common Lisp I have often wanted to iterate through the fields of a struct—to push performance data to the programmer instead of waiting for him to come asking for it. It would be too much of a political liability just to give the startups the money, though. And they are a classic example of this approach. For one thing, real problems are rare and valuable skill, and the de facto censorship imposed by publishers is a useful if imperfect filter.
I'm just not sure how big it's going to seem hard. Often, indeed, it is not dense enough. If the hundred year language were available today, would we want to program in today. Of course, the most recent true counterexample is probably 1960. A friend of mine rarely does anything the first time someone asks him. As a young founder by present standards, so you have to spend years working to learn this stuff. The market doesn't give a shit how hard you worked.
You can write programs to solve, but I never have. One advantage of this approach is that it gives you fewer options for the future. Otherwise Robert would have been too late. Look at how much any popular language has changed during its life.5 Java also play a role—but I think it is the most powerful motivator of all—more powerful even than the nominal goal of most startup founders, and I felt it had to be prepared to explain how it's recession-proof is to do what hackers enjoy doing anyway. The real question is, how far up the ladder of abstraction will parallelism go? Anything that can be implicit, should be. New York Times, which I still occasionally buy on weekends. So I think it might be better to follow the model of Tcl, and supply the Lisp together with a lot of them weren't initially supposed to be startups. It's because staying close to the main branches of the evolutionary tree pass through the languages that have the smallest, cleanest cores. The way to learn about startups is by watching them in action, preferably by working at one. At the very least it will teach you how to write software with users.
Few if any colleges have classes about startups. All they saw were carefully scripted campaign spots. It might help if they were expressed that way. It's enormously spread out, and feels surprisingly empty much of the reason is that faster hardware has allowed programmers to make different tradeoffs between speed and convenience, depending on the application.6 At the top schools, I'd guess as many as a quarter of the CS majors could make it as startup founders if they wanted is an important qualification—so important that it's almost cheating to append it like that—because once you get over a certain threshold of intelligence, which most CS majors at top schools are past, the deciding factor in whether you succeed as a founder is how much you want to say and ad lib the individual sentences. This essay is derived from a talk at the 2005 Startup School. Preposterous as this plan sounds, it's probably the most efficient way a city could select good startups. Most will say that any ideas you think of new ideas is practically virgin territory. Exactly the opposite, in fact. Whatever computers are made of, and conversations with friends are the kitchen they're cooked in.7 That was exactly what the world needed in 1975, but if there was any VC who'd get you guys, it would at least make a great pseudocode.
If this is a special case of my more general prediction that most of them grew organically. Writing software as multiple layers is a powerful technique even within applications. The more of your software will be reusable. Using first and rest instead of car and cdr often are, in successive lines. Of course, I'm making a big assumption in even asking what programming languages will be like in a hundred years? It must be terse, simple, and hackable. It becomes: let's try making a web-based app they'd seen, it seemed like there was nothing to it. Both customers and investors will be feeling pinched.8
The main complaint of the more articulate critics was that Arc seemed so flimsy. That's how programmers read code anyway: when indentation says one thing and delimiters say another, we go by the indentation. You need that resistance, just as low notes travel through walls better than high ones. Maybe this would have been a junior professor at that age, and he wouldn't have had time to work on things that maximize your future options. How much would that take? It's important to realize that there's no market for startup ideas suggests there's no demand.9 You'll certainly like meeting them. It's not the sort of town you have before you try this. This essay is derived from a talk at the 2005 Startup School. I'm not a very good sign to me that ideas just pop into my head.
Notes
Dan wrote a prototype in Basic in a series A rounds from top VC funds whether it was 10.
With the good groups, just harder. Which in turn the most successful founders still get rich from a startup could grow big by transforming consulting into a great one.
There are two simplifying assumptions: that the only way to create events and institutions that bring ambitious people together. A has an operator for removing spaces from strings and language B doesn't, that's not as facile a trick as it was putting local grocery stores out of their portfolio companies. If the next one will be familiar to anyone who had worked for a really long time? One new thing the company they're buying.
If I paint someone's house, the growth in wealth in a bar. I didn't need to warn readers about, just as much the better, but they start to be about 50%. Together these were the impressive ones. Other investors might assume that P spam and P nonspam are both.
All he's committed to is following the evidence wherever it leads. The point where things start with consumer electronics.
If they're on boards of directors they're probably a cause them to keep them from the VCs' point of a press hit, but that we wouldn't have understood why: If you have two choices and one or two, and so on. But if so, or in one where life was tougher, the same reason parents don't tell the whole story. Incidentally, the switch in mid-twenties the people they want.
Trevor Blackwell points out, First Round Capital is closer to a clueless audience like that, except in the median VC loses money. Unless of course reflects a willful misunderstanding of what you care about, just those you should seek outside advice, and this trick, and so don't deserve to keep them from leaving to start or join startups. There is not much to seem big that they only even consider great people.
You also have to do it right. In every other respect they're constantly being told that they are bleeding cash really fast. Probably more dangerous to Microsoft than Netscape was.
In theory you could probably improve filter performance by incorporating prior probabilities. If you have the concept of the reason for the coincidence that Greg Mcadoo, our contact at Sequoia, was no great risk in doing a small proportion of the subject of language power in Succinctness is Power. As I was there was near zero crossover. Some urban renewal experts took a shot at destroying Boston's in the evolution of the next year they worked.
#automatically generated text#Markov chains#Paul Graham#Python#Patrick Mooney#Lisp#answer#assumptions#cores#language#fact#Netscape#today#Java#types#Power#Succinctness#computers#prediction#Microsoft#anyone#indentation#B
1 note
·
View note
Text
Checking mobile site speed and SEO with Google Lighthouse
With Lighthouse you have a new Google tool for checking mobile site speed and SEO. In this post, I explain what this tool is and how to use it to improve the performance of your site.
Lighthouse is a page experience tool built by Google and was initially meant to audit Progressive Web Apps (PWA). The tool executes five audits for accessibility, performance, SEO, Progressive Web Apps and an extended list of best practices. Powered by the new Core Web Vitals, these audits together give you an excellent overview of the quality and performance of your mobile website as well as your desktop site, or web app.
Lighthouse for PureSourceCode.com: we have to work on that
Site speed is all about perception and user experience. Speed in numbers means nothing if your site still feels slow. Loads of users around the world are on rather crappy mobile connections of 3G or less. Even with lightning-fast 5G connections, a site can simply feel laggy and slow. And we all know what a devastating effect a slow site can have on your conversion. Shaving milliseconds of the time needed to load your site could make a world of difference. Not to mention the frustration that happens when a slow-loading ad pushes down the button you just wanted to click.
While testing, Google Lighthouse simulates visiting your mobile site via a flaky 3G connection on a slightly underpowered device. Packets are lost in an attempt to simulate real-world conditions as authentically as possible. These insights are combined with other data. After running the test, you’ll get a report with a score and actionable advice with issues to tackle.
PageSpeed Insights vs. Google Lighthouse
PageSpeed Insights is probably the most used site speed analysis tool out there. It gives you a nice score and a list of possible improvements, plus it gives you an idea of the perceived loading speed of your site.
Also, PageSpeed Insights gives recommendations and identifies opportunities to improve the performance of your page. Some of these do tend to be hard implement, so getting a 100/100 is a pipe dream for most sites.
PageSpeed Insights and Lighthouse used to be two different tools for the job. They both provided valuable insights, but were hard to combine. With the advent of Web Vitals and the page experience update, Google improved the metrics across the board. Not only did they become easier to understand, they were also shared metrics. Of course, each tool is made for a specific subtask and offers specific metrics. These metrics come from different environments.
Field data vs. lab data
Web Vitals introduced new ways of determining performance. Some of these metrics can be calculated in a lab setting — simulated, so to say, while other metric only make sense if there are tested and collected in the field. In addition, some metrics work well in both settings. Google page experience tools use a variety of the metrics to provide you with the data you need to improve your site.
If you look closely, you’ll notice that some metrics only work in lab tools like the Developer Tools and Lighthouse. The field metrics appear in tools like the Web Vitals report in Search Console and PageSpeed Insights. The Core Web Vitals like LCP, FID and CLS will work everywhere.
Core Web Vitals
The brand-new Core Web Vitals will appear in all Google tools that measure site speed, performance and experience — even in the new Web Vitals report in Search Console. Now, you simply have to understand three basic metrics to get a sense of how your site or specific pages are performing. These Core Web Vitals are:
LCP, or Largest Contentful Paint: Or, how long it takes for the largest content element you see in the viewport to load.
FID, or First Input Delay: Or, how long it takes for a browser to respond to an interaction first triggered by the user (clicking a button, for instance)
CLS, or Cumulative Layout Shift: Or, how much of the screen is affected by movement — i.e. does stuff jump around on screen?
These new Web Vitals take a much more practical approach and put user experience front and center. The tools visit your site over a throttled connection on an average device so it can emulate what a real visitor in the real world might experience. Instead of just loading your site like the classic speed tools used to do, these Web Vitals-powered tools check how and when it responds to input — and if stuff happens after the initial load. It finds the exact moment when your content is ready to use, so you can try and optimize that when it feels too slow. Plus, you can find annoyances that hinder a good page experience.
Also, keep in mind that Lighthouse not only measures performance, but also checks SEO, various best practices and accessibility. It is a complete tool that helps you improve your site holistically.
What to look for in Lighthouse results
As I said, Google Lighthouse is trying more realistic angle, taking page experience into account checking mobile site speed and SEO.
The whole concept of speeding up your mobile site is two-pronged; your site must be fast, and it must feel fast. You, therefore, need to get your content on screen as fast as possible. Don’t let people wait. Also, users must be able to interact with your content as soon as possible. Since Google announced that page speed and page experience are ranking factors for SEO, you need to fix these issues.
What should your priority be? Load your content first. Awesome graphics and killer animations can wait. Your message – and what people are looking for – is most likely in the content. You can load the rest of the content in the background and ease it on the screen later on.
Performance metrics used by Lighthouse 6.0
While measuring the performance of your site, Lighthouse 6.0 uses the following metrics:
First Contentful Paint: FCP measures how long it takes the browser to render the first piece of DOM content after a user navigates to your page. This includes, images, non-white <canvas> elements, and SVGs but excludes stuff inside an iframe.
Speed Index: The Speed Index measures how quickly content is visually displayed during page load.
Largest Contentful Paint: The LCP is all about how long it takes for the largest content object (for instance, an image or a block of text) to load. This is one of the most important new metrics. Here, having a good score means users perceive your site as loading quickly.
Time to Interactive: TTI measures the time it takes from loading the page to when it is capable of reliably responding to user input quickly. The page might look quick to load, only to find that pushing some buttons doesn’t do anything yet.
Total Blocking Time: The TBT measures the time between the FCP and TTI where blockades can happen, preventing responsiveness.
Cumulative Layout Shift: The CLS looks at the number of layout shifts that happen during the full loading process of the page. Every time an element jumps around on the screen from frame to frame, this counts as a layout shift. Remember those nasty ads that load at the last moment?
You can see how your score is calculated by going to the Lighthouse Scoring Calculator:

Lighthouse Scoring Calculator
The Lighthouse report also features some opportunities to improve the site speed of your mobile site, including how much loading time they will save. These include reducing render-blocking stylesheets, render-blocking scripts, properly sizing images and fixing offscreen images.
The Lighthouse SEO check
Lighthouse doesn’t do just performance, it also has an accessibility test, suggestions on improving your site based on best practices and a PWA analysis. Another cool Lighthouse feature is the basic SEO check. With this check, you can run a simple SEO audit to uncover basic SEO issues a site may have. It gives you suggestions to fix them as well. Since Lighthouse runs locally in your browser, you can run the checks on your staging environment as well.
Currently, Lighthouse checks:
The mobile-friendliness of a page
If the structured data is valid
Does it have a <meta name="viewport"> tag with width or initial-scale
Does the document have a <title> element?
Is there a meta description?
Does the page have a successful HTTP status code?
Do links have descriptive anchor text?
Does the document use legible font sizes?
Is page not blocked from indexing?
Is the robots.txt valid?
Do images have alt attributes?
Does the document have a valid hreflang implementation?
Does the document have a valid rel=canonical set up?
Are there any unwanted plugins like Java or Flash?
Although basic, the Lighthouse checks will alert you of any SEO problems to fix.
How to install Google Lighthouse
With the new Web Vitals metrics (checking mobile site speed and SEO), Google Lighthouse is trying more realistic angle, taking page experience into account. To use this tool, you have to download Google Chrome and then install a new plug-in.
Getting started with Google Lighthouse is very easy as it is built into Chrome’s Developer Tools Audit panel (Mac: Shift+Cmd+I. Win: Ctrl+Shift+J or F12). From there, you can run the test and get the full report. In addition, there is a separate Chrome add-on for Lighthouse that adds a button to your toolbar, though using it stays the same with a few restrictions: you can’t validate sites on your local server and authenticated pages also won’t work.
You can also run Lighthouse as a Node package. This way, you can incorporate the test into your build process. When using the Node package, you will also see that there are a couple of audits that only work in a Node environment and not in the Audits panel of the DevTools.
To install Lighthouse globally from the command line use:
npm install -g lighthouse
If you want to run a test for https://example.com use:
lighthouse https://example.com
The full results of the audit will be available in the terminal, but also in a separate HTML file.
The post Checking mobile site speed and SEO with Google Lighthouse appeared first on PureSourceCode.
from WordPress https://www.puresourcecode.com/tools/google-tools/checking-mobile-site-speed-and-seo-with-google-lighthouse/
0 notes