So Tim Bray (at Sun) has been considering the Beyond Java book. I hear that book quotes this post of mine, but that's an aside.
He thinks the JVM is important. And the web is important. I don't really care about the JVM myself, but I'm all for the second one.  Open source developers are good at making things less painful, but Sun is too caught up in its self-importance to let us. But that's an aside.
But my point: here is a bandwagon we can jump on! So you want the JVM for you web app, but you don't want to write it in Java and J2EE? Python is right on the cusp of being highly usable there.
What needs to be done? Not that much. Jython of course needs to be updated to match Python 2.4. Luckily after a dormant period I hear Jython development has picked up some, and it's pretty close already. Then we need web frameworks. But we already have those in spades. So we need a WSGI adapter -- which we have in modjy. Every WSGI-enabled web framework won't magically work when that happens, but we'll be really close. There will be stuff to tweak, new database drivers to test (I thought there was a JDBC DBAPI driver, but I can't find it), and installation processes to figure out. But there's no huge leaps that have to occur.
I personally remain indifferent to the JVM (and frankly indifferent to the corporate culture it represents), but there's real opportunity here for someone to take up.
Re: I thought there was a JDBC DBAPI driver, but I can't find it.
zxJDBC is included in Jython itself. http://www.jython.org/docs/zxjdbc.html. Once upon a time it was at http://www.ziclix.com/zxjdbc/. I had no problem using it with MySQL and PostgreSQL JDBC drivers.
# Seo Sanghyeon
I can't say I disagree. There seems to be a certain mindset that comes with the Java/JVM bandwagon that kind of turns me off to the entire thing. Let's not even talk about the J2EE aspect of things, blech.
I'd be a bit puzzled about a guy who would like to use the JVM without using Java. But hey World is wide enough for all kind of people :)
# S.
The JVM is a platform of sorts. Though from what I see, it's not a particularly popular platform for the open source community; I feel like the open source development that occurs on it is disassociated from the rest of the open source community. Nevertheless, there's a lot of disaffected programmers on that platform, some of who may be a benefit to the open source community. And most of who may not be any benefit at all. It's a testiment to a certain disfunction there that Jython isn't a more active project, as it seems to get a signficant amount of use, but not contributions.
I go back and forth on this sort of thing. I recognize some people need the JVM. A lot of people, really, for legacy reasons. I don't have any particular problem with the JVM -- except that the most common implementations are proprietary. But I also think most people on that platform aren't choosing to get off it, and if they aren't willing to make that choice, it doesn't necessarily help us to bring people a choice they don't really care about.
# Ian Bicking
I develop a Open Source app with Jython/Java and I use Sun's VM on Linux. Guess what I don't have one problem with it! Not only does the combo work well together the Sun folks are extremely easy to work with when I have problems/suggestions. So I guess I don't get the "Sun is Dumb" appelation. The folks over there seem pretty sharp to me. :)
Licensing is Licensing. Edward had to rip out the Leo usage of a Python module because this standard module didn't have an open enough License for Ubuntu! :D
leouser
# leouser
By "Sun is dumb" I only mean Sun-the-company and their Java licensing. The Java policy seems to put a lot of importance in compatibility and certification and whatnot, which would be fine for people who care about that stuff (a rapidly diminishing number of people), except Sun keeps people from fixing their packaging and distribution as a result. If you are serious about Java you figure these things out -- you run their installers, set up your CLASSPATH, etc. If you aren't serious (like myself) you don't figure these things out, and you ignore Java as a platform. If it was easy for me to run test suites on Jython I would. There's lots of other platforms that I'm not serious about that I use regardless, because they are easy and well integrated into whatever OS I'm on (since that OS is often Debian-related all the more reason this licensing causes problems). Java is not one of them.
Sun's concern about the cross-platform compatibility of their platform is outdated. The only real malicious forker (MS) has dropped Java for .NET. And I don't think Sun every really delivered in a practical way on the write-once-run-anywhere promise anyway. Maybe their accomplishments would mean something to someone coming from a proprietary C background, but it's thoroughly unimpressive to anyone using Python, and not even very impressive compared to open source C projects (where compatibility is achievable through feedback, not restrictions). It's created a situation where Java seems hostile to the host platform, hostile to packaging systems of all kinds, and ultimately hostile towards users. But every system has flaws; the problem with Java is that Sun won't let other people fix those flaws.
# Ian Bicking
I don't have any of these problems your talking about so I guess were on different pages of the universe. :) Ive been using Java on my Linux Suse distro for 4-5 years and Ive never had a problem installing the software. For someone who develops with Java it is important to me that my app(s) will run on Windows as it runs on Linux, and they do. So the cross platform compatibility is a plus for me. I don't know if you pay much attention to what goes on in the Java world but there definately is work going on to provide better integration with the native platforms. You can look at the JDIC project for example.
gotta run! leouser
The JVM give me a few key features:
- Allows me to take a single file and hand it off to operations - They can then run it in a 'container' and they can monitored and care for the app
- Allows use of third party services via libraries (JVM has a better public/private notion then python)
I know that a good sysadmin can manager a python app as well, and the ability to make a python wrapper around c/c++ takes us a long way as well, but the JVM is important.
I've been thinking about the JVM to support a ESB (http://mule.codehaus.org/). Do the Java bits in java, and the agile parts in python, and link them up with clean API's. Unless the overhead of the extra socket call is too much I like this better then running Jython in the JVM.
Once you have the overhead of a J2EE server I don't think scripting langs buy you that much. And I feel that you would lose a lot by trying to run a java app server in a non-J2EE environment. J2EE is complex because it helps solve complex problems, its just that not all web apps are all that complex......
# Aaron
the only place I can see scripting saving you anythin is in a JSP, but really you shouldn't have that much code in those things anyway. A Jython instance is not that hard to embed and work with, in fact its quite simple. I have a custom shell for Jython fairly well developed and it not that hard to manipulate the PythonInterperter via its api. Im going to assume that it will be much simpler to work with the interpreter in the runtime than playing with a socket connection, even if it is hidden behind a good API.
leouser
With respect to Python Web framework technologies and the Java platform, WebStack has supported the Java Servlet API for some time. Of course, even with your Web application code running in Jython, you still need to be able to access all those convenient libraries that are available for CPython. Consequently, it takes a bit of work to have things like libxslt, rdflib and the other interesting stuff switched out with capable equivalents using the same API - more work than I'd be willing to put in right now, anyway.
# Paul Boddie
I can't understand what people have against Java or Sun.
Java is the best language for some jobs - it has great tools, great documentation and a great speed. It has also some bad parts as swing, but Overall it's really great.
Now I have read a lot of people bashing Java (especially the Rails folks), and frankly their bashing is groundless.
I code a lot in Python and I love that language. But I have also had experience with Java, and Java is also pretty neat for some applications. Now, Python and Java combined could produce some great results! Python because of the very nice syntax, nice design and Java because of speed, documentation and "tools"...
I share you thoughts on Sun freeing Java, BUT it's a very bad argument to hate Sun. Sun does a GREAT deal for free software - - like OpenOffice and Solaris! And I can't understand that people don't credit them for that...
Go Sun, Go Java and Go Python ;-)
I can't believe it would be that terrible of a chore to develop a Jython based Web framework for j2ee. The web side is primitive because you are supposed to build a framework up from it, the freedom is yours to decide. Sun acknowledges this and its considered a good practice to use a web framework. Ill have to check some of the links on this page out, maybe one alread exists.
In my experience in developing both in Java and Jython at the same time, its been enjoyable. Both are simple languages, so its not hard to reason about the code in either case. It also isn't that hard to translate between the two. The biggest headache Ive encountered is reasoning about how a python truth can be mapped to a java truth. Python: if something: ..do something
java: if ??????
since something can be true in many cases, not like the good ol simple if(true){
}
I had the choice of buying "Beyond Java" or "Swing Hacks" this last weekend. I perused "Beyond Java" and saw that it seemed to dismiss Python as a language because it relies too much on whitespace and the community isn't friendly and too academic. At that juncture I didn't care what the author had to say anymore and put the book back up on the shelf. Ive read one of his other books and really didn't get anything out of it. Not sure why I would need to read another of his "I Dont Like Java Books", you'd think one would be enough. :D I would think people could be able to decide if they like a technology or not by just using it. Then I perused "Swing Hacks" and after reading a couple of pages thought that it looked like a lot of fun, and it is!   It might just inspire you to dig into the Swing source and make magic happen.
leouser


| Alumni | Program | Co-advisor | As of | Degree completed | Currently with |
|---|---|---|---|---|---|
| Post-doctoral | |||||
| Martin Villeneuve | Neuroscience Program | Post-doctoral fellow UdeM | Sebastien Thomas | Neuroscience Program | 2009 | 2011 | Res. Associate, U Montreal | Felix Carbonel | Neuroscience Program | Dr. Dagher | 2009 | 2010 | Biospective Inc. |
| Master's | |||||
| Debra Dawson | Neuroscience Program | 2010 | 2012 | RA at AS lab | |
| Anupama Iyengar | Electrical Engineering | Dr. Precup | 2011 | 2012 | Applying for PhD |
| Sujaya Neupane | Biomedial Engineering | 2010 | 2012 | PhD student, McGill IPN | |
| James McNicol | Biomedial Engineering | 2008 | 2010 | National Instruments | |
| Mirza Abdel Baig | Biomedial Engineering | 2008 | 2010 | Cisco systems, Inc. | |
| Ze Shan Yao | Biomedial Engineering | 2008 | 2010 | Fast track PhD at AS lab | |
| Denis Chaimow | U Tuebingen, Germany | 2004 | 2006 | PhD student at AS lab | |
| Undergraduate | |||||
| Grey Hu | Electrical Eng. Design | 2010 | 2010 | Cisco Sytems Inc. | |
| Peter O'Connor | Electrical Eng. Design | 2010 | 2011 | MEng student, AS lab | |
| Javeed Shaikh | Electrical Eng. Thesis | 2010 | 2010 | Altera Corporation | |
| Alexandre Hutton | Electrical Eng. Thesis | 2010 | 2011 | MEng student at AS lab | |
| Alexander Peplowski | Electrical Eng. Thesis | 2012 | 2012 | MEng student at University of Toronto | |
| Victor Lu | Electrical Eng. Thesis | 2011 | 2012 | MEng student McGill | |
| Rebecca Cohn | Physiology project | 2012 | 2012 | Sackler School of Medicine NY | |
| Arvin Haghighat | Physiology project | 2013 | 2013 | 3rd year Physiology program | |
| Magnus Johansson | Linkoping U, Sweden | 2013 | 2013 | Medical School of Linkoping U | |
| Gustaf Hultgren | Linkoping U, Sweden | 2013 | 2013 | Medical School of Linkoping U |


Thu Mar 31, 2011
I’m a little late to the party, but I finished reading this Swedish crime thriller last night. It’s been on the best seller lists for a while and thought I would give it a go. The story centres on a downtrodden journalist, Mikael Blomkvist as he investigates the mysterious disappearance of a girl who went missing 40 years earlier. He gets some help from the gothic, autistic, troubled, grown up Pippi Longstocking character, Lisbeth Salander. She’s the one with the dragon tattoo by the way. The title doesn’t have anything to do with the story.
In fact, the original Swedish title is Men Who Hate Women, which is a far more accurate description of a story populated with sadists, rapists, serial killers, and a combination of those. But that all comes later. Most of the first three quarters of the book is filled with a languorous stroll through textual analysis of old documents, family trees, aging photographs, and red herring interviews punctuated by the anarchy and violence of Lisbeth’s story. There’s also a vendetta against a banker mafia thrown in there.
This translation is crisp and uses sparse, yet vivid English. There is no miring in waffling prose here - the author cuts straight to it but still gives us plenty of atmosphere and tension. The balance between character development and action was perfect for me, but I could see some action-junkie readers starting to drift off if they expect a car chase or shootout on every page (there is only one of each of these in the whole book). Overall, this was a great read and I’m looking forward to the next two books, which are part of the Millennium Trilogy.


Export: Export your settings to an json file, which you can reimport into another browser.
Import: Import your settings from a json file. This will erase the data in the selected storage area.
Select a color for
×


--- layout: default title: Generator --- Generators
For a better introduction to what a generator is and an example of how to build one visit the jsonblog-generator-boilerplate repo. {% for theme in site.data.themes %}


Find some interesting things and coding samples
Spending a lot of time with developers, I (Nadine) wanted to learn to code. So thanks to my great teacher Colt Steele , I am now a frontend developer in training . My first project has been this Website. Please find further training projects as follows.
Watch an example of my well known Scrum Master Tutorial (in GERMAN). It has prepared hundreds of students for the Professional Scrum Master Certificate (at Scrum.org)
Please feel free to contact us, if you wish to embedd the full tutorial into your company LMS and train your employees to become Scrum certified.
This App can help you to prepare for the final Scrum Master Exam. It simulates exam conditions. If you don't pass, read the Scrum Guide and try again... and again ...
Download my Scrum Training App Playstore and tell me what you think!
This is an RGB color picker game made with HTML, CSS and JavaScript/jQuery.
Try to guess the right color for the RGB Code shown above.
This is a very simmple but usefull To-Do-List. Your can add items, mark them done and also delete them from your list.
The list has been created using jQuery, Event-listeners and DOM manipulation.
New Management Practices (e.g DevOps or Agile) help to develop new innovations much faster and also contribute to a more satisfying work environment. My everyday goal is to inspire people to think ahead, embrace change and also create a better future for all of us.


“I’m still Shoo. Yes, I’m living with HIV, but I’m still the exact same person.” That awareness is what led Shoo Robbins, a 30-year-old talent agent in Nashville, Tennessee, to tell his family about his diagnosis within 24 hours
of finding out he was HIV-positive. “The only way that my family would be OK would be for me to tell them face to face, for them to see me and touch me and look in my eyes and see that I’m still exactly the same person.”


memcpy
call.
&&
reference.
vector<std::string> v;
v.push_back(std::string("moved")); // Move happens
std::move
.
vector<std::string> v;
std::string obj("moved");
v.push_back(obj); // Copy happens
v.push_back(std::move(obj)); // Move happens
Class Example {
private:
// Prevent copying
Example(const Example&);
Example& operator=(const Example&);
public:
// Enable moving via default implementation.
// If all members also properly implement move
// semantics we are good.
Example(Example &&x) = default;
Example& operator=(Example &&a) = default;
}
std::vector<int> make_big_vector()
{
std::vector<int> result;
for (int i = 0; i < 100; i++) {
result.push(i);
}
return result;
}
int main() {
// Vector is not copied, but constructed
// at the returned location.
auto v = make_big_vector();
}
std::move
(GSL ES.56): "Write std::move() only when you need to explicitly move an object to another scope".
std::vector<int> v = {2, 3, 3};
v = std::move(v); // undefined behavior
struct Point {
x: u32,
y: u32,
name: String, // C++ equiv.: std::string
}
// NOTE: mem::size_of::<Point>() == 16, name is just a pointer
fn main() {
// The instance of Point below is moved
// into the function `inner`.
inner(Point { x: 4, y: 3, name: "X".to_owned() });
}
fn inner(p: Point)
{
/* whatever code here */
}
impl Point {
fn new(x: u32, y: u32, name: String) -> Point {
// Three moves of `x`, `y`, and `name` from
// parameters into constructed Point.
// The instance created below is moved out
// to the return value, equivalent to C++ RVO.
Point { x, y, name }
}
// Another constructor:
fn with_offset(x: u32, y: u32) -> Point {
Point { x: x + 1, y: y + 2,
name: "I have an offset".to_owned()}
}
}
// Example invocations:
Point::new(2, 1, String::from("Hello"))
Point::with_offset(2, 1)
fn main() {
inner(Point { x: 4, y: 3, name: "in main".to_owned() });
}
fn inner(a: Point) {
// 'a' is moved from being an incoming parameter
// of 'inner' to being a parameter of 'receiver'
receiver(a)
}
fn receiver(a: Point) {
// 'a' is dropped here
}
fn main() {
inner(Point { x: 4, y: 3, name: "in main".to_owned() });
}
fn inner(a: Point) -> Point {
// 'a' is moved from being an incoming parameter
// of 'inner' to being a parameter of 'echo'
echo(a)
// Return value of 'echo' is moved to the return
// value of 'inner'
}
fn echo(a: Point) -> Point {
// 'a' is moved back to the return value
a
}
Drop
code that we can implemented for types
when their values go out scope.
Drop
by default does nothing, unless it is overriden with impl
impl Drop for Point {
fn drop(&mut self) {
println!("Point having x={}, y={} dropped",
self.x, self.y);
// If it had resources, we free them here.
}
}
a = b;
memcpy(&a, &b, sizeof(a))
.
a
, copying resources from b
. Was b
modified in this operation? Depending on which copy assigment operator was called, depending if b
is a move reference.
a = b; // Drop `a` and move `b` into `a`'s address
a = b;
means; if implementation exists, call Drop::drop
on pre-existing a
value and then do the equivalent of memmove
of the content of b
into the place of a
. b
is no longer accessible afterward - the compiler will give us an error if we try to access it.
Copy
is an automatic trait for some types, such as borrowed read-only references, or PODs, but can be activated for some user types as well.
Clone
is another trait that is equivalent to C++'s copy constructor (hence confusion if you are migrating). In Rust, it's just another optional method (but a trait method).
.clone()
needs to be called explicitly when you want to 'deep copy' a value instead of moving it, which makes the operation clearer than the C++ equivalent.
a = b; // Drop `a` and move `b` into `a`'s address
Copy
, then b
will be accsssible, just like in C. Valid for PODs, and user types that derive Copy
:
#[derive(Copy)]
struct Point {
x: u32,
y: u32,
}
Copy
can derive Clone
instead:
#[derive(Clone)]
struct Point {
x: u32,
y: u32,
name: String,
}
// Auto-derived code:
impl Clone for Point {
fn clone(&self) -> Point {
Point {
x: self.x.clone(), // Optimized to a simple copy
y: self.y.clone(), // -- because it is POD (u32)
name: self.name.clone(), // New heap string alloc
}
}
}
fn inner_a(a: Point) {
let Point { x , y, name } = a;
// Both 'x', 'y', and 'name' are moved out of 'a', we
// cannot access `a` any more.
}
fn inner_a(a: Point) {
let Point { x , .. } = a;
// 'x' is moved out of 'a', 'y' and 'name' are dropped
println!("x is {}", x);
// 'x' is dropped later
}
fn inner_b(a: Point) {
let Point { y: y_another_name , .. } = a;
// 'y' is moved out of 'a', 'x' and 'name are dropped
println!("y is {}", y_another_name);
// 'y_another_name' is dropped later
}
this
is always a pointer to the current class instance, in Rust it can be the variable itself.
impl Point {
fn scale(self, factor: u32) -> Point {
Point {
x: self.x * factor,
y: self.y * factor,
name: "scaled".to_owned(),
}
}
fn mod_x(self, new_x: u32) -> Point {
let Point { y, name, .. } = self;
// Just moves here, no String alloc/dealloc/clone happened :)
Point {
x: new_x,
y, name,
}
}
}
fn inner(a: Point) {
let new_a = a.scale(2).mod(1);
// 'a' is not accessible here
}
unique_ptr
equivalent is named Box
.
fn simple(p: Point, pbox: Box<Point>) {
// Move p to the heap
let p_on_heap = Box::new(p);
// Move the Point pointed by pbox back to the stack
let p_on_stack = *pbox;
/* ... */
}
fn hoopla(mut p: Point, pbox: &mut Box<Point>) {
// Swap between the points in the Box and on the Stack
std::mem::swap(&mut p, pbox);
// The Point in pbox was 'reseated' by 'p' and now it is dropped.
}
shared_ptr
equivalent named Rc
, which works similarly to make_shared()
.
fn example(a: Point) {
let v = if a.x <= 1 {
Point { x: 2, y: 3, name: "x".to_owned() }
// 'a' is dropped
} else {
if a.x >= 3 {
// Early return from the function
return;
}
// Move 'a' to 'p' and make it mutable
let mut p = a;
p.name = "replace".to_owned();
// (Previous `a.name` value is dropped)
// Move 'p' to 'v';
p
};
// v is of type Point
}
fn main() {
let point = Point { x: 2, y: 4, name: "x".to_owned()};
let point2 = point.clone();
let closure = |a, b| {
// Whole of 'point' is moved into the closure.
let point_moved = point;
println!("point = {:?}", point_moved);
// point2 _borrowed_ by the closure
let point_borrowed = &point2;
println!("point2 = {:?}", point_borrowed);
a + b
};
closure(2, 3);
}
move
keyword forces 'move capture' rather than 'reference/move capture'
fn main() {
let point = Point { x: 2, y: 4, name: "x".to_owned()};
let point2 = point.clone();
let closure = move |a, b| {
// Whole of 'point' is moved into the closure.
let point_moved = point;
println!("point = {:?}", point_moved);
// Now point2 is also moved
let point2_moved = &point2;
println!("point2 = {:?}", point2_moved);
a + b
};
closure(2, 3);
}


| |||
| One Simple Demand | Oct 10 | ||
| WikiLeaks | Jun 14 | ||
| WikiLeaks/CableCloud | Jun 14 | ||
| Updates | Jun 10 | ||
| 10 Reasons To Delete Your Facebook Account | Jun 10 | ||
| America's War on Sex | Jun 9 | ||
| Kids, Sex and the State | Jun 8 | ||
| DMT The Spirit Molecule | Jun 2 | ||
| Youtube Embed Experiment | May 30 | ||
| DECLARATION OF NUTOPIA | May 24 | ||
| Apple iBad | May 24 | ||
| Amazon Swindle | May 24 | ||
| Pronoia | May 24 | ||
| Carceral State | May 23 | ||
| The Social Network Scam | May 21 | ||
| Brotherhood of the Screaming Abyss | May 21 | ||
| Clowns are Safe | May 20 | ||
| Cognitive Bias | May 19 | ||
| Puzzling People/Social Scenes | May 18 | ||
| Organic Electronic Music, Photic and Auditory Dr. | May 7 | ||
| Puzzling People | May 5 | ||
| Hidden Knowledge in Old Norse Myths | Feb 4 | ||
| WikiLeaks/Cablegate | Jan 25 | ||
| Jeremy Narby/Intelligence of Nature | Dec 16 | ||
| RAW/Consciousness Change in the Eight Circuit Mo. | Dec 15 |


Morrisons is giving away 125,000 free bags of wonky carrots for Rudolph
Santa's reindeers' traditional Christmas Eve treat
by Nancy BrownSupermarket Morrisons is really embracing the Christmas spirit this year.
It's just been announced that the store is giving away 125,000 free bags of wonky carrots so that kids can feed Santa's reindeers on Christmas Eve.
The reindeer treats will be handed out at the entrance to Morrisons' 493 UK stores.
Read more: Shoppers go wild for Lidl's chocolate and salted caramel melting cottage dessert
The offer lasts for just one day – Saturday December 21.
The carrots, which are oversized, misshapen and scarred, but still taste delicious, will be in paper bags labelled Carrots for Rudolph.
The giveaway is aimed at introducing more people to wonky veg and the store hopes that it'll encourage more people to buy it in their weekly shopping.
Read more: Baileys releases pouring cream just in time for Christmas
Carrot farmer Alastair Ferguson explained that a wet autumn has meant they have an abundance of wonky carrots.
He said: "We’ve plenty of standard carrots for Christmas dinner – but also have a lot of wonky carrots."
Alastair added: "Carrots for Rudolph is helpful because it introduces customers to wonky veg, finds these carrots a home and stops them being wasted."
Morrisons sells 1.6 million bags of carrots in the last three weeks before Christmas.
However, wonky carrots only account for between ten and 15 per cent of these.
Head to our Facebook page @EntertainmentDailyFix and let us know what you think if the idea.


Deployment and usage metrics for applications and workloads on CloudFoundry, Kubernetes, OpenWhisk etc.
Service Usage Graph Cloud Foundry Usage Graph Kubernetes Usage Graph
Service Usage from all IBM Cloud Users. (Linear Scale)
Note: 1G = 1 Billion
Service Usage from all IBM Cloud Users. (Logarithmic Scale)


We strive to create excellence!
Writers
yochananmarqos
I dont know what to put here because its marks bio lol.
This is another paragraph in case he needs ittttt tttttttttt tttttt tttt
Leo
You guys can decide if you want your usernames or real names on this page
this is just more room for Leoooooo ksdjlaksdj kfgjerk sfkgnfk dafkgjgn kjgwhjr sdfkgjekrj fkgnrlkgn dfkjgn irn
Gabriel
Gabriel
I'll be adding a photo to my bio if you add a selfie or an avatar image to the images folder, I can do the same for you
And this is more room for Gabrielllllll lllllll llllllll
Diego
Diego is a ...................
And more room for me cause my bio's gonna be epic!! !! !!!!!
also i dropped a facebook link at bottom of my bio. again its up to you guys if you want that too


public interface AMPreemptionPolicy
MRAppMaster
response to preemption requests from the ResourceManager.RMContainerAllocator
| Modifier and Type | Interface and Description |
|---|---|
static class |
AMPreemptionPolicy.Context |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapreduce.checkpoint.TaskCheckpointID |
getCheckpointID(org.apache.hadoop.mapreduce.v2.api.records.TaskId taskId)
Method to retrieve the latest checkpoint for a given
TaskId |
void |
handleCompletedContainer(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID)
Callback informing the policy of containers exiting cleanly.
|
void |
handleFailedContainer(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID)
Callback informing the policy of containers exiting with a failure.
|
void |
init(AppContext context) |
boolean |
isPreempted(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID)
This method is invoked by components interested to learn whether a certain
task is being preempted.
|
void |
preempt(AMPreemptionPolicy.Context context,
org.apache.hadoop.yarn.api.records.PreemptionMessage preemptionRequests)
Callback informing the policy of ResourceManager.
|
void |
reportSuccessfulPreemption(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID)
This method is used to report to the policy that a certain task has been
successfully preempted (for bookeeping, counters, etc..)
|
void |
setCheckpointID(org.apache.hadoop.mapreduce.v2.api.records.TaskId taskId,
org.apache.hadoop.mapreduce.checkpoint.TaskCheckpointID cid)
Method to store the latest
CheckpointID for a given TaskId . |
void init(AppContext context)
void preempt(AMPreemptionPolicy.Context context, org.apache.hadoop.yarn.api.records.PreemptionMessage preemptionRequests)
context
- Handle to the current state of running containerspreemptionRequests
- Request from RM for resources to return.boolean isPreempted(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID)
attemptID
- Task attempt to queryvoid reportSuccessfulPreemption(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID)
attemptID
- Task attempt that preemptedvoid handleFailedContainer(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID)
attemptID
- Task attempt that failedvoid handleCompletedContainer(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID)
attemptID
- Task attempt that completedorg.apache.hadoop.mapreduce.checkpoint.TaskCheckpointID getCheckpointID(org.apache.hadoop.mapreduce.v2.api.records.TaskId taskId)
TaskId
taskId
- TaskIDvoid setCheckpointID(org.apache.hadoop.mapreduce.v2.api.records.TaskId taskId, org.apache.hadoop.mapreduce.checkpoint.TaskCheckpointID cid)
CheckpointID
for a given TaskId
. Assigning a null is akin to remove all previous checkpoints for
this task.taskId
- TaskIDcid
- Checkpoint to assign or null to remove it.Copyright © 2008–2018 Apache Software Foundation. All rights reserved.


At the heart of Neoan3's ideology is abstraction. Abstraction empowers creators to hone in on an ongoing issue without having to review thousands of lines of code that has nothing to do with it. Frames allow for global control over the project. Usually when routing in a Controller file, you declare the frame that the component uses. Frames can be chained as well, giving your application to load configuration depending on request type or route. Conceptually, frames fulfill what some other frameworks use middleware architecture for.
Much like with anything in Neoan3 it's easier to use the neoan3-cli tool. Using the following command will generate a new frame:
neoan3 new frame [frame-name]
The new frame will appear in the "frame" folder in the project. Typically the folder will contain a php file with the name that you gave the frame. The file itself will not contain a lot of code in the beginning. With the exception of a single empty class extending Serve. While this seems anti-climactic, what is important is that your frame has now been set up to serve up information to Neoan3.
As an example, let's set up a frame named Test.
namespace Neoan3\Frame;
use Neoan3\Apps\Ops;
use Neoan3\Core\Serve;
class Test extends Serve
{
function __construct(Database $db = null)
{
// make sure to run the original constructor
parent::__construct();
// example: add the header located in component/Header/header.view.html to every route
$this->hook('header','header');
// example: enable injection of a Database provider.
// if no (mock?) provider is injected, the database will use the my_database credentials
// and connect via the default DatabaseWrapper
$this->assignProvider('db', $db, function(){
try{
$credentials = getCredentials();
if(isset($credentials[$this->dbCredentials])){
$this->provider['db'] = new DatabaseWrapper($credentials['my_database']);
}
} catch (Exception $e) {
echo 'No credentials found. Run "neoan3 credentials"';
}
});
}
function constants()
{
return [
'base' => [base],
'link' => [
[
'sizes' => '32x32',
'type' => 'image/png',
'rel' => 'icon',
'href' => 'asset/neoan-favicon.png'
]
],
'js' => [
['src' => path .'/frame/test/main.js', 'data' => ['base' => base]]
],
'meta' => [
['name' => 'viewport', 'content' => 'width=device-width, initial-scale=1']
],
'stylesheet' => [
'' . base . 'frame/test/index.css',
]
];
}
}
As you will soon notice, a frame enables you to place global functionality for your project or single routes & endpoints. Don't confuse this concept with middleware. Since it is possible to overwrite core-functionality (e.g. the output function), you can define functionality run both before and after a particular route or endpoint.
Instead of using single Core\Serve method calls to set variables, one can define configuration variables on the frame-level using an associative array of arrays. These arrays are always representations of Core\Serve methods (e.g. 'meta' => Serve->addToHead() ):
Each array should have "src" and can have "data" and "type". Using "data" will provide possibility to use the template engine to substitute key-value pairs. The result will be rendered into the DOM. Omitting this attribute will lead to an inclusion of the file.
Accepts an array of stylesheet locations to be included in every execution of a route-component.
Generates meta- or link-tags using the provided key-value combination(s) as attributes.
['name' => 'viewport', 'content' => 'width=device-width, initial-scale=1']
<meta name="viewport" content="width=device-width, initial-scale=1">


JavaScript Intro
Number
Goal
As a user, I want to order some pizza.
Technologies
JavaScript
Live demo
Pizza(s)
Small
Medium
Large


6.7 The mimetypes Module
The mimetypes module contains support for determining the MIME type for a given
uniform resource locator. This is based on a built-in table, plus
Apache and Netscape configuration files, if they are found. This module is demonstrated in Example 6-9.
Example 6-9. Using the mimetypes Module
File: mimetypes-example-1.py
import mimetypes
import glob, urllib
for file in glob.glob("samples/*"):
url = urllib.pathname2url(file)
print file, mimetypes.guess_type(url)
samples\sample.au ('audio/basic', None)
samples\sample.ini (None, None)
samples\sample.jpg ('image/jpeg', None)
samples\sample.msg (None, None)
samples\sample.tar ('application/x-tar', None)
samples\sample.tgz ('application/x-tar', 'gzip')
samples\sample.txt ('text/plain', None)
samples\sample.wav ('audio/x-wav', None)
samples\sample.zip ('application/zip', None)
|


Provides a set of runtime operations for the following resources of elytron subsystem:
- Credential Store: Add, read and remove aliases, sets a password for an alias. Generate, import and export secret keys. Also, reloads the credential store.
- Filtering Key Store: Read and remove aliases.
- Key Store: Read, change and remove aliases. Import and export a certificate. Generate a key pair. Generate a certificate signing request. Load and store the Key Store.
- LDAP Key Store: Read and remove aliases.
- Secret Key Credential Store: Read and remove aliases. Generate, import and export a secret keys.


"""Utilities for defining models """ import operator from typing import Any, Callable, Type class KeyBasedCompareMixin: """Provides comparison capabilities that is based on a key""" __slots__ = ["_compare_key", "_defining_class"] def __init__(self, key, defining_class): # type: (Any, Type[KeyBasedCompareMixin]) -> None self._compare_key = key self._defining_class = defining_class def __hash__(self): # type: () -> int return hash(self._compare_key) def __lt__(self, other): # type: (Any) -> bool return self._compare(other, operator.__lt__) def __le__(self, other): # type: (Any) -> bool return self._compare(other, operator.__le__) def __gt__(self, other): # type: (Any) -> bool return self._compare(other, operator.__gt__) def __ge__(self, other): # type: (Any) -> bool return self._compare(other, operator.__ge__) def __eq__(self, other): # type: (Any) -> bool return self._compare(other, operator.__eq__) def _compare(self, other, method): # type: (Any, Callable[[Any, Any], bool]) -> bool if not isinstance(other, self._defining_class): return NotImplemented return method(self._compare_key, other._compare_key)


01 / 08
SOFTWARE DEVELOPER
Hello I am Ahmad Zen, mobile and embedded software developer from Indonesia. If you have something to be done don't hesitate to contact me.. :)
Java, C, C#, Python


KDE is a comprehensive desktop environment with a huge number of applications written for it and a huge amount of users. It is based on the Qt framework.
There are two versions of KDE. KDE4 is a mature version that combines libraries and the desktop environment into one set of packages and has numerous appplications that can be built on that base. For KDE5, the libraries, now called KDE Frameworks 5 or KF5, are separate from the desktop environment called KDE Plasma 5. Both envionments can be installed, but Plasma is not yet considered stable.
For more information visit the official KDE project site at http://www.kde.org/.
There are several packages that are common to both versions of KDE. These packages are presented in the following sections of this chapter.
Last updated on 2015-11-13 06:24:57 -0800


Instructor Demo: Self-Healing Swarm
In this demo, we'll illustrate:
- Setting up a swarm
- How swarm makes basic scheduling decisions
- Actions swarm takes to self-heal a docker service
Setting Up a Swarm
Start by making sure no containers are running on any of your nodes:
PS: node-0 Administrator> docker container rm -f $(docker container ls -aq) PS: node-1 Administrator> docker container rm -f $(docker container ls -aq) PS: node-2 Administrator> docker container rm -f $(docker container ls -aq) PS: node-3 Administrator> docker container rm -f $(docker container ls -aq)
Initialize a swarm on
node-0
:PS: node-0 Administrator> $PRIVATEIP = '<node-0 private IP>' PS: node-0 Administrator> docker swarm init ` --advertise-addr ${PRIVATEIP} ` --listen-addr ${PRIVATEIP}:2377 Swarm initialized: current node (xyz) is now a manager. To add a worker to this swarm, run the following command: docker swarm join --token SWMTKN-1-0s96... <IP_ADDRESS>:2377 To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.
List the nodes in your swarm:
PS: node-0 Administrator> docker node ls ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS xyz * node-0 Ready Active Leader
Add some workers to your swarm by cutting and pasting the
docker swarm join...
token Docker provided in step 2 above:PS: node-1 Administrator> docker swarm join --token SWMTKN-1-0s96... <IP_ADDRESS>:2377 PS: node-2 Administrator> docker swarm join --token SWMTKN-1-0s96... <IP_ADDRESS>:2377 PS: node-3 Administrator> docker swarm join --token SWMTKN-1-0s96... <IP_ADDRESS>:2377
Each node should report
This node joined a swarm as a worker.
after joining.Back on
node-0
, list your swarm members again:PS: node-0 Administrator> docker node ls ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS ghi node-3 Ready Active def node-2 Ready Active abc node-1 Ready Active xyz * node-0 Ready Active Leader
You have a four-member swarm, ready to accept workloads.
Scheduling Workload
Create a service on your swarm:
PS: node-0 Administrator> docker service create ` --replicas 4 ` --name service-demo ` microsoft/nanoserver:latest ping -t <IP_ADDRESS>
List what processes have been started for your service:
PS: node-0 Administrator> docker service ps service-demo ID NAME IMAGE NODE DESIRED STATE CURRENT STATE g3dimc0nkoha service-demo.1 microsoft/nanoserver:latest node-3 Running Running 18 seconds ago e7d7sy5saqqo service-demo.2 microsoft/nanoserver:latest node-0 Running Running 18 seconds ago wv0culf6w8m6 service-demo.3 microsoft/nanoserver:latest node-1 Running Running 18 seconds ago ty35gss71mpf service-demo.4 microsoft/nanoserver:latest node-2 Running Running 18 seconds ago
Our service has scheduled four tasks, one on each node in our cluster; by default, swarm tries to spread tasks out evenly across hosts, but much more sophisticated scheduling controls are also available.
Maintaining Desired State
Connect to
node-1
, and list the containers running there:PS: node-1 Administrator> docker container ls CONTAINER ID IMAGE COMMAND CREATED STATUS NAMES 5b5f77c67eff <IP_ADDRESS> "powershell ping <IP_ADDRESS>" 4 minutes ago Up 4 minutes service-demo.3.wv0cul...
Note the container's name indicates the service it belongs to.
Let's simulate a container crash, by killing off this container:
PS: node-1 Administrator> docker container rm -f <container ID>
Back on our swarm manager
node-0
, list the processes running for ourservice-demo
service again:PS: node-0 Administrator> docker service ps service-demo ID NAME IMAGE NODE DESIRED STATE CURRENT STATE g3dimc0nkoha service-demo.1 microsoft/nanoserver:latest node-3 Running Running 6 minutes ago e7d7sy5saqqo service-demo.2 microsoft/nanoserver:latest node-0 Running Running 6 minutes ago u7l8vf2hqw0z service-demo.3 microsoft/nanoserver:latest node-1 Running Running 3 seconds ago wv0culf6w8m6 \_ service-demo.3 microsoft/nanoserver:latest node-1 Shutdown Failed 3 seconds ago ty35gss71mpf service-demo.4 microsoft/nanoserver:latest node-2 Running Running 6 minutes ago
Swarm has automatically started a replacement container for the one you killed on
node-1
. Go back over tonode-1
, and dodocker container ls
again; you'll see a new container for this service up and running.Next, let's simulate a complete node failure by rebooting one of our nodes; on
node-3
, navigate Start menu -> Power -> Restart.Back on your swarm manager, check your service containers again; after a few moments, you should see something like:
PS: node-0 Administrator> docker service ps service-demo ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ralm6irhj6vu service-demo.1 microsoft/nanoserver:latest node-0 Running Running 19 seconds ago g3dimc0nkoha \_ service-demo.1 microsoft/nanoserver:latest node-3 Shutdown Running 38 seconds ago e7d7sy5saqqo service-demo.2 microsoft/nanoserver:latest node-0 Running Running 12 minutes ago u7l8vf2hqw0z service-demo.3 microsoft/nanoserver:latest node-1 Running Running 5 minutes ago wv0culf6w8m6 \_ service-demo.3 microsoft/nanoserver:latest node-1 Shutdown Failed 5 minutes ago ty35gss71mpf service-demo.4 microsoft/nanoserver:latest node-2 Running Running 12 minutes ago
The process on node-3 has been scheduled for
SHUTDOWN
when the swarm manager lost connection to that node, and meanwhile the workload has been rescheduled onto node-0 in this case. When node-3 comes back up and rejoins the swarm, its container will be confirmed to be in theSHUTDOWN
state, and reconciliation is complete.Remove your
service-demo
:PS: node-0 Administrator> docker service rm service-demo
All tasks and containers will be removed.
Conclusion
One of the great advantages of the portability of containers is that we can imagine orchestrators like Swarm which can schedule and re-schedule workloads across an entire datacenter, such that if a given node fails, all its workload can be automatically moved to another host with available resources. In the above example, we saw the most basic examples of this 'reconciliation loop' that swarm provides: the swarm manager is constantly monitoring all the containers it has scheduled, and replaces them if they fail or their hosts become unreachable, completely automatically.


Nazneen Shaik seamlessly maintain team building strategic theme areas.
#xyz test in Pie track12 min agoNazneen Shaik seamlessly maintain team building strategic theme areas.
#xyz test in Pie track12 min agoNazneen Shaik seamlessly maintain team building strategic theme areas.
#xyz test in Pie track12 min agoNazneen Shaik seamlessly maintain team building strategic theme areas.
#xyz test in Pie track12 min agoNazneen Shaik seamlessly maintain team building strategic theme areas.
#xyz test in Pie track12 min agoNazneen Shaik seamlessly maintain team building strategic theme areas.
#xyz test in Pie track12 min ago
team members
{% for member in project_members %}
{{member.username}}{{member.user_roles.all.0.name}}
{% endfor %}


Predict Response¶
After training a model with train_model()
and gathering a game’s player information with get_game()
, this function is used in conjunction with clean_input_data()
to predict which team will win.
-
predict_response.
predict_response
(user_input)¶ Return which team is predicted to win based on user’s chosen match.
Parameters: user_input – game id Returns: identifier of team (team 1 or team 2) predicted to win, probability of win for each team


Create web applications with offline capabilities using this simple embeddable DBMS written in Javascript.
Check out the demo provided with this package.
| Filename | Role |
|---|---|
| SQLinJS.min.js | The main script to be included from within your HTML document. |
| SQLinJS.min.css | This style sheet that defines the "look & feel" of the SQL terminal. |
Add the following Javascript between the <head></head>
tags of your HTML document.
<script src="http://www.google.com/jsapi"></script> <script> google.load('jquery','1.7.1'); </script> <script src="/path/to/SQLinJS.min.js"></script> <script> $(document).ready(function() { $('body').SQLinJS(); }); </script>
The following methods can be passed to the plugin-in main function after successful initialization.
var dbh = $(document).SQLinJS([data] [,handler]); // initialize using database
Launch debug terminal to execute SQL statements using command-line interface. Requires SQLinJS.min.css
dbh.SQLinJS('initTerminal' [,handler]);Back to Top
Execute SQL statement using the plug-in supported syntax.
dbh.SQLinJS('executeQuery', string [,handler]);
dbh.SQLinJS('executeQuery',"SELECT * FROM user WHERE id > 2 AND name != 'John'" function(response) { // do something } );Back to Top
Import an existing database in supported database format.
dbh.SQLinJS('importDatabase', data [,handler]);
dbh.SQLinJS('importDatabase', data, function(response) { // do something } );Back to Top
Create a new database.
dbh.SQLinJS('createDatabase', name [,handler]);
dbh.SQLinJS('createDatabase','accounts', function(response) { // do something } );Back to Top
Create a new table in an existing database.
dbh.SQLinJS('createTable', name, defs [,handler]);
dbh.SQLinJS('createTable','user', { "id" : "int(10)", "name" : "varchar(10)" }, function(response) { // do something } );Back to Top
Delete record(s) from the selected table.
dbh.SQLinJS('deleteFrom', table [,clause] [,handler]);
dbh.SQLinJS('deleteFrom','user', { conds : ['id > 2',"id != 4"] }, function(response) { // do something } );Back to Top
Returns basic information about the columns of the table.
dbh.SQLinJS('describeTable', name [,handler]);
dbh.SQLinJS('describeTable','user', function(response) { // do something } );Back to Top
Delete a database, by name.
dbh.SQLinJS('dropDatabase', name [,handler]);
dbh.SQLinJS('dropDatabase','accounts', function(response) { // do something } );Back to Top
Delete a table, by name, from an existing database.
dbh.SQLinJS('dropTable', name [,handler]);
dbh.SQLinJS('dropTable','user', function(response) { // do something } );Back to Top
Insert a new record into the selected table.
dbh.SQLinJS('insertInto', table, vals [,handler]);
dbh.SQLinJS('insertInto','user', { id : 1, name : 'Jerry' }, function(response) { // do something } );Back to Top
Select column(s) data from the selected table.
dbh.SQLinJS('selectFrom', table, cols [,clause] [,handler]);
dbh.SQLinJS('selectFrom','user', ['id','name'], { conds : ['id > 2',"name != 'John'"], order_by : 'id', sort : 'desc', limit : 1 }, function(response) { // do something } );Back to Top
Return an array of database names.
dbh.SQLinJS('showDatabases' [,handler]);
dbh.SQLinJS('showDatabases', function(response) { // do something } );Back to Top
Return an array of table names in the active database.
dbh.SQLinJS('showTables' [,handler]);
dbh.SQLinJS('showTables', function(response) { // do something } );Back to Top
Select column data from the selected table based on conditional arguments..
dbh.SQLinJS('updateSet', table, cols [,clause] [,callback]);
dbh.SQLinJS('updateSet','user', ["name = 'Fred'"], { conds : ['id > 2',"name != 'John'"] }, function(response) { // do something } );Back to Top
Return an array of table names in the active database.
dbh.SQLinJS('useDatabase', name);
dbh.SQLinJS('useDatabase','accounts', function(response) { // do something } );Back to Top
In order to avoid creating a complex SQL parser I have provide limited support the following functions.
CREATE DATABASE db_nameBack to Top
CREATE TABLE tbl_name [create_specification]
Currently supported data types are INT, CHAR, VARCHAR. Furthermore, the INT type works similar to a zerofill (character count/length) when an argument is present. This is due to limitations in the ability to determine the required storage and range for each integer type across web browsers and the various system architectures.
Back to TopDELETE FROM tbl_name [WHERE where_condition] [ORDER BY col_name [ASC | DESC]]Back to Top
DESCRIBE tbl_nameBack to Top
DROP DATABASE db_nameBack to Top
DROP TABLE tbl_nameBack to Top
INSERT INTO [(col_name, ...)] VALUES (col_value, ...)Back to Top
SELECT col_name, ... [FROM tbl_name [WHERE where_condition] [ORDER BY col_name [ASC | DESC]]]Back to Top
SHOW DATABASESBack to Top
SHOW TABLESBack to Top
UPDATE tbl_name SET col_name1=expr1 [,col_name2=expr2] ... [WHERE where_condition][ORDER BY col_name [ASC | DESC]] Back to Top
USE db_nameBack to Top
I have included with this package a packed version (12 kB) and developers version (unpacked 29 kB)
You can always find the latest updates within this projects repository.
This projects repository is currently hosted on Github
https://github.com/nuxy/SQLinJS
For feedback, bug reports, or other comments, feel free to contact me at: devel at mbrooks dot info
This package is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.
SQLinJS is provided under the terms of the MIT license.
SQLinJS ©2012-2013 Marc S. Brooks


1 NETWORKED & SOCIAL SYSTEMS
NETS-150 MKT/SOC SYS ON INTERNET 1 CU 001 LEC TR 12-1:30PM DRLB A4 SHETH S MAX: 90 NETS-312 THEORY OF NETWORKS 1 CU REGISTRATION REQUIRED FOR LEC, REC 001 LEC TR 9-10:30AM TOWN 303 PRECIADO V MAX: 42 NETS-312 RECITATION 0 CU 201 REC F 3-4:30PM TOWN 311 PRECIADO V MAX: 45 NETS-412 ALGORITHMIC GAME THEORY 1 CU 001 LEC TR 3-4:30PM TOWN 309 ROTH A PERMISSION NEEDED FROM DEPARTMENT MAX: 39
Return to Course & Room Roster
Comments to:
Office of the University Registrar
University of Pennsylvania
Room 221 Franklin Building
3451 Walnut Street
Philadelphia, PA 19104-6291
Phone:<PHONE_NUMBER> Fax:<PHONE_NUMBER>
<EMAIL_ADDRESS>Updated: Sat Jan 17 08:30:02 2015


‘Fortnite’ Locations: Where To Dance At The Pipeman, The Hayman And The Timber Tent
by Dave ThierThis seems to be the format that we’re working with here in Fortnite: Chapter 2. We haven’t had any “search gnomes” sorts of challenges, but we’ve had a couple that have you visiting a list of three things, and that’s what we’re working with this week. It makes a kind of sense: the season is still about exploration, and so we’re not quite ready for hidden object hunts. It’s still time for the game to introduce us to the new locations that will soon become favorite haunts, and that’s what these challenges are all about. One such challenge has shown up here in the “Trick Shot” missions, so here’s a map, guide and location for where to dance at the Pipeman, the Hayman and the Timber Tent. We’re covering good distance on these, so you’d be hard pressed to snag them all in one match. Not tat you need to, of course, but sometimes one likes the additional challenge. Here’s where you’re dropping:
In the center-east of the map we’ve got the Hayman, easily the toughest one to miss out of the bunch. He’s large, in-charge, jolly and waving, taking up residence in the southwest of Frenzy Farm:
And then we’ve got the Pipeman: a more contemplative, calm creature, sitting on the southern edge of the map and staring out at the water, with a chest in his head that no doubt holds some sort of essential truth that he has figured out in his long repose. Or a SCAR!
And then the Timber Tent. Sort of off-theme! Looks like a bonfire about to happen, though it’s fairly short on kindling. Regardless it’s sort of in the center-West of the map, north of Holy Hedges and big enough that it’s hard to miss:
And that will do you: visit all locations to complete this part of the challenge and find yourself more in-tune with this new map. We’re nearing the end of Chapter 2 now, or at least the end of Chapter 2’s missions: the thing has been extended to February, so I’m hoping that we get a bit more plot going on sometime in the first two months of the new year, or it’s going to be a long break.


An error occurred
Username or email is required!
Whitespaces are not allowed!
Login mshould contain between {{ f.login.errors?.minlength?.requiredLength }} and {{ f.login.errors?.maxnlength?.requiredLength }} characters!
Password is required!
Password must contain at least {{ f.password.errors?.minlength?.requiredLength }} characters!


“
”This article displays projects developed recently.
| Date | Name | Type | Techniques used |
|---|---|---|---|
| Working on | FeedMe | Group Project -> Personal Project | Java(Springboot), Angular, Bootstrap, JQuery, AJAX, Web Socket, Java Socket, Swift, MySQL, Amazon AWS |
| Working on | My Shift | Personal Project | Node.js, Angular, Bootstrap, JQuery, AJAX, MySQL |
| Jan 2017 | UI design to web | Freelancer | HTML5, CSS |
| Nov 2016 | Back-end API implement with PHP | Freelancer | PHP |
| Nov 2016 | Picture Gallery | Freelancer | JQuery, Flask, JS, AJAX, Bootstrap, HTML5, CSS |
| Oct 2016 | Spring Roll | Freelancer | Bootstrap, HTML5, CSS |
| Sep 2016 | Patients Visit (Single Page App) | Code Challenge | JQuery, Bootstrap, LESS, JS, HTML5, CSS |
| May 2016 | Photo Post Cards | Freelancer | Bootstrap, HTML5, CSS |
“
”A Personal Statement. Please contact with email<EMAIL_ADDRESS>.
I am Fei Wang, a graduate Master of Computer Science student majoring in Computing in Australia National University (ANU).
During last year, I have designed and implemented several projects which used skills such as Java, Angular, jQuery, AJAX, Bootstrap, HTML5, CSS3, and LESS etc. You may access their live demo by clicking pictures displayed as below.
In order to keep technology competitiveness, I am learning and keep tracking the following technics.
- Data processing: Spark, Cassandra, MongoDB, Hadoop.
- Web development: Angular, Spring boot, Python, Bootstrap, JQuery, Nodejs(Express), Meteor, flask.
- Program language: Java, Python (in science and AI subjects), JavaScript, Scala,
- Develop, test, deploy environment and tools: Docker, Linux/Unix (Ubuntu, Suse, Mac), Amazon EC2, git, maven.
Prior study at the Australian National University, I had worked as systems engineer for nearly three years. From this experience, I had learned how to work on UNIX & Linux system, how to manage database and how to configure network things.
You will find me to be a pro-active, conscientious and self-motivated person who is keen to do the things to the best of my ability. Given the opportunity, I would apply myself with enthusiasm to all tasks, ensuing that I get the job done accurately and efficiently.
Most of my works are hosted on Github: https://github.com/jevy-wangfei.
You also can follow this link to view My CV
“
”FeedMe is an online food booking and delivery system. Technics such as Java, swift (IOS), JavaScript, Socket, RESTful API, Bootstrap, JS and HTML etc. are used.
FeedMe Web UI is hosting on Amazon EC2
Web UI of FeedMe
Web UI of FeedMe
iOS UI of FeedMe
iOS UI of FeedMe
Backend Implement
“
”Hight Light Notebook allows you marking, editing and saving your modification on an online notebook.
Editing Web Page
Online notebook
“
”A detailed resume linkage.
Please following the link Fei Wang’s detailed CV to view my Resume.
“
”The Telecom Business Data Process aims to analysis large scale telecom data in easy way.
Telecom Business Intelligence
Objective
Telecom company manages millions subscribers and the subscribers generate billions calling and surfing internet records. With the increase of records, finding useful information becomes a challenge.
This project will go to find/lean new pattern from the large volume of data by applying Machine Leaning technology.
Targets include:
- Subscriber fraud detection
- Valuable subscribers finding
- Telecom Services using trend analysis
- Business decision data preparing
Why Focus on Telecom business data
- Telecom data volume is not small and not very big. The data volume of telecom is roughly TB per month. Perform any query to the records will very compute resource consuming. Analysis staffs can not execute SQL to find useful information. Big data tools (such as Hadoop) are too general and complex for telecom companies to apply them into activating business operation.
- Telecom generates stream data Different with large scale batch data processing technology, telecom data is stream data and continuing lean technology is required.
- This project will go to explore new methods to process TB/month volume stream data using distributed data processing tools.
- This project will focus on new pattern finding in easy to use way for telecom companies. The vision is that normal office staffs can view and operate the intelligent data learning system without additional training of large scale data analysis.
Problems in Telecom Data
- Data volume is TB per month.
- Data analysis is needed every day.
- General data analysis tools are not specifically developed for telecom data analysis. Such that they require experienced staff in telecom data analysis.
- Lack of Data Analysis Expertise in telecom company.
- General data analysis tools either processing TB data per day or GB data per month. They are not suitable for medium scale data process.
- Telecom data analysis requires online and ongoing update analysis, since the subscribers generate data on time and these data are related from past to future.
- Technology invests limitation to develop a new Data analysis tool.
Solution for Telecom Data
Three layer artecher: Leaning engine, Leaning system management & accessing application and User Interface (Explorer, Taplet, iOS, Android) - Learning Engine Features (Spark + Hadoop) - Distributed computing network based - Steam data leaning support - Ongoing update leaning model - Learn status and result stores in NoSQL database - Telecom Customized learning models - Fraud Detection - Individual subscriber’s habit leaning - Over view of service trends for groups - other models which can be extended
Technique for learning engine
Our solution is to use Hadoop as distributed computing framework, use Spark and its machine learning library as leaning learning engine, which runs on Hadoop. - System Management & Accessing Features(JavaEE + Jersey + Tomcat8) - An united Management middleware will be designed to manage - creating new leaning task - checking on going leaning task - querying finished leaning task and returning leaning results - RESTful API will be well designed to make system friendly to kinds of user devices.
Technique for web application
Using tomcat as web application server, using javaEE and Jersey to program RESTful TelecomBI management and accessing application. - User Interface Features (JS (Jquery) + HTML&CSS + Bootstrap) - Using RESTful style accessing API to create user interface on multi-devices such as explorer, iOS, Android.
Technique for client
Using HTML&CSS + Bootstrap to create user interface, Using JS accompanied with JQuery to query data from RESTful API server.
Project Management
- Development Stages
- Requirements survey and research
- Project planning
- System design
- Develop and test loop:
- System Implementation
- System Testing
- System Integration and Test
- Publish System
Technology Required
| Technology | Purpose |
|---|---|
| Java Programming | Implement TelecomBI Server. </br> Implement Learning Engine |
| Scala Programming | Implement Learning Engine |
| Jersey | Implement Java RESTful web application |
| Java EE | Implement Java web application |
| Tomcat | Launch Jave Web Application |
| Hadoop | Implement Distributed computing framework |
| Spark | Implement Stream Data processing |
| Machine Leaning | Implement TelecomBI core learning Engin Algorithms |
| HTML&CSS | Implement user interface |
| Bootstrap | Improve user interface and simplify UI development |
| JS (JQuery) | Implement data query from web servers by RESTful API |
| Maven | Help to manage Java projects (Three projects) |
| Github | Help to manage code and team development |
Required open soursce project
| Project | version |
|---|---|
| Spark | 1.4 |
| Hadoop | 2.6 |
| Jersey | 2.19 |
| Tomcat | 8.0 |
| Java | 8.0 |
| Scala | 2.11.7 |
| Bootstrap | 3.3.5 |
| JQuery | 2.1.4 |
| HTML&CSS | 5 |
| Maven | 3.3.3 |
| Eclipse | 4.5 |
“
”This software named as Scheduler is designed for these shop owner to manage their staffs and shop.
Schedule
Objective
In customer service industry, a lot of staffs work in kinds of shop. Because these shop are small, there are little specific business management software avaliabe for the owner of shop to manage their staffs and shop. </br> The boss who runs several small shop may employee three to twenty employees who will work as part-time, and all of management such as arrange work schedule, salary, business income and outcome manually by notebook. </br> This software named as Scheduler is designed for these shop owner to manage their staffs and shop.
Requires
- Current Situations
- Full time master staff, Full time new staff, Part time master staff, Part time new staff (with different salary)
| Full Time | Part Time | |
|---|---|---|
| Master | A$18/h | A$16/h |
| New | A$14/h | A$12/h |
Table 1 (The salary can be configed with the degree and type of staff) - Busy, Normal, Relax hours(with different staffs cooperate together) - Busy, Normal, Relax day(with different staffs cooperate together)
| Busy(day) | Normal(day) | Relax(day) | |
|---|---|---|---|
| Busy(hour) | 4 | 3 | 3 |
| Normal(hour) | 3 | 2 | 2 |
| Relax(hour) | 2 | 2 | 1 |
Table 2 (The number of stuffs shoule can be configed) - Full time staff work time is more flexable - Full time staff have to work more than specific hours per week, such as 40 hours. - Part time staff can only work on specific day and duration, and they will inform boss when they are available. - Part time staff can less than theire abailable time. - One or more master staff(s) is(are) needed in main work hours to prepaire the services. - New staff(s) can work along without accompany of master staff at specific time (such as at the end hour of a work day). - There are will be different number of staffs in shop in the Busy, Normal, Relex hours of a day (the day may be Busy, Normal Relex along Monday to Sunday). It’s a matrix. Referencing Table 2. - Working duration may be different along the day from Monday to Sunday. Such as the shop will open longer at Friday. Work duration should can be editable. - In practic, staff will work longger than plan.
Soluction
- Using CSP technology in AI to solove the complex schedule problems.
“
”I begin my study at ANU. ANU is a great university.
“
”I get marriage today (Feb. 10, 2014). A new life style is starting.
I was enrolled by ANU at the 30th of Junary 2014. It's the Spring Day of China. Happy Spring Day. Happy ending of 2013. Good start of 2014.
“
”The Power FTP is a tool which is used to put files to distributed system which would have hundreds or thousand servers.
Matrix Entry (Old name PowerFTP)
I create a project named PowerFTP on github. Everyone can join me if you like this project.
What does the project do? The project intends to create a tool to operate distributed servers or large-scals computers.
Why create this project? I was troubled by operating many servers (Linux) when working as an engineer. To comfortable myself, I program a tool to operate these manchines in a simple way. That is distribute the commands which excuted on the master computer to many slave servers. At beginning, I create a project named “PowerFTP” to uploadand delete file based on the command distribution. Later, I modify the name to be Matrix Entry which will include the functions like FTP, SFTP, SSH, TELNET.
What are the advantages about Matrix Entry? 1. You can operate the whole nodes of computer network just by operating on one machine. 2. Executing command “./matrix” under the Matrix Entry directory, you can enjoy the convenience of computer network operation. 3. Easy to use. All of the commands in the MAtrix Entry are the same with FTP, SFTP, SSH, TELNET.
“
”Could the aged can operation the iPhone? Could we follow the way of thinking of the aged and children to design products?
I planed to buy a old style cell phone for my grandpa, but finally I buy a smart phone (based on Android) because it is so cheap that I can't reject it.
But I am in problems after giving the phone to my grandpa. He even don't know how to slide and touch the screan.
After showing him about the how to dial a number and recept a phone severial times, he gradually understands how to let the phone work. However, he can't operate the phone smoothly and can't handle the applications besides the basic function of the phone -- calling.
On other sides, this phennomenon of the aged contacting the smart phone (based on Anfroid) at the first times is the same with children, even they could play with the smartphone after touch the screan serverial times. They don't know how to operation the smart phone by sliding and touching at first. They have no idear about the exceptions which always happend on Android system based smartphone.
But there is an exception. Children can operation the iPhone smoothly because they know to press the big "HOME" button to go back the home page. Could the aged can operation the iPhone smoothly?
My sweet came to my home, the kids (my nephew and her neice) try to kiss her. Sweet.
This is the first post on this new blog. I will update all of the messages about me here.
Besides, I also displayed my design and picture in this blog. I am very interested in computer technology very much, and I hope to post the laterest information here.
Also, I am an amateur photographer. I will display the most beautiful pictures here.
Welcome to my blog, you can contact me Here, Or send a message to me by email


| S.No | Date | programs |
|---|---|---|
| 1 | 8th july 2020 | Varam project |
| 2 | 12th july 2020 | Why Iam a Rotractor |
| 3 | 15 july 2020 | Ezhuthin kosham |
| 4 | 22nd july 2020 | Unmaiyil kural |
| 5 | 1st aug 2020 | DJ show with DJ Sundar |
| 6 | 8th aug 2020 | Breast feeding awarness |
| 7 | 16th aug 2020 | Take a little care |
| 8 | 23th aug 2020 | Vaanga pesalam |
| 9 | 24th-29th aug 2020 | Internet kutties |
| 10 | 13th sept 2020 | Kangal paadhukaapum dhaanamum |
| 11 | 21st sept 2020 | Club charter day |
| 12 | 4th oct 2020 | Chill bro |
| 13 | 24th oct 2020 | Jil Jung Juk |
| 14 | 1st nov 2020 | Meet up with Green Rotractors |
| 15 | 21st nov 2020 | Club installation |
| 16 | 13th dec 2020 | webinar |
| 17 | 26th dec 2020 | Self Defence-martial arts program |
| 18 | 23rd jan 2021 | Competitions for physically disabled people |
| 19 | 31st jan 2021 | Webinar |
| 20 | 13th feb 2021 | Self defence-martial arts |
| 21 | 28th feb 2021 | Webinar |
| 22 | 14th mar 2021 | Self development program |
| 23 | 28th mar 2021 | Webinar |
| 24 | 4th apr 2021 | Introduction of special day donation event |
| 25 | 18th apr 2021 | Webinar |
| 26 | 8th may 2021 | Orphanage visit |
| 27 | 23rd may 2021 | Webinar |
| 28 | 5th jun 2020 | Seminar |
| 29 | 12th jun 2020 | Webinar |
MR.SIDDHARTH RAJU.K |
DR.NAKEERAN.E |
| ASSISTANT PROFESSOR |
ASSISTANT PROFESSOR |
MR.GOKUL JAGADISH |
MR.GOKUL.S.N.T |
| III ECE-A |
III ECE-A |


the blog
tales from DBC
previous entries
- first
- second
- third
- fourth
- fifth
- sixth
- seventh
- eigth
- ninth
- ten
- eleven
- twelve
- thirteen
- fourteen
- fifteen
- sixteen
April 16th, 2015. Feedback.
I find pairing to be a mostly positive experience. Solving a problem with someone, getting to have a-ha moments with them, is rewarding. It's also rewarding to feel useful, to be able to contribute to a person's problem solving effort. In that respect, I love peer pairing.
It can be frustrating when your partner is uncommunicative or, at the other end of the spectrum, too communicative. While both are a risk, I have found everyone I have paired with to fall somewhere in the middle, and have enjoyed working with everyone.
Feedback has been an overall positive thing. It has afforded me the opportunity to point out what someone is doing well, as well as voice a complaint when necessary (there's only been on). Moreover, hearing feedback has helped validate my communication style. It feels good to hear than I tend to work well with others.
I think pairing is a positive thing. It both confirms positive qualities and points out negative ones. The most difficult part of feedback isn't recieving it, it's offering it. To be effective, feedback must be specific - general impressions are good, but aren't necessarily actionable - and that can be a hard thing to do if you aren't intentionally committing a person's actions to memory.


abc——“”�
default font
abc——“”�
test font loading: arkpunctuation
abc——“”�
test font loading: DroidSerif
abc——“”�
this will always switch to web font (wait 2s), if it's font doesn't change, it means that the browser failed to load the web font.


Song Hye Kyo thank fans for birthday wishes and gifts
- Advertisement -
It was Song Hye Kyo’s birthday recently and Yoo Ah In celebrated with her by taking photos with her and gifting her a beautiful bouquet. He wrote in an Instagram post with the caption, “Long live the queen.”
The South Korean actress thanked her fans all over the world who celebrated her birthday with her.
On 22 November, she wrote on Instagram Story about her gratitude towards her Korean and international fans who have wished her happy birthday. She also said she will always remember the love that they shower her with.
- Advertisement -
Song Hye Kyo also shared photos of how the fans are celebrating her special occasion with along with the message.
Billboard advertisements of the actress can be found at Times Square in New York City while others sent in certificates of proof of charitable donations and volunteer work done in her name.
There is also a Song Hye Kyo Baidu Bar working to hold a “Song Hye Kyo’s Drawings of Love class” for children with hearing disabilities.
The starlet celebrated her birthday on 22 November. Song Hye Kyo is said to be looking over offers for her next drama role as she returns to acting.
Born on November 22, 1981, Song Hye Kyo is a South Korean actress who rose to stardom in Asia with roles in TV dramas Autumn in My Heart, All In, Full House, That Winter, the Wind Blows, Descendants of the Sun and Encounter.
She also starred in films like Hwang Jin Yi, The Grandmaster, My Brilliant Life and The Queens.
Song Hye Kyo ranked 7th in Forbes magazine’s Korea Power Celebrity list in 2017 and 6th in 2018. Her acting in TV dramas made her famous worldwide.
In other news, Song Hye Kyo and Fin.K.L.’s Lee Jin recently shared a heartfelt moment on Instagram with Song uploading a beautiful video of the ocean on 13 Nov.
Lee Jin, who is a good friend of Song Hye Kyo responded with a “Miss you” and accompanied that with a heart emoji.
Song Hye Kyo then responded with a “Me too” and a heart emoji.
The Full House actress is good friends with all the Fin.K.L. members but is especially close to Lee Jin.
- Advertisement -


WebSiteName
Email Address
Password
Remember me
Register
Firstname
Lastname
Email
Password
Enter-Again


"SMITH" The Hebrews were not permitted by the Philistines in the days of Samuel to have a smith amongst them, lest they should make them swords and spears (1 Samuel 13:19). Thus the Philistines sought to make their conquest permanent (comp. 2 Kings 24:16).
"SMITH" The Hebrews were not permitted by the Philistines in the days of Samuel to have a smith amongst them, lest they should make them swords and spears (1 Samuel 13:19). Thus the Philistines sought to make their conquest permanent (comp. 2 Kings 24:16).


Letter to BS: The unanimous decision by SC bench on Rafale deal is welcome
If the Congress still does not learn its lessons, then it will have to pay a price sooner than later
by Business StandardThis refers to "SC junks Rafale review pleas..." (November 15). The unanimous decision by the Supreme Court bench on the Rafale deal is welcome and should now put everything straight. Hopefully, we will see the complete fleet of Rafale fighter jets at the earliest in our Air Force. What is really heartening is that not only this bench dismissed the review petition but also the allegations that the government was responsible for the inclusion of Anil Ambani's Reliance Defence as an offset partner.
Though Congress leader Rahul Gandhi’s unconditional apology saved him from contempt charges, the party is again trying to create a storm out of nothing by asking for a joint parliamentary committee probe. If the Congress wants to put the ruling party BJP under the cosh, there are other grave issues like the slowdown in the economy and unemployment. If the Congress still does not learn its lessons, then it will have to pay a price sooner than later.
Bal Govind, Noida
Letters can be mailed, faxed or e-mailed to:
The Editor, Business Standard
Nehru House, 4 Bahadur Shah Zafar Marg
New Delhi 110 002
Fax:<PHONE_NUMBER>1 • E-mail<EMAIL_ADDRESS>All letters must have a postal address and telephone number


Using Tensorflowjs expect to see a wide variety of types of functions
Click on each of the buttons and then have a look at the example code
Traditional Javascript function, updated by using the "async" and "await" key words.
...
Very powerful inline function example, This is the form that I prefer since the keyword "function" reminds beginners what is
happening with the code.
...
Demonstrating the "arrow" function. This is often used by the Tensorflowjs community. Note the similarities between the inline
function and the arrow function. They both work exactly the same, just the
Arrow function has less typing and the arrow is after the brackets whereas
the inline function key word is before the brackets used for passing variables
Tensorflowjs is always using arrow functions!
...
All three types of functions used together so you can see how they are written.
...
I often see Tensorflowjs code that returns an array of information from the function into an array of variables. Made the
code very confusing when I first saw it.
...
Tensorflowjs also often returns an object from a function into several variables. This also made the code very confusing when I first
saw it
...
All of the Tensorflowjs examples use modules, which works great for build tools and reducing the number of global variables
and can be made with only a few changes to work with pure Javascript, but has CORS issues (Cross-Origin Resource Sharing )
when run from your local machine. (Which is strange since all the files are on the local machine but it is a security issue that
is a pain to change on Chrome)
My solution to this issue is to use namespacing in the external js files. For namespacing to work you have to change any regular funcitons
into inline or arrow functions. My solution works really well as the code used to make the web page is the exact code that any user sees when they
"Right click-View page source" on the page. With build tools the final code is very different from the original Javascript or Typescript


Lesion Tools Example
This page contains an example of the lesion tools.
Axial
threshold
score
undo
redo
configuration
calciumThresholdHu:
snap to regions:
layers above:
layers below:
tool value:
or use example pictures


{% extends "_base.html" %} {% block title %}Support Us{% endblock %} {% set donate_active = 'active' %} {% block meta_description %}Donate & help us create free medical resources{% endblock %} {# We want a breadcrumb / header block. #} {% set header_title = "Donate" %} {% set header_text = "Help Us Create Free Medical Resources" %} {% block maincontent %}
Web hosting is expensive! Can you help us run the site for a day?
Don't see the calculator you want? Support us at this level and we'll build it for you!
Help us share medical knowledge.
Any amount helps.


Enter a username to start playing a game with your friend and chat along!! Have loads of fun!!!!!!!!!!


Search Books
There are
0
records : Page
0
of
0
Title
Category
Author
Price
Search Countries
There are
0
records : Page
0
of
0
Name
Code


Pink Diva
Pink Diva has given birth to three Grand National winners.
Pink Diva has given birth to three Grand National winners.
Ring a Rosies has won the Derby three times.
Chelsea’s Fancy has given birth to three Gold Cup winners.
Korah’s Fury has fathered three champion race horses.
Sea Pioneer has won The Oaks three times.
Brown Biscuit has fathered nothing of any note.
jjijj
All our horses come with full paperwork and a family tree.


| Package | Description |
|---|---|
| isocline.clockwork |
| Modifier and Type | Field and Description |
|---|---|
static Configuration |
Configuration.ECHO
Initialization settings related to thread settings for WorkProcessor initialization
Preset for low-end environments, the initial thread count is 1, the maximum thread count is 3,
and the thread priority setting is Thread.NORM_PRIORITY state.
|
static Configuration |
Configuration.HYPER
Initialization settings related to thread settings for WorkProcessor initialization
Preset for HYPER environments, the initial thread count is 64, the maximum thread count is 128,
and the thread priority setting is Thread.MAX_PRIORITY state.
|
static Configuration |
Configuration.NOMAL
Initialization settings related to thread settings for WorkProcessor initialization.
|
static Configuration |
Configuration.PERFORMANCE
Initialization settings related to thread settings for WorkProcessor initialization
Preset for high-end environments, the initial thread count is 24, the maximum thread count is 36,
and the thread priority setting is Thread.MAX_PRIORITY state.
|
| Modifier and Type | Method and Description |
|---|---|
static Configuration |
Configuration.create()
Create new instance of Configuration
|
Configuration |
Configuration.lock()
Lock the configuration information from being modified.
|
Configuration |
Configuration.setExecuteTimeout(long executeTimeout)
Set a timeout
|
Configuration |
Configuration.setInitThreadWorkerSize(int initThreadWorkerSize)
Set a initial thread worker size
|
Configuration |
Configuration.setMaxThreadWorkerSize(int maxThreadWorkerSize)
Set a size for max thread worker
|
Configuration |
Configuration.setMaxWorkQueueSize(int maxWorkQueueSize)
Set a queue size for max
|
Configuration |
Configuration.setThreadPriority(int threadPriority)
Set a priority of Thread
|
Configuration |
Configuration.setThresholdWaitTimeToReady(long thresholdWaitTimeToReady)
If the remaining waiting time to enter the ready state and the time remaining
until the next execution remain below this set time,
the system enters the waiting queue and enters the waiting state.
|
| Modifier and Type | Method and Description |
|---|---|
static WorkProcessor |
WorkProcessorFactory.getProcessor(String id,
Configuration config)
Returns a customized WorkProcessor implementation object.
|
Copyright © 2018–2019. All rights reserved.


Set Alarm State Request. More...
Inherits AmazonServiceRequestConfig.
Public Member Functions | |
| (id) | - init |
| Default constructor for a new object. | |
| (NSString *) | - description |
| Returns a string representation of this object; useful for testing and debugging. | |
Properties | |
| NSString * | alarmName |
| The descriptive name for the alarm. | |
| NSString * | stateValue |
| The value of the state. | |
| NSString * | stateReason |
| The reason that this alarm is set to this specific state (in human-readable text format). | |
| NSString * | stateReasonData |
| The reason that this alarm is set to this specific state (in machine-readable JSON format). |
Set Alarm State Request.
| - (NSString * CloudWatchSetAlarmStateRequest.)description |
Returns a string representation of this object; useful for testing and debugging.
| - (id CloudWatchSetAlarmStateRequest.)init |
Default constructor for a new object.
Callers should use the property methods to initialize this object after creating it.
- (NSString *) alarmName [read, write, retain] |
The descriptive name for the alarm.
This name must be unique within the user's AWS account. The maximum length is 255 characters.
Constraints:
Length: 1 - 255
- (NSString *) stateReason [read, write, retain] |
The reason that this alarm is set to this specific state (in human-readable text format).
Constraints:
Length: 0 - 1023
- (NSString *) stateReasonData [read, write, retain] |
The reason that this alarm is set to this specific state (in machine-readable JSON format).
Constraints:
Length: 0 - 4000
- (NSString *) stateValue [read, write, retain] |
The value of the state.
Constraints:
Allowed Values: OK, ALARM, INSUFFICIENT_DATA


This sample is using IBM Verify javascript SDK
The sample app demonstrates how to authenticate with IBM Security Verify using the Implicit grant type.
You can authenticate using a registered IBM Security Verify's username and password.


A report from the course DA377B
S01
Before this assignment I knew the basic stuff about Git & GitHub. Markdown I have never heard about before. Github Pages is also new to me. I Have not created a basic website since 2003. That was when i did a very basic webdevelopment course on comvux in Hässleholm. My previous knowledge is limited. I have only used a little bit of html. I have never tried java script before. Looking forward to it. Seems overall like an interesting course.
TIL:
I have learnt about Tagging in git. Some basic html syntax and css. It was the first time I have tried forking on git. Got a good overview of the course.
S02
Have you any previous experience of HTML, CSS and/or JavaScript? Explain the role of HTML, CSS and JavaScript in web development. Give a brief explanation of how the browser, the HTTP protocol and the web server interacts. What is your TIL for this course section?
I have no prior experience in html except for a basic webdevelopment course i finished 15 years ago. I have used some css in other courses in this program. JavaScript i have no experience of. The role of html is to design the layout os the web pages. Css main purpose is to style the web page. JavaScript is used to make webpages dynamic. The interaction of the browser, http and the server is that the client sends a request to the server using http. Then the server responds using http eg. if it is a GET request and a webpage is requested this will be attached in the body of the response.
TIL:
I have learned alot about different html markup tags. I also learned some new ways of using css. I did the learn web development. It was very informative.
S03
Do you have any previous experience of client side JavaScript?
-None what so ever.
Can you compare and relate the JavaScript language to any other language you know?
-I think it seems quite similar to java.
Describe how you worked with the coding exercise, what grade do you aim for and how did your code turn out to be?
I started with grade 3 requirements. There was alot of experimenting and testing before i decided on wich solution to use. I am aming for a 5. My code is nicely structured.
Grade 4:
- Use a JavaScript timer to hide and show your duck.
- Add another page flag.html which has three links showing three different country names. Each country flag should be displayed when the user clicks the country link. The flags should be created using pure HTML/CSS (no images).
The second i solved with three divs and a javascript. The script contains methods to set styles for the divs in onclick actions of flag buttons.
Grade 5:
- Add a select/option form element and fill it up with some municipalities (at least three) in Sweden. The municipality data should be fetch() from a json file and used to populate the select/option. When the user selects a option, another fetch should be done to retrieve and update the HTML table with all schools in that municipality.
- When the flag is displayed, hide the flag when the user clicks on it. Use a CSS transition to make a smooth transition from displayed to not displayed.
- Organise your code for flag and duck, using JavaScript object {}, where feasible, using properties and methods.
For the second i added a transition in css ease-in-out. on the divs of the flag.
The third was already in place. With a flag object with the divs. And the code was split up in methods.
TIL:
I have deepened my js,css and html skills. Learned alot about how to generate html content from js. It was nice to try fetch.
S04
Tell me about your previous experience on node/npm or any equal programming tools.
-None what so ever.
How do you feel about working with JavaScript, Node and Express?
- I think it is fun. Js makes html pages more useful and dynamic. Node and Express was really nice.
Explain how you did take on the coding assignment, did you have a plan and did it work?
-It was alot of trail and error. I was very happy that the teacher made example code. This made it much easier to understand an getting started.
Describe how you took on the coding exercise, what grade did you aim for and are you satisfied with the result?
-I started with grade 3 requirements. I am quite satisfied with my lotto solution :)
I started with grade 3 requirements. It was kind of tricky at first i tried very many things just for fun. I am happy with the resulting code.
Grade 4:
- Add the path lotto-json which produces a JSON response of the lotto draw.
- Enable to send in your own lotto row, through the query string, like this lotto-json?row=1,3,7,9,28,33,35
- The JSON response should contain the data of your own row of numbers.
- The JSON response should contain how many numbers you had correct.
The second i solved by getting the req.query and read "row". And i created a method to loop through the numbers and see how many correct numbers where selected.
Third and fourth was included in the response. When query was present.
Grade 4:
- Enable to send in your row through the query string, using lotto?row=1,3,7,9,28,33,35./li>
- Update the web page and do a nice output showing a table where your own numbers are marked.
- Update the web page and do another nice output showing a table where the actual number from the lotto draw, are marked.
- Add to the page, a message showing how many correct numbers you had.
TIL:
I have deepened my js,css and html skills. It was fun to try node and express. I got a basic understanding of express server.
S05
How do you feel about PHP as a programming language?
-I think it is really nice that it is only visible on the serverside. Feels safer than js. I really liked that php is loosely typed. It was really smooth to connect to database. There seems to be really nice ways to organise code with php.
Can you compare PHP to other languages you know?
-It reminds me of Java and c++.
Describe how you worked with the coding exercise, what grade do you aim for and how did your code turn out to be?
I started with grade 3 requirements. It was kind of tricky at first i tried very many things just for fun. I am happy with the resulting code.
Grade 4:
- Create a page create.php to enable to create new rows into the table.
- Create a page update.php to enable to update the values of a row in the table.
For the second i lifted out the creation of the table to an external php file where id can be selected by clicking the table. Id was passed to a function so that the page could be reloaded with that id.
Grade 5:
- Create a page delete.php to enable to delete rows from the table.
- Create a page read.php to list the content of the table as a HTML table. Add links to click to provide easy navigation, by clicking a link, to create, update, delete the items in the database table. It should be possible to click on links to navigate and do all CRUD to the table.
Second requirement here i just created a page that could show all rows.
TIL:
I have earned my first ever php skills.
S06
What is your own opinion on popularity of programming languages and what are your thoughts of future popularity among programming languages?
-It seems that the there is not alot of fast changes in the language market. At least if you look at the tiobe index where different languages are ranked over time.
I think there will be a big shift when a new paradigm appears on the market. There are a lot of different languages but they are quite similar in the basics.
What differs is what frameworks they provide.
What will be your own choice for selecting future programming languages?
- I will be looking in to C# since they are rewriting their old .net to .net core wich is platform independant. I think this will increase in popularity. I think an important
parameter when selecting language is where the language is going. Is it being developed? How much effort is given in improving its codebase? Is it platform independant?
Do your own investigation on https://trends.google.com (Links to an external site.) to customize your own comparison on programming languages (or frameworks) and elaborate on the results.
- I compared c# and java the result correlated with tiobe index that java is more popular. But C# seems to have 30 % of their combined market on google and 23% on tiobe index.
If you were to recommend a language/framework/technology to your potential employer and your next large project, what would it be and how would you “sell it”?
I would sell it based on which frameworks are available and how fast it is compared to others developing the type of applications that the employer is interested of. The employer likely already is
using a language and a framework that could be compared to others. But i think it is har to push for a new language. Maintainance and education will be more expensive to the company if it has a large
portfolio with varying languages and frameworks.
TIL:
I think the best learning of this lecture was about the different javascript flavors. Both tiobe and state of sscript was really interesting.
S07
Try to explain the platform .NET (C#, ASP.NET) to a skilled programmer, but newbie to this Microsoft technology.
- It is a gigantic platfom. .Net is very big and have alot of functionality. It has classes for both web development and windows desktop development. C# is very similar to java. It is object oriented. It has a JIT just like java. And is executed in CLR(common language runtime). Asp.net is a framework for web apps. It provides webpatterns like MVC etc.
Asp.net can use the class libraries of .Net that are used in desktop applications.
Elaborate by comparing .NET technologies with the other technologies we learned during the course.
- The MVC is implemented in both Express and asp.Net asp but asp is much nicer and userfriendly. One big differance is that Express and php are scriptbased and asp is not.
There are thousands of of classes types and
Describe how you took on the coding exercise, what grade did you aim for and are you satisfied with the result?
-I watched the videos and attended the lectures. Then i started with the console application. Then i did the asp.net.
Consol
I started with grade 3 requirements.Grade 4:
- Add a choice "Search" that ask the user for a search string.
- Add a choice "move" that moves money (balance) from one account number to another account number. Save the updated JSON file.
Grade 5:
- Add a choice "New account" that creates a new account. Ask the user for account details. Save the updated JSON file.
- Organise your code in at least one external class in its own file.
The second was already solved. I was already using a "Program" class with main, a "Bank" class with the entire bank logic and the "Account" model class.
Webapp
-I started with grade 3 requirements.Grade 4:
- Add a controller that supports moving between two accounts. You may choose to solve this using the rest api or through a html form. Use a POST or PUT method. GET is not the prefered way when updating the state of the web application.
Grade 5:
- Make it possible to move money between accounts using both a HTML post form and through the JSON REST API. Use controllers and models to separate your code and use Razor for the html form pages. Use POST and PUT as request method.
TIL:
It was my first time testing asp.net. I learned alot. Think that razor pages are really smooth and easy to use. The model view controller concept is easy to understand.
S08
Group members: Oskar Karström,
Filip Fredlund,
Christian Zaar
Link to google sheet: here
We have analyzed these websites:
Websoft,
HKR,
Kristianstad
The main thing we noticed when analyzing the data was that when loading any of the three websites without cache, the amount of data
transferred was significantly larger. As expected, all the loading times were lowered when in cache, but on the smaller websites, the
difference was very small. On the largest website, Kristianstad.se, the time was more than
halfed. On Pagespeed, we noticed that both HKR and Kristianstad
had a pretty bad mobile score. Websoft on the other hand, got 100/100,
both on mobile and desktop!
According to pagespeed, some suggestions to improve the speed on the webpage are:
*Remove resources that are blocking the rendering
*Send images in a more modern format
*Remove unused CSS-code
TIL: We learned about different tools that are used to measure performance on websites. We also learned about the most common problems with slow websites.
S09
Elaborate on a few (3-5) different security issues or concerns, from your own experience, related to web application security and relate them to the OWASP top ten.
- One of the OWASP top ten was injection. When it comes to sql injection preparedstatements are a good option. Then there is a control that no other commands than the intended are executed. Security miss configuration was another
of the top ten. This is a common misstake when installing openssh on Linux. It Defaults to port 22 and and can be sensitive for attacks. This port should be changed and use public key access instead of password login. Using components with known
vulnerabilities is another. This could be as simple as just updating your server with the latest updates. Avoiding vulnerabilities to be used.
Summarize by providing your own guidelines to a new web programmer on the topic “The essential guidelines to follow to create secure web applications”.
- When it comes to sql injection preparedstatements are a good option. Then there is a control that no other commands than the intended are executed. Never have easy to crack passwords and never have the same password to different logins. Keep your software updated
so that nobody uses vulnerabilities for malicous purposes. Remove unused admin accounts and close unused ports. Use ssl for encrypted communications. Use a good firewall that only allows the intended type of traffic. Encrypt sensative data incase of a breach.
TIL:
I got a basic view on web application vulnerabilities. I still feel like i still have a lot to learn on security issues. I think we got some good advice that are quite easy to implement like preparedstatements against sql injection.
S10
The project was implemented in asp.Net core. Our goal was to designed a chat application. At the start we had little ideas of how to realize the project in asp.net since our experience was limited. We started to experiment in side projects at first. Just to get a basic understanding of the tools that are available in asp.net core. We found that the authorization library Identity was suitable for our application. The user handling was extendable so we could connect it with relations to messages and connections in the database. And we wanted to try Entity framework. This was one of the biggest challanges. Ordinary SQL syntax is much easier to understand. But when it finally got setup correctly it worked really smooth. We used LINQ to query entity framework. LINQ is a really nice feature of .NET. We used MVC pattern to build our site. And we found that using Signal R to set up web sockets and communicate with the clients was a really nice solution. It was a challange to get all the peices together in time. It was a lot o trail and error before got all pieces in place. The teamwork was really good. We all took part and were eager to make the application work. The project was reasonable. But there was alot of new libraries to learn.. that was a little bit tough.
I think overall it was a really good course. It gave me a broad view of different techniques and frameworks that are used for webdevelopment. The lectures feelt relevant and held high standards. I really liked the material. The examples gave a really clear picture of the assignments. I also liked that you posted the lectures online. I would definetly recommend this course to my friends. My grade for the course is 9 (of 10) if the lectures would have been in swedish it would have been a strong 10.
TIL:
The project thought me alot about asp.net core. It was really nice to work with. But there is still alot to master in this framework.
All webdevelopment knowledge i have is from this course. I really enjoyed doing som webserver programming and clientside javascript. It gave me a broad view of techniques and options for webservers and a good understanding of webdevelopment.