---
layout: default
permalink: /404.html
sitemap: false
title: 404 - Page Not Found
---
{% assign entries = site.pages | sort: 'url' %}
That page does not seem to exist.
Please visit one of the following pages:
{% for entry in entries %}
{% unless entry.url == '/404.html' or entry.url == '/sitemap.xml' or entry.url == '/robots.txt' or entry.url contains "/assets/" %}
-
{{ entry.url }}
{% endunless %}
{% endfor %}


After doing a little casting I finally entered to the university, we were 30 in total. Do you remember how was your first week at the university? I do.
“Okay guys you have to build a company for the following 4 years and well each of you must get 10.000€ benefits and 15.000€ invoicing (at least) working in real projects, you must be the creator or those projects”. And this is how all begins.
It was all about learning by doing. Fifteen people putting all our hearts to run a profitable business. We started with little things but hey we end up developing different business lines in the fields of gastronomy, arts, education, human-centered innovation, event management and travel. It was all about launching new business ideas and developing them. So, with the money we got we invested again in our projects and travels through Finland, San Francisco, China and India, to learn from other business ecosystems.
In order to achieve our goals and learn, team work was crucial. Twice per week we gather for 4 hours to share new learnings, improve our personal skills and discuss about our vision,values…
Project name:
Steps junior Coop
Date:
2011-2015
Category:
Entrepreneurship
Role:
Co-founder
If you want to collaborate on creating amazing experiences for people you are very welcome to contact me.


crop climate corn yield pattern distribution spatial changes impacts growing change yields effects model statistical models based area temperature response uncertainty {border-style px;} state #ffffff;} gridded states Change Lobell increase using data daily precipitation production results stability Clim. Figure Nature United estimates future historical indicate level negative year States empirical global index investigated studies variability warming Environ. used Res. considering county drought map pattern, previous projected (). (Fig. Here, Lett. Table \documentclass[pt]{minimal} \setlength{\oddsidemargin}{-pt} \usepackage{amsbsy} \usepackage{amsfonts} \usepackage{amsmath} \usepackage{amssymb} \usepackage{mathrsfs} \usepackage{upgreek} \usepackage{wasysym} agricultural conditions constant counties estimated fixed maize mean projections px; role sampling significant standard study yields. {font-family ./-/// Global Sci. Tmin USDA climatic crops decrease explained font-size important long-term minimum models. positive relations season time use weights ./nclimate analysis. bootstrap deviation difference distinct double; emission error included information land level. maps pattern. range reference scenarios sensitivity series state-level states, statistically total understanding variance (Tmax) AghaKouchak CONUS Climate However, Leng Schlenker Specifically, adverse agriculture analysis areas assuming assumption border-color border-width census changes, changes. consider constructed cropping extreme factors impact larger linear mainly maximum modulating observed provide reduced relative soil solid; study, temporal transient trends water wheat {font-style {font-weight (Prec), (i.e. ./s--- ./science. CONUS. Commons Creative MATLAB Meteorol. RCP. Science Supplementary Tmax accounting adaptation anomalies anomaly area. associated average bar bold coefficient confidence considered conterminous county-level courier; created datasets develop em; explore fitted food implications increasing investigate level, magnitude material modulate net non-linear past performance period projecting pt;} reduction resampling scale selected shows states. subset technique temperatures unit variation weather years


Probe data
Find probes
(current)
Stats
File a bug
Probe is
recorded
new
in version
any
on channel
release
beta
nightly
.
Show only measurements collected on release.
Text search
in any text field
in name
in description
for:
Probe name
×
Type:
Population:
Available in:
...
Kind:
Keyed:
Bug numbers:
Recorded in processes:
C++ guard:
Bucket count:
Low:
High:
Methods:
Objects:
Extra keys:


People have short attention spans, so first impressions count. A polished landing page boosts confidence in your app, aiding to convert traffic into active users.
GET THE APP
The logical layout positions your app prominently in the center. Call to action buttons on every page readily channels visitors to take action.
GET THE APP
Use multiple screens to guide your users through the premise of your app, make apparent the problems it’s solving, and finally, nail home its distinguishing features.
GET THE APP
Takeoff is one-size-fits-all - screensizes from 320px to infinity, we have you covered. Touchscreen events? Of course! Resize the screen now to see.
GET THE APP
A modular codebase means everything is plug-and-go. Devices, screens, copies - you name it. We've included Sass/Compass source files, so it's simple to tailor it to your own branding.
GET THE APP
Licensed under the MIT license, you can (essentially!) do anything with it, for free. Want to contribute? Add a new device! Create more examples! Just send over a pull request!
GET THE APP
This project is made with love by Brew, a distinguished digital agency in Hong Kong. Checkout our website or follow us on Twitter, Facebook, GitHub.
GET THE APP


The tech radar visualizes an evaluation of available data science technologies. The individual rings in the radar chart indicate the evaluations of technologies. From inside to outside these categories are:
Choosing technologies is hard. Technology choices have to be based on the specific requirements of individual projects. Still, it is possible to provide some general guidance. For example, some technologies are not very suitable for data science and can therefore be ruled out in most cases. Similarly, there are evergreen technologies whose application is nearly risk-free. This visualization aims at giving you an overview of data science technologies and how they should be handled when starting out a new project.
This data science tech radar is maintained by Matthias Döring. The decisions are made based on his personal and professional experiences with the technologies. In order to integrate the knowledge and experience from the data science community, please get in touch if you feel that any technology is missing/misplaced. If you make a contribution, you will of course receive an honorable mention in the acknowledgments section.
This tech radar is based on the Zalando Tech Radar, which in turn is based on the pioneering work of ThoughtWorks.
FrameworksFlaskFlask is a minimalist framework for developing web applications with Python. It is particularly suitable for the development of APIs. gRPCgRPC is a remote procedure call protocol that utilizes Google's Protobuf format for data serialization. If you are interested in using Protobuf, consider this guide. Node.jsNode.js is a JavaScript, open-source environment for servers. It is typically combined with frontend libraries such as AngularJS, React, or Vue.js. Due to the existence of these well-developed libraries, Node.js is the preferred platform for applications with complex user interfaces. ProtobufProtobuf is a mechanism for data serialization that is developed by Google. Due to its binary format and the explicit definition of data structures, it is advantageous over JSON. Protobuf can be used together with the gRPC protocol. scikit-learnscikit-learn is a Python machine-learning library that offers a multitude of models ranging from decision trees over support vector machines to k-means clustering. Note that, for deep learning, TensorFlow should be used. ShinyShiny is an R framework for building reactive web applications. It is ideally suited for situations in which R code is already available but it should be made available to a larger user base in such a way that users can interact with the data. Shiny is well-suited for prototyping or for building small applications that are used internally. For larger applications or applications where availability and robustness are key, other frameworks such as Node.js or Flask should be considered. Swagger (OpenAPI)Swagger is a framework for web API development. It is widely known for Swagger UI, frontend for accessing REST API documentation written according to the Swagger/OpenAPI specifications. Since data science applications are often deployed in forms of APIs, this is a must-have. TableauTableau is a commercial dashboarding solution. If you want to integrate data from various sources and visualize trends in the data, Tableau is probably the way to go. TensorFlowGoogle's TensorFlow is the dominant framework for deep learning. TensorFlow models can be served in production environments using TensorFlow Serving. InfrastructureAnsibleAnsible is a lightweight, open-source tool for the management of compute infrastructure. If you have several servers for which you want to perform configuration tasks such as user management, software installations, and updates, you should consider Ansible. ApacheThe Apache web server (httpd) has been the dominant web server for many years. Nowadays, however, Nginx should be the preferred over Apache. AWS LambdaAWS Lambda is a serverless platform for event-driven data processing tasks. Using AWS Lambda, you can define a lambda function that shall be executed, once a given event takes place. AWS Lambda is ideally suited for short, event-driven workloads that do not require a compute instance that runs 24/7. ChefChef is a tool for the automated management of IT infrastructure. Similarly to Puppet, Chef is more complex than Ansible. DockerWithin a very short time span, Docker has become an essential tool for software development and deployment. Docker is a containerization technology that encapsulates low-level system libraries and dependencies of a package in terms of images, which can be hosted online. These images can then be run on any system in terms of containers, without having to worry about dependency management. KubernetesKubernetes (K8s) is a container orchestration platform that is based on Docker. K8s is particularly suitable when multiple containers that interact with each other have to be managed. RedHat's OpenShift is an extension of K8s that is geared towards enterprise applications. NginxNginx is a powerful reverse proxy. Because it offers some advantages over the Apache web server, Nginx should be the preferred choice. PuppetPuppet is a tool for infrastructure management and delivery. Similarly to Chef, Puppet is more complex than Ansible. Data ManagementApache AirflowAccording to Apache, Airflow is a platform created by the community to programmatically author, schedule and monitor workflows. Workflow are defined in terms of directed acyclic graphs (DAGs). For a cloud-native solution, consider AWS Data Pipeline, a managed ETL (extract, transform, load) service. Apache CassandraCassandra is a NoSQL database. It is the most popular wide-column (i.e. 2D key-value) storage solution. Apache HadoopHadoop is a framework for managing big data. It is based on a map-reduce strategy. HDFS (Hadoop File System) can be combined with Hadoop in order to improve data availability. Hadoop can be combined with Kafka. A cloud-native alternative to the Apache suite of big-data tools is AWS EMR. Apache KafkaKafka is a big-data storage solution that combines solutions for messaging and streaming. Kafka can be combined with Hadoop. Apache SparkApache Spark is an engine for processing stream data. It is frequently used for processing data before it is used in machine learning/data science applications. Spark can be used together with Kafka. AWS S3S3 (Simple Storage Service) is a durable, highly-available cloud object storage solution available through AWS. It is ideal for applications such as logging. To reduce costs, data that are not frequently accessed can be automatically transferred to cheaper storage options such as AWS Glacier. AWS EFSAWS EFS (Elastic File System) is a file system that elastically scales both performance and available space according to user demands. EFS is a great tool when multiple applications need to quickly access file-system data from a central location. The ELK StackThe ELK stack consists of Elasticsearch, Logstash, and Kibana. Elasticsearch indexes a collection of documents and allows users to search within the document collection. Logstash is an application that ingests log files, structures them, and stores them to disk. Logstash can be combined with Elasticsearch. Kibana allows for visualizing data based on Elasticsearch. MongoDBMongoDB is the most widely used NoSQL document store. If you are looking for a cloud-native approach, consider AWS DynamoDB. MySQLMySQL is probably still the most widely known RDBMS (relational database management system). Since the future of MySQL is uncertain, the GPL-licensed MariaDB should be used instead. PrestoPresto is a SQL engine for big data applications. Using Presto, data can be retrieved from various sources such as Hadoop, AWS S3, MySQL, MongoDB, and Kafka. RabbitMQRabbitMQ is a message broker that is frequently used in terms of a middleware connecting independent applications. RabbitMQ is particularly useful for microservice architectures. A cloud-native alternative to RabbitMQ is AWS SQS, a queuing solution that can be combined with AWS SNS. RedisRedis is the dominant database when it comes to in-memory caching. It can also be used as a message broker. An alternative to Redis is Memcached. Redis should be considered for any application that needs to store large numbers of objects in memory, e.g., for storing session data or for implementing a queue. |
LanguagesBashBash is a shell language that excels at working with files and programs at the Unix system level. Many data applications require the successful execution of several programs or data wrangling, for which Bash is ideal. Ideally, Bash scripts should be relatively small. For complex file system task, other solutions should be considered. CC is a low-level language that is particularly suited for all applications that work closely with the hardware of a system, for example operating systems such as Linux or embedded systems. However, it is not a language that is very useful for data science. C++Similarly to Java, C++ is a well-established high-level programming language. However, in contrast to Java, C++ is geared towards fine-grained control over system resources. For example, C++ does not have an automatic garbage collection but requires developers to think about how they manage memory. While C++ allows for very efficient and stable software, development is typically considerably slower than in other languages due to a lack of supporting libraries, long compile times, and the intricacies of the language. However, if performance is a prime goal of the software, C++ is probably the way to go. It is no coincidence that the core of TensorFlow is written in C++. While C++ is not suitable for data science tasks, it excels when engineering large-scale AI systems for which performance is key. GoGo is a minimalist, compiled language that was developed by Google: it is performant, type-safe, and transparent. However, there is currently little support for data exploration, which means that Go is not suitable for typical data science tasks. However, Go is well-suited for infrastructure management tasks, for example for model deployment. So, while Go will probably never become a typical language data scientists will use, it should be considered for AI engineering tasks. JavaJava has been the most widely used high-level programming language for a long time now. Due to its virtual machine, Java applications are independent of the system architecture, rendering Java code highly portable. Java has an active community and has great ecosystems for overall software engineering, for example, due to highly developed IDEs that are very convenient to use. However, Java does not really support the data science process. Thus, Java likely only plays a role if models have to be integrated into an existing Java application. JavaScriptJavaScript is currently the dominant language when it comes to web development, particularly frontend development. So, when you are thinking about bring your data science application to a customer, it would be worthwhile to use a JavaScript web application (e.g. Express + React) for this purpose. For machine learning, JavaScript enables one to run deep models on the client-side which can be useful if you know that clients can handle the load. JuliaJulia is a language that is gaining more and more traction in the data science community. The main reason for this its usability and its C-like performance. However, this is only possible because Julia is a compiled language. Despite its support in Jupyter notebooks, Julia will probably never become the go-to language for data exploration due to the lag that caused by the compilations. But, if you have demanding calculations, you should definitely evaluate Julia. KotlinSimilarly to Java, Kotlin is based on the Java Virtual Machine. Kotlin, however, is a leaner language than Java. For example, it does not enforce object-oriented development. Moreover, Kotlin is compatible with Android devices, which makes it great for the mobile market. However, all of these areas are not very relevant for data science. MatlabMatlab is a commercial language that is geared towards mathematical calculations, which is why it has collected some users in the data science sphere. However, with Julia there is a strong, freely available competitor on the market. PHPOnce the star of web development, PHP has fallen from grace in recent years. This is mainly due to the wide adoption of JavaScript over PHP. PythonPython is the most widely used scripting language out there. There is a very good support in terms of external libraries. For example, the TensorFlow, scikit-learn, numpy, and pandas packages are particularly suitable for data science. RR is a programming language that natively supports vectorized operations. Thus, R is ideal for all applications in which multi-dimensional data are relevant. Due to R's popularity in the statistical community, there is a plethora of libraries for visualizing, exploring, and modeling data. Overall, R is not as generally applicable and not as robust as other languages, which is why alternatives such as Python should be considered for productive systems. RustRust is a compiled language that's geared towards robustness. Similarly to C++ it allows low-level management of resources, which will take up a lot of development time. So if you want to move fast, Rust is not for you. There are a few early-stage machine learning libraries available for Rust, so if you are looking for performance and stability, it may be worth a shot. ScalaScala is an object-oriented language for the Java Virtual Machine. For data science applications, there seems to be some usefulness with respect to big data frameworks such as Hadoop or Spark. Otherwise, Scala is not suitable for data science applications. TypeScriptTypescript is a variant of JavaScript that offers a typing system. The goal of TypeScript is to make JavaScript applications more stable. However, the question is whether the additional burden during the implementation is worth it. If you want to move fast, JavaScript is preferable. |


Kidz
Where children can build anything they can imagine
Statements
Statements by the Kidz Team.
Read
Editor
This is where you can code anything you can imagine!
Start
TheCoder
Our blog written by the Kidz Team.
Read


Recipe 2.21. Dynamically Changing the PythonSearch Path
Credit: Robin Parmar
Problem
Modules must be on the Python search path
before they can be imported, but you don't want to
set a huge permanent path because that slows performanceso,
you want to change the path
dynamically.
Solution
We simply conditionally add a
"directory" to
Python's sys.path, carefully
checking to avoid duplication:
def AddSysPath(new_path):
""" AddSysPath(new_path): adds a "directory" to Python's sys.path
Does not add the directory if it does not exist or if it's already on
sys.path. Returns 1 if OK, -1 if new_path does not exist, 0 if it was
already on sys.path.
"""
import sys, os
# Avoid adding nonexistent paths
if not os.path.exists(new_path): return -1
# Standardize the path. Windows is case-insensitive, so lowercase
# for definiteness if we are on Windows.
new_path = os.path.abspath(new_path)
if sys.platform == 'win32':
new_path = new_path.lower( )
# Check against all currently available paths
for x in sys.path:
x = os.path.abspath(x)
if sys.platform == 'win32':
x = x.lower( )
if new_path in (x, x + os.sep):
return 0
sys.path.append(new_path)
# if you want the new_path to take precedence over existing
# directories already in sys.path, instead of appending, use:
# sys.path.insert(0, new_path)
return 1
if _ _name_ _ == '_ _main_ _':
# Test and show usage
import sys
print 'Before:'
for x in sys.path: print x
if sys.platform == 'win32':
print AddSysPath('c:\\Temp')
print AddSysPath('c:\\temp')
else:
print AddSysPath('/usr/lib/my_modules')
print 'After:'
for x in sys.path: print x
Discussion
Modules must be in directories that are on the Python search path
before they can be imported, but we don't want to
have a huge permanent path because doing so slows down every import
performed by every Python script and application. This simple recipe
dynamically adds a "directory" to
the path, but only if that directory exists and was not already on
sys.path.
sys.path is a list, so it's easy
to add directories to its end, using
sys.path.append. Every import
performed after such an append will automatically
look in the newly added directory if it cannot be satisfied from
earlier ones. As indicated in the Solution, you can alternatively use
sys.path.insert(0, . . . so that the newly added
directory is searched before ones that were
already in sys.path.
It's no big deal if sys.path ends
up with some duplicates or if a nonexistent directory is accidentally
appended to it; Python's import
statement is clever enough to shield itself against such issues.
However, each time such a problem occurs at import time (e.g., from
duplicate unsuccessful searches, errors from the operating system
that need to be handled gracefully, etc.), a small price is paid in
terms of performance. To avoid uselessly paying such a price, this
recipe does a conditional addition to sys.path,
never appending any directory that doesn't exist or
is already in sys.path. Directories appended by
this recipe stay in sys.path only for the duration
of this program's run, just like any other dynamic
alteration you might do to sys.path.
See Also
Documentation for the sys and
os.path modules in the Library
Reference and Python in a
Nutshell.
|


BLACKPINK become first K-pop band to score a billion YouTube views
They've hit the milestone with ‘DDU-DU DDU-DU’
BLACKPINK have become the first K-pop band to score a billion YouTube views for a single song.
The band have hit the milestone with their music video for ‘DDU-DU DDU-DU’.
The video for ‘DDU-DU DDU-DU’ was released onto YouTube last June – watch it below.

Earlier this year, BLACKPINK shared a new live album, ‘BLACKPINK 2018 Tour In Your Area Seoul’. It followed April EP ‘Kill This Love’, of which NME wrote: “The K-pop sensations have a great record in them. This five-track EP might not quite be that record, but it does demonstrate their breadth of creativity.”
Last year, the group collaborated with Dua Lipa on a bilingual version of ‘Kiss And Make Up’.


Patient Lists
Create
Patient List
| Name |
Role |
Private/Shared |
Date Created |
Description |
Actions |
|
{{ list.name }}
|
{{ list.role }}
|
{{ list.access }}
|
{{ list.date_created | date: 'dd-MM-yyyy' }}
|
{{ list.description }}
|
|
Done! {{ successAlert }}
{{ errorTitle }} {{ errorAlert }}
This will remove {{ selectedCohortListName }} patient list. Are you
sure you want to remove this patient list?


I find it so frustrating when code that should compile just doesn't, and then restarting the IDE allows it to compile. I think this annoys me so much because I did everything right, so it's not my fault, but I spent a long time trying to figure out the compilation error.
I also find it frustrating when there is a particular nuance that I haven't understood in something that is causing a problem.
In this sprint I had this happen twice while trying to use a for (x in y)
loop. It doesn't seem to work exactly
as it does in Java. I had to replace both instances of it with for (var i = 0; i < y.length; i++)
loops.
I think that it may have been iterating over y
in a way I wasn't expecting.
I was surprised by how simulating the experience in my mind really made me physically feel the same way as I had in the actual moment. I also found that I could then make the physical feeling disappear by relaxing and concentrating on my breathing.


I fighthardwiththevisualization... :-( I'm just doingmein the dashboardto create newvisualizations... I want viewthecoretemperature, uptime etc from my Pi.... As farno problem...The php script runs exactly fine and stable...
In my Dashboardonlydisplaysan emptywhitecontainer.?
For the menuentry is have modified the vis_render.js
external visualisation (php script with sysinfos)
Submitted by Guest on Fri, 25/01/2013 - 23:46Hi guys,
I fight hard with the visualization... :-(
I'm just doing me in the dashboard to create new visualizations ...
I want view the core temperature, uptime etc from my Pi....
As far no problem ... The php script runs exactly fine and stable...
In my Dashboard only displays an empty white container.?
For the menuentry is have modified the vis_render.js
"sysinfo":
{
"offsetx":0,"offsety":0,"width":400,"height":300,
"menu":"Visualisations",
"html":""
},
Thats ok...
But how can i tell my new visualization that it needs to call a PHP script ...???
Can someone give me a hint?
Thank you very much
Matthias


Police offer: Pay parking tickets with canned food donations
by EndPlayBAY VILLAGE, Ohio (AP) - A Cleveland-area community is among those allowing drivers to pay their parking tickets with non-perishable food donations instead of cash this holiday season.
WEWS-TV reports the Bay Village Police Department in northeastern Ohio is accepting canned tuna, soup, cereal and other items in lieu of monetary payment for tickets totaling up to $25, at a rate of one item for every $5 in fines owed.
The offer is good through the end of the year. It's a partnership with a Bay Food Ministry, a group that provides food assistance for those in need.
A department Facebook post says tickets for handicap parking and fire lane violations don't qualify, and any fines beyond $25 must be paid in cash.
Bay Village is about 15 miles (24 kilometers) west of Cleveland.
___
Information from: WEWS-TV, http://www.newsnet5.com


Release 4 does not provide a mode in which it is 100% compatible with earlier releases. However, this section provides guidelines for migrating Prolog code from release 3 to release 4.
| Dropped built-in | Replaced by
|
get0/[1,2] , get/[1,2] | get_code/[1,2] , get_byte/[1,2]
|
ttyget0/1 , ttyget/1 | get_code/2 , get_byte/2
|
put/[1,2] , tab/[1,2] | put_code/[1,2] , put_byte/[1,2]
|
ttyput/1 , ttytab/1 | put_code/2 , put_byte/2
|
skip/[1,2] | skip_code/[1,2] , skip_byte/[1,2]
|
ttyskip/1 | skip_code/2 , skip_byte/2
|
ttynl/0 | nl/1
|
ttyflush/0 | flush_output/1
|
fileerrors/0 , nofileerrors/0 | set_prolog_flag/2
|
'C'/3 | unification
|
call_residue/2 | call_residue_vars/2
|
undo/1 | prolog:undo/1
|
help/0 | the message system
|
version/0 | the message system
|
version/1 | the message system
|
fcompile/1 | save_files/2
|
load/1 | load_files/2
|
load_foreign_files/2 | splfr + load_foreign_resource/1
|
require/1 | use_module/2
|
is_mutable/1 | mutable/1
|
module/1 | set_module/1
|
user:term_expansion/[2,4]
and
user:term_expansion/3
are now called
user:term_expansion/6
and Module:term_expansion/5
and have a modified API; see
Term and Goal Expansion.
The following library modules are not included in SICStus 4:
jasper
, clpb
, flinkage
,
spaceout
. library(objects)
has been replaced by its
Quintus counterpart, with a completely different API.
The following table lists the affected SICStus 3 library modules.
| Affected module | Closest equivalent | Comment
|
arrays | arrays3 | a
|
assoc | assoc3 | b
|
charsio | codesio | c
|
clpfd | clpfd | d
|
lists | lists3 | e
|
queues | queues3 | f
|
random | random3 | g
|
sockets | sockets | d
|
system | system3 | h
|
Comments to the table:
library(arrays3)
is a code migration library module;
the long-term solution is to use library(logarrs)
instead.
library(assoc3)
is a code migration library module;
the long-term solution is to use library(avl)
instead.
library(lists3)
is a code migration library module;
the long-term solution is to use library(lists)
instead.
library(queues3)
is a code migration library module;
the long-term solution is to use library(queues)
instead.
library(random3)
is a code migration library module;
the long-term solution is to use library(random)
instead.
library(system3)
is a code migration library module;
the long-term solution is to use library(system)
,
library(file_systems)
and library(process)
instead.


class GamesController
Copyright: Redhat Author : Jarred Green All Rights Reserved.
Create a class GamesController that parses http requests and calls the methods in this class
Public Instance Methods
POST /games POST /games.json Create a new game passing the game parameter, assigning a username to a user1 and keep track of the users progress
# File app/controllers/games_controller.rb, line 38 def create @game = Game.new(game_params) @game.user1 = @current_user.username @game.user1progress = 0 @game.user2progress = 0 # Check if game has been saved then assign the game id to the session id respond_to do |format| if @game.save session[:game_id] = @game.id format.html { redirect_to @game, notice: 'Game was successfully created.' } format.json { render :show, status: :created, location: @game } else format.html { render :new } format.json { render json: @game.errors, status: :unprocessable_entity } end end end
DELETE /games/1 DELETE /games/1.json
# File app/controllers/games_controller.rb, line 75 def destroy @game.destroy respond_to do |format| format.html { redirect_to games_url, notice: 'Game was successfully destroyed.' } format.json { head :no_content } end end
GET /games/1/edit
# File app/controllers/games_controller.rb, line 32 def edit end
This method generate random questions from number 0 to 9
# File app/controllers/games_controller.rb, line 110 def generateQuestion @f = rand(10) @s = rand(10) end
GET /games GET /games.json
# File app/controllers/games_controller.rb, line 17 def index @opengames = Game.where(:user2 => nil) end
This method when the user join a game, check is it user1 or user2. If no user then assign each user id to a session
# File app/controllers/games_controller.rb, line 85 def join<EMAIL_ADDRESS>== nil) session[:game_id] = @game.id @game.user1 = @current_user.username @game.save @current_game = @game<EMAIL_ADDRESS>== nil) session[:game_id] = @game.id @game.user2 = @current_user.username @game.save @current_game = @game else flash[:invalid] = 'Game full!' # Display an error message if the game is full (more than 2 users) end redirect_to games_url # Redirect the page to a homepage end
# File app/controllers/games_controller.rb, line 103 def leave @game.destroy session[:game_id] = nil redirect_to games_url end
GET /games/new
# File app/controllers/games_controller.rb, line 27 def new @game = Game.new end
GET /games/1 GET /games/1.json
# File app/controllers/games_controller.rb, line 23 def show end
This moethod keep track of the user’s answers when game reach 10 questions. Display message to the user if they have won the game Incrementing number of times the user win, then save the game
# File app/controllers/games_controller.rb, line 117 def submit_answer<EMAIL_ADDRESS>== 10) flash[:valid] = @current_game.user1 + " won!" user1 =<EMAIL_ADDRESS>user1.wins = user1.wins + 1 user1.save @current_game.destroy elsif (@current_game.user2progress == 10) user2 =<EMAIL_ADDRESS>user2.wins = user2.wins + 1 user2.save flash[:valid] = user2.username + " won!" @current_game.destroy elsif params[:answer].to_f == params[:f].to_f * params[:s].to_f # Multiply two numbers and assign it to answer parameter<EMAIL_ADDRESS>== @current_game.user1) @current_game.user1progress = @current_game.user1progress + 1 else @current_game.user2progress = @current_game.user2progress + 1 end # Save the game and display the message to the user @current_game.save flash[:valid] = "Correct Answer!" else flash[:invalid] = "Incorrect Answer!" end redirect_to games_path # Redirect the page to the game page end
PATCH/PUT /games/1 PATCH/PUT /games/1.json
# File app/controllers/games_controller.rb, line 61 def update respond_to do |format| if @game.update format.html { redirect_to @game, notice: 'Game was successfully updated.' } format.json { render :show, status: :ok, location: @game } else format.html { render :edit } format.json { render json: @game.errors, status: :unprocessable_entity } end end end


JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes
SEARCH:
JavaScript is disabled on your browser.
A
C
D
F
G
L
M
N
P
R
S
T
U
D
deleteAddress(Long)
- Method in class com.web_services.instant_pot.dal.address.
AddressDAL
deleteAddress(Long)
- Method in class com.web_services.instant_pot.domain.address.
AddressLogic
deleteAddress(Long)
- Method in class com.web_services.instant_pot.service.address.
AddressResource
deleteAddress(Long)
- Method in class com.web_services.instant_pot.service.address.workflow.
AddressActivity
deleteCustomer(long)
- Method in class com.web_services.instant_pot.domain.customer.
CustomerLogic
deleteCustomer(Long)
- Method in class com.web_services.instant_pot.dal.customer.
CustomerDAL
deleteCustomer(Long)
- Static method in class com.web_services.instant_pot.service.customer.workflow.
CustomerActivity
deletePartner(long)
- Method in class com.web_services.instant_pot.dal.partner.
PartnerDAL
deletePartner(long)
- Method in class com.web_services.instant_pot.domain.partner.
PartnerLogic
deletePayment(long)
- Method in class com.web_services.instant_pot.dal.payment.
PaymentDAL
deletePayment(Long)
- Method in class com.web_services.instant_pot.domain.payment.
PaymentLogic
deletePayment(Long)
- Method in class com.web_services.instant_pot.service.payment.
PaymentResource
deletePayment(Long)
- Method in interface com.web_services.instant_pot.service.payment.
PaymentService
deletePayment(Long)
- Method in class com.web_services.instant_pot.service.payment.workflow.
PaymentActivity
deleteProduct(Long)
- Method in class com.web_services.instant_pot.dal.product.
ProductDAL
deleteProduct(Long)
- Method in class com.web_services.instant_pot.domain.product.
ProductLogic
deleteProduct(Long)
- Method in class com.web_services.instant_pot.service.product.
ProductResource
deleteProduct(Long)
- Method in interface com.web_services.instant_pot.service.product.
ProductService
deleteProduct(Long)
- Method in class com.web_services.instant_pot.service.product.workflow.
ProductActivity
deleteReview(long)
- Method in class com.web_services.instant_pot.domain.review.
ReviewLogic
deleteReview(Long)
- Method in class com.web_services.instant_pot.dal.review.
ReviewDAL
deleteReview(Long)
- Method in class com.web_services.instant_pot.service.review.
ReviewResource
deleteReview(Long)
- Method in class com.web_services.instant_pot.service.review.workflow.
ReviewActivity
A
C
D
F
G
L
M
N
P
R
S
T
U
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes
JavaScript is disabled on your browser.


Before you can run the Activation browser, you must first start the activation system by running the rmid_wrapper script.
To run the activation system:
installation_directory/bin/rmid_wrapper.sh
installation_directory\bin\rmid_wrapper.exe
Running the rmid
wrapper sets the following additional
services:
java.security.policy
.
This policy is set to
installation_directory/bin/rmid.policy
. The policy
files provides all permission to the code. In addition, the policy
file provides all code permissions to use the -Djava.*
and -Dsun.*
parameters.
sun.rmi.server.activation.debugExec
.
This property is set to true.
You can use the same parameters with the rmid
wrapper as
you can with rmid
. You can specify -jkdhome
to indicate that you want to use a particular version of the JDK. The
rmid
wrapper and the rmid
use identical
logs. One use of both implementations is to use the rmid
wrapper for development and use the original rmid
for RMI
deployment.
| See also | |
|---|---|
| Adding an Activation Browser
Adding an Activation Group Activation System Node Commands Activation Group Node Commands Activatable Object Node Commands |


Loops and numbers
i = 0 while i < 11: i += 1
for i in range(11): pass
Conditionals
n = int(raw_input('enter a number: ')) if n < 0: print 'negative' elif n > 0: print 'positive' else: print 'zero'
Loops and strings
s = raw_input('enter a string: ') for eachChar in s: print eachChar # (does not print index)
or
for i in range(len(s)): print i, s[i]
i = 0 slen = len(s) while i < slen: print i, s[i]
for i, x in enumerate(s): print i, x
Loops and operators
subtot = 0 for i in range(5): subtot += int(raw_input('enter a number: ')) print subtot
# uses sum() BIF and generator expressions print sum(int(raw_input('enter a number: ')) for i in range(5))


Point related to water
| lib | phIoT |
|---|---|
| superkind | phIoT::Point |
| filter | point and water |
| Dict |
Dict is a map of tag name/value pairs |
|---|---|
| Entity |
Entity represents top-level dicts with a unique identifier |
| Point |
Data point such as a sensor or actuator |
| WaterPointQuantity |
Quantity of water measured or controlled |
|---|---|
| WaterPointSection |
Equipment section where point is located |
| WaterType |
Water usage type |
| water! | Marker |
Labels a Point as an WaterPoint |
|---|
Quantity of water measured or controlled
| flow | Marker |
Volumetric water flow |
|---|---|---|
| level | Marker |
Fill level of a tank as a percentage where 0% is empty and 100% is filled |
| pressure | Marker |
Water pressure |
| pump | Marker |
Water pump |
| temp | Marker |
Water temperature |
| valve | Marker |
Valve used to regulate or control the flow or pressure of water |
Equipment section where point is located
| bypass | Marker |
Point associated with by-pass in the piping system |
|---|---|---|
| delta | Marker |
Point associated with differential between entering and leaving |
| eaving | Marker |
Point associated with water leaving the equipment |
| entering | Marker |
Point associated with water entering the equipment |
Water usage type
| blowdown | Marker |
Water expelled from a system to remove mineral build up |
|---|---|---|
| chilled | Marker |
Water used for HVAC cooling |
| condenser | Marker |
Water used used to remove heat through condensation |
| domestic | Marker |
Tap water for drinking, washing, cooking, and flushing of toliets |
| hot | Marker |
Hot water used for HVAC heating or supply to hot taps |
| makeup | Marker |
Water used used to makeup water loss through leaks, evaporation, or blowdown |
Entity represents top-level dicts with a unique identifier
| dis | Str |
Display name for humans |
|---|---|---|
| id | Ref |
Defines the unique identifier of an entity in system using a Ref value type |
Data point such as a sensor or actuator
| enum | EnumRange |
Enuermated string names for Bool or Str points |
|---|---|---|
| equipRef | Contains « Equip |
Equip which contains this point |
| kind | Str |
Point value type |
| point! | Marker | |
| siteRef | Contains « Site |
Site which contains this point |
| spaceRef | Contains « Space |
Space which contains this point |
| tz | TimeZoneName |
TimeZone identifier point's historical data logs |
| unit | UnitName |
Unit of measurement for the point's value if numeric |
Point with support for a current value
| cur! | Marker | |
|---|---|---|
| curErr | Str |
Error message associated when curStatus indicates error condition |
| curStatus | Str |
Status of point's current value reading |
| curVal | Scalar |
Current value of the point |
Historized point with a history log of timestamp/value pairs
| his! | Marker | |
|---|---|---|
| hisErr | Str |
Error message associated when hisStatus indicates error condition |
| hisMode | Str |
Indicates the method of history data collection |
| hisStatus | Str |
Status of point's current history collection or synchronization |
| hisTotalized | Marker |
History is an accumulation of incrementing values |
Classifies point as a sensor, command, or setpoint
| cmd | Marker |
Point is a command, actuator, AO/BO |
|---|---|---|
| sensor | Marker |
Point is a sensor, input, AI/BI |
| sp | Marker |
Point is a setpoint, soft point, internal control variable, schedule |
Point with writable output using 16-level priority array
| writable! | Marker |
Labels a Point as a WritablePoint |
|---|---|---|
| writeErr | Str |
Error message associated when writeStatus indicates an error condition |
| writeLevel | Number |
Current priority level for writeVal as number between 1 and 17 |
| writeStatus | Str |
Current status of a writable point output |
| writeVal | Scalar |
Current desired value to write to output |


{% extends 'base.html' %} {% load conversation %} {% load event %} {% block title %}{% if page_section == 'terms' %}Terms of Use{% elif page_section == 'cookies' %}Cookie Policy{% elif page_section == 'privacy' %}Privacy Policy{% endif %} | About{% endblock title %} {% block description %}{% if page_section == 'terms' %}This document describes the general terms of use of the forum.{% elif page_section == 'cookies' %}This document describes what data we store on your computer in the form of browser cookies, and how they are used by us to provide the forum service.{% elif page_section == 'privacy' %}This document outlines the data that we hold on you that identifies you or is confidential, and how we use that data to provide the forum service to you. It further describes how we store and secure your data, as well as your rights regarding this data.{% endif %}{% endblock description %} {% block content %}


@* * This template is called from the `orderandchaos` template. This template * handles the rendering of the page header and body tags. It takes * two arguments, a `String` for the title of the page and an `Html` * object to insert into the body of the page. *@ @(title: String)(content: Html)
@* Here's where we render the page title `String`. *@


Tips
- Click on the HTML or JavaScript labels to hide the JavaScript panel (this is stored to your preferences).
- To only show the HTML panel use #html on the end of the url, such as http://jsbin.com/#html
- “Use as my template” stores the current code as the default code you see when you open a new JS Bin window.
- Refreshing the window will not lose your changes.
- Use
console.log
to display debug information. If Firebug is present, then the logging goes there, otherwise it will show in a custom console window.
- To view only the JavaScript append
/js
to the url, i.e. http://jsbin.com/ujayi/js
Keyboard navigation
The shortcuts are used by using your browser accesskeys
and the key listed below to trigger the shortcut (each browsers' access keys are typically different).
- 1
- View source
- 2
- View preview
- ←
- Focus JavaScript
- →
- Focus HTML


--- title: Boxfish FLIR Cameras Library keywords: fastai sidebar: home_sidebar summary: "This project allows the remote running of camera over an ethernet connection" description: "This project allows the remote running of camera over an ethernet connection" ---
It uses the pyZMQ to allow the remote running of camera over an ethernet connection using the
Publish/Subscribe
messaging pattern. This has proved to be more efficient in bandwidth over the Request/Reply pattern
.
There are server and client examples including an example of how stereo camera pairs can be configured and synchronised recordings made.
This library and documentation had been generated with fastai nbdev
nbdev is a library that allows you to fully develop a library in Jupyter Notebooks, putting all your code,
tests and documentation in one place.
https://nbdev.fast.ai/
Clone or download the project from https://github.com/johnnewto/FLIR_pubsub
If running a server then you will need to follow details in UPBoard_setup and FLIR_server_utils
If running a client then you only need to copy or symlink the FLIR_pubsub/FLIR_pubsub
directory as a local directory
Examples of clients are shown in FLIR_pubsub/run
More details are described in
FLIR_client_utils
Normally it is best to setup a virtual environment, call it flir, and install the requirements with
pip install -r requirements.txt
from FLIR_pubsub import FLIR_server_utils
FLIR_server_utils.register()
from pathlib import Path
if __name__== "__main__":
yaml_dir= Path.cwd()/'common'
FLIR_server_utils.server(yaml_dir)
For more details see FLIR_server_utils
from FLIR_pubsub import FLIR_client_utils
if __name__== "__main__":
FLIR_client_utils.stereo_client(name1='FrontLeft', name2='FrontRight', url='localhost', video='video.avi', vcodec='mjpeg')
For more details see FLIR_client_utils


The Hren
Family |
|
|
|
|
| Well these are Becky’s parents.
Some say that she looks nothing like them (mostly because of
her blonde hair) but when she is around them it is obvious that
they are her folks! |
| Rudy Hren |
Rudy is an Investigator for the Department of
Labor in Cleveland, Ohio. He has worked there ever since Becky
has been alive which means he is almost done working forever.
He is excited to be retiring soon and plans on watching more
reruns of This Old House along with building their new house
in Chardon. Presently, in his free time now he loves to watch
PBS, drink beer, go bowling, and harass Becky! |
| |
|
| Terri Hren |
Terri is a Special Education teacher and department chair
at Garfield Heights High School in Garfield Heights., Ohio.
She has been a teacher Becky’s whole life but did not
go back to work full time until Becky was in high school. (Authors
Note: I believe that is why Tony and I are both so successful).
Although she was not teaching for money for all those years
she was busy being a teacher at home to both Becky and her big
brother, Tony. In Terri’s free time she enjoys shopping
(always getting the best deals in town), crafting and watching
other people’s cable television! |
| Rudy and Terri have been happily married
for over 25 years and have been the best parents Becky could
ever ask for! |
|
|
| This is Becky’s only brother, Tony, his
wife of three years, Kelly, and their new baby, Anthony Junior
(A.J.). They currently live in St. Clair, Minnesota, which is
about two hours south of the Twin Cities. With them in Minnesota
they have a fish and two dogs. |
| Tony Hren |
Tony is a mechanical engineer and product owner
for GE. He graduated from Case Western Reserve University about
five years ago and has been with GE ever since. However you
would not know that he has been with the same company for all
this time because he and his family have moved three times and
are getting ready to move again. Tony and Becky were best buds
growing up and continue to have a very close relationship. It
is for this reason that Tony is Becky’s best person for
the wedding. They were as close as any sisters could be so why
not have Tony stand by Becky’s side. |
| |
|
| Kelly Hren |
Presently Kelly has the most important job of any of us, she
is a full-time, stay-at-home mother. In the past Kelly has worked
in the managed care world, taking care of people and their insurance.
Currently Kelly spends all her time producing nourishment for
little AJ and cleaning up after him and the dogs. In Kelly’s
spare time she enjoys doing cross-stitch, shopping and watching
movies with Tony. |
| Becky was only blessed with one brother but she
got the cream of the crop when it comes to brothers and sisters-in-law!
|
|
|
|
|
|
Anthony Hren Jr (AJ) |
Anthony Junior (AJ) is the newest
addition to the Hren family. AJ was born on May 16th of this
year and has been a little farting ray of sunshine ever since.
He does not do much right now except eat, sleep and poop, but
he does it cuter than any other baby we know. |
| |
|
|
Flint and Bluto |
With them in Minnesota they have a fish and the
two best dogs in the world, Flint, the prodigy child and Bluto,
well, lets just say he is the second child! |
Flint |
Bluto |
|
|
|
|


Big thanks to Pivotal Labs for monthly support and New Work City for letting us test out viability
A conference for front-end developers and designers that love Sass and are passionate about building a better, more beautiful web.
From open-source tools like Django, Compass, and Susy to web applications for Mozilla and Junyo, or experiments in digital storytelling — we love molding ideas into experiences for humans.
Psst...We're looking for a designer that likes eating dessert with a soup spoon or spork.
The way we presently architect the front-end is very strange and even a
bit broken. In many instances you're either copying huge chunks of HTML
out of some doc and then pasting that into your app (Bootstrap, Foundation, etc.),
or you're sprinkling the page with jQuery plugins that have to be
configured using JavaScript.
In an ideal scenario, the HTML language would be expressive enough to
create complex UI widgets and also extensible so that we,
the developers, could fill in any gaps with our own tags.
Rob Dodson, A Guide to Web Components
Componenent allow us to bundle markup and styles into custom HTML elements that
fully encapsulate all of their HTML, CSS and behaviors (JS).[Web] Components are ushering in a HTML renaissance, encouraging us to
think about how we can bring back the declarative simplicity of HTML
to the components we write today.
Templating languages are to HTML what pre-processors are to CSS
will only get you part way there
Macros are comparable with functions in regular programming languages.
{% for c in people %}
{{ people_macros.render_summary(c) }}
{% endfor %}
a modern and designer friendly templating language for Python, modelled after Django’s templates.
“Nunjucks has allowed us to port all of our existing templates from
a Django project to something that's easier to manage.
By moving our templates to the client, transfer sizes are reduced
and page responsiveness increases significantly.
Our API supplies data, meaning we can decouple testing the
front-end from testing the back-end.
Nunjucks has made our app feel native.”
– Matt Basta, Firefox Marketplace team
Structure your information models such that every data element is stored exactly once
$colors: (
'basecolors': (
'black': hsl(0, 0%, 15%),
'pink': hsl(360, 50%, 50%),
'yellow': hsl(46, 100%, 50%),
'orange': hsl(22, 88%, 54%),
'cyan': hsl(189, 62%, 66%),
'blue': hsl(198, 77%, 48%),
'green': hsl(79, 56%, 65%),
)
);
{% set colors = {
'base': {
'white': '#fff',
'black': 'hsl(0, 0%, 20%)',
'gray': 'hsl(75, 14%, 95%)',
'yellow': 'hsl(46, 100%, 50%)',
'orange': 'hsl(22, 88%, 54%)',
'cyan': 'hsl(189, 62%, 66%)',
'blue': 'hsl(198, 77%, 48%)',
'green': 'hsl(79, 56%, 47%)',
}
}
%}
{
"basecolors": {
"black": "#262626",
"pink": "#bf4040",
"yellow": "#ffc300",
"orange": "#f16e22",
"cyan": "#73cede",
"blue": "#1ca0d9",
"green": "#b8d874"
}
}
$colors: (
'basecolors': (
'black': hsl(0, 0%, 15%),
'pink': hsl(360, 50%, 50%),
'yellow': hsl(46, 100%, 50%),
'orange': hsl(22, 88%, 54%),
'cyan': hsl(189, 62%, 66%),
'blue': hsl(198, 77%, 48%),
'green': hsl(79, 56%, 65%),
)
);
{% set colors = {
'base': {
'white': '#fff',
'black': 'hsl(0, 0%, 20%)',
'gray': 'hsl(75, 14%, 95%)',
'yellow': 'hsl(46, 100%, 50%)',
'orange': 'hsl(22, 88%, 54%)',
'cyan': 'hsl(189, 62%, 66%)',
'blue': 'hsl(198, 77%, 48%)',
'green': 'hsl(79, 56%, 47%)',
}
}
%}
provides classic json-encode
and json-decode
directly from your Sass files.
We'll leave you the only judges of the point of this.
Lightweight Compass extension that allows you to export an encoded Sass map into an external JSON file.
$colors: (
'basecolors': (
'black': hsl(0, 0%, 20%),
'pink': hsl(360, 50%, 50%),
'yellow': hsl(46, 100%, 50%),
'orange': hsl(22, 88%, 54%),
'cyan': hsl(189, 62%, 66%),
'blue': hsl(198, 77%, 48%),
'green': hsl(79, 56%, 47%),
)
);
@include SassyExport("/contents/color.json", $colors, true);


Particle simulation. Completely elastic collisions between indesctructible particles and a rough or "bumpy" surface, that causes dispersion in a random direction.
Bottom graph is a projection of the accumulated number of particles that reach the bottom line. Click on the 🔊 checkbox to hear a click every time this happens.


Set up your premiumize.me account with 15 days bonus premium status at: www.premiumize.me
Copyright 2018 by Tensai
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Homepage: https://tensai75.github.io/NZBDonkey
GitHub page: https://github.com/Tensai75/NZBDonkey
Please open a GitHub issue for support questions.


THE CREW RATING: 6/10 --> Barely recommendable
For more reviews and movie trailers, visit http://www.joblo.com/
A great premise that shoulda been done a long time ago: so what happens to all of these mobsters once they make it past their salad days and wander into the realm of senior citizen? What would Tony Montana be doing in his late 70s? What about Henry Hill, Jimmy and Tommy from GOODFELLAS? Would they still be "busting" each other's balls, foggeding abouddit and talking about whacking out this and that guy? Great premise for a comedy, right? Well, unfortunately these old-timers only succeed about halfway.
PLOT: Four mobsters have run into an enemy that they could never turn back: old age. Past their mafioso prime and living in a condo down in Miami Beach, these four friends just don't know what to do with themselves anymore. But when faced with an eviction from their comfortable little abode, the four-some decide to wrangle up some of their old school techniques so that they could stay in Florida. Deed done, the crew fall back into their mobster ways, but not without many blunders, whoopsies and screwups.
CRITIQUE: A cute movie featuring some fun performances from its stars which gives plenty of nods to its primary source of inspiration, GOODFELLAS, but not enough full fledged humor to complete its intriguing premise. I was hoping that this movie would be funnier, more interesting and better paced, but the whole of the film provided for a few good laughs, an unnecessarily convoluted plot and way too many characters for its own good. For example, I loved Burt Reynolds' character. The guy was a badass in the day and older now, still refusing to allow his age dictate his way of being. Unfortunately, we don't get enough of the guy. A few cutesy scenes of him getting pissed at people and that's that! I wanted more Burt!! (I never thought I'd ever hear myself say that). I also liked the Columbian drug lord, played delectably by Miguel Sandoval, a man who knows that he's a walking cliché of a drug lord and even says so in the movie! Funny stuff.
But most of the humor in the film is just too sporadic and weak. I was waiting to laugh, but the laughs did not come, as the film involved itself in way too many shenanigans and characters. There was no real need to put in a shmaltzy "dad looking for his long-lost daughter" side-story (that's another movie, fellas!) and waste more time with a couple of cops bickering about the mistakes that were made in their past relationship. The film is called THE CREW and I wished the filmmakers had stuck more with them, and tried to make the script funnier and tighter for the audience. But enough wishing! For what it was, the film did have a nice feel, some groovy "old school" tunes, solid performances from the top four, some funny jokes, plenty of cool camera tricks, and enough GOODFELLAS references to put a smile on my face (see below for specifics). On the downside, the film didn't live up to its potential, slowed down at several points and didn't provide enough "funny" for the money. In the end, I would say that this is the perfect "video movie" for those who appreciate the gangster genre, want to see Jennifer's Tillies as a stripper and enjoy easy-going humor. In fact, the older generation will more than likely enjoy this one more than the rest of us, since many of the jokes are somewhat generational. And with the success of SPACE COWBOYS, who knows...this might just be the perfect timing!
Little Known Facts about this film and its stars: Maybe it's because GOODFELLAS is one of my favorite films of all time, but here are only a few of the obvious references/nods that I noticed in this film: 1) The film starts off with a voice-over from one of the characters telling us about how "from as long as he could remember, he always wanted to be a wiseguy". Check! 2) One of the characters in this film mentions how he's now turned into a "9 to 5 schnook", a person who Henry Hill (the lead in GOODFELLAS) never wanted to become. Check! 3) A character mentions the Luftansa heist at one point in this movie. That heist is the one performed by the GOODFELLAS gang back in the 70s. Check! 4) The film is packed with several of Scorsese's trademark camera moves with freeze-frames and swooping camera shots galore. Check!  Also to note, Reynolds' character is nicknamed "Bats". Check once more! 6) Finally, and easily the most obvious homage to Scorsese is the scene in which the crew slip a guy some dough to get into a restaurant and are taken through an entire kitchen with us following them the whole way with a hand-held camera. Very cool. Checkmate! The screenwriter obviously knows his GOODFELLAS. If you know of any others, please let me know and I will add them to this list.
Review Date: August 23, 2000 Director: Michael Dinner Writer: Barry Fanaro Producer: Barry Sonnenfeld and Barry Josephson Actors: Richard Dreyfuss as Bobby Bartellemeo Burt Reynolds as Joey "Bats" Pistella Dan Hedaya as Mike the Brick Seymour Cassel as Tony "Mouth" Donato Genre: Comedy Year of Release: 2000 ------------------------------------ JoBlo's Movie Emporium http://www.joblo.com/ ------------------------------------ (c) 2000 Berge Garabedian
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Before Change
"GridBox",
Expression("List", *(
Expression("List", *(
Expression("MakeBoxes", item, f) for item in row.leaves))
for row in array.leaves)),
*options_to_rules(options))
After Change
"""MakeBoxes[Grid[array_?MatrixQ, OptionsPattern[Grid]],
f:StandardForm|TraditionalForm|OutputForm]"""
lengths = [len(row.leaves) for row in array.leaves]
segment = []
boxes = evaluation.make_boxes([item for row in array.leaves for item in row.leaves], f, segment)
if segment[0]: // too long?
return Omitted("<<%d>>" % sum(lengths))
else:
rows = []
i = 0
for l in lengths:


We price our products at a reasonably. We provide them at lesser rates than anywhere else
For your comfort, just order groceries with few clicks. Online shopping anytime, anywhere. Simple.
We are committed to provide you best quality products. All goods come from generic brands and at reasonable prices.
Om Prakash Sharma
Online Fresh
(Director)
Sector-16, Faridabad
8470809024,8470809014
olfonlinefresh@gmail.com


{Position or job profile}
I'm {firstName} from {location}. As part of the inaugural class of MLH Fellows, I contributed to the {projectLanguage} ecosystem with a team of Fellows under the educational mentorship of professional software engineers.
Add link to resume?


"Advice for Data Scientists on Where to Work'"
(source: Stitch Fix Technology Blog)
"It's a good time to be a data scientist. If you have the skills, experience, curiosity and passion, there is a vast and receptive market of companies to choose from. Yet there is much to consider when evaluating a prospective firm as a place to apply your talents. Even veterans may not have had the opportunity to experience different organizations, stages of maturity, cultures, technologies, or domains. We are amalgamating our combined experience here to offer some advice - three things to look for in a company that could make it a great place to work..."
[click to continue reading]


HI. WE'RE NETWRK.
WE LIVE AND BREATHE CODE.
We're a small team of developers who are passionate about crafting great software. We're some of the faces behind Ember.js, Ruby on Rails, jQuery and more. We're here to help you bulid the products and tools of the future.
WHAT WE DO
EMBER.JS & PROJECT CONSULTING
We can handle the most challenging technical problems, and we've also got architecture, product and marketing chops.
TRAINING & SPEAKING ENGAGEMENTS
We offer public, private and group training classes for Ember.js, Ruby on Rails and JavaScript. We also speak at industry conferences.
OPEN SOURCE DEVELOPMENT
We've created and made contributions to some of the most notable and succesful open-source projects in the world.


What is this corpus
all about?
UN has developed a report on how to tackle inequality in SubSaharan Africa. The geographical focus is peculiar, but it serves a purpose: most of the countries on that region are the ones leading the GINI ranking on inequality. The report is divided into several chapters, each one dealing with specific themes and problems within economic and socio-politic issues and boundaries.
The fifth chapter provides us with two difficult tasks. 1. How to develop a better economical model for the selected countries regarding the scope and complexity of their companies and assets. 2. And how to parse this information into guidelines and polices.
To get a better understanding, we can break this document into its subchapters and try to understand the terms, as a way to insert us into complex methodologies and graphs.
How this work was done
Each word in these word bubbles was sized to its frequency in each paragraph. Their colors show in which range they fall. Common words such as pronouns and articles, and also years/reference numbers, were removed with Javascript. The visualization was rendered with D3.
5.1 Intro Explanation of methodologies
5.2 Evidence of structural transformation in Africa Examples of economic growth.
5.3 Methodology and data description More methodologies and formulas explaining the ECI
5.4 Estimating the determinants of Africa’s manufacturing performance Description of Africa's economic sectors and its diversity.
5.5 Conclusions and policy recommendations Analysis and advices.


The culture of Kerala is a synthesis of Aryan and Dravidian cultures, developed and mixed for centuries, under influences from other parts of India and abroad. It is defined by its antiquity and the organic
continuity sustained by the Malayali people.Modern Kerala society took shape owing to migrations from different parts of India and abroad throughout Classical Antiquity.
Kerala traces its non-prehistoric cultural genesis to its membership (around the AD 3rd century) in a vaguely defined historical region known as Thamizhagom — a land defined by a common Tamil culture and encompassing the Chera, Chola,
and Pandya kingdoms. At that time, the music, dance, language (first Dravida Bhasha — "Dravidian language" — then Tamil), and Sangam (a vast corpus of Tamil literature composed between 1,500–2,000 years ago) found in Kerala were all
similar to that found in the rest of Thamizhagom (today's Tamil Nadu).
Performing arts
Native traditions of classical performing arts include koodiyattom, a form of Sanskrit drama or theatre and a UNESCO-designated Human Heritage Art. Kathakali (from katerumbu ("story") and kali ("performance")) is a 500-year-old form of
dance-drama that interprets ancient epics; a popularized offshoot of kathakali is Kerala natanam (developed in the 20th century by dancer Guru Gopinath). Meanwhile, koothu is a more light-hearted performance mode, akin to modern stand-up
comedy; an ancient art originally confined to temple sanctuaries, it was later popularized by Mani Madhava Chakyar.
Other Keralite performing arts include mohiniyaattam ("dance of the enchantress"), which is a type of graceful choreographed dance performed by women and accompanied by musical vocalizations. Thullal, Thirayattam, padayani, and theyyam
are other important Keralite performing arts.Thirayattam is one of the most outstanding Ethnic art of kerala.
Folklore
The folklore of Kerala includes elements from the traditional lifestyle of the people of Kerala. The traditional beliefs, customs,rituals etc. are reflected in the folkart and songs of Kerala. Kerala has a rich tradition of Folklore.
Folklore in this region is a spontaneous expression of human behavior and thoughts. Generally speaking, Folklore could be defined as the lore of the common people who had been marginalized during the reign of feudal Kings. The Keralites
have their culture and lore which were mostly part of agricultural.
Sowing, planting of nharu (seedling), clearing out the weeds, harvests etc. are the different stages of agriculture which have their typical rituals. Numerous songs and performing arts are accompanied with them. Kanyar Kali, Padayani,
Mudiyettu, Thirayattam, Malavayiyattam, Theyyam, Kothamooriyattam, Nira, Puthari, etc. are some of the ritual folklore of Kerala. It was under the rule of Kolathiris, the Kings of Kolathunadu, and they codified the rituals, beliefs,
taboos and folk performing arts.
Onam
(Malayalam: ഓണം) Onam is a harvest festival celebrated extravagantly by the people of Kerala, India. It is also the state festival of Kerala with State holidays on 4 days starting from Onam Eve (Uthradom) to the 4th Onam Day. Onam
Festival falls during the Malayalam month of Chingam (Aug - Sep) and marks the commemoration of Vamana avatara of Vishnu and the subsequent homecoming of King Mahabali, who Malayalees consider to be just and fair King who was exiled to
the underworld. Onam is reminiscent of Kerala's agrarian past, as it is considered to be a harvest festival. It is one of the festivals celebrated with most number of cultural elements. Some of them are Vallam Kali, Pulikkali, Pookkalam,
Onatthappan, Thumbi Thullal, Onavillu, Kazhchakkula, Onapottan, Atthachamayame etc.
Another distinct feature of the festival is 'Ona Sadhya' (Onam Feast) and consists of numerous dishes served on banana leaf and 'Ona Kodi' (new dress for the special occasion).


We’re sorry but ParkourFinder doesn’t work properly without JavaScript enabled. Please enable it to continue.


Snow blamed for lower Yellowstone visitation in October
YELLOWSTONE NATIONAL PARK, Wyo. (AP) - The National Park Service says snowy weather last month likely cut down on visitors to Yellowstone National Park during October.
The agency recorded just over 170,000 visitors during the month, a 22% decrease from October 2018.
So far in 2019, the park has hosted over 3.9 million visitors, which is down 2.5% from the same period last year.
Yellowstone is entering its winter season, when visits to the park are typically the lowest of the year.
Sign up for Daily Newsletters
Copyright © 2019 The Washington Times, LLC.
Please read our comment policy before commenting.


CodeForces 344C， CodeForces 359A
前言
这次只包含题1和题2的题解，题3和题4实在是太水了，从题5开始都是我要看别人的题解的了QAQ
各题链接
下面有好多都是缺图的QAQ，各位看官可以点链接看
- CodeForces 344C —— Rational Resistance： http://codeforces.com/problemset/problem/344/C
- CodeForces - 359A —— Table http://codeforces.com/problemset/problem/359/A
- UVA - 10970 —— Big Chocolate https://vjudge.net/problem/UVA-10970
- CodeForces - 758B —— Blown Garland http://codeforces.com/problemset/problem/758/B
- UVA - 11997 —— K Smallest Sums https://vjudge.net/problem/UVA-11997
- CodeForces - 672D —— Robin Hood http://codeforces.com/problemset/problem/672/D
- UVA - 11134 —— Fabled Rooks https://vjudge.net/problem/UVA-11134
- UVA - 11925 —— Generating Permutations https://vjudge.net/problem/UVA-11925
CodeForces 344C —— Rational Resistance
Description
Mad scientist Mike is building a time machine in his spare time. To finish the work, he needs a resistor with a certain resistance value.
However, all Mike has is lots of identical resistors with unit resistance R0 = 1. Elements with other resistance can be constructed from these resistors. In this problem, we will consider the following as elements:
one resistor;
an element and one resistor plugged in sequence;
an element and one resistor plugged in parallel.
With the consecutive connection the resistance of the new element equals R = Re + R0. With the parallel connection the resistance of the new element equals . In this case Re equals (R = 1/(1/Re + 1/R0)) the resistance of the element being connected.
Mike needs to assemble an element with a resistance equal to the fraction . Determine the smallest possible number of resistors he needs to make such an element.
Input
The single input line contains two space-separated integers a and b (1 ≤ a, b ≤ 10^18). It is guaranteed that the fraction a/b is irreducible. It is guaranteed that a solution always exists.
Output
Print a single number — the answer to the problem.
Please do not use the %lld specifier to read or write 64-bit integers in С++. It is recommended to use the cin, cout streams or the %I64d specifier.
Sample Iutput
1 1
3 2
199 200
Sample Output
1
3
200
Hint
In the first sample, one resistor is enough.
In the second sample one can connect the resistors in parallel, take the resulting element and connect it to a third resistor consecutively. Then, we get an element with resistance 1/(1/1 + 1/1) = 3/2 . We cannot make this element using two resistors.
思路
题目的大意是用n个R=1的元件通过并联、串联组成R=a/b的电路，求n
首先注意到 给定的a/b，转换为b/a也是一样的 ，因为若a > b， 则给定的电路一定至少存在一个储在外部的串联元件，因为最外围的如果是并联的，即整个电路为并联电路，那么R < 1，a < b，与 a > b矛盾，既然存在一个外部的串联元件，则可以将其并联得到新的R = 1/(a/b -1 + 1) = b/a，因此两者所需的元件是相同的
因此给定a/b，若 a < b，即为并联电路，则转换为b/a，将其转换为串联电路，这时可以求出外部到底有几个串联元件，只需将 b/a 不断减1, 减到小于1即可，因此这部分的外部串联元件数为 b/a，减完的结果为 (b%a)/a， 此时的电路为并联电路，重复以上步骤，累加外部串联的元件数即是结果
#include <iostream>
#include <algorithm>
using namespace std;
typedef long long ll;
int main(){
ios::sync_with_stdio(false);
ll a, b;
while(cin >> a >> b){
ll sum = 0;
while(a != 1 && b != 1){
if(a < b) swap(a, b);
sum += a/b;
a %= b;
}
sum += max(a, b);
cout << sum << endl;
}
return 0;
}
CodeForces - 359A —— Table
Description
Simon has a rectangular table consisting of n rows and m columns. Simon numbered the rows of the table from top to bottom starting from one and the columns — from left to right starting from one. We’ll represent the cell on the x-th row and the y-th column as a pair of numbers (x, y). The table corners are cells: (1, 1), (n, 1), (1, m), (n, m).
Simon thinks that some cells in this table are good. Besides, it’s known that no good cell is the corner of the table.
Initially, all cells of the table are colorless. Simon wants to color all cells of his table. In one move, he can choose any good cell of table (x1, y1), an arbitrary corner of the table (x2, y2) and color all cells of the table (p, q), which meet both inequations: min(x1, x2) ≤ p ≤ max(x1, x2), min(y1, y2) ≤ q ≤ max(y1, y2).
Help Simon! Find the minimum number of operations needed to color all cells of the table. Note that you can color one cell multiple times.
Input
The first line contains exactly two integers n, m (3 ≤ n, m ≤ 50).
Next n lines contain the description of the table cells. Specifically, the i-th line contains m space-separated integers ai1, ai2, …, aim. If aij equals zero, then cell (i, j) isn’t good. Otherwise aij equals one. It is guaranteed that at least one cell is good. It is guaranteed that no good cell is a corner.
Output
Print a single number — the minimum number of operations Simon needs to carry out his idea.
Sample Iutput
3 3
0 0 0
0 1 0
0 0 0
4 3 0 0 0 0 0 1 1 0 0 0 0 0
Sample Output
4
2
Hint
In the first sample, the sequence of operations can be like this:
For the first time you need to choose cell (2, 2) and corner (1, 1).
For the second time you need to choose cell (2, 2) and corner (3, 3).
For the third time you need to choose cell (2, 2) and corner (3, 1).
For the fourth time you need to choose cell (2, 2) and corner (1, 3).
In the second sample the sequence of operations can be like this:
For the first time you need to choose cell (3, 1) and corner (4, 3).
For the second time you need to choose cell (2, 3) and corner (1, 1).
思路
题目大意为，给一个矩阵染色，每次可以选择 矩阵上值为1的点 和 矩阵的4个顶点其中的一个，这两点为顶点所构成的矩形为矩阵本次的染色范围， 已知矩阵上值为1的点不会出现在矩阵的四个顶点处，求给给定的矩阵完全染色颜色，至少要染几次色
本题很水！这题最大的坑在于样例2, 样例2完全可以选择(2, 3)(4, 3) 和 (2, 3)(1, 1)，换句话说点(3, 1)是没用的，也就是 只要有一个在边缘的点就只需要染2次， 如果点都不在边缘，无论他们如何配合着染色，都至少需要染4次
#include <iostream>
#include <algorithm>
using namespace std;
typedef long long ll;
int main(){
ios::sync_with_stdio(false);
int m, n;
while(cin >> m >> n){
bool flag = false;
int tmp;
for(int i = 0; i < m; i++){
for(int j = 0; j < n; j++){
cin >> tmp;
if(tmp == 1 && (i == 0 || i == m - 1 || j == 0 || j == n - 1)){
flag = true;
}
}
}
cout << (flag ? 2 : 4) << endl;
}
return 0;
}


NEMESIS 3: TIME LAPSE aka NEMESIS 3: PREY HARDER
USA. 1995. Director/Screenplay - Albert Pyun, Producers - Tom Karnowski & Gary Schmoeller, Photography - George Mooradian, Music - Tony Riparetti, Visual Effects - Stargate Films Inc, Special Effects - Guy Faria, Nebula and Makeup Effects - David Barton, Makeup Effects - Maurine Schlenz, Art Direction - Rob Bowen & Tracy Hennigan. Production Company - Imperial Entertainment/Filmwerks/Toga Productions. Sue Price (Alex), Tim Thomerson (Farnsworth 2), Norbert Weisser (Edson), Xavier Declie (Johnny), Sharon Bruneau (Lock), Debbie Muggli (Ditko), Ursula Sarclev (Ramie), Earl White (Brick), Karen Studer (Zema)
Plot: Alex comes around in the desert with amnesia. Aided by Farnsworth 2, who unaware to her is an illusion- projecting cyborg bounty hunter, she tries to piece her memories together. Gradually she begins to remember her flight from other killer cyborgs and her bid to rescue her sister who has returned through time to bring her back to the future.
‘Nemesis 2: Nebula' (1995) was almost entirely unrelated to the first `Nemesis' (1993) other than the basic theme of both featuring cyborgs/androids trying to overthrow humanity. `Nemesis 3' however directly follows on from `Nemesis 2' - the two can be run together without a break. Indeed both films appear to have been filmed back-to-back - they both share virtually the same credits and some actors are credited as being in both films despite having appeared only in one.
`Nemesis 2' had almost nothing in the way of plot but nevertheless proved quite an efficient sf/action vehicle by virtue of keeping its action moving the entire time. To its credit `Nemesis 3' at least tries to be something a little different and take the emphasis away from action. There is some (but not much) attempt at developing more plot. Unfortunately in the absence of action there isn't too much else to give the film any drive. In a rather unwieldly dramatic structure the latter half of the film becomes an entire flashback as Price regains her memory - and eventually turns into an sf-action chase film all over again. Only this time it's not quite as effective as its predecessor - a car chase at the climax with digitally blurred dune buggies doesn't work and the ending comes annoyingly abruptly as the film sets itself up for the next sequel, ‘Nemesis 4: Death Angel'.
On the film's plus side it has some moments of immense strangeness. There's an intensely weird opening section with heroine Sue Price waking up with complete amnesia and Tim Thomerson turning up as a mercenary who, unseen to her, keeps unnervingly slipping back and forward between human and a gleaming metal robot skeleton and scanning her with glowing green eyes while she is unconscious.
Copyright 1998 Richard Scheib
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


This optional field need to be populated with env variable name that is set at Jenkins side to uniquely identify the build run.
If you do not want this feature leave this field blank.


Feature improvements
- Documentation for upgrading from 2.x is in raddb/README.rst
Please follow it. It will make the upgrade easier.
- Moved configuration entries in radiusd.conf to make more sense.
- Added the "integer64" and "ipv4prefix" data types.
- Added RADIUS over TLS (i.e. RadSec). See raddb/sites-available/tls
- Updated internal API to support new attributes and formats
- Added code to send SNMP Traps. See raddb/trigger.conf.
- Added preliminary support for Apple's Grand Central Dispatch
- Added provisions for raddb/dictionary.local, for local changes.
See raddb/dictionary for more details.
- Added packet/s tracking. See max_pps in the "listen" section.
- The %{} expansions and "unlang" conditions are now parsed at server
start. Descriptive errors are produced for syntax and format errors.
- Casting is now supported for "unlang" comparisons. See "man unlang"
e.g. <IP_ADDRESS> == Framed-IP-Address.
- Direct comparison of attribute references is now supported.
e.g. &Foo == &Bar. This avoids stringification of the attributes.
- Direct assignment of attributes is now supported.
e.g. Foo := &Bar. It also works for "octets" data types.
- Comparisons of IPv4 and IPv6 prefixes are now supported.
The "<" operator means "within the prefix" for comparisons.
- New sha1 xlat expansion (thanks to Alan Buxey)
- Colourised log messages when logging to stdout. Look for yellow
warnings and red errors.
- If the PCRE library is available, use it (insted of the POSIX
functions) to process regular expressions (thanks to Phil Mayers).
- -xv now displays all the features the server was built with, and
the versions of the core libraries (libtalloc, libssl).
Module Changes
- Moved raddb/modules/ to raddb/mods-available/, and raddb/mods-enabled/,
following the examples of other projects.
- Additional files for each module are now in raddb/mods-config/.
See raddb/mods-config/README.rst for documentation.
- Moved "users" to raddb/mods-config/files/authorize
- Moved "hints" and "huntgroups" to raddb/mods-config/preprocess/
- Moved eap.conf to mods-available/eap
- Moved sql.conf to mods-available/sql
- Moved TLS configuration for EAP into a common subsection.
See raddb/mods-available/eap, "tls-config" section.
- Added for MS-CHAP Change Password from Phil Mayers.
See raddb/mods-available/mschap, "passchange" subsection.
- Added EAP-PWD implementation from Dan Harkins
- Added connection pools for modules. This unifies connection
management which was previously different for different modules.
- SQL now uses the connection pool. See mods-available/sql
- SQL now supports arbitrary Acct-Status-Types.
These changes are not compatible with 2.x.
- SQL now has full support for SQLite. See raddb/sql/main/sqlite/
- SQLite supports auto-creation of new databases on server startup for
bootstrapping purposes.
- LDAP now uses the connection pool. The LDAP module has been
completely re-written for performance and simplicity.
- LDAP now caches groups. This makes multiple group checks MUCH
faster.
- Removed all limitations on 253 octet attributes. RFC 6929 allows
for attributes up to 4K in length.
- New rlm_idn module providing an expansion for performing IDNA encoding
of internationalized domain names. Thanks to 'skids'.
- New rlm_yubikey module to validate yubikey OTP tokens.
See raddb/modules/yubikey
Internal API Changes
- All traces of the old build system have been removed.
The new build system is faster and simpler.
- clang is fully supported.
- We now use "talloc" for memory management. A number of new
features required this change. Thanks to the Samba people!
- Many internal APIs have been updated to use talloc.
- New API for iterating over VALUE_PAIRs. This is in preparation
for attributes, in version 3.1.
- No new code should directly modify any field of a VALUE_PAIR.
- VALUE_PAIRs contain pointers to DICT_ATTR instead of containing
attribute and vendor fields. This will allow nested attributes.
- Some protocol specific code has been moved out into proto_* modules.
More will come in subsequent versions. See proto_dhcp and proto_vmps.
- Standardised internal logging macros. radlog() should not be used.
See src/include/log.h
- Use OpenSSL hashing functions when available.
- The server now builds with no warnings on most platforms.
- New RADIUS encoder/decoder, to support new formats.
- Added RFC 6929 "extended attributes", via the new encoder/decoder.
- Added full WiMAX support, via the new encoder/decoder. The old
code could not handle some unusual corner cases.
Bug fixes
- All known bug fixes from 2.2.x are included.
- Removed "addport" functionality.
- Removed many unused or duplicate modules. See raddb/README.rst.


6 minutes
The good, the bad and the ugly of microservices
Without any doubts the year 2020 is one everyone is going to remember and it will appear in the history books (and wikipedia). Amidst so much chaos, the established way of working was forced to change, and companies that before rejected work from home had to adapt. In this way, teams that before shared a room and suffered unnecessary meetings, now started functioning as distributed teams (or distributed systems), that share a queue of messages using tools like email and slack (async communication) - and have meetings with lesser frequency (sync communication).
Great part of the IT industry agree with remote work, and beside topics like if the employer should pay for employees’ monitors and internet there is not any major complain.
If one make the assumption that a distribute team is better, can one also assume that a company using microservices is better? The answer is surely not black or white as there are certain topics to analyze.
In the next paragraphs you will find “the good, the bad and the ugly” of the microservices. This is an extract of two podcast episodes of Stream 404 , a channel on which, me and my friends, stream monthly about different IT topics. The content of the episodes is on spanish, so the extract will be on english to cover a broader audience.
The good, the bad and the ugly
Title of an old film and also of a retrospective , consists on naming good things (that the team should repeat), bad things (that should have never happened) and ugly things (which the team need to work with to make beautiful).
Applying this to microservices one can name:
- The good things of using them.
- The bad things as problems to avoid.
- The ugly things as transitions and changes of paradigms that the team has to face.
The good
SOLID, a set of principles that apply to programming languages, establishes the “Single Responsibility Principle” (SRP): A class, file or package (depending on the language) must have an unique reason for changing. Microservices should take advantage of SRP to delimit the scope of a service and encapsulate that code within. In this way, the discoverability of certain functionality is way easier.
The development lifecycle is shorter. When the scope of the microservice is well delimited, it should not take more than two weeks (from book to reality it may vary) which makes it easier to replace in case one needs another implementation.
Following the same line of thinking, a service with a delimited scope is easier to test; a good base of unit tests which guarantee that the business rules are valid is fundamental for ensuring that the system works as expected.
Lastly, in bigger companies where every team represents a function, is common to find no more than six people specifically working in one or two services and having total freedom to develop them - without breaking any contract constraint established with other services of other teams.
The bad
Hashtags. It may sound ridiculous but to get people into start-ups there are teams that just try to do microservices, without considering the advantages / disadvantages, because they are trendy. The stigma of the monoliths is such that mentioning them cause pain. In a new company or in a new project, where the business is not super well defined and/or stable, the best alternative is to start with a monolith and then migrate to microservices.
The tooling (libraries, infrastructure, others) can be a problem in a not so mature team. The autonomy means that a team can pick a programming language that was not used before in the company. One needs to be aware that a established language is likely to have a tooling made for it and changing it “just-because” is most of the times a not reasonable option.
A company that handles a lot of languages also needs a lot of employees with different skill sets which can be a complication in case one employee leaves or wants to change team. Even when I do not agree that one only knows how to code on certain language and needs to start from “trainee” to learn a new one; there is still a learning curve in order to familiarize with syntax, frameworks and others.
The ugly
Microservices are not good for a new business in which there are no domain experts to brainstorm with. This, also mentioned in the bad, is something the team needs to work with. A monolith can be split gradually when the business scopes are stable and this can take from months to years.
There is also a change of paradigm in terms on how to test the system. Many teams rely too much on automated E2E (end to end) that covers the entire system. Even when this seems like a good idea, one of the microservices’ principles is that the deploy should be independent. If one has to deploy 10 services into production simultaneously and each time the E2E are executed takes 5 minutes; a total of 50 minutes is going to be spent rerunning the test one after another. This is not scalable on bigger systems and this is why the unit tests (for testing business logic) and integration tests (for testing database, amqp, other APIs) are favoured instead.
Everything needs to be observable and measurable. In a monolith the failure points are easier to detect as everything is on the same application. In a distributed system every service need to have their metrics and alerts in place to know when there is a problem and be prepared to downgrade functionality when this happens. Networks fail, it is not about how to avoid something breaking but how to alert and proceed when it happens.
From sync to async communication. A lot of the operations do not need to happen in batch. This is another change of paradigm. If a customer performs a buying operation it is probably not necessary for the sending of the receipt to happen in sync in the same transaction. For this, one can implement the pattern “Tell don’t ask” where a service tells the other (via an event) that something has happened. This is an async operation that decouples the transaction and that can be retried the amount of times needed. So if the mail service for sending the receipt fails, the buying operation of the customer will not fail and he/she will get the receipt whenever the mail service is working properly again.
Summary
The decision of using or not using microservices is going to vary for every company, team and business domain. Thinking cold and establishing what are the advantages and disadvantages that will bring is the best way to start.
Trends are fleeting and whatever today is “top notch” tomorrow is going to suck. A well informed and documented decision is always going to have a good impact.


image
-
kp2d.utils.image.
image_grid
(B, H, W, dtype, device, ones=True, normalized=False)[source] Create an image mesh grid with shape B3HW given image shape BHW
- Parameters
B (int) – Batch size
H (int) – Grid Height
W (int) – Batch size
dtype (str) – Tensor dtype
device (str) – Tensor device
normalized (bool) – Normalized image coordinates or integer-grid.
- Returns
grid – Mesh-grid for the corresponding image shape (B3HW)
- Return type
torch.Tensor
-
kp2d.utils.image.
meshgrid
(B, H, W, dtype, device, normalized=False)[source] Create mesh-grid given batch size, height and width dimensions.
- Parameters
B (int) – Batch size
H (int) – Grid Height
W (int) – Batch size
dtype (torch.dtype) – Tensor dtype
device (str) – Tensor device
normalized (bool) – Normalized image coordinates or integer-grid.
- Returns
xs (torch.Tensor) – Batched mesh-grid x-coordinates (BHW).
ys (torch.Tensor) – Batched mesh-grid y-coordinates (BHW).
-
kp2d.utils.image.
to_color_normalized
(images)[source] Performs image normalization and converts images to grayscale (preserving dimensions)
- Parameters
images (torch.Tensor) – Input images.
Returns – normalized_images: torch.Tensor Normalized grayscale images.
-
kp2d.utils.image.
to_gray_normalized
(images)[source] Performs image normalization and converts images to grayscale (preserving dimensions)
- Parameters
images (torch.Tensor) – Input images.
Returns – normalized_images: torch.Tensor Normalized grayscale images.


{% include "create/_datacite_buttons.html" with element="rights" %}
{% for form in form.rights_set %}
{{ form.non_field_errors }}
{% include "create/_datacite_inlinetext.html" with field=form.rights %}
{% include "create/_datacite_inlinetext.html" with field=form.rightsURI %}


Class Controller
Application controller: - template methods: (necessary to call parent at method begin) - Init() - called after controller is created - session start - all internal variables initialized except view - PreDispatch() - called after Init, before every controller action - view initialization - internal actions: - AssetAction() - handling internal MvcCore http request to get assets from packed package - url proxy method, reading request param proxy method - view rendering or no-rendering management - http responses and redirects management - basic error responses rendering - request termination (to write and close session)
- MvcCore\Controller
- MvcCore\Ext\Auth\Virtual\Controller
- MvcCore\Ext\Auth\Controller
public
|
#
SignInAction( )
Authentication form submit action to sign in. Routed by route configured by: MvcCore\Ext\Auth::GetInstance()->SetSignInRoute(); |
public
|
#
SignOutAction( )
Authentication form submit action to sign out. Routed by route configured by: MvcCore\Ext\Auth::GetInstance()->SetSignOutRoute(); |
AssetAction(),
AssetUrl(),
DisableView(),
GetLayout(),
GetParam(),
GetRequest(),
GetView(),
HtmlResponse(),
Init(),
JsonResponse(),
PreDispatch(),
Redirect(),
Render(),
RenderError(),
RenderNotFound(),
SetLayout(),
SetRequest(),
SetView(),
Terminate(),
Url(),
__construct()
|
$action,
$ajax,
$controller,
$layout,
$request,
$response,
$staticPath,
$tmpPath,
$view,
$viewEnabled
|


Ghana Italian Women Association donate laptops to Aquinas SHS
by Kodjo Adams, GNAAccra, Nov. 19, GNA - The Ghana Italian Women Association (GIWA) has donated laptops to St Aquinas Senior High School to help teaching and learning.
Madam Baldi Leone Rosaria, the President of GIWA, in an interview with the Ghana News Agency, said the items were donated through ST microelectronics to broaden the frontier of education through ICT in schools.
She said the aim of the gesture was to exchange more knowledge on the computer science for effective teaching and learning.
As part of the programme an IT expert and an Electronic Engineer are training the students on the operations of the laptops for four days.
Madam Rosaria said the laptops would complement the existing ones in the school and help the student to conduct meaningful research for academic purposes.
"We are working on donating to other schools in Saboba, Osu, Prampram to extend the scope of IT education across board", she added.
Mr Paul Amoasi Baidoo, the Headmaster of the School, commended the Association for choosing the school out of the many for the donation.
He said the Association is setting up an ICT centre in the school to train students and teachers from other schools.
GNA


GlassHouse
Sorry, I'm not a designer
We track a few things:
Temperature (In 5 different forms)
Humidity
Light Level


--- layout: post title: Dual Boot Puppy Linux With Ubuntu date: 2013-06-21 summary: Puppy Linux is so nice that I always keep it around even if I don't need it. I have a small partition on my laptop where I install different versions of Puppy, and they co-exist with my main Ubuntu system. The installation is very easy. tags: [Puppy Linux, GRUB, Ubuntu] ---
Puppy Linux is so nice that I always keep it around even if I don't need it. I have a small partition on my laptop where I install different versions of Puppy, and they co-exist with my main Ubuntu (actually Xubuntu) system. The installation is very easy.
Lately I have installed Precise Puppy 5.6.1 and Slacko Puppy 5.5 . After downloading the .iso files, I extracted them and copied their content on /dev/sda9 like this:
sudo su mkdir sda9 mount /dev/sda9 sda9/ mkdir iso mount -o loop precise-5.6.1.iso iso/ mkdir -p sda9/puppy/precise5.6.1 cp -a iso/* sda9/puppy/precise5.6.1/ umount iso/ mount -o loop slacko-5.5-PAE.iso iso/ mkdir -p sda9/puppy/slacko5.5 cp -a iso/* sda9/puppy/slacko5.5/ umount iso/ rmdir iso/ umount sda9/ rmdir sda9
The installation is already finished! But we need a way to boot the
puppies. We can do this by modifying the grub menu. First add these
lines on the config file /etc/grub.d/40_custom
:
menuentry "Puppy Linux Slacko 5.5 frugal (sda9/puppy/slacko5.5)" --class gnu-linux --class gnu --class os { set root='(hd0,msdos9)' #find --set-root --ignore-floppies /puppy/slacko5.5/initrd.gz linux /puppy/slacko5.5/vmlinuz pmedia=atahd psubdir=puppy/slacko5.5 initrd /puppy/slacko5.5/initrd.gz } menuentry "Puppy Linux Precise 5.6.1 frugal (sda9/puppy/precise5.6.1)" --class gnu-linux --class gnu --class os { set root='(hd0,msdos9)' #find --set-root --ignore-floppies /puppy/precise5.6.1/initrd.gz linux /puppy/precise5.6.1/vmlinuz pmedia=atahd psubdir=puppy/precise5.6.1 initrd /puppy/precise5.6.1/initrd.gz }
Then run the command sudo update-grub
.
Now reboot the PC and have fun with Puppy.


A list of COAs will be shown here. To narrow down the list of COAs, you can can change the view and/or input filters by clicking on the columns.
To create a new COA, navigate to the desired Project, then select the Certificates of Approval tab. On the displayed subgrid, you will be able to create a new COA record.