Directory used to store and load some of the machine learning models described in the book.
A model is saved into (resp. restored from) file which name is the name of the class of the model, which inherits from the trait Model.
For instance, a model generated through training of a conditional random field is defined as org.scalaml.supervised.crf.CrfModel and saved
into the file models/CrfModel
The persistency design is implemented for only few models to illustrate the concept. The reader is invited to create a more robust, generic implementation for all the models presented in the book.
trait Model { protected def write(content: String): Boolean = FileUtils.write(content, Model.MODEL_RELATIVE_PATH, getClass.getSimpleName) // Save this model into a file models/getClass.getSimpleName def >> : Boolean = false } object Model { private val MODEL_RELATIVE_PATH = "models/" def read(className: String): Option[String] = FileUtils.read(MODEL_RELATIVE_PATH, className) }
final protected class CrfModel(val weights: DblVector) extends ModelThis constructor takes an vector of weights and is generated through training. The parameters of the model, weights, are stored in file using the Model.>> method as follows:
override def >> : Boolean = write(weights.mkString(","))An instance of the model, CrfModel, is created from file instead from training, using the second constructor that takes the name of the class of the model as argument.
def this(className: String) = this({ Model.read(className).map( _.split(",").map(_.toDouble)).getOrElse(Array.empty) })


In case you are experiencing errors loading this page:
This platform has only been developed for and tested on Chrome and Firefox.


COPLAND
A Film Review by James Berardinelli
RATING (0 TO 10): 7.0 Alternative Scale: *** out of ****
United States, 1997 U.S. Release Date: 8/15/97 (wide) Running Length: 1:44 MPAA Classification: R (Violence, profanity, mature themes) Theatrical Aspect Ratio: 1.85:1
Cast: Sylvester Stallone, Harvey Keitel, Ray Liotta, Robert DeNiro, Janeane Garofalo, Michael Rapaport, Robert Patrick, Peter Berg, Anabella Sciorra, Cathy Moriarty Director: James Mangold Producers: Cary Woods, Cathy Konrad, and Ezra Swerdlow Screenplay: James Mangold Cinematography: Eric Edwards Music: Howard Shore U.S. Distributor: Miramax Films
Much has been written about Sylvester Stallone's return to serious acting in COPLAND. It's an entirely different matter, however, to watch the action superstar in this new role than it is to read and hear about it.  The most noticeable thing about Freddy isn't the caliber of his gun, it's the size of his paunch. And, every time Freddy confronts COPLAND's villain, Ray Donlan (Harvey Keitel), something extraordinary happens: he meekly backs down. It's a strange thing to see Stallone playing someone whose primary characteristic is impotence.
While this is probably the actor's best turn since ROCKY, and he does a credible job that may earn him the opportunity to do more "serious" work in the future, Stallone's performance is outshone on all sides. That's not a knock against him; it's an acknowledgment that the supporting cast is about the best that it can be. Although Keitel's one-dimensional, over-the-top portrayal isn't all that impressive, both Ray Liotta and Robert DeNiro manage to craft well-developed, interesting characters. In smaller roles, Janeane Garofalo, Robert Patrick, and Anabella Sciorra are equally impressive.
Writer/director James Mangold, who earned the chance to make COPLAND on the strength of his debut feature, HEAVY, uses the same kind of main character here as in the previous film. Freddy is a lonely loner -- insecure about himself and his place in the world, and always dreaming of a woman and a life he cannot have. In HEAVY, Pruitt Taylor Vince longed for Liv Tyler. Here, the woman who represents Freddy's perfect female is Liz Randone (Anabella Sciorra). The relationship between these two is one of COPLAND's most fascinating elements, but it lacks any kind of resolution, and that represents one of several frustrating aspects of the film's ending.
Ultimately, COPLAND is just another story of police corruption in New York City -- a Western transposed into modern times. The film takes place in Garrison, a tiny northern New Jersey town (population 1280) that has been dubbed "Copland" because of the number of NYPD officers who live there with their families. Ray and his cronies basically own Garrison, due in large part to Freddy's passivity. He's "a wannabe who couldn't get on the force because of his bad ear," and who isn't willing to do anything to rock the boat. But Ray is a bad cop -- he has his fingers in a number of illegal pies, and he has connections so high up that not even an internal affairs officer, Moe Tilden (DeNiro), can touch him without concrete evidence.
COPLAND opens with a dynamic sequence that includes a wildly unpredictable car chase that ends with a young cop (Michael Rapaport) killing two men, then apparently jumping to his death from the George Washington Bridge. Only he's not really dead; he's being hidden by his uncle, Ray, who doesn't want his own illegal undertakings exposed as a result of an internal affairs investigation. When Freddy notices that the rookie is still alive, despite a police funeral and full news coverage of his death, the sheriff unwittingly becomes a player in a high stakes game that involves warring factions of a the NYPD, the mayor of New York, and a high-ranking organized crime figure.
COPLAND is an energetic movie, but the plot is a little too ambitious. The interaction between individual characters is often highly enjoyable, but, when you try to take in the entire story, implausibilites leap to the surface (not the least of which is how easily a high-profile individual can be presumed dead with the media swarming around and everyone in one town knowing that he's still alive). The film's logic is more than a little suspect, and quite a few plot threads are left dangling by the time that the final reel is over. Late reshoots may have given COPLAND a better sense of closure, but they don't address all the unanswered questions. With that in mind, it should be recognized that this is a movie to be appreciated for individual scenes, some of which are dynamic and powerful. And there is a certain visceral satisfaction in the resolution, as is often the case in a cop movie.
In addition to the high caliber of acting, another thing that sets COPLAND apart from an average entry into the genre is Mangold's dialogue, which sparkles with intelligence. The director may not have Tarantino's gift for words, but his characters speak reasonably, not like they're reading from a sheet of paper. Even the supporting players, like Janeane Garofalo's officer Cindy Betts, say and do things in a believable manner.  As a result, COPLAND is a compelling, if imperfect, motion picture.
Copyright 1997 James Berardinelli
- James Berardinelli e-mail<EMAIL_ADDRESS>ReelViews web site: http://www.cybernex.net/~berardin
"A film is a petrified fountain of thought." - Jean Cocteau
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Section:
..
/ 0801-exploits /
Page 6 of 11
<<
1
2
3
4
5
6
7
8
9
10
11
>>
Files 125 - 150 of 273
Currently sorted by: File Name
Sort By:
Last Modified
,
File Size
///
File Name:
lulieblog-sql.txt
Description:
LulieBlog version 1.02 suffers from a remote SQL injection vulnerability in voircom.php.
Author:
IRCRASH
Homepage:
http://ircrash.com/
File Size:
1509
Last Modified:
Jan 23 23:46:07 2008
MD5 Checksum:
8ed727e0f227f56c2457b9a6a77b7944
///
File Name:
lycos-overflow.txt
Description:
Lycos FileUploader Control buffer overflow exploit that can bind a shell to port 4444.
Author:
Elazar Broad
File Size:
6759
Last Modified:
Jan 24 00:12:31 2008
MD5 Checksum:
af4cbaa2f63f150989aeb96121f5f9cd
///
File Name:
mailbee-insecure.txt
Description:
MailBee Objects version 5.5 remote insecure method exploit that makes use of MailBee.dll.
Author:
darkl0rd
File Size:
1917
Last Modified:
Jan 29 21:32:48 2008
MD5 Checksum:
47633fe5819b31e22350bec36d4d5fd3
///
File Name:
mailbee-rfd.txt
Description:
MailBee WebMail Pro version 4.1 suffers from a remote file disclosure vulnerability.
Author:
-=M.o.B=-
File Size:
191
Last Modified:
Jan 16 23:52:15 2008
MD5 Checksum:
2cb34270f954118a07147d8a9b523a48
///
File Name:
mambo-xssxsrf.txt
Description:
Mambo version 4.6.3 suffers from path disclosure, cross site scripting, cross site request forgery, and denial of service vulnerabilities.
Author:
AmnPardaz Security Research Team
Homepage:
http://www.bugreport.ir/
File Size:
5148
Last Modified:
Jan 28 12:52:19 2008
MD5 Checksum:
5582180861c3e0fef7c296b133afcd2d
///
File Name:
mas-rfi.txt
Description:
Member Area System (MAS) suffers from a remote file inclusion vulnerability in view_func.php.
Author:
ShipNX
File Size:
2898
Last Modified:
Jan 11 13:39:58 2008
MD5 Checksum:
2ea1f1114b4921535979b4e70729649e
///
File Name:
max-upload.txt
Description:
Max's File Uploader allows for arbitrary PHP shell uploads.
Author:
Xcross87
File Size:
452
Last Modified:
Jan 15 20:09:45 2008
MD5 Checksum:
22401c88fb461e31e0be4271cd348a1a
///
File Name:
mcafee2.pl.txt
Description:
McAfee E-Business Server versions 8.5.2 and below pre-authentication denial of service exploit.
Author:
Leon Juranic
Homepage:
http://www.infigo.hr/
Related File:
INFIGO-2008-01-06.txt
File Size:
530
Last Modified:
Jan 9 13:12:48 2008
MD5 Checksum:
5ae27730fb4c11c411e1402b43ac9b37
///
File Name:
mds-disclose.txt
Description:
Million Dollar Script version 2.0.14 suffers from a remote file disclosure vulnerability.
Author:
p4imi0
File Size:
431
Last Modified:
Jan 7 14:37:34 2008
MD5 Checksum:
33d4b7f295af4c9fb4e21c85654740be
///
File Name:
megabbs-xss.txt
Description:
MegaBBS ASP Forum version 1.5.14b suffers from a cross site scripting vulnerability.
Author:
DoZ
Homepage:
http://www.hackerscenter.com/
File Size:
1120
Last Modified:
Jan 21 20:52:53 2008
MD5 Checksum:
3b9f988070326a80eabb031e009aa3a3
///
File Name:
mfh-lfi.txt
Description:
Mini File Host versions 1.2 and below suffer from a local file inclusion vulnerability.
Author:
Scary-Boys
Homepage:
http://scary-boys.com/
File Size:
961
Last Modified:
Jan 17 00:22:04 2008
MD5 Checksum:
67d04b4f2350be7f5073f894761e067f
///
File Name:
mgbs-sql.txt
Description:
Mooseguy Blog System version 1.0 suffers from a SQL injection vulnerability in blog.php.
Author:
The_HuliGun
File Size:
498
Last Modified:
Jan 21 21:06:24 2008
MD5 Checksum:
af0b7fe896193b6a1776a37f6a8355be
///
File Name:
mindmeld-rfi.txt
Description:
Mindmeld version <IP_ADDRESS> suffers from multiple remote file inclusion vulnerabilities.
Author:
David Wharton
File Size:
2421
Last Modified:
Jan 31 23:31:14 2008
MD5 Checksum:
fecd943192817f59b2f81250445610c3
///
File Name:
minifilehost-include.txt
Description:
Mini File Host version 1.2.1 local file inclusion exploit that makes use of upload.php.
Author:
shinnai
Homepage:
http://shinnai.altervista.org/
File Size:
2057
Last Modified:
Jan 21 20:14:09 2008
MD5 Checksum:
1152b6c4abb9aa27a0136122d23f50fc
///
File Name:
minimal-disclose.txt
Description:
minimal Gallery version 0.8 suffers from a remote file disclosure vulnerability.
Author:
H-T Team
Homepage:
http://no-hack.fr/
File Size:
1355
Last Modified:
Jan 14 14:03:48 2008
MD5 Checksum:
5c2b5a8da6af2ae27b4148af6b3eea96
///
File Name:
miniweb-multi.txt
Description:
MiniWeb version 0.8.19 suffers from directory traversal and heap overflow vulnerabilities. Exploitation details provided.
Author:
Hamid Ebadi
Homepage:
http://www.bugtraq.ir/
File Size:
2109
Last Modified:
Jan 17 00:17:53 2008
MD5 Checksum:
3cf3d1412e7d0c3d130a2bdab0fc62c7
///
File Name:
modxcms-lfi.txt
Description:
MODx CMS version <IP_ADDRESS> suffers from source code disclosure and local file inclusion vulnerabilities.
Author:
AmnPardaz Security Research Team
Homepage:
http://www.bugreport.ir/
File Size:
3509
Last Modified:
Jan 2 14:31:27 2008
MD5 Checksum:
d42406371c631f8017cfc6b2f4d78be2
///
File Name:
moinmoin-cookie.txt
Description:
MoinMoin version 1.5.x MOIND_ID exploit that takes advantage of a cookie related bug.
Author:
Fernando Quintero aka nonroot
File Size:
1511
Last Modified:
Jan 23 23:13:22 2008
MD5 Checksum:
9a965be184b1fd8f72e1d310d3d1422b
///
File Name:
moodleinstall-xss.txt
Description:
Moodle versions below 1.8.4 suffer from a cross site scripting vulnerability in the installer code.
Author:
Hanno Boeck
Homepage:
http://www.hboeck.de/
File Size:
1455
Related CVE(s):
CVE-2008-0123
Last Modified:
Jan 11 20:39:32 2008
MD5 Checksum:
07101c5967bd57438fd39a130ed5c2eb
///
File Name:
move-overwrite.txt
Description:
Move Networks Quantum Streaming player SEH overwrite exploit that spawns calc.exe.
Author:
Elazar Broad
File Size:
3119
Related CVE(s):
CVE-2007-4722
Last Modified:
Jan 9 01:41:32 2008
MD5 Checksum:
97e369f1acd1cf342ca475a18cbb3655
///
File Name:
movenet-overflow.txt
Description:
Move Networks Upgrade Manager Control buffer overflow exploit with calc.exe and port binding shellcode.
Author:
Elazar Broad
File Size:
6697
Last Modified:
Jan 25 03:12:04 2008
MD5 Checksum:
a58074d9d40dae3928f1dc08f00dcc2c
///
File Name:
msfox-vfp6r.txt
Description:
Microsoft FoxServer ActiveX command execution exploit that makes use of vfp6r.dll version 6.0.8862.0.
Author:
shinnai
Homepage:
http://shinnai.altervista.org/
File Size:
1080
Last Modified:
Jan 10 03:47:08 2008
MD5 Checksum:
052d0c8ec874cf6887584523c1a23d00
///
File Name:
msrtc-insecure.txt
Description:
Microsoft Rich Textbox Control version 6.0 (SP6) SaveFile() insecure method exploit.
Author:
shinnai
Homepage:
http://shinnai.altervista.org/
File Size:
1807
Last Modified:
Jan 10 03:48:55 2008
MD5 Checksum:
20bf0322089d0d507d6aea6f9b908f49
///
File Name:
mssln-overflow.txt
Description:
Microsoft Visual InterDev version 6.0 (SP6) .sln file local buffer overflow exploit.
Author:
shinnai
Homepage:
http://shinnai.altervista.org/
File Size:
3673
Last Modified:
Jan 11 13:04:24 2008
MD5 Checksum:
2b11c6304769ca07eadbf7f815d6f06c
///
File Name:
msvfpole-exec.txt
Description:
Microsoft VFP_OLE_Server remote command execution exploit.
Author:
shinnai
Homepage:
http://shinnai.altervista.org/
File Size:
1071
Last Modified:
Jan 10 03:49:45 2008
MD5 Checksum:
79c8434df289726bbfaa077b3376d19e


Very launches a Nintendo Switch early Black Friday deal for under £300
The deal was spotted by bargain hunters thanks to an on-site £50 discount
by Stephen HurrellOnline retailer Very has launched a massive early Black Friday deal on the Nintendo Switch.
Very always takes part in Black Friday sales and often reduced the price of the PS4, XBox and Nintendo Switch games consoles.
However, it has moved early to offer the first big discount on the popular Nintendo Switch console with a bundle offer that has impressed bargain-hunters. Shoppers on an extreme bargain-hunting Facebook group spotted the big discount and many have already snapped up the deal.
It is selling a Nintendo Switch grey console with Lego Move 2, Lego DC Super Villians and Lego Worlds for just £329.99 online, which is down from £369.99.
The £40 saving makes it one of the best Nintendo Switch bundle deals on the market today and the retailer is also offering ways to save an extra £50 with a discount code that can be found on the deal page, bringing the overall price down to £280.
You can get the deal here until 7 November.
The deal includes three games and is still cheaper than a Nintendo Switch with Mario Kart 8 at Currys PC World , which is currently £299, down from £319.99.
Amazon has the same bundle for £319.99 for Prime members, while
The Nintendo Switch is one of the world's best-selling consoles. It can be played hooked up to a TV or on the move and it features popular games such as the Mario franchise, Pokemon and Lego.
Last year hit game Fortnite was released on the system and device has been credited with helping turn around Nintendo's fortunes since it was released in 2017.


## Mako can find this base file because it's in the settings.py -> MAKO_TEMPLATES_DIRS list <%inherit file="base.htm" /> <%block name="content">
| ID | SKU | Availability | Catagory | Brand | Description | Price | Actions |
|---|---|---|---|---|---|---|---|
| ${ c.id} | ${ c.sku} | ${ c.availability} | ${ c.category} | ${ c.brand} | ${ c.description} | ${ c.price} | Edit Delete |


Creating rune pages can be quite tedious - especially for low elo players. To quickly create new rune page, a player has to memorize the effects of each rune. The current solution for many players is to copy the rune pages other players use e.g. from probuilds.net
This process takes relatively long: there might not be enough time to create the rune page in champ select
We built a machine learning model to generate rune pages for a champion and lane combination. The player only has to enter these two parameters to receive a customizable rune page. We help the player by providing a base line model for his rune page. If the player wishes to customize it, he’s free to do so, but he can also just use the rune page generated by our model.
A key feature of our application is the League Client Update integration. If the player downloads our Electron App and generates a rune page, he can insert the page into the client and set it as active with one click. This approach is far faster than copying a rune page from another player by hand.
In the future we want to integrate more tightly with the LCU: With the internal API we could automatically detect the champion and lane chosen by the player. Additional input parameters for our models such as the champions of both teams could also be automatically extracted, enabling more accurate predictions with less overhead for the player.
The technical details can be found in a short presentation


Configuration options to use for this instance.
Static Properties
Database collection name for storing "link tokens" which are used to pass WebRTC connection traffic after the initial connection has been allowed.
Prebuffer trivial files into memory, up to the given number of bytes across all uploaded files. Handy for handling small file uploads (such as user avatars) in an application where file uploads are not a major feature.
Whether a user is permitted to open a Socket.io
connection from a context without same-origin
privelege, such as an iframe. Such connections perform all actions with isDomestic
set to false
. With Socket.io
connections, Agent
instances are retained between Actions, so note that manual changes to the Agent's status flags
will persist throughout the connection.
Member Properties
Optionally override MongoDB setup however you want by passing in a pre-configured Collection driver instance.
If true, accept arbitrary content types and pass them, as well as multipart/form-data
requests,
to the Action as streams. The content type will be passed as contentType
and the request body
will be a ReadableStream
instance.


Here are some frequently asked questions. Hope you find your answer in here :-)
Frequently Asked Questions
What is Istio?
FILL ME.
Why would I want to use Istio?
The main usage scenarios:
FILL ME.
How do I get started using Istio?
You can start with installation of Istio by following instructions from here.
What is the license?
Apache V2.
How can I contribute?
Contributors are highly welcome and the repositories are hosted on GitHub.
We look forward to community feedback, additions and bugs.
Please see our Contribution Guidelines
to learn how to contribute.


SceneJS
- environment demo
pre-made rendering environment
lawn
with
teapot
model
click on something to fly to that point
drag mouse to orbit it, mouse wheel to zoom in and out


Authentication
Since the authentication process is centralized in MakerLab’s api endpoint, the app will make this process through a Web View that, allied to the redirects made by OAuth protocol used by the university, will take the user through the steps needed to the authentication process. The app will only interfere in last step - establishing the session with the wiki - where it will get the session-id through the request headers and save it in the app preferences (Shared Preferences), as it will be necessary to perform all the requests to MakerLab’s api endpoints. This Shared Preferences are saved in a secure way (Secure Preferences) on the equipment (smartphone or tablet) memory. After this proccess, the webview cache need to be cleared, so that the user can logout and re-login with another accounts, since UA’s idp saves session and allways maintains an logged account.
After the login’s process, the app will request for user’s infos by making
a request to /api/profile
endpoint and save the user name, email and wiki user id.
At this point the app also saves the current login time, since wiki’s session is maintained
only for 15 days, so it needs to force logout so that the session-id is allways
valid.
An auto-login feature is also present, by handling the user infos on app preferences. When the user forces logout, these infos are cleared, so the app will ask the user to make authentication by following all workflow shown above.
DMLCalls
The DMLCalls is the model class responsible for populate and mantaining the information needed on others views, namely the complete list of users, and the list of projects and requisitions of the user that is authenticated. A complete workflow (getting list of users > list of user’s projects > list of user’s requisitions) is done on the app startup, so that the views can be populated in the initial state.
These information obtained from the MakerLab’s api endpoints is stored follwoing the OOP methodology, as follows.
- Users list : based on User object, which contains its name (first and last), wiki user id and a flag used to manipulate checkable list on “Adicionar Membros” feature;
- User’s projects list : based on Project object, which contains project name and id, creation date and a list of it’s members (User objects);
- User’s requisitions list : based on Requisition object which contains the item name and id, the associated project name and number of units requested;
These objects are stored in lists, accessible at any time, through DMCalls instance. It is also possible to force a refresh of the user’s projects and requisitions by calling the respective method (forceUserProjectsLoad, forceUserRequisitions). The user’s projects refresh will notify Main Activity (with a broadcast signal) and redirect the user to projects list in order to refresh the list view with the last projects, and the user’s requisitions refresh will notify the reader fragment in order to re-activate the camera function.
Api call’s
All requests to MakerLab’s api endpoints are done based on Volley lib.
However, since wiki host has a self-signed certificate to work on http secure mode
(https), some changes have to be done on top of Volley lib. These changes are
present on network package
, namely:
- AndroidSelfSigned - based on erickok solution creates a keystore containing trusted certificates, a trust manager that trust on certificates placed on the keystore and a ssl context that uses that trust manager;
- VolleySelfSigned - using all tools created on AndroidSelfSigned and based on HurlStack, creates a connection with a custom ssl socket factory (NoSSLv3SocketFactory) and attach a session-id (cookie) to it;
- NoSSLv3SocketFactory -disables SSLv3, since while making a secure connection, android was falling back to SSLv3 from TLSv1 . It is a known bug in android versions <= 4.4 and it can be solved by removing the SSLv3 protocol from enabled protocols list;
The server certificate that is used on MakerLab’s api endpoints interactions is generated in MakerLab’s server (.crt extension) and placed on assets folder (on project path). Also, the cookie that is attached to the requests / responses is obtained on Authentication phase, as described in above section.
Views structure
The app views are all based on Fragments interface, selected by a side menu which is available at any time with the exception of Project Page fragment, User list fragment and Create Project fragment, since they make part of a separate workflow. In that case, it is necessary to handle go back feature (top left icon is replaced for a go back arrow) and it’s logic in MainActivity.
Item scanner
Since the app needs to scan QR codes and work on theirs information, the application uses MobileVisionBarcodeScanner lib, which in itself is based on a solution created by Google. It detects a QR code and returns it’s value so that we can work above it.
Augmented Reality
The augmented reality feature was a addition made on MobileVisionBarcodeScanner source code. When a code is readed, a Barcode wrapper is created, which make possible to find the code bounding box. Based on that, the app builds and draw four paintings on returned canvas, as following:
- Rect Background - fills the background with white color and bounds the image;
- Logo bitmap - decodes the png logo file and creates a scaled bitmap to draw over the rect background;
- Rect border - draws a rectangle border with MakerLab’s color, to make the canvas look better;
- Text - computes text position on rect’s bottom, so that it appears centered with it. This
text is the equipment name where the QR code is pasted, and it is obtained by making
a request to
api/equipments/QRCODE_SCANNED
. These names are maintained in a Map so that repeated requests are not made to previously readed codes;
This feature can be enabled or disabled on settings menu, which controlls a flag saved on app preferences.
Requisitions / Deliveries logics
After the QR code is readed and returned, it is necessary to find the equipment
infos, by making a request to api/equipments/QRCODE_SCANNED
and analyse the name,
quantity and active requisitions number. After that a dialog is created to
handle user input, namely:
- Requisition / Delivery chooser - a switch which determines whether the user wants to make a requisition or a delivery;
- Project - if the user wants to make a requisition, the project spinner will show all user’s projects (DMLCalls projects list) so that the user selects one of them to associate the requisition. If it is a delivery, the project spinner will just show the projects in which the user have active requisitions, by analysing user active requisitions list (DMLCalls requisition list);
- Number of units - determines the number of units the user want to request or deliver. The request max value is limited to 10 (so the server does not overload) or number of units available if it has a value smaller than 10. The deliver max value is also limited to 10 or number of units in the active requisition, if it has a value smaller than 10.
The inexistence of projects prevents the dialog from being displayed, since there are no projects in which the user can associate the requisition, as well as the inexistence of available equipment’s units will block the requisition feature and the inexistence of active requisitions of the equipment will block delivery feature.
When “Concluir” button is pressed, the request need to be done, by making a PUT request
to api/projects/CHOSEN_PROJECT_ID/requisitions/QRCODE_SCANNED
in order to make a requisition
or a DELETE request to same endpoint to make a delivery. Since the server does
not support multiple requisitions / deliveries at once, it is necessary to make
multiple requests to the specific endpoint, which value is determined by the
number chosen in the NumberPicker. After all requests are computed
by the server, a message with operation status will show and the requisition list needs
to be refresh by making a reload of the requisitions list on DMLCalls, which, when the reload
is finished, will broadcast a signal in order to allow the user to make new requisitions
or deliveries based on updated values.
Projects
Create Project
Based on two fields on a form where the user fills the project name and description
a PUT request is made to api/projects/new?title=PROJECT_NAME&content=PROJECT_DESCRIPTION
.
After that the user is redirected to project list view.
Listing Projects
The user’s projects list (DMLCalls projects list) is showing based on a listview with a custom adapter which shows the project name, creation date and a rectangle image which represents the project.
Project Page
When a project is clicked on above section, a page with more details appears. The main feature of this page is to see and manage the project members, by showing a list with them.
Adding members to projects
When the user clicks on “Adicionar Membros”, a new page with all MakerLab’s users
is shown, so that the user can select and add multiple members to it’s projects.
This checkable list is handle by consulting isSelected flag present on User object,
so it needs to be unchecked on page startup. A listview item click listener is also
setted in order to improve user experience and allow them to pick a user by simply touch on
the item or in the checkbox. When “Adicionar Membros” button is clicked, a PUT request
to api/projects/PROJECT_ID/members/USER_ID
has to be done , user by user, since
the server does not support multiple addings’.
Requisitions Lists
Based on requisitions and deliveries done on Item Scanner section, a page will be show all user active requisitions (DMLCalls requisition list). Each item of this list will have the equipment name, the project which requisition is associated and number of units requested.
Development Environment
The app was created on Android Studio IDE and the dependencies are maintained using Gradle (used by default with Android Studio IDE).
Dependencies
In order to create and build the app so that the requeriments and user experience gets fulfilled, some external libs have been used, namely:
- MobileVisionBarcodeScanner - base lib to read QRCodes, as explained in the above sections;
- Gravatar-Android - used to load user avatar;
- TextDrawable - used to draw project image/avatar on its page and projects list;
- Picasso - used to download and cache images;
- SecurePreferences-lib - wrapper that encrypts the values of Shared Preferences;
- FloatingActionButton - custom and animated floating action button based on material design specification;
- Volley - HTTP library that makes network requests faster and easier to handle;
- CircleImageVIew - used to draw user avatar with a circular shape;


JBoss AS5 MC articles and presentations.
Ales has written a series of JBoss Microcontainer, which is the core of JBoss AS 5, articles at DZone.
Also, in the youtube, we've got the four presentations from Scott Stark and Ales at JavaOne.
- JBoss AS5 Deployment Environment
- JBoss AS5 Component Mixture Patterns
- JBoss AS5 Classloading and OSGI
- JBoss Microcontainer Optimization