St. Johns is the capital and principal port for Antigua and Barbuda. Popular with cruise ships, the affluent cruise ship terminal shopping centre with its designer boutiques and jewellery shops contrasts sharply with the dilapidated yet colourful city surrounding it.
Position 17° 07'38"N, 61° 52'07"W (harbour entrance)
See the main Noonsite/Antigua/Formalities page for full details.
It is still necessary to clear into Antigua in person at the Customs Office before proceeding to the marina or fuel dock.
This is not the most convenient place to clear in as it is set up for ships rather than yachts.
The Port Authority is located at the outer end of the peninsula on the north side of the harbour. The dock is usually occupied by commercial vessels but, if space is available, you may stop there briefly to clear-in, otherwise anchor off Heritage Quay and use the Customs & Immigration post located nearby. This is not always manned so it may be necessary to walk to the main office on the north side of the harbour about fifteen minutes from Heritage Quay.
Last updated October 2015.
The inner harbour between the deep water port and St John's waterfront provides a good anchorage with secure holding in mud for yachts drawing less than 9ft. Ensure you anchor on the 12ft shelf and not in the dredged cruise ship turning circle. No fees are charged for anchoring here.
Dinghies can be left at Treasury Pier and water is available at Keeling Point.
Limited docking and facilities are available at Redcliffe Quay. This is an attractive area of shops and restored historic building, but probably best avoided when a cruise ship is in the harbour.
Groceries and other provisions are readily available in St. Johns and often cheaper than from other parts of the island.
Last updated December 2014.


| Covers |
Is the cloud infrastructure healthy, performing and efficient
|
Application Performance Monitoring (APM).
Server-side code instrumentation for performance and errors
|
APIs and Blackbox. Are our underlying APIs up, performing well (globally) and returning the right data?
|
Are web pages up, performing well (globally) and returning the right content?
|
APM for Client Side Code Instrumentation for performance and errors
|
Has our code or infrastructure been compromised or have vulnerabilities?
|
| Examples |
- Databases
- Disks
- Compute
- Lambda Functions
- Networks (VPCs)
|
- DB Queries
- API Queries
- 3rd party API invocations
- Custom instrumentation markers (statsD)
- Errors
- Function invocation rate/frequency
- Lambda Invocations
|
- Uptime
- (Global) Latency
- Accuracy
- 3rd Party Contract/SLA Monitoring
|
- Uptime
- Latency
- Accuracy
- Synthetic user monitoring
- Real user monitoring
- Transaction monitoring
|
- Web page errors
- Web page speed
- Mobile errors
- Mobile speed
|
- Unauthorised Access
- Intrusion Detection
- Compromised "Supply Chain" (libraries)
- DDoS
|
|
Example Tools
Green -> yellow -> teal: Current implementation level
|
- AWS
Cloudwatch
- CloudHealth
- NewRelic
|
- NewRelic
- AWS Xray
- Dashbird
|
|
- Pingdom
- Catchpoint
- StatusCake
|
- NewRelic
- NewRelic
- Rollbar
- Mobile
- Firebase Monitoring
- Mobile
- Crittercism
- Mobile
- Crashlytics
|
- Incapsula
- Snyk
- AWS
GuardDuty
- AWS Macie
- AWS Security hub
|
|
Responsible and Accountable roles/functions
(RACI)
|
|
|
|
- QA
- Service Delivery
- Product Owners
|
- Devs
- QA
- Service Delivery
- Product Owners
|
|
|
Current overall maturity
|
low to medium
|
low to medium
|
very low
|
medium to high
|
low to medium
|
very low
|
|
Maturity criteria
What does good look like?
|
- Can you pick up infra issues ahead of time
- Do you have detailed load stats on underlying infra
- Do you have enough information to make good infra rightsizing decisions
- Can you spot underlying infra issues
- Can you easily visualise all your data
|
- Can you pick up code issues picked up ahead of time
- Do you have detailed stats on load and app load profiles
- Do you have custom StatsD type metrics to show behaviours e.g Total Articles served today
- Do you have detailed stats on application behaviour under load
- Do you have a comprehensive view on 3rd party integrations
- Do you have a handle on how each deployment affects application performance
- Can you detect runtime errors very quickly
- Do you have detailed info that enables you to make the right optimisations
- Can you easily visualise all your data
|
- Do you have a comprehensive view on 3rd party integrations
- Do you have a handle on how each deployment affects application performance
- Can you detect API errors before they ripple too far up the stack
- Can you quickly detect schema changes/breaks early (contract monitoring)
- Do you have detailed info on Global api performance
- Can you easily visualise all your data
|
- Can you detect, monitor and audit website uptime
- Do you have detailed global data on website performance
- Can you ensure that website content is consistently accurate
- Can you easily visualise all your data
|
- Can you pick up code issues picked up ahead of time
- Do you have detailed stats on load and app load profiles
- Do you have detailed stats on application behaviour under load
- Do you have a comprehensive view on 3rd party integrations
- Do you have a handle on how each deployment affects application performance
- Can you detect runtime errors very quickly
- Do you have detailed info that enables you to make the right optimisations
- Do you have data on user behaviours
- Do you have data on the platforms your users are using?
- Can you easily visualise all your data
|
- Can you pick up security issues ahead of time
- Do you get regular alerts and remedies on new vulnerabilities
- Do you get heuristic pickup of suspicious behaviour on your infra and apps
- Do you have constant data on current threat/exposure level
- Do you get best practice recommendations automatically
- Can you easily visualise all your data
|


"HANAN "merciful. (1.) A Benjamite (1 Chronicles 8:23). (2.) One of David’s heroes (1 Chronicles 11:43). (3.) Jeremiah 35:4. (4.) A descendant of Saul (1 Chronicles 8:38). (5.) One of the Nethinim (Ezra 2:46). (6.) One of the Levites who assisted Ezra (Nehemiah 8:7). (7.) One of the chiefs who subscribed the covenant (Nehemiah 10:22).
"HANAN "merciful. (1.) A Benjamite (1 Chronicles 8:23). (2.) One of David’s heroes (1 Chronicles 11:43). (3.) Jeremiah 35:4. (4.) A descendant of Saul (1 Chronicles 8:38). (5.) One of the Nethinim (Ezra 2:46). (6.) One of the Levites who assisted Ezra (Nehemiah 8:7). (7.) One of the chiefs who subscribed the covenant (Nehemiah 10:22).


About Me
Hi I'm Alix, my background is actually in horticulture, I spent the last 10 years managing Sloat Garden Center. Plants have been a hobby of mine for a long time but I needed a new challenge and I would like to turn plants back into a hobby versus my line of work. I figured if I could learn the latin names for most species of plants in California, I can learn how to code. This class is definitely a challenge for me, I'm going to be honest and say I'm struggling through this first project. I've never even looked at code before the pre-work but I know with time and repetition I will get this. My first vegetable garden was the same way, I didn't give up and now I'm a great gardener, I hope to apply that mentality to this endeavor.


Frog-Lies Settings
Interface
Run on startup
Enable shortcuts
Show bubbles
Play sounds
Blink icon
On Upload
Open archives in browser
Open images in browser
Open audio in browser
Open text in browser
Copy link to clipboard
Automatically append extension
Save uploads to
Selection Rectangle
Visible
Show dimensions
Border Color:
Border Opacity:
Fill Color:
Fill Opacity:
Capture Behavior
Windows:
Capture entire window
Capture inner window
Full Screen:
Capture all monitors
Capture only primary monitor
Capture monitor mouse is in
Files:
Archive multiple files; upload single files as-is
Archive everything before uploading
Archive everything but images
Don't archive anything; upload only first file
Don't archive anything; upload all files
Tray Icon Behavior
Left Click:
Nothing
Open Settings
Open Menu
Upload Window
Upload Screen
Begin Crop
Upload Clipboard
Upload Audio
Begin Recording GIF
Copy Last Upload to Clipboard
Open Last Upload in Browser
Right Click:
Nothing
Open Settings
Open Menu
Upload Window
Upload Screen
Begin Crop
Upload Clipboard
Upload Audio
Begin Recording GIF
Copy Last Upload to Clipboard
Open Last Upload in Browser
Middle Click:
Nothing
Open Settings
Open Menu
Upload Window
Upload Screen
Begin Crop
Upload Clipboard
Upload Audio
Begin Recording GIF
Copy Last Upload to Clipboard
Open Last Upload in Browser
Double Click:
Nothing
Open Settings
Open Menu
Upload Window
Upload Screen
Begin Crop
Upload Clipboard
Upload Audio
Begin Recording GIF
Copy Last Upload to Clipboard
Open Last Upload in Browser
Formats
Archives:
Zip
7Zip
Tar
Tar/BZip2
Tar/GZip
Images:
PNG
Jpeg
BMP
GIF
Smart
Sound:
WAV
FLAC
OGG/Vorbis
OGG/Opus
Image Quality:
Audio Quality:
Sounds
Startup:
Begin Upload:
Finish Upload:
Error:
Leave the fields blank to use the default resource, or use resource://[number] to specify one.
User Info
Service:
i.frogbox.es
imgur
puush
Username:
Password:
Shortcuts
Capture Window:
Capture Screen:
Capture Selection:
Capture Clipboard:
Quit Frog-Lies:
Toggle Functionality:
Commit Changes


Another great time hacking at #brightnightclub. Bots, APIs and harrowing tales of rate-limiting. 7/20/2015, 11:11:41 PM Favs: 0 Retweets: 0 link
Thanks @spydermonkee and @RenewFinancial for making it happen! @1337807 we missed you 😭 7/20/2015, 11:14:41 PM Favs: 3 Retweets: 0 link


For non-OneSentence Passages, the SentenceID is the ID of the last sentence of the passage.
For non-OneSentence Passages, the relevance is the relevance of the last sentence of the passage.
Results from 3 different indexes Combined in one table.
Indexes: OneSentence, TwoSentences, ThreeSentences.
| Passage Type | DocumentID: SentenceID | Relevance | Passage | VSM Score | LMDirichlet Score | LMJelinekMercer Score |
|---|
Display results from one index containing all type of segmentation.
All passages indexed in the indexes were also indexed in one (AllSegmentation) Index!
| Passage Type | DocumentID: SentenceID | Relevance | Passage | VSM Score | LMDirichlet Score | LMJelinekMercer Score |
|---|


--- title: Tensorboard keywords: fastai sidebar: home_sidebar summary: "Integration with [tensorboard](https://www.tensorflow.org/tensorboard) " description: "Integration with [tensorboard](https://www.tensorflow.org/tensorboard) " ---
from nbdev.showdoc import *
First thing first, you need to install tensorboard with
pip install tensoarboard
Then launch tensorboard with
tensorboard --logdir=runs
in your terminal. You can change the logdir as long as it matches the log_dir
you pass to TensorBoardCallback
(default is runs
in the working directory).
#from fastai2.vision.all import *
#from fastai2.callback.all import *
#pets = DataBlock(blocks=(ImageBlock, CategoryBlock),
# get_items=get_image_files,
# splitter=RandomSplitter(),
# get_y=RegexLabeller(pat = r'/([^/]+)_\d+.jpg$'))
#dls = pets.dataloaders(untar_data(URLs.PETS)/"images", item_tfms=RandomResizedCrop(460, min_scale=0.75), bs=32,
# batch_tfms=[*aug_transforms(size=299, max_warp=0), Normalize.from_stats(*imagenet_stats)])
#opt_func = partial(Adam, lr=slice(3e-3), wd=0.01, eps=1e-8)
#learn = cnn_learner(dls, resnet50, opt_func=opt_func, metrics=error_rate).to_fp16()
#learn.fit_one_cycle(3, cbs=TensorBoardCallback(Path.home()/'tmp'/'runs', trace_model=False))


'No substantive progress' in talks as CN Rail workers strike enters fourth day
by Christopher Reynolds, The Canadian PressMONTREAL - The strike at the country's biggest railway has entered its fourth day with no resolution in sight as round-the-clock negotiations continue under the watch of federal mediators.
The Teamsters union says that "no substantive progress has been made" since 3,200 workers hit the picket lines early Tuesday morning.
The union claims Quebec's propane shortage "appears to be largely manufactured" by Canadian National Railway Co. amid rising pressure from industry and Prairie premiers to reconvene Parliament ahead of schedule and pass back-to-work legislation.
Premier Francois Legault said yesterday the province is days away from running out of propane, which heats hospitals and nursing homes and fuels operations in agriculture and mining.
The Teamsters Canada Rail Conference says CN's decision to transport freight other than propane using employees who remain on the job "is a business decision."
CN Rail is rejecting the union's claim that the strike concerns workplace health and safety, suggesting instead that it revolves around worker compensation.
-- with files from Stephanie Taylor
This report by The Canadian Press was first published on Nov. 21, 2019.


Q: Can I use my LinkedIn Profile?
A: Yes you can! You can integrate your existing professional networks by giving us permission through our app.
Q: Do I need to make a new cover letter for every application?
A: You can just upload your resume and relevant metrics to our site through our simple integration tools. There will be sections for industry standard questions that we encourage you to answer. Of course a specific recruiter might have a separate supplement for you to fill out!
Q: Does this service integrate with my calendar?
A: Yes! LinkUpWith.Me is designed to work with your phone’s calendar. We will automatically send you timely reminders on event times and due dates. In addition there will be a separate feed where you can see what your friends do.
Q: Will my information be made public?
A: You’ll always be in total control of your information! We take data security and privacy very seriously.  If you give us permission we’ll take your information and match you up with ideal candidates for your relevant interests and career fields.
Q: Can my friend recommend me?
A: We’re all about increasing interactions between students and recruiters. We’ll have sections (if a recruiter wants outside input) for your friends to vouch for you.
Q: Can I restrict who gets invited to my event?
A: We are all about helping you maximize your talent search. You are in total control of who you invite to your event with powerful filters to find the exact candidate pool you desire. Of course if you’ll allow us we’ll maximize your search capabilities by bringing in students from all over who fit your desired criteria.
Q: Can I manage my recruiters through the app?
Yes you can! We make it easy for recruiters to coordinate corporate activities through personalized logins with centralized information sharing. You can continuously get updates on what your recruiters feel about students from all over the country.


--- title: Selecting layout: component ---
A very important task that allows the user to group and signify what components they wish to focus on.
Since selecting something is such a common task, there is a typical behavior associated with it. When an item is selected it is usually highlighted in a different color. In terms of computers there are many types of items that can be selectable. For example when selecting text, the user would left click and drag over the desired text to select. For folders and files, a user could mouse over and hover the desired item and see a dim highlight encapsulating the item. If the user wants to select that item they would click on it and the dim highlight would change to a more opaque one, signifying the selection.
There are also different methods of selecting. Notably when paired with the buttons Shift and Ctrl.
When using the button Shift while selecting, the user can click where to begin the selection and then use a second click to signify where to end the selection.
When using the button Ctrl while selecting, the user can click or highlight on separate items and group them as a single selection.
A selecting event is simply the process of clicking or drag-clicking text or items on the screen.
Commonly there are to select one item, the user would click on desired item and thus the item is selected. However if the user wanted to select multiple items, the user would have to drag-click and highlight the section of text or items the wish.
Checkbox Selection
List selection. Can use Shift and Ctrl to select multiple options.
Youtube video explaining how to select multiple files and folders.
There are many variations of what is selectable and how to select it. There are three main variations.
Text Selecting
When performing a text selection, the user goes through three actions:
1.) Clicking on-screen where the user would like to begin the selection.
2.) Holding the click and dragging the cursor so the desired text is highlighted.
3.) Releasing the click and finish the selecting.
Folder/File Selecting
When selecting multiple folders/files, a user can use the same methodology as text selection. However, when selecting a single file or folder a user just needs to follow two steps.
1.) Choosing what folder/file to select and hover over it. Notice there a dim highlight surrounds the folder/file.
2.) Click on the desired folder/file. Notice how the dim highlight turned more opaque after clicking.
Checkbox Selecting
When performing a selection on checkboxes, the user goes through two steps.
1.) Choosing which checkbox to select and hover over it. Notice there a dim blue highlight surrounds checkbox.
2.) Click on the desired checkbox. Notice a check has appeared in the box.
Learnability/Memorability: Selecting is a basic and universal task a user can perform on almost all user interfaces today. Because of this selecting something on multiple user interfaces are very similar. The only difference is the types of peripherals are available to the user. Once a user learns to perform selecting with certain peripherals (i.e. mouse or touch screen), then should be able to figure it out on different platforms.
Efficiency/Errors: Selecting is a simple task and therefore should be performed seamlessly and lawlessly. With the selected items or text being highlighted in a noticeable color after selection should improve efficiency because the user will notice the difference. There are additional functions that the user can use to improve their selecting experience which are the Shift and Ctrl buttons on the keyboard.
Satisfaction: Does not really apply. Users do not find any satisfaction in selecting items in the user interface. Therefore this metric is not needed.
Perhaps one most important interaction design principle that selecting something must follow is feedback. Users must never doubt whether:
Typically in Windows 7, selecting is a very simple task. It supports the three variants of selecting that are detailed above. In the explorer, the user can select through any folder structure, any type of file, and text in any text editor. Windows 7 default color to signify if something is highlighted is blue. However on the desktop a selection of a folder or file is highlighted with a clear outline. These colors are specific to Windows and their operating system. An application that is run in Windows could have a different color to signify a selection. Above in the typical appearances is where some selection is done in Windows 7. Also the addition functions of Shift and Ctrl are allowed in Window 7 where Shift selects from a start and end, while Ctrl allows multiple selections of single targets.
Typically in Android, selecting is different than operating systems like Windows and OSX. It does support the three variants that are explained above. However since there is no mouse the user has to rely on touch. To select a single target, usually the user would have to press and hold until more option pop up. To select multiple targets is the same process however the user would just select more. Selecting on Android 4.4.4 is very seamless and self explanatory. The user knows when something is selected because there more options and menus will pop up in response to the long press.


public abstract class TrcTone
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TrcTone.Waveform
This enum type specifies the sound waveform to be used in playing a note.
|
| Constructor and Description |
|---|
TrcTone(java.lang.String instanceName,
TrcTone.Waveform defWaveform)
Constructor: Create and initialize an instance of the object.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
applySoundEnvelope(short[] buffer,
int sampleRate,
double attack,
double decay,
double sustain,
double release)
This method applies the sound envelope to the sound data.
|
protected void |
genSineWave(short[] buffer,
int sampleRate,
double frequency,
double volume)
This method generates the wave data for a sine wave with the specified frequency and volume.
|
protected void |
genSquareWave(short[] buffer,
int sampleRate,
double frequency,
double volume)
This method generates the wave data for a square wave with the specified frequency and volume.
|
protected void |
genTriangleWave(short[] buffer,
int sampleRate,
double frequency,
double volume)
This method generates the wave data for a triangle wave with the specified frequency and volume.
|
abstract boolean |
isPlaying()
This method determines if the tone is still playing.
|
void |
playTone(double frequency,
double duration)
This method plays a tone with the specified frequency and duration using default waveform and full volume.
|
void |
playTone(double frequency,
double duration,
double volume)
This method plays a tone with the specified frequency, duration and volume using default waveform.
|
abstract void |
playTone(TrcTone.Waveform waveform,
double frequency,
double duration,
double volume)
This method plays a tone with the specified waveform, frequency, duration and volume.
|
abstract void |
stop()
This method stops the playing tone.
|
public TrcTone(java.lang.String instanceName, TrcTone.Waveform defWaveform)
instanceName
- specifies the instance name.defWaveform
- specifies the default waveform type.public abstract void playTone(TrcTone.Waveform waveform, double frequency, double duration, double volume)
waveform
- specifies the waveform type.frequency
- specifies the tone frequency in Hz.duration
- specifies the duration in seconds.volume
- specifies the volume in the range 0.0 to 1.0.public abstract void stop()
public abstract boolean isPlaying()
public void playTone(double frequency, double duration, double volume)
frequency
- specifies the tone frequency in Hz.duration
- specifies the duration in seconds.volume
- specifies the volume in the range 0.0 to 1.0.public void playTone(double frequency, double duration)
frequency
- specifies the tone frequency in Hz.duration
- specifies the duration in seconds.protected void genSineWave(short[] buffer, int sampleRate, double frequency, double volume)
buffer
- specifies the buffer to hold the generated waveform data.sampleRate
- specifies the sampling rate of tbe waveform.frequency
- specifies the tone frequency in Hz.volume
- specifies the volume in the range 0.0 to 1.0.protected void genSquareWave(short[] buffer, int sampleRate, double frequency, double volume)
buffer
- specifies the buffer to hold the generated waveform data.sampleRate
- specifies the sampling rate of tbe waveform.frequency
- specifies the tone frequency in Hz.volume
- specifies the volume in the range 0.0 to 1.0.protected void genTriangleWave(short[] buffer, int sampleRate, double frequency, double volume)
buffer
- specifies the buffer to hold the generated waveform data.sampleRate
- specifies the sampling rate of tbe waveform.frequency
- specifies the tone frequency in Hz.volume
- specifies the volume in the range 0.0 to 1.0.protected void applySoundEnvelope(short[] buffer, int sampleRate, double attack, double decay, double sustain, double release)
buffer
- specifies the buffer that contains the wave data.sampleRate
- specifies the sampling rate of tbe waveform.attack
- specifies the attack time in seconds.decay
- specifies the decay time in seconds.sustain
- specifies the sustain level in proportion (0.0 to 1.0).release
- specifies the release time in seconds.


Two bulk carriers collided in Parana river
by Mikhail VoytenkoBulk carrier FORTUNE MIRACLE collided with bulk carrier INTERLINK FORTUITY at around 0300 UTC Nov 23 in front of San Lorenzo, Argentina, Parana river. Understood FORTUNE MIRACLE was under way with 45100 tons of soy on board, bound for Santos, and struck anchored INTERLINK FORTUITY portside. Extent of damages unknown, as of 1330 UTC Nov 24 both ships remain anchored in front of San Lorenzo. On SL24 news website photo both ships immediately after collision.
Bulk carrier FORTUNE MIRACLE, IMO 9340544, dwt 82338, built 2009, flag HK, manager CIDO SHIPPING HK CO LTD.
Bulk carrier INTERLINK FORTUITY, IMO 9711755, dwt 38734, built 2017, flag Marshall Islands, manager BERNHARD SCHULTE-HKG LP, HK (EQUASIS).


quickSort :: [Int] -> [Int]
quickSort [] = []
quickSort (x:xs) = l ++ [x] ++ r
where
(l, r) = partition (< x) xs
quickSort :: [a] -> [a]
quickSort [] = []
quickSort (x:xs) = l ++ [x] ++ r
where
(l, r) = partition (< x) xs
Enter Typeclasses
quickSort :: [a] -> [a]
quickSort [] = []
quickSort (x:xs) = l ++ [x] ++ r
where
(l, r) = partition (< x) xs
a
must be comparableInt
, Char
, [Int]
are comparable.Int -> Int
, a -> Bool
are not comparable.Int
, Char
, [Int]
are instances of the typeclass Ord
quickSort :: (Ord a) => [a] -> [a]
quickSort [] = []
quickSort (x:xs) = l ++ [x] ++ r
where
(l, r) = partition (< x) xs
typechecks!
newtype Polynomial = Poly [Int]
*Main> Poly [1,2,3]
:10:1:
No instance for (Show (Polynomial a0))
arising from a use of ‘print’
In the first argument of ‘print’, namely ‘it’
In a stmt of an interactive GHCi command: print it
need to make Polynomial
to a member of Show
newtype Polynomial = Poly [Int]
deriving Show
*Main> Poly [1,2,3]
Poly [1,2, 3]
works now.. but not so great
show
instance Show Polynomial where
show (Poly []) = "0"
show (Poly (x:xs))
= (show x) ++ " + " ++ (concat $ intersperse " + " terms)
where
terms
= map (\(a,b) -> (show a) ++ " x^" ++ (show b)) (zip xs [1..n])
n = length xs
*Main Data.List> Poly [1..5]
1 + 2 x^1 + 3 x^2 + 4 x^3 + 5 x^4
our pretty printing works now!
...make them a member of the typeclass Ord
instance Ord Polynomial where
(Poly xs) `compare` (Poly ys)
| length xs < length ys = LT
| length xs > length ys = GT
| head xs < head ys = LT
| head xs > head ys = GT
| otherwise = EQ
Prelude Data.List> :r
[1 of 1] Compiling Main ( randomStuff.hs, interpreted )
randomStuff.hs:20:10:
No instance for (Eq Polynomial)
arising from the superclasses of an instance declaration
In the instance declaration for ‘Ord Polynomial’
Failed, modules loaded: none.
Ord
class extends the class Eq
. Ord
typeclass looks something like this:
class (Eq a) => Ord a where
(<), (<=), (>=), (>) :: a -> a -> Bool
max, min :: a -> a -> a
Eq
are available as a part of the Ord
class.Ord
is a subclass of Eq
.
newtype Polynomial = Poly [Int]
deriving Eq
... and that fixes our code.
Enter Num
Typeclass
instance Num Polynomial where
(Poly fs) + (Poly []) = Poly fs
(Poly []) + (Poly gs) = Poly gs
(Poly (f:fs)) + (Poly (g:gs)) = Poly (f+g : rest)
where (Poly rest) = (Poly fs) + (Poly gs)
(Poly (f:fs)) * (Poly (g:gs)) = Poly (f*g : rest)
where (Poly rest) = (Poly [f])*(Poly gs) + (Poly fs)*(Poly (g:gs))
(Poly _) * (Poly _) = Poly []
fromInteger n = Poly [fromInteger n]
abs (Poly xs) = undefined --length xs
signum (Poly xs) = Poly (map signum xs)
negate (Poly xs) = Poly (map (\x -> -x) xs)
*Main> (Poly [1,4,5])+(Poly [1,2,1])
2 + 6 x^1 + 6 x^2
addition works!
*Main> (Poly [1,4,5])*(Poly [1,2,1])
1 + 6 x^1 + 14 x^2 + 14 x^3 + 5 x^4
... so does multiplication
*Main> (Poly [1,1])^5
1 + 5 x^1 + 10 x^2 + 10 x^3 + 5 x^4 + 1 x^5
exponentiation comes for free!
Num
typeclass supports (^)
but we do not need to define it manually.(-)
, as long as we have negate
, and vice-versa.
newtype Polynomial = Poly [Int]
deriving Eq
but why stick to Int
polynomials?
newtype Polynomial a = Poly [a]
deriving Eq
we now have polynomials on arbitrary values
instance Show (Polynomial a)
instance Ord (Polynomial a)
instance Num (Polynomial a)
But how do you show, compare, or add arbitrary types?!
instance Show a => Show (Polynomial a)
instance Ord a => Ord (Polynomial a)
instance Num a => Num (Polynomial a)
... type of types
Polynomial Int
is really a type. We can produce values which inhabit Polynomial Int
*Main> :t (Poly [1,2,3]) :: Polynomial Int
(Poly [1,2,3]) :: Polynomial Int :: Polynomial Int
Polynomial
is not really a concrete type. It is a type constructor.*
*Main> :k Polynomial Int
Polynomial Int :: *
* -> *
*Main> :k Polynomial
Polynomial :: * -> *
(->)
is?
*Main> :k (->)
(->) :: * -> * -> *
Constraint
kind
*Main> :k Ord
Ord :: * -> GHC.Prim.Constraint
meet Functor
*Main> :k Functor
Functor :: (* -> *) -> GHC.Prim.Constraint
fmap
instance Functor [] where
fmap = map
data Tree a = Leaf a | Fork (Tree a) (Tree a)
instance Functor Tree where
fmap f (Leaf x) = Leaf (f x)
fmap f (Fork l r) = Fork (fmap f l) (fmap f r)
Functor
laws
fmap id ≡ id -- identity law
fmap (f . g) ≡ fmap f . fmap g -- composition law
Polynomial
an instance of Functor
too..
instance Functor Polynomial where
fmap f (Poly xs) = Poly (map f xs)
*Main> fmap (+1) (Poly [1,2,3])
2 + 3 x^1 + 4 x^2
data DX a = DX { val :: a, dx :: DX a }
instance Num n => Num (DX n) where
fromInteger x = DX (fromInteger x) 0
...notice the circularity in the definition here.
instance Num n => Num (DX n) where
fromInteger x = DX (fromInteger x) 0
DX x₀ x' + DX y₀ y' = DX (x₀ + y₀) (x' + y')
DX x₀ x' - DX y₀ y' = DX (x₀ - y₀) (x' - y')
x@(DX x₀ x') * y@(DX y₀ y') = DX (x₀ * y₀) (x * y' + y * x')
signum (DX x₀ x') = DX (signum x₀) 0
abs x@(DX x₀ x') = DX (abs x₀) (signum x * x')
instance Fractional n => Fractional (DX n) where
fromRational n = DX (fromRational n) 0
x@(DX x₀ x') / y@(DX y₀ y') =
DX (x₀ / y₀) ((x' * y - x * y') / y ^ 2)
instance Eq a => Eq (DX a) where
a == b = val a == val b
instance Ord a => Ord (DX a) where
compare a b = compare (val a) (val b)
instance Show a => Show (DX a) where
show (DX x (DX x' (DX x'' _))) = show [x, x', x'']
var x = DX x 1
*Main> (\ x -> 7*x^2 + 3*x + 2) (var 5)
[192,73,14]
mySqrt :: (Num a, Ord a, Fractional a) => a -> a -> a
mySqrt eps x = go 1
where
go guess
| abs (guess^2 - x) < eps = guess
| otherwise = go newGuess
where
newGuess = guess - (guess^2 - x)/(2*guess)
*Main> mySqrt 0.001 (var 2)
[1.4142156862745099,0.35356593617839294,-8.832952635110178e-2]
*Main> (1/(2*(sqrt 2)))
0.35355339059327373
eps
*Main> mySqrt 0.0000000000001 (var 2)
[1.4142135623730951,0.35355339059327373,-8.838834764831843e-2]
newtons eps f guess
| abs (f guess) < eps = guess
| otherwise = newtons eps f newGuess
where
newGuess = guess - (x/x')
(DX x (DX x' _)) = f (var guess)
What type is this?
newtons :: (Num a, Fractional a, Ord a) => a -> (a -> a) -> a -> a
randomStuff.hs:75:34:
Couldn't match expected type ‘a’ with actual type ‘DX a’
‘a’ is a rigid type variable bound by
the type signature for
newtons :: (Num a, Fractional a) => a -> (a -> a) -> a -> a
at randomStuff.hs:69:12
Relevant bindings include
guess :: a (bound at randomStuff.hs:70:15)
f :: a -> a (bound at randomStuff.hs:70:13)
eps :: a (bound at randomStuff.hs:70:9)
newtons :: a -> (a -> a) -> a -> a (bound at randomStuff.hs:70:1)
In the first argument of ‘f’, namely ‘(var guess)’
In the expression: f (var guess)
newtons :: (Num a, Ord a, Fractional a) => a -> (DX a -> DX a) -> a -> a
...doesn't work either
newtons eps f guess
| abs (f guess) < eps = guess
| otherwise = newtons eps f newGuess
where
newGuess = guess - (x/x')
(DX x (DX x' _)) = f (var guess)
f
should not only behave as a -> a
but also DX a -> DX a
newtons
is not just polymorphic, but it also wants a polymorphic function as an argumentRank2Types
{-# LANGUAGE Rank2Types #-}
newtons :: (Num a, Ord a, Fractional a) => a -> (forall b. (Num b, Ord b, Fractional b) => b -> b) -> a -> a
...typechecks!
*Main> newtons 0.0000001 (\x -> x^2 - 2) 1
1.4142135623746899
data Op = Plus | Minus | Times | Divide deriving Eq
data Sym a = Lit a
| Var String
| Expr Op (Sym a) (Sym a) deriving Eq
instance Num a => Num (Sym a) where
fromInteger = Lit . fromInteger
(+) = Expr Plus
(-) = Expr Minus
(*) = Expr Times
instance Fractional a => Fractional (Sym a) where
fromRational = Lit . fromRational
(/) = Expr Divide
instance Show Op where
show Plus = "+"
show Minus = "-"
show Divide = "/"
show Times = "*"
instance Show a => Show (Sym a) where
show (Var x) = x
show (Lit n) = show n
show (Expr op e1 e2) = "(" ++ (show e1) ++ ")" ++ show op ++ "(" ++ (show e2) ++ ")"
*Main> val . dx $ (\x -> (x^2 + 2*x + 7)) (var (Var "x"))
((((x)*(1))+((x)*(1)))+(((2)*(1))+((x)*(0))))+(0)
...really need some simplification!
step :: (Eq a, Num a, Fractional a) => Sym a -> Sym a
step (Expr op (Lit n₁) (Lit n₂)) =
Lit $ (case op of Plus -> (+); Minus -> (-); Times -> (*); Divide -> (/)) n₁ n₂
step (Expr Plus
(Expr Times (Lit n₁) (Var x))
(Expr Times (Lit n₂) (Var y)))
| x == y = Expr Times (Expr Plus (Lit n₁) (Lit n₂)) (Var x)
step (Expr Plus (Var x) (Var y))
| x == y = Expr Times (Lit 2) (Var x)
step (Expr Plus 0 n) = n
step (Expr Plus n 0) = n
step (Expr Times 1 n) = n
step (Expr Times n 1) = n
step (Expr Times 0 n) = 0
step (Expr Times n 0) = 0
step (Expr op e₁ e₂) = Expr op (step e₁) (step e₂)
step (atom) = atom
simplify = until . iterate step
where until (x₁ : x₂ : xs) | x₁ == x₂ = x₁
| otherwise = until (x₂ : xs)
*Main> simplify . val . dx $ (\x -> (x^2 + 2*x + 7)) (var (Var "x"))
((2.0)*(x))+(2.0)
not so bad now!
*Main> simplify . val . dx $ (\x -> (1/x)) (var (Var "x"))
(-1.0)/((x)*(x))


Academic-based international internships at the University of Rome is a unique opportunity to begin exploring and cultivating your future career. Industry visit to automobile giants like Maserati and Fiat makes this a perfect way to gain valuable career training.
The University of Rome "Tor Vergata” was founded in 1982. It is ranked among the Top 100 less than 50 years old Universities in the world by both QS© and Times Higher Education.
✓QS Graduate Employability Ranking 2018 of Top 500.
✓#301-400 world rank; #8 national rank
✓#1 in Italy, #60-70 in the world
Digital Management – Key to Innovation and performance is a 2 weeks summer program will focus on the following subjects
✓Digital Management
✓Business analytics
✓Digital Marketing
✓Supply chain Management
✓Strategic Leadership and Change Management
Dates : 15th June 2020 to 27th June 2020
Course Focus - The Program will focus on new models for innovation and project management performance and digital management methods are imparted during this intensive program. Students learn about methods and related concepts within the field of digital management and seminars will be held on Business analytics, Supply chain Management, Strategic Leadership and Change Management.Strategic Leadership and Change Management It will equip and enhance student’s theoretical knowledge with required tools and techniques and thereby giving them an edge over others on the global job market competition with real time case studies.
Program Outcome - Students benefit from the program on how Digital Management has the potential to integrate and streamline entire business process in order to increase business performance and Increase productivity.
Business Analytics will equip students with tools that empowers businesses to make quick, informed decisions thereby increasing productivity Supply Chain helps in companies gain competitive edge, many global companies are recognising and adopting the expanding role of digitalisation as a fundamental Business strategy to realise innovation. Agile innovation methods is the Mantra for Learning by doing, Rapidly delivering working products, developing innovative delivery methods and adapting to changing requirements.
Who can attend? The summer program is for students studying in BBA/MBA, with focus on Management as specialization.
Program Cost: Non-EU students- Total program 2800 Euros. This includes Flight, visa fee, travel in Rome, company visit travel cost, accommodation(shared) and airport transfer. (Fees does not include food). Students are accepted only through universities, individual students are not accepted.
Contact : For further information and registration please contact Dr. Sunil Kumar<EMAIL_ADDRESS>Applying Mechatronics and ICT towards Innovation in real-life (AMIIRL)
5 days intensive workshop course in class. ❯1 day cultural exchange program ❯2 days Industrial visit ❯2 days sight seeing 2 days sight seeing in France and Switzerland (optional subject to number of students)
The following study modules in Mechatronics sector are: ❯Control systems for automotive and robotics ❯Internal combustion engines ❯Innovative materials for mechatronics ❯Nanotechnologies ❯Radiocommunications for Internet of Things ❯Embedded systems for mechatronics
Dates : 18th May 2020 to 31st May 2020
Program Outcome - Summer school in Mechatronics and ICT aims to provide an intensive knowledge of the topics covered in the summer program. The students can also have an awareness of the type of skills that can be acquired by enrolling in the degree of Mechatronics Engineering and in ICT and Internet Engineering. The school will be open to all interested students, who can also be interested in continuing their education at our University.
Course Structure - The course will last 2 weeks. The first Week is dedicated to the actual teaching activity, while the second one carries out visits to companies in the sectors of interest and the development of simple individual projects. The 5 days of teaching activities would include a good percentage of practical activities(laboratory demonstrations). Three days will be devoted to Mechatronics while two days will be for ICT. The teaching days include 8 hours of lessons / practical activities, 4 in the morning and 4 in the afternoon. For each of the 6 courses planned for Mechatronics, we foresee 2 blocks of 2 hours, one in the morning (for any necessary hints of theory) and one in the afternoon (basically for practical / experimental sessions). As for ICT, the 2-day teaching will be divided into theoretical courses of 2 hours in the morning and practical classes in laboratories in the afternoon.
Key Feature: Industry visit to Maserati and Fiat
Who can attend? The summer program is for students studying in Mechanical, Materials Science, Mechtronics, Robotics and allied majors.
Program Cost (Non-EU students): Total program cost 2600 Euros. This includes Flight, visa fee, travel in Rome, company visit travel cost, accommodation(shard) and airport transfer.Fee does not include Food.Students are accepted only through universities, individual students are not accepted.
Contact :For further information and registration please contact Dr. Sunil Kumar,tarangapade@economia.uniroma2.it


class AttackComponent : Component
Component for attacking other Pieces.
AttackComponent(piece: Piece)
attacked piece
val piece: Piece


Community
Maintainers
Please do not contact the maintainers directly unless you have a specific need to contact just them. Please use the Github discussions if at all possible.
- Dave Cramer (@davecramer)
- Vladimir Sitnikov (@vlsi)
- Sehrope Sarkuni (@sehrope)
- Brett Okken (@bokken)
- Jorge Solórzano (@jorsol)
Previous Maintainers
The original JDBC driver was written by Adrian Hall. Peter Mount and Barry Lind have maintained it in the past, but have since moved on to other things. We would also like to recognize the work previously done by the following
Developers
Most recent contributors can be found here
Translators
| Language | Author |
|---|---|
| cs - Czech | Petr Dittrich |
| de - German | Andre Bialojahn |
| es - Spanish | Diego A. Gil |
| fr - French | Xavier Poinsard |
| it - Italian | Giuseppe Sacco |
| pl - Polish | Jaroslaw Pyszny |
| pt_BR - Brazilian Portuguese | Euler Taveira de Oliveira |
| ru - Russian | Serguei Mokhov |
| sr - Serbian | Bojan Skaljac |
| tr - Turkish | Devrim Gunduz, Nicolai Tufar |
| zh_CN - Simplified Chinese | Weiping, Kuo ChaoYi |
| zh_TW - Traditional Chinese | Zhenbang Wei, Kuo ChaoYi |


Your name:
Your affiliation:
Academic or profesional profile:
Please add the url of a public profesional profile for verification of expertise.For example: public profile in ORCID, google scholar, linkedIn, university portal or own webpage.
Your e-mail :
Add your e-mail, if you would like to be contacted by our team.
Your qualifications
Describe how your area of expertise relates to ecosystems research, conservation or management:
Describe how you want to contribute to the global ecosystem typology:


New to site?
©2016 All Rights Reserved. Gentelella Alela! is a Bootstrap 3 template. Privacy and Terms
Already a member ? Log in


Apparently the movie tickets also get us into the after-party for the premiere. Nifty!
2/5/2009, 2:04:33 PM
Favs: 0
Retweets: 0
link--- layout: tweet ---
Apparently the movie tickets also get us into the after-party for the premiere. Nifty!
2/5/2009, 2:04:33 PM
Favs: 0
Retweets: 0
link


var_export (PHP 4 >= 4.2.0, PHP 5, PHP 7) var_export — 输出或返回一个变量的字符串表示 描述 mixed var_export ( mixed $expression [, bool $return ] ) 此函数返回关于传递给该函数的变量的结构信息，它和 var_dump() 类似，不同的是其返 回的表示是合法的 PHP 代码。 您可以通过将函数的第二个参数设置为 TRUE，从而返回变量的表示。 比较 var_export() 和 var_dump().
1, 1 => 2, 2 => array ( 0 => 'a', 1 => 'b', 2 => 'c', ), ) */ $b = 3.1; $v = var_export($b, TRUE); echo $v; /* 输出： 3.1 */ ?>User Contributed Notes 23 notes =============================================================================== Looks like since version 5.4.22 var_export uses the serialize_precision ini setting, rather than the precision one used for normal output of floating-point numbers. As a consequence since version 5.4.22 for example var_export(1.1) will output 1.1000000000000001 (17 is default precision value) and not 1.1 as before. =============================================================================== I found that my complex type was exporting with stdClass::__set_state() in places. Not only was that strange and messy, it cannot be eval()-ed back in at all. Fatal error. Doh! However a quick string-replace tidy-up of the result rendered it valid again. $macro = var_export($data, TRUE); $macro = str_replace("stdClass::__set_state", "(object)", $macro); $macro = '$data = ' . $macro . ';'; And now the string I output *can* be evaluated back in again. =============================================================================== Like previously reported, i find var_export() frustrating when dealing with recursive structures. Doing a : fails. Interestingly, var_dump() has some logic to avoid recursive references. So : works (while being more ugly). Unlike var_export(), var_dump() has no option to return the string, so output buffering logic is required if you want to direct the output. ===============================================================================
", but do remember to wrap it in htmlspecialchars() as well. =============================================================================== (This replaces my note of 3-July-2009. The original version produced no output if a variable contained an empty array, or an array consisting only of empty arrays. For example, $bigarray['x'] = array(); Also, I have added a second version of the function.) The output can be difficult to decipher when looking at an array with many levels and many elements on each level. For example: will return: $bigarray = array( ... (500 lines skipped) ... 'mod' => 'charlie', Whereas the routine below can be called with: and it will return: $bigarray = array() ... (500 lines skipped) ... $bigarray['foo']['bar']['0']['somethingelse']['mod'] = 'charlie' Here's the function: \n"; else: print $varname . " = array()
\n"; foreach ($varval as $key => $val): recursive_print ($varname . "['" . $key . "']", $val); endforeach; endif; } ?> For those who want a version that produces valid PHP code, use this version: \n"; else: print $varname . " = array();
\n"; foreach ($varval as $key => $val): recursive_print ($varname . "[" . var_export($key, true) . "]", $val); endforeach; endif; } ?> If your output is to a text file and not an HTML page, remove the
s. =============================================================================== I have been looking for the best method to store data in cache files. First, I've identified two limitations of var_export verus serialize. It can't store internal references inside of an array and it can't store a nested object or an array containing objects before PHP 5.1.0. However, I could deal with both of those so I created a benchmark. I used a single array containing from 10 to 150 indexes. I've generate the elements' values randomly using booleans, nulls, integers, floats, and some nested arrays (the nested arrays are smaller averaging 5 elements but created similarly). The largest percentage of elements are short strings around 10-15 characters. While there is a small number of long strings (around 500 characters). Benchmarking returned these results for 1000 * [total time] / [iterations (4000 in this case)] serialize 3.656, 3.575, 3.68, 3.933, mean of 3.71 include 7.099, 5.42, 5.185, 6.076, mean of 5.95 eval 5.514, 5.204, 5.011, 5.788, mean of 5.38 Meaning serialize is around 1 and a half times faster than var_export for a single large array. include and eval were consistently very close but eval was usually a few tenths faster (eval did better this particular set of trials than usual). An opcode cache like APC might make include faster, but otherwise serialize is the best choice. =============================================================================== =============================================================================== I learned the hard way that if var_export encounters a resource handle it exports it as "NULL", even if it is a valid handle. The documentation states that a handle cannot be exported, but it does not describe what happens if you try to do so anyway. I had been using var_export in some debugging code while tracing a problem with a resource handle not being generated and ended up thinking that null handles were still being generated long after the problem had been fixed. =============================================================================== I didn't see this simple little item anywhere in the user notes. Maybe I'm blind! Anyway, var_export and print_r both use spaces and carriage returns for formatting. Sent to an html page, most of the formatting is lost. This simple function prints a nicely formatted array to an html screen: "," "), var_export( $myArray,true))."
"; } ?> =============================================================================== [john holmes] True, but that method would require you to open and read the file into a variable and then unserialize it into another variable. Using a file created with var_export() could simply be include()'d, which will be less code and faster. [kaja] If you are trying to find a way to temporarily save variables into some other file, check out serialize() and unserialize() instead - this one is more useful for its readable property, very handy while debugging. [original post] If you're like me, you're wondering why a function that outputs "correct PHP syntax" is useful. This function can be useful in implementing a cache system. You can var_export() the array into a variable and write it into a file. Writing a string such as '; ?> where $data is the output of var_export() can create a file that can be easily include()d back into the script to recreate $array. The raw output of var_export() could also be eval()d to recreate the array. ---John Holmes... =============================================================================== The output can be difficult to decipher when looking at an array with many levels and many elements on each level. For example: will return: $bigarray = array( ... (500 lines skipped) ... 'mod' => 'charlie', Whereas the routine below can be called with: and it will return: $bigarray['firstelement'] = 'something' ... (500 lines skipped) ... $bigarray['foo']['bar']['0']['somethingelse']['mod'] = 'charlie' Here's the function: \n"; else: foreach ($varval as $key => $val): recursive_print ($varname . "['" . $key . "']", $val); endforeach; endif; } ?> =============================================================================== When trying to use __set_state() to rebuild a huge, tricky class use the following: class Foo { public $a; public $b; public $c; public $d; public $e; public $f; public $g; public $h; public $i; public function __set_state($array) { $obj = new ArrayConfig; foreach($array as $k => $v) { eval('$obj->'.$k.' = '.$v.';'); } return $obj; } } This will return a reconstructed version of the class without having to manually type each individual object in the class manually (as shown in the __set_state() example) =============================================================================== It doesn't appear to be documented, but the behaviour of `var_export()` changed in PHP 7. Previously, `var_export(3.)` returned "3", now it returns "3.0". =============================================================================== If you call var_export() on an instance of stdClass, it attempts to export it using ::__set_state(), which, for some reason, is not implemented in stdClass. However, casting an associative array to an object usually produces the same effect (at least, it does in my case). So I wrote an improved_var_export() function to convert instances of stdClass to (object) array () calls. If you choose to export objects of any other class, I'd advise you to implement ::__set_state(). $value) { $array[] = var_export($key, true).' => '.improved_var_export($value , true); } $result = 'array ('.implode(', ', $array).')'; } else { $result = var_export($variable, true); } if (!$return) { print $result; return null; } else { return $result; } } // Example usage: $obj = new stdClass; $obj->test = 'abc'; $obj->other = 6.2; $obj->arr = array (1, 2, 3); improved_var_export((object) array ( 'prop1' => true, 'prop2' => $obj, 'assocArray' => array ( 'apple' => 'good', 'orange' => 'great' ) )); /* Output: (object) array ('prop1' => true, 'prop2' => (object) array ('test' => 'abc', 'other' => 6.2, 'arr' => array (0 => 1, 1 => 2, 2 => 3)), 'assocArray' => array ('apple' => 'good', 'orange' => 'great')) */ ?> Note: This function spits out a single line of code, which is useful to save in a cache file to include/eval. It isn't formatted for readability. If you want to print a readable version for debugging purposes, then I would suggest print_r() or var_dump(). =============================================================================== NOTE: If an object Foo has __set_state() method, but if that object contains another object Bar with no __set_state() method implemented, the resulting PHP expression will not be eval()-able. This is an example (object Test that contains an instance of Exception). one = $one; $this->two = $two; } public static function __set_state(array $array) { return new self($array['one'], $array['two']); } } $test = new Test('one', new Exception('test')); $string = var_export($test, true); /* $string = Test::__set_state(array( 'one' => 'one', 'two' => Exception::__set_state(array( 'message' => 'test', 'string' => '', 'code' => 0, 'file' => 'E:\\xampp\\htdocs\\test.Q.php', 'line' => 35, 'trace' => array ( ), 'previous' => NULL, )), )) */ eval('$test2 = '.$string.';'); // Fatal error: Call to undefined method Exception::__set_state ?> So avoid using var_export() on a complex array/object that contains other objects. Instead, use serialize() and unserialize() functions. =============================================================================== var_export() differs from print_r() for variables that are resources, with print_r() being more useful if you are using the function for debugging purposes. e.g. =============================================================================== This function can't export EVERYTHING. Moreover, you can have an error on an simple recursive array: $test = array(); $test["oops"] = & $test; echo var_export($test); => Fatal error: Nesting level too deep - recursive dependency? in ??.php on line 59 =============================================================================== to use my_var_export(), it is as beautiful as var_export() and as could deal with recursive reference as print_r(): (.*)\n/', '/\ [([^\d].*)\] => (.*)\n/'), array('array (', '\1 => \'\2\''."\n", '\'\1\' => \'\ 2\''."\n"), substr(print_r($var, true), 0, -1)); $rtn=strtr($rtn, array("=> 'array ('"=>'=> array (')); $rtn=strtr($rtn, array(")\n\n"=>")\n")); $rtn=strtr($rtn, array("'\n"=>"',\n", ")\n"=>"),\n")); $rtn=preg_replace(array('/\n +/e'), array('strtr(\'\0\', array(\' \'=>\' \'))'), $rtn); $rtn=strtr($rtn, array(" Object',"=>" Object'<-")); if ($is_str) {return $rtn; } else {echo $rtn; } } ?> =============================================================================== Caution! var_export will add a backslash to single quotes ('). You may want to use stripslashes() to remove the mysteriously added backslashes.


Your project is ready; now you can download it to build and deploy locally. launch it on OpenShift Online.
The launch process will create both a GitHub repository containing your new Booster and a new project on OpenShift Online to automatically build and deploy the codebase.
Working...
Done; your project is created, and is now building its way towards deployment on OpenShift Online!
An error occured; you can try to run this action again.


Java {@link org.netbeans.spi.knockout.Bindings model class} to describe JSON-like
Knockout bindings and
register {@link org.netbeans.spi.knockout.BindingsProvider a provider} used by the editor infrastructure
to query for the {@link org.netbeans.spi.knockout.Bindings model}.


{{statusString}}
>
Login
Please login to proceed.
User information is incorrect. Please try again.
Username
Password
Login
Register
Forgot password?


Use the file selector to choose a file.
Make sure the extension of the file you are trying to submit is .cfr.
Use the button "" next to the file selector to upload and optimize the selected file.
Use the "
Use the button "" directly above the source code editor to optimize the model from the editor.
Use the "Optimization backend: " drop down to select among various backends: Choco-based, or Z3-based ones.
Use various specific to the backends settings like the number of cores or number of instances, if needed.


Mentoring during nightfall: traps & tips
Creating a sushi card
Translating
Creating a sushi card : the goal ?
- Demonstrating a principle
- Try to do something "specific"
- Generic coding tips
- Split it and take screenshot regurlarly/incremental save
- Avoid writing guides about a language you just tried
Creating a sushi card: phase 2
- Get it proof read
- Find some kids interested to test it
- Share it!
Translating
- Language switch
- Verbosity
- Tone
- Images
Commitment
Or knowing how to finish a project
Or knowing when to say "Stop, i can't do it alone"


The map below shows where today's college baksetball players come from. States that are shaded in darker colors are home to more players than counties in ligher shades. No players reported a grey county as their home.
The buttons on the right filter players by conference, college, or position. To adjust for population size, you can toggle the map so that color shades are based on the number of players as a percent of each county's college-aged male population.


My name is Miguel Gaspar and the blog purpose is to provide information on the value and how to build IoT and Big Data solutions, providing business, architectural and technical guidance that can be useful to developers, architects and top level business managers.


Yew Labs anticipates that you will need to use the Projection Device for this puzzle.
{% include "round/override-codes.tmpl" with code1="9PO1svIqaDCVYd7bMtjSs7yp3OXoyeBYWrTem+cnhMW/FB+wa638PoVVoKE=" code2="q2B1WynMqNKuG0fYl9eIDELP/JRf5iedvsb2YLDV8099bbqOWwnweO5q9bE=" code3="F7FZNGPXqjP88m94yOQfRx1G04laNTwhfWwrmTbJAtnOs33X5CDLu4eszkg=" %}
The Alchemist is looking pretty scary these days...


--- layout: post date: 2009-10-05 time: "09:00:00" authors: ["Greg Wilson"] title: The Hacker Within tags: ["Community", "University of Wisconsin - Madison"] ---
I did a web search for "software carpentry" a couple of weeks ago to update my impressions of how the material was being used, and stumbled across The Hacker Within,a self-help group at the University of Wisconsin for grad students in science who want to improve their computing skills. I had a great chat with the organizers by phone on Thursday, and hope to get there in the spring to meet them in person. It's always great to meet the people the course is designed to help; I'd welcome pointers to other groups if you have them.