1. Installation¶
Prerequisites
General: NumPy, SciPy, Swig, pyWin32, MatlPlotLib, Lxml, OpenMDAO
Wind Plant Framework: FUSED-Wind (Framework for Unified Systems Engineering and Design of Wind Plants)
Supporting python packages: Pandas, Algopy, Zope.interface, Sphinx, Xlrd, PyOpt, py2exe, Pyzmq, Sphinxcontrib-bibtex, Sphinxcontrib-zopeext, Numpydoc, Ipython
Clone the repository at https://github.com/WISDEM/AeroelasticSE or download the releases and uncompress/unpack from the website link at the bottom the `AeroelasticSE site<http://nwtc.nrel.gov/AeroelasticSE>`_.
Install the AeroelasticSE plugin with the following command from an activated OpenMDAO environemnt.
$ plugin install
To check if installation was successful try to import the module from an activated OpenMDAO environment.
$ python -c "import AeroelasticSE"
Then run the unit tests for the various FAST wrappers. NOTE: these will require the user to correctly set the location of FAST and its input files. Currently this is done by editing the source files themselves. (The tests are in the source modules).
$ python runFAST.py --help
$ python runFAST.py
$ python runFAST.py -t
$ python FAST_component.py
$ python FusedFAST.py
$ python iecApp.py -i some_cases.txt -f runbatch-control.txt
Please see Documentation.


Wales to play Austria to kick off Euro 2020 preparations
Wales will take on Austria in March 2020
by Katie SandsWales will face Austria in a friendly next March to step up preparations for Euro 2020, it's been announced.
Ryan Giggs' men will take on the Austrians on Friday, March 27, 2020, in their "first preparation match of the year" ahead of facing Switzerland, Turkey and Italy in the European Championships.
It will allow the Wales manager a chance to shape his team in time for his first tournament as Wales boss.
Wales last faced Austria in Cardiff during the 2018 World Cup qualifiers, where Ben Woodburn’s solo strike proved crucial in a 1-0 victory.
With Austria also heading to the Euros next summer, both teams will be looking to get their preparations off to a winning start.
The Football Association of Wales say a location, kick-off time and ticket details will be announced in due course.


Musikata uses some newer web technologies which your browser doesn't support.
We recommend using the latest version of one of these browsers:
We apologize for the inconvenience.


Review: Celine Dion moves past loss on excellent new album
by MARK KENNEDYCeline Dion, “Courage” (Columbia Records)
The search is officially over: If you’ve been wondering what the saddest song of 2019 is, we’ve found it. It’s on Celine Dion’s new album, “Courage.”
Track No. 11, “For the Lover That I Lost,” will have you weeping for two good reasons - one of the songwriters is Sam Smith, that master of grief, while the singer herself is still mourning twin deaths.

“Courage” is her first English-language album since the passing of her husband, Rene Angélil, and brother, Daniel, only two days apart in 2016. Dion has dealt with the losses before on her French album “Encore un soir,” released seven months after the deaths, and this time she’s moving gingerly forward.
There are soaring ballads of lost love but mostly indicators of hope and perseverance, like when she sings “I’m flying on my own (on the wings of your love)” on “Flying on My Own” and on the title track, where she vows to keep going: “Courage don’t you dare fail me now.”
“I have missed you, so heavily/But the weight’s kind of lifting,” she sings on the gospel-tinged “I Will Be Stronger,” adding: “I don’t feel like giving up just because you climbed off.”
There are even stems shooting up new love - the ‘60s throwback “How Did You Get Here” and the gentle piano ballad written by Skylar Grey called “Falling in Love Again.” The cover of the album shows Dion walking away from flames, her dress sullied, a woman bowed but not broken.
Since Dion isn’t a songwriter, it’s not always easy to know what she’s going through. But what she chooses to add her titanic voice can tell volumes. And the 16-track “Courage” is a very strong mature pop album with modern and EDM touches showcasing one of the world’s most jaw-dropping vocalists, this time often rawer than we are used to.
Dion is like a sonic chameleon that changes colors depending on who is nearby and this time Sia is around for two very Sia songs (“Baby” and “Lying Down” with David Guetta), but there are also offerings from such longtime collaborators as Liz Rodrigues and Jorgen Elofsson.
The standard edition album ends with the spacy, dark and melancholy “Perfect Goodbye” - and Dion even slips in the rare curse word. She’s angry. “Don’t need to understand if God’s got a plan/It’s out of our hands anyway,” she sings. We’re just glad her heart will go on.
Mark Kennedy is at http://twitter.com/KennedyTwits
Sign up for Daily Newsletters
Copyright © 2019 The Washington Times, LLC.
Please read our comment policy before commenting.


Home
Developers
Upgrades
MyWeb
The best
1$
Free
site to make a stylish website
Click Here To Continue
Start Creating!


Moodler is a software modular synthesiser for MacOSX. It consists of two parts:
Audio is synthesised by modules that are connected using patch cables from the outputs of one modules to the inputs of another module.
In Figure 1 we have three modules visible.
We also have blue and orange wires connecting these modules.
Note that in Moodler all signals are sampled at the same rate (typically 48kHz). Some Moodler modules input and output integers and those cables have been coloured green.
The inputs to a module look like grey circles with a centre that indicates the type of the input.
You can connect a cable by dragging from an output to an input. The cable will be coloured according to the colour of the output.
You can drag a cable from its end (in an input) if you wish to plug it in somewhere else. Or if you release a dragged cable away from any input it will just vanish. You can drag multiple cables to a single input. Only the last will be active with the previous cables being coloured gray. The previous cable will become active again should you delete a later cable. When I fix the bug, the 'c' key will rotate through the cables attached to an input.
When you start the moodler UI you'll see two modules like those in Figure 2
The module on the left corresponds to MIDI input. That requires a separate bridge application which will be described later. The module on the right is the output module. You'll need to connect an audio signal to it to hear anything.
Before running moodler you'll need to build it.
Currently, in Moodler/MoodlerLib
you'll need to
cabal install
Moodler/Moodler
cabal build
make
The installation of Moodler
needs to be global until
hint issue #5
is resolved.
The make
will go away eventually.
If these steps fail I'll have to leave you to your Haskell-fu.
For example you may need to install alex and happy and mess with
the dependencies.
To run Moodler go into Moodler/Moodler
in two terminals.
In one run the server with
cabal run moodler
and in the other run the GUI with
cabal run ui
For a minimal example we'll listen to a voltage controlled oscillator (VCO).
We'll run a script to build a VCO.
The scripts are in Moodler/Moodler/scripts
and we want the one
called vco
.
Move the cursor to the centre of the UI window and hit alt-r
.
Now type in the script name vco
and hit enter.
You should end up with a view like in Figure 3.
Now drag from bottom right output of the VCO panel to the
input on the right.
You should hear a middle C played with a saw wave.
Turn the volume up if you hear nothing.
You should see some confirmatory output from the window running the
moodler
process.
If you don't then something is wrong.
Now you can start experimenting. Trying connecting different outputs from the VCO to the output. Try dragging the "Tune" knob. If you select the square wave output (the top right of the four bottom outputs) then try dragging the "PWM" knob.
You can drag on any component to move it around.
If you drag an input that has no cables leading to it you'll find you can
separate it from the panel where it lives.
In fact, you can use alt-drag
to move any component around.
You can build your own modules by moving components around.
More of that later.
Moodler comes with some patches you can play with.
The Moodler UI has a number of built-in key commands.
Apart from those, any script in Moodler/Moodler/scripts
may be bound to a (possibly modified) key.
Here are some built-in commands:
alt-s Save entire patch, i.e. everything currently on screen.
When prompted for a name the final result is constructed by adding the extension
.hs
and saving in Moodler/Moodler/saves
.
The save format is in fact a Haskell script.
Saving with the empty patch name uses the current project patch name.
Note: If you save a patch with thousands of components and cables it can take a few seconds to reload because it needs to be compiled. At a future date I may implement an interpreter for the tiny subset of Haskell used in saves.
alt-l Load an entire patch. See alt-s for a description of how the file name is formed. As a side effect it also sets the current project patch name.
alt-r Run a script.
The file name is constructed similarly to alt-s except that the
script comes from Moodler/Moodler/scripts/
.
alt-w Write a script. Saves a script corresponding to the currently selected components. The script will recreates any dependencies needed, for example the contents of planes linked to by proxies. (I haven't written plane/proxy docs yet.)
alt-z Undo last command. I need to sprinkle more checkpoints through the code to make this behave better.
shift-alt-Z Redo the last thing undone.
" Toggle showhidden
mode.
See hide/unhide.
Here are some commands from the default moodlerrc
:
alt-h Hide currently selected components.
They still exist, they're simply not rendered.
Useful when you want to build a module without making its internal parts visible.
Hidden objects can be viewed in showhidden
mode.
shift-alt-H Unhide currently selected components.
Hidden objects can be selected for unhiding when in showhidden
mode.
Modules are built from primitives.
Examples of primitives are sine wave oscillators or addition operations.
The primitives are defined by the .msl
files in
Moodler/Moodler/modules
.
When moodler
is launched it automatically generates a module
for each primitive in scripts/
.
These are named after the primitive with an underscore prepended.
Other modules in scripts/
were constructed non-automatically,
sometimes by writing Haskell code, sometimes by using alt-w.
Here are some modules:
The vco module generates band-limited waveforms. It supports four types of output:
This is the band-limited form of a square wave varying from -1 to 1. This means it actually overshoots -1 and 1 slightly. This is correct behaviour. (See Gibbs phenomenon.)
This is a band-limited triangle wave varying from 0 to 1.
This is a band-limited saw wave varying from -1 to 1.
The input controls are:
There are quite a few approaches to building modules in Moodler. I think this is the simplest. The VCA module essentially just multiplies its two inputs together. Often you think of the first input as being the gain and the second input as the signal being amplified. Let's build a nonlinear voltage controlled amplifier that multiplies the signal by the square of the CV input.
We can start by creating a VCA by using alt-r followed by _vca:
Now make another VCA and direct the output of the first to the second:
Now we want to build the external plugs that cables will attach to. So using alt-r we create suitable pairs of ins and outs using an invocation of audio_warp and two of warp. These each create pairs of disembodied ins out outs that are magically connected even though you can't see a cable. Hook these up as so:
The collection of components attached by cables to the VCAs will now go inside a container. Select them with the mouse like so:
Now hit g which places the selected components inside a new container. Hit esc to get back out to the top level again. You'll see the endpoints and an icon representing the container.
Let's get rid of the ugly icon. Select the container and hit ~
to select the filename of a better looking image.
I used panel_bit_and.png but you can make your own image and store it in
the assets/
directory.
Now alt-drag the ins and outs to their position on the container.
The ins and outs are correctly placed but they're not attached to the container yet. With the mouse select the container (and the ins and outs) and hit p. This attaches everything to the selected container. There is an important concept here: the g command placed a set of components inside a container, but p attached them on the outside. Every container has an inside and outside like this. To look inside a container ctrl-click on it. Use esc get back out again.
Once you have finished making your new component you can save it as a script. Select the component and save it with alt-w. You can then run your script again with alt-r and you'll get a copy. Note that the script places the created object at the cursor relative to the position of the cursor so when you save, place the cursor in the centre of what you're saving.
You might want to attach a knob to the CV input at the top left. Select it with a cursor and hit k. You can alt-w this too. But! When you select components to alt-w you don't want to miss hidden components. The script that k runs hides the original input. So hit " before selecting and saving and hit it again afterwards to toggle showhidden mode.
Some notes:
warp
and audio_warp
to connect the inside
of a container with the outside world without having to break a cable in
two.
warp
components are nothing other than an id
module with the container
removed.


Engineering the Future
#seta
spark
ID #
Last Name
First Name
Year
Course
Block
Please check if you are a New member
Mobile Number
Email Address
Next
<-Represents a taken slot, each timeslot can accomodate up to 6 people
{{schedule.timeslot}}
Apply


<%= currentPage.summary %>
<% _.each(currentPage.education, function(education) { %>
-
<%= education.school %>
<%= education.degree.type %>, <%= education.degree.subject %> — <%= education.graduationYear %>
<% }); %>
<% _.each(currentPage.skills, function(skill) { %>
- <%= skill %>
<% }); %>


Test Page for fiigii
URL
RESTful Fromat
JSON
HTML
Arguments
Clear
Method
GET
POST
PUT
DELETE
Send
Response
Error


Using Firebase to create an instance of the Google Drive CMS without the need to write server side code to handle the JSON payload.
A demo spreadsheet for a blog application sending its content to a Firebase endpoint.
Using Firebase to create an instance of the Google Drive CMS without the need to write server side code to handle the JSON payload.
A demo spreadsheet for a blog application sending its content to a Firebase endpoint.


| Path: | vendor/plugins/asset_packager/lib/jsmin.rb |
| Last Update: | Sun Jun 07 20:44:41 -0500 2009 |
jsmin.rb 2007-07-20 Author: Uladzislau Latynski This work is a translation from C to Ruby of jsmin.c published by Douglas Crockford. Permission is hereby granted to use the Ruby version under the same conditions as the jsmin.c on which it is based.
/* jsmin.c
2003-04-21
Copyright (c) 2002 Douglas Crockford (www.crockford.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
The Software shall be used for Good, not Evil.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| EOF | = | -1 |
jsmin.rb 2007-07-20 Author: Uladzislau Latynski This work is a translation
from C to Ruby of jsmin.c published by Douglas Crockford. Permission is
hereby granted to use the Ruby version under the same conditions as the
jsmin.c on which it is based.
/* jsmin.c 2003-04-21 Copyright (c) 2002 Douglas Crockford (www.crockford.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. The Software shall be used for Good, not Evil.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
action — do something!  Wow! action recognizes a regular expression if it is preceded by ( or , or =.
# File vendor/plugins/asset_packager/lib/jsmin.rb, line 102 102: def action(a) 103: if(a==1) 104: $stdout.write $theA 105: end 106: if(a==1 || a==2) 107: $theA = $theB 108: if ($theA == "\'" || $theA == "\"") 109: while (true) 110: $stdout.write $theA 111: $theA = get 112: break if ($theA == $theB) 113: raise "Unterminated string literal" if ($theA <= "\n") 114: if ($theA == "\\") 115: $stdout.write $theA 116: $theA = get 117: end 118: end 119: end 120: end 121: if(a==1 || a==2 || a==3) 122: $theB = mynext 123: if ($theB == "/" && ($theA == "(" || $theA == "," || $theA == "=" || 124: $theA == ":" || $theA == "[" || $theA == "!" || 125: $theA == "&" || $theA == "|" || $theA == "?" || 126: $theA == "{" || $theA == "}" || $theA == ";" || 127: $theA == "\n")) 128: $stdout.write $theA 129: $stdout.write $theB 130: while (true) 131: $theA = get 132: if ($theA == "/") 133: break 134: elsif ($theA == "\\") 135: $stdout.write $theA 136: $theA = get 137: elsif ($theA <= "\n") 138: raise "Unterminated RegExp Literal" 139: end 140: $stdout.write $theA 141: end 142: $theB = mynext 143: end 144: end 145: end
get — return the next character from stdin. Watch out for lookahead. If the character is a control character, translate it to a space or linefeed.
# File vendor/plugins/asset_packager/lib/jsmin.rb, line 49 49: def get() 50: c = $stdin.getc 51: return EOF if(!c) 52: c = c.chr 53: return c if (c >= " " || c == "\n" || c.unpack("c") == EOF) 54: return "\n" if (c == "\r") 55: return " " 56: end
isAlphanum — return true if the character is a letter, digit, underscore, dollar sign, or non-ASCII character
# File vendor/plugins/asset_packager/lib/jsmin.rb, line 40 40: def isAlphanum(c) 41: return false if !c || c == EOF 42: return ((c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') || 43: (c >= 'A' && c <= 'Z') || c == '_' || c == '$' || 44: c == '\\' || c[0] > 126) 45: end
jsmin — Copy the input to the output, deleting the characters which are insignificant to JavaScript. Comments will be removed. Tabs will be replaced with spaces. Carriage returns will be replaced with linefeeds. Most spaces and linefeeds will be removed.
# File vendor/plugins/asset_packager/lib/jsmin.rb, line 151 151: def jsmin 152: $theA = "\n" 153: action(3) 154: while ($theA != EOF) 155: case $theA 156: when " " 157: if (isAlphanum($theB)) 158: action(1) 159: else 160: action(2) 161: end 162: when "\n" 163: case ($theB) 164: when "{","[","(","+","-" 165: action(1) 166: when " " 167: action(3) 168: else 169: if (isAlphanum($theB)) 170: action(1) 171: else 172: action(2) 173: end 174: end 175: else 176: case ($theB) 177: when " " 178: if (isAlphanum($theA)) 179: action(1) 180: else 181: action(3) 182: end 183: when "\n" 184: case ($theA) 185: when "}","]",")","+","-","\"","\\", "'", '"' 186: action(1) 187: else 188: if (isAlphanum($theA)) 189: action(1) 190: else 191: action(3) 192: end 193: end 194: else 195: action(1) 196: end 197: end 198: end 199: end
mynext — get the next character, excluding comments. peek() is used to see if a ’/’ is followed by a ’/’ or ’*’.
# File vendor/plugins/asset_packager/lib/jsmin.rb, line 67 67: def mynext() 68: c = get 69: if (c == "/") 70: if(peek == "/") 71: while(true) 72: c = get 73: if (c <= "\n") 74: return c 75: end 76: end 77: end 78: if(peek == "*") 79: get 80: while(true) 81: case get 82: when "*" 83: if (peek == "/") 84: get 85: return " " 86: end 87: when EOF 88: raise "Unterminated comment" 89: end 90: end 91: end 92: end 93: return c 94: end


Curtain call, various objects, 2017
No title yet, various objects, 2017
Detail of 'No title yet', 2017
Reservoir wall (part of Not title yet), various objects, 2017
Reservoir wall (part of Not title yet), various objects, 2017
Detail of 'No title yet', metal tubes, crepe paper, iron, 2017
Detail of 'No title yet', blue styrofoam, wooden stick, 2017
Studio view March 2017
Somewhere, coloured paper, wooden stick, platic straws, 2016
No title yet, installation with various objects, 2017
Strandriet, platic straws, 2016
Sky piece, canvas painting, 2015
Bermuda, paper and set triangle, 2017
Studio view 2017
End of year studio reservoir / family photo, various objects, 2017
Cupid, plastic, ribbon and styrofoam, 2017
Detail of 'No title yet', 2017
Lus, plastic, 2016
Studio detail, 2017
Steenlicht, 2017
Reservoir detail, 2017
Marble piece, marble and plastic straws, 2017
Detail of 'No title yet', 2017
Detail of 'No title yet' 2017
Overall installation view graduation show, 2017
Bow, string and beads, 2016
Yellow detail, feather and ribbon, 2017
Studio view May 2017
Split, nail and ribbon, 2017


Russell leads Louisiana-Lafayette over McNeese 85-80
by The Associated PressLAFAYETTE, La. (AP) — Cedric Russell had 22 points as Louisiana-Lafayette narrowly beat McNeese 85-80 on Saturday night.
Louisiana-Lafayette (2-0) led throughout the second half but struggled to hold off the Cowboys down the stretch. The Ragin’ Cajuns led 75-65 with 89 seconds remaining in the game when McNeese rallied to get within a point.
McNeese’s Leondre Washington had a layup and a 3-pointer to help the Cowboys close to 79-76 with 39 seconds remaining. Washington completed a three-point play to close to 80-79 before the Ragin’ Cajuns made four straight free throws to complete the scoring.
Jalen Johnson added 21 points for the Ragin’ Cajuns. Johnson also had seven rebounds and five blocks for ULL. Kobe Julien added 15 points and Dou Gueye chipped in 11 for Louisiana-Lafayette (2-0).
Dru Kuxhausen had 18 points for the Cowboys (0-2). A.J. Lawson added 14 points. Washington had 11 points.
Louisiana-Lafayette takes on TCU on the road on Tuesday. McNeese plays Southern-New Orleans at home on Monday.
___
For more AP college basketball coverage: https://apnews.com/Collegebasketball and http://twitter.com/AP_Top25
___
Elements of this story were generated by Automated Insights, http://www.automatedinsights.com/ap, using data from STATS LLC, https://www.stats.com
The Associated Press


Notifications
Get notified whenever something big happens in the school.
Get notified whenever something big happens in the school.
Easilly view your timetable with just the click of a button and get alerts about your class at the end of every period.
Get easy access to Visions produced content such as the 4U Paper and showcase.
MyNSB is avaliable on almost all major platforms. MyNSB can either be downloaded through the appstore or through a beta channel.
If you wish to gain access to the Beta channel please contact NSBHS Visions directly.
The myNSB application is avaliable on Apple App store for students with an iOS device. Do note however that the minimum SDK requirement for the iOS app is 10.
Core Dev: Hanyuan Li
myNSB is avaliable on the Google Play store for easy download for students with an Android device. Do note however that the minimum OS requirement is Android Lollipop.
Core Dev: Varun Sethu
The myNSB app is avaliable as a Web application for students without smart devices, do note that this platform is not avaliable during the Beta Release.
Core Dev: Gabriel Phua
The Webapp is currently unavliable but we will shoot you an email the second it is if you leave your email below. If you own an admin account then you can find the admin portal at:
https://mynsb.nsbhsvisions.com
Alert me when the Webapp is released


What's 75 million years old and brand spanking new?A teenage Utahcerators!Come to the Saroyan,armed with your best dinosaur roar,when Scott Sampson,Research Curator at the Utah Museum of Natural History,steps to the podium. Sampson's research has focused on the ecology and evolution of late Cretaceous dinosaur and he has conducted flieddwork in a number of countries in Africa


--- layout: page title: "Partner" date: modified: excerpt: comments: true share: false tags: [Partner, collaborateur, Achouri, Ilies, Farid, Max, Brice, Phatza, HaPhuocChi, blog, CV, design, ruby, jekyll, theme, actualité, information, info, actu, frondend, backend, portfolio, design, responsive, template] image: feature: ---


Summary: If there is any chance that your RNCryptor passwords include multi-byte characters (Chinese, for example), you really need to upgrade to RNCryptor 2.2 when it comes out this week.
 But then you all get to learn something, so luckily some good can come of my shame. Please learn something so this isn’t all for naught.
Issue #77 in RNCryptor is one of those classic bugs. Here it is, as gently pointed out to me by Arthur Walasek:
int result = CCKeyDerivationPBKDF(keySettings.PBKDFAlgorithm, // algorithm
password.UTF8String, // password
password.length, // passwordLength
...
I have had this bug since I first wrote this code for iOS 5 PTL, and it’s horrible. The problem, if you haven’t seen it yet, is that -length
returns the number of characters in password
, not the number of bytes. In many languages you can get away with that, but not in multi-byte languages like Chinese.
So what happens when someone uses the password “中文密码”? password.UTF8String
returns 8 bytes, but password.length
returns 4. So we truncate this password down to “中文” (2 characters, 4 bytes) and that’s what we use. That means later, you can decrypt this with anything that’s half-right. “中文xx” is good enough.
The fix is simple. You can either use -lengthOfBytesUsingEncoding:
, or you can create an NSData
with -dataUsingEncoding:
. I prefer the latter, and that’s how I’ve fixed it.
The tricky bit is maintaining backward compatibility. It requires bumping the file version so we can tell which approach we used. But all of that is done and checked in.
Right now, I’m working with Curtis Farnham to make sure that the PHP version is compatible with the latest changes. This bug convinced me to finally write some test vectors so we can keep all the language implementations consistent. Once I get that straightened out, I’ll post a new version of RNCryptor (or by the end of the week either way).


--- layout: post title: Dutch Open Hackathon description: In september 2014 I attended the first Dutch Open Hackathon and together with an awesome team created working prototype for our travel assistance app! date: 2014-09-25 12:00:00 headerImage: img/blog/2014/doh/atnight.jpg header-y: 28 tags: ["tech", "personal"] ---
Last weekend I attended the Dutch Open Hackathon
in the UP building (previously known as IJ-toren) in Amsterdam.
I went there as part of team 'Pi Ducks'. The team consisted of some colleagues from
bol.com (where I started working in July) and a front-end designer we met through Twitter.
We had a pretty broad range of skills in one team!
Our working title was "Ik ga op vakantie en neem mee" which is a Dutch little memory game where everyone has to cite a list of items to bring on holiday, pick a new item and then the turn goes to the next person, who has to cite that entire thing again. N+1.
The idea of the app however, is that you think of a mood or some type of holiday characteristics such as "snow", "sun", "sea", "city" or "adventure". Based on what you like, we will pick a destination for you. After you pick the flight you want, we look at the current weather of the city you're headed for. Based on the temperature among others, we also give you a list of products to bring. So you want "sun" and "sea" in Barcelona? How about some sunscreen, beach towels and a book to read! To get into the mood even more before your holiday begins, we also suggest some dishes based on the location. We had thought of this idea a bit before the hackathon during a meetup we had planned, but we weren't really sure if it was the final plan.
We had quickly decided to make it an HTML5 web app which would make it compatible for all devices. Also something lightweight with a REST API backend. The front-end is a heavily modified Twitter Bootstrap with jQuery for event handling and loading and parsing of the JSON. Meanwhile, we used CSS3 for some subtle animations. The backend is a Gradle project written in Java/Groovy (not everyone knew Groovy well enough, so it got rather mixed) which boots up a Jetty server with Jersey, so we would have a REST API.
Flow of the app
The flow of the app was to find flights leaving from a specific airport for that day from transavia.com (makes it limited to their journeys),
then get the prices and the weather for the destination, after that we would load products from bol.com
based on the type of weather (hard coded mapping, "sun" == "sunscreen") then we would load recipes from ah.nl
(hard coded mapping, "spain" == "spaans", which won't find "paella" unless "spaans" is included in the title).

API-wise we used the APIs provided by Transavia (flight data), Schiphol (airport data), bol.com (product data), Albert Heijn (recipe data).
We also used some APIs and data from other sources, outside of the event, namely openweathermap.org (weather data) and two big JSON lists of
airports and
countries worldwide.
Of those APIs only the bol.com API is up and running, the other APIs were specifically built for the event. Which is a little sad, as it is great data. But perhaps this event has opened their eyes?
App lifecycle
The app is unfortunately not able to go to production or a cloud of some sorts. This is mainly because most of the APIs aren't live anymore.
The Transavia API was also not really used, we used the XML dump that they had made because it offered a little more flexibility.
The Transavia guy also suggested this to us after we asked how to do slightly more difficult queries. He told us that the API was purely built just for this weekend.
There was also some hardcoded categories and mappings in our app. But it was still dynamic and it worked. If someone didn't want to do our Barcelona example, they could easily change it and they would get different results. But in the end, with not enough API data and not enough time or resources to do some smart mapping or machine learning for that 'personal touch', this app won't go live.
The result is a nice looking application that actually works (something I particularly like to point out) and if there was full support for APIs and data could actually work rather well.
Screencast Going on Holiday - Pi Ducks @ Dutch Open Hackathon
I guess by definition this would count as my first hackathon, but it didn't feel like that. The Dutch Open Hackathon (where 'Open' is made significant by the large enterprises; AH, bol.com, Transavia, Philips, TomTom that actually opened up their (often) closed data) was a great success!
There were a couple of issues though. The building was nice and the organisation was thoughtful about a lot of things, but the floors had been unused for a while and the AC didn't work or nobody was able to turn it on for day one. So 40 sweaty nerds with 50 laptops and about 10 external monitors were producing a lot of heat.
Also the communication wasn't that great. Often people had to come in and say "this and that starts right now, even though the program says 9am". I still don't really know who was running the show. There were people in black polo shirts with the Dutch Open Hackathon logo and "Staff" badges, but there were also people in red shirts who were "Organisation". It was a good thing they were all friendly people!
One last tiny issue, but maybe that's personal. I didn't like that in the end we had to do pitches and that that's also how they were judged. Our app lost to a team that only had minimal coding working and just had a good idea and some photoshop prints. But maybe I'm just a sore loser :)
But let's not forget about the good parts, logistically everything was pretty well arranged. There was ample food and even more drinks like water, cola and energy drinks (as everyone knows, caffeine == coder productivity). They managed to get a lot of field beds and blankets, great for those 3 hours of sleep I got. (Guess I should have used the earplugs and sleep mask like my teammate did, who managed to get 8 hours of sleep)
The companies actually showed up and their teams were really helpful. I spoke with Maarten Korz, a representative from Rabobank. He was really happy that he was able to represent his company, and they were finally willing to go forward with APIs and opening their data.
What I also really liked was that we were able to go on the roof of the 18th floor and look over Amsterdam. I loved that.
So will I be at the next hackathon? Hell yes! Will enterprises be there too? I very much hope so!


| Left | Right | |
|---|---|---|
| THD | 0 dB / 0% | 0 dB / 0% |
| THD avg | 0 dB / 0% | 0 dB / 0% |
| THD+N | 0 dB / 0% | 0 dB / 0% |
| THD+N avg | 0 dB / 0% | 0 dB / 0% |
| SNR | 0 dB | 0 dB |
| RMS | 0 dBV / 0 V / 0 Vpp | 0 dBV / 0 V / 0 Vpp |
| Input | 0 dBV / 0 V / 0 Vpp | 0 dBV / 0 V / 0 Vpp |
| Peak | 0 dBV / 0 Hz | 0 dBV / 0 Hz |
| Gain | 0 dB / 0x | 0 dB / 0x |
| Power | 0 W @ 8 Ω | 0 W @ 8 Ω |
| Phase | 0 deg / 0 sec | 0 deg / 0 sec |
Gen1: 0 Hz @ 0 dBV / 0 V / 0 Vpp
Gen2: 0 Hz @ 0 dBV / 0 V / 0 Vpp
FFT: 32k
Attenuator: +42 dBV
External gain: 0 dB
Window type: Hann
Sample rate: 48 kHz
Measure range: 20 Hz - 20000 Hz


--- layout: post title: no title date: '2015-12-22T18:30:43+01:00' categories: - Illustration - Concept Art picture_url: https://film-Storyboards.tumblr.com/post/135742391453 ---


Jeff Kynaston
Resources
Bio
Blog
Work
Hi, I'm Jeff Kynaston
An entreprenuer and aspiring web application developer


Registration Form
Name:
Phone:
Country:
Please select your country...
Bahrain
Saudi Arabia
Kuwait
Gender:
Male
Female
Languages:
English
Arabic
French
Italian
Email:
Password:
Confirm Password:


Toggle navigation
Swapbot Stats
Swapbot
Tokenly
Source
Weekly Tokens In
Total number of swaps receiving these tokens. This is not the number of Tokens received.
Tokens In
Total number of swaps receiving these tokens. This is not the number of Tokens received.
Weekly Tokens Out
Total number of swaps sending these tokens. This is not the number of Tokens sent.
Tokens Out
Total number of swaps sending these tokens. This is not the number of Tokens sent.
Swaps per Day
Number of Swaps per Day.
Total number of swaps.
Sum of all BTC received. This does not include the value of any tokens received.
Sum of all BTC sent. This does not include the value of any tokens sent.


Turtle is a language. It is desiged for expressing data, partuicularly linked data on the web. Just as HTML is used for linked text, Turtle is used for linked data. Turtle expresses stuff about things. Abstract things, real things, people, documents, So where HTML uses the hash sign like in foo.html#intro to refer to an anchor, which is a part of the document, Turtle uses the same hash sign to refer to something defined by the dococument, like students.ttl#bob or profile.ttl#me.
Turtle is simple. The data model it uses, called RDF, is simple. Turtle was originally designed for writing in chat messages, and on whiteboards, and making quick configuration files or test files, so it tries to be concise.
<profile.ttl#me> <http://xmlns.com/foaf/0.1/knows> <students.ttl#bob> .
That is the simplest thing you can say in Turtle: one fact, one subject-verb-object triple. Note it ends with a dot.
There is a shorthand a which you can use as a verb to give the class of a thing, to say what sort of thing it is. Classes, like properties, also have URIs.
<profile.ttl#me> a <http://xmlns.com/foaf/0.1/Person> .
Turtle uses URIs to identify people all the time, so it has a way of abbrevating them. You declare a prefix say at the top of the file, and then use foo: prefix with a colon:
@prefix foaf: <http://xmlns.com/foaf/0.1/> . <profile.ttl#me> a foaf:Person .
Tip: There are a ste of common prefixes for vocabularies we use a lot in @@@.
When you use URIs in angle brackets, then they relative URIs, relative to the URI of the current document. So if the document is, say, https://alice.example.com/public/profile.ttl then
| <#me> | means | <https://alice.example.com/public/profile.ttl#me> |
| <#myHome> | means | <https://alice.example.com/public/profile.ttl#myHome> |
| <students.ttl#bill> | means | <https://alice.example.com/public/students.ttl#bill> |
Things like <#me> and <myhome> are local identifiers within the file you are creating. They are like const in a JS file in a way, local identifiers. The business of the data document you are writing is done in terms of those local identifiers. Becasue local identifiers are used quite a lot, it is useful to declare a prefix, the empty string prefix :, so that they can be just written with a leading colon:
@prefix : <#>. # The empty prefix means this document :alice a :Person; :age 77 . # All local IDs
In what follows we will often assume a file starts with
@prefix : <#>.
As a shorthand, when you have more than one fact about the same subject, you can just use a semicolon ";" to add more :
@prefix foaf: <http://xmlns.com/foaf/0.1/> . <profile.ttl#me> a foaf:Person ; foaf:name "Alice"; foaf:knows <students.ttl#bob> .
You can also, when have multiple objects with the same subject and predicate, just list them with commas between them, so
<profile.ttl#me> a foaf:Person ; foaf:knows <students.ttl#bob>, <students.ttl#charlie>, <students.ttl#david>; foaf:name "Alice".
means the same as:
# Means the same as above <profile.ttl#me> a foaf:Person. <profile.ttl#me> foaf:knows <students.ttl#bob>. <profile.ttl#me> foaf:knows <students.ttl#charlie> . <profile.ttl#me> foaf:knows <students.ttl#david>. <profile.ttl#me> foaf:name "Alice".
Periods are stronger than semicolons, which are stronger than commas, like in English.
Turtle is a free form language: you can add or remove spaces and new lines anywhere. Comments start with a hash sign.
Above we have shown the triples each expressing the ralationship between things: people and classes. You can also put data values in the object position, like the strng "Alice" above. In Turtle (and the RDF data model underneath) values are typed.
| "Alice" | means the string Alice |
| "20" | means a string "20", not the number 20 |
| 20 | means the integer (whole number) 20. |
| 20.0 | means a decimal number |
| 2.0e1 | means a (double precision) floating point number 2*10^1 |
These data types cover a lot of values. You can also explictly write something with and explicit data type from the XML data types @@link standard, XSD. To do that you write the data value as a string, then two carets ^^ and then the XSD datatype itself.
@prefix xsd: <http://www.w3.org/2001/XMLShema#>. <profile.ttl#me> a foaf:Person ; foaf:name "Alice"; foaf:age 21; foaf:height 1.76e0; foaf:bithDate @@@ "1990-03-31"^^xsd:date .
Its also worth mentioning that URIs are yor freind if you wat to given email addresses or telephone numbers, as there are RI schemes for those.
| <tel:+1781-555-1212> | How to do a phone number as a URI |
|<EMAIL_ADDRESS>| How to put in an email address. |
Why give an explicit tel: URI or an explictly typed data field instead of just a string? Because it means that the systems which re-use the data will be able to be smarter, to automatically pick the appropriate way of displaying it or converting into an other format, and so on. The tradition in linked data is stronger data typing, like Python or C rather than JS.
:Alice :homeAddressStreet "Accaia Ave"; :homeAddressNumber 123; :homeAddressCity "Anytown"; :homePhone <tel:+1-781-555-1212> .
its best to add structure for the home and the address.
:Alice :home [ :address [ :street "Accaia Ave"; :number 123; :city "Anytown" ] :phone <tel:+1-781-555-1212> ] .
This reads in English like "Alice has a home which has an address with street "Aaccia Avenue", number 123 and city ANytown, and has a phone number of +1785551212."
This sort of tree structure is very common: in JSON the nested things are objects; in XML they are elements. In Turtle they are called blank nodes, because they are not labelled with a URI. There is another way of writing them in Turtle, where you make up local ids for them like _:foo to keep track of them but these are not URIs. The _: is a special one for blank nodes.
:Alice :home _:a . _:a address _:b . _:b street "Accaia Ave"; number 123; city "Anytown" . _a :phone <tel:+1-781-555-1212> .
The square bracket syntax is obviously clearer. You can use it in place of object or subject.
<#alice> foaf:children ( <#bob> <#charlie> <#dave> ) .
Imagine we store user input as a string, but separately generate the list of words.
<#userInput> ex:line "turn on light"; ex:inWords ("turn" "on" "light") .
That's it. That's all there is to turtle. You now know it. It is good to get used to reading bits of turtle as though it was English. Yu can now use it in code snippits in chats and in code for things like forms, configuration parameters, and so on.
There a few things which you should not use in data shared generally, but are shortcts for test data and quick scripts. rdflib.js will understand these sytatax but never generate them
:Alice foaf:birthdate 2018-02-31 . |
A raw ISO format date can be put in without explicit type |
:x4 :lastModifiedTime 2018-02-31T08:24:00.0Z . |
A raw ISO format date-time can be put in without explicit type |
A good philosphy is that when there two relations which are inverse of each other, like parent and child, that we just use one, say child, in the data, like
:grampa fam:child :alice, :bob. :gramma fam:child :alice, :bob. :alice fam:child :charlie, :davie, :ellie .
This makes the graph of relationships easier to query. In this example, you can infact express all the information about Alice at once:
:alice is fam:child of :grampa, :gramma; fam:child :charlie, :davie, :ellie .
The is ... of syntax was in the original N3 language which Turtle was derived from but unfortunately left out of the turtle standard.
It is handy to define the empty string prefix : as being for the local document, so it can be used for local identifiers.
@prefix : <#>.
This is in fact assumed by default by rdflib.js so you can miss it out.
:this a :Example; :age 123.
is a fine test file.


Fortress Adventure
Inventory
torch
clown costume
rope
chloroform
zip-ties
Command List:
torch
door
cast
attack
inspect
take


So you're thinking about coding!
Choosing your first programming language can be tough...
...but to help you out, we've created this little survey to guide you in the right direction.
Or, you can just look at ALL of the programs we have to offer, but where's the fun in that?
Ruby is a favorite language of developers building interactive web applications. If an app involves users creating accounts, entering information, and interacting with dynamic content, there's a good chance it is built with Ruby. Ruby became popular because the Rails framework, which is written with Ruby, simplified many of the common tasks associated with building web applications. It's most popular with startups and smaller companies who are looking to build their product quickly.
Learn More....PHP is by far the most popular backend language today, with 80 percent of websites utilizing it 'server-side'. It is perhaps best known for it's use in content management systems like Wordpress, Drupal, and Joomla. But the versatility of the language and the frameworks it powers make employment options numerous and diverse. If you're keen to work for a fast paced agency that builds websites for lots of clients, or maintain the security and stability of a huge complex of government websites, or if you like the idea of building out small sites for brands, businesses, and organizations - In any of these cases, PHP would be a great way to go.
Learn More....Java is also a favorite of enterprise companies, but its appeal is broader as well: it's one of the most popular of all programming languages, and it's used in everything from for high-performance processing to building Android user interfaces. Because Java has been very popular for a very long time and is used in so many applications, it is also a very high-demand language. If you're interested in working for an enterprise-level company, as an Android developer, or in high-performance applications, Java could be a good language to learn.
Learn More....The CSS/Design track is for students who would like to focus on user interface. HTML, css, javascript are going to be your best friends. You will also become familiar with industry leading framworks and libraries as well as work flow tools like NPM, Gulp and so on and so forth.
Learn More....C# is most popular among bigger established businesses, often for building internal software. Because it's been around for a long time and has the backing of Microsoft, it is one of the most in-demand languages in the job market. C# has also been going through a bit of a rebirth lately, with Microsoft open sourcing the language and surrounding platform, porting it to run on Mac and Linux, and incorporating many of the best features of other languages. If you like the idea of working for a larger company on business software, C# is a great choice.
Learn More....The most important thing is to get the basic principles of coding down, practice a lot, and be ready to change to another language when your job inevitably does.


5.12 The gzip Module
The gzip module allows you to read and write gzip-compressed files as if
they were ordinary files, as shown in Example 5-24.
Example 5-24. Using the gzip Module to Read a Compressed File
File: gzip-example-1.py
import gzip
file = gzip.GzipFile("samples/sample.gz")
print file.read()
Well it certainly looks as though we're in for
a splendid afternoon's sport in this the 127th
Upperclass Twit of the Year Show.
The standard implementation doesn't support the
seek and tell methods.
Example 5-25 shows how to add forward seeking.
Example 5-25. Extending the gzip Module to Support seek/tell
File: gzip-example-2.py
import gzip
class gzipFile(gzip.GzipFile):
# adds seek/tell support to GzipFile
offset = 0
def read(self, size=None):
data = gzip.GzipFile.read(self, size)
self.offset = self.offset + len(data)
return data
def seek(self, offset, whence=0):
# figure out new position (we can only seek forwards)
if whence == 0:
position = offset
elif whence == 1:
position = self.offset + offset
else:
raise IOError, "Illegal argument"
if position < self.offset:
raise IOError, "Cannot seek backwards"
# skip forward, in 16k blocks
while position > self.offset:
if not self.read(min(position - self.offset, 16384)):
break
def tell(self):
return self.offset
#
# try it
file = gzipFile("samples/sample.gz")
file.seek(80)
print file.read()
this the 127th
Upperclass Twit of the Year Show.
|


|
KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
Functions | |
| def | GetSympyVersion () |
| This method returns the current Sympy version. More... | |
| def | DefineMatrix (name, m, n, mode="Function") |
| This method defines a symbolic matrix. More... | |
| def | DefineSymmetricMatrix (name, m, n=-1, mode="Symbol") |
| This method defines a symbolic symmetric matrix. More... | |
| def | DefineVector (name, m, mode="Symbol") |
| This method defines a symbolic vector. More... | |
| def | DefineShapeFunctions (nnodes, dim, impose_partion_of_unity=False) |
| This method defines shape functions and derivatives Note that partition of unity is imposed the name HAS TO BE --> N and DN. More... | |
| def | DefineCustomShapeFunctions (nnodes, dim, name) |
| This method defines shape functions and derivatives (custom version) More... | |
| def | StrainToVoigt (M) |
| This method transform the strains matrix to Voigt notation. More... | |
| def | MatrixB (DN) |
| This method defines the deformation matrix B. More... | |
| def | grad_sym_voigtform (DN, x) |
| This method defines a symmetric gradient. More... | |
| def | grad (DN, x) |
| This method defines a gradient. More... | |
| def | DfjDxi (DN, f) |
| This method defines a gradient. More... | |
| def | DfiDxj (DN, f) |
| This method defines a gradient This returns a matrix D such that D(i,j) = D(fi)/D(xj) More... | |
| def | div (DN, x) |
| This method defines the divergence. More... | |
| def | DefineJacobian (J, DN, x) |
| This method defines a Jacobian. More... | |
| def | DefineCalculateNormals (normal, tangent1, tangent2, J) |
| This method calculates the normals and tangents. More... | |
| def | CreateVariableMatrixList (variable_list, variable_matrix) |
| This method creates a variable list from variable matrix. More... | |
| def | CreateVariableVectorList (variable_list, variable_vector) |
| This method creates a variable list from variable vector. More... | |
| def | DefineDofDependencyScalar (scalar, variable_list) |
| This method injects a dependency into a scalar from a variable list. More... | |
| def | DefineDofDependencyVector (vector, variable_list) |
| This method injects a dependency into a vector from a variable list. More... | |
| def | DefineDofDependencyMatrix (matrix, variable_list) |
| This method injects a dependency into a matrix from a variable list. More... | |
| def | SubstituteMatrixValue (where_to_substitute, what_to_substitute, substituted_value) |
| This method substitutes values into a matrix. More... | |
| def | SubstituteScalarValue (where_to_substitute, what_to_substitute, substituted_value) |
| This method substitutes values into a scalar. More... | |
| def | GetShapeFunctionDefinitionLine2D2N (x, xg) |
| This computes the shape functions on 2D line. More... | |
| def | GetShapeFunctionDefinitionLine3D3N (x, xg) |
| This computes the shape functions on 3D line. More... | |
| def | Compute_RHS (functional, testfunc, do_simplifications=False) |
| This computes the RHS vector. More... | |
| def | Compute_LHS (rhs, testfunc, dofs, do_simplifications=False) |
| This computes the LHS matrix. More... | |
| def | Compute_RHS_and_LHS (functional, testfunc, dofs, do_simplifications=False) |
| This computes the LHS matrix and the RHS vector. More... | |
| def | OutputVector (rhs, name, mode="python", initial_tabs=1, max_index=30, aux_dict={}) |
| This method converts into text the RHS vector. More... | |
| def | OutputMatrix (lhs, name, mode, initial_tabs=1, max_index=30, aux_dict={}) |
| This method converts into text the LHS matrix. More... | |
| def | OutputVectorNonZero (rhs, name, mode="python", initial_tabs=1, max_index=30, aux_dict={}) |
| This method converts into text the RHS vector (only non-zero terms) More... | |
| def | OutputMatrixNonZero (lhs, name, mode, initial_tabs=1, max_index=30, aux_dict={}) |
| This method converts into text the LHS matrix (only non-zero terms) More... | |
| def | OutputSymbolicVariable (var, mode="python", varname="", aux_dict={}, initial_tabs=1, max_index=30) |
| This method converts into text the LHS matrix (only non-zero terms) More... | |
| def | SubstituteIndex (outstring, mode="python", max_index=30) |
| This method substitutes certain indexes. More... | |
| def | DefineVariableLists (variable, name, replacement, dependency, var_strings, var_strings_subs, var_strings_aux_subs, der_var_strings, der_var_list, typology) |
| This method define the variables lists. More... | |
| def | Derivatives_CollectingFactors (A, name, mode, initial_tabs=1, max_index=30, optimizations='basic', postprocess=None, order='canonical') |
| This method collects the constants of the replacement for derivatives TODO Think about collecting factors also in the derivatives. More... | |
| def | OutputMatrix_CollectingFactors (A, name, mode, initial_tabs=1, max_index=30, optimizations='basic') |
| This method collects the constants of the replacement for matrices. More... | |
| def | OutputVector_CollectingFactors (A, name, mode, initial_tabs=1, max_index=30, optimizations='basic') |
| This method collects the constants of the replacement for vectors. More... | |
| def | OutputMatrix_CollectingFactorsNonZero (A, name, mode, initial_tabs=1, max_index=30, optimizations='basic') |
| This method collects the constants of the replacement for matrices (only non-zero terms) More... | |
| def | OutputVector_CollectingFactorsNonZero (A, name, mode, initial_tabs=1, max_index=30, optimizations='basic') |
| This method collects the constants of the replacement for vectors (only non-zero terms) More... | |
| def custom_sympy_fe_utilities.Compute_LHS | ( | rhs, | |
| testfunc, | |||
| dofs, | |||
do_simplifications = False |
|||
| ) |
This computes the LHS matrix.
Keyword arguments: rhs – The RHS vector testfunc – The test functions dofs – The dofs vectors do_simplifications – If apply simplifications
| def custom_sympy_fe_utilities.Compute_RHS | ( | functional, | |
| testfunc, | |||
do_simplifications = False |
|||
| ) |
This computes the RHS vector.
Keyword arguments: functional – The functional to derivate testfunc – The test functions do_simplifications – If apply simplifications
| def custom_sympy_fe_utilities.Compute_RHS_and_LHS | ( | functional, | |
| testfunc, | |||
| dofs, | |||
do_simplifications = False |
|||
| ) |
This computes the LHS matrix and the RHS vector.
Keyword arguments: functional – The functional to derivate testfunc – The test functions dofs – The dofs vectors do_simplifications – If apply simplifications
| def custom_sympy_fe_utilities.CreateVariableMatrixList | ( | variable_list, | |
| variable_matrix | |||
| ) |
This method creates a variable list from variable matrix.
Keyword arguments: variable_list – The variable list to be created variable_matrix – The variable matrix
| def custom_sympy_fe_utilities.CreateVariableVectorList | ( | variable_list, | |
| variable_vector | |||
| ) |
This method creates a variable list from variable vector.
Keyword arguments: variable_list – The variable list to be created variable_vector – The variable vector
| def custom_sympy_fe_utilities.DefineCalculateNormals | ( | normal, | |
| tangent1, | |||
| tangent2, | |||
| J | |||
| ) |
This method calculates the normals and tangents.
Keyword arguments: normal – The normal vector tangent1 – The first tangent vector tangent2 – The second tangent vector J – The Jacobian matrix
| def custom_sympy_fe_utilities.DefineCustomShapeFunctions | ( | nnodes, | |
| dim, | |||
| name | |||
| ) |
This method defines shape functions and derivatives (custom version)
Keyword arguments: nnodes – Number of nodes dim – Dimension of the space name – Name of the variable for the shape functions
| def custom_sympy_fe_utilities.DefineDofDependencyMatrix | ( | matrix, | |
| variable_list | |||
| ) |
This method injects a dependency into a matrix from a variable list.
Keyword arguments: matrix – The matrix to be injected variable_list – The variable list injected
| def custom_sympy_fe_utilities.DefineDofDependencyScalar | ( | scalar, | |
| variable_list | |||
| ) |
This method injects a dependency into a scalar from a variable list.
Keyword arguments: scalar – The scalar to be injected variable_list – The variable list injected
| def custom_sympy_fe_utilities.DefineDofDependencyVector | ( | vector, | |
| variable_list | |||
| ) |
This method injects a dependency into a vector from a variable list.
Keyword arguments: vector – The vector to be injected variable_list – The variable list injected
| def custom_sympy_fe_utilities.DefineJacobian | ( | J, | |
| DN, | |||
| x | |||
| ) |
This method defines a Jacobian.
Keyword arguments: J – The Jacobian matrix DN – The shape function derivatives x – The variable to compute the gradient
| def custom_sympy_fe_utilities.DefineMatrix | ( | name, | |
| m, | |||
| n, | |||
mode = "Function" |
|||
| ) |
This method defines a symbolic matrix.
Keyword arguments: name – Name of variables. m – Number of rows. n – Number of columns. mode – The type of variable is defined (function or symbol)
| def custom_sympy_fe_utilities.DefineShapeFunctions | ( | nnodes, | |
| dim, | |||
impose_partion_of_unity = False |
|||
| ) |
This method defines shape functions and derivatives Note that partition of unity is imposed the name HAS TO BE --> N and DN.
Keyword arguments: nnodes – Number of nodes dim – Dimension of the space impose_partion_of_unity – Impose the partition of unity
| def custom_sympy_fe_utilities.DefineSymmetricMatrix | ( | name, | |
| m, | |||
n = -1 , |
|||
mode = "Symbol" |
|||
| ) |
This method defines a symbolic symmetric matrix.
Keyword arguments: name – Name of variables. m – Number of rows. n – Number of columns.
| def custom_sympy_fe_utilities.DefineVariableLists | ( | variable, | |
| name, | |||
| replacement, | |||
| dependency, | |||
| var_strings, | |||
| var_strings_subs, | |||
| var_strings_aux_subs, | |||
| der_var_strings, | |||
| der_var_list, | |||
| typology | |||
| ) |
This method define the variables lists.
Keyword arguments: variable – The variable to define name – The name to consider replacement – The replacement dependency – The dependency var_strings – The strings that define the variables var_strings – The strings that substitute the variables var_strings_aux_subs – The strings that auxiliarly substitute the variables der_var_strings – The strings that define the derivatives of the strings der_var_list – The list of derivatives variables typology – The typology considered
| def custom_sympy_fe_utilities.DefineVector | ( | name, | |
| m, | |||
mode = "Symbol" |
|||
| ) |
This method defines a symbolic vector.
Keyword arguments: name – Name of variables. m – Number of components. mode – The type of variable is defined (function or symbol)
| def custom_sympy_fe_utilities.Derivatives_CollectingFactors | ( | A, | |
| name, | |||
| mode, | |||
initial_tabs = 1 , |
|||
max_index = 30 , |
|||
optimizations = 'basic' , |
|||
postprocess = None , |
|||
order = 'canonical' |
|||
| ) |
This method collects the constants of the replacement for derivatives TODO Think about collecting factors also in the derivatives.
Keyword arguments: A – The factors name – The name of the constant mode – The mode of replacement initial_tabs – The number of initial tabulations max_index – The max number of indexes optimizations – The level of optimizations postprocess – The type of postprocess order – The type of order
| def custom_sympy_fe_utilities.DfiDxj | ( | DN, | |
| f | |||
| ) |
This method defines a gradient This returns a matrix D such that D(i,j) = D(fi)/D(xj)
Keyword arguments: DN – The shape function derivatives f – The variable to compute the gradient
| def custom_sympy_fe_utilities.DfjDxi | ( | DN, | |
| f | |||
| ) |
This method defines a gradient.
This returns a matrix D such that D(i,j) = D(fj)/D(xi)
Keyword arguments: DN – The shape function derivatives f– The variable to compute the gradient
| def custom_sympy_fe_utilities.div | ( | DN, | |
| x | |||
| ) |
This method defines the divergence.
Keyword arguments: DN – The shape function derivatives x – The variable to compute the gradient
| def custom_sympy_fe_utilities.GetShapeFunctionDefinitionLine2D2N | ( | x, | |
| xg | |||
| ) |
This computes the shape functions on 2D line.
Keyword arguments: x – Definition of line xg – Gauss point
| def custom_sympy_fe_utilities.GetShapeFunctionDefinitionLine3D3N | ( | x, | |
| xg | |||
| ) |
This computes the shape functions on 3D line.
Keyword arguments: x – Definition of line xg – Gauss point
| def custom_sympy_fe_utilities.GetSympyVersion | ( | ) |
This method returns the current Sympy version.
| def custom_sympy_fe_utilities.grad | ( | DN, | |
| x | |||
| ) |
This method defines a gradient.
Keyword arguments: DN – The shape function derivatives x – The variable to compute the gradient
| def custom_sympy_fe_utilities.grad_sym_voigtform | ( | DN, | |
| x | |||
| ) |
This method defines a symmetric gradient.
Keyword arguments: DN – The shape function derivatives x – The variable to compute the gradient
| def custom_sympy_fe_utilities.MatrixB | ( | DN | ) |
This method defines the deformation matrix B.
Keyword arguments: DN – The shape function derivatives
| def custom_sympy_fe_utilities.OutputMatrix | ( | lhs, | |
| name, | |||
| mode, | |||
initial_tabs = 1 , |
|||
max_index = 30 , |
|||
aux_dict = {} |
|||
| ) |
This method converts into text the LHS matrix.
Keyword arguments: lhs – The LHS matrix name – The name of the variables mode – The mode of output initial_tabs – The number of tabulations considered max_index – The maximum index aux_dict – Auxiliary dictionary
| def custom_sympy_fe_utilities.OutputMatrix_CollectingFactors | ( | A, | |
| name, | |||
| mode, | |||
initial_tabs = 1 , |
|||
max_index = 30 , |
|||
optimizations = 'basic' |
|||
| ) |
This method collects the constants of the replacement for matrices.
Keyword arguments: A – The factors name – The name of the constant mode – The mode of replacement initial_tabs – The number of initial tabulations max_index – The max number of indexes optimizations – The level of optimizations
| def custom_sympy_fe_utilities.OutputMatrix_CollectingFactorsNonZero | ( | A, | |
| name, | |||
| mode, | |||
initial_tabs = 1 , |
|||
max_index = 30 , |
|||
optimizations = 'basic' |
|||
| ) |
This method collects the constants of the replacement for matrices (only non-zero terms)
Keyword arguments: A – The factors name – The name of the constant mode – The mode of replacement initial_tabs – The number of initial tabulations max_index – The max number of indexes optimizations – The level of optimizations
| def custom_sympy_fe_utilities.OutputMatrixNonZero | ( | lhs, | |
| name, | |||
| mode, | |||
initial_tabs = 1 , |
|||
max_index = 30 , |
|||
aux_dict = {} |
|||
| ) |
This method converts into text the LHS matrix (only non-zero terms)
Keyword arguments: lhs – The LHS matrix name – The name of the variables mode – The mode of output initial_tabs – The number of tabulations considered max_index – The maximum index aux_dict – Auxiliary dictionary
| def custom_sympy_fe_utilities.OutputSymbolicVariable | ( | var, | |
mode = "python" , |
|||
varname = "" , |
|||
aux_dict = {} , |
|||
initial_tabs = 1 , |
|||
max_index = 30 |
|||
| ) |
This method converts into text the LHS matrix (only non-zero terms)
Keyword arguments: var – The variable to define symbolic mode – The mode of output varname – The name of the variables aux_dict – Auxiliary dictionary initial_tabs – The number of tabulations considered max_index – The maximum index
| def custom_sympy_fe_utilities.OutputVector | ( | rhs, | |
| name, | |||
mode = "python" , |
|||
initial_tabs = 1 , |
|||
max_index = 30 , |
|||
aux_dict = {} |
|||
| ) |
This method converts into text the RHS vector.
Keyword arguments: rhs – The RHS vector name – The name of the variables mode – The mode of output initial_tabs – The number of tabulations considered max_index – The maximum index aux_dict – Auxiliary dictionary
| def custom_sympy_fe_utilities.OutputVector_CollectingFactors | ( | A, | |
| name, | |||
| mode, | |||
initial_tabs = 1 , |
|||
max_index = 30 , |
|||
optimizations = 'basic' |
|||
| ) |
This method collects the constants of the replacement for vectors.
Keyword arguments: A – The factors name – The name of the constant mode – The mode of replacement initial_tabs – The number of initial tabulations max_index – The max number of indexes optimizations – The level of optimizations
| def custom_sympy_fe_utilities.OutputVector_CollectingFactorsNonZero | ( | A, | |
| name, | |||
| mode, | |||
initial_tabs = 1 , |
|||
max_index = 30 , |
|||
optimizations = 'basic' |
|||
| ) |
This method collects the constants of the replacement for vectors (only non-zero terms)
Keyword arguments: A – The factors name – The name of the constant mode – The mode of replacement initial_tabs – The number of initial tabulations max_index – The max number of indexes optimizations – The level of optimizations
| def custom_sympy_fe_utilities.OutputVectorNonZero | ( | rhs, | |
| name, | |||
mode = "python" , |
|||
initial_tabs = 1 , |
|||
max_index = 30 , |
|||
aux_dict = {} |
|||
| ) |
This method converts into text the RHS vector (only non-zero terms)
Keyword arguments: rhs – The RHS vector name – The name of the variables mode – The mode of output initial_tabs – The number of tabulations considered max_index – The maximum index aux_dict – Auxiliary dictionary
| def custom_sympy_fe_utilities.StrainToVoigt | ( | M | ) |
This method transform the strains matrix to Voigt notation.
Keyword arguments: M – The strain matrix
| def custom_sympy_fe_utilities.SubstituteIndex | ( | outstring, | |
mode = "python" , |
|||
max_index = 30 |
|||
| ) |
This method substitutes certain indexes.
Keyword arguments: outstring – The resulting string mode – The mode of output max_index – The maximum index
| def custom_sympy_fe_utilities.SubstituteMatrixValue | ( | where_to_substitute, | |
| what_to_substitute, | |||
| substituted_value | |||
| ) |
This method substitutes values into a matrix.
Keyword arguments: where_to_substitute – Coordinates where to substitute what_to_substitute – Components to substitute substituted_value – Variable to substitute
| def custom_sympy_fe_utilities.SubstituteScalarValue | ( | where_to_substitute, | |
| what_to_substitute, | |||
| substituted_value | |||
| ) |
This method substitutes values into a scalar.
Keyword arguments: where_to_substitute – Coordinates where to substitute what_to_substitute – Components to substitute substituted_value – Variable to substitute


[![Build Status](https://travis-ci.org/leondeng/lawnbotsite.svg)](https://travis-ci.org/leondeng/lawnbotsite) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/leondeng/lawnbotsite/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/leondeng/lawnbotsite/?branch=master) [![Stories in Ready](https://badge.waffle.io/leondeng/lawnbotsite.png?label=ready&title=Ready)](https://waffle.io/leondeng/lawnbotsite) # LawnBotSite
There are two parts to the problem (scenario and assumptions made in part 1 are applicable to part 2, unless started otherwise).
Part 1 is a basic modelling and simulation exercise.
Part 2 extends this to some algorithm development (extension)
Part 3 is for API / full-stack engineers
Part 1
Nigel has been tinkering in his shed again, and has hacked together a robotic controller for his lawn mowers. He plans to program each of them to be able to mow all the various lawns in his street on their own (another get rich scheme for Nigel!). Luckily for Nigel, all the lawns in his street are rectangular.
A mower's position and location is represented by a combination of x and y co-ordinates and a letter representing one of the four cardinal compass points (North, South, East, West). A lawn is divided up into a grid to simplify navigation. An example position might be 0, 0, N, which means the mower is in the bottom left corner and facing North.
In order to control a mower,
Nigel sends a simple string of letters. The possible letters are
'L', 'R' and 'M'.
'L' and 'R' makes the mower spin 90 degrees left or
right respectively, without moving from its current spot.
'M' means move forward one grid point, and maintain the same
heading.
Assume that the square directly
North from (x, y) is (x, y+1).
| 0,2 | 1,2 | 2,2 |
| 0,1 | 1,1 | 2,1 |
| 0,0 | 1,0 | 2,0 |
The first line of input is the upper-right coordinates of the lawn that is being mowed (i.e the size), the lower-left coordinates are assumed to be 0,0.
The rest of the input is information pertaining to the mowers that are going to do the mowing. Each mower has two lines of input. The first line gives the mower's position, and the second line is a series of instructions telling the mower how to mow the current lawn.
The position is made up of two integers and a letter separated by spaces, corresponding to the x and y co-ordinates and the mower's orientation.
Mowers must not be permitted to bump into each other or run each other over - your program should detect this and fail appropriately.
Once all the mowers have been
inputted, the program executes and the mowers move about the lawn.
The output for each mower should be its final co-ordinates and heading.
Test Input: |
|---|
Nigel hasn't stopped there, no! He has an opportunity to wire his robots onto the neighbours lawnmowers as well to make the work even easier. But he doesn't want to reprogram the mowers every time he adds a mower.
Nigel would prefer to change his input file to contain the size of the lawn to be mowed, but now include the number of mowers that will be mowing. Once again, the first line represents the upper-right coordinates of the lawn that is being mowed, but a third number indicates the number of mowers that will mow this lawn.
This time the output should be the instructions that each mower will receive to mow the current lawn most efficiently. An efficient instruction set minimises the difference between the areas of lawn that each mower covers. There may be multiple optimal solutions.
|
|---|
Notes (internal):
The algorithm the engineer chooses is irrelevant providing they can give sufficient supporting evidence that their solution is correct.
In the above sample, the algorithm used is a snaking algorithm.
Nigel has talked to some grass-cutting friends and they are all very much impressed with his lawn mowing programs. His friends want to use it for themselves but do not like bothering Nigel too often as he is only one person and cannot keep up with the request (he has many many friends!). So Nigel decides to develop an API for his friends to consume (they happen to be developers). The functionality provided by the endpoint follow the same assumptions as those in Part 1
POST /lawn
Creates a new lawn, with the the required dimensions
Request |
Response |
|---|---|
{ width: (NUMBER) height: (NUMBER) } |
{ id: (NUMBER) width: (NUMBER) height: (NUMBER) } |
GET /lawn/{id}
Retrieves a lawn by its Id
Request |
Response |
|---|---|
{ id: (NUMBER) width: (NUMBER) height: (NUMBER), mowers: [ {<mower>} ] } |
DELETE /lawn/{id}
Deletes a lawn. ALL mowers attached to the lawn are also deleted.
Request |
Response |
|---|---|
{ status: "ok" } |
POST /lawn/{id}/mower
Creates a new mower on the lawn
Request |
Response |
|---|---|
{ x: (NUMBER), y: (NUMBER), heading: (STRING), commands: (STRING) } |
{ id: (NUMBER), x: (NUMBER), y: (NUMBER), heading: (STRING), commands: (STRING) } |
GET /lawn/{id}/mower/{mid}
Retrieves the mower on the lawn by its Id
Request |
Response |
|---|---|
{ } |
{ id: (NUMBER), x: (NUMBER), y: (NUMBER), heading: (STRING), commands: (STRING) } |
PUT /lawn/{id}/mower/{mid}
Updates the properties of the mower
Request |
Response |
|---|---|
{ x: (NUMBER), y: (NUMBER), heading: (STRING), commands: (STRING) } |
{ id: (NUMBER), x: (NUMBER), y: (NUMBER), heading: (STRING), commands: (STRING) } |
DELETE /lawn/{id}/mower/{id}
Delete the specific mower on the lawn
Request |
Response |
|---|---|
{ status: "ok" } |
POST /lawn/{id}/execute
Runs a simulation of the lawn using the mowers located at the resource. The mowers have their positions updated and the lawn is an accurate representation of the final state. If any errors occur relevant errors should be returned to the client. The list of mowers is in the same order that they were added to the lawn.
Request |
Response |
|---|---|
{ width: (NUMBER) height: (NUMBER) mowers: [ { id: (NUMBER), x: (NUMBER), y: (NUMBER), heading: (STRING), commands: (STRING) }, .... ] } |
You can decide on the error conditions and response payload (if any), but they should be based on the same assumptions you made in Part 1.
An example error payload could look like this.
|


“my swooning was entirely occasioned by an accidental impression of fetid effluvia upon nerves of uncommon sensibility. I know not how other people's nerves are constructed; but one would imagine they must be made of very coarse materials, to stand the shock of such a horrid assault. It was, indeed, a compound of villainous smells, in which the most violent stinks, and the most powerful perfumes, contended for the mastery. Imagine to yourself a high exalted essence of mingled odours, arising from putrid gums, imposthumated lungs, sour flatulencies, rank arm-pits, sweating feet, running sores and issues, plasters, ointments, and embrocations, Hungary-water, spirit of lavender, asafoetida drops, musk, hartshorn, and sal volatile; besides a thousand frowsy steams, which I could not analyse. Such, O Dick! is the fragrant ether we breathe in the polite assemblies of Bath; such is the atmosphere I have exchanged for the pure, elastic, animating air of the Welsh mountains.”
Tobias Smollett, The Expedition Of Humphry Clinker (1771)


Angular6 Enterprise Healthcare Provider Finder
Rails/jQuery intracity peer-to-peer shipping app.
Modern, animated mockup to meet your e-commerce site's needs.
Content is for placeholder purposes only.
Type normally to play this HTML5 piano. Note names rendered using
React.js.
Play this Javascript in-browser game. Fulfill nostalgia for
FIFA94.


Pokemon Sword & Shield Type Chart: every type strength, weakness and resistance detailed
by Alex DonaldsonThe key to victory in any Pokemon game is understanding types, strengths, weaknesses and resistances. Pokemon Sword & Shield are no different – and so we’ve got a shiny new type chart to help you come up with a game plan.
Pokemon Types have been a staple of the series since its debut, though the number of types have somewhat grown. A Pokemon’s type, which is based on its design and natural habitat, is vital. It determines the moves that Pokemon can use, but also more crucially the different attacks and moves that each individual Pokemon can find itself vulnerable. Pokemon can be single-type or dual-type, split between two affinities – but thankfully there’s no such thing as triple type Pokemon. Even so, with single type and double type critters, there are a lot of potential combinations – hundreds, in fact.
Types interact in a way that adds up as common sense, but it still sometimes isn’t all that obvious. The perfect example are the starter Pokemon, which are fire, water and grass. If you use a Fire-type move on a Grass-type Pokemon, for instance, you’ll be greeted with the classic “It’s super-effective” text. If you use a water-type move on an grass-type Pokemon, it’ll unsurprisingly not be very effective. In a worse-case scenario, a move might not do anything at all. On this page, we’ve got a handy chart – and for those who prefer text, a nice bullet-point list – so you can figure out strengths and weaknesses at a glance.
Pokemon Sword & Shield Type Chart: strengths, weaknesses and resistances listed
There are 18 Pokemon types in all: Normal, Fire, Water, Grass, Flying, Fighting, Poison, Electric, Ground, Rock, Psychic, Ice, Bug, Ghost, Steel, Dragon, Dark and Fairy. Here’s a full type chart showing how they all interact. Here’s how to use the chart:
- If you’re attacking, work from your type on the left to the enemy type on the top. If defending, do the opposite – find your type on the top and work left to the attacker list.
- A 1x indicates an attack will do standard damage based on your Pokemon and the move’s stats.
- A 2x indicates a Super-effective move – it’ll do double the normal amount of damage.
- A 0.5 indicates a Not very effective move – it’ll do half the normal amount of damage.
- A 0 indicates a Not effective move, which won’t do any damage at all.
If you prefer your strengths and weaknesses to be written out a little more in black-and-white, here they are by Pokemon type. In this table…
- The Super Effective Vs. column shows what the type on the left is effective against in battle.
- The Not Very Effective Vs. column reveals the types the attacking type (on the left) will do less damage to. Immunities are also listed here – they’re always last, and are denoted by brackets.
- The Resist Damage column shows you what moves won’t be very effective against the Pokemon type on the left when it is defending.
- The Weak Vs. column reveals what types the type listed on the left will suffer super effective moves when attacked by their moves.
Pokemon Sword & Shield Type Chart
Strengths, weaknesses and resistances for every Pokemon Type in Pokemon Sword & Shield.
| Type | Super Effective Vs. | Not Very Effective Vs. | Resist Damage | Weak Vs. |
|---|---|---|---|---|
| Normal | Rock, Steel, Ghost (Immune) | Ghost (Immune) | Fighting | |
| Fighting | Normal, Ice, Rock, Dark, Steel | Flying, Poison, Bug, Psychic, Ghost (Immune) | Rock, Bug, Dark | Flying, Psychic, Fairy |
| Flying | Fighting, Bug, Grass | Electric, Rock, Steel | Fighting, Bug, Grass, Ground (Immune) | Rock, Electric, Ice |
| Poison | Grass, Fairy | Poison, Ground, Rock, Ghost, Steel (Immune) | Fighting, Poison, Bug, Grass, Fairy | Ground, Psychic |
| Ground | Poison, Rock, Steel, Fire, Electric | Bug, Grass, Flying (Immune) | Poison, Rock, Electric (Immune) | Water, Grass, Ice |
| Rock | Flying, Bug, Fire, Ice | Fighting, Ground, Steel | Normal, Fire, Poison, Flying | Water, Grass, Fighting, Ground, Steel |
| Bug | Grass, Psychic, Dark | Fighting, Flying, Poison, Ghost, Steel, Fire, Fairy | Fighting, Ground, Grass | Flying, Rock, Fire |
| Ghost | Ghost, Psychic | Dark, Normal (Immune) | Poison, Bug, Normal (Immune), Fighting (Immune) | Ghost, Dark |
| Steel | Ice, Rock, Fairy | Steel, Fire, Water, Electric | Normal, Grass, Ice, Flying, Psychic, Bug, Rock, Dragon, Steel, Fairy, Poison (Immune) | Fire, Fighting, Ground |
| Fire | Bug, Steel, Grass, Ice | Rock, Fire, Water, Dragon | Bug, Steel, Fire, Grass, Ice, Fairy | Ground, Rock, Water |
| Water | Ground, Rock, Fire | Water, Grass, Dragon | Fire, Water, Ice, Steel | Electric, Grass |
| Grass | Ground, Rock, Water | Flying, Poison, Bug, Steel, Fire, Grass, Dragon | Water, Grass, Electric, Ground | Flying, Poison, Bug, Fire, Ice |
| Electric | Flying, Water | Grass, Electric, Dragon, Ground (Immune) | Flying, Steel, Electric | Ground |
| Psychic | Fighting, Poison | Steel, Psychic, Dark (Immune) | Fighting, Psychic | Bug, Ghost, Dark |
| Ice | Flying, Ground, Grass, Dragon | Steel, Fire, Water, Ice | Ice | Fighting, Rock, Steel, Fire |
| Dragon | Dragon | Steel | Fire, Water, Grass, Electric | Ice, Dragon, Fairy |
| Dark | Ghost, Psychic | Fighting, Dark, Fairy | Ghost, Dark, Psychic (Immune) | Fighting, Bug, Fairy |
| Fairy | Fighting, Dragon, Dark | Poison, Steel, Fire | Fighting, Bug, Dark, Dragon (Immune) | Poison, Steel |
Games featured in this article


[gecode-users] Installation : Intel Compiler
Simon Boivin
simon.boivin at polymtl.ca
Wed May 23 15:35:28 CEST 2007
Hi,
I'm trying to compile Gecode and install it by using the intel
compiler icc and icpc. However, after using ./configure CC=icc CXX=icpc
and using make to create the librairie a have this error :
../gecode/int/distinct/dom.icc(353): internal error: assertion failed:
lower_expr: enk_object_lifetime not at top (shared/edgcpfe/lower_il.c,
line 13663)
return new ViewValGraph(n_view,x,val_inf,n_val,size);
^
compilation aborted for gecode/int/distinct.cc (code 4)
We use the Intel compiler Version 9.0 and we compile on an Itanium 2
dual core.
Thank!
----------------------------------------
Simon Boivin
École Polytechnique de Montréal
More information about the gecode-users
mailing list


{% extends "base.html" %} {% block page_title %}Login{% endblock %} {% block page_content %}
Your email and password didn't match. Please try again.
{% endif %} {% if user.is_authenticated %}Your account doesn't have access to this page. To proceed, please login with an account that has access.
{% else %}


"Gather" - short film
by Spencer MagnussonMagnussonProductions writes:
I worked as a VFX supervisor and artist for the BYU student film, "Gather," directed by Howie Burbidge. I used Blender for some of the visual effects. I'm proud to have worked on this, as well as be part of a 3D community that helped me along the way.
For more details about the effects, you can visit my portfolio page on it, or feel free to ask me by leaving a comment below.


kpac_dhcp_helper
Section: KDE Library Bin (7)Updated: May 16, 2006
Index Return to Main Contents
NAME
kpac_dhcp_helper - provides Proxy Auto Configuration to KDESYNOPSIS
kpac_dhcp_helper
DESCRIPTION
Provides Proxy Auto Configuration to KDE by requesting a JavaScript function that uses the requested URL to determine the proxy settings. Locating that JavaScript can be done by using DHCP or DNS.- DHCP is preferred for its flexibility over DNS, which requires a wpad hostname or a fixed location to a script. The only requirements for DHCP are a network that supports DHCP and a current DHCP configuration. kpac_dhcp_helper is the setuid application needed to support DHCP.
- This tool is a support utility for KDE libraries and is not called from the command line.
OPTIONS
kpac_dhcp_helper takes no arguments.SECURITY
kpac_dhcp_helper must be used as setuid root.SEE ALSO
resolver(3), dhclient(8), dhcpd(8), named(8)AUTHOR
Manpage written by Rodrigo Rubira Branco<EMAIL_ADDRESS>Index
This document was created by man2html, using the manual pages.
Time: 05:34:15 GMT, December 24, 2015


Calculate Hash
Check Authenticity
About
File checksum verified!
Check Again!
File checksum not verified!
Check Again!


--- ---
|
TGUI
0.9-dev
|
Public Member Functions | |
| void | setBorders (const Borders &borders) |
| Changes the size of the borders. More... | |
| Borders | getBorders () const |
| Returns the size of the borders. More... | |
| void | setBackgroundColor (Color backgroundColor) |
| Changes the background color of the tabs. More... | |
| Color | getBackgroundColor () const |
| Returns the background color of the tabs. More... | |
| void | setBackgroundColorHover (Color backgroundColor) |
| Changes the background color of the tab below the mouse. More... | |
| Color | getBackgroundColorHover () const |
| Returns the background color of the tab below the mouse. More... | |
| void | setBackgroundColorDisabled (Color backgroundColor) |
| Changes the background color of a disabled tab. More... | |
| Color | getBackgroundColorDisabled () const |
| Returns the background color of a disabled tab. More... | |
| void | setSelectedBackgroundColor (Color backgroundColor) |
| Changes the background color of the selected tab. More... | |
| Color | getSelectedBackgroundColor () const |
| Returns the background color of the selected tab. More... | |
| void | setSelectedBackgroundColorHover (Color backgroundColor) |
| Changes the background color of the selected tab when the mouse is on top of it. More... | |
| Color | getSelectedBackgroundColorHover () const |
| Returns the background color of the selected tab when the mouse is on top of it. More... | |
| void | setTextColor (Color textColor) |
| Changes the color of the text. More... | |
| Color | getTextColor () const |
| Returns the color of the text. More... | |
| void | setTextColorHover (Color textColor) |
| Changes the color of the text when the mouse is on top of the tab. More... | |
| Color | getTextColorHover () const |
| Returns the color of the text when the mouse is on top of the tab. More... | |
| void | setTextColorDisabled (Color textColor) |
| Changes the color of the text of a disabled tab. More... | |
| Color | getTextColorDisabled () const |
| Returns the color of the text of a disabled tab. More... | |
| void | setSelectedTextColor (Color textColor) |
| Changes the color of the text from the selected tab. More... | |
| Color | getSelectedTextColor () const |
| Returns the color of the text from the selected tab. More... | |
| void | setSelectedTextColorHover (Color textColor) |
| Changes the color of the text from the selected tab when the mouse is on top of it. More... | |
| Color | getSelectedTextColorHover () const |
| Returns the color of the text from the selected tab when the mouse is on top of it. More... | |
| void | setBorderColor (Color color) |
| Sets the color of the borders. More... | |
| Color | getBorderColor () const |
| Returns the color of the borders. More... | |
| void | setBorderColorHover (Color color) |
| Sets the color of the borders when the mouse is on top of it. More... | |
| Color | getBorderColorHover () const |
| Returns the color of the borders when the mouse is on top of it. More... | |
| void | setSelectedBorderColor (Color color) |
| Sets the color of the borders around the selected tab. More... | |
| Color | getSelectedBorderColor () const |
| Returns the color of the borders around the selected tab. More... | |
| void | setSelectedBorderColorHover (Color color) |
| Sets the color of the borders around the selected tab when the mouse is on top of it. More... | |
| Color | getSelectedBorderColorHover () const |
| Returns the color of the borders around the selected tab when the mouse is on top of it. More... | |
| void | setTextureTab (const Texture &texture) |
| Change the image of a tab. More... | |
| const Texture & | getTextureTab () const |
| Returns the image of a tab. More... | |
| void | setTextureTabHover (const Texture &texture) |
| Change the image of a tab when the mouse is on top of it. More... | |
| const Texture & | getTextureTabHover () const |
| Returns the image of a tab when the mouse is on top of it. More... | |
| void | setTextureSelectedTab (const Texture &texture) |
| Change the image of a selected tab. More... | |
| const Texture & | getTextureSelectedTab () const |
| Returns the image of a selected tab. More... | |
| void | setTextureSelectedTabHover (const Texture &texture) |
| Change the image of a selected tab when the mouse is on top of it. More... | |
| const Texture & | getTextureSelectedTabHover () const |
| Returns the image of a selected tab when the mouse is on top of it. More... | |
| void | setTextureDisabledTab (const Texture &texture) |
| Change the image of a disabled tab. More... | |
| const Texture & | getTextureDisabledTab () const |
| Returns the image of a disabled tab. More... | |
| void | setDistanceToSide (float distanceToSide) |
| Changes the distance between the text and the side of the tab. More... | |
| float | getDistanceToSide () const |
| Returns the distance between the text and the side of the tab. More... | |
| WidgetRenderer ()=default | |
| Default constructor. | |
| WidgetRenderer (const std::shared_ptr< RendererData > &data) | |
| Construct the renderer from renderer data. More... | |
| Public Member Functions inherited from tgui::WidgetRenderer | |
| WidgetRenderer ()=default | |
| Default constructor. | |
| WidgetRenderer (const std::shared_ptr< RendererData > &data) | |
| Construct the renderer from renderer data. More... | |
| virtual | ~WidgetRenderer ()=default |
| Virtual destructor. | |
| void | setOpacity (float opacity) |
| Changes the opacity of the widget. More... | |
| float | getOpacity () const |
| Returns the opacity of the widget. More... | |
| void | setOpacityDisabled (float opacity) |
| Changes the opacity of the widget when it is disabled. More... | |
| float | getOpacityDisabled () const |
| Returns the opacity of the widget when it is disabled. More... | |
| void | setFont (Font font) |
| Changes the font used for the text in the widget. More... | |
| Font | getFont () const |
| Returns the font associated with the widget (if any) More... | |
| void | setTransparentTexture (bool ignoreTransparentParts) |
| Sets whether mouse events should be ignored on transparent parts of the texture of the widget in normal state. More... | |
| bool | getTransparentTexture () const |
| Returns whether mouse events should be ignored on transparent parts of the texture of the widget. More... | |
| void | setProperty (const String &property, ObjectConverter &&value) |
| Changes a property of the renderer. More... | |
| ObjectConverter | getProperty (const String &property) const |
| Retrieves the value of a certain property. More... | |
| const std::map< String, ObjectConverter > & | getPropertyValuePairs () const |
| Gets a map with all properties and their values. More... | |
| void | subscribe (const void *id, const std::function< void(const String &property)> &function) |
| Subscribes a callback function to changes in the renderer. More... | |
| void | unsubscribe (const void *id) |
| Subscribes a callback function to changes in the renderer. More... | |
| std::shared_ptr< RendererData > | getData () const |
| Returns the renderer data. More... | |
| std::shared_ptr< RendererData > | clone () const |
| Gets a clone of the renderer data. More... | |
| Color tgui::TabsRenderer::getBackgroundColor | ( | ) | const |
Returns the background color of the tabs.
| Color tgui::TabsRenderer::getBackgroundColorDisabled | ( | ) | const |
Returns the background color of a disabled tab.
| Color tgui::TabsRenderer::getBackgroundColorHover | ( | ) | const |
Returns the background color of the tab below the mouse.
| Color tgui::TabsRenderer::getBorderColor | ( | ) | const |
Returns the color of the borders.
| Color tgui::TabsRenderer::getBorderColorHover | ( | ) | const |
Returns the color of the borders when the mouse is on top of it.
| Borders tgui::TabsRenderer::getBorders | ( | ) | const |
Returns the size of the borders.
| float tgui::TabsRenderer::getDistanceToSide | ( | ) | const |
Returns the distance between the text and the side of the tab.
| Color tgui::TabsRenderer::getSelectedBackgroundColor | ( | ) | const |
Returns the background color of the selected tab.
| Color tgui::TabsRenderer::getSelectedBackgroundColorHover | ( | ) | const |
Returns the background color of the selected tab when the mouse is on top of it.
| Color tgui::TabsRenderer::getSelectedBorderColor | ( | ) | const |
Returns the color of the borders around the selected tab.
| Color tgui::TabsRenderer::getSelectedBorderColorHover | ( | ) | const |
Returns the color of the borders around the selected tab when the mouse is on top of it.
| Color tgui::TabsRenderer::getSelectedTextColor | ( | ) | const |
Returns the color of the text from the selected tab.
| Color tgui::TabsRenderer::getSelectedTextColorHover | ( | ) | const |
Returns the color of the text from the selected tab when the mouse is on top of it.
| Color tgui::TabsRenderer::getTextColorDisabled | ( | ) | const |
Returns the color of the text of a disabled tab.
| Color tgui::TabsRenderer::getTextColorHover | ( | ) | const |
Returns the color of the text when the mouse is on top of the tab.
| const Texture& tgui::TabsRenderer::getTextureDisabledTab | ( | ) | const |
Returns the image of a disabled tab.
| const Texture& tgui::TabsRenderer::getTextureSelectedTab | ( | ) | const |
Returns the image of a selected tab.
| const Texture& tgui::TabsRenderer::getTextureSelectedTabHover | ( | ) | const |
Returns the image of a selected tab when the mouse is on top of it.
| const Texture& tgui::TabsRenderer::getTextureTab | ( | ) | const |
Returns the image of a tab.
| const Texture& tgui::TabsRenderer::getTextureTabHover | ( | ) | const |
Returns the image of a tab when the mouse is on top of it.
| void tgui::TabsRenderer::setBackgroundColor | ( | Color | backgroundColor | ) |
Changes the background color of the tabs.
| backgroundColor | The new background color |
Note that this color is ignored when the tab and selected tab image were set.
| void tgui::TabsRenderer::setBackgroundColorDisabled | ( | Color | backgroundColor | ) |
Changes the background color of a disabled tab.
| backgroundColor | The new disabled background color |
| void tgui::TabsRenderer::setBackgroundColorHover | ( | Color | backgroundColor | ) |
Changes the background color of the tab below the mouse.
| backgroundColor | The new hover background color |
| void tgui::TabsRenderer::setBorderColor | ( | Color | color | ) |
Sets the color of the borders.
| color | The new border color |
| void tgui::TabsRenderer::setBorderColorHover | ( | Color | color | ) |
Sets the color of the borders when the mouse is on top of it.
| color | The new hover border color |
| void tgui::TabsRenderer::setBorders | ( | const Borders & | borders | ) |
Changes the size of the borders.
| borders | Size of the borders |
| void tgui::TabsRenderer::setDistanceToSide | ( | float | distanceToSide | ) |
Changes the distance between the text and the side of the tab.
| distanceToSide | distance between the text and the side of the tab |
| void tgui::TabsRenderer::setSelectedBackgroundColor | ( | Color | backgroundColor | ) |
Changes the background color of the selected tab.
| backgroundColor | The new selected tab background color |
| void tgui::TabsRenderer::setSelectedBackgroundColorHover | ( | Color | backgroundColor | ) |
Changes the background color of the selected tab when the mouse is on top of it.
| backgroundColor | The new selected hover tab background color |
| void tgui::TabsRenderer::setSelectedBorderColor | ( | Color | color | ) |
Sets the color of the borders around the selected tab.
| color | The new selected border color |
| void tgui::TabsRenderer::setSelectedBorderColorHover | ( | Color | color | ) |
Sets the color of the borders around the selected tab when the mouse is on top of it.
| color | The new selected hover border color |
| void tgui::TabsRenderer::setSelectedTextColor | ( | Color | textColor | ) |
Changes the color of the text from the selected tab.
| textColor | The new selected tab text color |
| void tgui::TabsRenderer::setSelectedTextColorHover | ( | Color | textColor | ) |
Changes the color of the text from the selected tab when the mouse is on top of it.
| textColor | The new selected hover tab text color |
| void tgui::TabsRenderer::setTextColor | ( | Color | textColor | ) |
Changes the color of the text.
| textColor | The new text color |
| void tgui::TabsRenderer::setTextColorDisabled | ( | Color | textColor | ) |
Changes the color of the text of a disabled tab.
| textColor | The new disabled text color |
| void tgui::TabsRenderer::setTextColorHover | ( | Color | textColor | ) |
Changes the color of the text when the mouse is on top of the tab.
| textColor | The new hover text color |
| void tgui::TabsRenderer::setTextureDisabledTab | ( | const Texture & | texture | ) |
Change the image of a disabled tab.
| texture | The new disabled tab texture |
The disabled texture is only used when a normal and selected tab texture are also set.
| void tgui::TabsRenderer::setTextureSelectedTab | ( | const Texture & | texture | ) |
Change the image of a selected tab.
| texture | The new selected tab texture |
When this image is set then the background color properties will be ignored for selected tabs.
| void tgui::TabsRenderer::setTextureSelectedTabHover | ( | const Texture & | texture | ) |
Change the image of a selected tab when the mouse is on top of it.
| texture | The new selected hover tab texture |
| void tgui::TabsRenderer::setTextureTab | ( | const Texture & | texture | ) |
Change the image of a tab.
| texture | The new tab texture |
When this image is set then the background color properties will be ignored for non-selected tabs.
| void tgui::TabsRenderer::setTextureTabHover | ( | const Texture & | texture | ) |
Change the image of a tab when the mouse is on top of it.
| texture | The new hover tab texture |
|
inline |
Construct the renderer from renderer data.
| data | Renderer data to initialize the renderer with |


--- title: Card subtitle: Subtitle layout: layout-docs category: General breadcrumb: General icon: card ---
Add anything here
Add anything here
Header title text
Lorem ipsum dolor sit amet consectetur adipisicing elit. Sequi, nulla.
Lorem ipsum
Lorem ipsum dolor sit amet consectetur adipisicing elit. Sequi, nulla.
Lorem ipsum
Lorem ipsum dolor sit amet consectetur adipisicing elit. Sequi, nulla.
For interactive cards with functionality similar to buttons or links, add
hover effects by using the
sgds-card sgds-card-button
class.
Media cards are graphical links that contain simple text content. Media cards have fixed height and hence can be stacked together in a grid of columns and rows.
Cards should:
| Modifier | Description |
|---|---|
| is-*colorState* |
Replace |


Obafemi Elegbede's Portfolio
Quick Summary
My name is Obafemi. I am from Nigeria. I am currently a junior at Alcorn State University and my major is Computer Science. My hobbies are playing soccer and video games. I am very excited to be part of the SPS program as I look forward to meeting awesome people and improving. The values I live by are integrity, kindness, and humility.
My Previous Projects
- Hash map
- Robot crane
- Airport Simulator
- Color-matching brick-breaker game
Programming Languages
- C++
- Python
- Currently learning Java
Interests
- Gaming
- Coding
- Playing soccer
- Watching Anime
Here are a few of my favorite anime characters:
Click here to get a random message:
Click here to see content created by server code.
Translation
Click the translate button to translate a random fact about me to Japanese.