https://blog.inequationgroup.com/openssl-nc/
Cryptography
Before the listener can be started, a key pair and a certificate must be generated.
S_Client, the likeness of nc and OpenSSL client functionality is immediate as the simple command:
openssl s_client -quiet -connect [ip]:[port]
is equivalent tonc [ip]:[port]. The -quiet flag is necessary as if not the session will be renegotiated if an R ever starts a line in the input.
S_Server, OpenSSL server functionality is a little bit different from nc's and it's somewhat more difficult to set up as it needs a valid public key certificate, fortunately OpenSSL "main function" is to generate the type of certificate we need. Generating one of these can be easily be done with this command:
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 30 -nodes
this generates a private key into the file key.pem and it writes a cert into the cert.pem file these we can then use to set up the server. To set up the server we can then run openssl:
s_server -quiet -key [keyfile] -cert [cert] -port [port]
this is equivalent to running nc -lp [ip] [port] as long as we provide a valid keyfile and it's associated public key certificate
Knowing this we can easily understand how we can "abuse this" to generate reverse shells


Small Component to replace HTML texts within the DS dashboard
Link to blog: Design Studio SDK: Replacer component to manipulate the HTML dom tree


% if LOGGED is True: % if ADMIN is True:
Admin
% endif
Log out
Logged in as
${USERNAME}(${USERID})
% else:
Log In
Sign Up
% endif
Whiley
PLAY
From this page, you can run Whiley programs in your browser! For more on Whiley, visit
whiley.org
.
% if LOGGED is False:
% endif % if LOGGED is True:
% endif
Code Templates
Main Method
Function
Method
If
For (array)
For (collection)
For (block)
Enable Verification
+
Whiley by Dr David Pearce; IDE by Scott,
Greg
,
Adrian
, Garming, and
Iury
; Icons by
Glyphicon
×
Close
Export Project
×
Close
Share Project URL


What is GeoTrellis Transit?
GeoTrellis Transit provides a REST API for answering questions about travelsheds. It can be used to answer requests like:
- Given a starting location and a method of travel (walking, biking, public transit), how far can I travel in a given amount of time?
- Show me a map that shows how long it takes to arrive at a particular location from everywhere in the city.
- Given a list of destinations, which of these destinations can I reach from my start location, and in how long?
- If I am leaving somewhere now and want to be home in two hours, where could I stop in the middle and for how long? (We call this the "Scenic Route" service.)
The API will return visualizations that can shown on a web map (e.g. WMS) or data that can be used directly (like polygons in GeoJSON format or data for GIS systems).
While Azavea currently hosts this API with open data for the Philadelphia area, this was developed as an open source project which makes it possible for it to be installed with GTFS and Open Street Map data for other geographic areas. The code is available on github and can be freely extended. GeoTrellis Transit is an extension of the GeoTrellis open source geoprocessing engine, also a project of Azavea.
The hosted Philadelphia API includes regional Open Street Map data and GTFS data from SEPTA. This project was done in collaboration with TechImpact and with support from the William Penn Foundation.
Below is documentation of the GeoTrellis Transit API. You can modify the query parameters and try out each of the endpoints. The endpoints that return binary files (the wms png tiles, the export) won't produce useful output, but for endpoints that return JSON you'll be able to see the result.


Just Dump Amazon Dammit
-
anonymous
Hi,
I've read the update on Feb. 6 about Amazon.  Even when it worked, a third of covers were wrong (at the very least). So I don't mind if you drop it.
>The way Synergy is now, it is *broken*. I've quit using it for quite a while now and I certainly won't recommend it to *anyone* until it is fixed.
>Most of us out there wouldn't mind assigning cover art manually. I won't.
>Even if automatic cover art fetching is available, I *still* want to be able to set them manually. As quite a few people have pointed out, the way it is now, it is *madness*.
>Dragging covers manually does not even require a decent interface. Using a directory tree and the Finder would do just fine in the worst case...
>You say you will have to increase the price if we drop Amazon? GO AHEAD!!!! I'll be happy to pay whatever you ask for your software, and so will many people out there. Well, as long as the price is less than iLife '04 and it isn't crippleware.
>Dropping covert art after a certain amount of time to keep Amazon satisfied is UNACCEPTABLE. DON'T EVEN THINK OF SCREWING WITH MY COVERS!!!!!!
>If you need some ideas, perhaps you could look at the way Sofa manages covers. [No, don't look at the way it *displays* them. It makes me sick.]
 Period.
>Synergy will continue to suck as long as it relies on it.
>You need to add only *one* feature to keep your customers satisfied. Really.
-
Greg Hurrell
Thanks for contributing. I want to comment on some of your points, and respectfully disagree with one or two of them.
 Even when it worked, a third of covers were wrong (at the very least). So I don't mind if you drop it.
In fairness to Amazon, they provided a completely free service that kept a lot of people happy and enabled a lot of people to download an awful lot of covers with little or no effort.
If the covers were wrong, it was not really the fault of Amazon that the Number 1 Search Result ended up being for another product. There are a lot of common words in album titles and it's fairly easy to see how they could get mixed up from time to time.
The real shortcoming lies in Synergy, because I didn't implement a means to skip through search results until the correct one was found. Needless to say, this is something I plan to do.
Quote:
>The way Synergy is now, it is *broken*. I've quit using it for quite a while now and I certainly won't recommend it to *anyone* until it is fixed.
I wish the feature weren't disabled, but I still believe Synergy can add a lot to the iTunes experience. The feature list is very long, and I won't repeat it here. Of course, this is a matter of opinion. And importantly, for me, it can still display the art, even if it can't download it.
Quote:
>Most of us out there wouldn't mind assigning cover art manually. I won't.
>Even if automatic cover art fetching is available, I *still* want to be able to set them manually. As quite a few people have pointed out, the way it is now, it is *madness*.
>Dragging covers manually does not even require a decent interface. Using a directory tree and the Finder would do just fine in the worst case...
I agree it would be nice to have an in-Synergy UI to facilitate assigning covers manually. Until this gets implemented, the alternative for people who want to assign manually is to drag the art into iTunes (Synergy will automatically use it), or to stick it in the Synergy album covers folder; instructions on how to do this appear in this thread.
Quote:
>You say you will have to increase the price if we drop Amazon? GO AHEAD!!!! I'll be happy to pay whatever you ask for your software, and so will many people out there. Well, as long as the price is less than iLife '04 and it isn't crippleware.
To clarify: the price would increase if I had to provide a caching web server to shield Amazon from traffic. I have no idea how many people are using Synergy. All I know is that there have been about 38,000 downloads counted by VersionTracker alone. It wouldn't surprise me if 100,000 people had downloaded or tried it in all.
So, if I implemented an album cover caching server I imagine I'd need to invest in multiple machines to do the serving, and pay a bandwidth bill that could easily run out of control with multi-gig traffic every day.
Not only that, but there's the question of copyright infringement. Amazon's Conditions of Use expressly forbid the copying of content. This would have to be negotiated with them, and lawyers would have to get involved.
This doesn't sound like a good idea to me. So hopefully I can resolve this problem without any such drastic measures, and Synergy can continue with the low $5 price tag.
Quote:
>Dropping covert art after a certain amount of time to keep Amazon satisfied is UNACCEPTABLE.
Once again, to clarify: Synergy doesn't touch iTunes' album covers, and it never would delete anything that you had added to your library. I was talking about Synergy managing the covers that it had downloaded and stored in its own album covers folder.
What you do with your art once its downloaded is up to you. So if you want to stick it in iTunes, you can and it would never be interfered with.
I am still not 100% of this, but my reading of the Amazon terms of use indicates that you are allowed to keep copies of the images for "caching" purposes, and no time limit is specified. But that's only my interpretation of the legalese. In the email communication I've had with Amazon they reminded me that there were "time limits", but in my own reading of their Web Services Agreement and their Conditions of Use I can't see anything explicitly specifying such a time limit for images downloaded from the server (and by extension, for album covers).
Quote:
>If you need some ideas, perhaps you could look at the way Sofa manages covers. [No, don't look at the way it *displays* them. It makes me sick.]
I am not familiar with the details, but I understand that it just saves the covers in its Application Support folder, like Synergy does; although the folder layout and naming conventions are different. There is a legal question mark over this practice. But as I said above, my reading of the jargon indicates to me that there's nothing explicitly forbidding it.
The copyright holders of the images (ie. the record labels, not Amazon itself) might not like it, but the Amazon documents are understandably not specific about it.
I am thinking long and hard about this because I want the Synergy implementation to be bullet-proof in the legal sense.
 Period.
>Synergy will continue to suck as long as it relies on it.
>You need to add only *one* feature to keep your customers satisfied. Really.
Don't really agree with your first two points here, but clearly we're both entitled to our opinions.
You're right that this one feature is crucial. Believe me, I care about it just as much as you do. I am sure I would've sold a lot more copies of Synergy if this hadn't happened, and I would be that much closer to being able to devote myself to full-time programming work. I am going to continue to strive towards that goal!
Unfortunately, if "Amazon sucks", as you say, the problem is that Synergy is pretty much wedded to it. I never really foresaw the way Synergy would evolve, and so the Amazon stuff ended up getting grafted on. Welded to it, you could say. So these changes I'm having to make are proving to be quite involved. I wish "dumping" Amazon was an option. But for Synergy, it isn't...
Synergy Advance, the companion product I am working on now, won't be tied to Amazon. It will be much more modular and extensible. You won't have to depend on one source for album covers. Support for other sources can be added. But Synergy Advance is still some distance off public release (don't even ask), so this means that for the immediate short term future the only way forward is to get the Amazon/Synergy thing worked out... I will keep you posted as progress is made.
-
anonymous
Use Fetch Art... It's an alternative to Album cover retrival and can do you entire iTunes library fairly quickly!
Reply
This topic is now closed.


A collection of brand new buttons that look epic. We use a specific color scheme that emphasizes the idea of the button. Hope you enjoy the buttons!


| knit2pdf {knitr} | R Documentation |
Knit the input Rnw or Rrst document, and compile to PDF using
tinytex::latexmk()
or rst2pdf()
.
knit2pdf( input, output = NULL, compiler = NULL, envir = parent.frame(), quiet = FALSE, ... )
input |
Path to the input file. |
output |
Path to the output file for |
compiler |
A character string giving the LaTeX engine used to compile
the tex document to PDF. For an Rrst file, setting |
envir |
Environment in which code chunks are to be evaluated, for
example, |
quiet |
Boolean; suppress the progress bar and messages? |
... |
The filename of the PDF file.
The output
argument specifies the output filename to be passed
to the PDF compiler (e.g. a tex document) instead of the PDF filename.
Ramnath Vaidyanathan, Alex Zvoleff and Yihui Xie
#' compile with xelatex ## knit2pdf(..., compiler = 'xelatex') #' compile a reST file with rst2pdf ## knit2pdf(..., compiler = 'rst2pdf')


This example demonstrates roundtrip RLE encoding/decoding on DICOM Segmentation object. It encodes labelmap 1 into RLE encoded DICOMSEG and decodes/reads it back to labelmap 2.
Sample data is from the dicom4qi connectathon event to be held at RSNA 2017. This is test dataset #2


| 1) Viewing homepages without installing software | ||||||
|
||||||
| 2) Viewing homepages by installing software | ||||||
|
||||||
| 3) Reading and Writing | ||||||
|
weather: http://spanish.about.com/library/weekly/aa042699.htm
guest map: http://www.24fun.com/gmap/gmapregister.html


Our database currently contains information about {{total|commafy}} Python packages from PyPI. Out of these,
only {{has_license | commafy}} packages have license information in their JSON file
(
{{no_license | commafy}} have no licenses).
Among those that have a
license field, there are many where the actual value is either
none,
the empty string, or the string
UNKNOWN. There are several packages where the
license
field include the text of the whole license instead of just a few letters indicating the given license.
Here you can find all the values appearing in license field and their frequency.


Content
Typography
Headings
h1. Bootstrap heading
h2. Bootstrap heading
h3. Bootstrap heading
h4. Bootstrap heading
h5. Bootstrap heading
h6. Bootstrap heading
Display Headings
Display 1
Display 2
Display 3
Display 4
Display 5
Display 6
Inline text elements
You can use the mark tag to highlight text.
This line of text is meant to be treated as deleted text.
This line of text is meant to be treated as no longer accurate.
This line of text is meant to be treated as an addition to the document.
This line of text will render as underlined.
This line of text is meant to be treated as fine print.
This line rendered as bold text.
This line rendered as italicized text.
Images
Tables
Variants
| Class | Heading | Heading |
|---|---|---|
| Default | Cell | Cell |
| Primary | Cell | Cell |
| Secondary | Cell | Cell |
| Success | Cell | Cell |
| Danger | Cell | Cell |
| Warning | Cell | Cell |
| Info | Cell | Cell |
| Light | Cell | Cell |
| Dark | Cell | Cell |
Striped Rows
| # | First | Last | Handle |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry the Bird |
Table Dark Striped Rows
| # | First | Last | Handle |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry the Bird |
Table Hover
| # | First | Last | Handle |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry the Bird |
Table Dark Hover
| # | First | Last | Handle |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry the Bird |
Table Striped Hover
| # | First | Last | Handle |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry the Bird |
Table Striped Columns
| # | First | Last | Handle |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry the Bird |
Table Dark Striped Columns
| # | First | Last | Handle |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry the Bird |
Figures
Components
Accordion
.accordion-body
, though the transition does limit overflow.
.accordion-body
, though the transition does limit overflow.
.accordion-body
, though the transition does limit overflow.
Accordion Flush
.accordion-flush
class. This is the first item's accordion body.
.accordion-flush
class. This is the second item's accordion body. Let's imagine this being
filled
with some actual content.
.accordion-flush
class. This is the third item's accordion body. Nothing more exciting
happening
here in terms of content, but just filling up the space to make it look, at least at first glance, a bit
more
representative of how this would look in a real-world application.
Alerts
Badges
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Breadcrumb
Buttons
Button Group
Card
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereCard title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereCard title
Some quick example text to build on the card title and make up the bulk of the card's content.
- An item
- A second item
- A third item
Card title
This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
Last updated 3 mins ago
Carousel
Carousel (Dark variant)
Close button
Collapse
Dropdowns
List Group
-
14SubheadingContent for list item
-
14SubheadingContent for list item
-
14SubheadingContent for list item
- A simple default list group item
- A simple primary list group item
- A simple secondary list group item
- A simple success list group item
- A simple danger list group item
- A simple warning list group item
- A simple info list group item
- A simple light list group item
- A simple dark list group item
List group item heading
3 days agoSome placeholder content in a paragraph.
And some small print.List group item heading
3 days agoSome placeholder content in a paragraph.
And some muted small print.List group item heading
3 days agoSome placeholder content in a paragraph.
And some muted small print.Modal
Navbar
Offcanvas
Offcanvas
Placeholders
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewherePopovers
Progress
Labels
Multiple Bars
Striped
Animated
Scrollspy
@fat
Ad leggings, brunch id art party dolor. Pitchfork yr lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh cardigan. Seitan photo booth 3 wolf moon. Cosby sweater jean shorts, williams hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa diesel wes and aesthetic. Nihil Pitchfork yr lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh cardigan. Seitan photo booth 3 wolf moon. tattooed, cred irony diesel keffiyeh artisan.
@mdo
Ad leggings, brunch id art party dolor. Pitchfork yr lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh cardigan. Seitan photo booth 3 wolf moon. Cosby sweater jean shorts, williams hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa diesel wes and aesthetic. Nihil Pitchfork yr lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh cardigan. Seitan photo booth 3 wolf moon. tattooed, cred irony diesel keffiyeh artisan..
one
Ad leggings, brunch id art party dolor. Pitchfork yr lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh cardigan. Seitan photo booth 3 wolf moon. Cosby sweater jean shorts, williams hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa diesel wes and aesthetic. Nihil Pitchfork yr lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh cardigan. Seitan photo booth 3 wolf moon. tattooed, cred irony diesel keffiyeh artisan.
two
Ad leggings, brunch id art party dolor. Pitchfork yr lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh cardigan. Seitan photo booth 3 wolf moon. Cosby sweater jean shorts, williams hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa diesel wes and aesthetic. Nihil Pitchfork yr lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh cardigan. Seitan photo booth 3 wolf moon. tattooed, cred irony diesel keffiyeh artisan.
three
Ad leggings, brunch id art party dolor. Pitchfork yr lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh cardigan. Seitan photo booth 3 wolf moon. Cosby sweater jean shorts, williams hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa diesel wes and aesthetic. Nihil Pitchfork yr lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh cardigan. Seitan photo booth 3 wolf moon. tattooed, cred irony diesel keffiyeh artisan.
Ad leggings, brunch id art party dolor. Pitchfork yr lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh cardigan. Seitan photo booth 3 wolf moon. Cosby sweater jean shorts, williams hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa diesel wes and aesthetic. Nihil Pitchfork yr lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh cardigan. Seitan photo booth 3 wolf moon. tattooed, cred irony diesel keffiyeh artisan.
Spinners
Tabs
Toasts
Tooltips
Forms
Checks & Radios
Switches
Select
Disabled Select
Disabled Input
Disabled Fieldset
Read Only
Range
File Input
Input Color
Datalists
Input Group
Floating Labels
Validation
Server Side
Tooltips
Helpers
Clearfix
Color & background
Some quick example text to build on the card title and make up the bulk of the card's content.
Some quick example text to build on the card title and make up the bulk of the card's content.
Colored links
Primary link Secondary link Success link Danger link Warning link Info link Light link Dark linkRatio
Stacks
gap
property
is not supported in Internet Explorer 11. A CSS polyfill is included but does not currently include responsive
breakpoints. E.g .hstack .gap-3
will have the correct spacing, but .hstack .gap-md-3
will not.Vertical
Horizontal
Horizontal with Vertical rule
Text truncation
Vertical rule
Utilities
Background
Background Color
Background Gradient
Background Opacity
Borders
Additive
Subtractive
Color
Width
Radius
Radius Sizes
Colors
.text-primary
.text-primary-emphasis
.text-secondary
.text-secondary-emphasis
.text-success
.text-success-emphasis
.text-danger
.text-danger-emphasis
.text-warning
.text-warning-emphasis
.text-info
.text-info-emphasis
.text-light
.text-light-emphasis
.text-dark
.text-dark-emphasis
.text-body
.text-body-emphasis
.text-body-secondary
.text-body-tertiary
.text-muted
.text-black
.text-white
.text-black-50
.text-white-50
Flex
.justify-content-start
.justify-content-end
.justify-content-center
.justify-content-between
.justify-content-around
.justify-content-evenly
Interactions
Text Selection
This paragraph will be entirely selected when clicked by the user.
This paragraph has default select behavior.
This paragraph will not be selectable when clicked by the user.
Pointer events
This link can not be clicked.
This link can be clicked (this is default behavior).
This link can not be clicked because the
pointer-events
property is inherited from its parent. However, this
link
has a pe-auto
class and can be clicked.
Link
Opacity
Position
unread messagesShadows
Sizing
Text
Text wrapping and overflow
Word Break
mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
Font weight and italics
Bold text.
Bolder weight text (relative to the parent element).
Semibold weight text.
Normal weight text.
Light weight text.
Lighter weight text (relative to the parent element).
Italic text.
Text with normal font style
Line height
This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.
This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.
This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.
This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.
Text decoration
This text has a line underneath it.
This text has a line going through it.
This link has its text decoration removed


Home
(current)
Podcast
(current)
About Us
(current)
Member Directory
Member Map
Sign in
Sign in
to continue to the Global NL Members Portal
Global NL uses LinkedIn to provide a secure
experience for our commmunity of members
Load Database Report
Name
Email
MUN
MUN Grad Year
LinkedIn Profile
uid
Edit Profile (portal)
Edit Profile (database)


Clear out. Get out of my way. Clear out. Get out of my way. Clear out. Get out of my way. Clear out. Of way out get my
Whoops, my mistake... I mean “get out of my way!”


HOME
(current)
ABOUT ME
GALERY
CONTACT :
WELCOME TO MY
WEBSITE, EXISTENCE, EXPERIENCE
In this website you can get to know more about me
Let's Go
Copyright © 2021
Template by Inovatik


Main Menu
Daily SyncUp
Sahara MOS 6.1
A section description goes here.
It can also be handy to list assignees here.
Someone
Someone else
Again Someone else
An entry of whatever is here.
Remove
One more entry of whatever is here.
Remove
And some moar entry of whatever is here.
Remove
Your status:


LOSTIRC(1) LOSTIRC(1) NAME LostIRC - A simple IRC client for X11. SYNOPSIS lostirc DESCRIPTION LostIRC is a simple, yet very useful IRC client. It has features such as tab-autocompletion, multiple server support, automatic joining of servers/channels, logging and DCC sending which should cover the needs of most people. Another goal that the application has in mind, is 100% key‐ board controlability. It was written using the gtkmm GUI library. OPTIONS --noauto Do not auto-connect to servers on startup. GTK options --gdk-debug=FLAGS Gdk debugging flags to set --gdk-no-debug=FLAGS Gdk debugging flags to unset --display=DISPLAY X display to use --sync Make X calls synchronous --no-xshm Don't use X shared memory extension --name=NAME Program name as used by the window manager --class=CLASS Program class as used by the window manager --gxid_host=HOST --gxid_port=PORT --xim-preedit=STYLE --xim-status=STYLE --gtk-debug=FLAGS Gtk+ debugging flags to set --gtk-no-debug=FLAGS Gtk+ debugging flags to unset --g-fatal-warnings Make all warnings fatal --gtk-module=MODULE Load an additional Gtk module FILES ~/.lostirc/ Users configuration files. OTHER INFO The webpage for LostIRC is at http://lostirc.sourceforge.net Here you can find info about LostIRC and download the latest version. AUTHOR The LostIRC application was written by Morten Brix Pedersen. May 2002 LOSTIRC(1)


WITNESS LIST Health & Human Services Committee June 17, 2002 - 1:30P Immunizations ON: Stanley, Sharilyn Associate Commissioner, Disease Control (Texas Department of Health), Austin, TX Mental Health Related Issues ON: Hale, Karen Commissioner (Texas Department of Mental Health and Mental Retardation), Austin, TX Registering, but not testifying: On: Webster, Sarah Director, Child Protective Services (Texas Department of Protective and Regulatory Services), Austin, TX Organ Allocations/Donations ON: Sanchez, Eduardo Commissioner (Texas Department of Health), Austin, TX Walker, Phil Chief, Bureau of Kidney Health (Texas Department of Health), Austin, TX Prescription Painkillers ON: Schaefer, Linda Manager, Narcotics Regulatory Programs (Texas Department of Public Safety), Austin, TX Registering, but not testifying: On: Dodson, Gay Executive Director (Texas State Board of Pharmacy), Austin, TX Public Health Preparedness On: Perrotta, Dennis State Epidemiologist (Texas Department of Health), Austin, TX Sanchez, Eduardo Commissioner (Texas Department of Health), Austin, TX Wiegman, Linda Deputy General Counsel (Texas Department of Health), Austin, TX Restraints and Seclusion On: Evans, John M. Director, Hospital Licensing (Texas Department of Health), Austin, TX Gold, Marc Director, Long-Term Care Policy (Texas Department of Human Services), Austin, TX Hale, Karen Commissioner (Texas Department of Mental Health and Mental Retardation), Austin, TX SSI Disability Determination Proced On: Arrell, Max Commissioner (Texas Rehabilitation Commission), Austin, TX Ward, Dave Deputy Commissioner, SSI Disability (Texas Rehabilitation Commission), Austin, TX Wolfe, Mary Director, External Affairs (Texas Rehabilitation Commission), Austin, TX Welfare Related Issues ON: Denton, Judy Deputy Commissioner, Family Services (Texas Department of Human Services), Austin, TX Registering, but not testifying: On: Bresette, Patrick Associate Director (Center for Public Policy Priorities), Austin, TX Bryant, Cynthia Deputy Attorney General, Child Support (Office of the Attorney General), Austin, TX Dyson, Lela Director, Program Planning and Policy (Texas Workforce Commission), Austin, TX Garrett, Donna Director, Child Care (Texas Workforce Commission), Austin, TX Hagert, Celia Senior Policy Analyst (Center for Public Policy Priorities), Austin, TX Henderson, Marina Executive Deputy Commissioner (Texas Health and Human Services Commission), Austin, TX Sabo, Jason Policy Analyst (Center for Public Policy Priorities), Austin, TX


Grouped Dropdowns
Use
.btn-group
on a containing
<div>
to wrangle multiple dropdowns:
Marvel Comics
DC Comics
Anime
Dubbed
Sub-titled


named [-c config-file] [-d debug-level] [-f] [-g] [-n #cpus] [-p port] [-s] [-t directory] [-u user] [-v] [-x cache-file]
named is a Domain Name System (DNS) server, part of the BIND 9 distribution from ISC. For more information on the DNS, see RFCs 1033, 1034, and 1035.
When invoked without arguments, named will read the default configuration file /etc/named.conf, read any initial data, and listen for queries.
Use config-file as the configuration file instead of the default, /etc/named.conf. To ensure that reloading the configuration file continues to work after the server has changed its working directory due to to a possible directory option in the configuration file, config-file should be an absolute pathname.
Set the daemon's debug level to debug-level. Debugging traces from named become more verbose as the debug level increases.
Run the server in the foreground (i.e. do not daemonize).
Run the server in the foreground and force all logging to stderr.
Create #cpus worker threads to take advantage of multiple CPUs. If not specified, named will try to determine the number of CPUs present and create one thread per CPU. If it is unable to determine the number of CPUs, a single worker thread will be created.
Listen for queries on port port. If not specified, the default is port 53.
Write memory usage statistics to stdout on exit.
Note: This option is mainly of interest to BIND 9 developers and may be removed or changed in a future release.
chroot() to directory after processing the command line arguments, but before reading the configuration file.
| Warning |
This option should be used in conjunction with the -u option, as chrooting a process running as root doesn't enhance security on most systems; the way chroot() is defined allows a process with root privileges to escape a chroot jail. |
setuid() to user after completing privileged operations, such as creating sockets that listen on privileged ports.
Note: On Linux, named uses the kernel's capability mechanism to drop all root privileges except the ability to bind() to a privileged port and set process resource limits. Unfortunately, this means that the -u option only works when named is run on kernel 2.2.18 or later, or kernel 2.3.99-pre3 or later, since previous kernels did not allow privileges to be retained after setuid().
Report the version number and exit.
Load data from cache-file into the cache of the default view.
| Warning |
This option must not be used. It is only of interest to BIND 9 developers and may be removed or changed in a future release. |
In routine operation, signals should not be used to control the nameserver; rndc should be used instead.
Force a reload of the server.

The result of sending any other signals to the server is undefined.
The named configuration file is too complex to describe in detail here. A complete description is provided in the BIND 9 Administrator Reference Manual.


Archives for Plutoware delimited
- Mon 15 October 2018
- Key Lessons from A Cooperative Species: Synopsis
- Sun 14 October 2018
- Intro to Key Lessons from A Cooperative Species.
- Sat 13 October 2018
- Key Lessons from A Cooperative Species, Part 0.
- Fri 12 October 2018
- Key Lessons from A Cooperative Species, Part 3.
- Thu 11 October 2018
- Key Lessons from A Cooperative Species, Part 1.
- Thu 11 October 2018
- Key Lessons from A Cooperative Species, Part 2.
- Sun 07 October 2018
- Glossary of Cooperative Games
- Sun 07 October 2018
- My Background
- Thu 04 October 2018
- "A Cooperative Species" Distilled.
- Sun 29 July 2018
- How to showcase your Apache Spark skills
- Sun 20 May 2018
- Review of Max Tegmark's “Life 3.0"
- Sun 07 January 2018
- The dirt on Hashgraph
- Sun 30 April 2017
- on Bleu scores and transcription rates
- Sat 22 April 2017
- on batch processing audio speech to text


General discussion about Komodo. For useful links and more info click the pinned messages to the right. DON'T DM @jl777
100 messages
Before 05-Dec-19 12:00 AM
Notorious40616-Jul-19 08:43 PM
Be aware
D2D privacyalternatives.com16-Jul-19 08:49 PM
@jl777c
great to hear about nSPV for CC
jl777c16-Jul-19 08:51 PM
still a ways to go to get it fully debugged, but making good progress
3
D2D privacyalternatives.com16-Jul-19 09:04 PM
Would be great if there was a short article which clearly explains the costs of running a blockchain on Komodo/AWS
D2D privacyalternatives.com16-Jul-19 09:11 PM
--
Also maybe plugins for building things with Komodo chains on Wordpress could be a good idea...I saw this yesterday for Ethereum (they are also quite expensive by the way):
https://ethereumico.io/shop/
LeshAft916-Jul-19 11:28 PM
Are there any light wallets for Pirate?
ComputerGenie 👴👴👴16-Jul-19 11:34 PM
no
allbits17-Jul-19 12:41 AM
On the composer, could it make sense to offer a super barebones "starter blockchain", on a monthly instead of annual basis? To entice people to play a bit ...
p.17-Jul-19 01:27 AM
Wasn't there supposed to partnership announced that "did not need to be googled" ? besides the AWS partnership?
im lost
allbits17-Jul-19 01:35 AM
Yes you are. That was K64 that said that
1
p.17-Jul-19 02:17 AM
so what did K64 say ?
Alecandro17-Jul-19 02:32 AM
No no he was referencing the VC firm that provided the funding
But I’m fairly positive that the partner that’s in the gaming industry will be the same- no google needed, but that’s 3-4 months from now
I’m like 90% sure that’s right
Haha
p.17-Jul-19 02:47 AM
sub announcement to the main one
FishyGuts17-Jul-19 03:10 AM
What coin is this? I don't recognize the discord logo.
polycryptoblog17-Jul-19 03:14 AM
1
suhthern-girl17-Jul-19 03:25 AM
Running Windows Verus Agama and blockchain seems to be stuck at 1444268. Is there something going on that I don't know about?
Nothing crashed that I know of, and Agama has been running continuously for a few days, at least.
Did a 'reload', too.
polycryptoblog17-Jul-19 03:32 AM
New notaries
suhthern-girl17-Jul-19 03:33 AM
Ok. Thanks. Hope I don't have to redownload whole blockchain.
Why am I JUST NOW learning you can donate $ARRR crypto to streams on Twitch & Youtube?!?
Tag @!ratstang in discord to learn how!
Do it in public to get subs.
Let your fave streamers know!
Embedded stream on https://t.co/LtsWWe3N2khttps://t.co/VxdmfjSqyR
@Arclegger @Sni...
jl777c17-Jul-19 05:36 AM
@suhthern-girl
SHossainYesterday at 11:22
issue
./komodo-cli invalidateblock 000000012e157c7c3cc75587ffb40b3a42b486941058bc96a316a556d63e258a
then issue
./komdo-cli reconsiderblock 035ee329fe10944f1b0bf659a8b8d2424322b98532deba0fe225f26eb350fdb2
this should get you synced to main chain
Successfull atomic swap on my smartphone, from setting up to actual exchange in less than 10 minutes. Flawless experience, this is the future! My keys, my coins. #atomicdex #dex @KomodoPlatform
1
1
SHossain17-Jul-19 11:01 AM
@suhthern-girl which version of Verus Agama you are running?
You must use 0.5.7-4 version
suhthern-girl17-Jul-19 11:03 AM
Ok. Thanks. I take it that is newer than the one we were told to use right after the compromised key bug was found.
And now for real. Swapped @ethereum for $KMD on @AtomicDex in 7 minutes.
Try to send funds to a #CEX, trade and send back to a wallet in 7 minutes
Won’t be needing that $ETH anymore anyway. $KMD is the future!
This #DEX is amazing.
Great job @KomodoPlatform @0xca333 ...
1
1
Catalyst17-Jul-19 12:31 PM
Good Evening
Guys i would like to ask that My KomodoOcean - Wallet is stuck at Tue Jul 16 22:53:21 2019
has there been some changes to the wallet?
bishop17-Jul-19 12:33 PM
Still shows pre-register on google play for Atomic. Also was part of the 1000 for the initial beta with no link. Is this an oversight?
Just completed my first $doge > $kmd #atomicswap using @AtomicDex mobile app from @KomodoPlatform
This is true peer to peer swaps from a true #dex #btc #crypto #beta
@dogecoin
Privilege to be one of the first 100 beta testers to test the @AtomicDex from @KomodoPlatform. So far, flawless, smooth and slick! #dexit #atomicdex #DEX $kmd $zec
1
denio17-Jul-19 03:36 PM
Oh guys this look so nice...cant wait to join the party
The world's first children to run #atomicswaps (Beta) and exchanging goods in this new, decentralized era.
My boys were very proud using this state of the art Technology.
#dexit #DEX @KomodoPlatform
Hey Twitter. Here is #atomicdex from @KomodoPlatform .This is most revolutionary aplicacion out there in the #cryptocurrency #industry . #DEX is the future. #Dexit is the solution. Have the power of Financial Freedom on your hands. #atomicdex coming...
1
alperC17-Jul-19 04:07 PM
keep them coming guys (edited)
Patziggy17-Jul-19 04:33 PM
Hello everyone! Hope you're all doing well.
I'm wondering what the best wallet would be for a new user using Windows 7. Is the Komodo Agama wallet still compromised? If so, would the Verus Agama wallet be a good substitute in the meantime? Thanks!
Lennart17-Jul-19 04:43 PM
yes, use Verus Agama
this is kinda the official wallet now
you can use KMD in lite mode, claim rewards and also it supports a lot of ecosystem coins like VRSC, RFOX, K64, PIRATE...
@Gordon Komodo not the answer if was looking for but the one that made me laugh. Haha
Gordon Komodo17-Jul-19 06:46 PM
the gate represents USSA but the atomicdex trade will probably go through in between the space of the gate too
hastrup17-Jul-19 06:48 PM
freakbros17-Jul-19 06:56 PM
Hehehe
polycryptoblog17-Jul-19 06:56 PM
Page 24
Under FinCEN regulations, a person is exempt from money transmitter status if the person only provides the delivery, communication, or network access services used by a money transmitter to support money transmission services.72 Consistent with this exemption, if a CVC trading platform only provides a forum where buyers and sellers of CVC post their bids and offers (with or without automatic matching of counterparties), and the parties themselves settle any matched transactions through an outside venue (either through individual wallets or other wallets not hosted by
the trading platform), the trading platform does not qualify as a money transmitter under FinCEN regulations.73 By contrast, if, when transactions are matched, a trading platform purchases the CVC from the seller and sells it to the buyer, then the trading platform is acting as a CVC exchanger, and thus falls within the definition of money transmitter and its accompanying BSA obligations.74
Amazing work of the @KomodoPlatform team. They will change the way we trade cryptocurencies. First $RFOX bought without any 3rd party, with my phone. Really easy. Joins us on #atomicdex #DEX #atomicswaps #mobiledex #mobileatomicswap #dex-it @bennydoda01 @redfoxlabs_io
1
@KomodoWorld I just understood today why nobody never like my tweet about Komodo!!! Thanks
4
jl777c17-Jul-19 06:59 PM
@Gordon Komodo short of making the internet illegal, it seems atomicDEX wont be able to be stopped
2
we still have to complete the nSPV layer to get it as decentralized as possible, but this is well underway and it is now just a matter of doing it
Cruz X (10)17-Jul-19 07:00 PM
how many pairs can be swapped on AtomicDex?
jl777c17-Jul-19 07:00 PM
N*N
Cruz X (10)17-Jul-19 07:01 PM
Magnifique
Komodo is the new Komodo
jl777c17-Jul-19 07:02 PM
if you use KMD to fill an order, then you get a 10% discount on dexfee
2
1
1
1
4
Cruz X (10)17-Jul-19 07:04 PM
I can't wait to use it
The way you guys rolled it out, in line with the rebrand, has been really effective.
Gordon Komodo17-Jul-19 07:07 PM
how about the fee automatically deducted in KMD if you hold KMD while using Atomicdex? @jl777c or option to do so(edited)


Pig Dice
Rules of the game
These are the rules
Roll Player 1
Hold Player 1
Roll Player 2
Hold Player 2


Population Growth Calculator
Number of Years
Rate
%
Starting Population (Billions)
Carrying Capacity
Population Carrying Capacity (Billions)
Chart by
chart.js


See a list of my favorite codepen projects. There are not many projects, but things there are pretty cool!


Rock Paper Scissors Lizard Spock
Reset Game
Points
Computer: {{pointsComputer}}
Player: {{pointsPlayer}}
Computer
{{ nameIconComputer }}
Winner:
{{ winner }}
Choose:
Rock
Paper
Scissors
Lizard
Spock


Everything in depth about
Peter
Kiru
The only place you will hear about the Exceptional, Phenomenal Kiru-axis in real time.
The only place you will hear about the Exceptional, Phenomenal Kiru-axis in real time.


---
layout: post
status: publish
published: true
title: Fake Materialized Views
author:
display_name: Geoff Lane
login: admin
email<EMAIL_ADDRESS>url: http://www.zorched.net
author_login: admin
author_email<EMAIL_ADDRESS>author_url: http://www.zorched.net
date: '2006-11-27 20:21:54 -0500'
date_gmt: '2006-11-28 02:21:54 -0500'
categories:
- Code
tags:
- performance
- database
- oracle
---
In a previous post, I discussed materialized views in Oracle. I wanted to share a relatively simple technique that can be used to create similar functionality in Oracle or another database.
Why Use Something Else?
Materialized Views are a feature available in Oracle. If you're not using Oracle, then that's reason enough on its own. Materialized Views also have limitations in terms of how they are refreshed. Refreshing is the concept of updating the contents of the view. This can be done as a fast refresh when the base tables that it relies on changes. Certain things like union or other more "complex" SQL prevents any sort of fast refreshing from going on. The other option for updating the materialized view is a periodic update. Every n minute you can have the view refreshed. This is fine in certain circumstances, but there are use cases where this will be a show stopper. So what do you do?
Yes, I ran into the refreshing problem and had to work with a DBA to figure out another way to accomplish the same thing.
Table, View, Trigger
A materialized view is an object in the database that is backed by a table behind the scenes. We often want to use them as a way to denormalize data for reporting or performance reasons. Knowing this, you can create a structure that is a directly a table instead. This table will be the structure that you query against. To keep the data up to date you can implement a trigger that responds to changes in the base table to keep the dernomalized table up-to-date.
The simplest way to do this is to create a regular database view of the data that you want. Why not use the view directly? When you query a view it re-runs the query against the base table. This can be an expensive operation and put a lot of load on your database. Once you have a view containing the data that you want, you can then "copy" the data into your table for day-to-day querying.
Example
{% highlight sql %}
create or replace view V$MY_VIEW AS
select table1.v1, table2.v2, table2.v3
from Table as table1
inner join Child_Table table2
on table1.id=table2.parent_id;
{% endhighlight %}
{% highlight sql %}
create table MY_TABLE
value1 varchar2(32),
value2 varchar2(128),
value3 int;
insert into MY_TABLE select * from V$MY_VIEW;
create trigger UPDATE_MY_TABLE
after insert or update or delete on Table
begin
delete from MY_TABLE;
insert into MY_TABLE select * from V$MY_VIEW;
end;
{% endhighlight %}
Conclusion
This is a denormalization technique that you can use for some read performance benefits in certain scenarios. Of course you will likely suffer from write performance when you do this. This particular technique is likely only useful if there are relatively few rows in your dependent tables, otherwise the performance will probably degrade quickly.
Obviously this is a pretty simple example, but hopefully it would help give you some inspiration if you need a similar solution.


Graduate student at University of Waterloo and Perimeter Institute. I’m interested in exploring quantum many body physics with machine learning and modern methods of programming. I'm also the Wittek Quantum Prize Winner in 2020 .
One of the creators of QuantumBFS/Yao.jl and many other open source packages in JuliaLang. Contributor of various projects including FluxML/Zygote.jl, FluxML/Flux.jl, PyTorch.
Core member of JuliaCN, the Julia language localization organization for Chinese.
Education
University of Waterloo & Perimeter Institute
General Physics PhD
2019 - present
University of Science and Technology of China
Bachelor of Science, Physics
Minor of Science, Computer Science
2013 - 2017
Experience
QuEra Computing
Software Intern
March. 2020 - Sept. 2021
Institute of Physics, CAS
Research Assistant
March. 2018 - Sept. 2018
Fudan University
Research Assistant
Sept. 2017 - Jan. 2018


Total guesses: {{ total_guesses }}
Total solves: {{ total_solves }}
Total participants: {{ total_participants }}
Total teams: {{ total_teams }}
Hints asked: {{ total_hints }}
Metas solved: {{ total_metas }}
| Puzzle | Solves | Guesses | Hints | Forward solves | 0-hint forward | 1-hint forward | 2+-hint forward | Back solves | No solve |
|---|---|---|---|---|---|---|---|---|---|
| {{ row.puzzle.name }} | {% for number in row.numbers %}3 %}style="background-color: rgba(255, 255, 255, calc({{ number }} / {{ row.numbers|first }} / 2));"{% endif %}>{{ number }} | {% endfor %}


AddressAction¶
1. METHOD: URL: list a address
GET:
api/v1/addresses
- This method list all the address related to district ,municipality and ward of Nepal:
GeographyAction¶
1. METHOD: URL: list a geography
GET:
api/v1/geography
- This method list all geography data.
2. METHOD: URL:* create a geography
POST:
api/v1/geography
- This Method is used for adding a Geography:
Body_Content
- district: ChoiceField(required)
- municipality: ChoiceField(required)
- ward: PositiveIntegerField()
4. Put: URL:* update a geography
POST:
api/v1/geography/<geography_id>
- This Method is used for updating a geography:
ActivitieAction¶
1. METHOD: URL:* list a activities
GET:
api/v1/events
- This method list all the activitie:
ActivitieAreaAction¶
1. METHOD: URL:* list a activitiesarea
GET:
api/v1/activities
- This method list all the activitiearea:
2. METHOD: URL:* create a activitiesarea
POST:
api/v1/activities
- This Method is used for adding a activitiearea:
Body_Content
- activity id : ForeignKey(required) ie Activity id
- name: String()
3. Put: URL:* update a activitiesarea
POST:
api/v1/activities/<activities_id>
- activities_id: CharField (activities_id as a parameter)
- This Method is used for updating a activities:
RecallAction¶
1. METHOD: URL:* update a activitiesarea
GET:
api/v1/recalls/<geography_id>
- This method list all the recall for the patients:
- this screen should be show only when health post is click in acticities section:


--- layout: page status: publish published: true title: Address Data author: display_name: Data Queen login: kgreen email<EMAIL_ADDRESS>url: '' author_login: kgreen author_email<EMAIL_ADDRESS>wordpress_id: 11109 wordpress_url: http://gis.utah.gov/?page_id=11109 date: '2012-08-15 16:09:42 -0600' date_gmt: '2012-08-15 22:09:42 -0600' categories: [] tags: - Data - utah - gis - map - mapping - address - dataset - download - agrc - geographic - database - statewide - vector - address point - addressing - grid - address grid - address grid system - quadrants ---
Abstract:
This dataset contains GIS mapping data representing address point locations (near complete) and the address grid system quadrant boundaries (NE, SE, SW, NW) in Utah.
Data Content:
The following data is available for download:
For county specific questions, see the contact list for the Master Address Authority at each county.
Availability as web services:
Download address points:
Address Points were made public by AGRC on June 27, 2013. The dataset is planned to be updated monthly.
Updated: Davis, Wasatch, Wayne, Weber Counties, July 2017
Updated: Beaver, Box Elder, Davis, Emery, Salt Lake, Utah, Washington, Weber Counties, June 2017
Updated: Cache, Davis, Morgan, Iron, Salt Lake, Summit, Tooele, Utah, Wasatch, Washington, Weber Counties, May 2017
Updated: Davis, Salt Lake, Utah, Washington, April 2017
Updated: Box Elder, Carbon, Cache, Davis, Salt Lake, Utah, Wasatch, Washington, Weber Counties, March 2017
Updated: Salt Lake, Davis, Weber, and Utah County, Febuary 2017
Updated: Salt Lake, Davis, and Utah County, December 2016
Updated: Beaver, Millard, Salt Lake, and Utah County, October 2016
Updated: Wasatch, Summit County, September 2016
Updated: Box Elder, Cache, Salt Lake, and Utah County, August 2016
Updated: Piute, Sevier, Wayne Counties, June 2016
Updated: Kane, Salt Lake, Utah, and Weber Counties, May 2016
Updated: Garfield and Wasatch Counties, April 2016
Updated: Salt Lake County, Washington County, January 5, 2016
Updated: Park City, November 17, 2015
Updated: Thompson Springs (Grand County), November 11, 2015
Updated: Juab County, November 11, 2015
Updated: Sevier, Piute, Garfield County, September 15, 2015
Updated: Sanpete County, September 10, 2015
Updated: Emery and Morgan Counties, March 2015
Update Summaries:
November 2015: Improvements were made to the Hyrum and Logan address system boundaries
October 2015: Updated the American Fork address system boundary to reflect recent annexations
August 2015: Improvements were made to the Brigham City, Fishlake, Fremont, Garland, Loa, Lyman, Mantua, Tremonton, and Willard address system boundaries; updated the Lehi and Santa Clara address system boundaries to reflect recent annexations
July 2015: Improvements were made to the Price and Wellington address system boundaries; updated the Lehi and Provo address system boundaries to reflect recent annexations
June 2015: Improvements were made to the Layton and HAFB address system boundaries; updated the Provo and Spanish Fork address system boundaries to match recent annexations
May 2015: Updated address system boundaries to reflect annexations in Lehi, Lewiston, and Snowville
February 2015: Improvements were made to the Orderville address system boundary to match the municipal boundary
January 2015: Updated address system boundaries to match annexations in American Fork, Farmington, Elk Ridge, Grantsville, Lehi, Mendon, Mount Pleasant, Payson, Provo, Spanish Fork, and Washington
December 2014: Improvements to the Elmo/Cleveland boundary
July 2014: Improvements the Wellington/Price boundary
June 2014: Improvements were made to the NSL (North Salt Lake) and Bountiful address system boundaries
May 2014: Changed address system name East Carbon-Sunnyside to East Carbon City
April 2014: Updated address system boundaries to match recent annexations in northern Utah County; misc improvements in Davis County; adjusted Laketown/Garden City boundary
February 2014: Merged East Carbon and Sunnyside to create the East Carbon-Sunnyside address system
January 2014: Improvements were made to the Iron County address system quadrant boundaries and topological errors were corrected statewide
August, 2013: Improvements were made to Garfield County and Washington County address system quadrant boundaries


President Buhari finally honours airport worker who returned millions after Legit.ng report
- President Muhammadu Buhari has rewarded Josephine Ugwu with an Independent Corrupt Practices Commission Integrity Award
- Ugwu who spoke with Legit.ng in two separate interviews shared how she on five occasions returned money found at the airport while working as a cleaner
- After Legit.ng's report, Ugwu got money donated to her by Nigerians and now, has been honoured by President Buhari
History has been kind to the likes of Josephine Ugwu, who recently received a special honour and award from President Muhammadu Buhari for finding lost money at the airport on five occasions and handing it over to the authorities.
Ugwu was recognised and honoured with an ICPC Integrity Award for her unwavering honesty and integrity displayed while carrying out her job as a former cleaner at the Murtala Mohammed International Airport (MMIA), Lagos.
The award was presented to her by President Buhari on November 19, at the opening of the two-day National Summit on Diminishing Corruption in Public Sector held at the State House Banquet hall in Abuja.
Senate president Lawan sends crucial message to INEC after APC's victory in Kogi, Bayelsa
Incidentally, the moment was captured and also shared on President Buhari's verified Instagram page, where he stated that it was a privilege to honour Ugwu who returned millions found while on duty as a cleaner at the airport, on several occasions.
Read his post below:
Recall that Ugwu became famous and earned the respect and empathy of Nigerians after she opened up about her work to Legit.ng.
Ugwu in 2006 was reported to be earning N12,000 monthly but found and returned over N10 million at Enugu Airport. I
Again in 2014, she found and returned N8 million at Lagos Airport, also in 2014 she found and returned another N7 million at the same airport.
In 2015, it was reported that she found and returned $12 million, an equivalent of N4.3 billion from the same airport and again in 2019 she found and returned N200,000 in Lagos airport private wing.
Bayelsa, Kogi elections: INEC says it does not have control over thug attacks
Watch her first interview with Legit.ng below:
PAY ATTENTION: Read best news on Nigeria's #1 news app
Do you have news to share? Contact Legit.ng instantly
Nigerians raise money for Airport worker who returned millions after Legit.ng's report on Legit TV:


Pokémon icon database and sprite sheet generator
The following list is a complete overview of all icons and the HTML necessary to display them.
Generated on {{$script_date_html}} ({{$icons_amount}} icons).
For more information about the project, visit {{$website_html}}.


@* * Copyright 2010-2017 Artima, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @import controllers.Application.scaladocsPageUrl @userGuidePage("Generator-driven property checks") {
To use generator-driven property checks, you must mix in trait GeneratorDrivenPropertyChecks
(or import the
members of its companion object). If you are also using table-driven property checks, you can mix in
trait PropertyChecks
,
which extends both GeneratorDrivenPropertyChecks
and TableDrivenPropertyChecks
. Generator-driven property checks uses ScalaCheck, so you must also include the ScalaCheck JAR file on your classpath when you compile and run your tests.
Trait GeneratorDrivenPropertyChecks
contains forAll
methods that provide various ways to check properties using
generated data.
It also contains a wherever
method that can be used to indicate a property need only hold whenever
some condition is true.
For an example of trait GeneratorDrivenPropertyChecks
in action, imagine you want to test this Fraction
class:
class Fraction(n: Int, d: Int) {
require(d != 0) require(d != Integer.MIN_VALUE) require(n != Integer.MIN_VALUE)
val numer = if (d < 0) -1 * n else n val denom = d.abs
override def toString = numer + " / " + denom }
To test the behavior of Fraction
, you could mix in or import the members of GeneratorDrivenPropertyChecks
(and ShouldMatchers
) and check a property using a forAll
method, like this:
forAll { (n: Int, d: Int) =>
whenever (d != 0 && d != Integer.MIN_VALUE && n != Integer.MIN_VALUE) {
val f = new Fraction(n, d)
if (n < 0 && d < 0 || n > 0 && d > 0) f.numer should be > 0 else if (n != 0) f.numer should be < 0 else f.numer should be === 0
f.denom should be > 0 } }
Trait GeneratorDrivenPropertyChecks
provides overloaded forAll
methods
that allow you to check properties using the data provided by a ScalaCheck generator. The simplest form
of forAll
method takes two parameter lists, the second of which is implicit. The first parameter list
is a "property" function with one to six parameters. An implicit Arbitrary
generator and Shrink
object needs to be supplied for
The forAll
method will pass each row of data to
each parameter type. ScalaCheck provides many implicit Arbitrary
generators for common types such as
Int
, String
, List[Float]
, etc., in its org.scalacheck.Arbitrary
companion
object. So long as you use types for which ScalaCheck already provides implicit Arbitrary
generators, you needn't
worry about them. Same for Shrink
objects, which are provided by ScalaCheck's org.scalacheck.Shrink
companion
object. Most often you can simply pass a property function to forAll
, and the compiler will grab the implicit
values provided by ScalaCheck.
The forAll
methods use the supplied Arbitrary
generators to generate example
arguments and pass them to the property function, and
generate a GeneratorDrivenPropertyCheckFailedException
if the function
completes abruptly for any exception that would normally cause a test to
fail in ScalaTest other than DiscardedEvaluationException
. An
DiscardedEvaluationException
,
which is thrown by the whenever
method (defined in trait Whenever
, which this trait extends) to indicate
a condition required by the property function is not met by a row
of passed data, will simply cause forAll
to discard that row of data.
You can optionally specify string names for the arguments passed to a property function, which will be used
in any error message when describing the argument values that caused the failure. To supply the names, place them in a comma separated list
in parentheses after forAll
before the property function (a curried form of forAll
). Here's
an example:
forAll ("a", "b") { (a: String, b: String) => a.length + b.length should equal ((a + b).length + 1) // Should fail }
When this fails, you'll see an error message that includes this:
Occurred when passed generated values ( a = "", b = "" )
When you don't supply argument names, the error message will say arg0
, arg1
, etc..
For example, this property check:
forAll { (a: String, b: String) => a.length + b.length should equal ((a + b).length + 1) // Should fail }
Will fail with an error message that includes:
Occurred when passed generated values ( arg0 = "", arg1 = "" )
ScalaCheck provides a nice library of compositors that makes it easy to create your own custom generators. If you
want to supply custom generators to a property check, place them in parentheses after forAll
, before
the property check function (a curried form of forAll
).
For example, to create a generator of even integers between (and including) -2000 and 2000, you could write this:
import org.scalacheck.Gen
val evenInts = for (n <- Gen.choose(-1000, 1000)) yield 2 * n
Given this generator, you could use it on a property check like this:
forAll (evenInts) { (n) => n % 2 should equal (0) }
Custom generators are necessary when you want to pass data types not supported by ScalaCheck's arbitrary generators,
but are also useful when some of the values in the full range for the passed types are not valid. For such values you
would use a whenever
clause. In the Fraction
class shown above, neither the passed numerator or
denominator can be Integer.MIN_VALUE
, and the passed denominator cannot be zero. This shows up in the
whenever
clause like this:
whenever (d != 0 && d != Integer.MIN_VALUE
&& n != Integer.MIN_VALUE) { ...
You could in addition define generators for the numerator and denominator that only produce valid values, like this:
val validNumers = for (n <- Gen.choose(Integer.MIN_VALUE + 1, Integer.MAX_VALUE)) yield n val validDenoms = for (d <- validNumers if d != 0) yield d
You could then use them in the property check like this:
forAll (validNumers, validDenoms) { (n: Int, d: Int) =>
whenever (d != 0 && d != Integer.MIN_VALUE && n != Integer.MIN_VALUE) {
val f = new Fraction(n, d)
if (n < 0 && d < 0 || n > 0 && d > 0) f.numer should be > 0 else if (n != 0) f.numer should be < 0 else f.numer should be === 0
f.denom should be > 0 } }
Note that even if you are use generators that don't produce the invalid values, you still need the
whenever
clause. The reason is that once a property fails, ScalaCheck will try and shrink
the values to the smallest values that still cause the property to fail. During this shrinking process ScalaCheck
may pass invalid values. The whenever
clause is still needed to guard against those values. (The
whenever
clause also clarifies to readers of the code exactly what the property is in a succinct
way, without requiring that they find and understand the generator definitions.)
If you want to supply both generators and named arguments, you can do so by providing a list of (<generator>, <name>)
pairs
in parentheses after forAll
, before the property function. Here's an example:
forAll ((validNumers, "n"), (validDenoms, "d")) { (n: Int, d: Int) =>
whenever (d != 0 && d != Integer.MIN_VALUE && n != Integer.MIN_VALUE) {
val f = new Fraction(n, d)
if (n < 0 && d < 0 || n > 0 && d > 0) f.numer should be > 0 else if (n != 0) f.numer should be < 0 else f.numer should be === 0
f.denom should be > 0 } }
Were this property check to fail, it would mention the names n and d in the error message, like this:
Occurred when passed generated values ( n = 17, d = 21 )
The property checks performed by the forAll
methods of this trait can be flexibly configured via the services
provided by supertrait Configuration
. The five configuration parameters for property checks along with their
default values and meanings are described in the following table:
| Configuration Parameter | Default Value | Meaning |
|---|---|---|
| minSuccessful | 100 | the minimum number of successful property evaluations required for the property to pass |
| maxDiscarded | 500 | the maximum number of discarded property evaluations allowed during a property check |
| minSize | 0 | the minimum size parameter to provide to ScalaCheck, which it will use when generating objects for which size matters (such as strings or lists) |
| maxSize | 100 | the maximum size parameter to provide to ScalaCheck, which it will use when generating objects for which size matters (such as strings or lists) |
| workers | 1 | specifies the number of worker threads to use during property evaluation |
The forAll
methods of trait GeneratorDrivenPropertyChecks
each take a PropertyCheckConfig
object as an implicit parameter. This object provides values for each of the five configuration parameters. Trait Configuration
provides an implicit val
named generatorDrivenConfig
with each configuration parameter set to its default value.
If you want to set one or more configuration parameters to a different value for all property checks in a suite you can override this
val (or hide it, for example, if you are importing the members of the GeneratorDrivenPropertyChecks
companion object rather
than mixing in the trait.) For example, if
you want all parameters at their defaults except for minSize
and maxSize
, you can override
generatorDrivenConfig
, like this:
implicit override val generatorDrivenConfig = PropertyCheckConfig(minSize = 10, maxSize = 20)
Or, if hide it by declaring a variable of the same name in whatever scope you want the changed values to be in effect:
implicit val generatorDrivenConfig = PropertyCheckConfig(minSize = 10, maxSize = 20)
In addition to taking a PropertyCheckConfig
object as an implicit parameter, the forAll
methods of trait
GeneratorDrivenPropertyChecks
also take a variable length argument list of PropertyCheckConfigParam
objects that you can use to override the values provided by the implicit PropertyCheckConfig
for a single forAll
invocation. For example, if you want to set minSuccessful
to 500 for just one particular forAll
invocation,
you can do so like this:
forAll (minSuccessful(500)) { (n: Int, d: Int) => ...
This invocation of forAll
will use 500 for minSuccessful
and whatever values are specified by the
implicitly passed PropertyCheckConfig
object for the other configuration parameters.
If you want to set multiple configuration parameters in this way, just list them separated by commas:
forAll (minSuccessful(500), maxDiscarded(300)) { (n: Int, d: Int) => ...
If you are using an overloaded form of forAll
that already takes an initial parameter list, just
add the configuration parameters after the list of generators, names, or generator/name pairs, as in:
// If providing argument names forAll ("n", "d", minSuccessful(500), maxDiscarded(300)) { (n: Int, d: Int) => ...
// If providing generators forAll (validNumers, validDenoms, minSuccessful(500), maxDiscarded(300)) { (n: Int, d: Int) => ...
// If providing (<generators>, <name>) pairs forAll ((validNumers, "n"), (validDenoms, "d"), minSuccessful(500), maxDiscarded(300)) { (n: Int, d: Int) => ...
For more information, see the documentation for trait Configuration
,
a supertrait of GeneratorDrivenPropertyChecks
.
Next, learn about ScalaTest's philosophy and design.


The number of language line tokens do not match the number of gloss line tokens.
Please review the gloss line to make sure there is a gloss for every language line token.
Multiple glosses pertaining to a single language line word should be joined using one of the following:


YG Entertainment confirms CL will not be renewing her exclusive contract
by beansssOn November 8, YG Entertainment released an official press statement in regard to 2NE1 member CL's exclusive contract.
Read the label's full statement below:
"Hello, this is YG Entertainment.
We have come to an agreement with CL to end her exclusive contract, in order to respect the wishes of both sides.
We would like to relay our deep word of thanks to the fans, who loved CL during her shining promotions as an artist under YG Entertainment.
After debuting as a member of 2NE1 in 2009, CL promoted as both a leader and rapper, while also leading trends in fields such as music, fashion, etc. She also left proud footprints in the title of the first Korean female solo artist to enter Billboard's 'Hot 100' chart, in October of 2016.
We ask for your abundant encouragements and attention toward CL's new and future activities, and YG Entertainment also promises to cheer her on with unchanging loyalty and affection. Thank you."
Best of luck to CL in the next steps of her career, moving forward!


---
layout: post
title: 4/23 progress
date: '2014-04-23T22:24:00.002-06:00'
author: Jacob .
tags:
- progress-reports
modified_time: '2014-04-23T22:24:56.345-06:00'
blogger_id: tag:blogger.com,1999:blog-6400085873105072120.post-1969107177906466042
blogger_orig_url: http://www.svlark.com/2014/04/423-progress.html
---
So we've recovered from our travels and are returning to the task at hand. We have 8 weekends left. We planned for packing 10 of the big black bins over the next 5 weekends. The last 3 will be for dumping what's left.
Gee, I wonder where we'll go.
Great new posts forthcoming from Hotspur, as they become shellbacks 16 days in; and from Fluenta as they weigh anchor for the jump, sailing off their anchor, no less.
55 days left


WHO approves Ervebo, the world's first Ebola vaccine
by Abdur Rahman Alfa ShabanThe World Health Organization (WHO) on Tuesday approved a historic vaccine to combat Ebola virus.
The drug called, Ervebo and manufactured by MERCK pharmaceuticals had until now been used in the Democratic Republic of Congo, DRC, as an experimental vaccine to the latest outbreak in the country’s east.
The global health outfit said there is sufficient evidence that shows that the vaccine is effective. Ervebo effectively becomes the world’s first ever drug aimed at prevention of Ebola.
According to standards, a WHO prequalification is granted to a trial medication only after a drug passes important safety and efficacy tests.
Experts have hailed the development as a crucial step that will accelerate access to and deployment in countries most exposed to Ebola epidemics.
The announcement follows the European Commission’s decision on Monday to authorise the marketing of this vaccine manufactured by the US laboratory Merck Sharpe and Dohme (MSD).
Now, the various UN agencies and the Gavi Vaccination Alliance can obtain the vaccine “for countries at risk”.
Since the beginning of the epidemic in the DRC, which has killed some 2,190 out of more than 3,290 cases, over 236,000 people have been vaccinated with the first vaccine, according to WHO, including 60,000 health professionals.
A second vaccine, still experimental and developed by Johnson & Johnson, administered in two doses 56 days apart, is to be introduced in mid-November in areas where the virus is absent.


Home
Geography
Politics
Races
Religion
Monsters
Demons
Cosmology
Items
Map
Players
NPCs
Links
Map of
Erebos
Map of
Kestren
Map of
Orestes
Map of
Piskus
Map of the entire world
Back to top
Source code


On this week, I started to implement the "referee part" of the architecture. So, I created a package which is called "data_treatment" and its concern is to receive the return of each algorithm and to process that data.
This package is composed by two main nodes- the "subscriber" and the "junction_data". The first one receives the lines detected coordinates and draw them on an image forming a polygn. The second node receives the polygns and merge them in the same image. After that, the intesection region ("road zone") is found, where is applied a convolutional filter allowing to know the probability of each pixel to make part of the road zone. It is important to refer that the zones of each polygn, which doesn's make part of the "road zone" has also a probability, but lower than the probability of the pixels that are on the boundaries of the "road zone".
The video below shows the pipeline of the "data_treatment" package:
The next step is to create an occupancy grid in which each cell corresponds to a probability value.


Turtles
Males have shells that turn down at the end near their tails, and their underbelly shells have lined marks along the bottom from their tails to their head. And the females have neither the turned down shell near the tail nor the marks.
Drying colors
Soot black and others will not dry in oil unless you add verdigris.
Painting
Colors that have been applied twice are more gritty by themselves, unless they have a binding agent. Otherwise, paint on wood; otherwise, on canvas; otherwise on walls.
Gardening
To graft, it is necessary to take the new growth that was produced within the year by the tree you wish to graft. And cut off a branch in which you can see that beside the place where the leaves join the stem, there are little buttons we call buds, the initial stages of a sprout. With dexterity you must, with a very sharp pen—knife, cut in the shape of a graft a small bit of the skin of the tree, which contains a bud or a sprout with the leaf, as you can see in B. Then on the tender wood, which is full of sap, and on which you wish to graft, cut quickly two lines as you can see , then add in the middle a slit thusly > Figure > . Then with the point of your pen—knife separate the bark from the tree, and open it from the slit in the middle, and having neatly lodged your graft so that nothing is sticking out, only the sprout, binding everything well and wrap the whole thing with a bit of linen or soft string. In this way, there will be nothing uncovered but the leaf, which in three or 4 days will indicate whether the graft has taken hold, by being green. Keep your graft in this way for seven or eight days. Then unwrap it, and join it to the bark, keeping the sprout itself straight, and then rewrap the whole thing gently, but not as strongly as before. And if there is any growth, leave it some room to grow and then three or four times
[continued]


Sorry, but our app requires to enable JavaScript. Here are the instructions how to enable JavaScript in your web browser.


Macros are a kind of a search and replace mechanism, so you can avoid writing the same code over and over again. The assembler supports text macros as well as procedure macros and macro functions. Macros are only expanded in the first pass.
Text macros are defined with the assembler command DEFINE. The syntax for DEFINE without arguments is:
DEFINE name replacement
Text macros simply replace some text with another. The text to replace can be anywhere on a source line, except in strings. So the following code:
define kip "hoppa!" byte kip,0,0,kip byte "kip"
will expand to:
byte "hoppa!",0,0,"hoppa!" byte "kip"
When the text in a string should also be replaced, you should precede the string with a @:
define defbyte byte defbyte "defbyte" defbyte @"defbyte"
expands to:
byte "defbyte" byte "byte"
When the replacement is omitted, the name is replaced with itself. It is possible to re-define a text macro:
define one
byte one define one 1 byte one define one 2 byte one
expands to:
byte one byte 1 byte 2
Macro expansions can be nested and are expanded when they are used, so:
define two one+one define one 1 byte two
expands to:
byte 1+1
even though one was not defined at the definition of two. A text macro will not be expanded within itself, so circular references do not result in infinite loops:
define one two define two one byte one
expands to:
byte one
because one will expand to two, which will expand to one, which will not expand again.
When the expansion should occur at the definition, use XDEFINE:
define one 1 xdefine two one+one define one 3 byte two
expands to:
byte 1+1
because two has been expanded to 1+1 at the definition.
The ASSIGN command evaluates an expression at the time the command is processed:
ASSIGN name expression
Like the other text macros without arguments, macros defined with ASSIGN can be redefined later:
assign c 1 assign c c+1
Here is an example to show the differences between DEFINE, XDEFINE and ASSIGN:
define c 1 define c c+1 ; c expands to c+1 define c 1 xdefine c c+1 ; c expands to 1+1 define c 1 assign c c+1 ; c expands to 2
Text macros can be undefined with the UNDEF command:
define kip hop undef kip byte kip
will expand to:
byte kip
since the macro kip is not defined anymore.
DEFINE and XDEFINE are case-sensitive, so after DEFINE KIP only KIP will be expanded, kip, Kip, kIP and so on will not. By using IDEFINE or XIDEFINE instead of DEFINE or XDEFINE you define a case-insensitive macro. So:
idefine kip 1 byte kip,KIP,kiP,Kip
expands to:
byte 1,1,1,1
The syntax for DEFINE with arguments is:
DEFINE name(arguments) replacement
There should be no space between the macro name and the opening parenthesis ( and when there are more then one arguments, they should be separated by commas. Instead of DEFINE, you can also use IDEFINE, XDEFINE or XIDEFINE, which mean the same as with macros without arguments. For example:
idefine hop(param) byte param*param\ word 0 Hop(1) Hop(2)
will expand to:
byte 1*1 word 0 byte 2*2 word 0
You cannot use UNDEF on text macros with arguments, and you cannot re-define them. However, it is possible to overload them, meaning defining a new macro with the same name, but with a different number of arguments:
define hop(param) byte param*param define hop(param1, param2) byte param1*param1, param2+param2 hop(3) hop(4,5)
expands to:
byte 3*3 byte 4*4, 5+5
When there are multiple parameters, they should be separated by commas. When you need to pass a comma as part of a parameter, the parameter (or just the comma) should be surrounded by { and } (braces). Braces are filtered out.
To expand to multiple lines, the \ (backslash) operator can be used:
define bywo(p1,p2) byte p1\ word p2 bywo(40h,8000h)
will eventually result in:
byte 40h word 8000h
Procedure macros can be used like assembler commands or assembler mnemonics and can expand to multiple lines. The syntax is:
MACRO name parameters statements ENDMACRO
Macros are case-sensitive, unless you use IMACRO instead of MACRO.
An example without parameters:
macro BDOS call 5 endmacro ld c,5 BDOS
results in:
ld c,5 call 5
If you define a macro with the same name as an assembler command or a Z80 mnemonic, you can use @ (at) to not invoke the macro:
macro ccf byte 0 endmacro ccf ; macro @ccf ; the Z80 instruction
Macro parameters exist in two kinds: named parameters and numbered parameters. The named parameters will be explained first.
An example with one named parameter:
macro BDOS fun ; macro definition ld c,fun call 5 endmacro BDOS 5 ; macro call
expands to:
ld c,5 call 5
With : (colon) you can specify defaults for omitted parameters.
macro BDOS fun:5 ld c,fun call 5 endmacro BDOS
expands to:
ld c,5 call 5
When there are multiple parameters, they should be separated by commas. When you need to pass a comma as part of a parameter, the parameter (or just the comma) should be surrounded by { and } (braces). This way you can also include commas in the default:
macro string param: { "default",0 } byte param endmacro string { "mooi weer",0,0 } string
expands to:
byte "mooi weer",0,0 byte "default",0
When you define the last parameter to be 'greedy' with + (plus), all following parameters will be put into the last one, including the commas:
macro string param+ byte param endmacro string "kip",0,34
expands to:
byte "kip",0,34
Of course it is also possible to give the greedy parameter a default:
macro string num:32, str+:"default",0 byte num, str endmacro
Instead of naming the parameters it is also possible to define the number of parameters:
macro dbyte 2 byte @1, @2 endmacro
defines a macro dbyte which expects two parameters. Use @1 to refer to the first parameter, @2 to the second and so on. It is also possible to define a range:
macro dbyte 2..3 byte @1, @2 ifnb @3 byte @3 endif endmacro
This defines a macro that needs two parameters and takes at most three. The IFNB statement is used to check if the third parameter is used. It is possible to define defaults for omitted parameters:
macro string 0..1 "Hoppa!" byte @1 endmacro
And the last numbered parameter can be made greedy:
macro string 0..1+ "Hoppa!",0 byte @1 endmacro
It is also possible to combine named and numbered parameters, by putting a comma between them:
macro onzin name:"Kees", 3 byte name,0 byte @1, @2, @3 endmacro
Just like text macros, procedure macros can be overloaded:
macro out9 xor a endmacro macro out9 reg ld a,reg endmacro macro out9 reg1,reg2 out9 reg1 out9 reg2 endmacro
You can use * (asterisk) to define macros with many parameters, or when the number of parameters is not known at the time of definition.
macro atleastone 1..* byte @0 endmacro macro anynumber * byte @0 endmacro
@0 Contains the number of numbered arguments passed to the macro. You can use the REPEAT statement together with ROTATE to iterate through the arguments:
macro cbyte 1..* byte @0 repeat @0 byte @1 rotate 1 endrepeat endmacro
ROTATE rotates the arguments to the left by the given number of places. So rotate 1 will rotate the value of @2 to @1, @3 to @2 and so on. The last value will get the value of @1. If the argument to ROTATE is negative, the arguments are rotated to the right.
Macro functions are a bit like defined text macros. The call is replaced with the returned text. Use the EXITMACRO command to return text:
macro defined name ifdef name exitmacro -1 else exitmacro 0 endif endmacro
You could also use EXITMACRO in a macro procedure; it just stops the macro expansion and does not return a value.
When invoking or calling a macro function you must enclose the argument list in parentheses, even when there are no arguments. There are no spaces allowed between the name and the opening parentheses:
if defined(DEBUG) or not defined(HOPPA) byte 0 endif
If you want to return the result of an expression and not the expression itself as text, use XEXITMACRO:
macro twotimes 1 xexitmacro @1+@1 endmacro lab=2 byte twotimes(lab)
this expands to: byte 4
and not to: byte lab+lab
It is not possible to generate code from macro functions; all assembler instructions and data definitions are ignored.
Normally Sjasm will not expand a macro within itself. If you want to expand a macro recursively, use macro.recursive:
macro.recursive HOP count if count byte count HOP count-1 endif endmacro HOP 3
this expands to:
byte 3 byte 2 byte 1
Most of the time it is easier to just use a loop.
When you define a local label inside a macro, the label will be local to the macro, each time it is expanded. You must use @ to escape from this behavior, if desirable:
macro test kip0 .kip1 @.kip2 endmacro module main hoi test
This defines the following labels: main.hoi, main.kip0, 0>kip1, main.kip0.kip2. As you can see labels local to macros get the form number>labelname. After the first @ the system behaves the same as labels outside macros.
To access a label that has the same name that is defined in an outside macro or loop, use .@ in front of a label instead of . (dot). The number of @s denotes the number of nesting levels:
macro test .hop ; hop 1 repeat 2 call .hop ; hop 2 jp .@hop ; hop 1 call .@@hop ; hop 0 .hop ; hop 2 endrepeat endmacro macro test2 .hop ; hop 0 test endmacro test2
To set a new value to a label defined outside a loop (or macro), you should also use .@:
macro test 1 .teller:=0 repeat $1 .@teller:=.teller+1 byte .teller endrepeat endmacro
If you would use just .teller, you would define a new label, local to the repeat loop.