Rotating Rails Log Files
Why Rotation of log files is important.
The idea behind log rotation is simple: make a back up of the current log file, continue logging into a new or cleared log file, and discard log files that are older than a certain date. Your web server probably already rotates its own log files. For Apache, they are probably located in/etc/httpd/logs and they are probably rotated weekly. These logs store everything Apache does. Simple webserver stats and traffic analysis tools make use of these log files to show who visits a site when and what pages are viewed. While it is possible to configure your Rails application to log to your Apache log files, I do not think it is a good practice. It’s much better to give each Rails application its own log file—it will be easier to find important Rails errors, it will keep your Apache logs cleaner and Rails is set up to keep its own logs by default. Fortunately, on a Linux server the built-in logrotate program will make the process super-easy. After the jump, I’ll walk you through the steps to get it set up. Configuring logrotatelogrotate gets its configuration information from the file /etc/logrotate.conf. If you can’t find it, you can type locate logrotate.conf from the command line to see where it lives. Open up that file in a text editor (nano /etc/logrotate.conf will work) and append the following lines at the end:
# Rotate Rails application logs
/path/to/your/rails/applicaton/log/*.log {
daily
missingok
rotate 7
compress
delaycompress
notifempty
copytruncate
}
Here’s what each line does:
/path/to/your/rails/applicaton/log/*.log –
Use the full path to the log directory of your Rails application (symbolic links are acceptable too). “*.log” will rotate any file in the log directory with .log at the end. If you only want to rotate certain log files you can be more specific.
daily
Rotates the log files every day. You could specify weekly or monthly instead.
/missingok
Don’t issue an error message if log files are missing.
/rotate 7
The maximum number of log files to keep. Once you have more than this number, the oldest file will be deleted. I set it to keep seven days worth but feel free to change this number.
/compress
Compress old versions of log files to save space (uses gzip by default).
/delaycompress
Delays the compression until the next log rotation. It’s a minor point and probably not strictly necessary, but it makes sure that the log file is truly no longer active before compressing it.
/notifempty
If the log file is empty, there’s no need to rotate it. You can remove this option if you want to rotate even blank log files; just keep in mind that you may erase a log file that has lots of information to make room for your blank log file.
/copytruncate
Makes a backup copy of the current log and then clears the log file for continued writing. The alternative is to use create which will perform the rotation by renaming the current file and then creating a new log file with the same name as the old file. I strongly recommend that you use copytruncate unless you know that you need create. The reason why is that Rails, FastCGI, Mongrel, etc. may still keep pointing to the old log file even though its name has changed and they may require restarting to locate the new log file. copytruncate avoids this by keeping the same file as the active file.
If you have more than one Rails application, you can repeat this code to rotate them all one-after-another. There other options you can specify, man logrotate will show you them all. I haven’t used them but the options to mail log files on creation or deletion look interesting. It is also possible to have rotate the logs once they get to a certain size instead of at a certain time.
Using logrotate
To use the log rotation you just configured, you have two choices.
- Wait for the next day (or whatever time period you specified). If you configured it correctly, rotation should occur automatically and without further commands.
- Run it immediately by typing /usr/sbin/logrotate -f /etc/logrotate.conf on the command line. (The -f is for “force it to run now.)
That’s all there is to it! Now your log files won’t fill up to an unmanagable size yet you’ll still be able to go back and track any recent errors.


{% extends "base.html" %} {% block body %}
Bootstrap 2
Bootstrap 3
Bootstrap 4 Bootstrap 4 (responsive) Bootstrap4.1.3
Bootstrap 5 beta3 Bootstrap 5 beta3 (responsive)


384 West 4th St Suite 108 Portland, Maine
3433 Phisherman's Avenue (Northwest Corner) Portland, Maine
515 Cresent Avenue Second Floor Portland, Maine


I had been very excited about Salvia for several weeks before the experience. My friend had promised me a trip for my birthday, so I was quite excited. We had attempted to trip once before, but with disastrous results. The smoke had made me cough (thanks to my low tolerance to it), and the salvia fell out of the makeshift tin foil pipe onto the floor. No effects, save for the perception of an elongation of my cargo van. This time was different, however. It wasn’t a “full breakthrough” as I’ve seen them be described, but it was damn close.
It began one lazy day after school. My friend called, and asked in an excited voice where I was, because he had salvia. I told him I’d meet him at a local park in five minutes. Upon arrival, he and two of his friends (two girls who I don’t know) piled into my van. We were off. W had no idea where, but we finally settled on the side of some road between two corn fields. It was a cold, windy day. There was a bit of unseasonable snow, also. My friend made the familiar tin foil pipe, and filled it with some salvia. For the next five or so minutes, it appeared as though he had developed some debilitating mental disorder. It was now my turn. I waited nervously as the pipe was passed up to me.
I was sitting upright in the passenger’s seat, which had been fully reclined. The door was open so I could blow the smoke out of the van more easily. I ignited the lighter and began what was to be my largest hit of anything to date. I held it in for what felt like a lifetime, being coached along by my friend. I felt lightheaded, and almost as though I was about to faint. I released the semi-sweet smoke out the open door, grabbed the handle of the door, and fell back into what felt like oblivion. There was a distinct section of nothingness between the hit and the beginning of the trip. What I found odd was the total lack of a come-up. What I found even stranger was how calm I was after being plunged into this all at once.
I rose up, and immediately felt as though some drastic change had happened. I flailed and yelled something about track number 9. I wanted to listen to “Lateralus” by Tool, but for some reason I could not communicate this thoroughly enough. I was saying the correct “words,” but they seemed to have no meaning. The next thing I noticed was this overpowering, undeniable force of energy pressing me back towards the seat.  Finally, my friend started the song for me. I laid back in my seat, giving in to the “river of energy” flowing over me. The song was amazing, and every time I closed my eyes, I felt as though I was about to push up and out of existence itself. Then, my cell phone rang. I made the mistake of answering it.
It was my girlfriend calling to ask where I was, since I was now several minutes late to pick her up. I assured her (quite crazily, as it turns out) that I would be there soon. I panicked slightly, but calmed down. My mind was working better than usual, but I still couldn’t communicate anything properly. It was now that I noticed that my three “sitters” were laughing uncontrollably at everything I said, no matter how small or mundane it seemed to me. I realized that in a “sober” state people can’t grasp what could possibly be happening in the mind of someone tripping, even if they were just there not even five minutes prior. I became very frustrated in the attempt to communicate with these grounded beings. I felt as though I was attempting to exist through a broken and slightly out of tune CB radio. Everything was fuzzy.
I had become used to this state and began noticing things outside. For example, the corn was blowing in the same direction that I was being pulled. I felt like a giant octopus from across the stars was attached to my every cell and thought, pulling me backwards. I heard a sound similar to that in an ultrasound, a slight back-and-forth whooshing, gushing, beating sound. I was now waiting this trip out. I had to go outside, I felt, or this would never end. I leapt out of the van, despite the protests of those around me.
I immediately felt closer to “normal,” and as though driving would be a possibility within a few moments. I waited another minute, and felt fine to drive. I was having trouble contemplating the fact that I had just nearly broken through the bubble holing us into reality, so I held it off until later. Driving, I felt as though I had just awoken. I was completely lost, however. I finally got my friends back to their car (while one of the two girls had a salvia trip in the back of my van). I sped to get to my girlfriend. I was very relieved to see her, despite her anger at my lateness. When I arrived home, I immediately started trying to make heads or tails of the experience. Overall it was informative, but I wish I had fully broken through.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Last name
First name
Address
17 Hristo Botev Str. Floor 3, Ap. 12
City
State
Zip/Postal Code
Country
Bulgaria
Greece
Romania
Phone(country code, area code, number)
(+
)
-
Email
Birth date
Month
Day
Year (4 digit)
Gender
Male
Female
Starting date
Spring 2006
Summer 2006
Comments/Questions
Please send me more information about the lodging.


Table 2-2 summarizes the options and tools that are designed for postmortem diagnostics. If an application crashes, these options and tools can be used to obtain additional information, either at the time of the crash or later using information from the crash dump.
Table 2-2 Postmortem Diagnostics Tools
| Tool or Option | Description and Usage |
|---|---|
|
Fatal Error Log |
When an irrecoverable (fatal) error occurs, an error log is created. This file contains much information obtained at the time of the fatal error. In many cases it is the first item to examine when a crash occurs. See Appendix A. |
|
|
This command-line option specifies the generation of a heap dump when the VM detects a native out-of-memory error. See The -XX:HeapDumpOnOutOfMemoryError Option. |
|
|
This command-line option specifies a sequence of user-supplied scripts or commands to be executed when a fatal error occurs. For example, on Windows, this option can execute a command to force a crash dump. This option is very useful on systems where a post-mortem debugger is not configured. See The -XX:OnError Option. |
|
|
This command-line option suspends a process when a fatal error occurs. Depending on the user response, the option can launch the native debugger (for example, |
|
Other |
Several other |
|
Java VisualVM (postmortem use on Oracle Solaris and Linux operating systems only) |
This utility can analyze a core dump by providing a readable display of the core dump in the form of a heap dump and a thread dump, as well as overview information (for example, JVM arguments and system properties. See Java VisualVM. |
|
|
Debugger support includes an |
|
|
This utility provides a convenient means to browse the object topology in a heap dump. See The jhat Utility. |
|
(postmortem use on Oracle Solaris and Linux operating systems only) |
This utility can obtain configuration information from a core file obtained from a crash or from a core file obtained using the |
|
(postmortem use on Oracle Solaris and Linux operating systems only) |
This utility can obtain memory map information, including a heap histogram, from a core file obtained from a crash or from a core file obtained using the |
|
(Oracle Solaris and Linux operating systems only) |
The Serviceability Agent Debug Daemon ( |
|
|
This utility can obtain Java and native stack information from a Java process. On Oracle Solaris and Linux operating systems the utility can also get the information from a core file or a remote debug server. See The jstack Utility. |
|
Native tools |
Each operating system has native tools and utilities that can be used for postmortem diagnosis. See Native Operating System Tools. |


|
<project name>
|
PCA9685 I2C LED/SERVO CONTROLLER. More...
#include <PCA9685.hpp>
Public Member Functions | |
| PCA9685 (hwlib::i2c_bus &bus, uint8_t i2c_address) | |
| PCA9685 constructor. More... | |
| void | write (uint8_t reg, uint8_t value) |
| The write function. More... | |
| void | pwm0on () |
| The pwm0on function. More... | |
| void | pwm0zero () |
| The pwm0zero function. More... | |
| void | pwm0up () |
| The pwm0up function. More... | |
| void | pwm1on () |
| The pwm1 on, zero and up functions. More... | |
| void | pwm1zero () |
| void | pwm1up () |
| void | pwm2on () |
| The pwm2 on, zero and up functions. More... | |
| void | pwm2zero () |
| void | pwm2up () |
| void | pwm3on () |
| The pwm3 on, zero and up functions. More... | |
| void | pwm3zero () |
| void | pwm3up () |
| void | pwm4on () |
| The pwm4 on, zero and up functions. More... | |
| void | pwm4zero () |
| void | pwm4up () |
| void | pwm5on () |
| The pwm5 on, zero and up functions. More... | |
| void | pwm5zero () |
| void | pwm5up () |
| void | pwm6on () |
| The pwm6-15 on, zero and up functions. More... | |
| void | pwm6zero () |
| void | pwm6up () |
| void | pwm7on () |
| void | pwm7zero () |
| void | pwm7up () |
| void | pwm8on () |
| void | pwm8zero () |
| void | pwm8up () |
| void | pwm9on () |
| void | pwm9zero () |
| void | pwm9up () |
| void | pwm10on () |
| void | pwm10zero () |
| void | pwm10up () |
| void | pwm11on () |
| void | pwm11zero () |
| void | pwm11up () |
| void | pwm12on () |
| void | pwm12zero () |
| void | pwm12up () |
| void | pwm13on () |
| void | pwm13zero () |
| void | pwm13up () |
| void | pwm14on () |
| void | pwm14zero () |
| void | pwm14up () |
| void | pwm15on () |
| void | pwm15zero () |
| void | pwm15up () |
PCA9685 I2C LED/SERVO CONTROLLER.
This chip uses PWM and I2C, in this library, the code is focused on PWM pins 0,1,2,3,4 and 5 The library works for both leds and motors. The code uses the hwlib library for the i2c part. There are 3 states that this library uses, "on", "zero" and "up". "on" and "zero" are needed for the leds. All 3 states are needed for the motors.
|
inline |
PCA9685 constructor.
This is the constructor, it uses the i2c_bus_bit_banged_scl_sda from hwlib, and the i2c adress. This chip uses 0x40 as default adress, but this will be assigned in the main.cpp file, since it might be different for some people.
| void PCA9685::pwm0on | ( | ) |
The pwm0on function.
The pwm0on function sends the value 100 to the OFF_H register of the pwm0 pin. This function will allow leds to turn on, and motors will rotate (about 90 degrees) to the right. Unlike the other pwm-on functions, the pwm0on function also sends the value 0x04 to the OFF_L register of the pwm0 pin. This value is NOT required for the motors, but it IS for the leds. Without the value 0x04, the led shines very dimly. This value does NOT seem to affect the motors, therefore it is not required for the motors, but leaving it in the code doesn't do any harm either.
| void PCA9685::pwm0up | ( | ) |
The pwm0up function.
The pwm0up function sends the value 100 to the ON_L register of the pwm0 pin. This function will allow motors to rotate (about 90 degrees) to the left. Unlike the other pwm-up functions, the pwm0up function DOES NOT send the value 0x04 to the ON_H register of the pwm pin. Without the value 0x04 on the OTHER pwm pin registers, the motor either DOES NOT rotate at all, or rotates a bit to the right. This value does NOT seem to be needed for the pmw0 pin, and I have NOT tested it WITH this pin, only WITHOUT.
| void PCA9685::pwm0zero | ( | ) |
The pwm0zero function.
The pwm0zero function sends the value 0 to EVERY register belonging to the pwm0 pin. This is the register for ON_L, ON_H, OFF_L and OFF_H. This function will allow leds to turn off, and is some sort of "wait" state for the motors.
| void PCA9685::pwm1on | ( | ) |
The pwm1 on, zero and up functions.
See the pwm0 functions.
| void PCA9685::pwm2on | ( | ) |
The pwm2 on, zero and up functions.
See the pwm0 functions.
| void PCA9685::pwm3on | ( | ) |
The pwm3 on, zero and up functions.
See the pwm0 functions.
| void PCA9685::pwm4on | ( | ) |
The pwm4 on, zero and up functions.
See the pwm0 functions.
| void PCA9685::pwm5on | ( | ) |
The pwm5 on, zero and up functions.
See the pwm0 functions.
| void PCA9685::pwm6on | ( | ) |
The pwm6-15 on, zero and up functions.
See the pwm0 functions. The pwm6-15 functions have NOT been tested yet though.
| void PCA9685::write | ( | uint8_t | reg, |
| uint8_t | value | ||
| ) |
The write function.
The write function allows the user to write data to the chip, by using a register and a value. These are variables, 255 is the highest value possible for "value".


Part I. Installation and Configuration Instructions
Prev
Next
Installation and Configuration Instructions
Table of Contents
1. Introduction
2. Minimum Requirements
Minimum Software Requirements
3. Selecting and Downloading the NVIDIA Packages for Your System
4. Installing the NVIDIA Driver
Before you Begin
Starting the Installer
Installing the Kernel Interface
Registering the NVIDIA Kernel Module with DKMS
Signing the NVIDIA Kernel Module
Adding Precompiled Kernel Interfaces to the Installer Package
Other Features of the Installer
5. Listing of Installed Components
6. Configuring X for the NVIDIA Driver
Using nvidia-xconfig to configure the X server
Manually Editing the Configuration File
Restoring the X Configuration after Uninstalling the Driver
7. Frequently Asked Questions
8. Common Problems
9. Known Issues
10. Allocating DMA Buffers on 64-bit Platforms
11. Specifying OpenGL Environment Variable Settings
12. Configuring Multiple Display Devices on One X Screen
13. Configuring GLX in Xinerama
14. Configuring Multiple X Screens on One Card
15. Support for the X Resize and Rotate Extension
RandR Support
RandR 1.1 Rotation Behavior
Output Properties
DisplayPort 1.2
Monitor Configuration Options
Known Issues
16. Configuring a Notebook
17. Using the NVIDIA Driver with Optimus Laptops
18. Programming Modes
19. Configuring Flipping and UBB
20. Using the
/proc
File System Interface
21. Configuring Power Management Support
Background
Overview
Preserve all video memory allocations
systemd
Configuration
Exercising power management with
systemd
Known Issues and Workarounds
22. PCI-Express Runtime D3 (RTD3) Power Management
Introduction
Supported Configurations
System Settings
Driver Settings
Video Memory Utilization Threshold
Procfs Interface For Runtime D3
Known Issues And Workarounds
Automated Setup
Reporting Issues
23. Using the X Composite Extension
24. Using the nvidia-settings Utility
25. NVIDIA Spectre V2 Mitigation
26. Using the nvidia-smi Utility
27. The NVIDIA Management Library
28. Using the nvidia-debugdump Utility
29. Using the nvidia-persistenced Utility
Background
Usage
Troubleshooting
Notes for Package Maintainers
30. Configuring SLI and Multi-GPU Mosaic
31. Configuring Frame Lock and Genlock
32. Configuring Depth 30 Displays
33. Offloading Graphics Display with RandR 1.4
34. PRIME Render Offload
35. Direct Rendering Manager Kernel Modesetting (DRM KMS)
Known Issues
36. Configuring External and Removable GPUs
37. NGX
38. Addressing Capabilities
39. NVIDIA Contact Info and Additional Resources
40. Acknowledgements


↩
🔗 Share this
Sharing shortlink (copy and paste to whatever app you need)
Close
Just a sec, we're loading your article...
😃
Javascript not enabled. Unable to load.


EBD - Easton Bible DIctionary
Hough
HOUGH
"HOUGH "to hamstring, i.e., sever the “tendon of Achilles” of the hinder legs of captured horses (
Joshua 11:6
;
2 Samuel 8:4
;
1 Chronicles 18:4
), so as to render them useless.
"HOUGH "to hamstring, i.e., sever the “tendon of Achilles” of the hinder legs of captured horses (Joshua 11:6; 2 Samuel 8:4; 1 Chronicles 18:4), so as to render them useless.


Happenings
{{ display_event("Weekly Meeting", "Join us on Zoom
every Monday at 7 ET to get involved. We update on club events, craft, chat about sustainable fashion, and so much more - all are welcome!",
'images/wsh.jpg') }}
{{ display_event("Ezra's Exchange", "Ezra's Exchange is a closet space open in the browsing
library in Willard Straight Hall. The closet's slogan is 'Free to Give, Free to Take.'
Here you can donate clothes and find new ones for free! Open whenever Willard Straight is!",
'images/exchangeclosets.jpg') }}
{{ display_event('Pop-Up-Shops', "Want to start shopping sustainably? Check nextbest.com for our
online store, or stop by
one of our pop-up shops to find free/low-price clothing from other Cornell students and local thrift shops!
",
'images/pop-up2.jpg') }}
{{ display_event('Behind the Seams', "Behind the Seams is a photo campaign to get people thinking
about the value of clothes by sharing the stories they hold. We're hoping to reduce waste by having
people rethink the way they see their clothes. New photos go up on our Cornell Thrift Instagram
page every week.", 'images/foot_grass.jpg', none,'Check out our Instagram Page',
"https://www.instagram.com/cornellthrift/?utm_source=ig_embed", 'external' ) }}
{{ display_event("Mending Workshops", "Tore your favorite shirt? Want to restyle an old pair of jeans?
We'll teach you how to sew on that missing button, fix a tear, or emborider. Stay tuned for information on upcoming sessions. ", 'images/mending_workshop.jpg') }}


Initiated this branch on 4:00pm on 04/16/17
Description
Warp Arr killick parley keelhaul wench hulk hearties hang the jib Plate Fleet. Gibbet belay ballast Sink me crimp code of conduct deadlights parley bounty Barbary Coast. Hearties rum careen reef Privateer cutlass snow fore hardtack swab.
Fire in the hole careen hang the jib hearties driver spyglass belay yardarm gangplank pink. Swing the lead Barbary Coast belay hogshead fire ship wherry piracy gangway dead men tell no tales rigging. Bowsprit main sheet smartly ho gangway squiffy hardtack bilge rat spirits flogging.


| Language Front |
|
|||||
| Checks |
|
|||||
| Start date |
|
|||||
| Due date |
|
| Question | Language Front | Language Back | Checks | Start Date | Due Date | |
|---|---|---|---|---|---|---|
| {{card.question}} |
{{card.languageFront.name}}
none
|
{{card.languageBack.name}}
none
|
{{card.check}} | {{card.startDate | date:'shortDate'}} none | {{card.dueDate | date:'shortDate'}} none | |
| and {{course.cards.length - pack.cards.length}} further cards |


Problem Statement
Given a structure of the Hidden Markov Model (figure on the right), and a sequence of observations, consisting of Heads and Tails which are generated by two coins, one is balanced and the other is loaded, our task is to learn the transition and sensory probabilities using the EM for HMM algorithm and then to find the most probable sequence of states (Balanced or Loaded) that generated these observations using Viterbi's algorithm.
Instructions
This application will take initial parameters, in the form of two input files and a single value for N in the form below. It will then serve those initial parameters as input to the EM for HMM algorithm. The output of that process will then be served as input to Vertibi's algorithm, and ultimately, Specificity, Sensitivity, and Accuracy will be calculated by comparing actual state sequence values against learned state sequence values. Finally, a ROC analysis will then be performed, based on changes to the value of N (the number of iterations) with the results of that analysis being presented to the user on the screen.
|


Implements fast, exact bootstrap Principal Component Analysis and Singular Value Decompositions for high dimensional data, as described in <http://arxiv.org/abs/1405.0922>. For data matrices that are too large to operate on in memory, users can input objects with class 'ff' (see the 'ff' package), where the actual data is stored on disk. In response, this package will implement a block matrix algebra procedure for calculating the principal components (PCs) and bootstrap PCs. Depending on options set by the user, the 'parallel' package can be used to parallelize the calculation of the bootstrap PCs.
| Version: | 0.5 |
| Depends: | R (≥ 3.0.2) |
| Imports: | ff, parallel |
| Published: | 2015-06-02 |
| Author: | Aaron Fisher |
| Maintainer: | Aaron Fisher <fisher at jhu.edu> |
| License: | GPL-2 |
| URL: | http://arxiv.org/abs/1405.0922 |
| NeedsCompilation: | no |
| Materials: | README |
| CRAN checks: | bootSVD results |
| Reference manual: | bootSVD.pdf |
| Package source: | bootSVD_0.5.tar.gz |
| Windows binaries: | r-devel: bootSVD_0.5.zip, r-release: bootSVD_0.5.zip, r-oldrel: bootSVD_0.5.zip |
| OS X binaries: | r-release: bootSVD_0.5.tgz, r-oldrel: bootSVD_0.5.tgz |
| Old sources: | bootSVD archive |
Please use the canonical form https://CRAN.R-project.org/package=bootSVD to link to this page.


Number of subdir levels below the queue dir
hash_queue_depth
This parameter specifies the number of subdirectory levels below the queue
directories listed in the
hash_queue_names parameter.
Multiple subdirectory levels can speed up directory access by reducing the
number of files per directory.


How to play: Use your arrow keys to move the Browsers.
When two identical Browsers touch, the power of web standards interoperability
will merge them into a newer Browser!
A complete ripoff of Us Vs Th3m's complete ripoff of Gabriele Cirulli's MIT-licensed 2048, which was based on 1024 by Veewo Studio and conceptually similar to Threes by Asher Vollmer.


For the first visualization, we extracted the data from the Tokyo 2020 Olympics Games Medals Rank and tried to see the distribution of gold, silver, and bronze medals for the top five countries. Grouped bar chart would be an appropriate graph to describe this kind of data since each countries has three measures.
Then, we could group three measures for each country and use bar chart to visualize the measures.
For the second visualization, we focused on the data of the Apple Stock prices in June 2015. We use x-axis to represent the days in June and y-axis to represent the stock closed price. Thus, the location of each dot indicates the date or its corresponding stock closed price.
Therefore, the scatter plot would be an appropriate visual tool to show how the closed stock price varied over time.
Both of the datasets come from kaggle.com but we did not use the complete datasets. You can access them here :OlympicMedals AppleStocks
List here where any code, packages/libraries, text, images, designs, etc. that you leverage come from.


Start Approximation
Stop Approximation
Draw new rectangle
Total of points plotted inside rectangle:
Total of points plotted:
Estimated area:
Real area:


Only Admins and those with the 'view-secrets' role will see this page in their header nav.
{{secret}}


Some times it is convenient to execute script every time with the same command-line arguments. In such case you can specify command-line arguments directly from code. Note that both script and script engine arguments are allowed except /noconfig engine command-line switch.
This is the directive to use embedded parameters:arg0..N - script or script engine argument
Remember that you may need to escape some path characters that conflict with the //css_ delimiters. See Delimiters Escaping section.
The file test.cs contains the following code:
| //css_args /dbg, "Arg0, ", Arg1; using System; class Script { static public void Main(string[] args) { System.Diagnostics.Debug.Assert(args.Length > 1); Console.WriteLine(args[0]+args[1]); } } |
The script will always print in console window "Arg0, Arg1". Also note that it will be executed in debug mode.
The directive //css_args /dbg, "Arg0, ", Arg1; is an equivalent of the following command prompt command:


| Top |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkFrame ╰── GtkAspectFrame
The GtkAspectFrame is useful when you want pack a widget so that it can resize but always retains the same aspect ratio. For instance, one might be drawing a small preview of a larger image. GtkAspectFrame derives from GtkFrame, so it can draw a label and a frame around the child. The frame will be “shrink-wrapped” to the size of the child.
GtkWidget * gtk_aspect_frame_new (const gchar *label
,gfloat xalign
,gfloat yalign
,gfloat ratio
,gboolean obey_child
);
Create a new GtkAspectFrame.
label |
Label text. |
[allow-none] |
xalign |
Horizontal alignment of the child within the allocation of the GtkAspectFrame. This ranges from 0.0 (left aligned) to 1.0 (right aligned) |
|
yalign |
Vertical alignment of the child within the allocation of the GtkAspectFrame. This ranges from 0.0 (top aligned) to 1.0 (bottom aligned) |
|
ratio |
The desired aspect ratio. |
|
obey_child |
If |
void gtk_aspect_frame_set (GtkAspectFrame *aspect_frame
,gfloat xalign
,gfloat yalign
,gfloat ratio
,gboolean obey_child
);
Set parameters for an existing GtkAspectFrame.
aspect_frame |
||
xalign |
Horizontal alignment of the child within the allocation of the GtkAspectFrame. This ranges from 0.0 (left aligned) to 1.0 (right aligned) |
|
yalign |
Vertical alignment of the child within the allocation of the GtkAspectFrame. This ranges from 0.0 (top aligned) to 1.0 (bottom aligned) |
|
ratio |
The desired aspect ratio. |
|
obey_child |
If |
“obey-child”
property“obey-child” gboolean
Force aspect ratio to match that of the frame's child.
Flags: Read / Write
Default value: TRUE
“ratio”
property“ratio” gfloat
Aspect ratio if obey_child is FALSE.
Flags: Read / Write
Allowed values: [0.0001,10000]
Default value: 1
“xalign”
property“xalign” gfloat
X alignment of the child.
Flags: Read / Write
Allowed values: [0,1]
Default value: 0.5
“yalign”
property“yalign” gfloat
Y alignment of the child.
Flags: Read / Write
Allowed values: [0,1]
Default value: 0.5


SUm of Single Effect (SuSiE) Regression of Y on X
susie(X, Y, L = 10, scaled_prior_variance = 0.2, residual_variance = NULL, prior_weights = NULL, null_weight = NULL, standardize = TRUE, intercept = TRUE, estimate_residual_variance = TRUE, estimate_prior_variance = FALSE, s_init = NULL, coverage = 0.95, min_abs_corr = 0.5, compute_univariate_zscore = FALSE, max_iter = 100, tol = 0.001, verbose = FALSE, track_fit = FALSE)
| X | an n by p matrix of covariates |
|---|---|
| Y | an n vector |
| L | maximum number of non-zero effects |
| scaled_prior_variance | the scaled prior variance (vector of length L, or scalar. In latter case gets repeated L times). The prior variance on each non-zero element of b is set to be var(Y)*scaled_prior_variance. |
| residual_variance | the residual variance (defaults to variance of Y) |
| prior_weights | a p vector of prior probability that each element is non-zero |
| null_weight | probability of no effect, for each single effect model |
| standardize | logical flag (default=TRUE) for whether to standardize columns of X to unit variance prior to fitting. Note that `scaled_prior_variance` specifies the prior on the coefficients of X *after* standardization (if performed). If you do not standardize you may need to think more carefully about specifying `scaled_prior_variance`. Whatever the value of standardize, the coefficients (returned from `coef`) are for X on the original input scale. Any column of X that has zero variance is not standardized, but left as is. |
| intercept | Should intercept be fitted (default=TRUE) or set to zero (FALSE). The latter is generally not recommended. |
| estimate_residual_variance | indicates whether to estimate residual variance |
| estimate_prior_variance | indicates whether to estimate prior (currently not recommended as not fully tested and assessed) |
| s_init | a previous susie fit with which to initialize |
| coverage | coverage of confident sets. Default to 0.95 for 95% credible interval. |
| min_abs_corr | minimum of absolute value of correlation allowed in a credible set. Default set to 0.5 to correspond to squared correlation of 0.25, a commonly used threshold for genotype data in genetics studies. |
| compute_univariate_zscore | if true, outputs z-score from per variable univariate regression |
| max_iter | maximum number of iterations to perform |
| tol | convergence tolerance |
| verbose | if true outputs some progress messages |
| track_fit | add an attribute |
a susie fit, which is a list with some or all of the following elements
an L by p matrix of posterior inclusion probabilites
an L by p matrix of posterior means (conditional on inclusion)
an L by p matrix of posterior second moments (conditional on inclusion)
an n vector of fitted values, equal to X times colSums(alpha*mu))
residual variance
prior variance
a vector of values of elbo achieved (objective function)
a list of `cs`, `purity` and selected `cs_index`
a vector of posterior inclusion probability
a vector of univariate z-scores
Performs Bayesian multiple linear regression of Y on X. That is, this function fits the regression model Y= sum_l Xb_l + e, where elements of e are iid N(0,residual_variance) and the sum_l b_l is a p vector of effects to be estimated. The assumption is that each b_l has exactly one non-zero element, with all elements equally likely to be non-zero. The prior on the non-zero element is N(0,var=var(Y)*scaled_prior_variance).
# NOT RUN { set.seed(1) n = 1000 p = 1000 beta = rep(0,p) beta[1:4] = 1 X = matrix(rnorm(n*p),nrow=n,ncol=p) y = X %*% beta + rnorm(n) res =susie(X,y,L=10) coef(res) plot(y,predict(res)) # }


--- layout: post title: Neigh-bour date: 2010-11-15 09:00:23.000000000 +05:30 categories: - kiranoncemore - Nikon D3000 tags: - horse - Ladakh - landscape - TsoKar - wildlife status: publish type: post published: true meta: _edit_last: '2' author: login: kiranoncemore email<EMAIL_ADDRESS>display_name: kiranoncemore first_name: Kiran last_name: '' ---
Av:F/7,1; Tv:1/500s; f:55mm
Post-processing: RAWTherapee
Meet our .. er.. neigh-bour at TsoKar. There were several horses grazing away in the pastures next to TsoKar lake in Ladakh. Even when we approached pretty close to them in order to get proper shots, they did not seem to take notice and continued grazing. That made for great framing and composition.
What I like about this pic is the landscape in the background. The horse itself, the mountains and the clouds form one heck of a combination.
I feel that I went too far while enhancing the colour during post processing. That makes the photo look slightly unnatural. Secondly, the horse's face is a bit dark - I'd set that right by playing around with the shadows setting if I were to get another go at this photo.


Here you will learn about how search engines work and see what is happens on the inside. Click the start button below to read the basics, and after that you can choose what you want to learn.
START


Pig Dice
Roll Score:
0
Player One
Round Score:
0
Total Score:
0
Roll
Pass
New Game!
Player Two
Round Score:
0
Total Score:
0
Roll
Pass


My favourite sport is soccer. I train with my local team twice a week and have a match every Saturday. We are currently pushing for promotion to the top division for our age group so that is taking over my life at the moment. I support Liverpool FC in the English Premier League and also have a keen interest in Cork City in the Airtricity League(league of Ireland). I occasionally attend Liverpool games due the cost of flying over and back, attending my last two years ago in March. Yet I am a regular fixture at Cork City games going every Friday home game that I can. To say I am a soccer fanatic would be an understatement.
I also have a strong interest in rugby. I am a Munster fan and of course an Ireland fan. I used to play rugby when I was in school but gave it up due to soccer commitments. My interest in the sport however has not faded, I am eagerly anticipating this years Rugby World Cup in Japan and hope that Ireland can go all the way. I am also keeping a close eye on the Munster teams progress in both the Champions Cup and the Pro 14.
Another one of my passions is boxing. Although I have never competed in boxing I am a loyal fan of the sport. I most recently watched the IBF Heavyweight title fight between Deontay Wilder and Tyson Fury. The match ended in a draw but the pulsating back and forth exchanges made it a classic. Tyson Fury rose from the canvas twice, the second of which appeared to have had him unconscious, and draw the fight. It was truly inspiring to watch it happen. Although that was one of my favourite fights of all time my favourite fighter is undoubtedly Anthony Joshua.


CodeCamp Survey Form
Thank you for taking the time to help us improve the platform
Name
Email
Age
Occupation
Would you recommend CodeCamp to a friend?
Definetly
May be
Not Sure
What is your favorite feature of CodeCamp?
challanges
projects
community
open-source
What would you like to see improved?
Front-end Projects
Back-end Projects
Data Visualization
Challenges
Open Source Community
Gitter help rooms
Videos
City Meetups
Wiki
Forum
Additional Courses
Any comments or suggestions?
type here
Submit


--- layout: archive title: Zulip Chat Archive permalink: /stream/144837-PR-reviews/topic/.231274.20combinatorial.20games.html ---
@Reid Barton, after too much fighting I managed to make domineering computational, so it's possible to evaluate small board positions with dec_trivial
. I'm happy about this, but very sad about the hoops that I had to jump through to make it happen.

Before I invest any effort in those, could I get you to have a look again and give your opinion on whether the tradeoffs are worth it?
(and now, off to :bed: for me)
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC


{% extends 'layouts/master.html' %} {% import 'macros/paginate.html' as paginate %} {% import 'macros/macros.html' as macros %} {% import './macros/ads.html' as ads %} {% block embed %}
Recommendation: Select at least one tag from each group.


Govt. to conduct inter-collegiate sports, cultural competitions after 31 years
₹75 lakh set aside for the event to be held in January-February: Chief Minister
by Special CorrespondentThe government has decided to conduct inter-collegiate sports and cultural competitions after a gap of 31 years in the Union Territory, Chief Minister V. Narayanasamy said on Tuesday.
Addressing a press conference along with Education Minister R. Kamalakannan, the Chief Minister said the events would be held in the months of January-February. The event was held last in 1988. A sum of ₹75 lakh has been set aside for the competitions, the Chief Minister said.
100 colleges
Students of around 100 colleges would be able to showcase their sporting and artistic talents. The first, second and third prize winners would be issued ‘meritorious sports person certificates,’ he also said.
He also announced the enhancement of welfare assistance to ex-servicemen.
The financial allowance provided to the ex-servicemen has been enhanced from ₹6,000 to ₹10,000 and the value of Deepavali gift coupon from ₹3,000 to ₹4,000.
From next year, instead of providing gift coupons, the money would be remitted to their bank accounts.
Ex-servicemen to benefit
Around 2500 ex-servicemen in the Union Territory would benefit from the government gesture. Cash allowance towards tuition fees of the wards of retired defence personnel has been doubled, the Chief Minister said.


Class SvgRect
Rectangles are defined as consisting of a (x,y) coordinate pair identifying a minimum X value, a minimum Y value, and a width and height, which are usually constrained to be non-negative.
Inherited Members
Namespace: SharpVectors.Dom.Svg
Assembly: SharpVectors.Model.dll
Syntax
public sealed class SvgRect : ISvgRect, IEquatable<ISvgRect>, IEquatable<SvgRect>
Constructors
SvgRect(Double, Double, Double, Double)
Declaration
public SvgRect(double x, double y, double width, double height)
Parameters
| Type | Name | Description |
|---|---|---|
| Double | x | |
| Double | y | |
| Double | width | |
| Double | height |
SvgRect(String)
Declaration
public SvgRect(string str)
Parameters
| Type | Name | Description |
|---|---|---|
| String | str |
Fields
Empty
Declaration
public static readonly SvgRect Empty
Field Value
| Type | Description |
|---|---|
| SvgRect |
Properties
Height
Declaration
public double Height { get; set; }
Property Value
| Type | Description |
|---|---|
| Double |
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Width
Declaration
public double Width { get; set; }
Property Value
| Type | Description |
|---|---|
| Double |
X
Declaration
public double X { get; set; }
Property Value
| Type | Description |
|---|---|
| Double |
Y
Declaration
public double Y { get; set; }
Property Value
| Type | Description |
|---|---|
| Double |
Methods
Contains(SvgPoint)
This determines if the specified point is contained within this SvgRect structure.
Declaration
public bool Contains(SvgPoint pt)
Parameters
| Type | Name | Description |
|---|---|---|
| SvgPoint | pt | The SvgPoint to test. |
Returns
| Type | Description |
|---|---|
| Boolean | This method returns true if the point represented by the pt parameter is contained within this SvgRect structure; otherwise false. |
Contains(SvgRect)
This determines if the rectangular region represented by rect is entirely contained within this SvgRect structure.
Declaration
public bool Contains(SvgRect rect)
Parameters
| Type | Name | Description |
|---|---|---|
| SvgRect | rect | The SvgRect to test. |
Returns
| Type | Description |
|---|---|
| Boolean | This method returns true if the rectangular region represented by rect is entirely contained within the rectangular region represented by this SvgRect; otherwise false. |
Contains(Double, Double)
This determines if the specified point is contained within this SvgRect structure.
Declaration
public bool Contains(double x, double y)
Parameters
| Type | Name | Description |
|---|---|---|
| Double | x | The x-coordinate of the point to test. |
| Double | y | The y-coordinate of the point to test. |
Returns
| Type | Description |
|---|---|
| Boolean | This method returns true if the point defined by x and y is contained within this SvgRect structure; otherwise false. |
Equals(ISvgRect)
Declaration
public bool Equals(ISvgRect other)
Parameters
| Type | Name | Description |
|---|---|---|
| ISvgRect | other | The SvgRect to test. |
Returns
| Type | Description |
|---|---|
| Boolean | This returns true if specified SvgRect has its X, Y, Width, and Height properties are equal to the corresponding properties of this SvgRect; otherwise, false. |
Equals(SvgRect)
Declaration
public bool Equals(SvgRect other)
Parameters
| Type | Name | Description |
|---|---|---|
| SvgRect | other | The SvgRect to test. |
Returns
| Type | Description |
|---|---|
| Boolean | This returns true if specified SvgRect has its X, Y, Width, and Height properties are equal to the corresponding properties of this SvgRect; otherwise, false. |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | obj | The Object to test. |
Returns
| Type | Description |
|---|---|
| Boolean | This returns true if the specified object is a SvgRect and its X, Y, Width, and Height properties are equal to the corresponding properties of this SvgRect; otherwise, false. |
Overrides
GetHashCode()
Gets the hash code for this SvgRect structure. For information about the use of hash codes, see Object.GetHashCode.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| Int32 | The hash code for this SvgRect. |
Overrides
Inflate(SvgRect, Single, Single)
Creates and returns an inflated copy of the specified SvgRect structure. The copy is inflated by the specified amount. The original rectangle remains unmodified.
Declaration
public static SvgRect Inflate(SvgRect rect, float x, float y)
Parameters
| Type | Name | Description |
|---|---|---|
| SvgRect | rect | The SvgRect to be copied. This rectangle is not modified. |
| Single | x | The amount to inflate the copy of the rectangle horizontally. |
| Single | y | The amount to inflate the copy of the rectangle vertically. |
Returns
| Type | Description |
|---|---|
| SvgRect | The inflated SvgRect. |
Inflate(Double, Double)
Inflates this SvgRect structure by the specified amount.
Declaration
public void Inflate(double x, double y)
Parameters
| Type | Name | Description |
|---|---|---|
| Double | x | The amount to inflate this SvgRect structure horizontally. |
| Double | y | The amount to inflate this SvgRect structure vertically. |
Intersect(SvgRect)
Declaration
public void Intersect(SvgRect rect)
Parameters
| Type | Name | Description |
|---|---|---|
| SvgRect | rect |
Intersection(SvgRect)
This replaces this SvgRect structure with the intersection of itself and the specified SvgRect structure.
Declaration
public void Intersection(SvgRect rect)
Parameters
| Type | Name | Description |
|---|---|---|
| SvgRect | rect | The rectangle to intersect. |
Intersection(SvgRect, SvgRect)
Returns a SvgRect structure that represents the intersection of two rectangles. If there is no intersection, and empty SvgRect is returned.
Declaration
public static SvgRect Intersection(SvgRect a, SvgRect b)
Parameters
| Type | Name | Description |
|---|---|---|
| SvgRect | a | A rectangle to intersect. |
| SvgRect | b | A rectangle to intersect. |
Returns
| Type | Description |
|---|---|
| SvgRect | A third SvgRect structure the size of which represents the overlapped area of the two specified rectangles. |
Intersects(SvgRect)
This determines if this rectangle intersects with rect.
Declaration
public bool Intersects(SvgRect rect)
Parameters
| Type | Name | Description |
|---|---|---|
| SvgRect | rect | The rectangle to test. |
Returns
| Type | Description |
|---|---|
| Boolean | This method returns true if there is any intersection; otherwise, false. |
Offset(Double, Double)
Adjusts the location of this rectangle by the specified amount.
Declaration
public void Offset(double x, double y)
Parameters
| Type | Name | Description |
|---|---|---|
| Double | x | The amount to offset the location horizontally. |
| Double | y | The amount to offset the location vertically. |
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| String |
Overrides
Union(SvgRect, SvgRect)
Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.
Declaration
public static SvgRect Union(SvgRect a, SvgRect b)
Parameters
| Type | Name | Description |
|---|---|---|
| SvgRect | a | A rectangle to union. |
| SvgRect | b | A rectangle to union. |
Returns
| Type | Description |
|---|---|
| SvgRect | A third SvgRect structure that contains both of the two rectangles that form the union. |
Operators
Equality(SvgRect, SvgRect)
This tests whether two SvgRect structures have equal location and size.
Declaration
public static bool operator ==(SvgRect left, SvgRect right)
Parameters
| Type | Name | Description |
|---|---|---|
| SvgRect | left | The SvgRect structure that is to the left of the equality operator. |
| SvgRect | right | The SvgRect structure that is to the right of the equality operator. |
Returns
| Type | Description |
|---|---|
| Boolean | This operator returns true if the two specified SvgRect structures have equal X, Y, Width, and Height properties. |
Inequality(SvgRect, SvgRect)
This tests whether two SvgRect structures differ in location or size.
Declaration
public static bool operator !=(SvgRect left, SvgRect right)
Parameters
| Type | Name | Description |
|---|---|---|
| SvgRect | left | The SvgRect structure that is to the left of the inequality operator. |
| SvgRect | right | The SvgRect structure that is to the right of the inequality operator. |
Returns
| Type | Description |
|---|---|
| Boolean | This operator returns true if any of the X, Y, Width, or Height properties of the two SvgRect structures are unequal; otherwise false. |


A collection of profiles of indigenous women from around the world. To be indigenous is not exclusive to the US or Canada. Defining who indigenous peoples are can be prolematic. Idigenous for this collection refers to a people which have cultural ties to the land and natural resources where they or ancestors orginated from.
Elizabeth Peratrovich—whose Tlingit name is Kaaxgal.aat, a member of the Lukaax̱.ádi clan of the Raven moiety—was born on July 4, 1911 in Petersburg, Alaska during a time of extensive segregation in the territory. She was lovingly raised by adoptive parents, living in various small Southeast Alaska communities throughout her childhood.
Elizabeth played an instrumental role in passing the first anti-discrimination law in the US. Elizabeth took to the floor of the Alaska Senate to deliver an impassioned call for equal treatment for Indigenous peoples. She was met with thunderous applause and her moving testimony is widely credited as a decisive factor in the passage of the historic Anti-Discrimination Act of 1945.
Fun fact: In 1988 the Alaska State Legislature declared February 16 as “Elizabeth Peratrovich Day”, and in 2020 the United States Mint released a $1 gold coin inscribed with Elizabeth’s likeness in honor of her historic achievements in the fight for equality.
Elizabeth was celebrated by Google Doodle on December 30th, 2020. This introduced her legacy to a whole new audience. The Doodle illustration was created by Michaela Goade a Tlingit artist based in Sitka, Alaska. She grew up hearing Elizabeth Peratrovich's name often, both in the community and also within her family. Michaela's early family history intertwines with Elizabeth's as she was a friend to her great-aunts, and she was often told that she shared a distant familial connection. Elizabeth Peratrovich is admired by Michaela for her strength, intelligence, courage and compassion.


Study Shows Pizza is a Medical Cure-All
April 1, 2019
A totally real research team from a probably-legit laboratory recently published a study showing that pizza is amazingly beneficial to your health.
April 1, 2019
A totally real research team from a probably-legit laboratory recently published a study showing that pizza is amazingly beneficial to your health.
April 1, 2019
“As I fell toward the ravine, I thought to myself, this is it. But then I remembered the pizza.” Discover Amelio Formaggio’s amazing survival story.


How to Read Signatures
Rather than providing concrete classes like other frameworks, Mithril provides methods that operate on plain old Javascript objects (POJOs) that match given signatures.
A signature is a description of its static type. For functions, it shows the parameters of the function, its return value and their expected types. For objects and arrays, it shows the expected data structure and the expected types of their members.
Method signatures in this documentation follow a syntax similar to Java syntax, with some extra additions:
ReturnType methodName(ParameterType1 param1, ParameterType2 param2)
Optional Parameters
Square brackets denote optional parameters. In the example below, param2
and param3
can both be omitted, but passing a value to param2
is required if also passing a value to param3
:
String test(String arg1 [, String arg2 [, String arg3]])
//examples of valid function calls
test("first");
test("first", "second");
test("first", "second", "third");
Type Placeholders
The word void
is used as a type when a function does not return a value (i.e. undefined):
void test()
console.log(test()); // undefined
The word any
is used as a type if there are no type restrictions on a parameter:
void test(any value)
//examples of valid function calls
test("hello");
test(1);
test(["hello", "world"]);
Arrays
Arrays use Generics syntax to denote the expected type of array members:
void test(Array<String> values)
//example of a valid function call
test(["first", "second"]);
Objects as Key-Value Maps
Objects also use Generics syntax when they are meant to be used as a key-value map. Keys are always strings and, in key-value maps, can have any name.
void test(Object<Number> values)
//example of a valid function call
test({first: 1, second: 2});
Objects as Class Interfaces
Objects that require specific keys are denoted using curly brace syntax:
void test(Object {String first, Number second} value)
//example of a valid function call
test({first: "first", second: 2});
Type Aliasing
Some types are aliases of more complex types. For example, in the example below, we created an alias called ComplexType
for the type from the previous example
void test(ComplexType value)
where:
ComplexType :: Object {String first, Number second}
//example of a valid function call
test({first: "first", second: 2})
Mixin Types
Curly brace syntax can also appear on other base types to denote that the value contains static members. For example, in the example below, a value of type ComplexType
is a string, but it also has a boolean property called flag
:
ComplexType :: String { Boolean flag }
//an example
var a = aComplexTypeValue
typeof a == "string" // true
"flag" in a // true
a.flag = true
In the following example, a value of type ComplexType
is a function, with a property called label
ComplexType :: void test() { String label }
//an example
var a = aComplexTypeValue
typeof a == "function" // true
"label" in a // true
a.label = "first"
Polymorphic Types
When multiple (but not all) types are accepted, the pipe |
is used to delimit the list of valid types
void test(Children children, Value value)
where:
Children :: Array<String text | Number number>
Value :: String | Number
//examples of valid function calls
test(["test", 2], "second")
test([1, 2, 3], "second")
test([1, "test", 3], 2)
Pipe syntax within Object curly brace syntax means that, for a specific key, name has specific type requirements.
In the example below, the value
parameter should be a key-value map. This map may contain a key called config
, whose value should be a function.
void test(Object { any | void config(DOMElement) } value)
//example of a valid function call
test({ first: "first", config: function(element) { /*do stuff*/ } })
Nullable Types
A question mark ?
after a type denotes that a value can be either of that type or undefined
.
XMLHttpRequest? config()
In the example above, the config
function is expected to return either an instance of the XMLHttpRequest object or undefined
Splat
An ellipsis ...
means that an array argument can instead be a list of arguments
VirtualElement m(String selector [, Attributes attributes] [, Children... children])
In the example above, we can define children as an array:
m("div", {title: "foo"}, ["child 1", "child 2", "child 3"])
And we also define it as a list of arguments (note that lack of square brackets)
m("div", {title: "foo"}, "child 1", "child 2", "child 3")


EVENT DETAILS
EVENT TYPE : ONSITE
NO. OF TEAMS : 1
NO. OF PARTICIPANTS : 2
ELIGIBILITY : XI - XII
NO. OF ROUNDS : 2
INSTRUCTIONS
» Pattern of both rounds of the quiz will be disclosed on the spot.
» The questions will be related to the world of IT.
» The decision of the Quiz-master will be final.
TEACHER IN-CHARGE
MS. NUPUR GUPTA
+91 9711 1688 40
STUDENT IN-CHARGE
ISHAN BHATEJA -
+91 9818 8795 45


Getting Started
July 21, 2017Welcome to the world of abductive reasoning! In this tutorial, you will learn how to use software called Etcetera Abduction, a form of logical abduction that finds assumptions that logically entail a given set of observations, and orders them by their probability.
This technology has lots of potential applications, including:
- interpreting the intended meaning of natural language text
- explaining people's observable behavior in terms of their beliefs, plans, and goals
- weighing competing theories in light of the available evidence
- inferring the situational context that explains the presence of objects in a visual scene
- generating creative narratives from novel combinations of characters, objects, and actions
All of these tasks can be described as interpretation problems. They all involve the disambiguation of ambiguous inputs, the combination of associations to establish coherence, and are subject to the biases and beliefs of the reasoner. Interpretation problems don't have a single right answer: the best solution is, by definition, open to interpretation.
Etcetera Abduction solves interpretation problems by combining a little bit of logical reasoning and a little bit of probability theory. You don't need to be an expert in either in order to use this technology. I recommend that you just dive in, and figure out what you need to learn along the way.
Installing Etcetera Abduction
Unlike other programs on your computer, Etcetera Abduction does not have a graphical user interface; you have to use via a command-line interface. On an Apple Macintosh, you can use the Terminal.app program in the Utilities subdirectory of your Applications directory. On Windows, type "cmd
" in the search field of the Start menu.
If you've never used a command-line interface before, you should start by reading an online tutorial, such as this one, or this one, or this one. For Windows, learn how to use the DOS prompt from a tutorial like this one.
There are several different implementations of Etcetera Abduction available, but for this tutorial we are going to be using EtcAbductionPy, a reference implementation of Etcetera Abduction written in Python. To use it, you'll need Python installed on your machine. Either Python 2.7 or Python 3.6 should work fine - and one of these is likely already installed on your computer. On Windows, you'll need to install Python directly, which you can find here.
The code for Etcetera Abduction in Python is available online in a GitHub repository, at this address:
If you're a GitHub expert, then just clone this repository to get started. If you're a novice, then find the "Clone or download" button on this EtcAbductionPy webpage, and then click it to see the "Download ZIP" option. Clicking this will download a .zip file with all of the code, which you can double-click to unpack, creating a folder called "EtcAbductionPy-master" that you can put on your desktop or wherever you like to keep your files. However, if you are confortable with git
, then clone the repository instead to make it easier to stay current with updates. You can find git
for Windows and other operating systems here.
Next, open up your Terminal window and navigate to the EtcAbductionPy-master/
directory. From inside this directory, you can run the command-line interface directly, using the -m flag to invoke the module:
$ cd EtcAbductionPy-master/ $ python -m etcabductionpy -h usage: [-h] [-i [INFILE]] [-o [OUTFILE]] [-k [KB]] [-n NBEST] [-g] [-s SOLUTION] [-d DEPTH] [-a] [-f] Etcetera Abduction in Python optional arguments: -h, --help show this help message and exit -i [INFILE], --infile [INFILE] Input file of observed literals as lisp s-expressions, defaults to STDIN -o [OUTFILE], --outfile [OUTFILE] Output file, defaults to STDOUT -k [KB], --kb [KB] Knowledge base of definite clauses as lisp s-expressions -n NBEST, --nbest NBEST Generate NBEST-best proofs, defaults to 10 -g, --graph Output graph of solution in .dot format -s SOLUTION, --solution SOLUTION Graph the SOLUTION-best solution, defaults to 1 -d DEPTH, --depth DEPTH Backchain to depth DEPTH, defaults to 5 -a, --all Generate all solutions -f, --forward Forward chain from INFILE with KB -c, --incremental Use incremental abduction -v, --variables Leave variables in solutions rather than Skolem constants -w WINDOW, --window WINDOW Incremental abduction window-size, defaults to 4 -b BEAM, --beam BEAM Incremental abduction beam-size, defaults to 10
Did this work? Congratulations! You've now got everything you need to start using Etcetera Abduction.
Authoring an input file
The EtcAbductionPy software takes as input some knowledge and some observations, and spits out as output a list of sets of assumptions that logically entail the observations, ordered by their probability.
When working through the examples in this tutorial, you should encode the knowledge and observations together in a single text file, and provide that text file as input to the etcabductionpy
script.
To author these input files, you'll need to use a plain text editor, like Emacs, or Vim, or Sublime Text, or Notepad++. On an Apple Macintosh, you could even use the "TextEdit.app" utility, but if you do, please make sure that you save as a "Plain Text" file rather than a "Rich Text" file. There is an option under the "Format" menu to "Make Plain Text" if you find that you are editing the wrong type. On Windows, you can use Notepad++.
Let's create a minimal input file, with the following contents, and save it inside the EtcAbductionPy-master/
directory with the name "minimal.lisp". The file extension ".lisp" may allow your editing program to help you with formatting your input file, such that lines beginning with semicolons are treated as comments to be ignored, and that parentheses should be balanced.
;; minimal.lisp ;; Observable: (explosion E) ;; Prior probability: (if (etc 0.001 x) (explosion x))
All blank lines and lines that begin with a semicolon are ignored by the Etcetera Abduction software, so this file only contains two items of interest: an observation and a piece of knowledge.
This file has enough information in it to serve as an input to Etcetera Abduction. We can see the results by specifying it as the input using the "--input" (or just "-i") flag, as follows:
$ python -m etcabductionpy -i minimal.lisp ((etc 0.001 E)) 1 solutions.
Did it work? Congratulations! You have just used Etcetera Abduction to do probability-ordered logical abduction. Yes, but what did it do exactly?! Well, precisely, it identified all possible sets of assumptions that would logically entail the observation given the knowledge base provided, and ordered them according to their probability. Actually, here there is only one set of assumptions that entails the observation, namely its prior probability. Confused? Don't worry, this tutorial is designed to explain it all to you step-by-step, and show you how to use this technology for amazing applications.
Creating graphs of solutions
In the minimal example, above, Etcetera Abduction has told us that there is only one set of assumptions that logically entail the observations, and that this set has only one assumption in it, namely (etc 0.001 E)
.
Would you like to see exactly how this assumption entails the observation? EtcAbductionPy includes a nice utility that will present the proof of this entailment as a directed graph. To produce this graph, just add the "--graph" (or just "-g") flag to the command.
$ python -m etcabductionpy -i minimal.lisp -g digraph proof { graph [rankdir="TB"] n0 [label="etc 0.001"]; n1 [shape=box peripheries=2 label="(explosion E)"]; n0 -> n1 {rank=same n1} }
The output is encoded in a special format called "DOT", which you can read about here. This encoding describes a graphical layout, which various other programs can use to generate the corresponding visual images.
If you want to keep things simple, and you don't want to install any more software on your computer, then you can use an online tool to convert DOT descriptions into graphical images. Here is one that I like to use:
See the graph, copy and paste the output directly into the input box on this webpage, and press the "Generate Graph!" button. You'll see the following result:
If you'd prefer to generate these graphs locally on your own machine, then you'll need to ensure that some appropriate graph-making software is installed. Personally, I like the standard dot
program that is included with the graphviz
software package.
If you are like me, and use an Apple Macintosh, then you can install the whole graphviz
package, including the dot
utility, using the HomeBrew package manager.
$ brew install graphviz
If you are using Windows or don't use HomeBrew, then download the graphviz
suite of programs from here.
After that, you can pipe the output of etcabductionpy
to dot
, to generate nice scalable vector graphics (svg) files, as follows:
$ python -m etcabductionpy -i minimal.lisp -g | dot -Tsvg > minimal.svg
I do this so often that I wrote a handy utility that generates the .svg file in a temp directory, and opens it up in the Safari browser. If you are using a Mac, you can try this utility yourself by piping the graph to ./util/dot2safari as follows:
python -m etcabductionpy -i minimal.lisp -g | ./util/dot2safari
Getting help
If you have made it this far, then you are ready to start learning how to use Etcetera Abduction to solve interpretation problems. I have prepared a few examples to work through, by way of a tutorial, which you should take a look at next.
Etcetera Abduction is a research technology, and it's not without its warts. Some aspects you may find annoying or cumbersome, but I encourage you to stick with it.
I also want to encourage you to reach out to me directly if you run into problems that you can't figure out for yourself. Also, I'd be happy to hear any suggestions that you have for improving the usability of the software tools, or any corrections that you would like to make to the tutorial examples. You can reach me by email at: gordon@ict.usc.edu


--- layout: post title: Workspaces gain MTP support categories: - KDE - Software Libre tags: [] status: publish type: post published: true meta: _edit_last: '2' dsq_thread_id: '2150405469' author: login: afiestas email<EMAIL_ADDRESS>display_name: afiestas first_name: Àlex last_name: Fiestas ---
For those who don't know MTP stands for "Media Transfer Protocol", having support for it has become really important because since Android 4.0 it is a requirement in order to manage files in any Android device, even though MTP has been here for years and other products offer support for it lilke the Nokia N9.
In order to have MTP support we needed a "kio-slave", which has been developed by Philipp Schmidt, and then modify some parts of our workspaces (dolphin, kdelibs and notifier) to integrate the MTP devices as if they were just regular massive storage (pen drives).
As usual, small screencast showing how well it works:
How to install?
To have basic support for MTP you have to install "kio-mtp", executing the following:
git clone http://anongit.kde.org/kio-mtp
mkdir kio-mtp/build
cd kio-mtp/build
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debugfull #(THIS MAY BE DIFFERENT)
make install
Or simply ask your distribution to package it :)
As for the Workspaces integration, I expect to get the patches in for 4.9.2 and 4.10
Cheers !


◆ CodeAttr()
| jas.CodeAttr.CodeAttr |
( |
| ) |
|
|
inline |
◆ addGenericAttr()
Add a generic attribute to the method. A generic attribute contains a stream of uninterpreted bytes which is ignored by the VM (as long as its name doesn't conflict with other names for attributes that are understood by the VM)
◆ addInsn()
| void jas.CodeAttr.addInsn |
( |
Insn |
insn | ) |
|
|
inline |
Append a new Insn to this code. Insn's are sequentially stored, in the order in which this method is called. You can't reorder code fragments after you've added it here.
◆ setCatchtable()
Set the catchtable for this code
◆ setLineTable()
Set the line number table for this method
◆ setLocalVarTable()
Set the local variable information for this method
◆ setLocalVarTypeTable()
Set the local variable type information for this method
◆ setStackMap()
| void jas.CodeAttr.setStackMap |
( |
StackMap |
s | ) |
|
|
inline |
Set the StackMap attribute for this method
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
- src/main/java/jas/CodeAttr.java


[gecode-users] half reification and expressions in MiniModel
Kish Shen
kisshen at cisco.com
Tue Jul 16 18:02:05 CEST 2013
Hi,
I am looking at half reification and how to add support for it to
ECLiPSe's Gecode interface. In particular, I am looking at expressions
posted in the MiniModel:
Looking at the documentation, I don't think the reified form of rel() --
the one with a boolean control variable -- is supported by the MiniModel.
However, in my existing code, I do support the equivalent of reified
rel() by posting the BoolExpr:
B == <IntRel>
where B is the boolean control variable.
In addition, the following are also supported:
B >> <IntRel>
<IntRel> >> B
If I understand correctly, these two are logically equivalent to the two
half reification cases.
I am wondering if the above forms will now take full advantage of the
half reification facilities of Gecode 4?
Thanks in advance for any information!
Cheers,
Kish
More information about the users
mailing list


[gecode-users] Quicksort bug
Michal D.
michal.dobrogost at gmail.com
Tue Dec 16 04:39:04 CET 2008
Here's another nugget of information. These are traces of the
variables l and r between lines 135 and 136 of sort.icc. As you can
see l stays constant while r is jumping all over the place. Compiled
using the <= comparison with maxsize set to "sizeof(int) * 64".
34533544336<PHONE_NUMBER>6
34533544336<PHONE_NUMBER>4
34533544336<PHONE_NUMBER>0
34533544336<PHONE_NUMBER>8
34533544336<PHONE_NUMBER>4
34533544336<PHONE_NUMBER>2
34533544336<PHONE_NUMBER>8
34533544336<PHONE_NUMBER>6
34533544336<PHONE_NUMBER>2
34533544336<PHONE_NUMBER>0
34533544336<PHONE_NUMBER>6
34533544336<PHONE_NUMBER>4
34533544336<PHONE_NUMBER>0
34533544336<PHONE_NUMBER>8
34533544336<PHONE_NUMBER>4
34533544336<PHONE_NUMBER>2
34533544336<PHONE_NUMBER>8
34533544336<PHONE_NUMBER>6
34533544336<PHONE_NUMBER>2
Michal
On Mon, Dec 15, 2008 at 4:32 PM, Christian Schulte <cschulte at kth.se> wrote:
> Hi Michal,
>
> I think that your reasoning is not fully correct:
> - Gecode's quicksort uses O(log n) stackspace: it will always push the
> larger array onto the stack,
> which will be at least n/2 long! That's O(log n).
> - There is no difference (in principle) whether you use a strict or
> non-strict ordering (as the complement
> will be the opposite).
>
> The only problem I see is that 32 was not good enough. Could you be so kind
> and retry what happens with replacing 32 by "sizeof(int) * 64"?
>
> Then, how much memory does your machine have? Then, how deep does the stack
> grow for Quicksort and how many elements does the array have you try to
> sort?
>
> Thanks
> Christian
>
>
> --
> Christian Schulte, www.it.kth.se/~cschulte/
>
> -----Original Message-----
> From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
> Of Michal D.
> Sent: Saturday, December 13, 2008 7:03 PM
> To: users at gecode.org
> Subject: [gecode-users] Quicksort bug
>
> Hi All,
>
> I had one hell of a bug hunt recently. What started as a crash on winxp x64
> ended up in a "true" being changed to a "false" on freebsd (so I could
> sanely debug into the Gecode code base). The culprit was FullTupleCompare
> (gecode/int/extensional/tuple-set.cc) but quicksort also got hit in the
> cross-fire.
>
> FullTupleCompare implements a less than or equal (<=) operator and not a
> strict less than (<) operator. In effect, for the case where both tuples are
> identical up the arity it returns true instead of false.
> This causes quicksort massive problems. See tuple-set.cc.diff for the fix.
>
> The gecode quicksort assumes that its stack will never exceed a depth of 32.
> This was getting exceeded when used on a large tupleset with the above
> comparison operator. However, in general this assumption is wrong. Stack
> usage for quicksort is worst case O(n) depending on the values that are
> chosen for the pivot! Exceeding the stack current results in an outright
> crash as an out of bounds pointer is dereferenced. I toyed with two fixes:
>
> 1) make push return a success/failure code and if the push fails then call
> quicksort recursively instead of pushing onto the stack. See sort.icc.diff.
>
> 2) start off with an static stack and expand it dynamically if it's
> exceeded. I'm not sure if Memory::malloc() / Memory::free() are the right
> ways to go about grabbing memory. There is no performance penalty if the
> stack depth does not exceed 32 entries. See sort.icc.diff2.
>
> Both solutions have the overhead of checking if the stack is going to exceed
> 32 entries on a push. This doesn't seem significant especially since most of
> the work should be happening in partition. My vote is for fix # 2 as it
> seems to be the more robust solution (no potential stack overflow).
>
> Cheers,
>
> Michal
>
>
More information about the gecode-users
mailing list


content
Here's a Swift snippet which illustrates selective platform compilation.
#if os(Linux)
//
#elseif os(macOS)
//
#else
//
#endif
source

Here's a Swift snippet which illustrates
selective platform compilation.

#if os(Linux)
//
#elseif os(macOS)
//
#else
//
#endif

Arduino C/C++
content
Hey robotics club members, the Arduino forum had the answer we were looking for!
source

Hey robotics club members, the
Arduino forum
had the answer we were looking for!

#if !(defined(ARDUINO) && ARDUINO >= 100)
#include <EthernetDNS.h>
#endif

HTML Templating
content

Use the following pattern to
write about #Syntax(…)#
in fenced code markdown syntax:

… #Syntax(…)# example
… #tag# ... #endtag#
… #if()# ... #endif#

HTML CSS
content
#
is an CSS id selector. Here are some examples:


Data objects in 'R' can be rendered as 'HTML' tables using the 'JavaScript' library 'ag-grid' (typically via 'R Markdown' or 'Shiny'). The 'ag-grid' library has been included in this 'R' package. The package name 'RagGrid' is an abbreviation of 'R agGrid'.
| Version: | 0.2.0 |
| Imports: | htmltools (≥ 0.3.6), htmlwidgets (≥ 1.0), crosstalk, knitr |
| Suggests: | jsonlite (≥ 0.9.16), rmarkdown, shiny (≥ 0.12.1) |
| Published: | 2018-08-12 |
| Author: | Srikkanth M [aut, cre], Praveen N [aut, ctb] |
| Maintainer: | Srikkanth M <srikkanth18 at gmail.com> |
| BugReports: | https://github.com/no-types/RagGrid/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/no-types/RagGrid/ |
| NeedsCompilation: | no |
| Materials: | README NEWS |
| CRAN checks: | RagGrid results |
| Reference manual: | RagGrid.pdf |
| Package source: | RagGrid_0.2.0.tar.gz |
| Windows binaries: | r-devel: RagGrid_0.2.0.zip, r-release: RagGrid_0.2.0.zip, r-oldrel: RagGrid_0.2.0.zip |
| OS X binaries: | r-release: RagGrid_0.2.0.tgz, r-oldrel: RagGrid_0.2.0.tgz |
| Old sources: | RagGrid archive |
Please use the canonical form https://CRAN.R-project.org/package=RagGrid to link to this page.


{% extends 'base.html' %} {% block header %}
Assigned to the user "{{ username }}". {% if answer %} The answer is "{{ answer }}". {% endif %}
{% if username == g.user['username'] and answer %} {% endif %}Does the CD describe a valid functionality for the button?
Do the CD and image icon match?
Is the CD concise enough? (extra tokens of app name/click to/ button/...)
Is the CD confusing? (same as other buttons/requires more context)


Queen_of_the_South
Queen of the South is based on the literary page-turner "La Reina Del Sur", the top-selling novel by the internationally acclaimed author Arturo Pérez-Reverte, which also yielded a Telemundo series that became one of the most popular telenovelas of all time for USA's sister network. It tells the powerful story of Teresa Mendoza (Alice Braga). When her drug-dealing boyfriend is unexpectedly murdered in Mexico, Teresa is forced to go on the run and seek refuge in America, where she teams with an unlikely figure from her past to bring down the leader of the very drug trafficking ring that has her on the run. In the process, she learns the tools of the trade and strategically positions herself to become the leader of the Cartel.


-
Create a matcher for a containing string
Create a matcher for a containing pattern
Create a matcher filtering by a string that ends with the
matcher
Create a matcher filtering by a string that ends with the
pattern
Create a matcher to equal the string matcher
Get the matcher of this filter
Create a matcher for not containing a string
Create a matcher for not containing the pattern
Create a matcher filtering by a string that not ends with the
string params
Create a matcher filtering by a string that not ends with the
pattern params
Create a matcher filtering by a string that not starts with the
string params
Create a matcher filtering by a string that not starts with the
pattern params
Create a matcher filtering by a string that start with the
matcher
Create a matcher filtering by a string that start with the
matcher
Construct a filter with a custom attribute and an associated
matcher
-
class
Matcher checking that actual contains input value.
class
Matcher checking that actual contains word from input value.
class
Matcher checking that actual ends with input value.
class
Matcher checking that actual is equal to input value.
class
Matcher checking that actual doesn't contain input value.
class
Matcher checking that actual doesn't end with input value.
class
Matcher checking that actual doesn't start with input value.
class
Matcher checking that actual starts with input value.


MEASUREMENTS & COORDINATES
The measurement tools allow you to calculate area, distance, or get the longitude, latitude coordinate of a chosen point. This handy widget also allows you to select the units of the results.
To active a measurement tool just click one of the icons. Once a tool is activated, a units selection dropdown list will appear to the right of the icons. After you have selected units, close the window.
To measure area, draw a polygon around your desired area to measure by clicking your mouse at each vertex. When you are done drawing the polygon, double click the mouse on your last vertex. The results will display under 'Measurement Results' in the window and in the lower right corner of the map.
To measure distance, draw a line across your desired distance by clicking your mouse at the start and subsequently clicking your mouse to create vertices along the length of the distance. Double click the mouse on your last vertex to get the results. The results will display under 'Measurement Results' in the window and in the lower right corner of the map.
To get the coordinate of a location, simply click a point on the map. A purple icon will appear the results will display under 'Measurement Results' in the window and in the lower right corner of the map.
Created with the Personal Edition of HelpNDoc: Free EPub and documentation generator


{% extends "dashboard.html" %} {% block content %}
!motd reload
Notices are what you consider "messages of the day".
The title
of each of these notices bear no meaning, and only exist to make notices easier to modify via the chat bot. It's also a good
way to summarise the notice for anyone else moderating chillroom.
How to add, edit, or remove: click on the row you want to modify!
| Title | Body |
|---|---|
| Create a new notice | |
| {{ notice[2] }} | {{ notice[1] }} |


climate moral change action compassion model {border-style study Social axes px;} response values willingness #ffffff;} behavior support belief people political social valuation *** associated change, different personal purity, variable attitudes did fairness included participants variables Cornell Moral based conservatives environmental Psychology authority, fairness, foundations loyalty predictor purity act ideology ingroup intentions, used Climate Research Science Table data important increased intentions significant valuations value Survey attitudes, change. compassion, influence level liberals missing px; strongly survey {font-family Behavior Environmental Foundations Sciences analysis determine differences font-size liberal multinomial potential predictors strong Change Graham Haidt National action. analyzed authority collective double; explanatory having human models new norms question questions religiosity, research results understanding Australian Belief MFT Nature New Personality Table). United University additional behavioral best-supported border-color border-width carbon conservative effect higher know participants’ positive provided sample selection solid; state studies supported theory using {font-style {font-weight Data Environment Koleva People Results States Theory age, appeals behavior. bold changes cooperation courier; disagree drivers em; evidence findings gender, groups help highly in-group individuals information lifestyle like lower make mechanisms nonharming outcome p<., party, placed positively pro-environmental pt;} read reduce self-reported way willing


If you would like to share your CV with our sponsors, please re-upload it via the application tab.
Please also confirm your food requirements on the application tab.


A BEAUTIFUL, RESPONSIVE, CUSTOMIZABLE, ACCESSIBLE (WAI-ARIA) REPLACEMENT FOR JAVASCRIPT'S POPUP BOXES
1. Initialize the plugin by referencing the necessary files:

<link rel="stylesheet" type="text/css" href="sweetalert2.min.css">
2. Call the sweetAlert-function after the page has loaded
Swal.fire({
title: 'Error!',
text: 'Do you want to continue',
type: 'error',
confirmButtonText: 'Cool'
})
Refer following links for detailed documentation, configuration options, methods and examples:
| Type | URL |
|---|---|
| Plugin Link | https://sweetalert2.github.io/ |
| Template Page | https://pixinvent.com/demo/vuexy-html-bootstrap-admin-template/html/theme/ext-component-sweet-alerts.html |
toastr is a Javascript library for Gnome / Growl type non-blocking notifications.
1. Initialize the plugin by referencing the necessary files:

<link rel="stylesheet" type="text/css" href="toastr.css">
2. Use toastr to display a toast for info, success, warning or error.
// Display an info toast with no title
toastr.info('Are you the 6 fingered man?')
Refer following links for detailed documentation, configuration options, methods and examples:
| Type | URL |
|---|---|
| Plugin Link | https://github.com/CodeSeven/toastr |
| Template Page | https://pixinvent.com/demo/vuexy-html-bootstrap-admin-template/html/theme/ext-component-toastr.html |
noUiSlider is a lightweight range slider with multi-touch support and a ton of features. It supports non-linear ranges, requires no external dependencies, has keyboard support, and it works great in responsive designs..
1. Initialize the plugin by referencing the necessary files:

<link rel="stylesheet" type="text/css" href="nouislider.min.css">
2. Binding to existing DOM element.

3. Basic usage looks something like this.
var slider = document.getElementById('slider');
noUiSlider.create(slider, {
start: [20, 80],
connect: true,
range: {
'min': 0,
'max': 100
}
});
Refer following links for detailed documentation, configuration options, methods and examples:
| Type | URL |
|---|---|
| Plugin Link | https://refreshless.com/nouislider/ |
| Template Page | https://pixinvent.com/demo/vuexy-html-bootstrap-admin-template/html/theme/ext-component-noui-slider.html |
DropzoneJS is an open source library that provides drag’n’drop file uploads with image previews. It’s lightweight, doesn't depend on any other library (like jQuery) and is highly customizable.
1. Initialize the plugin by referencing the necessary files:

2. The typical way of using dropzone is by creating a form element with the class dropzone
.
That’s it. Dropzone will find all form elements with the class dropzone, automatically attach itself to
it, and upload files dropped into it to the specified action
attribute. The uploaded files
can be handled just as if there would have been a html input.
<form action="/file-upload" class="dropzone">

<input name="file" type="file" multiple />

</form>
3. Alternatively you can create dropzones programmatically (even on non form
elements) by
instantiating the Dropzone
class
// Dropzone class:
var myDropzone = new Dropzone("div#myId", { url: "/file/post"});
// jQuery
$("div#myId").dropzone({ url: "/file/post" });
Notes
- If you do not want the default message at all (»Drop files to
upload (or click)«), you can put an element inside your dropzone element with the class
dz-message
and dropzone will not create the message for you. - Dropzone will submit any hidden fields you have in your dropzone
form. So this is an easy way to submit additional data. You can also use the
params
option. - Dropzone adds data to the
file
object you can use when events fire. You can accessfile.width
andfile.height
if it’s an image, as well asfile.upload
which is an object containing:progress
(0-100),total
(the total bytes) andbytesSent
. - If you want to add additional data to the file upload that has to
be specific for each file, you can register for the
sending
event:myDropzone.on("sending", function(file, xhr, formData) { // Will send the filesize along with the file as POST data. formData.append("filesize", file.size); });
- To access the preview html of a file, you can access
file.previewElement
. For example:myDropzone.on("addedfile", function(file) { file.previewElement.addEventListener("click", function() { myDropzone.removeFile(file); }); });
- If you want the whole body to be a Dropzone and display the files
somewhere else you can simply instantiate a Dropzone object for the body, and define the
previewsContainer
option. ThepreviewsContainer
should have thedropzone-previews
ordropzone
class to properly display the file previews.new Dropzone(document.body, { previewsContainer: ".dropzone-previews", // You probably don't want the whole body // to be clickable to select files clickable: false });
- Look at the here for more examples.
Refer following links for usage:
| Type | URL |
|---|---|
| Plugin Link | http://www.dropzonejs.com/ |
| Github Page | https://github.com/enyo/dropzone |
| Template Page | https://pixinvent.com/demo/vuexy-html-bootstrap-admin-template/html/theme/ext-component-file-uploader.html |
Quill is a free, open source WYSIWYG editor built for the modern web. With its modular architecture and expressive API, it is completely customizable to fit any need.
Note: to change fonts of quill editor you'll have to import your required font family in css and change editor fonts.
1. Initialize the plugin by referencing the necessary files:
<link href="quill.snow.css" rel="stylesheet">

<link href="dragula.min.css" rel="stylesheet">
2. Usage
dragula([document.getElementById(left), document.getElementById(right)]);
| Type | URL |
|---|---|
| Plugin Link | https://bevacqua.github.io/dragula/ |
| Github Page | https://github.com/bevacqua/dragula |
| Template Page | https://pixinvent.com/demo/vuexy-html-bootstrap-admin-template/html/theme/ext-component-drag-drop.html |
Guide your users through a tour of your app.
Note: Shepherd Tour does not support Internet Explorer.
1. Necessary Files

<link href="shepherd-theme-default.css" rel="stylesheet">
2. Usage
var tour = new Shepherd.Tour({
defaultStepOptions: {
classes: 'shadow-md bg-purple-dark',
scrollTo: true
}
});
tour.addStep('example', {
title: 'Example Shepherd',
text: 'Creating a Shepherd is easy too! Just create ...',
attachTo: '.hero-example bottom',
advanceOn: '.docs-link click'
});
tour.start();
| Type | URL |
|---|---|
| Plugin Link | https://shipshapecode.github.io/shepherd/docs/welcome/ |
| Github Page | https://github.com/shipshapecode/shepherd |
| Template Page | https://pixinvent.com/demo/vuexy-html-bootstrap-admin-template/html/theme/ext-component-tour.html |
Clipboard is a manually created extension. Use below code to initialize clipboard
1. Dom Binding
<input type="text" class="form-control" id="copy-to-clipboard-input" value="Copy Me!">
<button class="btn btn-primary waves-effect waves-light" id="btn-copy">Copy!</button>
2. Usage
var userText = $("#copy-to-clipboard-input");
var btnCopy = $("#btn-copy");
// copy text on click
btnCopy.on("click", function () {
userText.select();
document.execCommand("copy");
})
| Type | URL |
|---|---|
| Template Page | https://pixinvent.com/demo/vuexy-html-bootstrap-admin-template/html/theme/ext-component-clipboard.html |
Context Menu can provide a simple list of clickable commands, or offer an in-menu form. This makes very simple attribute modification possible.
Note: The toasts appearing on click of menu items are manually configured using third party plugin Toastr.
1. Required Files

<link href="contextMenu.min.css" rel="stylesheet">
2. Dom Binding
<button class="btn btn-primary" id="basic-context-menu">Basic Context Menu>
3. Usage
$.contextMenu({
selector: "#basic-context-menu",
callback: function (key, options) {
var r = "clicked " + key;
window.console && console.log(r) || alert(r);
},
items: {
"Option 1": { name: "Option 1" },
"Option 2": { name: "Option 2" },
}
})
| Type | URL |
|---|---|
| Plugin Link | https://swisnl.github.io/jQuery-contextMenu/ |
| Github Page | https://github.com/swisnl/jQuery-contextMenu |
| Template Page | https://pixinvent.com/demo/vuexy-html-bootstrap-admin-template/html/theme/ext-component-context-menu.html |
18next goes beyond just providing the standard i18n features such as (plurals, context, interpolation, format). It provides you with a complete solution to localize your product from web to mobile and desktop.
1. Required Files

<link href="i18next.min.css" rel="stylesheet">
2. Usage
i18next.init({
lng: 'en',
debug: true,
resources: {
en: {
translation: {
"key": "hello world"
}
}
}
}, function(err, t) {
// initialized and ready to go!
document.getElementById('output').innerHTML = i18next.t('key');
});
| Type | URL |
|---|---|
| Plugin Link | https://www.i18next.com/ |
| Github Page | https://github.com/i18next/i18next |
| Template Page | https://pixinvent.com/demo/vuexy-html-bootstrap-admin-template/html/theme/ext-component-i18n.html |


Boost C++ Library Patches
These are patches from library authors which were found too late to be fixed in the release. Be careful as they have not been through the normal testing process.
1.83.0
1.82.0
1.80.0
- 0001-filesystem-win-fix-dir-it-net-share.patch
- 0002-filesystem-fix-weakly-canonical-long-paths.patch
- 0003-unordered-valid-after-move.patch
- 0004-filesystem-posix-fix-no-at-apis-missing-include.patch
- 0005-config-libcpp15.patch
- 0006-unordered-msvc-rtcc.patch
1.79.0
1.78.0
1.73.0
1.72.0
1.70.0
1.67.0
- 0001-Fiber-Use-pthread_setaffinity_np-on-FreeBSD-as-well.patch
- 0002-Wave-Avoid-using-wrong-T_DIVIDE-on-BSDs.patch
- 0003-Python-Fix-auto-linking-logic-Windows-only.patch
1.65.0
Combined patch: boost_1_65_0.patch.
Individual patches:
- 0001-context-function-executed-by-resume_with-has-to-retu.patch
- 0002-fiber-resume_with-requires-tor-return-a-continuation.patch
- 0003-thread-130-Bug-in-boost-condition_variable-on-Window.patch
- 0004-thread-130-Bug-in-boost-condition_variable-on-Window.patch
1.58.0
- 0001-Fix-exec_file-for-Python-3-3.4.patch (for libs/python).
- 0002-Fix-a-regression-with-non-constexpr-types.patch (for libs/fusion).


See how you can easily Ajaxify forms.
Open your browser's console to see the form data.
Title:
Body Text
Cancel Save
Start:
End:
Search


Json Query
Due to unavailability of arrow functions and we needed better form to serialize queries in text form, we created JSON format to represent
query that can be used throughout in Atoms.js and also communicate easily with remote services.
AtomQuery class
toArray() : returns an array
Returns an array after executing query.
where (jsonQuery)
Applies given filter on internal array.
firstOrDefault
Returns first object to satisfy given condition on internal array.
any(jsonQuery) : returns true/false
Returns true if any object satisfies given condition
Examples
Click here for jsonQuery examples


| Interface | Description |
|---|---|
| Ln.Config |
| Class | Description |
|---|---|
| AppHelper |
This class stores all smart tools and all generic pieces of code,
that helps readability and lets the code DRY.
|
| AsyncLoader<D> |
Loader which extends AsyncTaskLoaders and handles caveats as pointed out in
http://code.google.com/p/android/issues/detail?id=14944.
|
| BootstrapService | |
| Config |
Singleton Method for Configuration
|
| Constants |
Created with IntelliJ IDEA.
|
| Constants.Auth | |
| Constants.Http | |
| Constants.Internationalization | |
| Constants.JNI_SETTINGS | |
| Constants.ParseConstants | |
| Constants.PreProcParam | |
| Constants.RulerParam | |
| Constants.SeekBarParam | |
| Constants.Settings | |
| ImageHelper |
Created by mehdibenchoufi on 20/10/15.
|
| Ln |
Originally from RoboGuice: https://github.com/roboguice/roboguice/blob/master/roboguice/src/main/java/roboguice/util/Ln.java
A more natural android logging facility.
|
| Ln.BaseConfig | |
| Ln.Print |
Default implementation logs to android.util.Log
|
| MathOp |
Created by mehdibenchoufi on 01/07/16.
|
| Randomize |
Created by mehdibenchoufi on 18/09/15.
|
| Strings | |
| ThrowableLoader<D> |
Loader that support throwing an exception when loading in the background
|
| Timer |
Created by mehdibenchoufi on 04/04/16.
|
| TouchEffect | |
| TypeConverter |
Created by mehdibenchoufi on 22/02/17.
|
| UIParams |
Created by greg on 1/28/16.
|


This is a project that helped me launch my first webpage as part of classroom practice. It uses html and CSS languagesand includes the things such as a geeting to the world and what I was to learn in class.
This project talks about my two cats Emilly and Trace and their interests. Uses HTML language
This project is the first that taught me about branching and merging. I practiced some CSS styles too.It utilizes HTML language.
This is a cookie recipe that we forked from a different repository. It is written in HTML and helped us practice different HTML elements and their placement within text.
This was one of the first webpages we worked on as a class to say hello to the world. Simple HTM basics with a few sentences and elements.
I am Lisa Oloo.I was born into a family of two, but my sister passed on. I am a writer, student and a mother. I cleared my high school education in 2011 and went to Egerton University. However, I did not like the course I was called to pursue. Even though I tried my best, I eventually dropped out of the course in 2nd year to pursue other interests. I now write for a living and I want to pursue coding because I like the idea of being a creator.