|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gracenote.gnsdk.GnStorageSqlite
public class GnStorageSqlite
GNSDK SQLite storage provider
| Method Summary | |
|---|---|
static java.lang.String |
buildDate()
Retrieves the build date string of the Storage SQLite library. |
void |
delete()
|
static GnStorageSqlite |
enable()
Enable SQLite storage provider |
java.lang.String |
journalMode()
Get journalling mode setting |
void |
journalMode(java.lang.String mode)
Sets how the SQLite journal file is managed for database transactions. |
long |
maximumCacheFileSize()
Get maximum cache file size |
void |
maximumCacheFileSize(long maxCacheSize)
Sets the maximum size the GNSDK cache can grow to; for example '100' for 100 Kb or '1024' for 1 MB. |
long |
maximumCacheMemory()
Get maximum cache memory |
void |
maximumCacheMemory(long maxMemSize)
Sets the maximum amount of memory SQLite can use to buffer cache data. |
static java.lang.String |
sqliteVersion()
Retrieves the version string of the internal SQLite database engine. |
java.lang.String |
storageLocation()
Get storage location folder for GNSDK SQLite storage |
void |
storageLocation(java.lang.String folderPath)
Sets a folder location for GNSDK SQLite storage |
java.lang.String |
synchronousMode()
Get synchronous mode setting |
void |
synchronousMode(java.lang.String mode)
Sets the method that SQLite uses to write to the cache files. |
java.lang.String |
temporaryStorageLocation()
Get the temporary storage location folder for GNSDK SQLite storage |
void |
temporaryStorageLocation(java.lang.String folderPath)
Sets a temporary folder location for GNSDK SQLite storage |
static java.lang.String |
version()
Retrieves the version string of the Storage SQLite library. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void delete()
public static GnStorageSqlite enable() throws GnException
GnException
public static java.lang.String version()
public static java.lang.String buildDate()
public static java.lang.String sqliteVersion()
public void storageLocation(java.lang.String folderPath) throws GnException
folderPath
- [in] Relative path name for storage
Remarks:
This API sets the folder location for ALL GNSDK SQLite storage - to set specific cache or database locations use StorageLocation methods of the appropriate class.GnException
public java.lang.String storageLocation() throws GnException
GnException
public java.lang.String temporaryStorageLocation() throws GnException
GnException
public void temporaryStorageLocation(java.lang.String folderPath) throws GnException
folderPath
- [in] Relative path name for storage
Remarks:
This API sets the temporary folder location for ALL GNSDK SQLite storage.GnException
public void maximumCacheFileSize(long maxCacheSize) throws GnException
The value passed for this option is the maximum number of Kilobytes that the cache files can grow to. For example, '100' sets the maximum to 100 KB, and '1024' sets the maximum to 1 MB.
If the cache files' current size already exceeds the maximum when this option is set, then the set maximum is not applied.
When the maximum size is reached, new cache entries are not written to the database. Additionally, a maintenance thread is run that attempts to clean up expired records from the database and create space for new records.
If this option is not set the cache files default to having no maximum size.
maxCacheSize
- [in] Maximum cache file size
GnException
public long maximumCacheFileSize() throws GnException
GnException
public void maximumCacheMemory(long maxMemSize) throws GnException
The value passed for this option is the maximum number of Kilobytes of memory that can be used. For example, '100' sets the maximum to 100 KB, and '1024' sets the maximum to 1 MB.
maxMemSize
- [in] Maximum cache memory size
GnException
public long maximumCacheMemory() throws GnException
GnException
public void synchronousMode(java.lang.String mode) throws GnException
This option is available for SQLite performance tuning. Valid values for this option are:
mode
- [in]:
If the threat of losing a cache file due to hardware failure is high, then set this option in your application to NORMAL or FULL.
GnException
public java.lang.String synchronousMode() throws GnException
GnException
public void journalMode(java.lang.String mode) throws GnException
This option is available for SQLite performance tuning. Valid values for this option are:
mode
- [in]:
GnException
public java.lang.String journalMode() throws GnException
GnException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


Crash Course in web2py (part 5 - modifying the appearance and deploying the web form)
You made it. In this final tutorial I’ll show you how to easily modify the form’s appearance, and we’ll deploy the app to PythonAnywhere.
Assumptions:
- You have web2py already installed => part 1
- You created the skeleton web form => part 2
- You added data validation (with the help of Han Solo) => part 3
- You learned how to easily add CRUD functions to manage records => part 4
Let’s get going …
Launch the server. -> Go to the admin interface. -> Edit the “form” application.
So, by default web2py utilizes the Twitter Bootstrap front-end framework, which makes updating the layout and appearance easy.
Contents
Download New Layout Plugin
First, go to the web2py layout plugin page to find a layout that you like. In this example, I used KeepitSimple. Once you find one, go ahead and download the .w2p file.
Back on the admin page for the form, scroll to the bottom of the page, and upload the .w2p file beneath the Plugins section. Now, click the link for plugin_layouts and copy the name of the new file including the full path- plugin_layouts/layouts/KeepitSimple.html. Now, edit the display_your_form.html file and paste the new .html file in the very first line of the code, replacing layout.html-
Next, I’m going to remove the Web Form title between the h1 tags, remove the line breaks, and clean up the instructions. I’m also going to remove the Submitted, Accepted, and, Errors sections, as the user does not need to see all that information. So the final code looks like this:
{{extend 'plugin_layouts/layouts/KeepitSimple.html'}}

Please enter your first name, last name, and email address - thanks!

Inputs:

{{=form}}
Okay, now let’s edit the KeepitSimple html file:
First change the header div found in the middle of the page - “Welcome. Please register to access your services.” (I also surrounded it in
tags)
Add the following code to the header, just below the style.css -
{{response.files.append(URL(request.application,'static','css/bootstrap.min.css'))}}
Then remove these lines of code-
{{try:}}{ {=auth.navbar(action=URL('default','user'))}}{{ except:pass}}
{{=MENU(response.menu,_class='web2py-menu')}}

©2007 Keep it Simple
<span class="separator"
|

Design by

Reality Software

Update CSS
Your form should look much cleaner now. It’s a bit bare, but you can liven it up with your own HTML. Now, let’s add some changes to the CSS.
Again, since web2py uses the Twitter Bootstrap, you can make CSS changes quickly. Navigate to Bootswatch. Here, you can find various CSS themes to play with. In this example, I’m going to use Spacelab.
Now, what you need to do is view the bootstrap.min.css file by clicking download and then selecting the file. It should open in your browser. Copy all the text. Return to your web2py admin. Scroll down to the static files, click the CSS folder, edit the boootstrap.min.css file-
-and then delete all the current CSS and paste in the CSS that you copied before from the Spacelab theme. Refresh your form @ http://<IP_ADDRESS>:8000/form/default/display_your_form.html and test it again to make sure nothing broke.
Oh - and if you want, you can edit the layout/appearance of the all_records page as well. I trust that you can figure out how to do that by now. If not - Try anyway, and if you fail, Google to find the answer. You’ll learn better that way.
If all looks well, it’s time to deploy!
Deploy
I’ll go over this quick since I covered this in detail in the first tutorial.
- Go back to the admin page (http://<IP_ADDRESS>:8000/admin/default/site) and click Pack All. Save the w2p-package to your computer.
- Fire up PythonAnywhere.
- Once logged in, click Web, Replace with a new web app, then click the button for web2py.
- Enter an admin password. Click Next.
- Next, head on over to the admin interface - https://mjhea9.pythonanywhere.com/admin/default/index (don’t forget to use your own user name and add the https:) - which should look familiar (it better!). Enter your password.
- On the right side of the page, under the Upload and install packed application section, upload the w2p file you saved. Enter a name for your app (“form”). Click Install.
- Check out your form.
Now just test it out to make sure it all works. Make sure all the errors/validators are working and then add a new record. One thing you do need to change is the default for generic view. You can read more about it here. Open up db.py and scroll down to line 28. You need to remove the if statement, so the line will look just like this:
response.generic_patterns = ['*']
Now, make sure you can access the grid page and edit, update, and delete some records.
One change that does need to be made is to add the requirement IS_EMAIL() to the email validation field to the db.py file; otherwise, you can submit email addresses that do not follow the conventional format. The final code looks like this:
db = DAL('sqlite://webform.sqlite')
db.define_table('register',
Field('first_name', requires=[IS_NOT_EMPTY(), IS_ALPHANUMERIC()]),
Field('last_name', requires=[IS_NOT_EMPTY(), IS_ALPHANUMERIC()]),
Field('email', unique=True, requires=[IS_NOT_EMPTY(), IS_EMAIL()]),
Field('email_validate',requires=[IS_EMAIL(), IS_EQUAL_TO(request.vars.email)]))
db.register.email.requires=IS_NOT_IN_DB(db,'register.email')
Recap
And you’re done. So - what all did we do?
- Part 1: You learned how to install web2py on your local computer and deploy a basic app on a cloud platform
- Part 2: You learned about Model View Control (MVC) architecture and created a skeleton web form
- Part 3: You added data validation to the form
- Part 4: You learned how to manage records in the database
- Part 5: You learned how to modify the appearance and layout of the form
Congrats!
What’s next? Think about what you can do with this info.
- Keep practicing.
- Build something else.
- Make some money
- And have fun!
Thanks for reading. Cheers.
You can find the new code for db.py, display_your_form.html, and default.py, as well as all the files and the final packed app (.w2p) here.


Weekly Meeting: 2014-09-16
16th Sep 2014: Mirage 2.0 lib releases, Cohttp, Doc day and ARM dev
Agenda
- Mirage 2.0 libs
cohttp
point release- other library releases
- OCaml 4.02.0: adding support
- Reminder: Xen doc day on the 24th!
- Xen/ARM development environment
Attendees: Marlon Brasil, Marco Cesare, Amir Chaudhry (chair), Thomas Gazagnaire, David John, Vicky Khan, Jon Ludlam, Anil Madhavapeddy, Mindy Preston, Dave Scott and Magnus Skjegstad (with guest appearances from Wanda and Bella).
Notes
Mirage 2.0 libs
cohttp point release - cohttp has external users and there have been
bug-fixes waiting for months. Ideally, would like to cut a release based on
master
but can’t do that without also doing all of the Mirage 2.0 and related
libraries (e.g conduit). In order to support the current users, the plan is
to roll back and do a point release (e.g 0.11.3 or 0.12.0) that includes these
fixes so that others are unblocked.
Mirage 2.0 library releases
This is still primarily driven by conduit, which requires a set of simultaneous releases (tracked in mirage/mirage#287).
Once these releases are done, we should be able to remove the reliance on the
Mirage opam remote. There are about 12 dev repos in there now and since
they’re working, it would be good to get them properly tagged and released.
That would simply a lot of other work as we’d all have fewer things to pin and
keep track of and we’d also have to refresh the tutorials. There was some
discussion on V1
and V2
, FLOWs and vchan, as well as the conventions we
might want to follow for such interfaces going forward.
All of this should be written down and various aspects considered and discussed on the mailing list. The issue linked above should be updated and expanded (or a new one created) to keep track of things (including which instructions need updating).
Mindy has a cubieboard and can take a look at the ARM instructions again. So far, got it to boot using the images from blobs.openmirage.org. Once there are releases it would be good to get more eyes on this.
OCaml 4.02.0: adding support
OCaml 4.02.0 was released a couple of weeks ago and there are some useful features that Mirage might benefit from. We should consider when and how we add support for 4.02.0 but first we should ensure that we have proper support for 4.01.0!
There may even be issues with the current 4.02.0 release that may necessitate a 4.02.1. If that’s the case, we may decide to not support 4.02.0 at all. We’ll see how things stand in due course.
Xen Doc Day
There is an outstanding request to get more information up on the Xen.org wiki and it would be useful for us to refresh some of our material. We can do this during the Xen Doc Day (24th Sep). Amir may be able to spend some time on this in advance.
Xen/ARM dev setup
A question was posed on the list about development environment for Xen+ARM work (specifically Chromebooks, see the thread). This was raised during the call as this kind of set up may be a useful way of working. Apparently, it’s actually quite difficult to work with these devices where Xen is concerned. The easiest way is still to use a cubieboard and work directly from there. We should expand xen-arm-builder to make it easier for people to get going.
AoB
-
Hannes is back from travels and will be working on TLS integration.
-
Would be good to remove Xenstore from
mirage-platform
. This might break things. It’s the core coordination in Xen but doesn’t work well with Unix. Although, Xenstore is now Xen independent, so maybe we should call it IrminStore instead? -
Next call is scheduled for 30th September - Please refer to the mailing list for actual details a day or so in advance.


{% extends "base.html" %} {% block content %}
Enter your email in the form below, and I'll email you whenever I post something new here!


Flag to define dotted rests configutarion (may change in a future).
Internal storage of structural chunks.
Gets the bar length at a quarter on the staff
The length of the bar at given quarter
Gets the bar number of a note starting at a given position. It will be an integer value if it relies at the beginning of the bar, and it will reflect the position within the bar along with the decimals (a note starting in the middle of the third 4/4 bar will return 3.5)
Gets the key signature at a quarter on the staff
If true returns -1 in case there's no change at quarters
The key which is operative at given quarter, or -1 if needed
Convert a given amount of quarters to seconds. NOTE: it doesn't cover tempo changes yet, and assumes score keeps it stable till the end.
The given amount of quarters
The equivalent amount of seconds
Gets the tempo in qpm at a quarter on the staff. NOTE: it doesn't cover tempo changes yet, and assumes score keeps it stable till the end.
If true returns -1 in case there's no change at quarters
The key which is operative at given quarter, or -1 if needed
Gets the time signature at a quarter on the staff
If true returns null in case there's no change at q.
The time signature which is operative at given quarter, or null
Convert a given amount of seconds to quarters. NOTE: it doesn't cover tempo changes yet, and assumes score keeps it stable till the end. It will be rounded to minimum note division to avoid JavaScript number rounding issues.
The equivalent amount of quarters
Generated using TypeDoc
Provides a framework for BarInfo indexing and fast traversing in irder to locate the structural info related to any note. It currently stores the info in chunks as short as a sixtyfourth note, i.e. the shortest manageable beat (like in 4/64 Time Signature).


Menu
Home
Members
Certificates
Reports
FIRE RESCUE
Oconee County, GA
Update Member
{{ m.lname }}
,
{{ m.fname }}
Information
Member ID:
First Name:
Middle Name:
Last Name:
Street:
City:
State:
Zipcode:
Phone:
Email:
Position:
StationID (1, 2, 3, or 4):
Radio Number:
Status:
Updated Information
Member ID:
First Name:
Middle Name:
Last Name:
Street:
City:
State:
Zipcode:
Phone:
Email:
Position:
StationID (1, 2, 3, or 4):
Radio Number:
Status:
Update Member
Back


We are aware of the impact of our civilisation on our world and are in favour of the Eat your own food principle. Our productions sites are equipped with wind turbines using our products in order to keep a neutral ecological footprint.
Ever since our founding in january 2017, we have wished to keep a relationship of trust with our customers. This relationship is based on an essential principle: commitment. Our teams are trained to answer your requirements in the most direct and transparent way. No nasty surprises!
Our products are certified NF EN IEC 61400 1, 2, 11, 12 et 21. These certifications will guarantee an impeccable quality with regard of security, performances and acoustics. Thus, the whole chain of production is inspected, from the raw materials to the expedition.
The Galileo team has acted with a lot of commitment, professionalism and disponibility, in order to ensure the success of our projects. Our requirements have been heard and the relationship we built with Galileo will be of use for our future projects.


| Fix Version |
Key |
Component |
Summary |
Type |
Resolution |
Status |
|
FILEUPLOAD-238 |
|
Default charset hardcoded in FileItem (must be used Charset.defaultCharset()) |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-118 |
|
Maven pom has invalid parent |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-110 |
|
MultipartStream's keep region padding is either unnecessary or untested (and undocumented) |
Bug |
Fixed |
Resolved |
|
FILEUPLOAD-72 |
|
Java docs bug |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-70 |
|
DefaultFileItem should not catch Exception |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-67 |
|
possible typo in fileupload docs on commons site |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-66 |
|
DefaultFileItem issues |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-61 |
|
Temporary upload files are not being deleted |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-59 |
|
[fileupload] Memory Issue |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-57 |
|
[fileupload] Sample code is not working |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-56 |
|
[FileUpload] uploading files with non-ASCII filenames |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-53 |
|
UnknownSizeException with IE5.0 (due to IE5.0 bug) |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-50 |
|
[fileupload] FileItem implements Serializable incorrectly |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-48 |
|
[fileupload] Memory leak in DefaultFileItem |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-46 |
|
[fileupload] Default encoding issue running Tomcat on z/os |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-40 |
|
FileUploadBase does not handle quoted boundary specification, which is required by RFC 1521 |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-39 |
|
[fileupload] Content-Type with quoted boundary doesn't work |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-37 |
|
[fileupload] Two typos in the manual page of MultipartStream |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-35 |
|
file upload can be very slow |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-31 |
|
[PATCH] Added some tests |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-29 |
|
[fileupload] Remove Javadoc warnings |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-22 |
|
FileUpload default constructor does not create a factory |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-21 |
|
DefaultFileItem.write() throws NullPointerException if a stream cannot be created |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-18 |
|
contentType comparisons should be case-insensitive |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-16 |
|
[fileupload][PATCH] Workaround for IE5 Mac type=image bug |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-13 |
|
[fileupload] Use the ServletRequest encoding as default |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-12 |
|
[fileupload] Remove deprecations issued in IO 1.1 |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-5 |
|
[fileupload] Determining content type |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-4 |
|
[fileupload] The common upload functions do not work on z/OS WebSphere |
Bug |
Fixed |
Closed |
|
FILEUPLOAD-140 |
|
Means to preserve text parameters when upload limit exceeded |
Improvement |
Fixed |
Closed |
|
FILEUPLOAD-133 |
|
Refactor use of FileCleaner into plugable strategy to allow overriding. |
Improvement |
Fixed |
Resolved |
|
FILEUPLOAD-128 |
|
move commons-fileupload to org.apache.commons.fileupload groupId in maven |
Improvement |
Fixed |
Closed |
|
FILEUPLOAD-109 |
|
MultipartStream.discardBodyData() implementation is redundant. |
Improvement |
Fixed |
Closed |
|
FILEUPLOAD-105 |
|
Support for Portlets (168) |
Improvement |
Fixed |
Closed |
|
FILEUPLOAD-101 |
|
[FileUpload] does not take 'charset' parameter of the 'Content-Type' header into consideration |
Improvement |
Fixed |
Closed |
|
FILEUPLOAD-100 |
|
[fileupload] Allow to set headerEncoding to other than platform default encoding for fall-back |
Improvement |
Fixed |
Closed |
|
FILEUPLOAD-95 |
|
native memory leak results in container crash |
Improvement |
Fixed |
Closed |
|
FILEUPLOAD-94 |
|
Fileupload fails for forms with a large number of inputs |
Improvement |
Fixed |
Closed |
|
FILEUPLOAD-93 |
|
[fileupload] Allow parsing requests of unknown length |
Improvement |
Fixed |
Closed |
|
FILEUPLOAD-92 |
|
The size threshold parameter works based on the whole request instead of individual parts |
Improvement |
Fixed |
Closed |
|
FILEUPLOAD-86 |
|
File upload exceptions. |
Improvement |
Fixed |
Closed |
|
FILEUPLOAD-83 |
|
[fileupload][patch] Small improvements for FileUploadBase getFileName and getFieldName |
Improvement |
Fixed |
Closed |
|
FILEUPLOAD-78 |
|
Documentation: illustrate how to integrate virus control |
Improvement |
Fixed |
Closed |
|
FILEUPLOAD-77 |
|
[fileupload] State the maximum size in the error message |
Improvement |
Fixed |
Closed |
|
FILEUPLOAD-148 |
|
FileItemFactory.setMaxStringLength() |
New Feature |
Fixed |
Closed |
|
FILEUPLOAD-290 |
|
When a large file is uploaded, if there is a refresh page or other operation, the servlet will get a new request, and the file upload request will be aborted. |
Wish |
Fixed |
Closed |
|
FILEUPLOAD-132 |
|
How do we retrieve the HTTP Headers in the request? |
Wish |
Fixed |
Closed |
|
FILEUPLOAD-114 |
|
Documentation: dependency on commons-io and other things |
Wish |
Fixed |
Closed |
| 1.3.3 |
FILEUPLOAD-279 |
|
CVE-2016-1000031 - Apache Commons FileUpload DiskFileItem File Manipulation Remote Code Execution |
Bug |
Fixed |
Resolved |
| 1.4 |
FILEUPLOAD-258 |
|
Empty files in mutipart requests aren't saved to disk |
Bug |
Fixed |
Resolved |
| 1.4 |
FILEUPLOAD-257 |
|
Fix Javadoc 1.8 errors |
Bug |
Fixed |
Resolved |
| 1.4 |
FILEUPLOAD-252 |
|
DiskFileItem#write can lose original IO error |
Bug |
Fixed |
Resolved |
| 1.4 |
FILEUPLOAD-251 |
|
DiskFileItem#getTempFile() is broken |
Bug |
Fixed |
Resolved |
| 1.4 |
FILEUPLOAD-250 |
|
FileUploadBase - potential resource leak - InputStream not closed on exception |
Bug |
Fixed |
Resolved |
| 1.4 |
FILEUPLOAD-248 |
|
[DISK] Unsafe file move operation (possibly swallowing write errors) |
Bug |
Fixed |
Resolved |
| 1.4 |
FILEUPLOAD-246 |
|
FileUpload should use IOUtils.closeQuietly where relevant |
Bug |
Fixed |
Resolved |
| 1.4 |
FILEUPLOAD-245 |
|
DiskFileItem.get() may not fully read the data |
Bug |
Fixed |
Closed |
| 1.4 |
FILEUPLOAD-244 |
|
.DiskFileItem.readObject fails to close FileInputStream |
Bug |
Fixed |
Resolved |
| 1.4 |
FILEUPLOAD-242 |
|
Should not catch and ignore Throwable |
Bug |
Fixed |
Resolved |
| 1.4 |
FILEUPLOAD-234 |
|
Bug in docs: tmp file delete conditions in "Resource Cleanup" section of "using.html" |
Bug |
Fixed |
Resolved |
| 1.4 |
FILEUPLOAD-283 |
|
Add tests to the portlet package |
Improvement |
Fixed |
Resolved |
| 1.4 |
FILEUPLOAD-282 |
|
Upversion complier.source, compiler.target to 1.6 |
Improvement |
Fixed |
Resolved |
| 1.4 |
FILEUPLOAD-273 |
|
Test Coverage Report |
Improvement |
Fixed |
Resolved |
| 1.3.2, 1.4 |
FILEUPLOAD-272 |
|
Performance Improvement in MultipartStream |
Improvement |
Fixed |
Closed |
| 1.4 |
FILEUPLOAD-243 |
|
Make some MultipartStream private fields final |
Improvement |
Fixed |
Resolved |
| 1.4 |
FILEUPLOAD-237 |
|
Update Documenation for Streaming |
Improvement |
Fixed |
Resolved |
| Nightly Builds, 1.4 |
FILEUPLOAD-288 |
|
Linux dentry cache memory leak due to inappropriate temporary file detection |
Improvement |
Fixed |
Resolved |
| Nightly Builds |
FILEUPLOAD-177 |
|
FAQ update to clarify 'struts' -> 'struts 1' |
Task |
Fixed |
Closed |
| 1.3.1 |
FILEUPLOAD-208 |
|
CLONE - [fileupload] Use the ServletRequest encoding as default |
Improvement |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-232 |
|
There are no unit tests for the new utils.mime classes |
Bug |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-229 |
|
toLowerCase() is Locale-dependent; should use toLowerCase(Locale.ENGLISH) instead |
Bug |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-228 |
|
(Servlet|Portlet)RequestContext#contentLength() must return request.getContentLength() if Content-length header is not available |
Bug |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-212 |
|
Insecure request size checking |
Bug |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-204 |
|
FileItem.getHeaders() returns always null. |
Bug |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-202 |
|
org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Stream ended unexpectedly |
Bug |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-199 |
|
Uploads have unexpected results for files with non-ASCII names - support RFC2047 |
Bug |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-195 |
|
Error reading the file size larger than 2 gb |
Bug |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-189 |
|
DiskFileItemFactory use of FileCleaningTracker is documented or coded wrong |
Bug |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-186 |
|
http://commons.apache.org/fileupload/index.html should not mention nightly builds |
Bug |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-185 |
|
http://commons.apache.org/fileupload/index.html is out of date |
Bug |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-183 |
|
commons-io dependency does not get loaded by maven if only dependency to commons-fileupload is specified |
Bug |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-173 |
|
Manifest for OSGi has invalid syntax |
Bug |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-143 |
|
"Stream ended unexpectedly" when posting from a Flash client |
Bug |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-227 |
|
Private immutable fields which could be final |
Improvement |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-226 |
|
DiskFileItem.counter could be converted to AtomicInteger (or AtomicLong?) |
Improvement |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-225 |
|
Replace java.rmi.server.UID() with java.util.UUID |
Improvement |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-224 |
|
Avoid string concatenations while parsing headers, use buffers instead |
Improvement |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-223 |
|
Update commons-io dependency to latest version that supports JDK1.5 |
Improvement |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-210 |
|
Process HTTP Requests Into Maps |
Improvement |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-209 |
|
Add Support for Generic Types |
Improvement |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-207 |
|
enhance file read/write performance |
Improvement |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-182 |
|
Documentation: add simple HTML form example to fileupload user guide |
Improvement |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-215 |
|
version 1.3 improvement tasks |
Task |
Fixed |
Closed |
| 1.3 |
FILEUPLOAD-201 |
|
Update to JDK 1.5 and bump IO dependency to 2.0.1 |
Task |
Fixed |
Closed |
| 1.2.2 |
FILEUPLOAD-160 |
|
disk leak if multipart parse error |
Bug |
Fixed |
Closed |
| 1.2.2 |
FILEUPLOAD-158 |
|
MultipartStream javadoc example cannot be compiled |
Bug |
Fixed |
Closed |
| 1.2.2 |
FILEUPLOAD-157 |
|
The ProgressListener isn't always notified about the total number of Items found in a MultipartStream. |
Bug |
Fixed |
Closed |
| 1.2.2 |
FILEUPLOAD-156 |
|
MultipartStream constructor requires package access to avoid deprecation warnings |
Bug |
Fixed |
Closed |
| 1.2.2 |
FILEUPLOAD-152 |
|
Unit incompatibility betweenFileUpload.setFileSizeMax and FileUploadBase$FileItemIteratorImpl |
Bug |
Fixed |
Closed |
| 1.2.2 |
FILEUPLOAD-155 |
|
Fix documentation on resource clean up in conjunction with DiskFileItemFactory |
Improvement |
Fixed |
Closed |


|
|
Dashboard add update time |
0 |
3 years 7 weeks ago by scacchi |
n/a |
|
|
How to block surplus energy generated ,to go out to the home meter ? ( meter is adding PV energy ) |
4 |
3 years 7 weeks ago by frasenci |
3 years 6 weeks ago by frasenci |
|
|
Clamp meter |
1 |
3 years 7 weeks ago by AllenConquest |
3 years 7 weeks ago by Robert Wall |
|
|
(SOLVED) Problems Downloading image: |
2 |
3 years 7 weeks ago by hatfieldr |
3 years 7 weeks ago by hatfieldr |
|
|
Newbie questions on emonTX shield V2 |
11 |
3 years 7 weeks ago by xerox1821 |
3 years 6 weeks ago by calypso_rae |
|
|
Solar PV emonCMS feeds |
2 |
3 years 7 weeks ago by AllenConquest |
3 years 7 weeks ago by AllenConquest |
|
|
Forum - posting |
1 |
3 years 7 weeks ago by tomkerswill |
3 years 7 weeks ago by tomkerswill |
|
|
(SOLVED) Problem updating Emoncms on Pi with HDD |
6 |
3 years 6 weeks ago by hatfieldr |
3 years 6 weeks ago by GJPickard |
|
|
Raspi Emoncms & HD - stability ? |
6 |
3 years 6 weeks ago by Derry |
2 years 41 weeks ago by Bra1n |
|
|
3-phase power and PV metering; what do I need? |
7 |
3 years 6 weeks ago by MaxG |
3 years 6 weeks ago by MaxG |
|
|
EmonCMS Feed Handler in PHP |
0 |
3 years 6 weeks ago by Guest |
n/a |
|
|
how to send puls input data to emoncms |
1 |
3 years 6 weeks ago by ageurtse |
3 years 6 weeks ago by Jérôme |
|
|
Parts list for emonTX |
7 |
3 years 6 weeks ago by Jordan-loe |
3 years 6 weeks ago by Jordan-loe |
|
|
[SOLVED?] Feeds not updating after random time |
16 |
3 years 6 weeks ago by efidi13 |
2 years 34 weeks ago by rodtucker |
|
|
Measuring power feeds accuracy and possible leaks |
5 |
3 years 6 weeks ago by frlinux |
3 years 5 weeks ago by frlinux |
|
|
Dump load - closed loop control - an alternative control system for surplus power ? |
5 |
3 years 5 weeks ago by frasenci |
3 years 4 weeks ago by frasenci |
|
|
Another newbie 3 phase question |
13 |
3 years 5 weeks ago by Guest |
3 years 5 weeks ago by dBC |
|
|
kWh/d and temperature/day in same bargraph? |
0 |
3 years 5 weeks ago by prelude |
n/a |
|
|
Initial setup not working. --FIXED-- |
0 |
3 years 5 weeks ago by Jasper |
n/a |
|
|
Complete uninstall on Raspberri Pi |
5 |
3 years 5 weeks ago by ale.ttone |
1 year 21 weeks ago by pb66 |
|
|
Setting custom threshold values in "threshold" visualization |
2 |
3 years 5 weeks ago by skrue |
3 years 4 weeks ago by TrystanLea |
|
|
feeds from multiple emontx |
7 |
3 years 5 weeks ago by Guest |
3 years 4 weeks ago by Guest |
|
|
Understanding Redis, timestore und MySQL |
3 |
3 years 5 weeks ago by Guest |
3 years 4 weeks ago by Guest |
|
|
(SOLVED) Problem receiving from packet gen |
9 |
3 years 4 weeks ago by hatfieldr |
3 years 4 weeks ago by hatfieldr |
|
|
emonTx V3 serial voltage level |
1 |
3 years 4 weeks ago by Guest |
3 years 3 weeks ago by Guest |
|
|
(SOLVED) Problem creating new emoncms module |
2 |
3 years 4 weeks ago by hatfieldr |
3 years 4 weeks ago by hatfieldr |
|
|
beginer : create new input |
0 |
3 years 4 weeks ago by ludoarchi |
n/a |
|
|
Negative values in kWh histogram |
0 |
3 years 4 weeks ago by Iain |
n/a |
|
|
[SOLVED] Problem with emoncms control module |
3 |
3 years 4 weeks ago by hatfieldr |
3 years 2 weeks ago by arwed |
|
|
emonTH Adding Sensor after first boot |
2 |
3 years 4 weeks ago by Guest |
3 years 3 weeks ago by Guest |
|
|
help to understand input process.. |
2 |
3 years 3 weeks ago by fcattaneo |
3 years 3 weeks ago by fcattaneo |
|
|
Solved: New Installation - no feeds |
3 |
3 years 3 weeks ago by borpin123 |
3 years 3 weeks ago by borpin123 |
|
|
Red led stays on on new emontx v3 |
10 |
3 years 3 weeks ago by martymoose |
2 years 51 weeks ago by glyn.hudson |
|
|
Not getting any data |
9 |
3 years 3 weeks ago by Broglah |
3 years 3 weeks ago by Robert Wall |
|
|
No inputs |
11 |
3 years 3 weeks ago by davime |
3 years 1 week ago by davime |
|
|
Accuracy question |
3 |
3 years 3 weeks ago by Roblister |
3 years 2 weeks ago by Robert Wall |
|
|
Meter reading v measured consumption |
5 |
3 years 2 weeks ago by borpin123 |
3 years 2 weeks ago by borpin123 |
|
|
Cant delete |
2 |
3 years 2 weeks ago by Roblister |
3 years 2 weeks ago by Roblister |
|
|
(Once more) Negative meter readings and strage behavíour... |
4 |
3 years 2 weeks ago by fimmenroth |
3 years 2 weeks ago by dBC |
|
|
myheating resets packetgen interval |
2 |
3 years 2 weeks ago by arwed |
3 years 1 week ago by arwed |
|
|
access to (some) web pages without logging in |
4 |
3 years 2 weeks ago by arwed |
3 years 2 weeks ago by ukmoose |
|
|
Raspberry Pi Rev 1 |
3 |
3 years 2 weeks ago by Roblister |
3 years 2 weeks ago by arwed |
|
|
Dealing with unixstamp, local time and server time |
0 |
3 years 2 weeks ago by Sergegsx |
n/a |
|
|
How many emonTX can I use? |
4 |
3 years 2 weeks ago by SPN_worker |
3 years 2 weeks ago by SPN_worker |
|
|
emonTH_DHT22_DS18B20 compile failure |
13 |
3 years 2 weeks ago by Guest |
3 years 1 week ago by efidi13 |
|
|
Powering down |
2 |
3 years 2 weeks ago by Roblister |
3 years 2 weeks ago by Roblister |
|
|
EmonTx max amperage |
8 |
3 years 1 week ago by SPN_worker |
2 years 51 weeks ago by Robert Wall |
|
|
emon base nanode RF SMT |
4 |
3 years 1 week ago by vikasha |
3 years 1 week ago by ukmoose |
|
|
Anyone else had problems with pylink.py delaying data transmission? |
1 |
3 years 1 week ago by wbortz |
3 years 1 week ago by wbortz |
|
|
9V AC adapter for Australia |
3 |
3 years 1 week ago by michaeljquinn |
3 years 1 week ago by Robert Wall |


| AndroiDJ Interaction |
Real-World Metaphor |
Affordances |
Feedback |
Mappings |
Constraints |
| Mash-up Creation |
Mixing Colors |
Two-song display screen, play buttons for both songs. Buttons afford toggling a state |
Sound from both songs, button color change |
Two-track paradigms are universal amongst DJs |
Sound interference between the two songs |
| Music Cloud |
Googling |
"Search for Music Online" Search Bar. Edit text afford typing, magnifying icon affords
searching |
Google-like search results page with possible song matches |
Search bar looks like any other search bar on the Internet |
Streaming songs from the internet may lack song quality and have sub-par sound,
data connection issues |
| Change the Volume |
A volume fader |
Vertical slider indicating high volume at top, low volume at bottom.
Slider grips afford dragging and sliding |
Slider has an indicator that shows the user where the volume is |
Up means higher, and down means lower volume (in terms of the vertical slider) |
Slider needs to be big enough for a human finger to slide up and down |
| Change the Pitch (Frequency) |
A musical scale |
The musical note with arrows pointing left and right on the button indicates change in pitch |
When pressed, another vertical slider pops up (Same paradigm. Up means higher pitch, down means lower). |
Different pitches, in music, are notated using musical notes |
When button is pressed, the pop-up slider may interfere with user's touch of the button |
| Song Information |
The back of a album with the song list |
Display screen with Song title, Artist, Album, Genre, and BPM (beats/min).
Text affords information display |
The information is so th DJ knows what is playing, the BPM changes throughout the song |
Like most mp3 players, song information is standard on a display screen |
Readability of the song (the song title/artist/album may be longer than the display screen |
| Automation |
Cruise Control in a car |
Button labeled "AUTO" indicating automation |
When pressed, a screen with the waveform of a song appears |
"AUTO" almost always is the abbreviation for automatic, or automation |
When pressed, the new display screen may interfere with the user's touch of the "AUTO" button |
| Sound Effects |
An artist's palette |
Clearly labeled buttons on the interface. Different colors afford different expectations (sounds) |
A "drawer" will appear with the necessary buttons and sliders |
Labels will map to symbols used on real soundboards |
Volume of the effects could overpower the music |
| Equalizer |
Bass/Mids/Treble controls in a car |
The "AUTO" button includes the equalizer |
When pressed, the waveform of the song playing appears |
Equalizing a song is usually included in the Automation of the song in many DJ software |
Users may not know where to go for Equalizing a song |
| Pan Control |
The pan control in a car |
Clearly labeled button with symbol. This time a horizontal slider. Left affords
the left speaker. Right affords the right speaker |
Adjusted song from the speakers |
Our symbol clearly shows what the button does |
Sound interference when going speaker to speaker |
| Smart Library |
iTunes categorization on Song/Genre/Artist/Album |
Library is categorized by Song/Genre/Artist/Album in columns |
When "Song" is pressed, library is in order alphabetically by song title |
Similar to any library of music, music is in alphabetical order for easy searching |
The user can find a song based only on the four listed categories. Anything else will not be available |
| Song Queuing |
iTunes Playlist |
"Add," "Remove," and "Clear" buttons with a display screen.
Buttons afford change in state |
Playlist display with songs in order |
First song is at top, last song at bottom, rest in order |
Interface space is limited to display the entire queue |
Using the activities we came up with in our Activity Design process, we now started to think
about the interaction design of the interface. To do this, we looked at the principles and guidelines
of Interaction Design: affordances, feedback, mappings, and constraints.
In our information design brainstorming, we thought about how each feature would look on the screen.
The buttons are going to be standard touch screen buttons that are big enough for the user to use. The
sliders are going to be standard as well, and the user will use his/her finger to slide up and down or
left and right depending on whether the slider is horizontal or vertical.
In our Interaction Design, we took the buttons and sliders we created, and modified them so they
would have good affordances, mappings, and feedback for the user. Each button has a symbol on it that
corresponds to what the button does. For example, the Change of Pitch button has a music note and two
left and right arrows to tell the user that the pitch can go up and down.
Each slider is placed in the design so that is maps to what it actually does. Take the volume slider
for example. Its vertical design maps directly to the fact that if the user slides upward, the volume
increase and the downward for a decrease. The sliders are also all labeled with abbreviated names like
"VOL" for volume.
As for feedback, a lot of the feedback comes from the actual sound. If the user increased the volume,
he should hear an increase in the sound's amplitude. But, if a button opens another window like the
"AUTO" button for automation, feedback would be actually seeing the window open. So each button and slider
takes into account good feedback.
We also needed to take constraints seriously. Our buttons needs to be big enough for the user. We
needed to make sure that our sliders don't overlap. We needed to be sure that the text in the display
screen was readable. So all in all, we took the 4 main principles of Interaction Design and made sure
we provided enough to obey them.
To see all of our interactions, please view our first PROTOTYPE.
We talked to our clients after the information design process and they expressed how much they liked
the set up of our design. They liked our sketches and how we decided to add the sliders and buttons using
various "drawers" and displays.
We then met with our main client again after doing the interaction design process. This is where we
needed our client to help the most and we got a lot of good information. He helped in creating the labels for
each of the buttons so that they were easy for any DJ to understand. Our client created the pan control symbol,
which can be seen in our prototype.
We also let our client play with our first prototype. Granted, our prototype is no where finished, but it
gave our client a basis for what our design was actually going to look like. We asked our client, Alex, to play
with each button and tell us what each did before he actually used it. He understood every one.
We then asked Alex to tell us if any button provided bad feedback. He told us that the "drawers" were a little
difficult to find. He said that if a user didn't know how Android phones work, they wouldn't know how to open
these "drawers." We told Alex that the users of this application would have Android experience, but to put his
mind at ease, we added an icon with a mixer symbol to indicate that there was something there on the drawer handle.


Theme settings allow designers to provide an easy way for any user to customize the look and feel of their shop without having to delve into HTML or CSS code. Please see our help page on theme settings to learn more about how you can make the theme customizable.


iSpeech AJAX with base64 audio in URI
Reference
http://stackoverflow.com/questions/7370943/retrieving-binary-file-content-using-javascript-base64-encode-it-and-reverse-de


InFocus Health, LLC is a home health, public health, medical transportation and courier services. We have a team of Public Health Practitioners, Nurse Practitioners, Nurses, Social Workers, Physical Therapists, Pharmacy Technicians, Certified Nurse Assistants, Home Makers and Drivers providing compassionate, comprehensive, and competent care to our clients in their homes across Texas and beyond.
We are accredited by Community Health Accreditation Program (CHAP), certified by Medicare and Medicaid, and licensed by the State of Texas. We are certified by the United States Government as a Service Veteran Owned Small Business (SDVOSB) and Historically Underutilized Business (HUB).
Our Mission
InFocus Health, LLC was established in 2010 to be a hub for comprehensive home and public health services. For people that are home bound we have the capability to meet all their health and social needs in their homes. Our clinicians (Physicians, Nurse Practitioners and Physician Assistants) perform home visits thereby obviating the need for clinic visits. Our Nurses, Physical Therapists, Occupational Therapists and other ancillary services can be provided at home. Our homemakers can perform activities of daily living (personal hygiene, cook, clean, laundry, etc.). Our courier service can pick up and deliver pharmaceutical products and other supplies to homes. None emergent medical transportation services can be provided to and from all appointments as needed. For individuals that are debilitated and need comprehensive care in their homes, InFocus Heath, LLC is the one stop shop for all your home care needs.
Our local and international public health practitioners and partners are conducting, collaborating, researching, analyzing, documenting and working on public health challenges with the intent of finding innovative solutions.
Our Motto
Comprehensive, Compassionate and Competent Care is our Focus.


"The rise of Google, the rise of Facebook, the rise of Apple, I think are proof that there is a place for computer science as something that solves problems that people face every day." ~ Eric Schmidt
About
Hey there, it's Maria Sultana Keya. AI reachers, I have completed my bachelor's degree from Daffodil International University. I am a potential researcher,
although I am very much confident at Machine Learning, Data Mining, Deep Learning, IoT, etc.
Education
Secondary SchoolPassing Year 2013
Jahangirnagar University School and College
Group: Science
Result: 4.38
Higher SecondaryPassing Year 2015
Jahangirnagar University School and College
Group: Science
Result: 4.50
UndergraduatePassing Year 2021
Daffodil International University
Department: Computer Science & Engineering
Result: 3.56
GraduateRunning
Jahangirnagar University
Department: Computer Science
Result:
Publications
Title: Performance Analysis of Machine Learning Approaches in Stroke Prediction
Abstract: Most of the strokes will occur due to an unexpected obstruction of courses by prompting both the brain and heart. Early awareness of different warning signs of stroke can minimize the stroke. This research work proposes an early prediction of stroke diseases by using different machine learning approaches.....Continue Reading
Title: Comparison of Different Machine Learning Algorithms for Detecting Bankruptcy
Abstract: There has been severe experiments from academics and merchandisers concerning models for Predicting bankruptcy. The paper propounds an extensive rethink of work done during 5 years in the petition of intellectual strategy to accomplish bankruptcy prediction problems. Several machine learning directions are being used in this research paper for Predicting bankruptcy.....Continue Reading
Title: Machine Learning based Image Classification of Papaya Disease Recognition
Abstract: To help farmers and rural people of Bangladesh, many research works are proposed in the recent years to recognize the papaya diseases that takes a great deal of advantage in machine learning fields. This research is mainly required to support agriculture to make it highly effective and helpful particularly for papaya cultivation......Continue Reading
Title: Performance Analysis of Diabetic Retinopathy Prediction using Machine Learning models
Abstract: Diabetic Retinopathy (DR) is a symptom of diabetes that affects the eyes. The blood vessels of the light tissue behind the eyes are damaged (retina). Machine Learning (ML) techniques play a vital role in computer aid diagnosis and discover successful systems for detecting life-threatening diseases. This research aimed to predict diabetic retinopathy and also implement feature extraction to figure out some features.....Continue Reading
Title: Performance Analysis of Chronic Kidney Disease through Machine Learning Approaches
Abstract: Data mining and machine learning play a vital role in health care and also medical information and detection, Now a day machine learning techniques use awareness of some major health risks such as diabetic prediction, brain tumor detection, covid 19 detections, and many more. The kidney is the most important organ of our body and if it has any problem then the impact is more dangerous to our body.....Continue Reading
Title: Predicting performance analysis of garments women working status in Bangladesh using machine learning approaches
Abstract: In Bangladesh, the garment industry has played an important role in economically uplifting a diverse community of poor and marginalized people. There are now 4,825 garment factories that employ more than three million people. Completely 85% of these employees are female. But most of the female workers work to support their family and also contribute his family to lead a minimum life.....Continue Reading
Title: A Comparative Analysis of Autistic Spectrum Disorder (ASD)
Disease for Children using ML Approaches
Abstract: Autistic Spectrum Disorder (ASD) is a neuro developmental disorder that is associated with significant treatment costs and can significantly decrease these early diagnoses. Unfortunately, time delay is occurred and procedures are not economically efficient for an ASD diagnosis.....Continue Reading
Title: A Performance Analysis of Cardiovascular Disease using Machine Learning Approaches
Abstract: Cardiovascular disorder (CVD) is a generic term for complications that influence the heart and the blood vessels. Cardiovascular disorder is more prevalent in people over the age of 50, and the chance of having it grows as you reach adulthood. Timely identification of various potential problems of injury can decrease the disease. Therefore, in this article developing a model that can forecast the risk of cardiovascular disorder (CVD) in patients with the greatest analysis and for prediction.....Continue Reading


#include <stObject.h>
Inheritance diagram for stObject:
Public Member Functions | |
| stObject () | |
| virtual stObject * | Clone ()=0 |
| virtual bool | IsEqual (stObject *obj)=0 |
| virtual stSize | GetSerializedSize ()=0 |
| virtual const stByte * | Serialize ()=0 |
| virtual void | Unserialize (const stByte *data, stSize datasize)=0 |
| virtual long | GetOID () |
This class may be used as the base class for classes that implements the objects which will be indexed by a metric tree but this use is not recommended.
Marcos Rodrigues Vieira<EMAIL_ADDRESS>Definition at line 94 of file stObject.h.
|
|
Builds a new uninitialized instance of this class. The resulting instance must be ready to be initializated by a Unserialize() call.
Definition at line 102 of file stObject.h. |
|
|
This method must create a clone (copy) of this class. The new instance must have the same behaviour of the original instance but can not keep any links to its creator (they are independent). In other words, the clone will not reflect any changes done in the original class.
Implemented in stBasicArrayObject< DataType, OIDType >. |
|
|
This method must return something that identifies uniquely the object.
Reimplemented in stBasicArrayObject< DataType, OIDType >. Definition at line 190 of file stObject.h. |
|
|
This method must return the size of the serialized version of this object in bytes.
Implemented in stBasicArrayObject< DataType, OIDType >. |
|
|
This method must return True if the object in parameter is equal (has the same content) of the object that call it.
Implemented in stBasicArrayObject< DataType, OIDType >. |
|
|
This method must create a serialized version of this instance. The serialized version is an array of bytes that will hold all information required to rebuild this object. For example, if the object is a string, the serialized form may be the string itself without the terminator character (since it is a sequence of bytes). This array will be used by the SlimTree to store the object into a disk page and to recover it (by calling Unserialize()) and its size given by GetSerializedSize(). The effect of the of A->Unserialize(B->Serialize(), B->GetSerializedSize()) must be the same of A=B->Clone(). Implementation note: The SlimTree will not claim the ownership of the returned array. The object must dispose it when it is not required. In case of the serialized version be a pointer to an internal array, no copy operation will be necessary.
Implemented in stBasicArrayObject< DataType, OIDType >. |
|
|
This method must rebuild the object from its serialized version. The serialized version is an array of bytes that holds all information required to rebuild an object. For example, if the object is a string, the serialized form may be the string itself without the terminator character (since it is a sequence of bytes). This method will be used by the SlimTree to rebuild the object to compare it with another object (the sample object in a query or another rebuilt object). The effect of the of A->Unserialize(B->Serialize(), B->GetSerializedSize()) must be the same of A=B->Clone(). Implementation note: The SlimTree is the owner of the data array. This means that this array may vanish at any time after the call of Unserialize(). There is also another restriction. The Unserialize() method must never modify the contents of the data array.
Implemented in stBasicArrayObject< DataType, OIDType >. |


brain wrote:You simply have to much kills :-) Joky, well, it's a bug and confirmed. Ready in next update.


BigInt
public struct BigInt
An arbitary precision signed integer type, also known as a big integer
.
Operations on big integers never overflow, but they might take a long time to execute. The amount of memory (and address space) available is the only constraint to the magnitude of these numbers.
This particular big integer type uses base-2^64 digits to represent integers.
BigInt
is essentially a tiny wrapper that extends BigUInt
with a sign bit and provides signed integer
operations. Both the underlying absolute value and the negative/positive flag are available as read-write
properties.
Not all algorithms of BigUInt
are available for BigInt
values; for example, there is no square root or
primality test for signed integers. When you need to call one of these, just extract the absolute value:
BigInt(255).abs.isPrime() // Returns false
-
The absolute value of this integer.
Declaration
Swift
public var abs: BigUInt
-
The type representing a digit in
BigInt
’s underlying number system.Declaration
Swift
public typealias Digit = BigUInt.Digit
-
True iff the value of this integer is negative.
Declaration
Swift
public var negative: Bool
-
Initializes a new big integer with the provided absolute number and sign flag.
Declaration
Swift
public init(abs: BigUInt, negative: Bool = false)
-
Initializes a new big integer with the same value as the specified integer.
Declaration
Swift
public init<I: UnsignedInteger>(_ integer: I)
-
Initializes a new big integer with the same value as the specified integer.
Declaration
Swift
public init<I: SignedInteger>(_ integer: I)
-
Initializes a new signed big integer with the same value as the specified unsigned big integer.
Declaration
Swift
public init(_ integer: BigUInt)
-
Initialize a big integer from an ASCII representation in a given radix. Numerals above
9
are represented by letters from the English alphabet.Requires
radix > 1 && radix < 36
Parameter
Parametertext
: A string optionally starting with-
or+
followed by characters corresponding to numerals in the given radix. (0-9, a-z, A-Z)Parameter
Parameterradix
: The base of the number system to use, or 10 if unspecified.Returns
The integer represented bytext
, or nil iftext
contains a character that does not represent a numeral inradix
.Declaration
Swift
public init?(_ text: String, radix: Int = 10)
Return Value
The integer represented by
text
, or nil iftext
contains a character that does not represent a numeral inradix
.
-
Return the decimal representation of this integer.
Declaration
Swift
public var description: String
-
Initialize a new big integer from an integer literal.
Declaration
Swift
public init(integerLiteral value: IntMax)
-
Initialize a new big integer from a Unicode scalar. The scalar must represent a decimal digit.
Declaration
Swift
public init(unicodeScalarLiteral value: UnicodeScalar)
-
Initialize a new big integer from an extended grapheme cluster. The cluster must consist of a decimal digit.
Declaration
Swift
public init(extendedGraphemeClusterLiteral value: String)
-
Initialize a new big integer from a decimal number represented by a string literal of arbitrary length. The string must contain only decimal digits.
Declaration
Swift
public init(stringLiteral value: StringLiteralType)
-
Return the playground quick look representation of this integer.
Declaration
Swift
public var customPlaygroundQuickLook: PlaygroundQuickLook
-
Return true iff
a
is equal tob
.Declaration
Swift
public static func ==(a: BigInt, b: BigInt) -> Bool
-
Return true iff
a
is less thanb
.Declaration
Swift
public static func <(a: BigInt, b: BigInt) -> Bool
-
Append this
BigInt
to the specified hasher.Declaration
Swift
public func appendHashes(to hasher: inout SipHasher)
-
Negate
a
and return the result.Declaration
Swift
public static prefix func -(a: BigInt) -> BigInt
-
Subtract
b
froma
and return the result.Declaration
Swift
public static func -(a: BigInt, b: BigInt) -> BigInt
-
Returns the absolute value of
x
.Declaration
Swift
public static func abs(_ x: BigInt) -> BigInt
-
Explicitly convert to IntMax, trapping on overflow.
Declaration
Swift
public func toIntMax() -> IntMax
-
Add
a
tob
and return the result.Declaration
Swift
public static func +(a: BigInt, b: BigInt) -> BigInt
-
Multiply
a
withb
and return the result.Declaration
Swift
public static func *(a: BigInt, b: BigInt) -> BigInt
-
Divide
a
byb
and return the quotient. Traps ifb
is zero.Declaration
Swift
public static func /(a: BigInt, b: BigInt) -> BigInt
-
Divide
a
byb
and return the remainder.Declaration
Swift
public static func %(a: BigInt, b: BigInt) -> BigInt
-
Adds
lhs
andrhs
together. An overflow is never reported.Declaration
Swift
public static func addWithOverflow(_ lhs: BigInt, _ rhs: BigInt) -> (BigInt, overflow: Bool)
-
Subtracts
rhs
fromlhs
. An overflow is never reported.Declaration
Swift
public static func subtractWithOverflow(_ lhs: BigInt, _ rhs: BigInt) -> (BigInt, overflow: Bool)
-
Multiplies
lhs
withrhs
. An overflow is never reported.Declaration
Swift
public static func multiplyWithOverflow(_ lhs: BigInt, _ rhs: BigInt) -> (BigInt, overflow: Bool)
-
Divides
lhs
withrhs
, returning the quotient, or trapping ifrhs
is zero. An overflow is never reported.Declaration
Swift
public static func divideWithOverflow(_ lhs: BigInt, _ rhs: BigInt) -> (BigInt, overflow: Bool)
-
Divides
lhs
withrhs
, returning the remainder, or trapping ifrhs
is zero. An overflow is never reported.Declaration
Swift
public static func remainderWithOverflow(_ lhs: BigInt, _ rhs: BigInt) -> (BigInt, overflow: Bool)
-
Add
b
toa
in place.Declaration
Swift
public static func +=(a: inout BigInt, b: BigInt)
-
Subtract
b
froma
in place.Declaration
Swift
public static func -=(a: inout BigInt, b: BigInt)
-
Multiply
a
withb
in place.Declaration
Swift
public static func *=(a: inout BigInt, b: BigInt)
-
Divide
a
byb
storing the quotient ina
.Declaration
Swift
public static func /=(a: inout BigInt, b: BigInt)
-
Divide
a
byb
storing the remainder ina
.Declaration
Swift
public static func %=(a: inout BigInt, b: BigInt)


Kevs Pizza
Welcome to my pizzeria! Where everything is overpriced and not that great!
Please choose the pizza size and toppings:
Size
TINY
SMALL
MEDIUM
LARGE
EXTRA LARGE
Toppings
Pepperoni
Jalapenos
Mushrooms
Peppers
Bacon
Sides
Wings
Garlic Bread
Salad
Chocolate Cake
Drinks
CocaCola
Sprite
Fanta
Dr. Pepper
Total:
Calculate Costs


Contents
Nimbus, a cross platform look and feel introduced in the Java SE 6 update 10 release, is drawn with 2D vector graphics and can be rendered at any resolution.
There are two ways to activate the Nimbus Look and Feel.
Add the following snippet to your source code:
try {
for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (UnsupportedLookAndFeelException e) {
// handle exception
} catch (ClassNotFoundException e) {
// handle exception
} catch (InstantiationException e) {
// handle exception
} catch (IllegalAccessException e) {
// handle exception
}
To activate Nimbus Look and Feel for an application, specify the following when running the Java application
-Dswing.defaultlaf=com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel


dataset list COLLECTION_NAME KEYS
Write a JSON array to standard out (unless you’ve specific an alternative location with the “-output” option) for the provided KEYS. If no ids are provided (or none are found) then an empty JSON array is return.
An example we’re assuming there is are JSON documents with a KEYS of “r1”, “r2”, and “r3”. Our collection name is “data.ds”
dataset list data.ds r1 r2 r3
If “r1” was ‘{“one”:1}’, “r2” was ‘{“two”:2}’ and “r3” was ‘{“three”:3}’ then the output would be
[{"one":1},{"two":2},{"three":3}]


Menu
Dynamics
Home
About
Registrtaion
Problem Statement
Sponsors
HACKATHON EVENT NAME
"Theme"
Hackathon name
Registration
event date
Theme 1
Apply with Devfolio
event date
Theme 3
Apply with Devfolio
event date
Theme 3
Apply with Devfolio
Problem Statement
problem statement 1
Problem statement name
Author
details
Download: Google drive link
problem statement 2
Problem statement name
Author name
details
Download: Google drive link
problem statement 3
Problem statement name
Author name
details
Download: Google drive link
Sponsors
Devfolio
Visit:
Devfolio
Another sponsor


Staff records ({{ workerCount || 0 }})
{{
createStaffResponse
| i18nPlural
: {
'=1': '# staff record has been saved.',
other: '# staff records have been saved.'
}
}}
0; else noStaffRecords">
Start to add your staff records
To add a staff record you need to know the person’s:
- name or ID number
- main job role
- contract type
Save this mandatory information and then continue to add more details so that you get a complete record for that
person.
You'll be asked about that person's:
- personal details, like their date of birth and National Insurance number
- employment details, like when they started their main job role
- training and qualifications


Chrome on Android rolling out new long press menu for links, images
by Abner LiChrome 78 rolled out last month and was a relatively quiet release for Android. A server-side update for the browser today introduces a new long press menu that provides previews alongside actions for links and images.
The old menu that popped up after long pressing simply noted the URL up top and listed six to nine options depending on whether you were interacting with a link, photo, or video. It was straightforward, but also very plain.
Chrome’s new long press menu is much more visual in comparison. To start, links are accompanied by the favicon and page name above. If the URL is truncated, you can tap to expand it. The same “open in,” copy, download, and share link actions appear below, but the latter includes your last used share target. Allowing for immediate sharing, this behavior is exactly like Chrome’s overflow menu.
Images include a small preview, while picture-specific options like “Search Google for this image” appear in a new bottom section of the list. The resulting menu is slightly taller, but narrower. This is a much cleaner way of doing things that does not inundate users with a deluge of text and options.
The new long press menu in Chrome is accompanied by a delightful pop-up animation that expands the menu out from where you tapped on screen. This revamp is available in both Chrome proper and all Chrome Custom Tabs in third-party apps.
This revamp is rolling out with Chrome 78 for Android. As of last night, it only appeared on one device, but it’s now available on all my phones this afternoon. That said, others on the team have yet to encounter the new look. This design has been in testing for quite awhile now and can be manually enabled by setting the following flag:
chrome://flags/#enable-revamped-context-menu
More about Chrome:
- [Update: November 2019] Best Chromebooks you can buy today
- Google extends the life of over 100 Chromebooks w/ extra year of software support
- Chrome 79 beta: Tab freezing, shared clipboard, DNS-over-HTTPS trial
FTC: We use income earning auto affiliate links. More.


Go to the source code of this file.
◆ NEIGHBORLISTSIZE
| #define NEIGHBORLISTSIZE 256 |
◆ Neighbor
◆ addNeighbor()
Adds a neighbor to the list if they responded to a neighbor request.
- Parameters
-
- Returns
- true if successful, false otherwise.
◆ checkForNeighbor()
| bool checkForNeighbor |
( |
Network * |
net | ) |
|
◆ initNeighborList()
| bool initNeighborList |
( |
| ) |
|
Initializes the neighbor list.
- Returns
- true if successful, false otherwise.
◆ readFromNeighborListStorage()
| bool readFromNeighborListStorage |
( |
| ) |
|
◆ removeNeighbor()
| bool removeNeighbor |
( |
int |
neighborNumber | ) |
|
Removes a neighbor from the list.
- Parameters
-
| [in] | neighborNumber | Number in list. |
- Returns
- true if successful, false otherwise.
◆ updateNeighborList()
| bool updateNeighborList |
( |
| ) |
|
Updates the entire neighbor list.
- Returns
- true if successful, false otherwise.
◆ writeToNeighborListStorage()
| bool writeToNeighborListStorage |
( |
| ) |
|
◆ neighborList
◆ numNeighbors


Pending Deals You have 15 deals that will be closing soon.
-
April 14th
5:28 PM
Active NewTrust fund photo letterpress, keytar raw skydiving denim grape keffiyeh etsy art base apple party ball before they.
Show Details -
Jan 24th
2:57 PM
ActiveTrust fund photo letterpress, keytar raw skydiving denim grape keffiyeh etsy art base apple party ball before they.
Show Details -
May 9th
11:9 PM
ActiveTrust fund photo letterpress, keytar raw skydiving denim grape keffiyeh etsy art base apple party ball before they.
Show Details -
June 3rd
1:30 PM
ActiveTrust fund photo letterpress, keytar raw skydiving denim grape keffiyeh etsy art base apple party ball before they.
Show Details
Mailboxes
- New23
- Follow Up13
- Starred73
- All Messages89
- Archived24
- Important10
- Personal39
Upcoming Events
Inbox
Top Users
| First | Last | Username | |
|---|---|---|---|
| Mark | Tompson | the_mark7 | |
| Ashley | Jacobs | ash11927 | |
| Audrey | Ann | audann84 | |
| John | Robinson | jr5527 | |
| Aaron | Butler | aaron_butler | |
| Chris | Albert | cab79 |


Look: LeBron James Has A Message For Anyone Hating On Him + His LA Lakers Right Now
by Team SOHHThe Los Angeles Lakers have the NBA’s best record right now and LeBron James knows it. The King went online Saturday to send a friendly reminder to fans and haters alike. Look and comment below!


1: #if !defined(PIPEFGMRES_H_)
2: #define PIPEFGMRES_H_ 4: #define KSPGMRES_NO_MACROS 5: #include <../src/ksp/ksp/impls/gmres/gmresimpl.h> 7: typedef struct {
8: KSPGMRESHEADER
10: /* new storage for explicit storage of preconditioned basis vectors */
11: Vec *prevecs; /* holds the preconditioned basis vectors for fgmres.
12: We will allocate these at the same time as vecs
13: above (and in the same "chunks". */
14: Vec **prevecs_user_work; /* same purpose as user_work above, but this one is
15: for our preconditioned vectors */
17: /* new storage for explicit storage of pipelining quantities */
18: Vec *zvecs;
19: Vec **zvecs_user_work;
21: /* A shift parameter */
22: PetscScalar shift;
24: /* Work space to allow all reductions in a single call */
25: Vec *redux;
27: } KSP_PIPEFGMRES;
29: #define HH(a,b) (pipefgmres->hh_origin + (b)*(pipefgmres->max_k+2)+(a)) 30: /* HH will be size (max_k+2)*(max_k+1) - think of HH as
31: being stored columnwise for access purposes. */
32: #define HES(a,b) (pipefgmres->hes_origin + (b)*(pipefgmres->max_k+1)+(a)) 33: /* HES will be size (max_k + 1) * (max_k + 1) -
34: again, think of HES as being stored columnwise */
35: #define CC(a) (pipefgmres->cc_origin + (a)) /* CC will be length (max_k+1) - cosines */ 36: #define SS(a) (pipefgmres->ss_origin + (a)) /* SS will be length (max_k+1) - sines */ 37: #define RS(a) (pipefgmres->rs_origin + (a)) /* RS will be length (max_k+2) - rt side */ 39: /* vector names */
40: #define VEC_OFFSET 4 41: #define VEC_TEMP pipefgmres->vecs[0] /* work space */ 42: #define VEC_TEMP_MATOP pipefgmres->vecs[1] /* work space */ 43: #define VEC_Q pipefgmres->vecs[2] /* work space - Q pipelining var */ 44: #define VEC_W pipefgmres->vecs[3] /* work space - W pipelining var */ 46: #define VEC_VV(i) pipefgmres->vecs[VEC_OFFSET+i] /* use to access othog basis vectors 47: Note the offset, since we use
48: the first few as workspace */
50: #define PREVEC(i) pipefgmres->prevecs[i] /* use to access preconditioned basis */ 51: #define ZVEC(i) pipefgmres->zvecs[i] 52: #endif


--- layout: post title: School 12/8/2014 date: '2015-01-02T18:31:00.001-07:00' author: April tags: - homeschool-journal modified_time: '2015-01-02T18:31:29.799-07:00' thumb: https://lh6.googleusercontent.com/-6fjzTN48ebQ/VI7qb7hYevI/AAAAAAAAdlQ/8GkSPaJDxP8/s72-c/blogger-image-1275368967.jpg blogger_id: tag:blogger.com,1999:blog-6400085873105072120.post-2126997215641139261 blogger_orig_url: http://www.svlark.com/2015/01/school-1282014.html ---


Version: 1.2.2 Date: 21.7.2019
Features:
– Added Gui.on_confirmed.
Version: 1.2.1 Date: 13.7.2019
Features:
– Added Event.core_events.init_and_load. – Added Direction.to_vector.Bugfixes:
– Factorio doesn’t allow requiring in functions no moar.
Version: 1.2.0 Date: 22.6.2019
Features:
– Added Position:flip_x, Position:flip_y – Added Queue:peek_at, push_at, pop_at, next, rnext. – Added Queue[i] support for pushing or overwriting items in the queue. – Added STDLIB global variable containing factorio-stdlib specific scripts. – Added globals concat, safetostring.Changes:
– Everything is unified under __class
Version: 1.1.1 Date: 14.6.2019
Optimizations:
– Made Event.dispatch more effecient.Changes:
– Event.dispatch does not pcall on Core Events if protected mode is set.Features:
– Events can now be registered with a table of options to overide the default set options.
Version: 1.1.0 Date: 4.6.2019
Bugfixes:
– Event shortcuts have proper return.
Features:
– Added Event.on_event. – Added Table.unique_values. – Added Game. write_mods()/write_statistics()/write_surfaces().Changes:
– Updated the readme and wiki.
Breaking Changes:
– Removed mod_name requirement from Logger. Any mods using this module may need to remove the mod_name paramater when creating a new logger.
Version: 1.0.7 Date: 4.6.2019
Bugfixes:
– Fix Changes logic for real this time.
Version: 1.0.6 Date: 4.6.2019 Bugfixes:
– Fix Changes logic.
Version: 1.0.5 Date: 4.6.2019
Features:
– Added Event.set_protected_mode(). – Added Player.pdata(). – Added Quickstart chart_size_multiplier config. – Added vendor script version (simple semvar). – Added vendor script pulsar (A* pathfinding).Minor Features:
– Added thumbnail.Breaking Changes:
– Changes module no longer uses pcall. Changes files will need to be registered.Minor Features:
– Added settings namespace to the test data loader. – Add settings namespace to the test data loader
Version: 1.0.4 Date: 4.6.2019
Bugfixes:
– Fix quickstart script deleting the character.Minor Features:
– Added magic deploy script.
Version: 1.0.3 Date: 4.6.2019
Bugfixes:
– Fix player->character renames for .17.35
Version: 1.0.2 Date: 4.6.2019
Bugfixes:
– Actually include the data.lua file in the release.
Version: 1.0.1 Date: 4.6.2019
Bugfixes:
– Add data.lua file to trick Factorio into thinking this mod changes the game.
Version: 1.0.0 Date: 4.6.2019
Major Features:
– Initial Release as a library mod. – Initial Release of the Data libraryFeatures:
– Added inspect available as a global function a prettier table printer. – Added vendor scripts; beholder, bump, cron, enumerable, inspect, md5, memoize, middleclass, mm, semver, serpent, statefulChanges:
– All modules and classes are local by default. – All global variables have been eliminated. – Any module that registers events must have their register_events() function called. – Module locations have been moved around to have a more consistent structure. Check out the API docs. – Area/Position are now returned as objects. – Remove marker debug entities in favor of built in rendering.
Version: 0.8.0 Date: 1.27.2017
Features:
– Added Entity.set_indestructible, toggles an entity so that it can not be damaged or mined by either the player or other forces – Added Entity.set_frozen, toggles an entity as inactive, making it inoperable and non-rotatable – Added Surface.get_surface_bounds, creates an area that represents the generated boundaries of a surfaceChanges:
– Changed Surface.find_all_entities to support area search criteria – Changed Inventory.copy_inventory to support itemstacks with durability, health or ammo – Changed Trains.find_filtered to support the entity type in the search criteria. Defaults to ‘locomotive’ – Changed Entity.set_data/Entity.get_data to use a unit’s unit_number as a key for data, enhancing performance for entities who have unit_numbersDeprecations:
– Deprecated Area.adjust, due to misleading name. (use Area.normalize instead)Bugfixes:
– Fixed loading error when train module was loaded before the game object existed – Fixed Trains.on_train_id_changed event not firing correctly
Version: 0.7.0 Date: 30.9.2016
Features:
– Added Area.adjust, modifies area to ensure x,y coordinate values are normalized – Added Area.construct, creates an area from two pairs of x,y coordinates – Added Area.size, replaces the deprecated function, Area.area. – Added Position.copy, creates a copy of a position – Added Position.construct, creates a position from an x,y pair – Added table.find, searches a table for the first element that matches the function – Added table.any, searches a table and returns true if any elements matches the function – Added Trains module, providing train utility methods and events: – Added Trains.set_data, sets persistent mod data on a train – Added Trains.get_data, gets mod data on a train – Added Trains.on_train_id_changed event, contains the old and new id of the train, and fires when a train id changes (e.g. locomotives are added to an existing train) – Added Trains.find_filtered, searches and returns a table of trains on surface(s) for trains that match the area, name, or state criteria – Added Trains.get_train_id, returns the train id of a train – Added Trains.get_main_locomotive, finds and returns the main locomotive entity of any train – Added Time-based events, require ‘stdlib/event/time’ to enable them, then register the events to script them. – Event.Time.sunset, fires an event when sunset occurs for a surface – Event.Time.sunrise, fires an event when sunrise occurs for a surface – Event.Time.midday, fires an event noon occurs for a surface – Event.Time.midnight, fires an event when midnight occurs for a surface – Event.Time.minutely, fires an event when an in-game minute passes – Event.Time.hourly, fires an event when an in-game hour passes – Event.Time.daily, fires an event when an in-game day passes – Added Config system, for easier management of persistent mod configuration – Added Config.new, ex: Config.new(global.config) creates a new configuration, stored at global.config – Added config.set, allows setting a value at nested paths, ex: (Config.new(global.config).set(“your.path.here”, foo) – Added config.get, allows getting nested values, ex: (Config.new(global.config).get(“your.path.here”) – Added config.delete, deletes a value at a config path, ex: (Config.new(global.config).delete(“your.path.here”) – Added config.is_set, tests whether a config value is set or not, ex: (Config.new(global.config).is_set(“your.path.here”)Changes:
– Changed Game.print_all to print to offline players (fixes <https://github.com/Afforess/Factorio-Stdlib/issues/49>)Deprecations:
– Deprecated Game.print_force (use force.print instead) – Deprecated Game.print_surface (use surface.print instead) – Deprecated Area.area, due to misleading name. (use Area.size instead)Bugfixes:
– Fixed documentation for the Entity.to_collision_area – Fixed documentation for the Area.to_table
Version: 0.6.0 Date: 30.7.2016
Features:
– Added table.keys, when passed a table, returns a copy of all the keys in the table – Added table.values, when passed a table, returns a copy of all of the values in the table – Added table.flatten, when passed a table, creates a copy of the table where inner nested tables were flattened into the outer table – Added table.min, when passed an array, returns the minimum value – Added table.max, when passed an array, returns the maximum value – Added table.sum, when passed an array, adds up all the values and returns the sum – Added table.avg, when passed an array, calculates the average value – Added Area.area, calculates the size an area occupies – Added Tile.adjacent, given a tile, returns a list of adjacent tile positions (N, E, S, W) or (N, NE, E, SE, S, SW, W, NW), depending if diagonal tiles are specified. – Added Position.equals method, to test whether two positions are at the same x,y coordinate positions – Added string.split, which when given a separator, will split a string apart on the separator, returning a list of substrings – Added string.is_empty, to test if a string is nil or the empty string – Added a GUI event handler system. Multiple handlers for each event can be registered, using regex patterns to match element names. – Gui.on_click(pattern, callback) fires a click event to the callback for any gui element whose name that matches the pattern – Gui.on_checked_state_changed(pattern, callback) fires a on_checked_state_change event to the callback for any gui element whose name that matches the pattern – Gui.on_text_changed(pattern, callback) fires a on_text_changed event to the callback for any gui element whose name that matches the pattern – Added a Data module, which allows for easier search and manipulation of data structures – Data.select, when given a selection string, returns a list of all data.raw elements that matched the selection. The returned list is backed by the real data.raw and changes to it are reflected in the data.raw and therefore the game.
-
Data.select(‘recipe:steel.’).energy_required = 1 — sets all recipes whose name matches ‘steel.’ to require 1 energy to produce-
Data.select(‘recipe:steel.’).apply(‘energy_required’, 1) = 1 — sets all recipes whose name matches ‘steel.’ to require 1 energy to produce. Apply returns itself, so apply function calls can be chained. - Recipe.select, when given a selection string, returns a list of all recipe elements in data.raw that matched the selection. The returned list is backed by the real data.raw and changes to it are reflected in the data.raw and therefore the game. -
Recipe.select(‘steel.:ingredients’) — returns a table with all ingredients from all recipes whose name matches ‘steel.’ -
Recipe.select(‘steel.:ingredients:iron-plate’) — returns a table with all iron-plate ingredient objects, from all recipes whose name matches ‘steel.’
 Changes:
 - Changed table.each to abort iteration if the callback returns true. Iteration continues for false, nil, or missing return values.
 Bugfixes:
 - Fixed documentation for the Time module - Fixed missing newline in the documentation for the Logger.new function
Version: 0.5.1 Date: 4.7.2016
Bugfixes:
– Fixed Event registry not notifying of an error in an event handler when the game was loaded, but no players were connected to the game
Version: 0.5.0 Date: 12.6.2016
Features:
– Improved table.map, filter, and each to also include additional arguments and index. – Added Event.core_events, allows registering Events for on_init, on_load, and on_configuration_changed – Added options to Logger.new, adds option to modify the file extension and alter the timestamp format – Added Chunk.get to calculate the chunk coordinates for a given tile position – Added Chunk.get_data, retrieves mod data stored on a chunk position – Added Chunk.set_data sets mod data on a chunk position – Added Tile.from_position, calculates tile coordinates from a position – Added Tile.to_area, returns the area that a single tile occupies – Added Tile.get_data, retrieves mod data stored on a tile position – Added Tile.set_data, sets mod data on a tile position – Added Area.spiral_iterate, is an alternate iterator (compared to Area.iterate) that iterates the Area in an inside-out spiral fashion – Added Area.center, returns the center position of an Area – Added string.contains, tests if a string contains a substring – Added Time constants, provides easy reference for Time.SECOND, Time.MINUTE, Time.HOUR, Time.DAY, and Time.WEEK in factorio tick time – Improved the lua docs, so they share the same look and feel as the factorio lua docsBugfixes:
– Fixed Logger writing after one hour instead of one minute
– Fixed Event registry with Event.core_events.init not raising errors correctly
Version: 0.4.0 Date: 9.5.2016
Features:
– Added string.trim(), which can remove leading and trailing whitespace from a string – Added string.starts_with(…), tests if a string starts with a given substring – Added string.ends_with(…), tests if a string ends with a given substring – Added Entity.get_data, retrieves persistent mod-data associated with an entity – Added Entity.set_data, sets or removes persistent mod-data associated with an entity – Added table.each, iterates a table and applies a function to each value in the table – Added table.filter, iterates a table and returns a copy that contains all the elements that passed the filter – Added table.first, returns the first item in the array – Added table.last, returns the last item in the array – Added table.map, returns a copy of the table transformed by the function – Added table.merge, merges table b into table a, overwriting any duplicate entries in table a with values in table b – Improved Event Registry – Added access to the event handler reference (the function handling the event) in event._handler – Added Event.remove, allows events to be de-registeredBugfixes:
– Fixed incorrect parameters in Surface.find_all_entities
Version: 0.3.0 Date: 24.4.2016
Features:
– Added Area.iterate function, allows iteration of the positions inside an area – Added Entity.has function, can safely test if an entity has read access to a field – Added Surface.lookup function, capable of converting strings, tables, or arrays to LuaSurface factorio object – Added Surface.find_all_entities function, searches all loaded chunks on surface(s) for all entities that match criteria – Added Event Registry, provides alternate Event registration from script.on_event. – Event.register allows multiple event handlers to be registered for the same event – Events that cause an error will not abort the game but print a warning to all players – Events handlers cascade and can be aborted. Returning true in an event handler prevents any later handlers from being executed.Bugfixes:
– Clarified documentation for Logger.log
Version: 0.2.1 Date: 12.4.2016
Features:
– Added Area.expand function, expands an area by a given amount – Added Area.shrink function, shrinks an area by a given amountBugfixes:
– Correct documentation for Area.offset
Version: 0.2.0 Date: 6.4.2016
Features:
– Added Position.distance_squared for Euclidean distances between two points – Added Position.distance for Euclidean distances between two points – Added Position.manhattan_distance for calculating the manhattan distance between two points – Added Entity.to_selection_area, creates an area that surrounds an entity selection box – Added Entity.to_collision_area, creates an area that surrounds an entity collision box – Added Area.inside function, tests if a position is inside an area – Added Area.offset function, offsets an area by a position – Added Area.round_to_integer function, rounds are to integer – Added Area.to_table function, converts area to x/y, left_top/right_bottom format – Majority of functions now give error messages for missing arguments
Version: 0.1.0 Date: 6.6.2016
Features:
– Added Inventory.copy_inventory function – Added Position.add function – Added Position.subtract function – Added Position.translate function – Added Position.tostring function – Unit testing with busted lua library
Version: 0.0.6 Date: 6.6.2016
Features:
– Initial release


| DOSE: |
|
oral |
Chlorpheniramine Maleate |
(pill / tablet) |
[Erowid Warning: Erowid reports of DXM in combination with CPM carry warnings; CPM-alone health risks unclear.]
My pills are called 'Allergy Relief Tablets'. They come in a box of 30 uncoated pale yellow pills, each containing 4 mg of CPM maleate. I experimented with various dosages, gradually increasing my dose as I went along. The largest dose I have taken in one day is 60 tablets, or 240 mg; doses were generally spread over a 15-20 minute period.
The effects are as follows:
* Sleeplessness - the stuff can make you sleepy, but large doses keep me awake. I feel like I have lots of energy as well.
* Tremor - in combination with caffeine this can make my hands shake quite badly. Other parts of the body tend to twitch.
* Exaggerated startle reaction - loud sounds make me jump far more than usual after taking CPM.
* Vivid hypnogogic / hypnopompic images - like diphenhydramine & scopolamine, but not as intense. The most pleasurable aspect of the drug.
* Increased vividness of images. This seems to be more prominent with paintings and drawings rather than photographs. The real world doesn't seem any more vivid than usual.
* Nicotine craving - An odd one. I guess the anticholinergic activity of CPM might create an imbalance, and the body wants it rectified by a cholinergic agonist like nicotine?? But that's a rather woolly explanation. Nonetheless, I do feel the urge to smoke cigarettes when I have taken CPM. Which leads to the next effects:
* Elimination of coughing reflex
* Elimination of nausea
Together these mean that I can smoke cigarettes as heavily as I like under the influence of CPM, without (immediate) penalty. This is probably the worst aspect of it for me. Normally I'm protected from smoking cigarettes by my tendency to cough and feel sick from them, but this is absent with CPM. But I can't blame my behaviour on the drug.
* Erection and horniness. Seems to go together with the nicotine craving.
* Emotional volatility. A general feeling of 'cosiness' or warm comfort can change quite quickly to a short bout of depression, lasting up to half an hour. Then the comfortable feeling returns.
* Odd taste in mouth. My saliva seems to have a strange metallic taste. It's not particularly unpleasant, but it is unmistakable. This is one way of knowing when I'm under the influence.
* Visual flickering. This is subtle compared to datura, scopolamine, or diphenhydramine, but definitely perceptible.
CPM has a long half-life -- I have seen figures of 28 and 40 hours. The subjective effects seem to last 3-4 days after a large dose, and I am protected from hay fever for about a week. There is a withdrawal effect which is, not surprisingly, intense sneezing, runny eyes and runny nose (lovely...) Avoiding this withdrawal has lead to repeated administration, a sort of addiction. Tapering the dose over a month is an effective method of preventing this, and does not even require any willpower.
I have not noticed any long-term effects from my experimentation. So I can say that repeated administration of >100 mg CPM to myself has not resulted in any perceptible health problems. The only problems have been coughing and phlegm from smoking, which goes away within a few days. Perhaps CPM + DXM is a problematic mixture. However, in my DXM-using days, I sometimes used cough medicine containing CPM, with no unusually negative effects. I did have a mildly negative experience with pseudoephedrine-containing medicine, though -- felt stiff all the next day.
Caution, though -- it's been OK for me, but it might not be fine for you. Don't take pointless risks. Oh yes, you shouldn't take it with MAO inhibitors.
Summary: I took this as a possible substitute for diphenhydramine, but it is only a pale shadow of that drug. It is not particularly pleasant, nor unpleasant. Some of the effects are mildly interesting. This trip report is probably the most useful thing to come out of my experiences. Hopefully anyone who was curious about CPM can read this and not waste their money or time on this drug.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


This website requires cookies, and the limited processing of your personal data in order to function. By using the site you are agreeing to this as outlined in our
Privacy Notice
and
Terms of Use
.
I agree, dismiss this banner


Employees (JavaScript)
New Employee
Name
eMail
Date of birth
Team
Job
Status
Actions
Create new Employee
×
First name
Last name
Email
Birthday
Team name
Career level
Junior
Professional
Senior
Experienced Senior
Job
Java Developer
QA Engineer
Product Manager


View: GDP data to guide rupee next; outlook bearish
This means bond market has already assumed that further rate cuts are not coming or will be sparse.
by ET CONTRIBUTORSBy Bhavik Patel
Retail inflation is at a 16-month high and is above RBI’s target rate of 4 per cent. So going forward the central bank has limited elbow room for a rate cut.
If we look at 10-year government bond yield, it is trading near support zone so there are less chances of yield tumbling.
This means bond market has already assumed that further rate cuts are not coming or will be sparse.
The market will now focus on September quarter GDP number due on November 29, which will further indicate a deeper slowdown in the economy. RBI will have to act and may ignore a temporary rise in food prices to deliver another 25-40 bps rate cut before getting into prolonged pause. Both RBI and Moody’s have lowered GDP forecast. The rupee had broken the range of 71.40-70.80 after India’s factory output contracted 4.3% in September, which was at a 8-year low.
Not just Indian unit, but other currencies too are facing headwinds. Brazil’s real is near to a historic low, while its stock market is near historic high. As we can see from the chart, South African rand, Chinese Offshore yuan and Indian rupee, all are trading in close proximity against US Dollar meaning not just our currency but all other units are also depreciating.
The rupee is not overbought as RSI 14 is still at 61. The currency is trading above 200-DMA and has broken its previous swing high of 71.80. Next resistance and target come at 72.63. We believe the rupee may only appreciate if it closes below 71. Since August it is trading above 200-DMA and currently above 20 and 50-DMA, indicating trend is up. Any correction till 71.40 should be bought into and long positions should only be exited below 71.
(Bhavik Patel is Senior Technical Analyst at Tradebulls Securities. Investors are advised to consult financial advisers before taking an investment calls based on these observations)


Sarkodie Reveals Why He Is Dropping Songs On His Black Love Album One By One
by Ghbase New WriterAfrica’s most decorated rapper, Sarkodie has demystified the reason behind the release of his songs on his Black Love album as singles instead of dropping the whole album at once.
Speaking to Okay Africa, the rap King said dropping the album in accordance with fans expectations is not a good idea commercially as people tend to forget about albums quickly.
Sarkodie said he’s releasing the songs as singles in order to leave a lasting impression on the fans.
He said:
“I have two versions of Black Love. The version I’m dropping now basically is just about love amongst black people and it’s 90 or 80 percent based on relationships, it’s more of love songs.
If you look at the records I’ve released so far, the first one being “Can’t Let You Go,” that was my wedding video featuring King Promise.
Right after that I did “Lucky” featuring Rudeboy from Nigeria. And then I did “Do You” featuring Mr Eazi, “Saara” featuring Efya and now “Party & Bullshit.”
All the songs are just about love amongst black people and bringing that connection. And then there is one that has the type of message that was in the cypher and is more directly about black people and black power.
The only thing I’m doing is that I haven’t dropped a date yet or the track list, but it’s going to be any moment from now. It’s going to drop as a surprise. That’s what I have for the fans.
I really wanted them to focus on the singles and pushing more, because what I realized was if you put out a whole project, sometimes they miss the records if it’s too much. I wanted them to have time to enjoy at least four or five songs and then everything drops.”
Do you agree with his assertion? Don’t forget to share your comments with us in the comment section below.


Your browser does not support HTML5 video.
A beautiful metronome that makes your practice easier. Pulsar fills the screen with what's most important; the pulse.
Pulsar is open source.


Von hier Idee und Grafiken übernehmen - https://www.informatik-aktuell.de/entwicklung/methoden/machine-learning-im-unternehmen-nutzen-und-potentiale.html - German Abstract - Exercise for audience: draw decision boundaries - Wrapup
Customer ranking for automobile insurances
How would you rank me (47) for a car with 56 HP?
Surprisingly, despite AI’s breadth of impact, the types of it being deployed are still extremely limited. Almost all of AI’s recent progress is through one type, in which some input data (A) is used to quickly generate some simple response (B)
Andrew Ng: https://hbr.org/2016/11/what-artificial-intelligence-can-and-cant-do-right-now
This is true for both Software Development as well as Machine Learning
y = a * x2 + b * x + c
a, b, c
Everything needed to reproduce the trained state: Architecture plus learned parameters
These points are much better matched with a line
Convolutional Neural Networks: A pretty complex Architecture
- sentiment analysis - https://www.microsoft.com/en-us/cloud-platform/cortana-intelligence
https://teachablemachine.withgoogle.com/
Part of
Google AI Experiments
Introduction to Machine Learning for Software Developers
Oliver Zeigermann / @DJCordhose
http://bit.ly/ml-concept