Terminologies
Atomicity, Atomic Operation
Atomicity is unbreakability, or uninterrupted operation.
Atomic operation helps in understanding reentrancy, critical section, thread safety, synchronization primitives, etc.
Critical Section
Critical section is group of instructions/statements or region of code that need to be executed atomically.
If one thread tries to change a shared data while another thread tries to read, the result is unpredictable. It is critical to understand the importance of race condition while writing kernel mode programming.
A simple solution to critical section:
acquireLock();
Process Critical Section
releaseLock();
Synchronization primitives
Synchronization primitives are simple software mechanisms for the purposes of supporting thread or process synchronization.
Mutex, event, conditional variables and semaphores are all synchronization primitives.
Critical section is not a synchronization primitive. It’s a part of an execution path that must be protected from concurrent execution in order to maintain some invariants.
You need to use some synchronization primitives to protect critical section.
Producer–consumer
Two processes, producer and consumer. Producer thread will collect the data and writes it to the buffer. Consumer thread will process the collected data from the buffer.
Producer won’t try to add when buffer’s full and consumer won’t remove when buffer’s empty.
Solution 1: Mutex
A mutex provides mutual exclusion, either producer or consumer can have the key (mutex) and proceed with their work. As long as the buffer is filled by producer, the consumer needs to wait, and vice versa.
Solution 2: Semaphore
A semaphore is a generalized mutex. In lieu of single buffer, we can split the 4 KB buffer into four 1 KB buffers (identical resources). A semaphore can be associated with these four buffers. The consumer and producer can work on different buffers at the same time.
Interrupt service routine
Interrupt service routine (ISR), is a callback subroutine in an operating system or device driver whose execution is triggered by the reception of an interrupt.
One good example is reading from a hard drive. The drive is slow and you don’t want your OS to wait for the data to come back; you want the OS to go and do other things. So you set up the system so that when the disk has the data (ready), it raises an interrupt. In the ISR for the disk, CPU will take the data and return it to the requester.
ISRs often need to happen quickly as the hardware can have a limited buffer, which will be overwritten by new data if it’s now pulled off quickly enough.
It’s also important to have your ISR complete quickly as while the CPU is servicing one ISR other interrupts will be masked.


We visited my mother this weekend. It was the first time she's seen the baby. While there I scarfed a few old Polaroids. To the left is a picture of my Mom, Dad, and me. I couldn't be more than 2 years old there. Below is a picture of Mom with Emma.
--- layout: post title: Some Old Polaroids.. categories: [] tags: [] status: publish type: post published: true meta: _original_post_id: '' _original_import_author: John Duprey author: ---
We visited my mother this weekend. It was the first time she's seen the baby. While there I scarfed a few old Polaroids. To the left is a picture of my Mom, Dad, and me. I couldn't be more than 2 years old there. Below is a picture of Mom with Emma.


Trycatch
A wrapper that lets you run a set of tasks and optionally run a different set of tasks if the first set fails and yet another set after the first one has finished.
This mirrors Java's
try
/catch
/finally
.
The tasks inside of the required try
element will
be run. If one of them should throw a BuildException several
things can happen:
-
If there is no
catch
block, the exception will be passed through to Ant. - If the property attribute has been set, a property of the given name will be set to the message of the exception.
- If the reference attribute has been set, a reference of the given id will be created and point to the exception object.
-
If there is a
catch
block, the tasks nested into it will be run.
If a finally
block is present, the task nested into
it will be run, no matter whether the first tasks have thrown an
exception or not.
Parameters
| Attribute | Description | Required |
|---|---|---|
| property | Name of a property that will receive the message of the exception that has been caught (if any) | No. |
| reference | Id of a reference that will point to the exception object that has been caught (if any) | No |
Example
<trycatch property="foo" reference="bar"> <try> <fail>Tada!</fail> </try> <catch> <echo>In <catch>.</echo> </catch> <finally> <echo>In <finally>.</echo> </finally> </trycatch> <echo>As property: ${foo}</echo> <property name="baz" refid="bar"/> <echo>From reference: ${baz}</echo>
results in
[trycatch] Caught exception: Tada! [echo] In <catch>. [echo] In <finally>. [echo] As property: Tada! [echo] From reference: Tada!


The CSS float property specifies how an element should float.
The CCS clear property specifies what elements can float beside the cleared element and on which side
The clear property can have one of the following values:
The most common way to use the clear property is after you have used a float property on an element.
When clearing floats, you should match the clear to the float: If an element is floated to the left, then you should clear to the left. Your floated element will continue to float, but the cleared element will appear below it on the web page.
If an element is taller than the element containing it, and it is floated, it will "overflow" outside of its container:
In this example, the image is taller than the element containing it, and it is floated, so it overflows outside of its container:
Add a clearfix class with overflow: auto; to the containing element, to fix this problem:
Box 1
Box 2
Box 3
What is box-sizing?
You can easily create three floating boxes side by side. However, when you add something that enlarges the width of each box (e.g. padding or borders), the box will break. The box-sizing property allows us to include the padding and border in the box's total width (and height), making sure that the padding stays inside of the box and that it does not break.
In the previous example, you learned how to float boxes side by side with an equal width. However, it is not easy to create floating boxes with equal heights. A quick fix however, is to set a fixed height, however this is not very flexible.
Hence they created CSS3 Flexbox
The only problem with Flexbox is that it does not work in Internet Explorer 10 or earlier versions.


Here’s A New ‘Borderlands 3’ SHiFT Code For A Golden Key And Free Loot
by Erik KainIt’s Friday! And to make your weekend just a tiny bit more enjoyable, Gearbox chief Randy Pitchford has handed out yet another SHiFT code. Now you can go get some free epic or legendary loot this weekend if you’re still playing Borderlands 3. There are so many new games out right now, it’s honestly hard to keep up!In any case, here’s the code. It will remain active until 10 am CST tomorrow, Saturday November 9th. That’s a good long while.
W95BB-3BZS3-ZCBWC-BJT3B-9BTKS
As far as I know, this works on every platform–consoles and PC alike. You can redeem it in-game or at this website.
Once you redeem it you’ll get a Golden Key which can be used at the big chest in Sanctuary. Drop rates for legendaries are still . . . not great, and I think Gearbox would get a little more hype going around these codes if they buffed legendary drops instead of handing out epics like Halloween candy. Don’t give out as many SHiFT codes, but make the rewards better. Or have each code grant three Golden Keys maybe.
Players have also complained that they’re running out of storage for all this loot, which could be something of a problem. So more storage, better drops, and we’re golden.
Happy vault hunting!


Dear {{ user.username }},
To reset your password click here.
Alternatively, you can paste the following link in your browser's address bar:
{{ url_for('auth.password_reset', token=token, _external=True) }}
If you have not requested a password reset simply ignore this message.
Sincerely,
Jeff
ps. Check out some cool stuff by me...
Twitter: @jeffthemaximum
Facebook: https://www.facebook.com/frey.maxim
Instagram: https://instagram.com/jeffthemaximum/
LinkedIn: https://www.linkedin.com/in/jeffmaxim
EdTech Blog: http://www.jeffreymaxim.com
Super Cool Weather Forecasting Website: http://jeffweather.herokuapp.com/
Fun website that shows NYC's best dessert spots: http://www.nycdessertmap.com


Please enter the department name for deliveries.
{{vm.errorMessage}}.
Please enter the building name for deliveries.
Please enter the town for deliveries.
Please enter the post code for deliveries.
Please enter a valid post code, with or without a separating space.


{% extends "base.html" %} {% load compress staticfiles %} {% block title %}Help Center - healthchecks.io{% endblock %} {% block content %}
Send your question to one of our lovely Helpdesk Angels who are ready and waiting to assist you in any way they can.
helpdesk@healthcheck.io


On one our final nights in Copenhagen we decided to finally give in and try out one of the canal tours. At this point there wasn’t any part of the tour that we hadn’t already seen, so this gave me an advantage in terms of what to expect. It also meant I could really relax and enjoy the tour.
The tour began just as the sun began to set, so we had some great lighting, but for the first time since we arrived we also got to experience cool weather here.
The new opera house.
The opera house from another angle.
An old sub-yard turned into an upscale apartment complex.
A view of the Marble Church and the Palace fountain.
According to the guide this is the most photographed tree in Copenhagen as everyone takes a picture of it while trying to get a shot of the church as it comes into view.
Over all the tour was a fantastic way to experience Copenhagen. I hope you enjoyed the pictures, please feel free to visit my flickr for more shots of my trip to Copenhagen!


Apr 15 - Apr 21
Привет Vladimir,
У вас нет заданий на этой недели
previous weeks
Task 1
Weekly Team Tasks > This
Week
Apr 11
earlier this week / 0 assignments
today / 0 assignments
upcoming / 0 assignments
done / 0 assignments


Construct a new array of the indicated type and size. The type must be an array
type.
Details
Op & Format
Mnemonic / Syntax
Arguments
23 22c
new-array vA, vB, type@CCCC
A: destination register (8 bits) B: size register C: type index
Constraints
A and B must be valid register indices for the current stack frame.
Register vB must not contain a reference value.
Register vB must not be part of a register pair.
C must be a valid index into the type pool.
Type constant pool entry C must contain a valid array type descriptor.
Behavior
An attempt is made to get a reference to the class K the name of which is
contained in type pool entry C.
If K has not been loaded and resolved before, it is being loaded and
resolved. All exceptions that are possible during class loading can occur at
this point.
An attempt is made to create a new instance I of K and length B. All
exceptions that are possible during instantiation can occur at this point.
All elements of the new array are initialized to null (for object arrays) or
0 (for numeric arrays) or false (for boolean arrays).
A reference to the new array is moved to register vA, that is, vA' = I.
If v(A-1) is the lower half of a register pair, v(A-1)' becomes undefined.
If v(A+1) is the upper half of a register pair, v(A+1)' becomes undefined.
Exceptions
NegativeArraySizeException if vB < 0
All exceptions that are possible during class loading can occur.
All exceptions that are possible during instantiation can occur.


This page lists all security vulnerabilities fixed in maintenance releases or interim builds of Apache TomEE 1.x. Each vulnerability is given a security impact rating by either the Apache TomEE team or by the dependent project supplying the fix - please note that this rating is not uniform and will vary from project to project. We also list the versions of Apache TomEE the flaw is known to affect, and where a flaw has not been verified list the version with a question mark.
Note: Vulnerabilities that are not TomEE vulnerabilities but have either been incorrectly reported against TomEE or where TomEE provides a workaround are listed bellow in the section "Not a vulnerability".
Please note that binary patches are never provided. If you need to apply a source code patch, use the building instructions for the Apache TomEE version that you are using. For TomEE 1.x those are Building TomEE 1.x.
If you need help on building or configuring TomEE or other help on following the instructions to mitigate the known vulnerabilities listed here, please send your questions to the public Users mailing list
If you have encountered an unlisted security vulnerability or other unexpected behaviour that has security impact, or if the descriptions here are incomplete, please report them privately to the Apache Security Team. Thank you.
TomEE was subject until versions 1.7.3 and 7.0.0-M1 included to the 0-day vulnerability. Note that even if fixed in 7.0.0-M2 we recommand you to upgrade to the 7.0.0-M3 which includes a better fix for that (better defaults).
This issue only affects you if you rely on EJBd protocol (proprietary remote EJB protocol). This one one is not activated by default on the 7.x series but it was on the 1.x ones.
The related CVE numbers are:
This has been fixed in commit 58cdbbef9c77ab2b44870f9d606593b49cde76d9.
Check properties configuration and Ejbd transport for more details (tomee.serialization.class.* and tomee.remote.support).
We would like to thank cpnrodzc7 who discovered it working with HP's Zero Day Initiative
Covered by Apache TomEE <IP_ADDRESS>
Covered by Apache TomEE <IP_ADDRESS>
Covered by Apache TomEE 1.6.0


--- layout: post status: publish published: true title: Encryption, Codecs and Unit Tests in Grails author: display_name: Geoff Lane login: admin email<EMAIL_ADDRESS>url: http://www.zorched.net author_login: admin author_email<EMAIL_ADDRESS>author_url: http://www.zorched.net date: '2008-02-03 10:25:35 -0500' date_gmt: '2008-02-03 16:25:35 -0500' categories: - Groovy tags: - grails - encryption - codecs ---
Certain data stored as plain text in a database is just asking for trouble these days. We hear too often about misplaced and stolen computers that contain databases full of Social Security numbers and other information that can lead to identity theft. We can help avoid these situations by encrypting those fields in a database so that if someone happens to get the data that they will have a difficult time getting the sensitive data.
Anywhere you have a string you can call the encodeAsCodecName or decodeCodecName to perform the encoding or decoding: {% highlight groovy %} assert "apples & oranges " == "apples & oranges".encodeAsHTML() assert "apples & oranges " == "apples & oranges".decodeHTML() {% endhighlight %}
This is a nice, generally useful utility that can be used for any kind of string conversion really. There's nothing from stopping you from creating your encodeAsInteger or decodeShortDate if that's something you need a lot of in your application.
The basic format of a Codec is simple. You can create your new Codec in the grails-app/utils directory and it will be found automatically by Grails based on the naming convention. {% highlight groovy %} class MyCodec { static encode = { str -> // Implement encoding here } static decode = { str -> // Implement decoding here } } {% endhighlight %}
As you saw from previous example, the Codec standard is really simple, so all of the complexity here is really just the encryption code.
{% highlight groovy %} import javax.crypto.spec.SecretKeySpec import javax.crypto.Cipher import javax.crypto.spec.IvParameterSpec import sun.misc.BASE64Encoder import sun.misc.BASE64Decoder import org.codehaus.groovy.grails.commons.ConfigurationHolder /** * Used for encrypting things to store in the database */ class SecureCodec { static BASE64Decoder decoder = new BASE64Decoder() static BASE64Encoder encoder = new BASE64Encoder() static encode = { str -> Cipher cipher = setupCipher(Cipher.ENCRYPT_MODE, getPassword()) return encoder.encode(cipher.doFinal(str.getBytes())); } static decode = { str -> Cipher cipher = setupCipher(Cipher.DECRYPT_MODE, getPassword()) return new String(cipher.doFinal(decoder.decodeBuffer(str))); } static getPassword() { return ConfigurationHolder.config.encryption.password } private static setupCipher(mode, password) { Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding"); // setup key byte[] keyBytes = new byte[16]; byte[] b = password.getBytes("UTF-8"); int len = b.length; if (len > keyBytes.length) len = keyBytes.length; System.arraycopy(b, 0, keyBytes, 0, len); SecretKeySpec keySpec = new SecretKeySpec(keyBytes, "AES"); IvParameterSpec ivSpec = new IvParameterSpec(keyBytes); cipher.init(mode, keySpec, ivSpec); return cipher } } {% endhighlight %}
Another handy thing to notice is the ConfigurationHolder.config. This is the way to access application properties defined in Config.groovy. In a Domain class or a Controller you can get those values using grailsApplication.config but the grailsApplication variable is not available in Codecs or other classes. I use the Config.groovy to define an application specific secret to use for the encryption.


Languages: PHP, JavaScript, Python.
Frameworks: Node, Express, Codeiginiter, Laravel, Flask, WordPress, Django.
Tools: PostgreSQL, MySQL Workbench, PgAdmin, phpMyAdmin, Git, Bitbucket, GitHub.
Editor Journey: Sublime, Atom, VS Code, Vim, PHP Storm.
Operating System: Ubuntu, Linux, Windows, Macintosh
Experience
Total Exp. - 4+ Years
Current Employer - Senior Web Developer, Ainnop, Kampala, Uganda


extend_sync_timepoints
(timepoints
:ndarray
, signals
:ndarray
, up_bound
, low_bound
=0
)
Extend arrays of timepoints and signals (with identical shape) from the low_bound up to the up_bound.
For example, the first timepoint could be 2000, and with a low_bound of 0, it would add the
timepoints 0, 500, 1000, 1500 if the timepoint distance is of 500 (obtained by averaging the timepoints
distances).
params:
- timepoints: Timepoints to extend
- signals: Signals to extend
- up_bound: Up bound to which to extend both timepoints and signals
- low_bound: Low bound to which to extend both timepoints and signals
returns:
- timepoint: Extended timepoints
- signals: The datachunk array is not modified, but the idx attribute is increased by the number
of frames added with the low_bound.


We’re improving your Jupyter experience by making both Jupyter and Sirepo accessible via a single email login. This means you may need to do a one-time merge with your existing GitHub account to access Jupyter. Do you have an existing Jupyter account that you would like to merge with your Sirepo account?


Controlling access and achieving governance has become more complicated than ever. Today’s diverse mix of applications and access scenarios make identity and access management (IAM) extremely complex and time-consuming.
Controlling access and achieving governance has become more complicated than ever. Today’s diverse mix of applications and access scenarios make identity and access management (IAM) extremely complex and time-consuming.
Controlling access and achieving governance has become more complicated than ever. Today’s diverse mix of applications and access scenarios make identity and access management (IAM) extremely complex and time-consuming.
Controlling access and achieving governance has become more complicated than ever. Today’s diverse mix of applications and access scenarios make identity and access management (IAM) extremely complex and time-consuming.
Controlling access and achieving governance has become more complicated than ever. Today’s diverse mix of applications and access scenarios make identity and access management (IAM) extremely complex and time-consuming.
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo as purus odio.
Call to ActionCras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo as purus odio.
Call to ActionText area may contain centered text up to 140 characters including spaces and call-to-action. Call to Action


A comparison between a vegetarian diet, a vegan diet, and an omnivorous diet. Each diet has a one week meal plan with charted nutritional information.


So I’ve now been offered admission to two of the three PhD programs to which I have applied. The third I knew was unlikely as they require a thesis Master’s degree, but I don’t have a thesis. I was hoping that the fact I’ve co-authored two books might count for something (because frankly, writing a book is far more work than writing a thesis).
So for now I’m mulling over the best decision to make – but what an amazing place to be: choosing between two excellent schools, with the choice of two amazing advisers. There really isn’t a losing option at this point, which is an amazing place to be.


---
layout: page
title: COSC Internships Guide
---
Here you'll find our current internship guide for the COSC major and minor at
SMCM. We'll try to keep the dates updated, but you should always check for the
deadlines yourself. If you spot any errors or have an intership to share,
feel free to drop an email to acjamieson at smcm dot edu.
Updated: October 2018
Hire SMCM (this should always be your first stop) [Link]
SMCM Career Center [Link]
Baltimore CollegeTown internship resource [Link]
Government and Academia
Department of Energy [Link]
Posted: September Deadlines: December 17
Science Undergraduate Laboratory Internship (national labs) [Link]
Posted: September Deadlines: January 10
Navy (including NAS Patuxent River) [Link]
Posted: January and February Deadlines: typically early March
NSF Research Experience for Undergraduates [Link]
Posted: January Deadlines: typically early March
Maryland State Archives [Link]
Posted: January Deadlines: typically March
Foreign Affairs IT Fellowship [Link]
Posted: October Deadlines: February 15
Local Companies
Booz Allen Hamilton (Annapolis Junction) [Link]
Posted: October Deadlines: Rolling
Galois (Arlington) [Link]
Posted: Fall Deadlines: Rolling
Industry
Microsoft [Link]
Posted: August Deadlines: Rolling


| |
Methods defined here:
- __init__(self, config)
- Construct new Monitor object
:param config: configuration dict
- last_processed_block(self, database, coin)
- Get the last block procesesd of <coin>
:param database: Database object
:param coin: Coin object
:return: number of last processed block
- process_block(self, database, coin, number)
- Process transaction of <coin> in a block of number <number>
:param database: Database object
:param coin: Coin object
:param number: block number
:return: number of the next block
- set_last_blocks(self)
- Set the current block of each coin as the last processed
- shutdown(self, signum, frame)
- Terminate threads of each component
- start(self)
- Start thread for every coin and notifier
- test_connection(self)
- Test connectivity of all components
- worker(self, coin)
- Process new blocks of cryptocurrency <coin> until stop event is set.
:param coin: a class inherited from Coin
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes defined here:
- coins = []
- database = None
- notifier = None
- stop = <threading.Event object>
- threads = []
|


NDERITU: Like good leaders, good politicians are rare but possible
by ALICE WAIRIMU NDERITUIn Summary
- If elected, a good politician will build or improve trust in institutions, open them up to public scrutiny, and ensure they act fairly in their treatment of people regardless of their skin colour and/or ethnic background.
What are the qualities of a good politician? What would a politician who wanted to change politics for the better do?
The world has a fairly large share of populists, xenophobes, ethnicists, and extremists, many born of or feeding from hateful political rhetoric from bad politicians.
To change politics for the better, directly challenge ethnicist, extremist, and xenophobic narratives in your campaigns. Build a narrative on sound principles that are translatable into political commitment and action.
Many divided societies lack alternative voices of leadership that are not tied to a particular narrow group, but are rather focused on promoting and valuing diversity.
Make your objective - changing politics for the better - a part of everyday practice, not just a segment of work you do for two hours in a week.
If you do this well, you will see results in people relating to each other better in public transport, in markets and, in fact, as part of their day-to-day lives.
Also Read
-
NERIMA: Let's recognise our sportsmen and women
-
OBBO: East Africa is in a mess because of its own success
-
EYAKUZE: Vote (or don’t), but leave Church out of it
-
EDITORIAL: EAC’s only solution is deeper integration
Advertisement
Maybe the ethnic or religious communities you wish to serve have developed separately as identities without any contact.
In Africa, when this separation is based on skin colour, it is mostly as a consequence of colonial policies, which result in both spatial and social segregation.
However, this separation is usually not complete because in every Caucasian and Asian home, the African is always present in the ubiquitous role of an apron or uniform-clad domestic servant.
Separation of people on the basis of skin colour, ethnicity, or religion creates preferential treatment and fear, real or imagined, of each other.
Many black Africans are divided by class. Sometimes the divisions are an aftermath of violence, with people segregating themselves into separate spheres. This segregation becomes dangerous when supported by separate education, social, cultural, and employment patterns.
There can be no shared experiences or knowledge of each other’s values so long as people are in contact with only those who look like them.
Build the resilience of divided communities by promoting meaningful interaction, breaking down myths and stereotypes.
Segregation in local communities creates potentially dangerous extremist ethnic and religious identities. Local context is always significant in informing national and international narratives.
Bad politicians thriving on hate allow prejudices and stereotypes, baptised as “threats to cultural identity”, to fester. They refuse to promote mutual understanding, allowing and sometimes even encouraging extremism. They situate themselves as the protectors of the community’s identity from “others”. They ensure people live in fear of the “other” in order to maintain the conditions under which discrimination and inequities bloom.
A good politician appreciates people’s different backgrounds and circumstances, and draws up plans to create economic and educational opportunities plus equal access to resources.
He or she tackles inequalities and develops positive relationships between people from different ethnic and religious backgrounds by involving them in joint community activities.
If elected, a good politician will build or improve trust in institutions, open them up to public scrutiny, and ensure they act fairly in their treatment of people regardless of their skin colour and/or ethnic background.
He or she will address structural inequalities, ensuring that children of all ethnicities and religions mix together in schools. A good politician should harmonise or create anti-discrimination legislation in all areas that encourage differences.
When people spend time with each other they focus more on what they have in common rather than their differences. So, speak consistently about a common vision of belonging for all communities. Let people know what their shared sense of contribution to this vision is.
Consistently counter their negative views. Most research focuses on polarised societies. Unfortunately, there are not many corresponding studies on points of interaction between divided communities.
Do the opposite, providing reports on social interaction based on different parameters between groups of people such as gender, religion, ethnicity, and age. That would be a positive contribution to good politics!
Wairimu Nderitu is the author of Beyond Ethnicism. Mukami Kimathi, Mau Mau Freedom Fighter and Kenya: Bridging Ethnic Divides, info@mdahalo.org


Achievements
This section describes the whole chain of educational peaks I have achieved till now, starting from the very begining.
- NMCMSSE scholarship holder worth 24000/- Rs. provided by HRD govt. Bihar.
- Got 1st prize in a quiz contest and received prize from DSP of Ara.
- Got 2nd prize in a quiz contest and got SIIT free cit package worth 850/- Rs.
- Got A grade in All India computer knowledge competition by NRIKD.
- Got 3rd prize in english elocution.
- Got shortlisted in best major project of 2016 at college level.
- Host of college annual program for 3 continious years.
- Ran for marathon "Run Bhopal Run".


You can choose to show MicroSurvey on your desired position based on configuration. Available positions are Bottom Right, Bottom Left, Top Right and Top Left
Bottom Right
Bottom Left
Top Right
Top Left


Skilled programmer for both front-end and back-end solutions in software languages Javascript, Python, PHP
Knowledgable of web-based solutions including phone apps and the content-management system Drupal
Experienced with database design, maintenance and migrations using MySQL as well as Filemaker
I am both a left- and right-minded worker for which I credit my formal education in philosophy. I am extremely analytical and have always enjoyed working on difficult programming problems. I deliver highly abstract designs, patterns and solutions without adding unneeded complexity. I program code to achieve attended effects but also to maintain simplicity and organization so such code is more easily comprehended and modified if needed. On the other hand, my liberal arts education has trained to achieve clarity in communication, consideration of the human experience in design and the ability to make aesthetic decisions. Always with the big picture of the production or service in consideration, I can work very well independently or lend my leadership or support when working in teams. My employers and clients have found working with me a pleasure.
Recieved CIW Site Development Associate Certification
Click for Certificate
Received A+ Certification
Click for Certificate
I utilized Filemaker to create a company-wide database and interface for the work-flow process and record keeping of sales and manufacturing for this apparel design firm. Using the Instant Web Publishing features of Filemaker, sales team members were able to make requests, view shipping records, store contacts and access company colors and patterns from across the nation simply through their web browser. Try it out by logging in using username and password, 'guest'.
To support another project, I constructed a simple web application using PHP and SQL to mimic the functionalities of the facebook wall. By entering a link address, the application can obtain a image and synopsis for listing and hold. The user can then edit this information and save it with database persistence. Try it out by using a username and password, 'guest'
As an excercise I created a note-taking application. I used bootstrap, PHP and a MySQL database. Multiple profiles and filter features included. I was designing for functionality first so did not have the chance to implement a more elegnat visual design however I implemented smooth off-canvas function for the profiles section. Try it out using username 'guest' and password 'infosguest123'
As part of my co-op membership working hours I developed a new website for the non-profit, Working While Playing. I used the CMS drupal and regularly keep it updated with recent news and updates. I used a variety of drupal modules to achieve import effects such as listing the staff users and displaying a youtube video.
Elegantly displaying the beautiful work of this home-staging business was key for this website. I built the website under the Bootstrap Framework which enabled mobile responsiveness as well as off-canvas navigation. I also included jQuery plugins to the slider on the homepage as well as galleries of the work.
Utilizing wix.com for rapid development, I developed this website using a pre-established template. To customize, I created a logo, unique slider images and custom written content for the pages. This page also utilizes my php project SimpleWall (see above) to provide news updates.
Centrally responsible for the releases of the company's primary software application, the StratIS management app, which allows tablet and browser management of StratIS' "Internet of Things" platform. Developer and maintainer of both cloud server software in Django/Python and the front-end web/tablet/mobile applications in React/Redux/Javascript. Designed and developed database and API layers for internet of things platform including distributed processes using Celery. Worked in collaboration with five to eight other developers using Git and Gerrit code review software. Participated in and occasionally managed one to two week development sprints using Atlassian Jira. Led and was responsible for a major data migration effort from previous property management software Nexia and Schlage Express which included the transfer of nearly a 100,000 residential and other units in addition to key, user and assignment information.
Contract developer and consultant for businesses and non-profits for web development projects. Interviewed clients to determine needs, inform them of considerations and discuss options. Designed and implemented new websites on a variety of platforms including Drupal, HTML/CSS/JS/PHP and platforms such as Wix. Reviewed and managed content and provided training on how to do so independently. Found appropriate hosting solutions and training on how to interface.
Constructed and administered to determine workflow process and database requirements. Resolved IT technical problems with e-mail, Internet, cell phones, file sharing, hosting services. Provide staff database training for a staff of 10+ as well as technical support by phone, e-mail and through desktop sharing software, Teamviewer.
Provided implementations and maintenance for both in-house projects and the websites of various clients for this web development and technical support company. Worked with HTML/CSS/JavaScript as well as PHP or ASP.net languages. Wrote code regarded commercial transactions using authorize.net.
B.A., Villanova University, Villanova, PA
Double Major in Philosophy and Honors
Graduated May 2007: Magna Cum Laude
Cumulative GPA: 3.81
Shantih Brando, Owner of InsideOut Home Solutions
"Working with Jonathan Veit has been such a pleasure! He has completely transformed my company's website with great ideas, skillful presentation and really great attention to detail. Jon is extremely responsive, which is great since I e-mail him at all hours of the day and night. And I appreciate his collaborative nature; he often emails me with ideas for changes to the site! I couldn't ask for a better web designer to enhance my business profile."
Sue Wolfe, Business Owner and Founder of non-profit feral cat program, Cat Crew
"Jon took over the management of our non-profit animal rescue website and transformed it into an easy-to-navigate, professional design. He made the changes I asked for, clearing the clutter and making the website a pleasure to browse. I was impressed by his creativity and fast response, which continue as we change and update data on a regular basis. He has remained our website manager thanks to his talent and technical knowledge."
Michelle Wildenhaus, Owner and Sales Manager of Studio Twist
"JV has built a system for administration of our custom sample order entry system, shipping, and yarn inventory. Due to the custom nature of our business at Studio Twist, this has been an invaluable tool in our growing business. JV has also trained our sales force on the system, and has been readily available for trouble shooting and additional training as needed. We would definitely recommend his services."
Industry's Leading Green Energy Web Hosting Provider
http://www.greengeeks.com


Bracelet Set Up
Turn on bracelet then click "Connect".
Connect
Configure for Experiment
Continue to Experiment


1. Introduction
1.1. Assumptions
1.1.1. Print Rendering
1.1.2. HTML Rendering
1.2. Sample Windows Environment
1.2.1. Support Files
1.2.2. Sample Script Use
1.2.3. Documentation of the Sample Script
1.2.4. Environment Variables
1.3. Creation of CSLDSSSL Documentation
2. Definitions
2.1. Command-line Manipulated Variables
2.2. Dimensions
2.3. Common Strings
2.4. Print Semantics Font Related Variables
2.5. Non-standard Function Definitions
2.6. Inherited Characteristic Initial Values
3. Support Procedures
4. Root Construction
5. High-level Constructs
6. Display of Raw DSSSL Script
7. Low-level Constructs
7.1. Part Referencing
8. Meta-data Information
9. Default Construction Rule
10. Table of Contents Processing
11. Index of Definitions Processing
12. Distilling of the DSSSL Script
This environment models and supports an annotatable DSSSL stylesheet. Annotations take the form of formal documentation, formatted as a printed manual, split into sections, sub-sections and sub-sub-sections. The public identifier for the document model (available at http://www.CraneSoftwrights.com) is one of either of the two following values supported in the catalogue:
+//IDN CraneSoftwrights.com::CSL//DTD An Annotatable DSSSL Stylesheet//EN"
+//ISBN 1-894049::CSL//DTD An Annotatable DSSSL Stylesheet//EN
When one writes DSSSL scripts using the Annotatable DSSSL Stylesheet document model, this environment provides a DSSSL stylesheet to use to document that script in three renderings: print, HTML, and an unannotated DSSSL distillation.
This environment's documentation stylesheet uses standardized DSSSL print semantics for the print rendering, and custom SGML syntax semantics as defined in the DSSSL engine named JADE (http://www.jclark.com/jade) for the HTML and raw DSSSL renderings. Refer to the command-line documentation 2.1. Command-line Manipulated Variables for details on how the invocation uses the setting of different variables to engage the different renderings from the same script.
This version of the stylesheet assumes imperial measurements for the page dimensions. All values can be changed to metric measurements in the root construction rule 4. Root Construction, or dynamically at invocation with a command line option documented in 2.1. Command-line Manipulated Variables.
This version of the stylesheet assumes the HTML 3.2 Recommendation for markup, with the exception of including by default a colour background attribute for a table which is not defined in the recommendation. Refer to the command-line documentation 2.1. Command-line Manipulated Variables for details on how to keep strictly to the HTML 3.2 recommendation.
The file csldsssl.soc is an SGML-Open standard format catalogue of the public identifiers for the environment.
The file sample.sgm is a simple example stylesheet.
The file csldsssl.sgm is the DSSSL script used to produce the documentation for an annotated stylesheet.
The file dsssl.dtd is architectural meta-DTD for DSSSL.
Two entity files iso-lat1.ent and iso-num.ent include the SDATA declarations for entities helpful in writing the prose of the documentation in an annotated stylesheet.
Consider a DSSSL stylesheet that is an instance of the CSLDSSSL document model is named sample.sgm (the extension chosen because of the rich element structure), and the document being processed is mydoc.sgm, then the JADE invocation is (in part):
jade -d sample.sgm -c csldsssl.soc mydoc.sgm
The batch file csldsssl.bat is a representative invocation of this documentation environment in Windows, using JADE as an example DSSSL engine. It assumes the DSSSL script is in an SGML instance with the filename extension of .SGM.
There is one mandatory argument to the invocation batch file: the name (without .SGM suffix) of the instance to be processed. Up to 8 other arguments for JADE may be included after the mandatory argument.
For the one .SGM input, three outputs are created: an .HTM file for browsing, an .RTF file for printing, and a .DSL file for information. Note the .DSL file is only a distillation of the DSSSL code fragments from the annotated stylesheet, and itself can be used with the unannotated version of the stylesheet. It is not necessary to create the .DSL file to use with a DSSSL-conforming engine, because the .SGM file itself conforms to the DSSSL architecture.
To create the three documentation files of the sample.sgm DSSSL stylesheet, one would execute the one command:
csldsssl sample
To limit the HTML documentation produced to strictly follow the HTML 3.2 document model, add the setting of a switch:
csldsssl sample -V strict
The supplied example invocation batch file has one environment variable dependency, the directory in which the CSLDSSSL documentation script file is found. For example:
SET csldsssl=c:\csldsssl\
Note the directory name is suffixed with a subdirectory separator character (backslash for Windows).
The invocation also assumes the JADE executable is on the path.
This documentation file is, itself, the output of the environment's stylesheet applied to itself.
The invocation used of the sample batch file to produce this documentation is:
csldsssl csldsssl
When using JADE, these variable are turned to true with the following command line option:
-V variable-name
The noscript variable defaults to false which will not suppress the printing of script text in the documentation. When true, the script text is suppressed from the printing of the documentation.
(define noscript #f) ;set to true to suppress script text in output docs |
The html variable defaults to false which will produce standard DSSSL flow objects. When true, the script will produce non-standard SGML flow objects supported by JADE.
(define html #f) ;set to true to produce SGML flow objects of HTML |
The strict variable defaults to false allowing non-standard HTML 3.2 syntax to be generated.
(define strict #f) ;set to true to produce strict HTML 3.2 syntax |
The metric variable defaults to false thereby engaging imperial measurements when using print semantics.
(define metric #f) ;set to true to use metric measurements |
;metric ;imperial (define page-width (if metric 210mm 8.5in)) (define page-height (if metric 297mm 11in)) (define left-margin (if metric 13mm .5in)) (define right-margin (if metric 13mm .5in)) (define header-margin (if metric 13mm .5in)) (define footer-margin (if metric 13mm .5in)) (define top-margin (if metric 25mm 1in)) (define bottom-margin (if metric 25mm 1in)) (define box-start-indent (if metric 6mm .25in)) (define box-end-indent (if metric 6mm .25in)) (define toc-start-indent (if metric 13mm .5in)) (define toc-end-indent (if metric 20mm .75in)) (define toc-item-indent (if metric 20mm .75in)) (define index-col-sep (if metric 6mm .25in)) |
;metric ;imperial (define toc-string "Table of Contents") (define defn-string "Index of Definitions") |
(define default-font-size 12pt) ;main body of text (define title-font-sizes '(18pt 17pt 16pt 15pt 14pt 13pt)) (define main-title-font-size 16pt) (define part-title-font-size 14pt) (define serif-font "Times New Roman") ;should be "iso-serif" (define monospaced-font-size 10pt) (define monospaced-font "Courier New") ;should be "iso-monospc" |
Note these function may not be supported by all DSSSL engines; the declarations used are those recognized by JADE.
The (debug) function is available to be used for diagnostic purposes. It may be that the function isn't actually called anywhere for a particular revision of the script.
(define debug (external-procedure "UNREGISTERED::James Clark//Procedure::debug")) |
The (if-first-page) function is used to remove the redundant page header on the first page of the printed output.
(define if-first-page (external-procedure "UNREGISTERED::James Clark//Procedure::if-first-page")) |
These JADE SGML Syntax Flow Objects declare the non-DSSSL standard flow objects for emitting SGML syntax as supported by JADE.
(declare-flow-object-class element "UNREGISTERED::James Clark//Flow Object Class::element") (declare-flow-object-class empty-element "UNREGISTERED::James Clark//Flow Object Class::empty-element") (declare-flow-object-class document-type "UNREGISTERED::James Clark//Flow Object Class::document-type") (declare-flow-object-class processing-instruction "UNREGISTERED::James Clark//Flow Object Class::processing-instruction") (declare-flow-object-class entity "UNREGISTERED::James Clark//Flow Object Class::entity") (declare-flow-object-class entity-ref "UNREGISTERED::James Clark//Flow Object Class::entity-ref") (declare-flow-object-class formatting-instruction "UNREGISTERED::James Clark//Flow Object Class::formatting-instruction") (declare-characteristic preserve-sdata? "UNREGISTERED::James Clark//Characteristic::preserve-sdata?" #t) |
(declare-initial-value font-size default-font-size) (declare-initial-value font-family-name serif-font) (declare-initial-value min-leading 0pt) ;stretch line height to fit (declare-initial-value quadding 'justify) |
The construct function captures the construction rule for both print and SGML semantics without replicating the condition test in the syntax of every construction rule.
(define (construct print sgml) (if html sgml print)) ;use SGML semantics if HTML requested. |
The make-elem and make-emptelem functions create SGML flow objects with the optional supply of attributes.
(define (make-elem gi #!optional (a '()) (content (process-children))) (make element gi: gi attributes: a content)) (define (make-emptelem gi #!optional (a '())) (make empty-element gi: gi attributes: a)) |
The part-depth, part-list and part-list-name functions calculate the depth of parts and subparts of the given node, and the formatted string.
(define (part-depth nd) (length (hierarchical-number-recursive "part" nd))) (define (part-list nd delim suffix) (string-append (format-number-list (hierarchical-number-recursive "PART" (if (equal? (gi nd) "PART") (node-list-first (children nd)) nd)) "1" delim) (if suffix delim ""))) (define (part-list-name nd prefix) (string-append (if prefix "#" "") "P" (part-list (current-node) "-" #f))) |
The first-descendant-sosofo function builds on the assumed lazy evaluation of lists to efficiently return the content of the node of the given generic identifier as a sosofo.
(define (first-descendant-sosofo giFind) (literal ;make a sosofo (data ;of the data (node-list-first ;of the first (select-elements (descendants ;of the descendants (if (gi (current-node)) (current-node) (node-property 'docelem (current-node)))) giFind))))) ;with the given name |
(root (let* ((title-sosofo (first-descendant-sosofo "TITLE"))) (construct (make simple-page-sequence page-width: page-width page-height: page-height left-margin: left-margin right-margin: right-margin header-margin: header-margin footer-margin: footer-margin top-margin: top-margin bottom-margin: bottom-margin center-header: (if-first-page (empty-sosofo) title-sosofo) left-footer: (first-descendant-sosofo "INFO") right-footer: (first-descendant-sosofo "DATE") center-footer: (page-number-sosofo) (process-children)) (sosofo-append ;assume HTML 3.2 (make document-type name: "html" public-id: "-//W3C//DTD HTML 3.2 Final//EN") (make formatting-instruction data: (string-append "<" "!-- CSL DSSSL Stylesheet - " "http://www.CraneSoftwrights.com --> <" "!-- " (time->string (time)) " --> ")) (make-elem "html" '() (sosofo-append (make-elem "head" '() ;HTML meta-data (make-elem "title" '() ;set to script title title-sosofo)) (make-elem "body" '() ;add documentation (process-children)))))))) |
The csldsssl and spec and part elements comprise the high-level constructs other than the dsssl element.
(element csldsssl (sosofo-append ;change the rendered order of the authored information (process-first-descendant "title") (toc) ;injected table of contents (process-first-descendant "spec") (index) ;injected index (process-first-descendant "meta"))) (element spec (process-children)) (element part (process-children)) |
The text of the DSSSL script itself is displayed if the invocation is not engaged to suppress the display, as defined in 2.1. Command-line Manipulated Variables.
(element dsssl (if (not noscript) ;if body text is being displayed (construct ;render verbatim (make box display?: #t space-before: default-font-size start-indent: box-start-indent end-indent: box-end-indent keep-with-previous?: #t (make paragraph start-indent: 0pt end-indent: 0pt lines: 'asis font-family-name: monospaced-font font-size: monospaced-font-size (process-children))) (make-elem "table" (if strict ;then don't set background '(("border" "1")) '(("border" "1") ("bgcolor" "#d0ffd0"))) (make-elem "tr" '() ;single row and cell (make-elem "td" '() (make-elem "pre"))))) (empty-sosofo))) ;suppress it |
The title, para, emph, partref, defn and samp elements comprise the low-level constructs.
(element (csldsssl title) ;the title of the entire stylesheet (construct (make paragraph font-size: main-title-font-size font-weight: 'bold quadding: 'center (make score type: 'after (process-children))) (make-elem "center" '() ;use HTML heading levels (make-elem "h1" '() (make-elem "u"))))) (element title ;the title of a part (let* ((depth (part-depth (current-node))) (report (if (> depth 5) (error (string-append "Part depth is too deep: " (number->string depth) " (maximum is 5 levels).")) "")) (depth-list (part-list (current-node) "." #t)) (title-content (sosofo-append (literal depth-list) (literal " ") (process-children))) (part-id (attribute-string "ID" (parent (current-node))))) (construct (let* ((pts (list-ref title-font-sizes depth))) (make paragraph space-before: pts font-size: pts font-weight: 'bold keep-with-next?: #t title-content)) (make-elem (string-append "h" (number->string (+ depth 1))) '() (make-elem "a" (list (list "name" (part-list-name (current-node) #f))) title-content))))) (element para ;a typical paragraph (construct (make paragraph space-before: default-font-size keep-with-previous?: (if (equal? (child-number) 1) #t #f) (process-children)) (make-elem "p"))) (element emph ;emphasized content (construct (make sequence font-weight: 'bold (process-children)) (make-elem "b"))) (element defn ;the name of something being (construct ;defined in the part (make sequence font-family-name: monospaced-font (process-children)) (make-elem "samp"))) (element (para pre) ;pre-formatted text in a para (construct (make sequence ;don't break the line font-family-name: monospaced-font (process-children)) (make-elem "samp"))) (element pre ;some pre-formatted text alone (construct (make paragraph ;lines of text on their own space-before: default-font-size font-family-name: monospaced-font lines: 'asis keep-with-previous?: (if (equal? (child-number) 1) #t #f) (process-children)) (make-elem "pre"))) (element extref ;a reference possibly outside doc (construct (make sequence font-family-name: monospaced-font (process-children)) (make-elem "a" `(("href" ,(attribute-string "HREF")))))) |
A part of the documentation can be referenced, and in so doing, the referenced part number and title is rendered in a hyper-link to the part itself.
(element partref (with-mode partref ;process the referenced element (process-element-with-id (attribute-string "IDREF")))) (mode partref (element part (process-first-descendant "TITLE")) ;only process the title child (element title ;display part number information (let* ((part-id (attribute-string "ID" (parent (current-node)))) (content (sosofo-append (literal (part-list (element-with-id part-id) "." #t)) (literal " ") (process-children)))) (construct ;as a hyperlink (make score type: 'after (make link destination: (current-node-address) content)) (make-elem "a" (list (list "href" (part-list-name (element-with-id part-id) #t))) content)))) ) |
Render the information about the script in a mono-spaced font in order to distinguish the information from the body of the document.
(element meta ;separate meta-data from rest with a rule (construct (empty-sosofo) ;already placed in the footer (sosofo-append (make-emptelem "hr" '(("noshade" "noshade"))) (make-elem "pre" '() (process-children))))) (element date ;display without ornamentation (construct (make paragraph font-family-name: monospaced-font (process-children)) (sosofo-append (process-children) (literal " ")))) (element info ;display without ornamentation (construct (make paragraph font-family-name: monospaced-font (process-children)) (sosofo-append (process-children) (literal " ")))) |
Handle all elements not explicitly handled by reporting an error that there exists no construction rule for the given element.
(default ;handle all elements not explicitly handled (let* ((report ;dummy needed for assignment, but not used (if (equal? (element-number (current-node)) 1) (error ;trigger the DSSSL-defined error function (string-append "A construction rule for elements named '" (gi (current-node)) "' isn't defined.")) ""))) ;don't repeat error for every occurence (process-children))) |
The TOC is composed of entries to each of the parts, to all depth levels.
(define (toc) (let* ((contents (with-mode toc (process-node-list (select-elements (descendants (node-property 'docelem (node-property 'grove-root (current-node)))) "PART"))))) (construct (sosofo-append (make paragraph space-before: part-title-font-size space-after: default-font-size font-size: part-title-font-size font-weight: 'bold keep-with-next?: #t (literal toc-string)) contents) (sosofo-append (make-elem "h3" '() (make-elem "a" '(("name" "toc")) (literal toc-string))) (make-elem "p" '() contents))))) (mode toc (element part (process-first-descendant "TITLE")) (element title (let* ((ref (literal (part-list (current-node) "." #t)))) (construct (make paragraph start-indent: (+ toc-start-indent toc-item-indent) first-line-start-indent: (- toc-item-indent) end-indent: toc-end-indent (make line-field field-width: toc-item-indent (make link destination: (current-node-address) ref)) (make link destination: (current-node-address) (process-children)) (make leader) (make link destination: (current-node-address) (current-node-page-number-sosofo))) (let* ((name (part-list-name (current-node) #t))) (sosofo-append (let loop ((countdown (* 4 (part-depth (current-node))))) (if (equal? countdown 0) (empty-sosofo) (sosofo-append (make entity-ref name: "nbsp") (loop (- countdown 1))))) (make-elem "a" `(("href" ,name)) (sosofo-append ref (literal " ") (process-children))) (make-emptelem "br")))))) ) |
For those scripts choosing to use the defn element, an index of definitions is added to the end of the report. Note that this version of the script does not sort the index.
First, be able to determine the precence of any defn element in the script.
(define (defn-present?) ;boolean presence of any defn element (> (node-list-length (node-list-first ;hopefully save time with lazy evaluation (select-elements (descendants (node-property 'docelem (node-property 'grove-root (current-node)))) "DEFN"))) 0)) |
Sort the definitions alphabetically (not supported at this time).
(define (sort-entries unsorted) unsorted) |
Format in a similar fashion to the TOC.
(define (index) (if (defn-present?) (let* ((entries-unsorted ;get all entries (select-elements (descendants (node-property 'docelem (node-property 'grove-root (current-node)))) "DEFN")) (entries (sort-entries entries-unsorted)) ;determine order (contents ;calculate contents (with-mode index (process-node-list entries)))) (construct (sosofo-append (make paragraph space-before: part-title-font-size space-after: default-font-size font-size: part-title-font-size font-weight: 'bold keep-with-next?: #t (literal defn-string)) (make table (make table-column width: (table-unit 1)) (make table-column width: (table-unit 3)) contents)) (sosofo-append (make-elem "h3" '() (make-elem "a" '(("name" "index")) (literal defn-string))) (make-elem "table" '() contents)))) (empty-sosofo))) (mode index ;present a node formatted for an index (element defn (let* ((part (ancestor "PART")) (part-ref (process-node-list part)) (addr (node-list-address part)) (name (part-list-name (current-node) #t))) (construct (make table-row (make table-cell (make paragraph (make link destination: addr (process-children)))) (make table-cell (make paragraph start-indent: index-col-sep (make link destination: addr part-ref)))) (make-elem "tr" '() (sosofo-append (make-elem "td" '() (make-elem "a" `(("href" ,name)) (process-children))) (make-elem "td" '() (make-elem "a" `(("href" ,name)) part-ref))))))) (element part (process-first-descendant "TITLE")) (element title (sosofo-append (literal (part-list (current-node) "." #t)) (literal " ") (process-children))) ) |
These rules will process the DSSSL architectural version of the input document. For JADE, this is engaged with the command line option:
-A dsssl
The end result is a DSSSL stylesheet conforming to the unannotated version of this document model, without any documentation (only the concatenation of all body portions).
Note that code this will not preserve general entities for "<" and "&" characters, or any named general entities such as "RE".
(element dsssl-specification (sosofo-append (make document-type ;declare the document type name: "style" public-id: "+//ISBN 1-894049::CSL//DTD An Annotatable DSSSL Stylesheet//EN") (process-children))) ;the body of the specification (element style-specification ;satisfy heritage to single body (process-children)) (element style-specification-body ;accommodate missing newlines (make formatting-instruction data: (string-append " " (data (current-node)) " "))) ; end of DSSSL |
1998-11-03 10:40 ©CSL - http://www.CraneSoftwrights.com


| carPalette {car} | R Documentation |
This function is used to set or retrieve colors to be used in car package graphics functions.
carPalette(palette)
palette |
if missing, returns the colors that will be used in car graphics; if present, the colors to be used in graphics will be set. The |
This function sets or returns the value of options(carPalette=pallete)
that will be use in car graphics functions to determine colors. The default is c("black", "blue", "magenta", "cyan", "orange", "gray", "green3", "red"))
, which is nearly a permutation of the colors returned by the standard palette
function that minimizes the use of red and green in the same graph, and that substitutes orange for the often hard to see yellow.
Invisibly returns the previous value of the car palette.
Sanford Weisberg and John Fox
Fox, J. and Weisberg, S. (2019) An R Companion to Applied Regression, Third Edition, Sage.
# Standard color palette palette() # car standard color palette carPalette() # set colors to all black carPalette(rep("black", 8)) # Use a custom color palette with 12 distinct colors carPalette(sample(colors(distinct=TRUE), 12)) # restore default carPalette("default")


Filtrex colorizing example
Create an expression that returns a value from -1 (purple) to +1 (green)
price
weight
taste
expression result


--- layout: default title: Success Purchase permalink: /purchase/success.html sitemap: false --- {% include blocks/header.html %}
Can’t wait to see you in June!


You can monitor performance of a Cluster either through Performance Monitor (Microsoft Windows NT tool) or NCache Manager. To monitor a Cluster through NCache Manager, right click on the Cluster from 'NCache Management' tree and select 'Statistics' or 'Statistics in New Window' option from the context menu.
If you will select 'Statistics', a view will be opened in the right pane. On the other hand, selecting 'Statistics in New Window' will open a new window for statistics. In both cases, separate graphs will be shown for each node in the cluster. Similarly, you can also view statistics of individual nodes of the cluster by right clicking on server nodes.
You can select different parameters to be displayed in 'Cluster Performance Test Bed' to analyze cluster performance through 'Tools'->'Options' menu option.
Note: It is suggested that do not turn on all the counters because it will slow down the service.
Create New Cluster | Add Existing Cluster | Refresh a Cluster | Start a Cluster | Add Server Node | Clear Contents | Remove a Cluster | Apply Configuration


Welcome to Salmon River Adventure Times!
We welcome you to Riggins' most trusted White Water Adventure Company.
Join us as we take you to the wonder of the great outdoors!
Riggins Idaho Weather Summary:
Currently: Sunny
High: °F
Windchill: °F
Humidity:%
Windspeed: m/hr
Contact Information
Salmon River Adventures Office
✈ 1000 S Main St, Riggins, ID, USA
✆ 99999999
✉ salmonriveradventuretime.sadventures.com


Welcome to My Portfolio
Some of my favorite learning and research sites for code
FreeCodeCamp
StackOverflow
Scrimba


Private Planes Collide in Texas Airport Runway Crash
According to media reports, the accident involving two midsize business jets resulted in significant damage but no injuries were reported.
Two Cessna planes collided at San Antonio international airport in Texas on Friday. According to Fox San Antonio, one of the planes had been parked since 5 November, while the other arrived on Friday afternoon from San Jose, California, and reportedly made an emergency landing over a fuel leak.
It is not clear how the collision on the runway happened. No injuries were reported after the accident but the collision caused significant damage.


{% extends "layout.html" %} {% block content %}
Select algorithm for keyframes detection
Select THRESHOLD_CONSTANT opencv
Select method for compare histogram


steemrewarding.com is a open-source feature-rich automatic voting tool (github). It can be used to:
- follow other voters (trail voting) and upvote shortly after they vote
- upvote posts/comments based on rules
- cast delayed upvotes on posts/comments without rule (by post a command or by using the steemrewarding.com interface)
- upvote already paid out posts (by post a command or by using the steemrewarding.com interface)
In order to use steemrewarding.com, posting authority has to be given to the @rewarding by https://app.steemconnect.com/authorize/@rewarding .
I created a discord server for all topics regarding steemrewarding.com: discord invitation.
Stats
93 user created 739 rules for upvoting posts, 69 rules for upvoting comments and 16 trail vote rules.
8 user did only use the delayed upvote or upvote paid out posts feature.
So in total, steemrewarding.com has 101 active users.
In the last 7 days, 3532 time based votes and 928 votepower based votes were broadcasted.
3008 different authors were upvoted through steemrewarding.
The mean delay between the vote time and the specified vote time is 12.4 seconds.
One round lasts around 15 seconds, so there is sufficient space for more users :).
How to use steemrewarding to upvote authors when the vote power is full and idle
It is possible to created vote power based voting rules, which mean that the specified author upvoted when the vote power is above min_vp
. It is possible to include or exclude specific tags and apps. For each author, one rule for posts and one rule for comments can be created.
I’m a member of steembasicincome and upvoting their posts increases my rshares balance. So I created some vp based rules to upvote sbi (sbi2 - sbi10) posts when my VP is full and idle:
It is possible to create a rule and copy it to other accounts by pressing the Copy link.
So I started with a rule for sbi2:
I set the maximum upvote delay to four days (5760 min.) and allow only posts upvotes.
The upvote should only be triggered (I enabled enabled vote_when_vp_reached
to achieve this) when my voting power is equal or abovemin_vp
= 100%.
I set vp_reached_order
to 3. By this my other VP based rules with lower vp_reached_order
are used with prioritoy.
These rules for sbi2 to sbi10 are a good fall back, when I were not able to curate posts and my vote power reaches 100%.
This page is synchronized from the post: ‘Current state of steemrewarding.com’


🙋♂ I'm an Icon Too!
An extended Icon for those that are not actually square. Plus shadows support!
... because Flutter's native Icon
"assumes that the rendered icon is squared" and that "non-squared icons may render incorrectly."
IconToo(IconData icon, {@required Size trueSize, Color color, List<Shadow> shadows, TextDirection textDirection, String semanticLabel})
-
Note:
trueSize
parameter is aSize
and not adouble
. -
Builds an
Icon
-akin widget set inside aSizedBox
constrained bytrueSize
, with givenicon
data. -
Optionally pass
color
orshadows
.-
✨ As a bonus, each IconToo supports the
shadows
parameter fromTextStyle
, passed asList<Shadow>
and rendered under anIconToo
. -
This is a neat little additional feature, as traditionally an icon shadow might be achieved with something like this.
-
See
Shadow
for more information.
-
-
Replete with proper
Semantics
and debugProperty
s.
❓ Example usage with an IconButton
:
IconButton(
icon: IconToo(
color: Colors.red,
CustomIcons.non_square_icon,
// IconToo passes `fontSize = min(trueSize.width, trueSize.height)` to `TextStyle()`
trueSize: Size(34.0 * 5, 34.0),
),
// But we need the max() to ensure an IconButton has a diameter that encompasses the entire IconToo
iconSize: 34.0 * 5,
onPressed: () {},
);
Icon Example app
See some example usage of the Icon package for Flutter included here.
- Icon Example Android source:
/example/lib/main.dart
- Icon Example APK


| Place | Team | Average Score | Average Beacons | Average Resources |
- ***Game 1 / 3 with teams GATeam RandomTeam BeaconCollectorTeam HeuristicMinerTeam ***
- Error in match : skipping and moving to next one
- java.lang.ArrayIndexOutOfBoundsException: -1
- ***Game 2 / 3 with teams GATeam RandomTeam BeaconCollectorTeam HeuristicMinerTeam ***
- Error in match : skipping and moving to next one
- java.lang.ArrayIndexOutOfBoundsException: -1
- ***Game 3 / 3 with teams GATeam RandomTeam BeaconCollectorTeam HeuristicMinerTeam ***
- Error in match : skipping and moving to next one
- java.lang.ArrayIndexOutOfBoundsException: -1
Last updated: Thu, 9 Feb 2017 21:03:44 -0600


Toggle navigation
P Vineet Souri
About
Portfolio
Skills
Contact
Contact
Seems like you want to contact me..
Well, Go ahead and contact me from the below links..
Adios..


This document explains the format of the SAI files. SAI files are used in the database as a table of contents. Every non-deleted record in the database will have a record in the SAI file. SAI records are all the same size, so it is very easy to modify the contents of this file in place, including removing and reordering entries.
A record in a SAI file consists of a pointer to a MDB record, and to its associated PAI module (if applicable). The pointer to the PAI module does not point to the start of the module, however, but to the location of the first entry within the module. See the PAI file format for more information.
| Word Offset | Size (words) | Description |
|---|---|---|
| 0 | 2 | Signature, "0x05181971" |
| 2 | 2 | Reserved (zero by default) |
| 4 | 1 | Number of entries (N) |
| 5 | 3 | Reserved (zero by default) |
| 8 | 4 | 0x00000000, 0x00000000 (looks like an empty record) |
| 12 | 2 | MDB pointer for record 1 |
| 14 | 2 | PAI pointer for record 1 |
| ... | ... | ... |
| 12+4*(i-1) | 2 | MDB pointer for record i |
| 14+4*(i-1) | 2 | PAI pointer for record i |
| ... | ... | ... |
| 12+4*(N-1) | 2 | MDB pointer for record N |
| 14+4*(N-1) | 2 | PAI pointer for record N |
| 12+4*N | 4 | 0x00000000, 0x00000000 (looks like an empty record) |


Pharmacy sales - NHS prescription prepayment
Pharmacy sales - NHS prescription prepayment
Enter your pharmacy Organisation Data Service (ODS) code and password to start a sale.
Forgotten your password
If you have forgotten your password, call us on 0191 203 4945.
Customer self-service
If you are happy to give customers access to your computer, they can buy their own prescription prepayment.
Not registered?
Your pharmacy can register to sell prescription prepayments here.
Helpful information
Dispensing prescriptions
You should ask customers for prepayment details as part of the terms of service.
If they do not have them, tick 'Evidence not seen' on the prescription. Do not charge them.
We prevent fraud by matching prepayment details on our database with prescriptions.
About selling prepayments
Find out more about selling prescription prepayments for us. (PDF: 460KB)
If you have any other questions about this service, call us on 0191 203 4945.
Can they get free prescriptions?
Check whether the customer can get free prescriptions before making a sale. Remember people 60 or over get free prescriptions.
To see if they can get free prescriptions, visit our webpage.
Prepayment charges
The current cost for patients is:
£29.10 for a 3-month prescription prepayment
£104 for a 12-month prescription prepayment
Prepayment start dates
Prepayment starts on the date they buy at the pharmacy unless they ask for a different start date.
A start date can be up to one month in the future or the past.
Refund of prescription charges
Patients may pay a prescription charge before backdating their prescription prepayment.
They cannot get a refund unless they get an NHS refund form (an FP57) at the time.
Penalties for invalid claims
If a patient claims to have a valid prescription prepayment when they do not, they may have to pay a penalty charge.
Prescription prepayment refunds
A partial refund may be available if a patient starts to qualify for free prescriptions.
For more about refunds, including the time limit for claiming, read our advice.


--- layout: documentation title: DHCPServerListType ---
The DHCPServerListType type specifies a list of DHCP Servers, via their IP addresses.
| Field Name | Type | Description |
|---|---|---|
| DHCP_Server_Address1..n | AddressObjectType |
The DHCP_Server_Address field specifies the IP address of a DHCP server. |


A proof-of-concept electron app for sending files to your android device's /sdcard/
/sdcard/
View project on github


Definitely not mobile friendly.


Workflow Package Configuration
When deploying in a cloud environment the mechanism for setting your app-specific workflow properties is through MDW Package Configuration.
This enables you to configure custom settings that apply only to your particular workflow application.
Also, the MDW runtime provides many injection points where you can configure behavior provided by your custom deployable artifact (OSGi Bundle or Jar File).
Examples of this include Dynamic Java, Camel Integration, and Spring Workflow Assets.
Frequently you'll want to associate your workflow package with a corresponding deployable artifact so that MDW knows where to locate your custom code.
This is accomplished using Package Configuration as well.
Maintaining Package Configuration
To access workflow package configuration in Designer, right-click on a package in Process Explorer view and select Show Properties.
Then select the Configuration tab in Properties View. The screenshot below illustrates a workflow package that already contains some configuration settings.
Package settings are configured per-environment (even for those such as in the illustration which are not environment-dependent).
To add a new property value, click the Add button under properties. To add another environment, click the Add button under Environments.
The environment name must correspond to the runtimeEnv Java system property that MDW uses to identify which type of environment you're running in.
The runtimeEnv can be any value, but two values have special meaning: dev and prod (both lower case). Dev environments allow convenience features such as unauthenticated access.
Prod environments require special permissions and confirmations before performing certain actions, and disallow other actions completely.
The package configuration settings are exported along with the processes and assets for a package, and so they carry forward when migrated to a new environment.
You can leverage your package configuration properties using the props binding expression syntax in your activity design attributes,
and in your programmatically through the MDW PropertyManager API.
This gives you a mechanism for plugging in environment-specific values.
OSGi Bundle Spec Properties
The properties shown in the screenshot have special significance to the MDW runtime in an OSGi environment such as ServiceMix or Fuse.
The property OsgiBundleSymbolicName designates a bundle that should be accessed by MDW when locating custom implementation
(such as bundle classes accessed by Dynamic Java Managed Beans).
In OSGi environments a common strategy for handling in-flight processes is to leave your old bundle in place while
deploying a new bundle alongside it to handle new processes.
This is possible in OSGi because each bundle gets its own ClassLoader, so multiple classes with the same name can coexist in the container.
This ability enables you to develop your new bundle classes without having to worry about compatibility with pre-existing process instances.
One ingredient in this strategy is to use a Version Aware Provider
for MDW Activities. For workflow assets like Spring configs or Dynamic Java Managed Beans, another ingredient is to specify
the OsgiBundleVersion package property, which tell MDW that it needs to look in a specified version of your bundle when accessing your classes.
The bundle specification follows the OSGi version range syntax as documented in the MDW BundleSpec class API.


My noob bread
It is easy to sit up and take notice, what's difficult is getting up and taking action.
It is easy to sit up and take notice, what's difficult is getting up and taking action.
Click New character to generate a completely new character. Alternatively you can also refresh each property separately with the refresh button next to them.


PC vs Human
Socket
PC vs Human
Human vs Human
Refresh Game
@mreorhan
Fork from Github
Score Table
You:
0
Computer:
0
New Game


question is required
question must be more than 10 chars
choice is required
choice must be more than 1 chars


Clone from Github:
git clone https://github.com/jxnblk/basscss.git
NPM:
npm install basscss
Bower:
bower install basscss
CDN:
<link href="http://d2v52k3cl9vedd.cloudfront.net/basscss/<%= version %>/basscss.min.css" rel="stylesheet">
Next: Learn about Basscss’s Base Element Styles and how to use them in your own project.


| 1 | package fr.sii.ogham.core.sender; | |
| 2 | ||
| 3 | import static fr.sii.ogham.core.util.LogUtils.summarize; | |
| 4 | ||
| 5 | import java.util.Arrays; | |
| 6 | import java.util.List; | |
| 7 | ||
| 8 | import org.slf4j.Logger; | |
| 9 | import org.slf4j.LoggerFactory; | |
| 10 | ||
| 11 | import fr.sii.ogham.core.exception.MessageException; | |
| 12 | import fr.sii.ogham.core.message.Message; | |
| 13 | ||
| 14 | /** | |
| 15 | * Decorator implementation that will try to send the message until one | |
| 16 | * decorated sender is able to send it. The aim is that if a sender fails to | |
| 17 | * send the message, then another will send it. It can ensure that message will | |
| 18 | * be sent at any costs. | |
| 19 | * | |
| 20 | * @author Aurélien Baudet | |
| 21 | * | |
| 22 | */ | |
| 23 | public class FallbackSender implements MessageSender { | |
| 24 | private static final Logger LOG = LoggerFactory.getLogger(FallbackSender.class); | |
| 25 | ||
| 26 | /** | |
| 27 | * The list of senders to try one by one until one succeeds | |
| 28 | */ | |
| 29 | private List<MessageSender> senders; | |
| 30 | ||
| 31 | /** | |
| 32 | * Initialize either none, one or several senders to try one by one until | |
| 33 | * one succeeds. | |
| 34 | * | |
| 35 | * @param senders | |
| 36 | * the senders to register | |
| 37 | */ | |
| 38 | public FallbackSender(MessageSender... senders) { | |
| 39 | this(Arrays.asList(senders)); | |
| 40 | } | |
| 41 | ||
| 42 | /** | |
| 43 | * Initialize with the provided list of senders to try one by one until one | |
| 44 | * succeeds. | |
| 45 | * | |
| 46 | * @param senders | |
| 47 | * the senders to register | |
| 48 | */ | |
| 49 | public FallbackSender(List<MessageSender> senders) { | |
| 50 | super(); | |
| 51 | this.senders = senders; | |
| 52 | } | |
| 53 | ||
| 54 | @Override | |
| 55 | public void send(Message message) throws MessageException { | |
| 56 |
1
1. send : All method instructions removed → NO_COVERAGE |
for (MessageSender sender : senders) { |
| 57 | try { | |
| 58 | LOG.debug("Try to send message {} using sender {}", summarize(message), sender); | |
| 59 | sender.send(message); | |
| 60 | LOG.debug("Message {} sent using sender {}", summarize(message), sender); | |
| 61 | return; | |
| 62 | } catch (Exception e) { | |
| 63 | LOG.debug("Message {} couldn't be sent using sender {}. Cause: {}", summarize(message), sender, e); | |
| 64 | } | |
| 65 | } | |
| 66 | throw new MessageException("No sender could handle the message", message); | |
| 67 | } | |
| 68 | ||
| 69 | /** | |
| 70 | * Register a new sender to try. The sender is added at the end. It will be | |
| 71 | * used only after all previously registered senders have failed. | |
| 72 | * | |
| 73 | * @param sender | |
| 74 | * the sender to register | |
| 75 | */ | |
| 76 | public void addSender(MessageSender sender) { | |
| 77 |
1
1. addSender : All method instructions removed → NO_COVERAGE |
senders.add(sender); |
| 78 | } | |
| 79 | } | |
Mutations | ||
| 56 |
1.1 |
|
| 77 |
1.1 |


| < July 2015 > | ||||||
|---|---|---|---|---|---|---|
| Su | M | T | W | Th | F | Sa |
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 | |
Positioning content in CSS can be complicated. Objects on a webpage have a position type of 'static' by default, but we can change this to 'relative', 'absolute', or 'fixed'. Static simply means the objects will behave naturally in accordance with their sibling and parent objects. We will discuss the other three in the following.
Relative positioning is fairly straight forward. It allows you to move your object around the page relative to it's starting position. Let's go through an example! Here we have a square div. It is in the it's natural static position.
Now let us add relative positioning to the div. We add the follwing code to our CSS document:
div {
position: relative;
left: 100px;
top:100px;
}
And the box moves!
In fact, it moves one hundred pixels from the left and one hundred pixels from the top relative to the starting position. It is also worth noting that the original position of the object is preserved. What this means is that even though we have moved our object, a new object will not be able to occupy the original position. We can see this in the following:
Note here that the new red div ought to be in the upper left corner, but because the black one is relatively positioned, the red simply stacks underneath.
Absolute positioning is similar to relative positioning, but with a few key differences. Let's give our new red block the property "position: absolute;" and see what happens:
It stacks on the black block! Absolute positioning takes an object out of the normal flow of the page, it's starting point is not preserved, in contrast with relative objects. An absolute object orients itself in relation to it's closest parent object that has relative positioning. In this case there is no parent with relative positioning for our red block, so it orients itself in relation to the  tag.  Now, what if we nest the red block inside the black block in our code? Let's take a look, presented is the html and the result. Remember, the black block has relative positioning while the red has absolute:

We can see now the red block is positioned relative to the parent black block, and we can move the red however we may desire.
The final position type is fixed. Fixed positioning means exactly as it sounds, the object will be stuck in place. Regardless of vertical or horizontal scrolling the object will remain fixed on the screen. This can be particularly useful for menus or navigation bars, for example.
These concepts, on paper, sound kind of complicated. Hopefully this was somewhat informative and helps explain it, but mostly I would strongly suggest just going into the chrome devtools and experiment with moving things around a page. The instant connection you can make visually when you change the code in incredibly helpful, and probably clearer than anything I could write.


EntriesClient
Extends:
Client for accessing Caldera Forms entry data via Caldera Forms REST API
Method Summary
| Public Methods | ||
| public |
deleteEntries(formId: String): Promise<any> Delete all entries of a form |
|
| public |
deleteEntry(formId: String, entryId: String): Promise<any> Delete a single entry of a form |
|
| public |
getEntries(formId: String, page: number): Promise<any> Get one page of entries for a form |
|
| public |
getEntriesEndpoint(formId: String): string The endpoint URI for a collection of entries for one form. |
|
| public |
Get a single entry of a form |
|
| public |
getEntryEndpoint(formId: String, entryId: String): string The endpoint URI for single entries |
|
| public |
getEntryResendEndpoint(formId: String, entryId: String): string The resend endpoint URI for single entries |
|
| public |
resendEntry(formId: String, entryId: String): Promise<any> Resent a single entry of a form |
Inherited Summary
| From class WpClient | ||
| public |
nonce: * |
|
| public |
WP API for requests |
|
| public |
Set nonce for requests |
Public Methods
public deleteEntries(formId: String): Promise<any> source
Delete all entries of a form
Params:
| Name | Type | Attribute | Description |
| formId | String | ID of form to get entries for. |
public deleteEntry(formId: String, entryId: String): Promise<any> source
Delete a single entry of a form
public getEntries(formId: String, page: number): Promise<any> source
Get one page of entries for a form
public getEntriesEndpoint(formId: String): string source
The endpoint URI for a collection of entries for one form.
Params:
| Name | Type | Attribute | Description |
| formId | String | ID of form to get entries for. |
public getEntryEndpoint(formId: String, entryId: String): string source
The endpoint URI for single entries


EVERY ALBUM OF THE MONTH IS CHOSEN BECUASE WE THINK IT WILL BE A STAPLE IN ANY RECORD COLLECITON. ALBUMS WILL COME FROM A WIDE RANGE OF GENRES SO COLLECTORS CAN DISCOVER NEW THINGS, AND EXPAND THEIR TASTE IN MUSIC.
EVERY ALBUM OF THE MONTH IS CHOSEN BECUASE WE THINK IT WILL BE A STAPLE IN ANY RECORD COLLECITON. ALBUMS WILL COME FROM A WIDE RANGE OF GENRES SO COLLECTORS CAN DISCOVER NEW THINGS, AND EXPAND THEIR TASTE IN MUSIC.
 IT HAPPENS! CHECK OUT OUR PAST ALBUMS OF THE MONTH AND SWAP THIS MONTHS ALBUM OUT FOR SOMETHING DIFFERENT AT NO EXTRA COST.
 IT HAPPENS! CHECK OUT OUR PAST ALBUMS OF THE MONTH AND SWAP THIS MONTHS ALBUM OUT FOR SOMETHING DIFFERENT AT NO EXTRA COST.
 NO HIDDENFEES AND THE ABILITY TO CANCEL ANY TIME. WANT TOLOCK IN YOUR SPOT FOR THE ALBUM OF THE MONTH EVERYMONTH?
 NO HIDDENFEES AND THE ABILITY TO CANCEL ANY TIME. WANT TOLOCK IN YOUR SPOT FOR THE ALBUM OF THE MONTH EVERYMONTH?


Apply for a Budgeting Loan
#}Apply for a Budgeting Loan prototype
Beta 08 Demo - Sprint 13
This is stuff that was done, stuff that was done.
Prototypes
- Beta 08 Demo · offer
- Beta 07 Demo
- Beta 06 Demo
- Beta 05 Demo
- Beta 04 Demo
- Beta 03 Demo
- Beta 02 Demo
- Beta 01 Demo


--- layout: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/Machine.20Learning.html ---
@Andrew Ashworth Let's switch threads
You should consider changing names :stuck_out_tongue_closed_eyes:
but yeah, ml isn't going to break into real time radar imaging anytime soon, mostly because you need a ton of compute horsepower
if it did, what would it improve?
depends on what your end application is
for radar, a big problem is distinguishing objects from noise
we use tons of linear approximations everywhere that aren't totally applicable
but who cares because everything is a gaussian if you actually want to compute things
unfortunately noise is rarely linear, rarely uncorrelated, and better ways of doing it are too complicated to do in real time
but maybe a well trained ml model would be efficient enough? I don't know, but i think it might be true in the future
gotta stay ahead of the curve and do some learning :)
If it was computationally feasible, would it bring in safety risks?
hmm, possibly, but we already accept some risk of error in the process
since it's statistical, we design the system to some probability pf of a false alarm
(of detecting an object, in this example)
can you talk about that false alarm probability in a deep learning model? kinda... sorta... I don't know well enough to say that rigorously
Already having an estimate for the probability of failure of a ML model seems pretty difficult, isn't it?
yup. but even a handwavy one would be nice though
i mean, current estimates are based on assuming gaussian noise, which doesn't reflect reality
it's a complicated subject
I'm wondering if the best that can be done with an ML system is counting errors and retiring / replacing models whose number of errors exceeds the tolerance. I'm not sure if it's any good though
Sorry, I might not be focusing on what you care about, I think a lot about guarantees. In your case, the hope seems to be an increase in average accuracy, does that make sense?
yeah. it doesn't make sense to speak of guarantees in object detection, just minimizing the ratio of detections to false alarms
You could think of a guarantee as an upper bound on the probability of failure
Whenever I think of ML lately, I think of a software tool that was on the news recently where judges would use ML to help them make their judgement faster. It was found that the process exaggerated an existing racial bias. I see that as a conflict between efficiency and correctness. If you can't make any statement about the correctness of the software, what good is it?
haha, that's a dangerous statement to make
cowboy c coders brought us the computer revolution :)
My skin has grown impervious to the rocks I'm being thrown :stuck_out_tongue_winking_eye:
Which revolution do you mean? The age of personal computing or putting white supremacists in the White House?
both, because as you know, it's a fact that automation has put many out of work, but that's getting a little off-topic
That's true (both things)
I'm wondering if the best that can be done with an ML system is counting errors and retiring / replacing models whose number of errors exceeds the tolerance. I'm not sure if it's any good though
back in the day, when humans interpreted radar returns, firing a bad operator was exactly what was done
I'm slowly getting to respect the development of cowboy developers and I realize that everything doesn't need to be bullet proof. But there is an extent where rolling out a technology should be after proper study
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC


Defined in File h5ppEnums.h
h5pp::
::
FilePermission
Values:
READONLY
COLLISION_FAIL
RENAME
READWRITE
BACKUP
REPLACE


Seaside
问题描述 :
XiaoY is living in a big city, there are N towns in it and some towns near the sea. All these towns are numbered from 0 to N-1 and XiaoY lives in the town numbered ’0’. There are some directed roads connecting them. It is guaranteed that you can reach any town from the town numbered ’0’, but not all towns connect to each other by roads directly, and there is no ring in this city. One day, XiaoY want to go to the seaside, he asks you to help him find out the shortest way.
输入:
There are several test cases. In each cases the first line contains an integer N (0<=N<=10), indicating the number of the towns. Then followed N blocks of data, in block-i there are two integers, Mi (0<=Mi<=N-1) and Pi, then Mi lines followed. Mi means there are Mi roads beginning with the i-th town. Pi indicates whether the i-th town is near to the sea, Pi=0 means No, Pi=1 means Yes. In next Mi lines, each line contains two integers SMi and LMi, which means that the distance between the i-th town and the SMi town is LMi.
输出:
There are several test cases. In each cases the first line contains an integer N (0<=N<=10), indicating the number of the towns. Then followed N blocks of data, in block-i there are two integers, Mi (0<=Mi<=N-1) and Pi, then Mi lines followed. Mi means there are Mi roads beginning with the i-th town. Pi indicates whether the i-th town is near to the sea, Pi=0 means No, Pi=1 means Yes. In next Mi lines, each line contains two integers SMi and LMi, which means that the distance between the i-th town and the SMi town is LMi.
样例输入:
5 1 0 1 1 2 0 2 3 3 1 1 1 4 100 0 1 0 1
样例输出:
2
最短路水题啊 = =。。。临时输出项忘删了，WA了一次 = = 。。。
这也算区域赛题目啊。。。这么裸的最短路。。我用的dijkstra，应该用Floyd更划算吧。。。数据这么小。。
#include <map> #include <set> #include <queue> #include <stack> #include <math.h> #include <time.h> #include <stdio.h> #include <stdlib.h> #include <iostream> #include <limits.h> #include <string.h> #include <string> #include <algorithm> #define MID(x,y) ( ( x + y ) >> 1 ) #define L(x) ( x << 1 ) #define R(x) ( x << 1 | 1 ) #define BUG puts("here!!!") #define STOP system("pause") using namespace std; const int MAX = 15; int mm[MAX][MAX]; bool sea[MAX]; void init() { memset(sea, false, sizeof(sea)); for(int i=0; i<MAX; i++) { for(int k=0; k<MAX; k++) mm[i][k] = INT_MAX; mm[i][i] = 0; } } int Dijkstra(int from, int n) { int dis[MAX]; bool used[MAX]; for(int i=0; i<n; i++) dis[i] = INT_MAX; memset(used, false, sizeof(used)); used[from] = true; dis[from] = 0; int now = from; for(int i=0; i<n; i++) { for(int k=0; k<n; k++) if( mm[now][k] != INT_MAX && dis[now] != INT_MAX && mm[now][k] + dis[now] < dis[k] ) dis[k] = dis[now] + mm[now][k]; int mmin = INT_MAX; for(int k=0; k<n; k++) if( mmin > dis[k] && !used[k] ) mmin = dis[now = k]; used[now] = true; } int ans = INT_MAX; for(int i=0; i<n; i++) if( sea[i] && ans > dis[i] ) ans = dis[i]; return ans; } int main() { int n, p, m, to, len; while( ~scanf("%d", &n) ) { init(); for(int i=0; i<n; i++) { scanf("%d%d",&m, &p); if( p ) sea[i] = true; while( m-- ) { scanf("%d%d", &to, &len); if( len < mm[i][to] ) mm[i][to] = mm[to][i] = len; } } int ans = Dijkstra(0, n); printf("%d\n", ans); } return 0; }
参考：http://blog.csdn.net/zxy_snow/article/details/6713596
(adsbygoogle = window.adsbygoogle || []).push({});
gearbox也得到了G胖的真传：不会数3
gearbox也得到了G胖的真传：不会数3
gearbox也得到了G胖的真传：不会数3
gearbox也得到了G胖的真传：不会数3
请不要灌水，多谢！
您没有考虑 树的根节点是负数的情况， 若树的根节点是个很大的负数，那么就要考虑过不过另外一边子树了
辛苦了，顶
赞一个
算法还停留在大学的知识中
问题3中，GetRightPosition()和GetLeftPosition()与STL中的upper_bound()和lower_boune()的代码实现一样吗？
网站不错
…. 配图居然是没方向的。。
原来的主机不行，目前更换到了国内主机
隐藏最深的bug是(start+end)/2有可能上溢
这配图…..
通不过。
#include <cstdio>
int main() {
//answer must be odd
int n, u, d;
while(scanf("%d%d%d",&n,&u,&d)==3 && n>0) {
if(n<=u) { puts("1"); continue; }
n-=u; u-=d; n+=u-1; n/=u;
n<<=1, ++n;
printf("%dn",n);
}
return 0;
}
Thanks for taking the time to examine this, I really feel strongly about it and love studying a lot more on this topic. If possible, as you acquire experience


Online Magazine
View demo here
This project was initially developed for the online magazine skra-punk.com. The base we used was Mean.js. From there we included:
- Multi-user support
- Administration panel, complete with WYSIWYG html editor
- Different views based on account access rights
- RESTful API
- Facebook support
- SEO
Technologies used
- AngularJS
- NodeJS
- MongoDB
- Express
Also we used Grunt as our developer tool to automate common tasks (watching files for changes, loading configuration, minifying assets, live reloading).
How to run
Clone with git
git clone https://github.com/ParanoidSandroid/MEAN-magazine.git
Then inside the project folder
Install dependencies with npm:
npm install
Build project with:
grunt build
Run with:
grunt
or
npm run start