PYCENTRAL() PYCENTRAL() NAME py_compilefiles - byte-compile python .py files SYNOPSIS py_compilefiles [options] [file ...] [-] DESCRIPTION py_compilefiles compiles Python .py source files into .pyc or .pyo byte‐ code format. OPTIONS -f force rebuild even if timestamps are up-to-date. -i ignore errors on byte compilation. -q quiet operation. -x regexp skip files matching the regular expression regexp the regexp is search for in the full path of the file. If a filename is given as a minus sign (-), a list of files separated by newline is read from standard input. AUTHOR Matthias Klose, Bastian Kleineidam PYCENTRAL()


--- title: Daffodils 2014 date: 2014-04-11 00:00:00 -06:00 categories: - whats-blooming layout: post blog-banner: whats-blooming-now-spring.jpg post-date: April 11, 2014 post-time: 12:29 PM blog-image: wbn-default.jpg ---
Not only are thousands and thousands of daffodils blooming, many of our flowering trees and shrubs are either in full bloom or not far from it.


Cloud Foundry
- Cloud Foundry Introduction
- Cloud Foundry CLI and Apps Manager
- Working with PCF
- Users, Orgs, Spaces, and Roles
- Applications
- Services
- Microservices and Worker Applications
- Services and Service Brokers
- Buildpacks
- Troubleshooting Applications in Cloud Foundry
- Continuous Integration and Continuous Deployment
Cloud Foundry Introduction
Why Cloud Foundry?
- It is difficult to deliver applications that are valuable to you, your organization, and/or the world if you aren’t able to focus on building the application itself.
- Application developers are not system administrators or system operators, nor should they be compelled to be.
- It is hard to build a consistent, reliable, secure, and highly available production environment. Much more so by stitching together compute, storage, and network capacity into a cohesive system that meets the demands of modern enterprises and the expectations of application consumers.
These are the problems that Cloud Foundry was made to address: ending the eternal battle of the developer’s focus on apps versus operating and engineering the platform that those applications are run upon.
Cloud Foundry does this by bringing about enterprise-grade application virtualization. It does this by harnessing and orchestrating a symphony of containers into an elastically scalable distributed system comprising all of the components a given application needs to serve the world. This changes the game much the way VMware did with VMs and server virtualization. Cloud Foundry is a proven application virtualization platform that gives control back to the developer, allowing developers to focus on developing applications, instead of infrastructure operations.
What is PaaS?
While, generally, IaaS is server focused and SaaS is user focused, PaaS is developer focused. PaaS enhances developer productivity by enabling application virtualization, so there is a significant reduction in the need for developers to perform the undifferentiated heavy lifting associated with the plumbing that detracts from the actual work on application code and concerns. Often this is called yak shaving. For instance, it may include everything from installing application runtimes, dependencies, app packaging, staging, and deployment, to configuring deeper down the stack into infrastructure concerns such as configuring load balancers, networking, security, provisioning VMs—nearly anything that takes your focus off building a great application.
What is Cloud Foundry?
Cloud Foundry is a platform for developing and running cloud-native applications. It is a polyglot platform that allows you to deploy a myriad of applications written in many different computer languages — Java, Python, Node.js, Ruby, Go, .NET languages, and many more. Simply use the best language for the task at hand with the freedom of knowing that Cloud Foundry supports it.
Cloud Foundry is IaaS agnostic and open source.  This means that true application portability is possible regardless of the infrastructure choices and it enables a consistent multi-cloud strategy — public, private, or hybrid.
As a developer, Cloud Foundry does the following:
- Enables you to focus on building applications
- Moves you out of the VM provisioning game
- Allows you to recreate an application’s runtime environment continuously
- Deploys and scales an application in seconds
- Externalizes and injects environment-specific dependencies
- Has an API that enhances release management productivity
- Uses containers to isolate apps and create application virtualization
- Manages your application’s entire life cycle
Some Cloud Foundry based PaaS providers have their own UI. PWS has Apps Manager UI.
Cloud foundry architecture
Cloud foundry overview
Cloud foundry platform architecture overview
Cloud Foundry CLI and Apps Manager
With the cf CLI, you get:
- Simplified CI/CD
- The ability to script automated tests, code, security, and compliance checks
- Zero Downtime Deployments (ZDD), known as blue-green deployments, which give you A/B testing as a side effect.
- Thorough troubleshooting when things go sideways with your application or deployment
- A comprehensive set of capabilities that a UI can only wrap a subset of without being too complex to work in a simplified way
Target API end point
$ cf api https://api.run.pivotal.io
Login
$ cf login
Deploy an application
$ cf push
Working with PCF
Installing pcfdev
Users, Orgs, Spaces, and Roles
In cloud foundry, Organizations or Orgs are representation of a Group, A Business Unit or A Department. Each Org has a resource quota for memory, app instaces etc,. Orgs have many spaces. These spaces are contain Applications and Services. There are roles to manage these Orgs and Spaces. The users in these rules manage Orgs and Spaces with resource allocation.
A Space is where the applications are pushed to. All service bindings are created and managed within a space. Spaces can be mapped to a specific environment, such as development, testing, integration, or production. Spaces can also be mapped to a sub-team under the Business Unit, Application, or Product Group. Services used by applications are scoped by Spaces. Developers push their applications into Space and then continue to develop and maintain their applications in the same space.If a given Space requires a different resource quota than the one defined at the Org, then the Cloud Foundry administrator or the Org Manager of that Org can create a custom resource quota and assign it to Space.
A user account allows a user to log in to Cloud Foundry and perform certain operations that are limited by the roles assigned to them by the Cloud Foundry Administrator.The user accounts can be created at an Org or Space level, based on the role they play in the organization. The same user can administer the Org and Space, or can be restricted to pushing applications to a given Space or Spaces.Additionally, a user can span across multiple spaces in an Org, and under each Space, they can be controlled by the Space role.
There is a big list of Roles a user can have. Read here
CF Commands for Managing Orgs and Spaces
# Check current organisation and space
cf target
# List all orgs we have access to
cf orgs
# List all spaces in the current org
cf spaces
# Change current organisation or/and space
cf target -o [org-name] -s [space-name]
# Check the available quotas - i.e. plans
cf quotas
# Check the quota for a given org
cf org [org-name]
# Check the quota for a given space
# in the current organisation
cf space [space-name]
# Create space in the current organisation
cf create-space development
# Create an Org
cf create-org orgname
# Create a user
cf create-user USERNAME PASSWORD
# Assign a org role to a user
cf set-org-role USERNAME ORG ROLE
# Assign a space role to a user
cf set-space-role USERNAME ORG SPACE ROLE
Applications
Apps, Routes, Domains, and Buildpacks
In Cloud Foundry, an Applicaiton is an abstraction of one or several identical servers called instances which run the same code. These instances follow a template called buildpack. A buildpack provides framework and runtime support -e.g. a preconfigured Java Web server. A buildpack defines the server configuration and setup and we just need to push code which can be run in such an environment.
Cloud Foundry comes with a number of system-buildpacks for commonly used frameworks like Node.js, Rails, Java, .Net etc,. There are many community buildpacks too.
When creating a new application, we can explicitly specify its buildpack. If no buildpack is provided, Cloud Foundry will try to guess which one to use, which can lead to an error if there are multiple matching buildpacks.
As stated, Application can have multiple servers/instances. So how do we make them appear as a single instance to the developer and the end user?  The CF approach to this is to use the so called Route, which is an address associated with an Application. Routing is how incoming traffic is distributed across application instances. Under the hood, Cloud Foundry takes care of the details -e.g. load balancing, web-sockets, sticky sessions, and caching.
Every organization has one or several domains. Each route’s address within an organization should fall within one of these domains. For example, if a route has address myapp.route.com, then there must be a domain route.com in its organization.
Applications which are not accessed online (e.g. background batch processing jobs) do not need routes.
Here’s how we can work with apps, buildpacks, and routes:
# List all apps in the space
cf apps
# Details for a specific app
cf app [app-name]
# List all predefined buildpacks
cf builpacks
# List all domains in the organisation
cf domains
# Creates the "route.com" domain and all
# of its routes in the current org
cf create-domain [org-name] route.com
# Remove the "route.com" domain
cf delete-domain route.com
# List all routes in the space
cf routes
# Create a new route: "myapp.route.com"
cf create-route [space-name] route.com --hostname myapp
# Map "myapp.route.com" to an app.
# Creates the route if not present
cf map-route [app-name] route.com -n myapp
# Unmap "myapp.route.com" from an app.
# Creates the route if not present
cf unmap-route [app-name] route.com -n myapp
Application Management
To deploy a new app or update an existing one we need to push its code to the Cloud Foundry instance. The push command has many optional arguments which depend on the type. However, it’s better to specify all these arguments in a system file called manifest.yml which is a special file for Cloud Foundry.
# Start a new app called "myapp"
# If there's a manifest.yml in the current folder,
# the config will be read from there
cf push
---
- name: myNodejsapp
memory: 256M
disk_quota: 512M
buildpack: nodejs_buildpack
host: my-new-nodejsapp
domain: mybluemix.net
command: node app.js
In this example we specify the resource requirements, buildpack, route (host:domain), and a starting command.
After an application is started, we can easily manage its state and resources.
# Start, stop, restart app
cf start [app-name]
cf stop [app-name]
cf restart [app-name]
# Delete the app and its routes
cf delete [app-name] -r
# Manually scale the app
cf scale [app-name] -i [num-instances] -m [memory-size]
When things go wrong, we will need to check the app’s log and configuration.
# List all environment variables of the app
cf env [app-name]
# Tail in real time the app's log
cf logs [app-name]
# Check the latest app log
cf logs --recent [app-name]
# Check the latest events - e.g. restarting, deployment
cf events [app-name]
Services
Cloud Foundry applications host business logic specific to our problem domain - e.g. web user interface or APIs. Almost every other architectural component is classified as service. In Cloud Foundry, services can be attached to an application so that it can use them.
For example, data bases, data analytics APIs, pub-sub systems, and even autoscaling can be implemented as services. Whenever the application logic needs to know about a sevice instance (e.g. to connect to a database), this information is provided via the VCAP_SERVICES environment variable, which is a JSON string. The application is responsible to parse it and connect with the specified endpoints and credentials.
Let’s see how to work with services:
# List all available services
cf marketplace
# Check out an individual service offering
cf marketplace -s [service-name]
# List all available service instances in the space
cf services
# Create a new service instance with a plan (e.g. Free, Lite, Paid)
cf create-service [service-name] [plan] [new-service-instance-name]
# Delete a service instance
cf delete-service [service-instance-name]
# Bind a service instance to an app
cf bind-service [app-name] [service-instance-name]
# Unbind a service instance from an app
cf unbind-service [app-name] [service-instance-name]
Cloud Foundry allows us to wrap existing/legacy systems (e.g. on-premise data bases) as service instance through the cups_command.
Finally, an app can specify its service instance dependencies in the manifest.yml file, hence when pushed it will automatically bind to the respective service instances.
Microservices and Worker Applications
Services and Service Brokers
Buildpacks
Troubleshooting Applications in Cloud Foundry
Continuous Integration and Continuous Deployment
- Previous
- Next


{# default page #} {% extends "base.html" %} {# remember this does not carry from an 'extends' #} {# for this reason this does nothing for its child templates #} {# this template is never directly used so it doesn't use 'load staticfiles' #} {# the future is mysterious, so I have left it #} {% load staticfiles %} {# pages using this default page SHOULD add their own title. #} {% block title %}Hackers in Residence{% endblock title %} {% block main %}


L.A. Confidential
Starring: Kevin Spacey, Russell Crowe, Guy Pearce, James Cromwell, Danny = DeVito, Kim Basinger, and David Straithern
Directed by Curtis Hanson Adapted from a novel by James Ellroy
Stop reading this review right now. Quickly shut down your computer, and leave to go see L.A. Confidential. Then see it again. Are you back? Good. Now we can talk What I have just done is send you on one of the best film-rides in the last 25 years. Welcome to Curtis Hanson's "L.A. Confidential", a tribute to the great film noirs like Roman Polanski's "Chinatown". If possible, LAC might be even grittier than Chinatown. Hanson sets up a brutally honest, savagely entertaining ride through a convoluted plot that is so confusing it makes perfect sense, with a cast so fabulous they deserve to sweep the Oscars. "L.A Confidential" is not the best movie of the year. It's the best 5 movies of the year. The plot revolves around two cops, Bud White and Ed Exley (the absoulutely amazing Wonders from Down Under: Russell Crowe and Guy Pearce). White is a brutal tough-guy, a man who basically punches who is bosses tell him to punch, a loyal, fiercely honest cop with a hatred for wife-beaters.   The police take their racism into their jobs by brutally beating the suspects, in an incident found on the front-page of the paper. White and another police officer, Jack Vincennes (the incredible Spacey) are implicated in the beatings, but no police officer is willing to give corroborative testimony....but Exley. This results in Exley being promoted, and he also being the butt of everyone else's hatred. There's one storyline. Here's another. Gossip king Sid Hudgeons (Danny DeVito) pays Vincennes and gives him tips on how to arrest major stars committing crimes. In exchange, Vincennes makes big arrests on the front page of Hush-Hush, Hudgeons' magazine. Vincennes is also the technical advisor on Badge of Honor, a Dragnet-like show. Vincennes therefore has to constantly worry about his image, as he is a rising star, a national celebrity in the making. Spacey plays this role to absolute perfection, his glamorous smile and flamboyance are flawless. That's two. I told you L.A. Confidential had 5. Here's the major one, numero 3. A prominent businessman is having plastic surgery done to girls to make them look like movie stars. It turns out this businessman is a high-class pimp, with these girls as his celebrity prostitutes. All of these plots link to a murder at the Nite Owl Coffee Shop, where White's partner is killed. There are dozens of other plots, all connecting into one hell of a convoluted mess, which shouldn't work. Not only does this movie work, it is a mindbending spell of a film. The line between good and evil is blurred beyond repair. Hanson places his story in a dirty, wild atmosphere of pure crime. James Cromwell, as both White's and Exley's boss, is simply astounding as Captain Dudley Smith. Kim Basinger makes the role of her career as prostitute Lynn Bracken, a Veronica Lake lookalike. The Wonders from Down Under are simply that: wonders. Crowe and Pearce are simply amazing. Spacey is his usually brilliant self. His sheer confidence carries his role. Every plot-line comes together in this gritty, vividly entertaning film. Everyone is pitch-perfect, the casting is stunning, and the direction is flawless. Hanson and Brian Helgeland's script is stunningly captivating, with its intricate plotlines all combining to form one hell of a movie. I can't think of any flaws. L.A. Confidential may suffer solely from its excessive brutality and sex, but in a way, its absolutely needed.  It's gorgeously done to perfection. Hollywood hasn't been this good in a long time. This is the best film of the year.
Final: **** out of **** (Best film of the Year)
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


Release Notes for NUCLEO-H743ZI Examples
Copyright © 2017 STMicroelectronics
License
This software component is licensed by ST under BSD 3-Clause license, the “License”; You may not use this component except in compliance with the License. You may obtain a copy of the License at:
https://opensource.org/licenses/BSD-3-Clause


Luka Doncic trolls Dirk Nowitzki in addressing Mavs' improved defense
by TSD StaffThe Mavericks have improved on both ends of the floor this season, but no one is surprised that the team has been scoring at will — given all the offensive talent on the roster.
However, the vast defensive improvements are what many in the NBA world have taken notice of, given that the team didn’t directly address it with specialists that excel on that side of the court.
And yet, the Mavericks have been much better in that area, allowing 108.5 points per possession on defense, while scoring 117.4 (No. 1 in the NBA).
Mavericks young star Luka Doncic was asked about how the team has improved so much on defense, and he kind of through Dirk Nowitzki under the bus.
“Last year, we had Dirk on defense, so it was tough,” Doncic said with a laugh.
Sure, it was a bit of a playful dig, but there was some truth to Doncic’s statement. Regardless, Dirk probably wasn’t thrilled after hearing it.


Teenager stabbed to death in fight outside block of flats in east London
A 19-year-old man has died after being stabbed in east London, according to Scotland Yard.
Police were called at 10.20pm to Fullwell Avenue, Ilford, after reports of a fight outside a residential block.
Officers gave first aid to the teenager, who was suffering stab injuries, until London Ambulance Service paramedics arrived, but he was pronounced dead at the scene.
Police are attempting to notify his next of kin. No arrests have so far been made.
A Section 60 Order allowing officers expanded stop and search powers has been put in place for the Borough of Redbridge until 6.30am.
Police are investigating if a reported fire at a nearby set of garages is related to the stabbing. They are also appealing for witnesses to come forward.


--- layout: default ---
Use HTML, CSS, and JavaScript with Chromium and Node.js to build your app.
Electron is open source; maintained by GitHub and an active community.
Electron apps build and run on Mac, Windows, and Linux.
# Clone the Quick Start repository
$ git clone https://github.com/atom/electron-quick-start
# Go into the repository
$ cd electron-quick-start
# Install the dependencies and run
$ npm install && npm start
You can also checkout the full Quick Start Tutorial or download a prebuilt binary and read the documentation.


@* * Copyright 2023 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @(params: Map[String, Any]) @uk.gov.hmrc.hmrcemailrenderer.templates.helpers.html.template_main(params, "You submitted a self-report online"){
Dear @params("customerName"),
We have received your report for the service: Tell HMRC your organisation failed to prevent the facilitation of tax evasion.
We send a confirmation email for all reports submitted online.
Your submission reference is: @params("submissionReference")
Keep a note of this as HMRC may use it in future contact with you about this report.
From HMRC Corporate Self-reporting coordination team
}


Introduction
| CN | ENG | ||
|---|---|---|---|
| 1 | 复合材料层合板计算 |
Composite Material Calculation with CLT | Introduction |
| 2 | 开闭剖面多闭室工程梁计算 |
Engineer Beam Calculation with open or closed profile | Introduction |
read the program introduction for more details
Here
Running requirements | Installation | License
My bachelor thesis in TUBS, Germany, partly finished. We can improve it together in future.
Composite Material Calculation with CLT
-
The main package is a Python composite materials calculation package. The laminate stresses, strain and failure Criterion based on the Classical Lamination Theory (CLT).
-
You can define the lamina’s fibre and matrix’s parameters like the Elastic moduli , Shear moduli and strength, then define lamina’s layer angle and thickness in the next step.
-
After define the lamina you can get the matrix such as and so on by use the Laminate class or you can define the laminate directly.
-
Use the Load class and load the force and moment to the laminate to calculate the stress and stain of each lamina.
-
Use the Failure_Cirterion class and you can choose different theories to check witch lamina failure or not.
-
-
The laminate_plugin.py can plot the stress and strain distribution in the laminate in the COS(xy or 12), print the results in Excel formate and save it in Excel.
Engineer Beam Calculation with open or closed profile
- You need to distinguish the shape of the profile, open, closed or mixed and choose the right functions to calculate.
-
You can give the coordinate value of the points of the profile in a Excel table, you may also need to add or remove some edges, change the thickness between the edges of the profile generated by the read_exe class
-
Use the profile_constant class to calculate the profile’s engineer constant like the second moment of area and use the parameters in the next steps, you can also choose whether move the profile to its centroid.
- If the profile is a open one, you can use the open_profile class directly, it can calculate the and the give the Shear Flow distribution under the shear force along the path you choose and you can get the shear center if need.
- If the profile is a close one with more than one close cells, you need to choose cut points to make the profile become a open one, then choose the integrate paths and use the open_profile class to get the shear flow in the ‘open’ profile. Last, use the functions in close_profile.py to get the shear flow in each close cell, get the shear center, get the twist angle and some more results you need.
-
Plug-ins use to plot the results in 2D or 3D.
Running requirements
Python > v2.7
Numpy
Scipy
Sympy
matplotlib
Installation
Copy the source files in the local directory and add the PATH in the system or copy the files to the Python’s “site-packages” folder.
Copy the source file in you own file and develop the new function by yourself.


FREQUENCY (New Line) Starring: Dennis Quaid, Jim Caviezel, Shawn Doyle, Elizabeth Mitchell, Andre Braugher, Noah Emmerich. Screenplay: Toby Emmerich. Producers: Bill Carraro & Toby Emmerich and Hawk Koch & Gregory Hoblit. Director: Gregory Hoblit. MPAA Rating: PG-13 (adult themes, violence, profanity) Running Time: 118 minutes. Reviewed by Scott Renshaw.
Just when I thought I'd seen every possible spin on the serial killer thriller, here comes FREQUENCY to show that there is something new under the sun. The serial killer story in this case is wrapped up in a fantasy story about a troubled cop named John Sullivan (Jim Caviezel), whose entire life has been affected by the death of his firefighter dad Frank (Dennis Quaid) 30 years earlier. But strange atmospheric phenomena are afoot, and when John pulls out his dad's old ham radio, he manages to pull in none other than dad himself, chatting from 30 years in the past. John sees this as an opportunity not just to get to know Frank, but to save his life with his foreknowledge as well. Unfortunately, one piece of changed history has a domino effect on other events, including the death of John's mother Julia (Elizabeth Mitchell) at the hands of -- that's right -- a serial killer.
Time-travel tales are inevitably head-scratching affairs if you ponder them for too long, and FREQUENCY is no exception. It posits a strange side effect of the father-son communication -- when John successfully prevents Frank from dying as he had in _his_ past, he is left the only one who remembers a world in which Frank died in 1969, though he also finds himself newly-flooded with memories of 30 years of life with dad. It's an utterly preposterous conceit, of course, but it actually works. Caviezel never once smirks at the material, resulting in a performance full of convincingly pent-up emotion. Director Gregory Hoblit's staging of John's new montage of memory is surprisingly affecting; Caviezel's work as a man re-discovering his father is better than you have any reason to expect in a genre film.
Now, did I mention that this all turns into a serial killer thriller at some point? Yes, it is soon discovered that saving Frank's life has set in motion events that will cost Julia hers. Father and son team up across time to send Frank on a search for the rogue cop (Shawn Doyle) responsible for a series of murders. Hoblit and screenwriter Toby Emmerich might have chosen to explore the ramifications of continuing to mess with history, but that would be a bit too philosophically deep. They're content to set up a series of neat sequences that show the instantaneous impact of one decision 30 years earlier on the world of the present. FREQUENCY is a genuinely snappy piece of film-making, far and away the liveliest work from Hoblit (who got bogged down in the grim subject matter of PRIMAL FEAR and FALLEN), even when you're inspired to a round of "yeah, right."
There's no question that much of FREQUENCY is smart and entertaining, but it's also a fragmented piece of work. For the first half of the film, it's a fantasy with a strong human side, anchored by an unconventional but convincing father-son relationship. In the second hour, it shifts dramatically to a creep-show, with the sinister killer popping up at terribly inconvenient times. That makes for some crowd-pleasing chases and struggles, but a terribly rote plot progression. Though there are still some well-crafted scenes -- Andre Braugher gets a particularly good one as a cop friend of Frank's watching a World Series prediction come true -- character ceases to matter for all practical purposes.
It suddenly matters again in FREQUENCY's achingly sentimental denouement, which gets all FIELD OF DREAMS on us by tying father-son connections to baseball. The strange thing is that it probably wouldn't have felt nearly as overwrought if FREQUENCY had stuck with the tone of its first half. The shift from character piece to thriller is jarring enough; the attempt to shift back to character piece feels like an unearned piece of manipulation. It's easy to recommend FREQUENCY for the things it does right in each of its incarnations, but the recommendation can't be too enthusiastic when those incarnations are so incongruous. I think there's a reason we've never seen this sort of serial killer thriller before: It's awfully hard to make a serial killer thriller a tear-jerker as well.
On the Renshaw scale of 0 to 10 radio waves: 6.
Visit Scott Renshaw's Screening Room http://www.inconnect.com/~renshaw/ *** Subscribe to receive new reviews directly by email! See the Screening Room for details, or reply to this message with subject "Subscribe".
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


WHY 5 ARTICLES DAILY? - THE CHUNK CONCEPT
Learn why we upload just about 5 articles daily and how it makes you smarter every day.
by Aishwarya Chauhan
Learning by chunking is an active learning strategy characterized by
chunking, which is defined as cognitive processing that re-codes
information into meaningful groups, called chunks, to increase
learning efficiency or capacity. Chunks of information are
generally composed of familiar or meaningful sets of information
that are recalled together. In this way we are able to decrease
the amount of information that must be held in working memory by
increasing the amount of information per chunk.
Chunking is a strategy used to reduce the cognitive load on the brain
as the learner processes information. Essentially, chunking helps in
the learning process by breaking long strings of information into
bite sized chunks that are easier to remember.
Chunked list:
Fruits and vegetables: lettuce, banana,
tomatoes, apples, and other vegetables
Bakery: muffins, bread, bagels
Dairy: milk, eggs, butter, cream
Frozen: ice cream
We, at MechinMind actively use this concept in our articles by providing
you daily 5, chunk sized conceptual articles that enhances your concepts,
insights you to the practical industrial world of mechanical engineering,
introduces you to new emerging technologies in our field with technical
explanation, giving you project ideas, helping you practice for interview
with our articles, uploading links to free study material, CAD designing
tricks, the limits here are limitless.
Our aim at MechinMind is to bridge the gap between what university/college
teaches and what is applied presently in industries and help learn to build
a correlation between them. When we know modifications applied to the
existing theoretical technologies, then we are more likely able to
understand and implement them when we are at work or are participating in
building a project as a student.
Come join us for free, just give your 20 to 25 minutes daily at our website
and guard your pillars for an exciting bright future ahead.
References:
Springer Link:
https://link.springer.com/referenceworkentry/10.1007%2F978-1-4419-1428-6_1042
The Peak Performance Center:
https://thepeakperformancecenter.com/educational-learning/thinking/chunking/chunking-as-a-learning-strategy/


THE PRESSBOX
No
Spacejam
news at the moment! Go back to the
Space Jam home page
to see more of the site!
SPACE JAM, characters, names, and all related
indicia are trademarks of Warner Bros. © 1996


Sylvanian Families The Babblebrooks' New Arrival
UK Biography Information
George Babblebrook and his darling wife Harriet have a new arrival; a beautiful bouncing baby girl called Freddie. George, the proud father, couldn't wait to take his little bundle of joy to the seaside to play in the golden sands by the shore. George's fondest childhood memories are all of his visits to the beach as a youngseter with his father. Freddie loves to help her dad build sandcastles but knocking them down with a squeal of joy is so much more fun!


Istanbul metro project gets 110 million euro financing from Deutsche Bank
by ReutersISTANBUL (Reuters) - Istanbul has secured 110 million euros ($121 million) of financing from Deutsche Bank (DE:DBKGn) for an underground transport project, the mayor of the Turkish city said on Sunday.
Speaking at a news conference, Ekrem Imamoglu gave no further details on the loan, but said it was for an ongoing project on the Asian side of Istanbul.


PROBLEM SOLVING
PROBLEM SOLVING TECHNIQUES
Problem solving is an important technique to have as a developer. As a developer, you have to deal with computer processes that can sometimes be very abstract, so it's important to know how to take a problem, break it down into smaller parts, and begin building your way towards a solution.
Some examples of problem solving techniques include:
- Pseudocode
- Trying something
- Rubber ducky method
- Reading error messages
- console.logging
- Googling
- Asking peers & coaches for help
- Improving your process with reflection
Pseudocode
Pseudocode is not actual code, but comments that tell you how the code will eventually look. These are informal, plainly written steps that form the rough draft or outline of your code. This is useful for breaking down a complicated problem, and can also be used if one developer needs to leave instructions for another to complete the code later.
I'm a big fan of pseudocode as it gives me a reference point of what I actually want to achieve. It especially keeps me on track for when I'm trying out different solutions to a problem and lose sight of what it is I'm meant to do.
Rubber Ducky Method
Explaining your problem out loud may just help you solve and debug your code yourself! By explaining your code or problem line-by-line to the rubber or metahphorical duck, this can help you better understand or find the gaps in your knowledge needed to solve the problem.
Although I've never used a rubber duck, I have defintely used this method with a person where just the simple act of saying your problem out loud to something or someone else can sometimes make it all click and give you the "aha" moment 💡
Console.logging
Sometimes you need a little extra visibility when writing out your code to see if what your coding is actually working and doing what you want it to do. One way to achieve this is to use the JavaScript function console.log()
that allows you to print/display things to your console.
I have personally found this to be a very useful problem solving technique espeically during the Sprint 4 kata's. For example I used console.log()
to test the outcome of my deBee
function to remove the word "buzz" from a string:
function deBee(str){
var words = str.split(' ').filter(word => {
return word != "buzz"
})
return words.join(' ').toLowerCase()
}
var string = "Help! buzz I'm buzz buzz surrounded buzz by buzz buzz bees!!"
console.log(deBee(string)) // returns output to console "Help! I'm surrounded by bees!!"
This is probably my favourite and #1 go-to method for problem solving ANYTHING whether that be coding or figuring out how long to boil an egg for 🤣
STORY TIME: GETTING BLOCKED ON A SIMPLE PROBLEM
A simple problem I got blocked on is something I finally figured out while writing this technical blog!
For the past 4 weeks I could not for the life of me figure out how to insert inline blank space for my blog code blocks to have nice formatting (e.g. inserting tab spaces). The first thing I tried to do is go to google and tried a whole bunch of solutions such as using ""
and the <pre>
tag but it still wasn't happening for me. Then today, I happened to visit a site that also had code block examples and so I used DevTools to inspect their code and found they used
to achieve what I wanted.
To achieve this indentation:
exampleObject {
name: "victoria",
age: 28,
occupation: "marine biologist"
}
The code in HTML looks like this:
exampleObject {
name: "victoria",
age: 28,
occupation: "marine biologist"
}
STORY TIME: ELEGANT PROBLEM SOLVING
An elegant solition I was pretty proud of was figuring out the forEach
method in the JS olympics repl.it challenge instead of using a normal for loop
.
Normally I find that using the temporary [i]
variables in the for loop can end up being quite confusing, and the forEach
method takes out all of that syntax and lets you do the same thing with little code.

// Bart won the skating event!
// Homer won the eating event!
Although the above code was console.logging the correct answer, it wasn't adding a win
property to every element in the athleteArray (which I couldn't figure out) so instead I went to google and found a simple solution that applies a specified function for each element in an array.
Elegant solution:
athleteArray.forEach(athlete => {
athlete.win = function() {
console.log(athlete.name + " won the " + athlete.sport + " event!")
}
})
Now we can see in the below output that in our athleteArray we have added a win
property to it which console logs "{name} win the {sport} event!"


Re-Psyche
“Creativity is nothing but the way to solve new problems.”-Diana Santos, Product Strategist- Intelia
Plastics once resolved the by product of the Petroleum Industry.They are now a major element of pollution.
Waste and unused materials constitute a source of greater economy, where wastage does not imply hazard.
Lamp Support in Exposed PVC conduit reduces additional industrial energy requirements in production.
Design creates culture. Culture shapes values. Values determine the future." - Robert L. Peters
Sustainable means low waste
The embodied energy required to manufacture and process materials products is feeding the need for higher consumption.At the same time, material science is not advanced enough to provide a material that is all proven.Functionality requires responses that are resolved by Material Characteristic
If you're not buying recycled products, you're not really recycling.ED BEGLEY, JR.
Cross Country availability of different type of waste as resource is the object of categorisation here and the source of Renewable Material that recycles Energy
What is not an available resource is the logistics of combining all these into one location
“Simplicity is the ultimate sophistication.” –Leonardo da Vinci"
LDV-Imola Urban Design-1502.Industrial production has it's beginnings in the most basic of approaches, the creation of a proto type.Prototype Design is the purest form of expression of an idea, that the beauty is in the parts and not the finished object;-That Possibility is more than the final result.
Methods used are intended to use limited resources and energy in their creation, a green method of production
The art of re-purposing the discarded has an intrinsic artistic and creative element to it.F1-Circuit-Imola
Is a Japanese Philosophy based on the appreciation of imperfection as a complimentary aspect to perfection, that one cannot truly exist without the other


"I was nervous about working out because everyone that goes to the gym already looks to be in great shape. Blake made me comfortable in that environment and gave me the confidence to walk into the gym, workout, and fell good about the progress I am making. He is a great workout partner, supporter, encourager, and meal maker! He will help you achieve your health goals whether that be to lose weight and fell more energetic, to get lean and look your best, or to just eat healthier!"
"Very educated and calculated approach to fitness. I've look into many fitness and health accounts and this is definitely a top recommendation."
“Blake is so uplifting and motivating! He makes me believe in myself! Thank you blake for your very reasonable pricing! For all of the information! Videos! Nutrition! Advice! And multiple daily checking ins! You’re the best!”
“Blake is such an amazing personal trainer! He takes the time to educate himself on his clients lifestyles and goals and follows up with us daily to encourage us and assure were hitting, doing our part. I’m so thankful for all Blake does!"
“I’ve been working with Blake for close to two months, and have seen increases in both endurance and strength. I’ve been able to put on 10 pounds of muscle growth and have seen visible improvement overall in time I’ve been working with him. I would recommend him to anyone looking to train with someone who is both knowledgeable and dedicated to his clients."
"Blake is great at what he does. He pushes you to do better all the time and helps you do so. He’s encouraging and has a great personality. I went from hating exercise (especially lifting) to looking forward to go lift with him and I’ve been making more progress with him than I ever have on my own.”
"Blake is an excellent trainer! I live in Texas, and he does not obviously, and he’s been great to work with on making workouts and motivating me. He is always available for questions about exercises and often times will make a video to help and better instruct me in the workout. He provided A ton of knowledge on why and how these exercises he put together would help. He also did a great job of switching out exercises I couldn’t do/ didn’t like. He takes time to personalize interactions, has a pretty good memory, and knows when to push the pedal and knows when to lay off. Overall, I would recommend him to anyone with any skill level in the gym. Great trainer, better guy."
Click below to start on your path to a better mind and body!


"Let go of perfect and just do it"
Lisa Rogoff
"Don’t rush through life and miss out on opportunities for growth"
Nina Hosmane
"I'm exactly where I need to be"
Sinclair Ceasar


--- layout: post title: "Wacky small planes" ---
A small plane carrying gubernatorial candidate Max Linn made an emergency landing on Interstate 4 this afternoon, causing a massive traffic jam in the eastbound lanes from Florida's Turnpike to South Orange Blossom Trail, Orlando Police said.Link to Orlando Sentinel article.


Git is a very efficient program that helps manage project development. Although it may seem complicating at first, all of its features are designed so you can easily track versions and work in parallel with others. The following tasks are done after code is edited to share that code with others.
Staging files
With git, changes to code are sent in “commits”. Commits state what files are changed and how. To prepare a commit, you need to stage files (get them ready) for committing. In git, use the command git add <file>
to stage a file for committing. To stage all files in a directory, use the following:
git add .
The opposite of this, removing a file, can be done with git rm <file>
.
Commits
Now that files are staged, they need to be committed. In git, use the command git commit
to make a commit. The best way to make a commit with a good message, however, is with the -m
flag. This allows you to make a commit message, usually saying what you changed in the commit. For example, a good commit may look like the following:
git commit -m "Complete the NDVI image processing script."
Take note of a couple of things from the commit * The commit message is specific * The commit message uses the imperative tense
Some companies ensure specific formats for commit messages, but for the purpose of this project, you can make commit messages however you would like.
If you want to combine your add and commit command, use the -a
flag. For example:
git commit -am "Your commit message"
This command stages the files and commits them all at once.
Please Note: two flags, -a
and -m
, are combined to make the flag -am
.
Push
Now that the commit is made, it needs to be published, or pushed, to the origin (cloud) repository. To push your code, use the following command:
git push <location> <branch>
For this project, the location is always the origin, although when you pull code, you may need to pull from the upstream. The default branch is the master branch, and for this project, you will not need to use anything other than the master branch for pushing code. Consequently, your push commands will usually be
git push origin master
If this does not work on your computer, the origin has probably changed since you last updated your code. Pull your code first, then try again.
Pull
Pulling code allows you to update your files based on other people’s commits. Pull commands are done using the same format as pull commands, as shown:
git pull <location> <branch>
For example, in this project, most of your pull commands will look like the following:
git pull origin master
For push and pull commands, the default location and branch are origin and master, respectively. Because of this, the above command (as well as the push command) can be simplified to the following:
git pull
If the git pull does not work, check out the git merge section.
Merge
Imagine two people, Alice and Bob, are making a painting. Alice and Bob leave the painting half-completed in a small room in their house. However, they both take pictures of the painting and print them out so they can look at the painting on their own. Alice has a great idea for the painting. She paints a few strokes onto her printed photo, then goes to the main painting to update it with her idea. Bob also has a great idea for the painting, and he paints a few strokes on his own photo. However, when Bob approaches the shared painting to make his updates, he realizes that the painting has changed since he’s last viewed it. To fix his problem, Bob copies (pulls) Alice’s edits onto his own photo, and then he merges Alice’s ideas with his own ideas for changing the painting. Once Bob has successfully combined (merged) both edits to the painting, he updates (pushes) his changes on the shared painting.
I sincerely hope you enjoyed this metaphor about git merges. In the story, Bob experienced a merge conflict because two people tried to edit the same painting. He had to copy the edits to his personal photo before he could merge his edits and update the real painting.
When you have an error pushing code because the origin has changed, you first have to pull your code.
git pull
If you are asked to write a commit message, you can skip the next step. If not, you may have a merge conflict. Your edits and your teammates’ edits overlap. Now, open your repository in a program like Sublime Merge to see the conflicts.
Once you have merged the files, choosing how to combine the two (or more) commits, commit and push your changes.
The above gif shows a possible merge conflict in the instructors’ code (image-processing). I updated a python script on my computer, and the origin had an updated README. The automatic merge updated both files because the edits did not overlap.
Troubleshooting
Git Pull and Push
If not configured or executed correctly, git pull and push commands may throw errors.
Error 403: Forbidden
This error originates when you do not have editing access to push to a github repository. Check your output to git remote -v
and check two things:
* Your origin URL should end in “.git”
* You should have editing access for the online repository (check GitHub for this)
To change the URL, use git remote set-url <location> <URL>
Error Remote does not Exist
This error during a git pull or push command means that the URL for the origin is invalid. Use git remote set-url <location> <URL>
to update it.
Error for Object Files
This error means that object files, some git config data, are not set up properly. To fix this, take the following steps:
Run the following command which lets you search for object files. Then remove those object files.
find .git/objects/ -type f -empty | xargs rm
Now, fetch the origin (basically letting it overwrite and replace object files).
git fetch -p
Finally, do a full check of the object files in your repository
git fsck --full
After this, you can git push properly because the object files are fixed.
Could not Resolve Host
This seems like a URL problem, but in reality, this is probably a Wi-Fi problem. If you cannot connect to github.com, enable Wi-Fi and try the command again.


--- layout: post title: Not now, Kato... date: 2005-03-03 00:00:00 category: aikido ---
Self-defense: defense against oneself: "He asked, what were the chances we would be attacked by a trained karate person? Pretty slim to none. So, he continued, what were the biggest threats to our life, property, and liberty? I answered all three questions the same way. The biggest threat to my life, liberty, and property was my own stupidity."


Basic carrousel-list demo
Show only four items of the available six.
Refresh the list every 5 seconds.
Pure text - item 1/6
Use lay-out, style - item 2/6
More content as a <P> - item 3/6
Images (don't forget to use width, height')- item 4/6
More content - item 5/6
Last content - item 6/6 - rotate again


This process is Experimental and is not finished.
Not working? Your email may be off. Try sending feedback with Gmail


Home
Dashboard
My repairs
Back
Back
Complete repair fields and press button Add
Choose commission to enhance repair:
Description of failure to resolve:
Choose worker:
Add!


1. What you can do
Managing your council tax online is quick and easy. Register to access your account online and take advantage of the full range of services available.
You need to register to:
- check your balance
- see what payments have been received
- check what your instalments are
- choose to receive your bill by email (e-billing)
You don't need to register to:
If you receive Housing Benefit, Council tax Support or free school meals you will need to use a different form to tell us about a change of address.


The System Admin pages are used to administer system data and settings for the Niord application. It has been divided into the following sections:
- Message Series
- Manage the message series used for message series identifier.
- Domains
- Manage the domains.
- Promulgation Types
- Manage message promulgation types.
- Firing Schedules
- Manage the list of firing schedules.
- Dictionaries
- Manage the dictionaries.
- Parameter Types
- Manage the parameter types used for executing message templates.
- Script Resources
- Manage the script resources (Freemarker & JavaScript) used for message templates, print reports and mails.
- Categories
- Manage the list of categories used for grouping NW and NM messages and used for message templates.
- Print Reports
- Manage the PDF print reports.
- Mail Queue
- Search all pending and sent e-mails.
- Niord Integration
- Integration with other Niord servers.
- Legacy Integration
- Handle integration with the legacy systems.
- Settings
- Manage the system settings.
- Batch Jobs
- Monitor and manage batch jobs.


Best Microsoft Surface Deals for Christmas 2019
Whether Pro, Laptop, Studio or otherwise, grab one of these top Surface deals while you can.
by Somrata SarkarOver the years, Microsoft has proven that it's Surface devices are not only here to stay but they are some of the best Windows devices around competing with the likes of Dell, Lenovo and HP. There's a wide range of options so you'll find a Surface that's right for your needs and we've found all the best deals and discounts available.
The Surface range boasts a sleek and powerful line of touchscreen laptops, 2-in-1 tablets, and all-in-one PCs too. They pack stunning displays, speed and versatility into slick, lightweight designs, breaking the old notion of PCs as clunky business computers. On the contrary, these premium PCs are closer to Apple MacBooks and iPads and sometimes outperform them.
That said, Surface devices can be expensive, reaching well into the thousands depending on the model and configuration you choose. That’s why we’ve rounded up the best Surface offers out there, along with buying advice, so you can spot the deals from the duds. This is the current range:
- Surface Pro 6
- Surface Go
- Surface Pro 7
- Surface Pro X
- Surface Neo (coming 2020)
- Surface Duo (coming 2020)
- Surface Laptop 2
- Surface Laptop 3
- Surface Book 2
- Surface Studio 2
Best Microsoft Surface Deals 2019
Here's how much the Surface Pro 6 costs today from all of the major retailers.
Surface accessories
Keep in mind Surface Pro tablets don’t come with the Type Cover or other accessories, so you will have to buy them separately. This mounts on to the price which is why we recommend looking for bundle deals, whichever retailer you shop from. Alternatively, if you do not find a bundle, it's a good idea to check if the discount offered is significant enough to offset the price of buying accessories separately.
Type Covers, the detachable keyboards for Surface tablets, will probably be the most useful accessory to buy. There are two version, so ensure the one you buy is compatible with the Surface model you have. The Surface Go Type Cover usually retails for £99.99/$129.99 while the Surface Pro Type Cover retails at £149.99/$159.99.
We've also listed the RRPs for other Surface accessories below so it's easier to spot how much you're really saving. Some retailers can inflate the original price to make a discount look greater than it really is.
Where to find Microsoft Surface deals
With the release of the Surface Pro 6, you can expect to see deals and discounts on older Surface Pro models. The first place to check for deals is at the Microsoft store itself. For instance, you can now get a Surface Pro (5th gen) for £649.
Also check out the Surface deals page where, at the time of writing, you can save over £500. When Microsoft offers deals, other retailers may also follow suit, so knowing Microsoft’s discount is a useful indicator of how much you’re actually saving. Remember to compare the specs of the model you’re buying against the price set by Microsoft for the same configuration.
Retailers sometimes unfairly use images of the Surface tablets with the Type Cover as well, even though the Type Cover is not included. Ensure you double check the details before adding to cart.
Of course, comparing prices against different retailers and e-retailers such as the ones below is always a good idea:
If you shop on Amazon, signing up for a Prime membership can also get you free next day delivery and access to limited-time Lightning Deals 30 minutes before non-members. You can sign up for a 30-day free trial, which you can cancel any time.
Refurbished Microsoft Surface deals
With so many models about, the year of the model on offer also affects the price. The latest version may not have the most competitive discount, while an older model with a competitive discount may not have the most advanced specs.
If you’re happy with an older model of a Surface device that’s been pre-owned, you could save shopping refurbished. We would recommend that the model you buy is certified refurbished, as these are rigorously tested and backed by Microsoft to work like new. You also get a one-year hardware warranty.
Refurbished deals can be found directly on Microsoft’s site. Keep checking if there's nothing in stock.
Microsoft Surface student discount
Microsoft also offers up to 10% discounts to students, parents and teachers and includes a range of devices.
Tech Advisor’s dedicated student deals site is another place to get a discount on Microsoft Surface products. Currently, there is also a 10% off code from Currys which you can redeem online or in store. You will need to create a Student Beans account to access these discounts.
See all Tech Advisor student tech deals here and keep an eye on all the best Christmas tech deals.
1. Microsoft Surface Pro 7 with Type Cover
From: Microsoft
Was: £923.99
Now: From £699 (up to £375 off)
View Deal
You can get up to £375 off the latest Surface Pro 7 with this bundle that includes a Type Cover. Prices start at just £699 if you go for the Core i3 model.
2. Microsoft Surface Laptop 2
From: Microsoft
Was: £1,249
Now: £899 (£350 off)
View Deal
It's one of the best laptops around, now with £350 off directly from Microsoft with the launch of the Surface Laptop 3. Read more in our review.
3.  This model comes with a Core i7, 16GB of RAM, a 1TB SSD and an Nvidia GeForce GTX 1050 graphics card. Read our Surface Book 2 review.
4.  It's one of the most compact and versatile Windows 10 devices around.
5. Microsoft Surface Laptop 3
From: Amazon
Was: £1,269
Now: £1,069 (£200 off)
View Deal
The Surface Laptop 3 has only just launched but you can get £200 off from Amazon on this model with a Core i5, 8GB RAM, 256GB SSD. There's also £250 off this Core i7 model.
6. Microsoft Surface Pro 7 with Type Cover - Core i5
From: Amazon
Was: £1,023.99
Now: £749 (27% off)
View Deal
This bundle on the Surface Pro 7 with a Core i5 processor and Type Cover is cheaper than Microsoft's official store.
7. Microsoft Surface Pro Type Cover
From: Amazon
Was: £149.99
Now: £122.97 (18% off)
View Deal
If you need a keyboard cover for your Surface Pro then this model has a fingerprint scanner. It's compatible with the Surface Pro, Surface Pro 4 and Surface Pro 3.
8. Microsoft Surface Pro 6 with Type Cover
From: Microsoft
Was: £1,003.99
Now: £779 (£224.99 off)
View Deal
Microsoft has up to almost £225 off the Surface Pro 6 bundled with a Type Cover.
9.  There are also various discounts available on the other models - up to £753 off!
10. Microsoft Surface Pen
From: Amazon
Was: £99.99
Now: £68.49 (33% off)
View Deal
Get almost a third off the Surface Pen so you can write, draw or just more accurately do things on your Surface.
Click here for the best Microsoft voucher codes.


spectrapepper
A Python package to simplify and accelerate analysis of spectroscopy data.
GitHub repo: https://github.com/spectrapepper/spectrapepper
Documentation: https://spectrapepper.github.io/spectrapepper
Conda-forge: https://anaconda.org/conda-forge/spectrapepper
Free software: MIT license
Introduction
spectrapepper is a Python package that makes advanced analysis of spectroscopic data easy and accessible through straightforward, simple, and intuitive code. This library contains functions for every stage of spectroscopic methodologies, including data acquisition, pre-processing, processing, and analysis. In particular, advanced and high statistic methods are intended to facilitate, namely combinatorial analysis and machine learning, allowing also fast and automated traditional methods.
Features
The following is a short list of some of the main procedures that spectrapepper package enables.
Baseline removal functions.
Normalization methods.
Noise filters, trimming tools, and despiking methods.
Chemometric algorithms to find peaks, fit curves, and deconvolution of spectra.
Combinatorial analysis tools, such as Spearman, Pearson, and n-dimensional correlation coefficients.
Tools for Machine Learning applications, such as data merging, randomization, and decision boundaries.
Sample data and examples.
Quickstart
Install this library using
pip
:pip install spectrapepper
Install this library using
conda-forge
:conda install -c conda-forge spectrapepper
Test it by plotting some data!:
import spectrapepper as spep import matplotlib.pyplot as plt x, y = spep.load_spectras() for i in y: plt.plot(x, i) plt.xlabel('Raman shift ($cm^{-1}$)') plt.ylabel('Intensity (a.u.)') plt.show()
If you find this library useful, please consider a reference or citation as:
Grau-Luque et al., (2021). spectrapepper: A Python toolbox for advanced analysis of spectroscopic data for materials and devices. Journal of Open Source Software, 6(67), 3781, https://doi.org/10.21105/joss.03781
Stay up-to-date by updating the library using:
pip install --update spectrapepper conda update spectrapepper
If you encounter problems when updating, try uninstalling and then re-installing:
pip uninstall spectrapepper conda remove spectrapepper
Credits
This package was created with Cookiecutter and the giswqs/pypackage project template.


"One of the next evolutions in modern metal" - Everything Is Noise
Formed in late 2013 from an unlikely merging of jazz fusion and black metal projects, Asian Death Crustacean are a four-piece channelling extreme metal, jazz, post-rock and ambient/electronic music into extended compositions. They've spent a number of years refining their sound and playing shows around the UK, including supporting Three Trapped Tigers, The Physics House Band and Poly-Math. In 2019 they recorded and mixed their debut album, ‘Baikal’, with David Castillo and Jens Bogren at Fascination Street Studios, Sweden.
Baikal released June 2020 and combines the band's massive range of influences into an exploration of the theme of metamorphosis, each section or idea emerging as a development or response to the previous and combining into a seamless flow between an eclectic mix of genres.
“Hewn from cosmic post-rock, thunderous sludge metal and unsettling ambience”, Baikal is “a remorseless succession of hair-raising crescendos and fearless descents into near-silence” navigating “multiple atmospheres and tempos, from graceful and downbeat to furious and explosive.” - Dom Lawson (Prog Magazine)


Drew Worthley's /The Ember/ has finally displaced Arcade Fire as the soundtrack-in-my-head-at-every-quiet-moment. http://drewworthley.co.uk/
3/23/2011, 11:03:40 PM
Favs: 0
Retweets: 0
link--- layout: tweet ---
Drew Worthley's /The Ember/ has finally displaced Arcade Fire as the soundtrack-in-my-head-at-every-quiet-moment. http://drewworthley.co.uk/
3/23/2011, 11:03:40 PM
Favs: 0
Retweets: 0
link


Obtaining the Static Analyzer
This page describes how to download and install the analyzer. Once the analyzer is installed, follow the instructions on using scan-build to get started analyzing your code.
Packaged Builds (Mac OS X)
Semi-regular pre-built binaries of the analyzer are available on Mac OS X. These are built to run on OS X 10.7 and later.
Builds are released frequently. Often the differences between build numbers being a few bug fixes or minor feature improvements. When using the analyzer, we recommend that you check back here occasionally for new builds, especially if the build you are using is more than a couple weeks old.
The latest build is:
Packaged builds for other platforms may eventually be provided, but we need volunteers who are willing to help provide such regular builds. If you wish to help contribute regular builds of the analyzer on other platforms, please email the Clang Developers' mailing list.
Using Packaged Builds
To use a package build, simply unpack it anywhere. If the build archive has the name checker-XXX.tar.bz2 then the archive will expand to a directory called checker-XXX. You do not need to place this directory or the contents of this directory in any special place. Uninstalling the analyzer is as simple as deleting this directory.
Most of the files in the checker-XXX directory will be supporting files for the analyzer that you can simply ignore. Most users will only care about two files, which are located at the top of the checker-XXX directory:
- scan-build: scan-build is the high-level command line utility for running the analyzer
- scan-view: scan-view a companion comannd line utility to scan-build, scan-view is used to view analysis results generated by scan-build. There is an option that one can pass to scan-build to cause scan-view to run as soon as it the analysis of a build completes
Running scan-build
For specific details on using scan-build, please see scan-build's documentation.
To run scan-build, either add the checker-XXX directory to your path or specify a complete path for scan-build when running it. It is also possible to use a symbolic link to scan-build, such one located in a directory in your path. When scan-build runs it will automatically determine where to find its accompanying files.
Other Platforms (Building the Analyzer from Source)
For other platforms, you must build Clang and LLVM manually. To do so, please follow the instructions for building Clang from source code.
Once the Clang is built, you need to add the following to your path:
- The location of the clang binary.
For example, if you built a Debug+Asserts build of LLVM/Clang (the default), the resultant clang binary will be in $(OBJDIR)/Debug+Asserts/bin (where $(OBJDIR) is often the same as the root source directory). You can also do make install to install the LLVM/Clang libraries and binaries to the installation directory of your choice (specified when you run configure).
- The locations of the scan-build and scan-view
programs.
These are installed via make install into the bin directory when clang is built.


BATTLE READY
The Military’s Environmental Legacy in the Northwest
Seventy-five years ago, America was drawn into World War II and the Pacific Northwest answered the call with lumber, hydroelectricity, even a secret plutonium factory to arm atomic bombs. This interactive digital documentary explores the hidden history of the military, the Northwest and the environment.


<EMAIL_ADDRESS>Once you instantiate something, you never change it. Instead, you replace it with another instance to make changes or ensure proper behavior
Or just
curl -sSL https://get.docker.com/ | sh
curl -sSL https://get.docker.com/ | sh
service docker restart
docker run -d -p 80:3000 --restart=always nandotorres/mean-todo
Automated the process of build and deploy an Ubuntu image to AWS with custom software installed


| print.boot {BIOsurvey} | R Documentation |
Print method for boot objects
Description
This function provides a basic summary of a bootstrap object for stratified means.
Usage
## S3 method for class 'boot':
print(x, ...)
Arguments
x |
boot object created by boot.strata . |
... |
further arguments passed to or from other methods. |
Details
this function is a method for the generic function print for class boot.
Value
orig.mean |
original stratified mean. |
orig.var |
original variance of stratified mean. |
Number of bootstraps |
number of replications. |
Bootstrap mean |
mean of bootstrap stratified means. |
Average Bootstrap Variance |
mean variance calculated from each bootstrap resample. |
See Also
boot.strata
Examples
## Not run:
print(Scallop.numbers.2008.boot)
## End(Not run)
[Package
BIOsurvey version 1.0-2
Index]


Dwayne Johnson Confirms ‘Black Adam’ Will Introduce A New Superhero Team
November 23, 2019
Dwayne Johnson Confirms ‘Black Adam’ Will Introduce A New Superhero Team
It looks like a new superhero team is going to be introduced in 2021’s Black Adam, according to Dwayne Johnson. The actor, who will play the title role, recently gave a subtle hint about the upcoming film while promoting Jumanji: The Next Level. In a new interview, via CinemaBlend, Johnson revealed that the JSA will be showing up in the very near future.
“We’re also gonna introduce JSA in Black Adam. So in JSA maybe there’s a (role)…They have an animal, a pet,” Johnson joked about including pal Kevin Hart in his new superhero film.
The JSA is the Justice Society of America, not to be confused with the Justice League. The band of superheroes has had many members over the years, so it will be interesting to see which characters make their debut in Black Adam. Hawkman, Stargirl, and Atom Smasher have all been rumored to make their debut in the upcoming DC Comics film, and Johnson’s recent comments just might confirm it. The JSA was first introduced in the 1940s and is known as the first superhero group from the comic book line.
The superhero group has already made their debut in mainstream media, popping up in Smallville and Legends of Tomorrow, but Black Adam will be their big-screen debut.
There’s a whole lot of characters to choose from which might make up the JSA in Johnson’s movie, and they’re all divided up by ages in DC Comics. Black Adam does not appear in the superhero group from the Golden, Silver or Bronze age, or the Infinite Earth additions. He did show up in what is known as the “JSA Additions” which includes a handful of other members.
Here’s who could be a part of JSA in the upcoming film:
- Hawkman
- Sand/Sandman
- Black Canary
- Hourman (as Matthew Tyler)
- Atom Smasher
- Doctor Fate
- Hawkgirl
- Star-Spangled Kid/Stargirl
- Mister Terrific
- Doctor Mid-Nite
- Jakeem Thunder
- Captain Marvel
- Hourman (as Rick Tyler)
Loading...
CinemaBlend notes that the JSA is normally tied to World War II, which might give insight as to the time period Black Adam is going to revolve around. The character has not been alluded to in any of the other DCEU films so far, so don’t expect characters like Superman, Wonder Woman or The Flash (all of whom have been tied to the JSA) to appear in the upcoming flick. Gal Gadot’s Wonder Woman is the only DCEU character confirmed to have another solo flick at this time.
Black Adam hits theaters on December 22, 2021. Johnson is the only actor attached at this time.


permissions
nix.track-api-client.nixTrackApiClient
Permissions related endpoints
requests permissions from a user via their id
users to request permissions from


{% extends "base.html" %} {% block content %}
{{ detail }}
You must be logged in to answer questions!


xmodaler.config¶
-
class
xmodaler.config.
CfgNode
(init_dict=None, key_list=None, new_allowed=False)[source]¶ Bases:
fvcore.common.config.CfgNode
The same as fvcore.common.config.CfgNode, but different in:
Use unsafe yaml loading by default. Note that this may lead to arbitrary code execution: you must not load a config file from untrusted sources before manually inspecting the content of the file.
Support config versioning. When attempting to merge an old config, it will convert the old config automatically.
-
DEPRECATED_KEYS
= '__deprecated_keys__'¶
-
IMMUTABLE
= '__immutable__'¶
-
NEW_ALLOWED
= '__new_allowed__'¶
-
RENAMED_KEYS
= '__renamed_keys__'¶
-
__init__
(init_dict=None, key_list=None, new_allowed=False)[source]¶ - Parameters
init_dict (dict) – the possibly-nested dictionary to initailize the CfgNode.
key_list (list[str]) – a list of names which index this CfgNode from the root. Currently only used for logging purposes.
new_allowed (bool) – whether adding new key is allowed when merging with other configs.
-
classmethod
_create_config_tree_from_dict
(dic, key_list)[source]¶ Create a configuration tree using the given dict. Any dict-like objects inside dict will be treated as a new CfgNode.
- Parameters
dic (dict) –
key_list (list[str]) – a list of names which index this CfgNode from the root. Currently only used for logging purposes.
-
classmethod
_decode_cfg_value
(value)[source]¶ Decodes a raw config value (e.g., from a yaml config files or command line argument) into a Python object.
If the value is a dict, it will be interpreted as a new CfgNode. If the value is a str, it will be evaluated as literals. Otherwise it is returned as-is.
-
_immutable
(is_immutable)[source]¶ Set immutability to is_immutable and recursively apply the setting to all nested CfgNodes.
-
classmethod
_load_cfg_from_file
(file_obj)[source]¶ Load a config from a YAML file or a Python source file.
-
classmethod
_open_cfg
(filename)[source]¶ Defines how a config file is opened. May be overridden to support different file schemas.
-
clear
() → None. Remove all items from D.¶
-
copy
() → a shallow copy of D¶
-
fromkeys
()¶ Create a new dictionary with keys from iterable and values set to value.
-
get
()¶ Return the value for key if key is in the dictionary, else default.
-
items
() → a set-like object providing a view on D's items¶
-
keys
() → a set-like object providing a view on D's keys¶
-
classmethod
load_cfg
(cfg_file_obj_or_str)[source]¶ Load a cfg. :param cfg_file_obj_or_str: Supports loading from:
A file object backed by a YAML file
A file object backed by a Python source file that exports an attribute “cfg” that is either a dict or a CfgNode
A string that can be parsed as valid YAML
-
classmethod
load_yaml_with_base
(filename: str, allow_unsafe: bool = False) → Dict[str, Any][source]¶ - Just like yaml.load(open(filename)), but inherit attributes from its
_BASE_.
- Parameters
filename (str or file-like object) – the file name or file of the current config. Will be used to find the base config file.
allow_unsafe (bool) – whether to allow loading the config file with yaml.unsafe_load.
- Returns
the loaded yaml
- Return type
(dict)
-
merge_from_file
(cfg_filename: str, allow_unsafe: bool = True) → None[source]¶ Merge configs from a given yaml file.
- Parameters
cfg_filename – the file name of the yaml config.
allow_unsafe – whether to allow loading the config file with yaml.unsafe_load.
-
merge_from_list
(cfg_list: List[str]) → Callable[[], None][source]¶ - Parameters
cfg_list (list) – list of configs to merge from.
-
merge_from_other_cfg
(cfg_other: fvcore.common.config.CfgNode) → Callable[[], None][source]¶ - Parameters
cfg_other (CfgNode) – configs to merge from.
-
pop
(k[, d]) → v, remove specified key and return the corresponding value.¶ If key is not found, d is returned if given, otherwise KeyError is raised
-
popitem
() → (k, v), remove and return some (key, value) pair as a¶ 2-tuple; but raise KeyError if D is empty.
-
register_deprecated_key
(key)[source]¶ Register key (e.g. FOO.BAR) a deprecated option. When merging deprecated keys a warning is generated and the key is ignored.
-
register_renamed_key
(old_name, new_name, message=None)[source]¶ Register a key as having been renamed from old_name to new_name. When merging a renamed key, an exception is thrown alerting to user to the fact that the key has been renamed.
-
set_new_allowed
(is_new_allowed)[source]¶ Set this config (and recursively its subconfigs) to allow merging new keys from other configs.
-
setdefault
()¶ Insert key with a value of default if key is not in the dictionary.
Return the value for key if key is in the dictionary, else default.
-
update
([E, ]**F) → None. Update D from dict/iterable E and F.¶ If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]
-
values
() → an object providing a view on D's values¶
-
xmodaler.config.
get_cfg
() → xmodaler.config.config.CfgNode[source]¶ Get a copy of the default config.
- Returns
a X-modaler CfgNode instance.
-
xmodaler.config.
set_global_cfg
(cfg: xmodaler.config.config.CfgNode) → None[source]¶ Let the global config point to the given cfg.
Assume that the given “cfg” has the key “KEY”, after calling set_global_cfg(cfg), the key can be accessed by:
from xmodaler.config import global_cfg print(global_cfg.KEY)
By using a hacky global config, you can access these configs anywhere, without having to pass the config object or the values deep into the code. This is a hacky feature introduced for quick prototyping / research exploration.
-
xmodaler.config.
downgrade_config
(cfg: xmodaler.config.config.CfgNode, to_version: int) → xmodaler.config.config.CfgNode[source]¶ Downgrade a config from its current version to an older version.
- Parameters
cfg (CfgNode) –
to_version (int) –
Note
A general downgrade of arbitrary configs is not always possible due to the different functionalities in different versions. The purpose of downgrade is only to recover the defaults in old versions, allowing it to load an old partial yaml config. Therefore, the implementation only needs to fill in the default values in the old version when a general downgrade is not possible.
-
xmodaler.config.
upgrade_config
(cfg: xmodaler.config.config.CfgNode, to_version: Optional[int] = None) → xmodaler.config.config.CfgNode[source]¶ Upgrade a config from its current version to a newer version.
- Parameters
cfg (CfgNode) –
to_version (int) – defaults to the latest version.
-
xmodaler.config.
configurable
(init_func=None, *, from_config=None)[source]¶ Decorate a function or a class’s __init__ method so that it can be called with a
CfgNode
object using afrom_config()
function that translatesCfgNode
to arguments.Examples:
# Usage 1: Decorator on __init__: class A: @configurable def __init__(self, a, b=2, c=3): pass @classmethod def from_config(cls, cfg): # 'cfg' must be the first argument # Returns kwargs to be passed to __init__ return {"a": cfg.A, "b": cfg.B} a1 = A(a=1, b=2) # regular construction a2 = A(cfg) # construct with a cfg a3 = A(cfg, b=3, c=4) # construct with extra overwrite # Usage 2: Decorator on any function. Needs an extra from_config argument: @configurable(from_config=lambda cfg: {"a: cfg.A, "b": cfg.B}) def a_func(a, b=2, c=3): pass a1 = a_func(a=1, b=2) # regular call a2 = a_func(cfg) # call with a cfg a3 = a_func(cfg, b=3, c=4) # call with extra overwrite
- Parameters
init_func (callable) – a class’s
__init__
method in usage 1. The class must have afrom_config
classmethod which takes cfg as the first argument.from_config (callable) – the from_config function in usage 2. It must take cfg as its first argument.
-
xmodaler.config.
global_cfg
¶ The same as fvcore.common.config.CfgNode, but different in:
Use unsafe yaml loading by default. Note that this may lead to arbitrary code execution: you must not load a config file from untrusted sources before manually inspecting the content of the file.
Support config versioning. When attempting to merge an old config, it will convert the old config automatically.
-
xmodaler.config.
kfg
¶ The same as fvcore.common.config.CfgNode, but different in:
Use unsafe yaml loading by default. Note that this may lead to arbitrary code execution: you must not load a config file from untrusted sources before manually inspecting the content of the file.
Support config versioning. When attempting to merge an old config, it will convert the old config automatically.


Alberini Benefits Group, based in the Mahoning Valley is one of Ohio’s most trusted
independent insurance agencies. We offer a full range of insurance for personal,
commercial, life, health and workers comp benefits. These services enable us to
help you manage all of your employee benefits, and insurance needs with one
dedicated and trusted partner.
We have over 20 years of experience, and a staff of insurance advisors and
advocates that are willing to help you. We have built our business on personal and
customer service. We promise to “Always be here for you”.
How Can We Help You?
Alberini Benefits Group, represents many insurance companies. This is one of the
reasons our business has grown. Our wide range of carrier choices allows us to
compare products, price and discounts you might be eligible for. As we work with
you, we will identify your specific insurance requirements. This evaluation will
enable us to select the company whose product is most appropriate to suit your
needs. And as the world changes seemingly faster and faster, so do your risk
exposure. You can rely on us to make sure your insurance and benefit options
keep pace whether it is for your business or employees.


In our mission to create an open, fair, and accessible financial future, we are committed to supporting a vast array of sustainability, humanitarian, and environmental initiatives. To that end, we recently partnered with volunteers from the UN Refugee Agency (UNHCR), the UN D...


How Youtube videos will be looped?
Always loop by default
Don't loop by default, I'll loop it from page


--- layout: post permalink: cheapoair.html Tags: Array NameOfCoupon: CheapOair Cash Back Summary: See our CheapOair Coupon Code, CheapOair Rebate, CheapOair Promo Code, CheapOair Discount, CheapOair Coupon Cash Back Rebate here. MetaKeywords: CheapOair Coupon Code, CheapOair Rebate, CheapOair Promo Code, CheapOair Cash Back Rebate, CheapOair Discount, CheapOair Coupon Image: LinkURL: http://click.linksynergy.com/fs-bin/click?id=6ZrgceZgf7E&offerid=184477.10000494&type=3 affiliate_url_link: http://www.icouponblog.com/jane.php?id=2510 thesis_readmore: See the CheapOair Coupon thesis_thumb: http://www.icouponblog.com/tn.php?merchantURL=affiliates.cheapoair.com Title: Save $5 - CheapOair Coupon Code for affiliates.cheapoair.com. CheapOair Rebate & Discount thesis_description: Our CheapOair Discount Coupon Code for affiliates.cheapoair.com. We have the best CheapOair Rebate anywhere. thesis_keywords: CheapOair, CheapOair Coupon Code, CheapOair Discount, CheapOair Rebate product_name: CheapOair hop_url: http://www.icouponblog.com/hop.php?id=2510 ---
Are expensive airfare tickets stopping you from going on that much needed and desired vacation? Do you want to go on a honeymoon to a more exotic place than Cincinnati? Have you always wanted to travel and experience different, sights and sounds? CheapOair is what you need. It will get you there fast and at an amazingly low airfare. CheapOair is not called cheapo for nothing. They guarantee you the lowest airfare to hundreds of destinations. Check out online cheapoair.com. Travel will be fun and very inexpensive with CheapOair. Use our discount coupons to get a great price.
CheapOair offers bargain fare for unsold airline tickets. You can search over 400 airlines in seconds with CheapOair. Why pay an arm and a leg by booking directly or through a travel agent, when you can get the best prices by buying it online with CheapOair. There are thousands of destinations, including international destinations. Check it out now and start packing your bags! You have a plane to catch! Fly to the West Coast or Paris, London, Tokyo, Singapore or any other vacation paradise. You can also get extremely low, discounted hotel rates when you use CheapOair
Its time to go places…. CheapOair will ensure that you get there in comfort, style and at an extremely affordable price. CheapOair has the lowest airfare to thousands of destinations international or domestic. You can also get discounted hotels with CheapOair. Don’t dream of the perfect vacation…Go to one with CheapOair.


*Msg
- A global variable holding the last recently issued error message. See also
Error Handling
, *Err
and ^
.
: (+ 'A 2)
!? (+ 'A 2)
A -- Number expected
?
:
: *Msg
-> "Number expected"
+Mis
- Prefix class to explicitly specify validation functions for
+relation
s. Expects a function that takes
a value and an entity object, and returns NIL
if everything is
correct, or an error string. See also Database.
(class +Ord +Entity) # Order class
(rel pos (+Mis +List +Joint) # List of positions in that order
((Val Obj)
(when (memq NIL Val)
"There are empty positions" ) )
ord (+Pos) )
(macro prg) -> any
- Substitues all
pat?
symbols in
prg
(using fill
), and
executes the result with run
. Used
occasionally to call functions which otherwise do not evaluate their arguments.
: (de timerMessage (@N . @Prg)
(setq @N (- @N))
(macro
(task @N 0 . @Prg) ) )
-> timerMessage
: (timerMessage 6000 (println 'Timer 6000))
-> (-6000 0 (println 'Timer 6000))
: (timerMessage 12000 (println 'Timer 12000))
-> (-12000 0 (println 'Timer 12000))
: (more *Run)
(-12000 2616 (println 'Timer 12000))
(-6000 2100 (println 'Timer 6000))
-> NIL
: Timer 6000
Timer 12000
...
(made ['lst1 ['lst2]]) -> lst
- Initializes a new list value for the current
make
environment. All list elements already
produced with chain
, link
and yoke
are discarded, and lst1
is
used instead. Optionally, lst2
can be specified as the new linkage
cell, otherwise the last cell of lst1
is used. When called without
arguments, made
does not modify the environment. In any case, the
current list is returned.
: (make
(link 'a 'b 'c) # Link three items
(println (made)) # Print current list (a b c)
(made (1 2 3)) # Discard it, start new with (1 2 3)
(link 4) ) # Link 4
(a b c)
-> (1 2 3 4)
(mail 'any 'cnt|lst 'sym1|lst2 'sym2|lst3 'sym3 'lst4 . prg)'
- Sends an eMail via SMTP to a mail server at host
any
, port
cnt
. If the second argument is a list, it should be a structure
(user password . port)
, and "@bin/ssl" will be called to establish
an encrypted connection. sym1|lst2
should be the "from" address (or
a cons pair of "reply-to" and "from"), sym2|lst3
the "to"
address(es), and sym3
the subject. lst4
is a list of
attachments, each one specified by three elements for path, name and mime type.
prg
generates the mail body with prEval
. See also connect
.
(mail "localhost" 25 # Local mail server
<EMAIL_ADDRESS># "From" address
<EMAIL_ADDRESS># "To" address
"Testmail" # Subject
(quote
"img/go.png" "go.png" "image/png" # First attachment
"img/7fach.gif" "7fach.gif" "image/gif" ) # Second attachment
"Hello," # First line
NIL # (empty line)
(prinl (pack "This is mail #" (+ 3 4))) ) # Third line
(make .. [(made 'lst ..)] .. [(link 'any ..)] ..) -> any
- Initializes and executes a list-building process with the
made
, chain
, link
and yoke
functions, and returns the result list.
For efficiency, pointers to the head and the tail of the list are maintained
internally.
: (make (link 1) (link 2 3) (link 4))
-> (1 2 3 4)
: (make (made (1 2 3)) (link 4))
-> (1 2 3 4)
(map 'fun 'lst ..) -> lst
- Applies
fun
to lst
and all successive CDRs. When
additional lst
arguments are given, they are passed to
fun
in the same way. Returns the result of the last application.
See also mapc
, maplist
, mapcar
, mapcon
, mapcan
and filter
.
: (map println (1 2 3 4) '(A B C))
(1 2 3 4) (A B C)
(2 3 4) (B C)
(3 4) (C)
(4) NIL
-> NIL
map/3
- Pilog predicate that returns a list and
subsequent CDRs of that list, after applying the
get
algorithm to that object and the following
arguments. Often used in database queries. See also lst/3
.
: (? (db nr +Ord 1 @Ord) (map @L @Ord pos))
@Ord={3-7} @L=({4-1} {4-2} {4-3})
@Ord={3-7} @L=({4-2} {4-3})
@Ord={3-7} @L=({4-3})
-> NIL
(mapc 'fun 'lst ..) -> any
- Applies
fun
to each element of lst
. When
additional lst
arguments are given, their elements are also passed
to fun
. Returns the result of the last application. See also
map
, maplist
, mapcar
, mapcon
, mapcan
and filter
.
: (mapc println (1 2 3 4) '(A B C))
1 A
2 B
3 C
4 NIL
-> NIL
(mapcan 'fun 'lst ..) -> lst
- Applies
fun
to each element of lst
. When
additional lst
arguments are given, their elements are also passed
to fun
. Returns a (destructively) concatenated list of all results.
See also map
, mapc
, maplist
, mapcar
, mapcon
, filter
.
: (mapcan reverse '((a b c) (d e f) (g h i)))
-> (c b a f e d i h g)
(mapcar 'fun 'lst ..) -> lst
- Applies
fun
to each element of lst
. When
additional lst
arguments are given, their elements are also passed
to fun
. Returns a list of all results. See also map
, mapc
, maplist
, mapcon
, mapcan
and filter
.
: (mapcar + (1 2 3) (4 5 6))
-> (5 7 9)
: (mapcar '((X Y) (+ X (* Y Y))) (1 2 3 4) (5 6 7 8))
-> (26 38 52 68)
(mapcon 'fun 'lst ..) -> lst
- Applies
fun
to lst
and all successive CDRs. When
additional lst
arguments are given, they are passed to
fun
in the same way. Returns a (destructively) concatenated list of
all results. See also map
, mapc
, maplist
, mapcar
, mapcan
and filter
.
: (mapcon copy '(1 2 3 4 5))
-> (1 2 3 4 5 2 3 4 5 3 4 5 4 5 5)
(maplist 'fun 'lst ..) -> lst
- Applies
fun
to lst
and all successive CDRs. When
additional lst
arguments are given, they are passed to
fun
in the same way. Returns a list of all results. See also
map
, mapc
, mapcar
, mapcon
, mapcan
and filter
.
: (maplist cons (1 2 3) '(A B C))
-> (((1 2 3) A B C) ((2 3) B C) ((3) C))
(maps 'fun 'sym ['lst ..]) -> any
- Applies
fun
to all properties of sym
. When
additional lst
arguments are given, their elements are also passed
to fun
. Returns the result of the last application. Note that
'maps' should only be used when the property list is not modified by
fun
. Otherwise it is better to use a loop over the result of
getl
. See also putl
.
: (put 'X 'a 1)
-> 1
: (put 'X 'b 2)
-> 2
: (put 'X 'flg T)
-> T
: (getl 'X)
-> (flg (2 . b) (1 . a))
: (maps println 'X '(A B))
flg A
(2 . b) B
(1 . a) NIL
-> NIL
(mark 'sym|0 ['NIL | 'T | '0]) -> flg
- Tests, sets or resets a mark for
sym
in the database (for a
second argument of NIL
, T
or 0
,
respectively), and returns the old value. The marks are local to the current
process (not stored in the database), and vanish when the process terminates. If
the first argument is zero, all marks are cleared.
: (pool "db")
-> T
: (mark '{1} T) # Mark
-> NIL
: (mark '{1}) # Test
-> T # -> marked
: (mark '{1} 0) # Unmark
-> T
: (mark '{1}) # Test
-> NIL # -> unmarked
(match 'lst1 'lst2) -> flg
- Takes
lst1
as a pattern to be matched against
lst2
, and returns T
when successful. Atoms must be
equal, and sublists must match recursively. Symbols in the pattern list with
names starting with an at-mark "@
" (see pat?
) are taken as wildcards. They can match
zero, one or more elements, and are bound to the corresponding data. See also
chop
, split
and fill
.
: (match '(@A is @B) '(This is a test))
-> T
: @A
-> (This)
: @B
-> (a test)
: (match '(@X (d @Y) @Z) '((a b c) (d (e f) g) h i))
-> T
: @X
-> ((a b c))
: @Y
-> ((e f) g)
: @Z
-> (h i)
(max 'any ..) -> any
- Returns the largest of all
any
arguments. See also min and Comparing.
: (max 2 'a 'z 9)
-> z
: (max (5) (2 3) 'X)
-> (5)
(maxKey 'tree ['any1 ['any2]]) -> any
- Returns the largest key in a database tree. If a minimal key
any1
and/or a maximal key any2
is given, the largest
key from that range is returned. See also tree
, leaf
, minKey
and genKey
.
: (maxKey (tree 'nr '+Item))
-> 7
: (maxKey (tree 'nr '+Item) 3 5)
-> 5
(maxi 'fun 'lst ..) -> any
- Applies
fun
to each element of lst
. When
additional lst
arguments are given, their elements are also passed
to fun
. Returns that element from lst
for which
fun
returned a maximal value (and stores the maximal value in the
global variable @@
). See also mini
and sort
.
: (setq A 1 B 2 C 3)
-> 3
: (maxi val '(A B C))
-> C
: (maxi # Symbol with largest list value
'((X)
(and (pair (val X)) (size @)) )
(all) )
-> pico
(member 'any 'lst) -> any
- Returns the tail of
lst
that starts with any
when
any
is a member of lst
, otherwise NIL
.
See also memq
, assoc
and idx
.
: (member 3 (1 2 3 4 5 6))
-> (3 4 5 6)
: (member 9 (1 2 3 4 5 6))
-> NIL
: (member '(d e f) '((a b c) (d e f) (g h i)))
-> ((d e f) (g h i))
member/2
- Pilog predicate that succeeds if the the first
argument is a member of the list in the second argument. See also
equal/2
and member
.
: (? (member @X (a b c)))
@X=a
@X=b
@X=c
-> NIL
(memq 'any 'lst) -> any
- Returns the tail of
lst
that starts with any
when
any
is a member of lst
, otherwise NIL
.
==
is used for comparison (pointer
equality). See also member
, mmeq
, asoq
, push1q
, delq
and Comparing.
: (memq 'c '(a b c d e f))
-> (c d e f)
: (memq (2) '((1) (2) (3)))
-> NIL
(meta 'obj|typ 'sym ['sym2|cnt ..]) -> any
- Fetches a property value
any
, by searching the property lists
of the classes and superclasses of obj
, or the classes in
typ
, for the property key sym
, and by applying the
get
algorithm to the following optional
arguments. See also var:
.
: (setq A '(B)) # Be 'A' an object of class 'B'
-> (B)
: (put 'B 'a 123)
-> 123
: (meta 'A 'a) # Fetch 'a' from 'B'
-> 123
(meth 'obj ['any ..]) -> any
- This function is usually not called directly, but is used by
dm
as a template to initialize the
VAL
of message symbols. It searches for itself in the methods of
obj
and its classes and superclasses, and executes that method. An
error "Bad message"
is issued if the search is unsuccessful. See
also OO Concepts, method
, send
and try
.
: meth
-> 67283504 # Value of 'meth'
: rel>
-> 67283504 # Value of any message
(method 'msg 'obj) -> fun
- Returns the function body of the method that would be executed upon sending
the message
msg
to the object obj
. If the message
cannot be located in obj
, its classes and superclasses,
NIL
is returned. See also OO Concepts,
send
, try
, meth
, super
, extra
, class
.
: (method 'mis> '+Number)
-> ((Val Obj) (and Val (not (num? Val)) "Numeric input expected"))
(methods 'sym) -> lst
- (Debug mode only) Returns a list of method specifications for the object or
class
sym
, as they are inherited from sym
's classes
and superclasses. See also OO Concepts, dep
, class
and can
.
: (more (methods '+Joint))
(keep> . +Joint)
(lose> . +Joint)
(rel> . +Joint)
(mis> . +Joint)
(T . +Joint)
(revise> . +relation)
(print> . +relation)
(zap> . +relation)
(del> . +relation)
(put> . +relation)
(has> . +relation)
(ele> . +relation)
(min 'any ..) -> any
- Returns the smallest of all
any
arguments. See also max and Comparing.
: (min 2 'a 'z 9)
-> 2
: (min (5) (2 3) 'X)
-> X
(minKey 'tree ['any1 ['any2]]) -> any
- Returns the smallest key in a database tree. If a minimal key
any1
and/or a maximal key any2
is given, the smallest
key from that range is returned. See also tree
, leaf
, maxKey
and genKey
.
: (minKey (tree 'nr '+Item))
-> 1
: (minKey (tree 'nr '+Item) 3 5)
-> 3
(mini 'fun 'lst ..) -> any
- Applies
fun
to each element of lst
. When
additional lst
arguments are given, their elements are also passed
to fun
. Returns that element from lst
for which
fun
returned a minimal value (and stores the minimal value in the
global variable @@
). See also maxi
and sort
.
: (setq A 1 B 2 C 3)
-> 3
: (mini val '(A B C))
-> A
(mix 'lst cnt|'any ..) -> lst
- Builds a list from the elements of the argument
lst
, as
specified by the following cnt|'any
arguments. If such an argument
is a number, the cnt
'th element from lst
is taken,
otherwise that argument is evaluated and the result is used.
: (mix '(a b c d) 3 4 1 2)
-> (c d a b)
: (mix '(a b c d) 1 'A 4 'D)
-> (a A d D)
(mmeq 'lst 'lst) -> any
- Returns the tail of the second argument
lst
that starts with a
member of the first argument lst
, otherwise NIL
.
==
is used for comparison (pointer
equality). See also member
, memq
, asoq
and delq
.
: (mmeq '(a b c) '(d e f))
-> NIL
: (mmeq '(a b c) '(d b x))
-> (b x)
(money 'num ['sym]) -> sym
- Formats a number
num
into a digit string with two decimal
places, according to the current locale
. If an additional currency name is
given, it is appended (separated by a space). See also telStr
, datStr
and format
.
: (money 123456789)
-> "1,234,567.89"
: (money 12345 "EUR")
-> "123.45 EUR"
: (locale "DE" "de")
-> NIL
: (money 123456789 "EUR")
-> "1.234.567,89 EUR"
(more 'lst ['fun]) -> flg
(more 'cls) -> any
- (Debug mode only) Displays the elements of
lst
(first form), or
the type and methods of cls
(second form). fun
defaults to print
. In the second
form, the method definitions of cls
are pretty-printed with
pp
. After each step, more
waits for console input, and terminates when a non-empty line is entered. In
that case, T
is returned, otherwise (when end of data is reached)
NIL
. See also query
and
show
.
: (more (all)) # Display all internal symbols
inc>
leaf
nil
inc!
accept. # Stop
-> T
: (more (all) show) # 'show' all internal symbols
inc> 67292896
*Dbg ((859 . "lib/db.l"))
leaf ((Tree) (let (Node (cdr (root Tree)) X) (while (val Node) (setq X (cadr @) Node (car @))) (cddr X)))
*Dbg ((173 . "lib/btree.l"))
nil 67284680
T (((@X) (^ @ (not (-> @X)))))
. # Stop
-> T
: (more '+Link) # Display a class
(+relation)
(dm mis> (Val Obj)
(and
Val
(nor (isa (: type) Val) (canQuery Val))
"Type error" ) )
(dm T (Var Lst)
(unless (=: type (car Lst)) (quit "No Link" Var))
(super Var (cdr Lst)) )
-> NIL
(msg 'any ['any ..]) -> any
- Prints
any
with print
, followed by all any
arguments (printed with prin
) and a
newline, to standard error. The first any
argument is returned.
: (msg (1 a 2 b 3 c) " is a mixed " "list")
(1 a 2 b 3 c) is a mixed list
-> (1 a 2 b 3 c)


PIXIV_DOWNLOADER
A simple downloader for pixiv daily
Use
- git clone
- SET ENV, for example: export PIXIV_USERNAME='233'
- npm start
Config
- Most configure in
config.js
, please modify it as you want - Please modify ENV setting if you want to use huaweicloud cdn. (
disable by default
)
| Property | Default | Description |
|---|---|---|
| pixiv.username | process.env.PIXIV_USERNAME | pixiv username |
| pixiv.password | process.env.PIXIV_PASSWORD | pixiv password |
| pixiv.proxy | process.env.HTTP_PROXY | http_proxy for pixiv |
| webdriver | headless |
selenium args |
| save.aria2Enable | false | enable or disable aria2 |
| save.aria2.href | null | aria2 download url href |
| save.aria2.rpc | localhost:6800 | aria2 rpc config |
| save.aria2.config | {"pause-metadata": "true"} | aria2 download configure |
| save.proxy | process.env.HTTP_PROXY | http_proxy for download |
| save.dir | path.resolve(__dirname, './tmp') | save dir for image |
| save.limit | 10 | concurrency download limit |
| redis.enable | true | using redis to remove duplicate |
| redis.connect | {"port": 6379,"host": "<IP_ADDRESS>"} | Redis connection configure. |
| proxy | process.env.HTTP_PROXY | global http_proxy |
| user_agent | windows chrome default, dont modify |
UserAgent for download, dynamic update |
| baseUrl | process.env.HWC_BASEURL | huaweicloud cdn basic url |
| HWC_ENABLE | process.env.HWC_ENABLE (disable by default) | enable or disable huaweicloud cdn |
| HWC_BASEURL | process.env.HWC_BASEURL | huaweicloud cdn basic url |
| NAME | process.env.HWC_NAME | huaweicloud username |
| PASSWORD | process.env.HWC_PASSWORD | huaweicloud password |
| USER_DOMAIN_NAME | process.env.HWC_USER_DOMAIN_NAME | huaweicloud user domain name |
| SCOPE_DOMAIN_NAME | process.env.HWC_SCOPE_DOMAIN_NAME | huaweicloud user scope domain name |
See: https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=IAM&api=KeystoneCreateUserTokenByPassword
See: https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=CDN&api=CreatePreheatingTasks
Redis configure: https://github.com/NodeRedis/node-redis#options-object-properties
Docs
Known issues
- Socket hang up when committing huaweicloud preheating task.
Q&A
- Why does the file name look strange? Such as:
83876617_p0.png
,83882514_p0.jpg
,83875546_p1.jpg
. Does it have any special meaning?
- Yes, it does.
- Take
83876617_p0.png
for instance, I think83876617
is the unique id for each artwork,p0
andp1
is the index of each image which are in the same artworks. - You can visit
https://www.pixiv.net/artworks/${unique_id}
to verify it, for example, https://www.pixiv.net/artworks/83876617