--- layout: default ---
Chicago's weekly event to build, share & learn about civic tech
Join us every Tuesday from 6-10pm on the 8th floor of the Merchandise Mart to hear from amazing speakers, learn from each other and work on civic projects. Everyone is welcome!
We are a group of thousands of designers, academic researchers, data journalists, activists, policy wonks, web developers and curious citizens who want to make our city more just, equitable, transparent and delightful to live in through data, design and technology. More about us »
The Chi Hack Night is a central hub for Chicago's civic tech community. The easiest thing you can do get involved is show up to a Tuesday Chi Hack Night.
Until then, here are 3 other ways to get involved:
Subscribe to updates on upcoming Chi Hack Night speakers and events
Join our Google Group to keep up with civic tech news and projects in Chicago
Browse our weekly breakouts to find your learning or working group
{{ post.date | date: "%b %d, %Y" }} by
{{post.author}}
{% if post.author2 %}
, {{post.author2}}
{% endif %}
{{ post.description | markdownify }} Read more »


@@include('./partials/styles.html')
SSO eProcurement
@@include('./partials/header.html')
@@include('./partials/menu.html')
Detail Purchase Requisition
Requester:
Requester
Approver:
Approver
Requested Date:
Requested Date
Fullfillment Date:
Fullfillment Date
Purchase Requisition by Catalogue
Purchase Requisition by Requested
Approve
Back to List
@@include('./partials/scripts.html')


Run fits2txt.app, then open the file navigator and select a Fermi .FITS file. Once the file has been processed, fermidataformatted.txt can be found under /fits2txt.app/Contents/Resources.
When displaying neutrino data, click on the points to select events
Only display events within selected neutrino error regions
Only show selected neutrinos:
Clear Selections
By Elsa Forberger, Haley James, Blake Gallay, Marcus Graham, and Emme Hannibal


| Opcode | Instruction | Op/En | 64-bit Mode | Compat/Leg Mode | Description |
|---|---|---|---|---|---|
| 0F 01 CB | STAC | NP | Valid | Valid | Set the AC flag in the EFLAGS register. |
| Op/En | Operand 1 | Operand 2 | Operand 3 | Operand 4 |
| NP | NA | NA | NA | NA |
Sets the AC flag bit in EFLAGS register. This may enable alignment checking of user-mode data accesses. This allows explicit supervisor-mode data accesses to user-mode pages even if the SMAP bit is set in the CR4 register.
This instruction's operation is the same in non-64-bit modes and 64-bit mode. Attempts to execute STAC when CPL > 0 cause #UD.
EFLAGS.AC ← 1;
AC set. Other flags are unaffected.
| #UD |
If the LOCK prefix is used. If the CPL > 0. If CPUID.(EAX=07H, ECX=0H):EBX.SMAP[bit 20] = 0. |
| #UD |
If the LOCK prefix is used. If CPUID.(EAX=07H, ECX=0H):EBX.SMAP[bit 20] = 0. |
| #UD | The STAC instruction is not recognized in virtual-8086 mode. |
| #UD |
If the LOCK prefix is used. If the CPL > 0. If CPUID.(EAX=07H, ECX=0H):EBX.SMAP[bit 20] = 0. |
| #UD |
If the LOCK prefix is used. If the CPL > 0. If CPUID.(EAX=07H, ECX=0H):EBX.SMAP[bit 20] = 0. |


{% extends "cfp/event/base.html" %} {% load bootstrap4 %} {% load compress %} {% load i18n %} {% load static %} {% block title %}{% translate "Proposal not found" %} :: {% endblock %} {% block content %}
{% translate "The proposal you're trying to confirm either does not exist or does not belong to the account you're currently logged in with. Try logging in with a different account, or contact the event organisers for further information." %}


'br}
'br}
{\
pod2text - Convert POD data to formatted ASCII text
pod2text [-aclostu] [--code] [--errors=style] [-i indent] [-q quotes] [--nourls] [--stderr] [-w width] [input [output ...]]
pod2text is a front-end for Pod::Text and its subclasses. It uses them to generate formatted s-1ASCIIs0 text from s-1PODs0 source. It can optionally use either termcap sequences or s-1ANSIs0 color escape sequences to format the text.
input is the file to read for s-1PODs0 source (the s-1PODs0 can be embedded in code). If input isn't given, it defaults to f(CW*(C`STDIN*(C'. output, if given, is the file to which to write the formatted output. If output isn't given, the formatted output is written to f(CW*(C`STDOUT*(C'. Several s-1PODs0 files can be processed in the same pod2text invocation (saving module load and compile times) by providing multiple pairs of input and output files on the command line.
Use an alternate output format that, among other things, uses a different heading style and marks f(CW*(C`=item*(C' entries with a colon in the left margin.
Include any non-POD text from the input file in the output as well. Useful for viewing code documented with s-1PODs0 blocks with the s-1PODs0 rendered and the code left intact.
Format the output with s-1ANSIs0 color escape sequences. Using this option requires that Term::ANSIColor be installed on your system.
\fB-i\fR \fIindent\fR, \fB--indent=\fR\fIindent\fR 4
Set the number of spaces to indent regular text, and the default indentation for f(CW*(C`=over*(C' blocks. Defaults to 4 spaces if this option isn't given.
Set the error handling style. f(CW*(C`die*(C' says to throw an exception on any s-1PODs0 formatting error. f(CW*(C`stderr*(C' says to report errors on standard error, but not to throw an exception. f(CW*(C`pod*(C' says to include a s-1POD ERRORSs0 section in the resulting documentation summarizing the errors. f(CW*(C`none*(C' ignores s-1PODs0 errors entirely, as much as possible.
The default is f(CW*(C`die*(C'.
Print out usage information and exit.
Print a blank line after a f(CW*(C`=head1*(C' heading. Normally, no blank line is printed after f(CW*(C`=head1*(C', although one is still printed after f(CW*(C`=head2*(C', because this is the expected formatting for manual pages; if you're formatting arbitrary text documents, using this option is recommended.
\fB-m\fR \fIwidth\fR, \fB--left-margin\fR=\fIwidth\fR, \fB--margin\fR=\fIwidth\fR 4
The width of the left margin in spaces. Defaults to 0. This is the margin for all text, including headings, not the amount by which regular text is indented; for the latter, see -i option.
Normally, L<> formatting codes with a s-1URLs0 but anchor text are formatted to show both the anchor text and the s-1URL. s0 In other words:
L<foo|http://example.com/>
is formatted as:
foo <http://example.com/>
This flag, if given, suppresses the s-1URLs0 when anchor text is given, so this example would be formatted as just f(CW*(C`foo*(C'. This can produce less cluttered output in cases where the URLs are not particularly important.
\fB-o\fR, \fB--overstrike\fR 4
Format the output with overstrike printing. Bold text is rendered as character, backspace, character. Italics and file names are rendered as underscore, backspace, character. Many pagers, such as less, know how to convert this to bold or underlined text.
\fB-q\fR \fIquotes\fR, \fB--quotes\fR=\fIquotes\fR 4
Sets the quote marks used to surround C<> text to quotes. If quotes is a single character, it is used as both the left and right quote; if quotes is two characters, the first character is used as the left quote and the second as the right quoted; and if quotes is four characters, the first two are used as the left quote and the second two as the right quote.
quotes may also be set to the special value f(CW*(C`none*(C', in which case no quote marks are added around C<> text.
Assume each sentence ends with two spaces and try to preserve that spacing. Without this option, all consecutive whitespace in non-verbatim paragraphs is compressed into a single space.
By default, pod2text dies if any errors are detected in the s-1PODs0 input. If --stderr is given and no --errors flag is present, errors are sent to standard error, but pod2text does not abort. This is equivalent to f(CW*(C`--errors=stderr*(C' and is supported for backward compatibility.
Try to determine the width of the screen and the bold and underline sequences for the terminal from termcap, and use that information in formatting the output. Output will be wrapped at two columns less than the width of your terminal device. Using this option requires that your system have a termcap file somewhere where Term::Cap can find it and requires that your system support termios. With this option, the output of pod2text will contain terminal control sequences for your current terminal type.
By default, pod2text tries to use the same output encoding as its input encoding (to be backward-compatible with older versions). This option says to instead force the output encoding to s-1UTF-8.s0
Be aware that, when using this option, the input encoding of your s-1PODs0 source must be properly declared unless it is US-ASCII or Latin-1. s-1PODs0 input without an f(CW*(C`=encoding*(C' command will be assumed to be in Latin-1, and if it's actually in s-1UTF-8,s0 the output will be double-encoded. See perlpod|(1) for more information on the f(CW*(C`=encoding*(C' command.
\fB-w\fR, \fB--width=\fR\fIwidth\fR, \fB-\fR\fIwidth\fR 4
The column at which to wrap text on the right-hand side. Defaults to 76, unless -t is given, in which case it's two columns less than the width of your terminal device.
As long as all documents processed result in some output, even if that output includes errata (a f(CW*(C`POD ERRORS*(C' section generated with f(CW*(C`--errors=pod*(C'), pod2text will exit with status 0. If any of the documents being processed do not result in an output document, pod2text will exit with status 1. If there are syntax errors in a s-1PODs0 document being processed and the error handling style is set to the default of f(CW*(C`die*(C', pod2text will abort immediately with exit status 255.
If pod2text fails with errors, see Pod::Text and Pod::Simple for information about what those errors might mean. Internally, it can also produce the following diagnostics:
-c (--color) requires Term::ANSIColor be installed 4
(F) -c or --color were given, but Term::ANSIColor could not be loaded.
(F) An unknown command line option was given.
In addition, other Getopt::Long error messages may result from invalid command-line options.
If -t is given, pod2text will take the current width of your screen from this environment variable, if available. It overrides terminal width information in s-1TERMCAP.s0
If -t is given, pod2text will use the contents of this environment variable if available to determine the correct formatting sequences for your current terminal device.
Pod::Text, Pod::Text::Color, Pod::Text::Overstrike, Pod::Text::Termcap, Pod::Simple, perlpod|(1)
The current version of this script is always available from its web site at <http://www.eyrie.org/~eagle/software/podlators/>. It is also part of the Perl core distribution as of 5.6.0.
Russ Allbery<EMAIL_ADDRESS>Copyright 1999, 2000, 2001, 2004, 2006, 2008, 2010, 2012, 2013 Russ Allbery<EMAIL_ADDRESS>This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.


| DOSE: |
720 mg |
oral |
Kava |
(capsule) |
While searching for the 'correct' cough medicine to use in the drug store, I noticed that they had a bottle of dietary supplement pills called Kava kava. I remembered reading about it on the internet, and thought to gave it a try. When I got home, I found that there was not much on the site I checked about kava...
-The pills were 200mg with 30% kavalactones (60mg a pill).
-The bottle says three pills daily (180mg).
-I ate a half hour ago, a belgian waffle.
A few other users' comments were not greatly descriptive on the amount taken, so I made a guess of 700mg of the kavalactones. Which was 12 pills... and these pills were the bigger kind, but I managed to down them and hold them easily.
The other users' comments said that it took more than an hour to feel anything. It was 5:30 in the morning, and I had no sleep. After an hour went by, two friends and I went to a park to look around out of boredom.
I think it started working about 2 hours later, but it was very light, if not being completely imagined. My sleepiness probably did not help, but I have been up for 24 hours before, and I do know how it normally feels like.
It is now 12 hours later, and I have been feeling a little odd emotionally since then. Not in a bad way, but nothing much good, either. I had a stomach ache for about 30 mins a while back, definately from the pills, but it was nothing painful.
Either kava is over-rated, needs to be mixed with something else, or requires a higher dosage. Good luck.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Dogs are very impressive. They have an incredible ability to percieve the world with their nose. This is how they recognize other dogs or even humans.
Sense of smell
Scientists guess that dogs have a sense of smell 10.000 to 100.000 times more developed than ours. Dogs have 50 times more scent receptors than ours.
Dogs are not equals about their ability to smell. Dogs with little nose like french bull dogs can't smell as well as german shepherds for example.
Dogs can smell human emotions. Of course, emotions have no scent but dogs can detect a different smell from our scent due to our emotions. For instance, it has been proved that human sweat due to sport is not the same sweat due to fear. They have a sense as precise as this difference.
They are very good to track objects or persons with their nose because they have the ability to separate scents and be focused to a precise one.
Vision
The vision of the dog is very different than ours. For example, they don't have the same spectrum of colors.
As you can see, humans has a tri-chromatic vision (red,green,blue). Dogs have a dichromatic vision (blue-purple,yellow). This difference is not a difficulty for dogs. Seeing-eye dogs, for instance, can't recognize green or red light. They know the position of the brighten light. So they know if they can croos the road or not.
Dogs cannot see as precise as us in a long distance. For example at 6 meters, dog has the same vision as human at 22 meters.
Dog communication
Dogs have a lot of way to communicate with each other. Sounds can also be used. They can bark to announce their position or growl to say that they don't want to be disturbed. A different growl can be translated as a call for assistance. They also howl to indicate their presence or to know if they are alone. That is a need of companionship. Dogs can also cry when they are very sad.
According to scientists, they can create a scent story with their urine during a walk. That's pretty impressive.
They also have a body language.
Dog also communicates with their tail.
Dog emotions
It has been scientifically proved that dogs can have complex emotions such as compassion. Some emotions that we think dogs can have are not perceived by them.
Dogs can be excited, happy, disgusted. They also have the ability to feel fear, anger, joy, suspicion, distress and affection or love.
Some very complex emotions can't be related with dogs; Such as shame, pride, guilt and contempt. Some people say (and a lot of fun videos on the internet) that dogs can be guilty. Unfortunately they can't. I've seen a TV show which made an experience. They bring dog owners with their best friend (I mean the dog).  They ask the owner to order their dog not to eat the sausage and turn their back to their dog. Some dogs were very wise but some other dogs were very greedy. If the dog was wise, scientists hid the sausage to be sure the owner think that his dog ate the sausage. In every cases, dogs get the same positions and all owners thought their dog was guilty but not. The dog was scared because they can fell the owner emotion and they recognize this case as a punitive one.
Human-dog communication
After several years of life with dogs, it is relatively easy to communicate with a dog. Dogs are very good to recognize vocal orders. But they are also able to recognize our emotions. When someone is sad, they know it and compative dogs can be very comforting.
Scientific facts
I've found a study in my references that deals with dogs' sense of smell. Here is an experience: dogs have been tested about their smell memory.
We use a sample that the dog should find during the test. The dog is supposed to find the right one out of 6.
As you can see, dogs have more difficulties when the right sample is placed at the end of the line of samples.
This experience is very interesting because it shows that dogs have a very short memory for smell. It can be very useful, for example if we use dogs to find a missing person. It is better to know how many times we should remember the dog the smell of the missing person.
  Here is the result:
It shows that the dog, exposed to the same sample many times reduce the time of smell detection to recognize a sample. It also reveals that blank sample is almost instantly detected. After several repetitions of the same sample, a different one given to the dog involves a longer time of detection.


RT @BeesandBeansPdx: Packaging project is 91% funded! Please use this link to contribute to have your $ matched https://zip.kiva.org/loans/2435/i/z3c?utm_campaign=loan_fundraising&utm_source=zip&utm_medium=system
12/10/2013, 9:47:34 AM
Favs: 0
Retweets: 0
link


Pete Davidson, supermodel Kaia Gerber appeared ‘very happy’ together on recent dinner date: report
by Julius YoungPete Davidson and Kaia Gerber seem to be growing closer with each passing week.
After the pair was seen cruising around Malibu on Monday, Davidson, 25, and Gerber, 18, headed to Hollywood on Tuesday to check out one of Los Angeles’ swankiest pizza spots, Pizzeria Mozza, according to People.
An insider who spotted the cozy couple told the magazine that the duo arrived at the popular Italian restaurant holding hands and seemed to be basking in each other’s company during their night out.
“They seemed very sweet and cute together,” the source said, adding that Davidson and Gerber looked “normal and happy.”
Davidson, who recently split from actress Margaret Qualley nearly a year after his brief engagement to Ariana Grande, was spotted leaving Gerber‘s New York apartment building in late October, Page Six reported at the time.
ANDIE MACDOWELL OPENS UP ABOUT DAUGHTER'S RELATIONSHIP WITH PETE DAVIDSON
An insider confirmed to the outlet that Davidson was there to see Gerber but said the pair are “just friends.”
Paparazzi photos also showed the “Saturday Night Live” star wearing casual clothes and AirPods as he walked in the Soho neighborhood where Gerber lives.
Rumors of an official romance between Gerber and Davidson grew after Gerber accompanied her mother, supermodel Cindy Crawford, to the Women’s Guild Cedars-Sinai Annual Luncheon at the Beverly Wilshire Hotel on Wednesday while sporting a rose gold necklace with a “P” pendant charm.
Last week, the rumored couple was photographed attending a New York Knicks game at Madison Square Garden, though Gerber accompanied her father, businessman and former model Rande Gerber, and the pair sat separately.
Less than a week earlier, the two were spotted by an eagle-eyed fan getting close in a booth at trendy New York City brunch spot Sadelle’s on Oct. 23.
CLICK HERE TO GET THE FOX NEWS APP
In addition to Qualley, Davidson previously dated actress Kate Beckinsale, 46, for four months before their breakup this past April. Beckinsale and director Len Wiseman, also 46, finalized their divorce on Tuesday after the former pair separated in 2015 and the director filed for divorce in 2016.
A rep for Davidson did not immediately respond to Fox News’ request for comment.


Flash Porting SDK : Roadmap
Macromedia
File Porting SDK : Roadmap
ã Macromedia, Incorporated
600 Townsend Street
San Francisco, California 94103
Tel<PHONE_NUMBER> • Fax<PHONE_NUMBER>
Contents_____________________________________________________________________ 2
Introduction_________________________________________________________________ 3
Demo Limitations_____________________________________________________________ 3
Getting Started_______________________________________________________________ 3
Porting the Code, Step by Step__________________________________________________ 6
Debug______________________________________________________________________ 6
Util________________________________________________________________________ 6
Graphics_____________________________________________________________________ 6
Display_____________________________________________________________________ 6
Palette_____________________________________________________________________ 7
Main Widget_________________________________________________________________ 7
NativePlayerWindow___________________________________________________________ 7
Streaming (NativePlayerWindow continued)_________________________________________ 9
Now That Flash Is Working…___________________________________________________ 9
Streaming, Part II______________________________________________________________ 9
NativePlayerWindow, Part II_____________________________________________________ 9
Fixed Math_________________________________________________________________ 10
Sound_____________________________________________________________________ 10
Speed Testing_______________________________________________________________ 10
OS Level Font Support_________________________________________________________ 10
Thanks_____________________________________________________________________ 11
So you want to port Flash.
We at Middlesoft have attempted to make this job a straightforward as possible. We have separated the Flash code into platform specific (Native) and platform independent parts so a third party can concentrate on very specific and well defined tasks.
This document is intended as a guidebook to porting Flash. It is one of 3 documents. This document is the Roadmap to the code, and is intended to be a friendly step by step guide. You will also find a Reference (in html) which is very useful for defining all the method calls you need to port, and a Design document, which gives a “big picture” technical view of the code.
This document is a suggested series of steps for getting through the experience of porting Flash. If you are going to suffer through porting someone else’s software (even software as good as Macromedia’s) you may as well have a friendly guidebook. Most of this document is based on the Lead Engineer’s notes as he ported Flash back to Windows – so hopefully it is an accurate guide and warning to the caveats you may encounter.
This is also a good place to point out that you do not have the Macromedia Flash player. It is a Flash player, and the core code is almost unchanged from Macromedia’s, but the platform dependant code was mostly written here at Middlesoft. The point is, the windows player now in your hands is not quite as fully tested as the shipping one. But it is much easier to port and understand.
Should not affect the core code or Flash player in any way. But these are limitations of the Win32 Demo code.
· There is nothing wrong with either core or interface support for 1, 2, and 4 bit images. If you port to such a platform, there should be no problem. The demo code probably will not work for these bit depths, however.
· The file streaming code is only implemented for files on a local or network drive. The implementation of an internet communication layer is 1) completely platform dependent code, and 2) only clutters the example code.
In a moment, you will need to write a main() and insert some basic OS code to get started. But it may be easier to organize your files first, in order to see where everything goes. The main Flash directory contains subdirectories for libraries and versions. The main directory you will (hopefully) not have to change. The subdirectories are platform dependant, however, and will need to be modified. The libraries are:
· JPeg, which contains the Independent JPEG Group image compression code. The decompression files are used by Flash. Their web page www.ijg.org contains the original source, which in turn contains instructions for compiling on various platforms. It may compile cleanly on your system, but look at jconfig.doc for configuring the jpeg code. The master document, libjpeg.doc, is also provided. Note that if you install new source from the IJG, you only need the decompression routines.
· ZLib which provides lossless image compression. The ZLib page is at http://www.cdrom.com/pub/infozip/zlib/. ZLib is so “C” that is should compile without incident on anything...but plenty of documentation is on the web page, as well as source code for bunches of other versions. Again, Flash only uses the decompression.
It is very likely these libraries will recompile on your system. In the case they do not, both products have substantial documentation to help out. (You may want to delay this task until you have initially ported the Flash platform specific code.)
The remaining subdirectory is labeled Win32 and contains the platform specific code for a Windows95/98/NT version of Flash. Create a new subdirectory (off of main) with the name of your platform, and copy the Win32 code into it. You don’t need the Win32 code of course, but we find it’s nice to have a template to work from. And, admit it, it feels good to go through and delete lines of code.
The paths to the native code need to be set. The file global.h contains the paths to the native code. It’s a quick job to change these to the paths you are using.
Now that the directory structure is correct, it is time to write a basic window and event handler. In the windows case, this was done with the Visual C++ app wizard. Using GTK in Linux, you probably want to make a basic window with menus and a client area. However you do it, In this code you need to new a NativePlayerWnd and delete it at window shutdown. In the Win32 example, the NativePlayerWnd is new’d during the CREATE window message, and delete’d on the DESTROY message.
NOTE: The file stdafx.h is hanging out in the main directory, inappropriately, since it is used by the jpeg code as well as the Win32 code.
To help set up your make file (or whatever you use) the project files are listed below. Filenames are all lower case. Additional files used by the windows version, but not part of the standard file set, are noted. A VC++ project file is included.
In the main Flash directory:
.cpp files:
bitbuf.cpp
curve.cpp
edittext.cpp
fixed.cpp
geom.cpp
global.cpp
jpeg.cpp
kraster.cpp
memcop.cpp
morphinter.cpp
mp3decoder.cpp
raster.cpp
sbitmap.cpp
sdisplay.cpp
sndcodec.cpp
sndmix.cpp
sobject.cpp
splay.cpp
splayer.cpp
sstroker.cpp
unixfonts.cpp
.h files:
bitbuf.h
bitstream.h
curve.h
edittext.h
fixed.h
genericfonts.h
geom.h
global.h
jpeg.h
mcontext.h
memcop.h
morphinter.h
mp3decifc.h
mp3decoder.h
mp3sscdef.h
mp3streaminfo.h
mpegbitstream.h
mpegheader.h
raster.h
sbitmap.h
sdisplay.h
shape.h
sndcodec.h
sndmix.h
sobject.h
splay.h
splayer.h
sstroker.h
stags.h
Win32 version only:
StdAfx.h
In the Native code (Win32) sub-directory:
.cpp files:
debug.cpp
display.cpp
palette.cpp
playerWnd.cpp
util.cpp
sound.cpp
.h files
debug.h
display.h
fixed.h
palette.h
playerWnd.h
util.h
sound.h
Win32 version only:
resource.h
button.cur
hand.cur
simplewin.rc
The ZLib and JPeg code are provided as source. The object library Flash needs is Fraunhofer’s mp3 library. Although if you do not have SOUND and FLASHMP3 defined, you will not need it.
The code as delivered has all its #defines turned on. To get started, you want to turn most of them off (except DEBUG and your machine id: WIN32, LINUX, etc.). The following is a list of #defines Flash uses and what they mean. After the name of the #define is either the filename where it is located or the word “compiler” which means it should be set as a compiler option. (The –D option, often.). The full list is in the Design document.
|
DEBUG or _DEBUG (compiler) |
Used if in debug mode, which you should be at this point |
|
WIN32,_WINDOWS (compiler) |
Or whatever is appropriate for your environment. Affects the JPeg and ZLib. |
|
FIXEDUSEFLOAT (fixed.h) |
To get you running, commenting in this #define will turn off fixed point math. |
|
USE_JPEG (compiler) |
Remove to turn off the JPEG support. (You don’t need the Jpeg library when this is commented out.) |
|
EDITTEXT (compiler) |
Remove to turn off editable text. |
|
SOUND (compiler) |
Remove to turn off sound. You very much want to remove this. |
|
FLASHMP3 (compiler) |
Even once sound is working, removing this will remove MP3 support. Without the Fraunhofer library, you can’t #define this or use MP3. |
Hopefully, you now have a makefile or something equivalent. Now, file by file, we’ll go through the code. You’re a ways from being able to fully build again, but the next goal is to get something compiling.
We suggest starting the port at the easiest possible point: debug.cpp is a good choice. (There is usually enough issues with the project file and understanding the code without needed to complicate it with a more difficult example.) Debug.cpp defines a couple of straightforward debugging functions. You’ll need to write code, but it is pretty standard code. (The quick solution is to turn off debugging. This would be A VERY BAD IDEA. If you don’t have a debugger to help try at least to have FLASHASSERT core dump with a helpful message.)
Once the assert and print functions are written, you should be able to compile the file and feel good about having this process rolling.
Util.h/.cpp (currently) has one function – get the current time. The windows version doesn’t have any code in the cpp (it’s all in the header.) This was not the case for other versions, so the cpp file is left in the project.
There are two classes in display.h/.cpp, NativeDisplayTester and NativeBitmap.
NativeDisplayTester tests the display mode and maintains information about the display device. For systems with one display mode this is a fast port. Even for more general systems, a good place to start is to return values for your development system. Given the choice, the least work to seeing Flash run is to implement the true color mode.
The other end of the spectrum is a smart tester which can handle changing palettes, resolutions, and bit depths, all why selecting the fastest operating mode. When Flash core detects the palette (or graphics mode) has changed, it destroys the current bitmap and constructs a new one. The decision about which kind to use is drawn from NativeDisplayTester.
NativeBitmap is a bitmap in memory…but more. It needs to be a bitmap in the sense that Flash will write directly to the bits in memory. (And given a choice, they should be in fast memory as well.) The reason that this is a native class is that its most important function is BltNativeToScreen, which may require additional OS dependent data structures beyond what is required to define a simple bitmap in memory.
When figuring out how to implement this class, perhaps it is easiest to start with the BltNativeToScreen call. Once you have figured out what you need to do to get that to work, it will hopefully be clear what kind of bitmap object you need to create.
There are the 4 steps to create a bitmap in memory with the same parameters as the client window. All of these steps are performed in core code:
1. The current screen bit depth is requested from NativeDisplayTester.
2. If the screen depth has changed, or this is the first NativeBitmap, the screen depth is tested by NativeDisplayTester for the best mode.
3. If the screen depth is <= 8 bits/pixel, the current color palette is retrieved from NativePalette.
4. A new NativeBitmap is created from this info.
So if the result of this approach is that a resize, palette change, or screen mode change can all be handled by deleting the bitmap. (Accomplished by the NativePlayerWnd::FreeBuffer call.) The bitmap will be constructed again when Flash draws. Kudos to Macromedia for a very nice system.
Another important result of this approach is that if you have a fixed size client window, you simply need to not respond to AdjustWindow method calls. AdjustWindow is a request to resize the client window, but if the resize does not occur, Flash will work fine.
So after you have defined the bitmap and tester, it gets compiled, and a string of error messages come from the header. Do not panic. Delete the offending Windows code (mostly structures and private data) that is in the Native headers. (Since all the Win32 code is platform dependent, you’ll have to rewrite it anyway.)
So your mind is wrapped around the graphics problem. Onward to palettes. (If your system doesn’t support palettes, onward to the next section.)
There is only one method: GetScreenPalette. Writing the method, hopefully, is straightforward. For the sequence of events that this call is a part of, look at the 4 steps in the previous section.
If:
·
Your system has a
fixed palette. Then GetScreenPalette should return this palette.
·
You system
automatically handles an arbitrary palette. GetScreenPalette should return
an “ideal palette”, which is a color cube that has as wide range of colors as
possible in 256 entries.
·
You manage the
palette. GetScreenPalette should return the current screen palette, but you
should attempt to set an ideal palette for your application. (This is what the
windows code does.) Palette changes should result in a call to
NativePlayerWnd::FreeBuffer.
The SetStandardColors function is an example of creating an ideal palette.
Once you get this working, take a well deserved break.
Is a big class. There are 3 parts to this class:
1. General Methods. Functions that the Flash core code makes to the NativePlayerWindow. Requests to start and stop timers, get the size of the Client (drawing) window, set the Client (drawing) window size, and set the menu status.
2. Event Handling. As the user and OS generate events (mouse, keyboard, repaint) these events need to be hooked up to Flash.
3. Streaming/GetURL. The network and file loading layer.
The first decision is to decide an architecture. There are 2 obvious choices:
1. Put all this code in NativePlayerWnd. In the example provided, WinMain and an event handler (WndProc) are functions registered with the OS. WndProc new’s and delete’s a NativePlayerWnd, and uses method calls to communicate with it. This is the obvious approach, and it works well in the example code. There are 2 sub-choices as well:
· Make the event loop/OS callback a member function of NativePlayerWnd.
· Make the event loop/OS callback a separate function altogether.
2. Make a child class of NativePlayerWnd to deal as an OS interface layer, and limit the methods in NativePlayerWnd to those required. This can make NativePlayerWnd a neater interface and easier to deal with, or you can spend so much time hooking up method calls between objects that it’s not worth it.
The first time we ported Flash it was to an application framework, and we started with method 1. It quickly became unwieldy, and we switched to method 2. Method 2 was such a success, that we used the same structure when we ported back to Win32, where it was a clunky mess and we switched to method 1.
The point being, we don’t have good guidelines on what to choose, but give it some thought. In our experience, it was not hard to switch from one configuration to the other. Also keep in mind there will be special needs if you want, say, multiple player windows in the same application. So, for example, if you wanted multiple flash player running from one event loop, you would probably want more code in NativePlayerWnd (method 1), where multiple copies are new’d from the event loop. (Which we haven’t tried. But that is where we would start.)
Note that there are a couple of instances of backcasting from SPlayer to NativePlayerWnd. So you don’t want to break that hierarchy unless you really need to.
Things you must port to get it to work:
There are 2 timers started (or stopped) by the start (or stop) call. Implementation of the timer is up to you. They are repeating timers. The Play Timers signals frame updates, and the Cursor Timers signals the blinking of the edit text cursor.
Returns a 0 based rectangle containing the client window size.
To actually commence the loading of the Flash file. If you don’t want to implement menus yet, a call to ControlOpen( char* url ) after the app is running will load and play a SWF file.
Requests an OS repaint message be sent for the (0 based) SRECT passed in. It is acceptable to generate a message for the entire client window. The repaint is expected to occur after execution has returned to the NativePlayerWnd, not while processing the InvalidateScreenArea call.
Sets the size of the client window. This should do nothing for a fixed size window.
When a resize message occurs, FreeBuffer needs to be called.
When a paint message arrives, it should call Repaint.
Things that can be done after it is later, or not at all:
UpdateCursor
EnableMenus
Mouse and Keyboard handling
Event: Menu Selection
Cut and Paste support.
Not a small task. But it is pretty fast to just get “up and running” so we’ll cover that first.
If you assume that the URL is a file that can be open’d with the C library function fopen, then the number of possible cases to be dealt with is much smaller. Try opening the URL as a local file; if that succeeds then the following code will send the SWF stream – immediately – to Flash.
StreamData streamData;
char block[256];
int read;
StreamInNew( &streamData, notifyData );
while ( read = fread( block, 1, 256, fp ) )
{
StreamInWrite( &streamData, &block, read );
}
StreamInDestroy( &streamData );
This code was pulled from PlayerWnd.cpp, where you can see it in its entirety.
A more complete implementation of streaming involves writing the code to connect to the Netscape plug in interface. Needless to say, this is substantially more challenging if you are not a plug-in and have to write the network connection code yourself. Arm yourself with the Netscape docs, the Design doc, and knowledge of threads on your system. The demo code provided uses a second thread to stream local files; this demonstrates streaming on a separate thread. But there is still work to be done to implement the entire Get and Post interface – if you need that for your system.
The tasks to finish up the NativePlayerWnd should be completed in the following order:
Event handling (mouse and keyboard) is the somewhat tedious but generally straightforward process of connecting operating system events to method calls in the flash core code. You’ll need to define EDITTEXT to use the keyboard in a meaningful way.
Now that the Keyboard is working, the mouse is working, and EDITTEXT is turned on, the final step is cut and paste support. There are only two calls to be implemented: GetStringFromClipboard and SetStringToClipboard. Flash can support either ASCII or Unicode, depending on whether EDITTEXT_CLIPBOARD_WIDE is #defined. Make sure that lines are from the clipboard are \n separated, and strings are null terminated.
If you just want Cut and Paste to work in Flash – not with other apps – then simply having a “Clipboard” character string that is set by SetStringToClipboard and retrieved by GetStringFromClipboard works nicely.
When Flash feels it is necessary to change the cursor shape,
it calls this function. The
native code may respond by calling GetCursorType which returns an id of the
current cursor. (GetCursorType can be called at any time the native code needs
to get the current cursor.) Needless to say, actually setting the cursor image
is left completely up to you.
Icons and cursors that Flash uses are in the FlashIcon.tga/pcx file.
There are
two menus in Flash, the application menu at the top of the screen, and popup
menus that occur in response to a right mouse click. (Or whatever mouse click
your system uses.)
EnableMenus
is called when the core code determines that the status of the application menu
items has changed. If your player does
not use menus, you can ignore this call.
For players that use menus, the enabled, disabled, and checked status of
the menu items should be set in response to this call.
So when you implement EnableMenus, it does nothing more than change the states of the menu items. So if menuStatus.play in set true, then the Play menu option should be enabled for the user to click.
If you need
to request the state of the menus, use GetMenuState.
The other
kind of menu, Popup menus, are more involved than they first appear. When the
user right-clicks the following steps should occur in your code:
1)
Get the
type of the menu that Flash wants to Popup with GetPopupMenuState.
2)
It will
either be MENU_EDIT or something else:
a)
If
MENU_EDIT, then:
i)
Find
out the enabled/disabled state of the menu items with GetEditMenuState
ii) Set the enabled/disabled states in
the popup menu.
iii) Wait for the menu selection message
to come in, and call HandleKeyDown with the appropriate key. (The Edit menu
simulates key presses.)
b)
if not
an edit menu, then:
i)
There
are 4 flavors of the popup menu. Yowza. They are listed in the Design Document.
So construct the correct menu choices based on what type of popup (MENU_NONE,
MENU_NO_MOVIE, MENU_NORMAL, MENU_STATIC) you have. There are 16 menu items,
potentially, but they are never all on the menu at the same time.
ii) If you did not cache the information passed in to the EnableMenus call (and there is really no reason
to), call GetMenuState to get the enabled/disabled/checked state of the menu
items. The popup menu and the application menu have the same state. So of the
16 potential items on the popup menu, any of the items displayed can be enabled
or disabled.
iii) Set the enabled, disabled, and
checked states for the popup menu.
iv) Put that menu on the screen. The user
(devious as they are) may select ZoomInContext, in which case you will need the
position of the right mouse click in order to zoom in. So save the position of
the right click now, just in case.
v)
Wait
for the menu selection message to arrive, and call the appropriate Control*
function.
Flash uses fixed math. Above, we defined FixedUseFloat. You may wish to turn this off if your system can perform fixed point math faster than floating point. If your system supports 64 bit integers, there are 2 simple defines to set up, and fixed point math should be ready to go.
Examples of assembly code on various processors is in the Fixed.h file.
Sound is somewhat beyond the scope of this document. Sound does not port well. There are portable sound libraries out there (SDL at http://www.devolution.com/~slouken/SDL/ is a good one) but they have to jump through some hoops to work across platforms. The design document contains a description of how the core and native sound code works.
Flash has the concept of there being sound buffers. So the native sound engine requests buffers to be filled, sends the buffers to the hardware, and waits for the buffers to complete playing. As buffer completion occurs, new buffers are requested from the core code.
Differences in sound implementations and multi-threading somewhat cloud the issue, unfortunately. As you write the native sound mixer, it will probably be prudent to change the interface to the NativeSoundMix to suit your platform.
To testing Flash, you can create a SWF file with consistent, looping animation, and set the frame rate at something high. (Say 30fps.) By turning on the FRAMESPERSEC define, the frame rate will print every 12 frames, so you can see the effect of changes and window resizing. Note that the code uses FLASHOUTPUT to print so it will not work in a release build. ScriptThread::DoFrame contains the code if you wish to implement output for a release build.
The file speedy.swf is provided with the Porting SDK. Speedy plays back at 30fps, and should be a good stress test.
If you need a smaller Flash player and want a little more performance out of editable text, you may want to use your operating system to draw the edit text. Basically, you are facing a rewrite of EditText::Draw, a by no means trivial job. But it can be done, resulting in a much smaller and possibly somewhat faster Flash player.
Once OS fonts are implemented, the unixfonts.cpp file and the data it contains can be removed from the project.
Macromedia has set up a system in which each version of the player will have a unique version string containing platform and version information. When you port flash to another system or device, you should modify the version number and the platform string in “native/version.h”.
In “native/version.h”, set the major version to reflect the number of the major release of your code and the minor release to reflect lesser revisions of your source code. The platform string should reflect a unique string representing your platform. Since this platform string must be unique, you must license it with Macromedia before distribution of your product. Send an email to<EMAIL_ADDRESS>to obtain approval to reserve your platform id string.
This version string is available within a movie with the variable $version, and will take the form, eg., $version = “ABC 4.26”. Since the Flash authoring tool will not allow you to use the dollar sign in variable names, you can set a variable to the version string as follows:
variable = Eval(“$” & “version”)
Good luck and enjoy the Flash Porting SDK. We have enjoyed working on it and hope it fits your needs. Feel free to contact us with comments or bug reports. (Our contact info is in the Readme.txt file.)
Middlesoft


The Real Time Energy Monitoring is the project that I developed for my final thesis before college graduation.
It consists of a platform that allows the user to control the energy consumption in DC.
It requires a NodeMCU board and a Raspberry Pi or similar.
After processing the information, the board shows the data gathered in a customized webpage
in freeboard.io. All the information recorded is shared via mqtt mainly because of the speed
and reliability of this communication protocol.
The main technologies used for this Project are Lua, Mosca/Mosquitto, Node-Red and Freeboard.io
The project is libre software and can be downloaded in the following link
Github
Machine Learning
These are the various projects I coded in Octave as part of the Machine Learning class that I took in
December 2015 through Stanford and Coursera. My grade in this class was 98%.
The main technology used for this Project is Octave/Matlab
The project is libre software and can be downloaded in the following link
Github
Veery
The Veery project consists/utilizes libre software and can be downloaded by clicking here (HYPERLINK IT)
I developed this project along with a few of my classmates as an assignment for our Web Systems class in college.
It consists of a music service webpage where the use can listen to not only recorded CDs but also to jams
and/or live concerts from various artists.
The main technologies used are PHP, HTML, LESS, CSS, Ajax.
The project is libre software and can be downloaded in the following link
Github


MailboxValidator Flask Python Module¶
This Flask Python module provides an easy way to call the MailboxValidator API which validates if an email address is a valid one.
This module can be used in many types of projects such as:
- validating a user’s email during sign up
- cleaning your mailing list prior to an email marketing campaign
- a form of fraud check
Dependencies¶
An API key is required for this module to function. Go to https://www.mailboxvalidator.com/plans#api to sign up for FREE API plan and you’ll be given an API key.
In order to use this module to validate email from form, WTForms and Flask-WTF need to be installed. Also, nose2 need to be installed in order to run the test file.
Usage for validate email from form¶
Note: WTForms and Flask-WTF must be installed before using this features.
- Import Email Validation class from the package:
from flask_MailboxValidator.SingleValidation import EmailValidation
- Call the Email Validation in validator array along with your API key.
email = TextField('Email:', validators=[validators.required(), EmailValidation(apikey='Your_API_Key')])
Usage for validating emails¶
import flask_MailboxValidator
from flask import Flask
from flask import jsonify
app = Flask(__name__)
mbv = flask_MailboxValidator.SingleValidation('PASTE_API_KEY_HERE')
results =<EMAIL_ADDRESS>@app.route('/')
def display_result():
if results is None:
return("Error connecting to API.\n")
elif results['error_code'] == '':
return (jsonify(results))
else:
return('error_message = ' + results['error_message'] + "\n")
Functions¶
SingleValidation(api_key)¶
Creates a new instance of the MailboxValidator object with the API key.
ValidateEmail(email_address)¶
Performs email validation on the supplied email address.
Result Fields¶
email_address¶
The input email address.
domain¶
The domain of the email address.
is_free¶
Whether the email address is from a free email provider like Gmail or Hotmail.
Return values: True, False
is_domain¶
Whether the email address has a valid MX record in its DNS entries.
Return values: True, False, - (- means not applicable)
is_smtp¶
Whether the mail servers specified in the MX records are responding to connections.
Return values: True, False, - (- means not applicable)
is_verified¶
Whether the mail server confirms that the email address actually exist.
Return values: True, False, - (- means not applicable)
is_server_down¶
Whether the mail server is currently down or unresponsive.
Return values: True, False, - (- means not applicable)
is_greylisted¶
Whether the mail server employs greylisting where an email has to be sent a second time at a later time.
Return values: True, False, - (- means not applicable)
is_disposable¶
Whether the email address is a temporary one from a disposable email provider.
Return values: True, False, - (- means not applicable)
is_suppressed¶
Whether the email address is in our blacklist.
Return values: True, False, - (- means not applicable)
is_role¶
Whether the email address is a role-based email address like<EMAIL_ADDRESS>or<EMAIL_ADDRESS>Return values: True, False, - (- means not applicable)
is_high_risk¶
Whether the email address contains high risk keywords.
Return values: True, False, - (- means not applicable)
is_catchall¶
Whether the email address is a catch-all address.
Return values: True, False, Unknown, - (- means not applicable)
mailboxvalidator_score¶
Email address reputation score.
Score > 0.70 means good; score > 0.40 means fair; score <= 0.40 means poor.
time_taken¶
The time taken to get the results in seconds.
status¶
Whether our system think the email address is valid based on all the previous fields.
Return values: True, False
credits_available¶
The number of credits left to perform validations.
error_code¶
The error code if there is any error. See error table below.
error_message¶
The error message if there is any error. See error table below.
Usage for checking if an email is from a disposable email provider¶
import flask_MailboxValidator
from flask import Flask
from flask import jsonify
app = Flask(__name__)
mbv = flask_MailboxValidator.SingleValidation('PASTE_API_KEY_HERE')
results =<EMAIL_ADDRESS>@app.route('/')
def display_result():
if results is None:
return("Error connecting to API.\n")
elif results['error_code'] == '':
return (jsonify(results))
else:
return('error_message = ' + results['error_message'] + "\n")
Functions¶
SingleValidation(api_key)¶
Creates a new instance of the MailboxValidator object with the API key.
DisposableEmail(email_address)¶
Check if the supplied email address is from a disposable email provider.
Result Fields¶
email_address¶
The input email address.
is_disposable¶
Whether the email address is a temporary one from a disposable email provider.
Return values: True, False
credits_available¶
The number of credits left to perform validations.
error_code¶
The error code if there is any error. See error table below.
error_message¶
The error message if there is any error. See error table below.
Usage for checking if an email is from a free email provider¶
import flask_MailboxValidator
from flask import Flask
from flask import jsonify
app = Flask(__name__)
mbv = flask_MailboxValidator.SingleValidation('PASTE_API_KEY_HERE')
results =<EMAIL_ADDRESS>@app.route('/')
def display_result():
if results is None:
return("Error connecting to API.\n")
elif results['error_code'] == '':
return (jsonify(results))
else:
return('error_message = ' + results['error_message'] + "\n")
Functions¶
SingleValidation(api_key)¶
Creates a new instance of the MailboxValidator object with the API key.
FreeEmail(email_address)¶
Check if the supplied email address is from a free email provider.
Result Fields¶
email_address¶
The input email address.
is_free¶
Whether the email address is from a free email provider like Gmail or Hotmail.
Return values: True, False
credits_available¶
The number of credits left to perform validations.
error_code¶
The error code if there is any error. See error table below.
error_message¶
The error message if there is any error. See error table below.
Test¶
To run the test file, you will first need to replace the
‘PASTE_API_KEY_HERE’ with your API key in the test file(Located at test
directory). After that, run this command in terminal:
python setup.py test
Errors¶
| error_code | error_message |
|---|---|
| 100 | Missing parameter. |
| 101 | API key not found. |
| 102 | API key disabled. |
| 103 | API key expired. |
| 104 | Insufficient credits. |
| 105 | Unknown error. |
Copyright¶
Copyright (C) 2018 by MailboxValidator.com, support@mailboxvalidator.com


{% extends "base.html" %} {% block content %}
This is a simple website I created using Python, Django, and Twitter's bootstrap.
In the future I hope to use this site as a platform for some blogging about the tech world, programming, project management, etc..I don't know why, but I have the urge right now to show an "Under Construction" animated gif...
A big thanks to all the people that worked on Django and Bootstrap and Dylan Verheul for creating Django Bootstrap toolkit.
{% endblock %}


Sort notes by
Date
Title
Order notes by
Descending
Ascending
A
A
Default text size
Cursor position
start
end
Search
Ignore common terms: a, the, and etc.
Find similar terms, eg: searching = searched = search
Theme
OS default
light
dark


@import uk.gov.bis.lite.user.api.view.UserDetailsView @import uk.gov.bis.lite.customer.api.view.SiteView @import uk.gov.bis.lite.customer.api.view.CustomerView @import util._ @import utils.common.ViewUtil @this() @(resumeCode: String, userDetailsView: UserDetailsView, customerView: CustomerView, date: String, address: SiteView.SiteViewAddress, nlrBreadcrumb: Html, description: Html) @ecoContactDetails = {
Telephone +44 (0)20 7215 4594
Email eco.help@@trade.gov.uk
Export Control Organisation
2nd floor
3 Whitehall Place
London
SW1A 2AW
@userDetailsView.getFullName
@customerView.getCompanyName
@Html(address.getPlainText.replace("\n", "
"))
Telephone @userDetailsView.getContactPhoneNumber
Email @userDetailsView.getContactEmailAddress
@date
Dear @userDetailsView.getTitle @userDetailsView.getLastName
Reference Code: @resumeCode
Based on the choices you made in the online service - as shown in the Schedule of Goods below - the item does not currently require an export licence.
This assessment is made taking into account the choices you made on the online tool and the legislation in force at the date of this letter.
However this could change if, before the export takes place, there are changes to the legislation (including country sanctions) or information becomes available, either to you or to the Export Control Organisation (ECO), which suggests that an end-use control may be applicable. Therefore ECO cannot fully guarantee that your export can proceed.
In addition, ECO cannot comment on any action Her Majesty's Revenue & Customs (HMRC) may wish to take at the point of export, since HMRC have a legal obligation to verify export declarations and undertake examination of either documents or goods where there are doubts about whether a prohibition or restriction may apply.
Moreover ECO cannot comment on any action that the Customs Authority in another EU Member State may wish to take at the point of export for goods located outside of the UK.
We therefore advise that if, at any time you have grounds for suspecting the items in the Schedule are intended for Weapons of Mass Destruction (WMD) purposes (as further explained below), then you should make an End-User Advice Enquiry on SPIRE for an assessment of the end-users for which the export is intended.
Please note that ECO will not offer compensation for any loss of business as a result of exercising its statutory functions to make export licence decisions. We would only consider cases where it can be shown that there has been negligence or maladministration by Her Majesty's Government (HMG).
You are strongly encouraged to carefully consider this letter and regularly check the information on our web pages about current export control requirements, details of which are set out in the following paragraphs.
Learn more about sanctions and embargoes.
This general advice includes information on embargoed destinations and scope of sanctions.
You will also need to be aware of the end-use controls and how they may apply to the items you intend to export.
See information and guidance on WMD and military end-use controls and the legal responsibilities of exporters under those controls.
As explained in the guidance, if now, or at any time in the future, you become aware or have any grounds for suspecting that the items you wish to export might be used in any way in connection with nuclear, chemical or biological weapons, or missiles to deliver them, as set out in Article 4 of Council Regulation (EC) No 428/2009, as amended, and/or Articles 6, 7 and 8 of the Export Control Order 2008 (WMD purposes), then you should tell us of the circumstances and apply for a licence.
This application has not been assessed against other restrictions on exports (for example on antique goods or pharmaceutical products) not administered by ECO. Learn more about these restrictions that are not operated by the Export Control Organisation.
In addition you should be aware that there are significant restrictions on the transfer of funds and making economic resources available (including the supply of goods) to persons, entities or bodies which are listed in the EU sanctions legislation in respect of countries subject to UN or EU sanctions. Up-to-date details of these can be found in the Notices issued by HM Treasury which are posted in the web-link below. In addition, the UK financial sanctions against embargoed destinations are regularly reviewed and tightened by means of legislation issued by HM Treasury. These may include prohibitions on all financial transactions and business relationships between UK financial and credit institutions and banks incorporated in countries which are subject to sanctions. Whilst this legislation affects financial and credit institutions and does not directly restrict exports, it could make it harder for you to trade with the relevant embargoed destination/s, as your bank may not be able to handle payments from or to banks in the countries subject to these financial restrictions.
Find out who is subject to financial sanctions in the UK.
It is the responsibility of exporters to consult the current export control legislation, familiarise themselves with export controls and make their own evaluation of the need for export licences.
Learn more about strategic export controls.
Finally, if you require further advice regarding the measures referred to in this letter, including how any relevant export control legislation may apply to your particular case, we recommend that you seek independent legal advice.
Yours sincerely,
Export Control Organisation
@ecoContactDetailsThe following is your description of your item:
@description
The following is your assessment of your item against the UK Strategic Export Control Lists:
@nlrBreadcrumb


The goal of rgamer
is to help students learn Game Theory using R. The functions prepared by the package not only solve basic games such as two-person normal-form games but also provides the users with visual displays that highlight some aspects of the games — payoff matrix, best response correspondence, etc. In addition, it suggests some numerical solutions for games of which it is difficult — or even seems impossible — to derive a closed-form analytical solution.
You can install the development version from GitHub with:
# install.packages("remotes")
remotes::install_github("yukiyanai/rgamer")
or
# install.packages("devtools")
devtools::install_github("yukiyanai/rgamer")
An example of a normal-form game (prisoner’s dilemma).
First, you define the game by normal_form()
:
game1 <- normal_form(
players = c("Kamijo", "Yanai"),
s1 = c("Stays silent", "Betrays"),
s2 = c("Stays silent", "Betrays"),
p1 = c(-1, 0, -3, -2),
p2 = c(-1, -3, 0, -2))
Then, you can pass it to solve_nfg()
function to get the table of the game and the Nash equilibrium.
s_game1 <- solve_nfg(game1)
#> Pure-strategy NE: (Betrays, Betrays)
An example of a coordination game.
Define the game by normal_form()
:
game2 <- normal_form(
players = c("Kamijo", "Yanai"),
s1 = c("Stag", "Hare"),
s2 = c("Stag", "Hare"),
p1 = c(10, 8, 0, 7),
p2 = c(10, 0, 8, 7))
Then, you can pass it to solve_nfg()
function to get NEs. Set mixed = TRUE
to find mixed-strategy NEs well.
s_game2 <- solve_nfg(game2, mixed = TRUE, show_table = FALSE)
#> Pure-strategy NE: (Stag, Stag)(Hare, Hare)
#> Mixed-strategy NE: [(7/9, 2/9), (7/9, 2/9)]
#> The obtained mixed-strategy NE might be only a part of the solutions.
#> Please examine br_plot (best response plot) carefully.
For a 2-by-2 game, you can plot the best response correspondences as well.
s_game2$br_plot
An example of a normal-form game:
You can define a game by specifying payoff functions as character vectors using normal_form()
:
game3 <- normal_form(
players = c("A", "B"),
p1 = "-x^2 + (28 - y) * x",
p2 = "-y^2 + (28 - x) * y",
par1_lim = c(0, 30),
par2_lim = c(0, 30),
pars = c("x", "y"))
Then, you can pass it to solve_nfg()
, which displays the best response correspondences by default.
s_game3 <- solve_nfg(game3)
#> approximated NE: (9.3, 9.3)
#> The obtained NE might be only a part of the solutions.
#> Please examine br_plot (best response plot) carefully.
An example of a normal-form game:
You can define a normal-form game by specifying payoffs by R functions.
f_x <- function(x, y, a, b) {
-x^a + (b - y) * x
}
f_y <- function(x, y, s, t) {
-y^s + (t - x) * y
}
game4 <- normal_form(
players = c("A", "B"),
p1 = f_x,
p2 = f_y,
par1_lim = c(0, 30),
par2_lim = c(0, 30),
pars = c("x", "y"))
Then, you can approximate a solution numerically by solve_nfg()
. Note that you need to set the parameter values of the function that should be treated as constants by arguments cons1
and cons2
, each of which accepts a named list. In addition, you can suppress the plot of best responses by plot = FALSE
.
s_game4 <- solve_nfg(
game = game4,
cons1 = list(a = 2, b = 28),
cons2 = list(s = 2, t = 28),
plot = FALSE)
#> approximated NE: (9.3, 9.3)
#> The obtained NE might be only a part of the solutions.
#> Please examine br_plot (best response plot) carefully.
You can increase the precision of approximation by precision
, which takes a natural number (default is precision = 1
).
s_game4b <- solve_nfg(
game = game4,
cons1 = list(a = 2, b = 28),
cons2 = list(s = 2, t = 28),
precision = 3)
#> approximated NE: (9.333, 9.333)
#> The obtained NE might be only a part of the solutions.
#> Please examine br_plot (best response plot) carefully.
You can extract the best response plot with NE marked as follows.
s_game4b$br_plot_NE
You can define payoffs by R functions and evaluate them at some discretized values by setting discretize = TRUE
. The following is a Bertrand competition example:
func_price1 <- function(p, q) {
if (p < q) {
profit <- p
} else if (p == q) {
profit <- 0.5 * p
} else {
profit <- 0
}
profit
}
func_price2 <- function(p, q){
if (p > q) {
profit <- q
} else if (p == q) {
profit <- 0.5 * q
} else {
profit <- 0
}
profit
}
game5 <- normal_form(
p1 = func_price1,
p2 = func_price2,
pars = c("p", "q"),
par1_lim = c(0, 10),
par2_lim = c(0, 10),
discretize = TRUE)
Then, you can examine the specified part of the game.
s_game5 <- solve_nfg(game5, mark_br = FALSE)
#> Pure-strategy NE: (0, 0)(2, 2)(4, 4)
You can draw a tree of an extensive form game.
game6 <- extensive_form(
players = list("Yanai",
rep("Kamijo", 2),
rep(NA, 4)),
actions = list(c("stat", "game"),
c("stat", "game"), c("stat", "game")),
payoffs = list(Yanai = c(2, 0, 0, 1),
Kamijo = c(1, 0, 0, 2)),
direction = "right")
And you can find the solution of the game by solve_efg()
.
s_game6 <- solve_efg(game6)
#> backward induction: [(stat), (stat, game)]
Then, you can see the path played under a solution by show_path()
.
show_path(s_game6)


{% extends "default/base.html" %} {% block content %}
Cache placed by {{ cache.author }} - Geocaching.com link: here
To get the final coordinates of this cache, you must complete each challenge.
Completed challenges: {{ current_number }}/{{ cache.challenges|length }}.
Time left: {{ current_challenge.time_left|round|int }} second(s)
{% endif %}{{ current_challenge.hint|customize|safe }}


I am a Third year computer science student from JECRC Univerity, jaipur. i mostly code in Python and in the last two year i have tried many things like competetive programming, web development, data scrapping and machine learning. i like scientific and mathematical computing most for summer 2019 i am looking for an internship in related field.


If it's anything like the C1 was, it's definitely a hacker's project. Not quite in the same league as the RPi as far as community support goes, but plenty of "raw horsepower." The C1 I have performs noticeably quicker than my Pi2.
A rundown of the C2 specs indicate it should have good performance.
Odroid C2 released
Submitted by Bill Thomson on Tue, 01/03/2016 - 06:49Odroid has released a new version of their SBC.
www.hardkernel.com/main/products/prdt_info.php?g_code=G145457216438
If it's anything like the C1 was, it's definitely a hacker's project. Not quite in the same league as the RPi as far as community support goes, but plenty of "raw horsepower." The C1 I have performs noticeably quicker than my Pi2.
A rundown of the C2 specs indicate it should have good performance.


Race
Results
Views
- Race Results Tree View
- Provides a View of the Race
Results as a Drill Down Tree. View Competitors by Placement, Pack,
Den, or Name. The Name Drill down also provides an additional HEAT
details for the Competitor being viewed.
- Competitors Race Results - Provides a View of all Racers where they can view full details
of the Competition.
All Web Pages are XML and using XSLT generated transforms.
Author: Hans-Jurgen Greiner


This plugin converts your tweet into a machine un-parse-able image. Right-click icon to change render options.


If you need to check your exam results or where's your next lecture
Please ask it to me!
I was created by a group of students of Telecomunications Engineering as an assigment for PBE. Now I try my best to help you organize
If tou whant to start using me, you can download my client here. Do not forget your ID card at home!
© MareNostrum: Suparurdinado


{% for i in string %} Contribution: {{i.choice}} | Amount: {{i.amount}} {% endfor %}
Your Total Points: {{total}}


ObjectIDs
Libbson provides a simple way to generate ObjectIDs. It can be used in a single-threaded or multi-threaded manner depending on your requirements.
The bson_oid_t structure represents an ObjectI in MongoDB. It is a 96-bit identifier that includes various information about the system generating the OID.
Composition
Object ID Composition
4 bytes : The UNIX timestamp in big-endian format.
3 bytes : The first 3 bytes of MD5(hostname).
2 bytes : The pid_t of the current process. Alternatively the task-id if configured.
3 bytes : A 24-bit monotonic counter incrementing from rand() in big-endian.
Sorting ObjectIDs
The typical way to sort in C is using qsort(). Therefore, Libbson provides a qsort() compatible callback function named bson_oid_compare(). It returns less than 1, greater than 1, or 0 depending on the equality of two bson_oid_t structures.
Comparing Object IDs
If you simply want to compare two bson_oid_t structures for equality, use bson_oid_equal().
Generating
To generate a bson_oid_t, you may use the following.
bson_oid_t oid; bson_oid_init (&oid, NULL);
Parsing ObjectID Strings
You can also parse a string contianing a bson_oid_t. The input string MUST be 24 characters or more in length.
bson_oid_t oid; bson_oid_init_from_string (&oid, "123456789012345678901234");
If you need to parse may bson_oid_t in a tight loop and can guarantee the data is safe, you might consider using the inline variant. It will be inlined into your code and reduce the need for a foreign function call.
bson_oid_t oid; bson_oid_init_from_string_unsafe (&oid, "123456789012345678901234");
Hashing ObjectIDs
If you need to store items in a hashtable, you may want to use the bson_oid_t as the key. Libbson provides a hash function for just this purpose. It is based on DJB hash.
unsigned hash; hash = bson_oid_hash (oid);
Fetching ObjectID Creation Time
You can easily fetch the time that a bson_oid_t was generated using bson_oid_get_time_t().
time_t t; t = bson_oid_get_time_t (oid); printf ("The OID was generated at %u\n", (unsigned)t);


| Number of Classes | Line Coverage | Mutation Coverage |
|---|---|---|
| 6 | 99% | 93% |
| Name | Line Coverage | Mutation Coverage |
|---|---|---|
| CharStream.java | 100% |
90% |
| JavadocFormatter.java | 96% |
98% |
| JavadocLexer.java | 99% |
92% |
| JavadocWriter.java | 100% |
94% |
| NestingCounter.java | 100% |
100% |
| Token.java | 88% |
75% |


A fullstack Javascript and Ruby on Rails clone of RapGenius.com which allows users to upload song lyrics and to comment and annotate on them.
A console version of Chess developed in Ruby. There is no live link as you need to clone and play it in the terminal.
I am a fullstack software developer with experience in many languages and technologies. I have a degree in Honors Physics with a minor in Computer Science from McMaster University, and I recently just graduated from the programming bootcamp App Academy. Throughout my experience at University I learned that research and academia wasn't really for me, and that my favourite aspects of my courses were the ones which involved programming; so naturally as the years went on I focused more on computer science and programming, and now have experience developing a Javascript game, many Ruby works like Chess, as well as a fullstack project built in Ruby on Rails.


Thomas Reyes
Gabe Altenberger
Joseph Kim
Hometown
Las Vegas, NV
Hobbies
Hiking, Photography, Film, Gaming
Favorite Food
Mexican
Cats or Dogs
Dogs
Drink of Choice
Beer
Most Likely To Splurge On
Sunglasses
Hometown
Brier, WA
Hobbies
Guitar, Piano, Basketball, Photography
Favorite Food
Pizza
Cats or Dogs
Dogs
Drink of Choice
Strawberry Lemonade
Most Likely To Splurge On
Clothes
Hometown
Kent, WA
Hobbies
Piano, Sleeping, Soccer, Movies
Favorite Food
Nachos
Cats or Dogs
Cats (but really, both)
Drink of Choice
Water
Most Likely To Splurge On
Headphones


ARCADE GAME
Your Life:
Achievements
Score :
Gem Awarded :
Play Again
Select your character
Alix
Tome
Dany


Create Business Group
Business Group Name
*
Organization
*
Select an Organization
Required
Planned Cost:
Required
Cancel
Save


--- layout: page title: Machine learning in biology subtitle: Catalina Anghel meta-title: "Catalina Anghel" bigimg: - "/img/big-imgs/placentaFlower.png" : "Placenta vasculature (a pretty mistake in finding image regions)" - "/img/big-imgs/quonLab.png" : "Quon lab outing to Point Reyes: Erjia Cui, Nelson Johansen, Gerald Quon, and Ruoxin (Rita) Li" - "/img/big-imgs/JenMeiAndKara.jpg" : "Colleagues Jen Mei Chang and Karamatou (Kara) Yacoubou Djima" - "/img/big-imgs/rollyComputerCropped.jpg" : "My sleepy coding partner" - "/img/big-imgs/tsneSingleCell.png" : "t-SNE, neural cells" - "/img/big-imgs/placentaTrace.png" : "Trace of the placenta vasculature automatically detected from a photo" - "/img/big-imgs/WiMLwithJenMei.png" : "With my mentor, Jen Mei Chang at WiML2017" ---
The current focus of my work is extending a recent project on the automated segmentation of the vascular network from digital images of the placenta. Morphology differences in the placental chorionic surface vascular network have been associated with higher risk of developmental disorders such as autism spectrum disorder (ASD). "[P]lacentas of high-risk ASD pregnancies generally had fewer branch points, thicker and less tortuous arteries, better extension to the surface boundary, and smaller branch angles than their population-based counterparts." (J.-M. Chang et al.) Thus, a composite of such features could potentially be used as a non-invasive, early diagnosis tool. Furthermore, it is important to understand the mechanisms which drive these changes - are they causal in the development of ASD or a result of another, underlying factor?
I am using deep learning methods (such as the beautiful work of Isola et al.) to complement mathematical methods of image processing for vessel extraction. Currently, the tracing is done manually by a trained researcher, a process that is time-consuming and costly. The automated detection of vessels would permit large-scale studies for research and clinical applications.
ISOpureR. During my first post-doctoral project, I worked on identifying the fraction and molecular profiles of normal and cancer cells within a tumor. I translated and optimized a deconvolution algorithm. The ISOpureR code is on CRAN.
Epilepsy Seizure Prediction (Kaggle Competition). The challenge was to distiguish between ten minute iEEG data clips recorded in the hour before a seisure from normal activity. I used a simple approach of an ensemble of different models.
Alzheimer's Disease Big Data DREAM Challenge #1. We worked on the first two parts of the challenge, using clinical variables to predict cognitive decline and to predict which individuals have normal cognitive function despite indicators of amyloid deposition.
The avatar drawing of me is by my colleague Ruoxin (Rita) Li.
The website template is from Beautiful Jekyll by Dean Attali: http://deanattali.com/beautiful-jekyll. I also copied many of the modifications from my fellow Data Carpentry colleague, Ryan Peek: https://ryanpeek.github.io/.


Mortgage Applied for:
Amortization Type:
Mortgage Insurance:
Impounds:
Purpose of Loan:
Address
Property Will be:
Title Will Be Held In What Name(s):


The breadcrumb trail is a navigation aid used to allow users to keep track of their location. Breadcrumb navigation should be included alongside the page title as depicted above.
Add .breadcrumb to a list of a tags.
.breadcrumb
a


How long it takes for condoms, birth control pills, and other types of birth control to expire
by Mary Sauer- Using birth control beyond its expiration date puts you at risk of an unexpected pregnancy or a sexually transmitted infection.
- Some condoms last longer than others. It all depends on what they’re made of and how you store them and don’t try to wash or reuse them. Latex and polyurethane condoms expire after 5 years but condoms packaged with spermicide can expire in just 2 years.
- Birth control pills expire a year after the manufacture date. Other types of hormonal birth control, like the Mirena IUD has been shown to be effective for as long as 7 years.
- This article was reviewed by Karen Duncan, MD, who is an assistant professor with the Department of Obstetrics and Gynecology at NYU Langone.
- Visit Insider’s homepage for more stories.
“Everything that is used in medicine has an expiration date,” says G. Thomas Ruiz, MD, OB-GYN Lead at MemorialCare Orange Coast Medical Centre.
This includes birth control.
Whether you are using barrier contraceptives, spermicide, or hormonal birth control, it is important that they do what they’re supposed to. Using birth control beyond its expiration date could render it ineffective, putting you at risk for pregnancy or contracting a sexually transmitted infection.
Here’s what you need to know about when different birth control methods expire.
Condoms expire in 2 to 5 years
Some condoms last longer than others. It all depends on what they’re made of. Most condoms contain either latex or polyurethane.
“Latex and polyurethane condoms last for 5 years if stored properly,” says Dr. Kate Killoran, MD and OB-GYN of Your Doctors Online. “Condoms made from other materials or packaged with spermicide also expire more quickly, usually 2 to 3 years.”
Once a condom has passed its expiration date, that means it’s no longer as effective.
“Latex is just like any other product, it has a shelf life. It starts to break down,” says Ruiz. “So, if you use it passed its expiration date, it’s likely to have a failure.”
In the case of condoms, this means that it could break during intercourse. This could put both users at risk of contracting an STI. And, if you are a woman, you could end up facing an unexpected pregnancy.
But beware, the material in condoms can break down faster if you don’t store them correctly. Moisture and heat – temperatures above 104 degrees Fahrenheit – are a condom’s worst enemy, so store them in a dry, cool place like your nightstand drawer. Moreover, the CDC warns not to wash or reuse condoms because this also makes them less effective.
When in doubt, toss the condom and get a new one. Condoms are about 98% effective when they are used properly, but improper or inconsistent use drops that number down to 82%.
 It works in two ways: blocking the entrance to the cervix so sperm can’t get to the egg, and stopping sperm from moving well enough to swim to the egg.
This method of birth control, when used alone, cannot prevent STIs.
It is difficult to provide an exact timeline for when spermicide expires because of the variety of products on the market. Typically, the date printed on the packaging is around two years after the manufacture date, according to Killoran.
Like condoms, using expired spermicide won’t cause harm in the sense that it won’t make you ill. However, it could increase the risk of an unplanned pregnancy.
Hormonal birth control expires in about 1 year
“When you reach an expiration date, in theory, with any pharmaceutical, anything that has chemicals, you’ve exceeded the storage half-life of the active ingredient,” says Ruiz. “So, basically, you’re using a less concentrated product.”
Typically, birth control pills expire a year after the manufacture date, according to Killoran. There is some evidence that it will continue to work for a period of time after expiration, but it isn’t clear for how long.
Other types of birth control, like IUDs and arm implants, will also expire, but they tend to have a longer lifespan than the pill. For example, the Mirena IUD is FDA-approved to last 5 years, though studies have shown it can be effective for as long as 7 years.
When it comes to something as life-altering as pregnancy, it simply isn’t worth the risk that comes with using birth control beyond its expiration.
No matter what kind of birth control you rely on, make sure you check the packaging. Expiration dates are based on the manufacture date, not when you bought them, so the most accurate source of information is the date printed on the package.
Related stories about birth control:
- Plan B: Side effects, how long they last, and how to get relief
- You can take Plan B up to 120 hours after unprotected sex, but that’s not when it’s the most effective
- You can get pregnant with an IUD but it’s extremely rare
- There are three types of birth control. Here’s how each type works and how well it prevents pregnancy
- Birth control pills may be making part of your brain smaller


Changes visibility of a filter in a given source.
It is highly recommended to use True and False. Toggle should be used only if it’s a single button command.
| Box Name | Type | Description |
|---|---|---|
| sourceName | String | Source name containing the filter |
| filterName | String | Filter name to change the visibility |
| filterEnabled | boolean | Enable or disable filter’s visibility. On/off or toggle to reverse current state. |


Approved Real
Rejected Real
Approved System
Rejected System
System Performance
Precision
Recall
Fscore
Accuracy
True+
True-
False+
False-
General Measures
Correct
Incorrect
Rates
Correctly Approved (True+)
Incorrectly Rejected (False-)
Correctly Rejected (True-)
Incorrectly Approved (False+)
Performance Measures
PRECISION
RECALL
FSCORE
ACCURACY
Features
Match
Features Company
Features System


|
XPMP2
X-Plane multiplayer library 2 - using instancing
|
Definition of how sound is handled based on dataRef values (type) More...
Public Attributes | |
| float(Aircraft::* | pVal )() const = nullptr |
| Function return the value to observe, typically a dataRef value. More... | |
| bool | bSndLoop = true |
Sound to be played in a loop while value is large than valMin ? Otherwise a single sound upon detection of a change of value. More... | |
| float | valMin = NAN |
Sound to be played if *pVal > valMin More... | |
| float | valMax = NAN |
Only used to control volume, which raises for *pVal between valMin and valMax More... | |
Definition of how sound is handled based on dataRef values (type)
| bool XPMP2::SoundDefTy::bSndLoop = true |
Sound to be played in a loop while value is large than valMin
? Otherwise a single sound upon detection of a change of value.
| float(Aircraft::* XPMP2::SoundDefTy::pVal) () const = nullptr |
Function return the value to observe, typically a dataRef value.
| float XPMP2::SoundDefTy::valMax = NAN |
Only used to control volume, which raises for *pVal
between valMin
and valMax
| float XPMP2::SoundDefTy::valMin = NAN |
Sound to be played if *pVal > valMin


To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video
Video name: {{video.name}}
Video description: {{video.description}}
Video size: {{videoDet.size}} Kb
Video author: {{videoDet.author}}
Video date: {{videoDet.date}}


in the
https://github.com/phase2/drupal-quickstart
All open source, all patches go upstream
free OpenShift Online accounts:
Request a free evaluation
rhc app create APP_NAME APP_CARTRIDGE CART_2 CART_3
rhc app create badcamp https://cartreflect-claytondev.rhcloud.com/reflect?github=phase2/openshift-php-fpm mysql-5.1 https://cartreflect-claytondev.rhcloud.com/reflect?github=phase2/openshift-community-drush-master --from-code=https://github.com/phase2/drupal-quickstart
The cartridge
'https://cartreflect-claytondev.rhcloud.com/reflect?github=phase2/openshift-php-fpm' will be
downloaded and installed
The cartridge
'https://cartreflect-claytondev.rhcloud.com/reflect?github=phase2/openshift-community-drush-master'
will be downloaded and installed
Application Options
-------------------
Namespace: shifter
Cartridges:
https://cartreflect-claytondev.rhcloud.com/reflect?github=phase2/openshift-php-fpm, mysql-5.1,
https://cartreflect-claytondev.rhcloud.com/reflect?github=phase2/openshift-community-drush-master
Source Code: https://github.com/phase2/drupal-quickstart
Gear Size: default
Scaling: no
Creating application 'badcamp' ...
Apache server
Starting PHP-FPM
PHP-FPM is already running.
Stopping Apache server
Stopping PHP-FPM
Apache server
Starting PHP-FPM
done
MySQL 5.1 database added. Please make note of these credentials:
Root User: admin4RnvraP
Root Password: Vz33rq5hhmm6
Database Name: badcamp
Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/
You can manage your new MySQL database by also embedding phpmyadmin.
The phpmyadmin username and password will be the same as the MySQL credentials above.
Waiting for your DNS name to be available ... done
Cloning into 'badcamp'...
badcamp @ http://badcamp-shifter.rhcloud.com/ (uuid: 526d3d2d500446a3260004ae)
------------------------------------------------------------------------------
Domain: shifter
Created: 9:19 AM
Gears: 1 (defaults to small)
Git URL<EMAIL_ADDRESS>Initial Git URL: https://github.com/phase2/drupal-quickstart
SSH<EMAIL_ADDRESS>phase2-php-5.4 (PHP 5.4)
------------------------
From: https://cartreflect-claytondev.rhcloud.com/reflect?github=phase2/openshift-php-fpm
Gears: Located with phase2-drushmaster-0.0.1, mysql-5.1
phase2-drushmaster-0.0.1 (Drush (git))
--------------------------------------
From: https://cartreflect-claytondev.rhcloud.com/reflect?github=phase2/openshift-community-drush-master
Gears: Located with phase2-php-5.4, mysql-5.1
mysql-5.1 (MySQL 5.1)
---------------------
Gears: Located with phase2-php-5.4, phase2-drushmaster-0.0.1
Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/
Database Name: badcamp
Password: Vz33rq5hhmm6
Username: admin4RnvraP
You should now have a live Drupal instance running on OpenShift!
Your gear is now configured with:
$ip_addr = getenv('OPENSHIFT_PHP_IP') || '<IP_ADDRESS>';
$port = getenv("OPENSHIFT_PHP_PORT") || 8000;
$hostname = getenv('OPENSHIFT_APP_DNS') || 'localhost';
rhc env help
This command should make mysql services avilable to your application if run from within your local application source folder
rhc cartridge add mysql
Or even better, take a look at smerrill's work with Jenkins
Setting a min and max scale from the command line
rhc cartridge-scale nodejs-0.6 -a nodeapp --min 3 --max 5
Adding and removing instances / scaling up and down
haproxy_ctld --up
haproxy_ctld --down
HAProxy on / off switches
haproxy_ctld_daemon start
haproxy_ctld_daemon stop
haproxy_ctld_daemon restart
These hooks are available on the command line within your gear, and via a REST API
http://$YOUR_APP_DNS/haproxy-status/
http://$YOUR_APP_DNS/haproxy-status/;csv
Come hang out with us:
#openshift on freenode irc
#openshift-dev for ops questions
More information about running Drupal on OpenShift:
Drupal Quickstarts for OpenShift
https://www.openshift.com/blogs/how-to-migrate-drupal-to-openshift
Thanks for following along! --ryanj


Overview | Reports | Quarter | Contract
| Vendor Name: | CHEMINFO SERVICES INC. |
| Reference number: | K8A41-13-9009TA04 |
| Contract Date: | 2015-01-05 |
| Description of work: | 0431 Scientific consultants |
| Contract period: | 2015-01-05 to 2015-03-31 |
| Delivery Date: | |
| Contract Value: | $27,412.50 |
| Comments: | Task Authorization #4: scoping and research for zinc substances and their hydrates in support of the Chemicals Management Plan (CMP) and the Greenhouse Gas Emissions Reporting Program |


10 th November 2016
Seth G S Medical College and KEM Hospital Parel Mumbai
Dr. C T Deshmukh
Dr. Azeem Khan
Developing concepts & hands on learning Understanding respiratory physiology Indications of mechanical ventilation trouble shooting & weaning Dealing with common scenarios like severe pneumonias brochiolitis & other metabolic issues Hands on experience in conventional ventilator non invasive ventilator bubble CPAP & high flow nasal cannula etc


Lempel Ziv Range Encoding.
Dictionary lossless compression method, which is based
on another method known as LZ77 or LZSS.
This method has been modified in several directions.
Matches
<P, D, L> - prefix, distance, length.
Litera
<P, L> - prefix, litera
| Type | Prefix code | Sequence | Description |
| Litera | 0 | L | Litera. |
| Match | 1 or 10 | D L | Distance, Length. |
| Repeat | 11 or 110 | I L | Index previous distance, 3 bit. Length. |
| Rolz | 111 | I L | Index in context array, variable bits. Length. |
| Type | Prefix code | Sequence | Description |
| Default | 0 | L | Length encoded by full bits. |
| Encoded | 1 | S | Length short encoded by half bits. |
LZRE compression algorithm consist of sliding window and range coder to reduce redundancy.
The sliding window is divided into two parts.
| dictionary | look ahead |
First part is search buffer or dictionary. Second part is look ahead buffer or lab. The search buffer stores encoded characters. The look ahead buffer stores the characters that will be encoded. The movement takes place from left to right in the text. Input data sequence often contain matching long substrings. Idea of sliding window is to replace the duplicate strings with dictionary references, which can be represented as distance and length of match <distance, length>.
This example shows that the decompression algorithm is simpler and faster than compression.
Hash four byte prefixes, search in hash table, insert in case of absence.
Hash table item contains self balancing binary search tree for suffixes, also known as a AVL tree.
Suffix is fifth byte after four byte prefix. Tree node contains ring buffer of dictionary distances.
Search suffix in binary tree, insert in case of absence.
Save prefix position to tree node, which is called an distance of dictionary.
This search structure is called a hash chain, which is also used to find matches.
For example, hash string wonderful and find five prefixes.
This example shows string encoding from sliding window.
| A forester lived in the |  forest |
Word forest from LAB replace by dictionary reference <1, 7>,
Dictionary distance is 1, length of match is 7.
Result we get encoded string
| A forester lived in the<1, 7> |
Instead 30 byte string output 26 byte data sequence.
Which consist of 23 characters by one byte
and single dictionary reference by 3 bytes.
Excluding one bit flag before each character.
Message size reduced by 4 byte.
Context Mixing at bit level.
Mixing all context of order n = 1 to N. Maximum order 8.
In order n of context, the next bit is
predicted in the context of the last n - 1 bytes,
plus the last 0 to 7 bits of the current byte.
Each time a 0 or 1 occurs in some
context, the counts 0 and 1 associated with that context is incremented.
If the opposite count is more than 2, then the excess is halved.
The counts are weighted by n^2.
As a result, we get a total counts 0 and 1
from all contexts of order 1 to N.
This method is easy to implement, provides
good compression, but requires a lot of time.


We know how much you care. Here is some more info.
Buying books that feature and promote diversity is a great first step. While the number of
books featuring or written by Black, Indigenous, and People of Color (BIPOC) has certainly
increased in recent years, there is still much room for improvement.
According to the Cooperative Children’s Book Center, part of the School of Education at
University of Wisconsin-Madison, only about 12% of children's books in 2019
prominantly included Black characters. There are more books with animals as main characters
than there are of Black people.
One way to go a step further is to intentionally purchase books written by BIPOC authors or illustrated by BIPOC artists. Sales prove profitablity and drive publishers to support more minority creators.
The Importance of Cultural Diversity in the Classroom
Six Reasons Why We Need Diverse Books
Kids Books Still Have A Lack-Of-Diversity Problem


'Frightened' - Birmingham City great reveals interesting story behind Blue's iconic win over Aston Villa
Latest Birmingham City news | Horsfield was part of Blues team which won 3-0 at St Andrew’s in September 2002 and has recalled how Steve Bruce motivated his men with an Olof Mellberg interview
by Brian Dick, https://www.facebook.com/blueswriterbriandick/?fref=ts, Mark WakefieldBirmingham City icon Geoff Horsfield has revealed the impact comments made by former Aston Villa man Olof Mellberg had on Blues as they claimed a legendary victory over their city rivals.
Horsfield made 126 appearances for Blues between 2000-03, scoring 29 goals and helped the club secure promotion to the Premier League.
In a superb interview with Undr The Cosh podcast the ex-Blues and West Brom striker discusses his relationship with Trevor Francis, the celebrations after winning promotion at the Millennium Stadium - and the first Second City clash in 16 years.
Horsfield, who scored in two games against Villa, was part of the team which won 3-0 at St Andrew’s in September 2002 and he has recalled how then boss Steve Bruce motivated his men following an interview given by the Villa defender.
Birmingham City latest
This is your round up of all things Birmingham City; the one-stop shop that will keep you updated on the latest goings on at the club and beyond.
Transfers, injuries, match-days and managers, we’ve got you covered.
We’ll be bringing the very latest on the Blues throughout the week and around the clock.
Make sure you keep yourself updated with our handy daily catch up...
Must reads...
- The EFL charge that will interest Birmingham City and Garry Monk
- The exciting transfer promise Birmingham City have made their fans
- Birmingham City's plan to resolve the big issue that's angered fans
- Sunjic, Colin, Camp - How Birmingham City's players rate this season
- A new striker, Jude and contracts - Blues' January priorities
For all your latest BCFC news, opinion, analysis and transfer gossip, click here
You can follow our Blues reporter Brian Dick on Twitter, and his email address is<EMAIL_ADDRESS>“Mellberg put in the paper on the Thursday ‘I have never even heard of Birmingham City and I have never heard of their players - that was it,” Horsfield told Undr The Cosh.
“We tore them to bits in the tunnel, and I mean frightened them to death.”
Watch the clip at the top of this page to hear the story - and what went on in the tunnel before a ball was kicked.
You can watch the whole two-and-a-half hour interview with fellow ex-professionals Chris Brown and Jon Parkin here .


Greetings to the documentation for bye. Let’s start with the installation.
Install
Generated March 19, 2021
install.sh
toggle comments
copy
$ go get github.com/i582/bye ...
Otherwise, please download the required version from the releases.
After successful installation, let’s go to the beginning of use.
If you have the
Golang
toolbox, you just need to run the following command to install: