[gecode-users] users Digest, Vol 124, Issue 6
Juan Carlos Hernandez
jchernandez.madrid at gmail.com
Mon Feb 1 18:24:34 CET 2016
Dear Alex and Christian,
thanks a lot! A very elegant solution - it works well, but I am now
battling with two problems
1. I get a segmentation fault when I try to run it in parallel mode (say,
using 8 threads). The error happens irregularly, but more often when I
increase the thread count. Here is what my constrain function looks like
for a maximization problem
virtual void constrain(const Space& _b){
const cpSolver& mycpSolver = static_cast<const cpSolver&>(_b);
rel(*this, objectives, IRT_GR, mycpSolver.objectives);
}
Since this does not really look like the other examples in the Gecode
manual, I guess that it is not correct. But I was unable to come up with
any other solution that rel would accept (that is, for which there is a
matching version of rel).
2. Ideally, I would like to have more than two objectives and have the
search to first try to maximize the first objective, then the second, etc.
But I do not manage, not matter which variable selection rule I use.
Typically, I get a little advancement in the first objective (say, it goes
from 0 to 1, and perhaps to two), and then the search makes progress on the
third or fourth objective in order.
Thanks,
JC
2016-01-29 12:15 GMT+01:00 Christian Schulte <cschulte at kth.se>:
> Alex is spot on here: but let me expand a little.
>
> You might have used the cost() member function for B&B. However the cost()
> member function is just implemented in terms of the constrain() member
> function. So what I would do is the following:
> - Have a integer variable array cost containing the two cost variables you
> have in mind.
> - implement a constrain(const Space& _b) member function: _b refers to the
> so-far best solution. Cast this to your script type, say b. Then this just
> posts
> rel(*this, cost, IRT_LQ, b.cost);
> This enforces that this->cost is lexicographically smaller then the so
> far best cost b.cost.
>
> That's it. More on the constrain() function you can find in Chapter 2 of
> MPG.
>
> Cheers
> Christian
>
> --
> Christian Schulte, www.gecode.org/~schulte
> Professor of Computer Science, KTH, cschulte at kth.se
> Expert Researcher, SICS, cschulte at sics.se
>
>
> -----Original Message-----
> From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
> Of Alexander Schiendorfer
> Sent: Friday, January 29, 2016 12:06 PM
> To: users at gecode.org
> Subject: Re: [gecode-users] users Digest, Vol 124, Issue 6
>
> Hi Juan,
>
> it seems to me that you're searching for lexicographic branch-and-bound.
> There is a global constraint lex_lesseq that you might want to consider for
> posting in the constrain method of a Space.
>
> Cheers,
> Alex
>
> On 29.01.2016 12:00, users-request at gecode.org wrote:
> > Send users mailing list submissions to
> > users at gecode.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://www.gecode.org/cgi-bin/mailman/listinfo/users
> > or, via email, send a message with subject or body 'help' to
> > users-request at gecode.org
> >
> > You can reach the person managing the list at
> > users-owner at gecode.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of users digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Best way to implement multi-criterion optimization in Gecode?
> > (Juan Carlos Hernandez)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Thu, 28 Jan 2016 12:30:54 +0100
> > From: Juan Carlos Hernandez <jchernandez.madrid at gmail.com>
> > To: users at gecode.org
> > Subject: [gecode-users] Best way to implement multi-criterion
> > optimization in Gecode?
> > Message-ID:
> > <CAFd=
> f3EAU+XPqJo02KPT9SWibPjxkifw-F2so-4mE+x4Kv7Q5A at mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Hi everyone,
> >
> >
> > I am trying to use Gecode to solve a multi-criterion problem
> >
> >
> > minimize (F1(x,z), F2(x,z) )
> >
> > subject to constraints on x,z
> >
> >
> > The objectives are ordered in order of importance, so I would like to
> > first solve the problem P1
> >
> >
> > minimize F1(x,z)
> >
> > subject to original constraints on x,z
> >
> >
> > and then consider the modified problem P2
> >
> >
> > minimize F2(x,z)
> >
> > subject to original constraints on x,z
> >
> > F1(x,z) = F1opt
> >
> >
> > where F1opt is the optimal value of P1.
> >
> >
> > What is the most efficient way to implement this in Gecode?
> >
> >
> >
> > I am now doing two completely separate searches, in the sense that I
> > create a new Space and run BAB on it for each of the problems. I am
> > sure that this cannot be the most efficient way of dealing with the
> > problem, but am unable to figure out how to do it "the right way".
> > Essentially, when solving P2 I should be able to make use of the work
> done
> while solving P1...
> >
> >
> > Any feedback is very much appreciated!
> >
> >
> > Thanks,
> >
> > JC
> > -------------- next part -------------- An HTML attachment was
> > scrubbed...
> > URL:
> > <http://www.gecode.org/pipermail/users/attachments/20160128/06e6ff75/a
> > ttachment-0001.html>
> >
> > ------------------------------
> >
> > _______________________________________________
> > Gecode users mailing list
> > users at gecode.org
> > https://www.gecode.org/mailman/listinfo/gecode-users
> >
> >
> > End of users Digest, Vol 124, Issue 6
> > *************************************
>
> --
> Alexander Schiendorfer, M.Sc.
> Institute for Software & Systems Engineering Raum 3043, Gebäude N
> Universität Augsburg
>
> Web:
>
> http://www.informatik.uni-augsburg.de/lehrstuehle/swt/se/staff/aschiendorfer
> /
> Tel.: +49 (821) 598 - 2196
> E-Mail: alexander.schiendorfer at informatik.uni-augsburg.de
>
>
> _______________________________________________
> Gecode users mailing list
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users
>
>
> _______________________________________________
> Gecode users mailing list
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20160201/c76f6b07/attachment.html>
More information about the users
mailing list


Please go to "./110_nd_scatter.html" to play with the multidimensional scatter plot widget.
Or return to the jp_doodle repository.


Initialized with data
Initialized with data and custom data range
Initialized with data and colors
Initialized with data and colors and threshold values
Initialized with data and color function
Initialized with data and updated data
Click on the heatmap to create new random data.
Initialized with data and updated color update
Click on the heatmap to update the color scheme.
Let's try to actually break it... *Puts on fedora*
Code below is not meant to be seen, but to ensure that no errors are
thrown when invalid data is passed into the Polymer element.


Intel Performance Strategy Team Publishing Intentionally Misleading Benchmarks
by msmashAn anonymous reader shares a post: This week something happened that many may not have seen. Intel published a set of benchmarks showing advantage of a dual Intel Xeon Platinum 9282 system versus the AMD EPYC 7742. Vendors present benchmarks to show that their products are good from time-to-time. There is one difference in this case: we checked Intel's work and found that they presented a number to intentionally mislead would-be buyers as to the company's relative performance versus AMD.


The greatest movie search site ever!
This is a great place to introduce to describe the benefits of searching for movies on Rotten Tomatoes.
Just enter a word or phrase to search. Filter the results with a second word or phrase.


3 referrals for Mike Smith
You need to book 2 appointments
Booking reference number
0002 7480 8900
Referred on 13 August 2018
by
Dr Zubeir Smith at New Street Medical Practice
Booking reference number
0002 7480 8900
Referred on 3 September 2018
by
Dr Gillian Hall at New Street Medical Practice
You have 1 appointment booked
Booking reference number
8854 3347 4440
Monday 12 November 2018, 1:30pm
at General Respiratory Medicine-Respiratory Medicine-Leeds (Seacroft Hospital)-40671


distname + " chisquare"
dist_ = distdiscrete[:]
del dist_[6:8] // only include hypergeom once
for distname, arg in dist_:
distfn = getattr(stats,distname)
signature = inspect.getargspec(distfn._parse_args)
yield check_discrete_chisquare, distfn, arg, rvs, alpha, \
distname + " chisquare"
seen = set()
for distname, arg in distdiscrete:
if distname in seen:
continue
seen.add(distname)


Pairing to solve challenges was great. It allows for devolpment to happen a lot quicker than if I am working on the issue myself. I really like the shared joy from solving something together but on the other hand I found the communication is difficult since you are not on site with the person. Therefore you really need to describe what you are trying to do, what you are looking at and the actions you are trying to accomplish. I used to be in sports so I understand you can't improve if you don't get negative feedback. I took the reccamendations in stride and think that I am a much better communicator now than I was before. Writing feedback was a little difficult in that I am not that comfortable in telling others their faults.


Administrator
| ID / Name | Type | Organization ID | |
|---|---|---|---|
|
49337430
Nala |
Dog | OK26 | View / Edit / Delete |
|
49337456
Georgie |
Dog | IL805 | View / Edit / Delete |
|
49337313
Thor |
Cat | CA2805 | View / Edit / Delete |
|
49337433
Korbin |
Cat | NY203 | View / Edit / Delete |
|
49337418
Jesse |
Cat | NJ353 | View / Edit / Delete |
|
49337435
Rita |
Cat | CA163 | View / Edit / Delete |


Uses of Package
org.uma.jmetal.problem.doubleproblem
-
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.algorithm.multiobjective.abyss Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.algorithm.multiobjective.dmopso Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.algorithm.multiobjective.gde3 Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.algorithm.multiobjective.omopso Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.algorithm.multiobjective.smpso Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.algorithm.singleobjective.differentialevolution Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.algorithm.singleobjective.evolutionstrategy Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.algorithm.singleobjective.particleswarmoptimization Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.auto.parameter.catalogue Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.component.algorithm.multiobjective Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.component.catalogue.common.solutionscreation.impl Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.component.catalogue.pso.velocityupdate.impl Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.operator.mutation.impl Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.doubleproblem.impl Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.multiobjective Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.multiobjective.uf Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.multiobjective.cdtlz Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.multiobjective.cec2015OptBigDataCompetition Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.multiobjective.cf Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.multiobjective.cre Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.multiobjective.dtlz Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.multiobjective.ebes Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.multiobjective.fda Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.multiobjective.glt Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.multiobjective.lircmop Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.multiobjective.lsmop Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.multiobjective.lz09 Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.multiobjective.maf Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.multiobjective.mop Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.multiobjective.re Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.multiobjective.wfg Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.multiobjective.zdt Class Description DoubleProblem Interface representing continuous problems -
Classes in org.uma.jmetal.problem.doubleproblem used by org.uma.jmetal.problem.singleobjective Class Description DoubleProblem Interface representing continuous problems


--- layout: post title: ">NServiceBus support for StructureMap" date: 2009-05-14 22:01:00.000000000 +02:00 categories: - NServiceBus - StructureMap tags: [] status: publish type: post published: true meta: blogger_blog: andreasohlund.blogspot.com blogger_permalink: "/2009/05/nservicebus-support-for-structuremap.html" author: login: andreas.ohlund email<EMAIL_ADDRESS>display_name: Andreas Öhlund first_name: Andreas last_name: "Öhlund" ---
>
I've just committed support for StructureMap to the NServiceBus trunk so if you are using NSB and prefer StructureMap as your IoC-Container you can get the latest NSB build from teamcity.codebetter.com (thanks Udi for trusting me as a committer)
To configure NSB to use StructureMap use the following syntax:
var bus = Configure.With()
.StructureMapBuilder()
.MsmqSubscriptionStorage()
.XmlSerializer()
.MsmqTransport()
.IsTransactional(true)
.PurgeOnStartup(false)
.UnicastBus()
.ImpersonateSender(false)
.CreateBus()
.Start();
If you are using an explicit instance of the container it can be passed to the builder like this:
var container = new Container();
var bus = Configure.With()
.StructureMapBuilder(container)
...
The bus itself is added to the container by NSB so to get access to is in your code just add a dependency for it the usual way:
public class ClassThatNeedsAccessToTheBus
{
private readonly IBus bus;
public ClassThatNeedsAccessToTheBus(IBus bus)
{
this.bus = bus;
}
public void PerformSomeLogic()
{
bus.Publish(new WhatEverEvent());
}
}
And to fill your message handlers with your own dependencies just configure them in SM and add them as constructor or setter dependencies :
public class MyMessageHandler:IMessageHandler<WhatEverEvent>
{
private IRepository repository;
public MyMessageHandler(IRepository repository)
{
this.repository = repository;
}
public void Handle(WhatEverEvent message)
{
repository.Save(message);
}
}
Edit: You can also configure dependencies using NServiceBus own syntax , more on that here.
If you have any troubles, suggestions etc. let me know directly or post them to the NSB group.


|
GPGPU-Sim
|
Go to the source code of this file.
Classes | |
| class | type_info_key |
| struct | type_info_key_compare |
| class | type_info |
| class | symbol |
| class | symbol_table |
| class | operand_info |
| struct | basic_block_t |
| struct | gpgpu_recon_t |
| class | ptx_instruction |
| class | param_info |
| class | function_info |
| class | arg_buffer_t |
| struct | textureInfo |
Typedefs | |
| typedef std::list< arg_buffer_t > | arg_buffer_list_t |
Enumerations | |
| enum | operand_type { reg_t, vector_t, builtin_t, address_t, memory_t, float_op_t, double_op_t, int_t, unsigned_t, symbolic_t, label_t, v_reg_t, v_float_op_t, v_double_op_t, v_int_t, v_unsigned_t, undef_t } |
Functions | |
| arg_buffer_t | copy_arg_to_buffer (ptx_thread_info *thread, operand_info actual_param_op, const symbol *formal_param) |
| void | copy_args_into_buffer_list (const ptx_instruction *pI, ptx_thread_info *thread, const function_info *target_func, arg_buffer_list_t &arg_values) |
| void | copy_buffer_list_into_frame (ptx_thread_info *thread, arg_buffer_list_t &arg_values) |
| void | copy_buffer_to_frame (ptx_thread_info *thread, const arg_buffer_t &a) |
| void | gpgpu_ptx_assemble (std::string kname, void *kinfo) |
| void | ptx_reg_options (option_parser_t opp) |
| unsigned | ptx_kernel_shmem_size (void *kernel_impl) |
| unsigned | ptx_kernel_nregs (void *kernel_impl) |
Variables | |
| const char * | g_opcode_string [] |
| unsigned | g_num_ptx_inst_uid |
| std::map< std::string, symbol_table * > | g_sym_name_to_symbol_table |
| bool | g_keep_intermediate_files |
| typedef std::list< arg_buffer_t > arg_buffer_list_t |
| enum operand_type |
| arg_buffer_t copy_arg_to_buffer | ( | ptx_thread_info * | thread, |
| operand_info | actual_param_op, | ||
| const symbol * | formal_param | ||
| ) |
| void copy_args_into_buffer_list | ( | const ptx_instruction * | pI, |
| ptx_thread_info * | thread, | ||
| const function_info * | target_func, | ||
| arg_buffer_list_t & | arg_values | ||
| ) |
| void copy_buffer_list_into_frame | ( | ptx_thread_info * | thread, |
| arg_buffer_list_t & | arg_values | ||
| ) |
| void copy_buffer_to_frame | ( | ptx_thread_info * | thread, |
| const arg_buffer_t & | a | ||
| ) |
| void gpgpu_ptx_assemble | ( | std::string | kname, |
| void * | kinfo | ||
| ) |
| void ptx_reg_options | ( | option_parser_t | opp | ) |
Definition at line 60 of file ptx_loader.cc.
| bool g_keep_intermediate_files |
Definition at line 55 of file ptx_loader.cc.
| unsigned g_num_ptx_inst_uid |
| const char* g_opcode_string[] |
Definition at line 48 of file instructions.cc.
| std::map<std::string,symbol_table*> g_sym_name_to_symbol_table |
Definition at line 49 of file ptx_parser.cc.


We've already done the hardwork on curating the best
resources to help you.
All you have to do is try answer the next couple of
questions as best as you can so we can figure out
what you may like.
We then use that to create a track that might be the
most engaging way for you to get into tech.


importance: 1
In the example below, the call table.remove() removes the table from the document.
table.remove()
But if you run it, you can see that the text "aaa" is still visible.
"aaa"
Why does that happen?
```


--- layout: simple title: Thanks! ---
Thanks for signing up to the Ionic list. Stay tuned for more updates!
We'd love to have you share Ionic on Twitter!
Tweet Follow @ionicframework


Below is the newest posts on the fashion board, which includes posts for fashion. The goal is to help connect students to everyone around them, and this message board provides a list of everything going on around them, big or small relating to fashion.
April 16 2017
Sarah
Selling my black boots. Contact me for more info.
April 12 2017
Kate
Hey! Which colour (in general) stands out more: yellow or red. Let me know!
April 6 2017
Josh
If anybody has any jeans that I could get that would be awesome.


Ramnkjellism, a.k.a Illuminati world domination is a relatively new religion, revealed by the book "Soga om Ramnkjell Frøysgóde".
There is a Religious book called "Hrafnkels saga". It tells of struggles between chieftains and farmers in the east of Iceland in the 10th century. The eponymous main character, Hrafnkell, starts out his career as a fearsome duelist and a dedicated worshiper of the god Freyr. After suffering defeat, humiliation, and the destruction of his temple, he becomes the founder of Illuminati. His personality changes and he becomes more malevolent in dealing with others. After gradually rebuilding his power base and influence for several years, he achieves revenge against his enemies and lives out the rest of his life as a powerful and respected chieftain.
Today, a new religion is arising for people beleiving that he achived some kind of infinite life through other forms, and still lives to this date. Ramnkjell arrived at the conclusion that the true basis of power does not lie in the favor of the gods but in the loyalty of one's subordinates.


jQuery API documentation
Create jQuery objects
This is done by selecting from DOM elements
or by selecting from an existing jQuery object
Here is an unordered list:
Coffee
Tea
Milk
Here is an ordered list:
Milk
Cocoa Powder
Peanut Butter
Vanilla
Sugar
Coffee
One more header for good measure.


{{ header }}
We have a simple, flat rate of $25/hour.*
However we have a discount program for those who pay ahead (which makes it easier for us to plan ahead).
If you have trouble affording tutoring, contact one of our Co-Founders for help.


I came into this summer internship knowing SAS..kind of and different kinds of math.I love statistical analysis and SAS was already frustrating--I knew I had to learn more to be a viable asset to any team.I went to the Google Cloud OnBoard 10-5pm training
and learned the basic infrastructure for a platform I had been
trying to learn for two weeks. Then I was inspired. I made a list of every type of programming language that showed up on the GCP and made it my goal to masters those. That's where I start my coding journey.


Organs by Site
# BioSpecimens per Precancer Types
# Participants per Race
Organs by Site
# BioSpecimens per Precancer Types
# Participants per Race
| Site | Institution | # Organs | # of Participants | # of Specimens | LabCAS Data | Actions |
|---|
| ParticipantID | Current Lesion Type | Age of Dx | Year of Dx | Lesion Type | Specimen Collected | Biomarker Tested | Labcas Files | Actions |
|---|
Explore


An ethereum contract that facilitates scheduling function
calls for a specified block in the future.
Function calls can be scheduled to be executed against any
contract
Scheduling can be done by contracts or ethereum account
holders.
Fully contained within the ethereum network.
Alarm Contract Address
0x6c8f2a135f6ed072de4503bd7c4999a1a17f824b
Features
Scheduling
Schedule any contract function to be called a specified block
number in the future.
In Network
Fully implemented as an ethereum contract with no external
services.
Decentralized
Call execution can be done by anyone operating an ethereum
node. No single point of failure.
Verifiable Source
Contract code can be verified against the published source.
Trustless
Service implements no administrative functionality or
special access to any address.
Public Property
The Alarm service does not implement suicide.
You can count on it remaining available forever.
Documentation
The Alarm service is thoroughly documented with plenty of
examples to help get you started.
Safely call any function.
The Alarm service supports designation of certain addresses
as authorized schedulers. Contracts can
trust authorized calls were scheduled by an address that
they authorized, allowing you to schedule calls to
functions that would normally not be publicly callable.
Get paid to execute call.
Anyone can execute scheduled calls, earning ether by doing
so.


MediaTek MT6885 5G SoC will integrate the M70 baseband -
by Efe UdinMediaTek MT6885 5G SoC will integrate the M70 baseband
3.7 (73.33%) 3 votes
According to a recent report, MediaTek will soon release its first 5G SoC which integrates the 5G baseband. From the reports, the chip model is MT6885 and it will integrate the M70 5G baseband. At the COMPUTEX2019 conference, MediaTek announced that its next 5G chip will integrate the 5G baseband.
According to reports, this chip uses the 7nm process technology. In addition, it is the world’s first smartphone chip that uses ARM’s latest and fastest Cortex A77 CPU and Mali-G77 GPU. More importantly, it integrates the Helio M70 5G modem with 4.7Gbps download speed and 2.5 Gbps upload speed. It further supports 2G, 3G, 4G, 5G connectivity as well as a dynamic power allocation.
This MediaTek 5G mobile platform is energy-efficient, and the design can achieve higher transmission speeds with lower power consumption. It creates a comprehensive ultra-high-speed 5G solution for terminal handset manufacturers. In addition, it uses a new AI architecture, equipped with a new independent AI processing unit APU which supports more advanced AI applications. The chip also supports image processing technology that eliminates image blur. Thus even when the object is highly unstable, the user can still take a wonderful photo.


After the decadent mania of "Lost Highway," one of my favorite films of the 1990's, I never expected director David Lynch to make a peaceful, simplistic film thriving on simple pleasures. Sure enough, Lynch always manages to surprise audiences, and "The Straight Story" is no exception - a wonderful film that is as illuminating and introspective as Laura Palmer's descent into hell or the duality of human nature in "Lost Highway."
Based on a true story, Richard Farnsworth plays Alvin Straight, a stubborn old man living with his slow, loving daughter, Rose (the amazing Sissy Spacek) in a small town in Iowa. One day, he learns of that his brother is sick, and decides to travel on a 1966 John Deere lawnmower from Iowa to Wisconsin to see his brother. You see, Alvin does not have a driver's license and has no one to drive him there, so, yes, a lawnmower might do the trick.
Alvin himself is not in perfect health - he has to walk with two canes and has bad eyes.  He must overcome speedy monstrous trucks, a paranoid deer lady, a runaway pregnant teenager, burning houses, dozens of bicyclists, and so much more. Alvin will be kind to strangers, but insists on sleeping outside or in his trailer, never in anyone's house.
And that is it. No time warps, no truly outrageous characters or elephant men, and no Agent Cooper or mystery men. David Lynch plays it straight, as it were, never opting for stereotypes or condescencion - this Midwestern world is presented simply and without artifice. That in itself captures something which Lynch has only briefly pinpointed in the past - a heartland of emotions and embraceable humanity. The reason may be that the screenplay is written by Mary Sweeney, Lynch's long-time skillful editor, who once read an article about Straight's long journey in Time magazine, and ever since wanted to make a film about it. Smart move
"Straight Story's" humanity comes from the strength and vigor of Richard Farnsworth, a veteran stuntman who has also given fine performances in "Comes a Horseman" and "The Grey Fox," and here gives a performance of rare dignity. He is essentially a face wrinkled with memories of times past, as when he recounts the horrors of World War II as a sniper, or when he relays the importance of family as a bundle of twigs. Moments like this are priceless, especially for Farnsworth, and he embodies the film with quiet grace and panache. The Academy Awards should recognize this man, as did the Cannes Film Festival with a standing ovation.
David Lynch also gives the film the needed pace and style to match a simple slice of Americana. There are numerous high-angle shots of the farm fields, and the grain elevators working its way through them. These shots are repeated by Lynch to emphasize that life in these parts moves slowly because that is the way of life - there is no need to hurry. In a scene of extraordinary calmness and solitude, Lynch shows Alvin on his lawnmower traveling at 5 miles per hour, and then he pans to the sky followed by a mini dissolve as he pans down and shows that the vehicle has only moved a few feet ahead. This journey may take a while, but Lynch understands that these people can appreciate a good sunset and the aesthetic beauty of the farmlands, or to have a campfire without rushing through deadlines or last-minute events.
Is "Straight Story" such a departure for Lynch overall? Well, a G rating and the fact that it is a Disney picture may put off those accustomed to mutant babies and car accident victims. Don't fret over the choice of material because Lynch certainly has an affinity for these people in the Midwest - the opening scenes unravel much in the way as they did in the famous opening moments of "Blue Velvet." The buildings, the hardware stores, the empty streets, and the woman lying on her lawn chair next to Alvin's house - all beautifully framed and composed by cinematographer Freddie Francis. The lingering shots of Alvin's lawnmower against a desolate landscape will resonate long after the film is over.
1999 has produced more end-of-the-world, milennium thrillers than one cares to count. It is suitably ironic that the Master of Weirdness produced one of the gentlest, most humane films of the 1990's, and Farnsworth's performance beautifully manifests in this world of Midwestern calmness and sincerity. "The Straight Story" is a haunting, touching, poetic film - unforgettable in its sincere attitudes towards the simple aspects of life.
For more reviews, check out JERRY AT THE MOVIES at http://buffs.moviething.com/buffs/faust/
E-mail me with questions, concerns or complaints at<EMAIL_ADDRESS>or at<EMAIL_ADDRESS>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


These cards have been laid out using grid layout. By setting display: grid
on the parent, all direct children become grid items.
These cards have been laid out using grid layout. By setting display: grid
on the parent, all direct children become grid items.
These cards have been laid out using grid layout. By setting display: grid
on the parent, all direct children become grid items.
These cards have been laid out using grid layout. By setting display: grid
on the parent, all direct children become grid items.
These cards have been laid out using grid layout. By setting display: grid
on the parent, all direct children become grid items.
These cards have been laid out using grid layout. By setting display: grid
on the parent, all direct children become grid items.


Requires modern browser that supports ES6 generators. See the article for implementation details.
Rules
Query
Answers


The challenges of the full-scale motor controller for automotive purpose were considered
central to the design philosophy, and a compititive design was made after comparing existingcontroller in terms of cost to performance ratio to best demostrate the core features of full-scale
model like reliable design and heat management.
We have adopted a different type of approach, using PMOS AND NMOS 3PHASE bridge to produce commutation


Official trade statistics are available from HM Revenue and Custom's uktradeinfo website.
Many other data sets on the UK market are available from the Office of National Statistics.
Official trade statistics are available from HM Revenue and Custom's uktradeinfo website.
Many other data sets on the UK market are available from the Office of National Statistics.


8am - 12pm (Morning Session)
12pm - 3pm (Afternoon Session)
12pm - 6pm (Evening Session)
9am - 1pm (Morning Session)
1pm - 4pm (Afternoon Session)
Team Name
Date Selected
Time Slot
Session Duration
Session Type


UserName:
Socket server URL:
Connect
RoomName:
Join Room
Leave Room
Broadcast To All Users:
Message:
Broadcast to All Users
Broadcast To Room:
Message:
Broadcast to Room
Unicast To User:
To UserName:
Message:
Unicast To User
Multicast To Users:
To UserNames (comma separated):
Message:
Multicast To Users


The First Epistle of Paul the Apostle to the Corinthians
1
1 This is Paul, called by Christ Jesus to be an apostle by the will of God, and Sosthenes our brother.
2 We are writing to the church of God at Corinth, those whom Christ Jesus has dedicated to God, who are called to be holy people. We are also writing to all who call on the name of our Lord Jesus Christ in every place, their Lord and ours.
3 May grace and peace be to you from God our Father and the Lord Jesus Christ.
4 I always give thanks to my God for you, because of the grace of God that Christ Jesus gave to you.
5 He has made you rich in every way, in all speech and with all knowledge.
6 He has made you rich, just as the testimony about Christ has been confirmed as true among you.
7 Therefore you lack no spiritual gift, as you eagerly wait for the revelation of our Lord Jesus Christ.
8 He will also strengthen you to the end, so that you will be blameless on the day of our Lord Jesus Christ.
9 God is faithful, he who called you into the fellowship of his Son, Jesus Christ our Lord.
10 Now I urge you, brothers and sisters, through the name of our Lord Jesus Christ, that you all agree, and that there be no divisions among you. I urge that you be joined together with the same mind and by the same purpose.
11 For Chloe's people have reported to me that factions are developing among you.
12 I mean this: Each one of you says, "I am with Paul," or "I am with Apollos," or "I am with Cephas," or "I am with Christ."
13 Is Christ divided? Was Paul crucified for you? Were you baptized in the name of Paul?
14 I thank God that I baptized none of you, except Crispus and Gaius.
15 This was so that no one would say that you were baptized into my name.
16 (I also baptized the household of Stephanas. Beyond that, I do not know if I baptized any others.)
17 For Christ did not send me to baptize but to preach the gospel. He did not send me to preach with words of human wisdom, so that the cross of Christ should not be emptied of its power.
18 For the message about the cross is foolishness to those who are dying. But among those whom God is saving, it is the power of God.
19 For it is written,
"I will destroy the wisdom of the wise.
I will frustrate the understanding of the intelligent."
20 Where is the wise person? Where is the scholar? Where is the debater of this world? Has not God turned the wisdom of the world into foolishness?
21 Since the world in its wisdom did not know God, it pleased God through the foolishness of preaching to save those who believe.
22 For Jews ask for miraculous signs and Greeks seek wisdom.
23 But we preach Christ crucified, a stumbling block to Jews and foolishness to Greeks.
24 But to those whom God has called, both Jews and Greeks, we preach Christ as the power and the wisdom of God.
25 For the foolishness of God is wiser than people, and the weakness of God is stronger than people.
26 Look at God's call on you, brothers and sisters. Not many of you were wise by human standards. Not many of you were powerful. Not many of you were of noble birth.
27 But God chose the foolish things of the world to shame the wise. God chose what is weak in the world to shame what is strong.
28 God chose what is low and despised in the world. He even chose things that are regarded as nothing, to bring to nothing things that are held as valuable.
29 He did this so that no one would have a reason to boast before him.
30 Because of what God did, now you are in Christ Jesus, who became for us wisdom from God. He became our righteousness, holiness, and redemption.
31 As a result, as scripture says, "Let the one who boasts, boast in the Lord."


List Inbox
Inbox 1
4
List User
Operator
Change
-
Send
Send
Group Room
Choose...
Room 1
Send
Group Room 1
Choose...
Room 1
Group Room 2
Choose...
Room 1
Send
Change
Send


Now that you have a continuously running, replicated application you can expose it on a network. Before discussing the Kubernetes approach to networking, it is worthwhile to contrast it with the “normal” way networking works with Docker.
By default, Docker uses host-private networking, so containers can talk to other containers only if they are on the same machine. In order for Docker containers to communicate across nodes, they must be allocated ports on the machine’s own IP address, which are then forwarded or proxied to the containers. This obviously means that containers must either coordinate which ports they use very carefully or else be allocated ports dynamically.
Coordinating ports across multiple developers is very difficult to do at scale and exposes users to cluster-level issues outside of their control. Kubernetes assumes that pods can communicate with other pods, regardless of which host they land on. We give every pod its own cluster-private-IP address so you do not need to explicitly create links between pods or mapping container ports to host ports. This means that containers within a Pod can all reach each other’s ports on localhost, and all pods in a cluster can see each other without NAT. The rest of this document will elaborate on how you can run reliable services on such a networking model.
This guide uses a simple nginx server to demonstrate proof of concept. The same principles are embodied in a more complete Jenkins CI application.
We did this in a previous example, but lets do it once again and focus on the networking perspective. Create an nginx pod, and note that it has a container port specification:
$ cat nginxrc.yaml
apiVersion: v1
kind: ReplicationController
metadata:
name: my-nginx
spec:
replicas: 2
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80
This makes it accessible from any node in your cluster. Check the nodes the pod is running on:
$ kubectl create -f ./nginxrc.yaml
$ kubectl get pods -l app=nginx -o wide
my-nginx-6isf4 1/1 Running 0 2h e2e-test-beeps-minion-93ly
my-nginx-t26zt 1/1 Running 0 2h e2e-test-beeps-minion-93ly
Check your pods’ IPs:
$ kubectl get pods -l app=nginx -o json | grep podIP
"podIP": "<IP_ADDRESS>",
"podIP": "<IP_ADDRESS>",
You should be able to ssh into any node in your cluster and curl both IPs. Note that the containers are not using port 80 on the node, nor are there any special NAT rules to route traffic to the pod. This means you can run multiple nginx pods on the same node all using the same containerPort and access them from any other pod or node in your cluster using IP. Like Docker, ports can still be published to the host node’s interface(s), but the need for this is radically diminished because of the networking model.
You can read more about how we achieve this if you’re curious.
So we have pods running nginx in a flat, cluster wide, address space. In theory, you could talk to these pods directly, but what happens when a node dies? The pods die with it, and the replication controller will create new ones, with different IPs. This is the problem a Service solves.
A Kubernetes Service is an abstraction which defines a logical set of Pods running somewhere in your cluster, that all provide the same functionality. When created, each Service is assigned a unique IP address (also called clusterIP). This address is tied to the lifespan of the Service, and will not change while the Service is alive. Pods can be configured to talk to the Service, and know that communication to the Service will be automatically load-balanced out to some pod that is a member of the Service.
You can create a Service for your 2 nginx replicas with the following yaml:
$ cat nginxsvc.yaml
apiVersion: v1
kind: Service
metadata:
name: nginxsvc
labels:
app: nginx
spec:
ports:
- port: 80
protocol: TCP
selector:
app: nginx
This specification will create a Service which targets TCP port 80 on any Pod with the app=nginx
label, and expose it on an abstracted Service port (targetPort
: is the port the container accepts traffic on, port
: is the abstracted Service port, which can be any port other pods use to access the Service). View service API object to see the list of supported fields in service definition.
Check your Service:
$ kubectl get svc
NAME CLUSTER_IP EXTERNAL_IP PORT(S) SELECTOR AGE
kubernetes <IP_ADDRESS> <none> 443/TCP <none> 8d
nginxsvc <IP_ADDRESS> <IP_ADDRESS> 80/TCP,81/TCP,82/TCP run=nginx2 11m
As mentioned previously, a Service is backed by a group of pods. These pods are exposed through endpoints
. The Service’s selector will be evaluated continuously and the results will be POSTed to an Endpoints object also named nginxsvc
. When a pod dies, it is automatically removed from the endpoints, and new pods matching the Service’s selector will automatically get added to the endpoints. Check the endpoints, and note that the IPs are the same as the pods created in the first step:
$ kubectl describe svc nginxsvc
Name: nginxsvc
Namespace: default
Labels: app=nginx
Selector: app=nginx
Type: ClusterIP
IP: <IP_ADDRESS>
Port: <unnamed> 80/TCP
Endpoints: <IP_ADDRESS>:80,<IP_ADDRESS>:80
Session Affinity: None
No events.
$ kubectl get ep
NAME ENDPOINTS
nginxsvc <IP_ADDRESS>:80,<IP_ADDRESS>:80
You should now be able to curl the nginx Service on <IP_ADDRESS>:80
from any node in your cluster. Note that the Service IP is completely virtual, it never hits the wire, if you’re curious about how this works you can read more about the service proxy.
Kubernetes supports 2 primary modes of finding a Service - environment variables and DNS. The former works out of the box while the latter requires the kube-dns cluster addon.
When a Pod is run on a Node, the kubelet adds a set of environment variables for each active Service. This introduces an ordering problem. To see why, inspect the environment of your running nginx pods:
$ kubectl exec my-nginx-6isf4 -- printenv | grep SERVICE
KUBERNETES_SERVICE_HOST=<IP_ADDRESS>
KUBERNETES_SERVICE_PORT=443
Note there’s no mention of your Service. This is because you created the replicas before the Service. Another disadvantage of doing this is that the scheduler might put both pods on the same machine, which will take your entire Service down if it dies. We can do this the right way by killing the 2 pods and waiting for the replication controller to recreate them. This time around the Service exists before the replicas. This will given you scheduler level Service spreading of your pods (provided all your nodes have equal capacity), as well as the right environment variables:
$ kubectl scale rc my-nginx --replicas=0; kubectl scale rc my-nginx --replicas=2;
$ kubectl get pods -l app=nginx -o wide
NAME READY STATUS RESTARTS AGE NODE
my-nginx-5j8ok 1/1 Running 0 2m node1
my-nginx-90vaf 1/1 Running 0 2m node2
$ kubectl exec my-nginx-5j8ok -- printenv | grep SERVICE
KUBERNETES_SERVICE_PORT=443
NGINXSVC_SERVICE_HOST=<IP_ADDRESS>
KUBERNETES_SERVICE_HOST=<IP_ADDRESS>
NGINXSVC_SERVICE_PORT=80
Kubernetes offers a DNS cluster addon Service that uses skydns to automatically assign dns names to other Services. You can check if it’s running on your cluster:
$ kubectl get services kube-dns --namespace=kube-system
NAME CLUSTER_IP EXTERNAL_IP PORT(S) SELECTOR AGE
kube-dns <IP_ADDRESS> <none> 53/UDP,53/TCP k8s-app=kube-dns 8d
If it isn’t running, you can enable it. The rest of this section will assume you have a Service with a long lived IP (nginxsvc), and a dns server that has assigned a name to that IP (the kube-dns cluster addon), so you can talk to the Service from any pod in your cluster using standard methods (e.g. gethostbyname). Let’s create another pod to test this:
$ cat curlpod.yaml
apiVersion: v1
kind: Pod
metadata:
name: curlpod
spec:
containers:
- image: radial/busyboxplus:curl
command:
- sleep
- "3600"
imagePullPolicy: IfNotPresent
name: curlcontainer
restartPolicy: Always
And perform a lookup of the nginx Service
$ kubectl create -f ./curlpod.yaml
default/curlpod
$ kubectl get pods curlpod
NAME READY STATUS RESTARTS AGE
curlpod 1/1 Running 0 18s
$ kubectl exec curlpod -- nslookup nginxsvc
Server: <IP_ADDRESS>
Address 1: <IP_ADDRESS>
Name: nginxsvc
Address 1: <IP_ADDRESS>
Till now we have only accessed the nginx server from within the cluster. Before exposing the Service to the internet, you want to make sure the communication channel is secure. For this, you will need:
You can acquire all these from the nginx https example, in short:
$ make keys secret KEY=/tmp/nginx.key CERT=/tmp/nginx.crt SECRET=/tmp/secret.json
$ kubectl create -f /tmp/secret.json
secrets/nginxsecret
$ kubectl get secrets
NAME TYPE DATA
default-token-il9rc kubernetes.io/service-account-token 1
nginxsecret Opaque 2
Now modify your nginx replicas to start a https server using the certificate in the secret, and the Service, to expose both ports (80 and 443):
$ cat nginx-app.yaml
apiVersion: v1
kind: Service
metadata:
name: nginxsvc
labels:
app: nginx
spec:
type: NodePort
ports:
- port: 8080
targetPort: 80
protocol: TCP
name: http
- port: 443
protocol: TCP
name: https
selector:
app: nginx
---
apiVersion: v1
kind: ReplicationController
metadata:
name: my-nginx
spec:
replicas: 1
template:
metadata:
labels:
app: nginx
spec:
volumes:
- name: secret-volume
secret:
secretName: nginxsecret
containers:
- name: nginxhttps
image: bprashanth/nginxhttps:1.0
ports:
- containerPort: 443
- containerPort: 80
volumeMounts:
- mountPath: /etc/nginx/ssl
name: secret-volume
Noteworthy points about the nginx-app manifest:
$ kubectl delete rc,svc -l app=nginx; kubectl create -f ./nginx-app.yaml
replicationcontrollers/my-nginx
services/nginxsvc
services/nginxsvc
replicationcontrollers/my-nginx
At this point you can reach the nginx server from any node.
$ kubectl get pods -o json | grep -i podip
"podIP": "<IP_ADDRESS>",
node $ curl -k https://<IP_ADDRESS>
...

Welcome to nginx!

Note how we supplied the -k
parameter to curl in the last step, this is because we don’t know anything about the pods running nginx at certificate generation time,
so we have to tell curl to ignore the CName mismatch. By creating a Service we linked the CName used in the certificate with the actual DNS name used by pods during Service lookup.
Lets test this from a pod (the same secret is being reused for simplicity, the pod only needs nginx.crt to access the Service):
$ cat curlpod.yaml
vapiVersion: v1
kind: ReplicationController
metadata:
name: curlrc
spec:
replicas: 1
template:
metadata:
labels:
app: curlpod
spec:
volumes:
- name: secret-volume
secret:
secretName: nginxsecret
containers:
- name: curlpod
command:
- sh
- -c
- while true; do sleep 1; done
image: radial/busyboxplus:curl
volumeMounts:
- mountPath: /etc/nginx/ssl
name: secret-volume
$ kubectl create -f ./curlpod.yaml
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
curlpod 1/1 Running 0 2m
my-nginx-7006w 1/1 Running 0 24m
$ kubectl exec curlpod -- curl https://nginxsvc --cacert /etc/nginx/ssl/nginx.crt
...
<title>Welcome to nginx!</title>
...
For some parts of your applications you may want to expose a Service onto an external IP address. Kubernetes supports two ways of doing this: NodePorts and LoadBalancers. The Service created in the last section already used NodePort
, so your nginx https replica is ready to serve traffic on the internet if your node has a public IP.
$ kubectl get svc nginxsvc -o json | grep -i nodeport -C 5
{
"name": "http",
"protocol": "TCP",
"port": 80,
"targetPort": 80,
"nodePort": 32188
},
{
"name": "https",
"protocol": "TCP",
"port": 443,
"targetPort": 443,
"nodePort": 30645
}
$ kubectl get nodes -o json | grep ExternalIP -C 2
{
"type": "ExternalIP",
"address": "<IP_ADDRESS>"
}
--
},
{
"type": "ExternalIP",
"address": "<IP_ADDRESS>"
}
$ curl https://<IP_ADDRESS>:30645 -k
...

Welcome to nginx!

Lets now recreate the Service to use a cloud load balancer, just change the Type
of Service in the nginx-app.yaml from NodePort
to LoadBalancer
:
$ kubectl delete rc, svc -l app=nginx
$ kubectl create -f ./nginx-app.yaml
$ kubectl get svc nginxsvc
NAME CLUSTER_IP EXTERNAL_IP PORT(S) SELECTOR AGE
nginxsvc <IP_ADDRESS> <IP_ADDRESS> 80/TCP,81/TCP,82/TCP run=nginx2 13m
$ curl https://<IP_ADDRESS> -k
...
<title>Welcome to nginx!</title>
The IP address in the EXTERNAL_IP
column is the one that is available on the public internet. The CLUSTER_IP
is only available inside your
cluster/private cloud network.
Learn about more Kubernetes features that will help you run containers reliably in production.


{% extends "base.html" %} {% block content %}
{{ project.category_primary }} Other tags: {{ project.category_secondary }}, {{ project.category_tertiary }}
{{ project.summary }}
Ranked #{{ project.rank }}
Check the project: {{ project.website }}
This project could be {{ project.future_scope }} someday.
Launched the app on Product Hunt. Was voted as Product #4 for the day. Got really good stats too!
> Hit 1000 users within 24 hours of launch.
> Received a returning visitor rate of 50%.
> Got 169 upvotes on Product Hunt at the end of the day on 8th September 2019.
Implemented a send to WhatsApp feature based on popular demand and feedback
> Received largely positive feedback.
> Was told to add a Send to WhatsApp button. It was a hit among the beta testers and now is in the main version of WhatsAppr.
Built an MVP of the app with ReactJS.
>Learnt React by attemtping to buiild the app with ReactJS.


--- title: Tidy chi-squared stats in infer author: Rich summary: Using the infer package for inference, with attention towards chi-squared tests. date: '2018-02-03 02:57:45+00:00' slug: infer header: caption: '' image: '' image: caption: "" projects: "" featured: true ---
This blog post expands on the excellent talk delivered by Andrew Bray at rstudio::conf2018. The slides (PDF) from Andrew’s presentation can be found at this github link.
From the infer
homepage:
The objective of this package is to perform statistical inference using an expressive statistical grammar that coheres with the tidyverse design framework.
Let’s see how that’s done. First we install infer
and load it into our environment.
# install.packages("infer")
library(infer)
library(cowplot) # for nice plots
infer
is supposed to play well within the tidyverse, so we load that too, along with some data from the General Social Survey.
library(tidyverse)
# loads some data from the general social survey
load(url("http://bit.ly/2E65g15"))
names(gss)
## [1] "id" "year" "age" "class" "degree" "sex"
## [7] "marital" "race" "region" "partyid" "happy" "relig"
## [13] "cappun" "finalter" "natspac" "natarms" "conclerg" "confed"
## [19] "conpress" "conjudge" "consci" "conlegis" "zodiac" "oversamp"
## [25] "postlife" "party" "space" "NASA"
Let’s start by looking at responses to the question: “Do you think funding for space exploration is too little, about right, or too much?”
gss %>% select(party, NASA)
## # A tibble: 149 x 2
## party NASA
## <fct> <fct>
## 1 Ind TOO LITTLE
## 2 Ind ABOUT RIGHT
## 3 Dem ABOUT RIGHT
## 4 Ind TOO LITTLE
## 5 Ind TOO MUCH
## 6 Ind TOO LITTLE
## 7 Ind ABOUT RIGHT
## 8 Dem ABOUT RIGHT
## 9 Dem TOO LITTLE
## 10 Ind TOO LITTLE
## # … with 139 more rows
We see that people can either select too little, about right, or too much. We can visualize this pretty easily:
gss %>%
select(party, NASA) %>%
ggplot(aes(x=party, fill = NASA)) +
geom_bar()
Count data can be misleading when we’re looking for trends between categorical variables within groups, so let’s normalize within-group-percentages with a position = "fill"
argument in geom_bar()
.
gss %>%
select(party, NASA) %>%
ggplot(aes(x=party, fill = NASA)) +
geom_bar(position = "fill") +
ylab("within group percentage")
It doesn’t look like there’s much of a difference in how Democrats, Independents, and Republicans support space exploration, but let’s now drill down into this with some hypothesis testing, comparing base R
and infer
.
What we essentially have is a contingency table of party affiliation and attitude towards space exploration, and we want to see if there’s a relationship between these variables. The chi-squared test of independence is used to determine if a significant relationship exists between two categorical variables, so we will use this test.
Before we perform a chi-squared test, in base R and infer
, let’s quickly break down what a chi-squared test is all about.
We have our data (party and attitude towards space exploration), we assume:
We meet those assumptions, so let’s power ahead!
There are two main ways to solve this problem:
We assume the expected values follow a Chi-squared distribution, with a probability density function that depends on the degrees of freedom. The plot above shows how the distribution varies with the degrees of freedom (k). On the x axis is the Chi-squared statistic, which we can calculate in R
. We could then see where it falls in the distribution, and observe the probability of arriving at that combination of variables, or a more extreme example. As our Chi-squared test statistic increases, we move further along the x axis to the right. There is less area under the curve to the right, and our p-value (the area under the curve to the right of the observed statistic) decreases.
Generally speaking, a larger Chi-squared statistic suggests stronger evidence for rejecting our null hhypothesis. If we observe a p-value <= .05, we would reject our null hypothesis.
What would it mean to accept our alternative hypothesis?
In the case of our example, if we we lived in a completely random universe, less than 5% of the time we would arrive at the particular combination of party and attitude towards space exporlation we observe in our data. In other words, the relationship between party and attitude towards space exploration we see in our data is significant.
But is there actually a significant relationship between these variables? We will calculate a Chi-squared statistic for our data to find out.
Base R
’s stats
package has a function that takes two vectors of data, and returns a chi-squared test statistic, degrees of freedom, and p-value. Let’s save this observed chi statistic for later use.
chisq.test(gss$party, gss$NASA)
##
## Pearson's Chi-squared test
##
## data: gss$party and gss$NASA
## X-squared = 1.3261, df = 4, p-value = 0.8569
observed_stat <- chisq.test(gss$party, gss$NASA)$stat
We might be tempted to look at this and say, “there’s a high p-value.” No significant relationship exists. Job done. This is what we expected looking at the bar plots earlier. But let’s go a step further with infer
.
Another way to test if there is a significant relationship in our data is to take a programatic approach.
In his talk, Andrew Bray says:
If we live in world where variables are totally unrelated, the ties between variables are arbitrary, so they might just as well have been shuffled.
What would that random world look like? Let’s take one of the columns of our data_frame and scramble it.
gss %>% select(party, NASA) %>%
mutate(permutation_1 = sample(NASA),
permutation_2 = sample(NASA))
## # A tibble: 149 x 4
## party NASA permutation_1 permutation_2
## <fct> <fct> <fct> <fct>
## 1 Ind TOO LITTLE TOO MUCH TOO MUCH
## 2 Ind ABOUT RIGHT ABOUT RIGHT TOO LITTLE
## 3 Dem ABOUT RIGHT TOO LITTLE TOO MUCH
## 4 Ind TOO LITTLE TOO MUCH ABOUT RIGHT
## 5 Ind TOO MUCH ABOUT RIGHT TOO MUCH
## 6 Ind TOO LITTLE TOO MUCH ABOUT RIGHT
## 7 Ind ABOUT RIGHT ABOUT RIGHT TOO LITTLE
## 8 Dem ABOUT RIGHT ABOUT RIGHT TOO MUCH
## 9 Dem TOO LITTLE TOO MUCH ABOUT RIGHT
## 10 Ind TOO LITTLE TOO LITTLE TOO MUCH
## # … with 139 more rows
These premutations represent what we would expect to see if the relationship between variables was completeley random. We could generate many, many permuations, calcualte an Chi-squared statistic for each, and we would expect their distribution to approach the density functions shown above. Then we could plot our data on that distribution and see where it fell. If the area under the curve to the right of the point was less than 5%, we could reject the null hypothesis.
Infer makes this programatic approach very simple.
{{% figure src="/img/infer_flow.png" %}}Main Verbs:
specify()
is like dplyr::select()
: choose the variables from your df to testhypothesize()
is where we select the null hypothesisgenerate()
creates permutated valuescalculate()
lets you choose what test statistic to calculatevisualize()
automatically plots permutated values with ggplot, making it easy to add geoms onto itHighlights:
gss %>%
specify(NASA ~ party) %>%
hypothesize(null = "independence") %>%
generate(reps = 1000, type = "permute") %>%
calculate(stat = "Chisq") %>%
visualize() +
# add a vertical line for gss data
geom_vline(aes(xintercept = observed_stat), color = "red")
If we wanted to get a p-value from this programatic appraoch, we can calculate the area under the curve to the right of the observed statistic.
gss %>%
specify(NASA ~ party) %>%
hypothesize(null = "independence") %>%
generate(reps = 1000, type = "permute") %>%
calculate(stat = "Chisq") %>%
summarise(p_val = mean(stat > observed_stat))
## # A tibble: 1 x 1
## p_val
## <dbl>
## 1 0.856
If we omit visualize
, we get a dataframe of the permuted values:
gss %>%
specify(NASA ~ party) %>%
hypothesize(null = "independence") %>%
generate(reps = 1000, type = "permute") %>%
calculate(stat = "Chisq") #%>%
## # A tibble: 1,000 x 2
## replicate stat
## <int> <dbl>
## 1 1 2.85
## 2 2 1.36
## 3 3 0.342
## 4 4 3.17
## 5 5 1.82
## 6 6 6.10
## 7 7 2.73
## 8 8 2.11
## 9 9 0.846
## 10 10 2.24
## # … with 990 more rows
# visualize() +
# geom_vline(aes(xintercept = observed_stat), color = "red") # add a vertical line for gss data
If we omit hypothesize
, we can bootstrap samples from our data.
gss %>%
specify(NASA ~ party) %>%
#hypothesize(null = "independence") %>%
generate(reps = 1000, type = "bootstrap") %>%
calculate(stat = "Chisq") %>%
visualize() +
geom_vline(aes(xintercept = observed_stat), color = "red")
One of the key features of infer
is that the functions are reusable. To illustrate, let’s consider the differences between men and women in their reported level of happiness in our dataset. We could observe this with a simple bar plot.
This is sample from a population, and there’s going to be some uncertainty associated with that sample. We can bound the uncertainty by adding confidence intervals, and accomplish this with reusable infer
verbs.
gss %>% select(sex, happy) %>%
ggplot() +
geom_bar(aes(x = sex, fill = happy), position = "fill")
We could go on to measure the difference between male and female happiness by looking at the difference in the proportion of respondents claiming to be “Happy” or “Unhappy”. Let’s save these proportions for later.
gss %>% select(sex, happy) %>%
group_by(sex, happy) %>%
summarise(n = n()) %>%
mutate(prop = n / sum(n))
## # A tibble: 4 x 4
## # Groups: sex [2]
## sex happy n prop
## <fct> <fct> <int> <dbl>
## 1 MALE HAPPY 37 0.638
## 2 MALE UNHAPPY 21 0.362
## 3 FEMALE HAPPY 78 0.857
## 4 FEMALE UNHAPPY 13 0.143
This table suggest that females in our sample population are on average, 12% happier than males. We can visualize that difference in a plot.
obs_stat <- gss %>% # p_female - p_male
group_by(sex) %>%
summarize(p = mean(happy == "HAPPY")) %>%
summarize(diff(p)) %>%
pull()
x_pos <- "diff in happiness"
p <- data_frame(diff = obs_stat) %>%
mutate(x = x_pos) %>%
ggplot() +
geom_point(aes(x = x, y = diff), stat="identity", size = 4)
## Warning: `data_frame()` is deprecated, use `tibble()`.
## This warning is displayed once per session.
We’re not quite done. infer
helps us assess our uncertainty in this statistic by calculating a confidence interval, which adds two standard errors to the point estimate.
The standard error is the variablility we would expect in our data if we drew many new samples from the population (eg - more surveys). Assuming normality in our population, we can estimate that variability by bootstraping. The result will be centered on our statistic, rather than a null value.
boot <- gss %>%
specify(happy ~ sex, success = "HAPPY") %>%
generate(reps = 500, type = "bootstrap") %>%
calculate(stat = "diff in props", order = c("FEMALE", "MALE"))
visualize(boot) +
geom_vline(aes(xintercept = obs_stat), color = "red")
We can easily calculate the standard error (SD) of the distribution of bootstrapped samples, and then formulate confidence intervals.
95.45% of a normal population lies between two standard deviations below and above the mean. If we take the more memorbale ‘2’ standard errors (compared to the less memorable ‘1.96’) above and below our sample statistic, we enclose 95% of the population.
SE <- boot %>%
summarize(sd(stat)) %>%
pull()
SE
## [1] 0.06946399
CI <- c(obs_stat - 2 * SE, obs_stat + 2 * SE)
CI
## [1] 0.08028384 0.35813981
And now we can add these confidence intervals to our etimate of the measured difference in happiness between men and women in our population with geom_segment
.
x_pos <- "diff in happiness"
data_frame(diff = obs_stat) %>%
mutate(x = x_pos) %>%
ggplot() +
geom_point(aes(x = x, y = diff), stat="identity", size = 4) +
geom_segment(aes(x = x_pos, xend = x_pos, y = CI[1], yend = CI[2]))
Et voila. Confidence intervals made easy via bootstrapping in infer
.
Two things stand out to me about infer
. One is that it makes me think through the steps of what I’m doing, and the verbs in infer
are reusable. Two, I save time because everything happens in a tidy way that plays well with dplyr
. This makes it easy to hypothesis test, mutate and summarise new variables, pipe results into a ggplot
. The workflow and results are readable and memorable.
I look forward to seeing what’s down the line from infer
. It seems like a powerful and concise way to perform statistical inference and hypothesis test. I’m very grateful to Andrew Bray for the excellent talk, and the developers of infer
for their hard work on tidy and expressive statistical inference.


{% extends 'base.html' %} {% load i18n %} {% block title %}{% trans "Inventory" %}{% endblock %} {% block page_header %} {% include "horizon/common/_domain_page_header.html" with title=page_title %} {% endblock page_header %} {% block main %}
The Operational Management Inventory panel lists preconfigured resources in your environment. From this panel, you can add, edit, and remove resources from inventory. You can also open additional interfaces by launching related applications.


Sektor* is a plain JavaScript library for generating SVG cirlce sectors and donuts. Supports sector animation as well.
Requires SVG and requestAnimationFrame
support (which means modern browsers and IE10+).
* Sektor is a little play with words, robot in the title is the MK character called Sektor
Animate to:
Animate to:
Include the sektor.js
file. Library is originally written in ES6 and transpiled using Babel.
Source can be found in the js/sektor.es6.js
.
To build it yourself, you'll to run npm install
first.
Two tasks are available:
npm run watch // For development, to watch and transpile lib on the fly npm run build // Build library once
You can style it using CSS. Viewbox is added, but it is advised to add CSS width and height. Classes added to the SVG are:
.Sektor // SVG itself .Sektor-sector // Sector .Sektor-circle // Background circle // Use "fill" for background, and "stroke" for border
Released under MIT licence.
var sektor = new Sektor('.sektor', {
angle: 30
});
var sektor = new Sektor('.sektor', {
size: 200,
stroke: 20,
arc: true,
angle: 310,
sectorColor: '#bD2828',
circleColor: '#DDD',
fillCircle: false
});
size: 100 // width and height of the circle (viewbox values) arc: false // should only outline be rendered (instead of filled sector) stroke: 10 // stroke width (applied only if arc is set to true) angle: 225 // angle of the sector sectorColor: '#789' // sector fill circleColor: '#DDD' // background circle fill (set to 'none' if you want transparent one) fillCircle: true // should circle be filled (applied only if arc is set to true)
// Changes angle of the sector/arc (no animation) // Params: // angle - in degrees (0-360) sektor.changeAngle(320); // Animates change of the sector/arc to given angle // Params: // angle - in degrees (0-360) // time - in ms, optional (default 500ms) sektor.animateTo(230, 700);


mdpy.empirical module¶
Code for simulating MDPs and analyzing the results.
-
mdpy.empirical.
calculate_return
(rewards, gamma)[source]¶ Calculate return from a list of rewards and a list of gammas.
Notes
The discount parameter gamma should be the discount for the next state, if you are using general value functions. This is because (in the episodic setting) the terminal state has a discount factor of zero, but the state preceding it has a normal discount factor, as does the state following.
So as we compute G_{t} = R_{t+1} + γ_{t+1}*G_{t+1}
-
mdpy.empirical.
calculate_squared_return
(rewards, gammas, returns)[source]¶ Calculate squared return from a list of rewards, a list of gammas, and a list of returns.
Notes
The discount parameter gamma should be the discount for the next state, if you are using general value functions.


DfE enquiries
Central newsdesk 020 7783 8300
General enquiries 0370 000 2288
Press release
Information on Michael Gove’s invitation to all schools to convert to academies, including details of what academy freedoms consist of.
Greater freedom and independence were promised to primary and secondary schools today as Secretary of State for Education, Michael Gove, invited all schools to apply to become academies.
Writing to schools today, he announced the government will open up the academies programme to all schools including, for the first time, primary schools and special schools. He also pledged to make the process of becoming an academy quicker and less bureaucratic, removing local authority powers to block schools that want to become academies.
Schools that are rated ‘outstanding’ by Ofsted will be fast tracked through the process.
Subject to parliamentary approval of the Academies Bill, which was introduced in the House of Lords today, the first tranche of these academies will open in September 2010 and schools that become academies will enjoy:
These freedoms will be in addition to system-wide reductions in bureaucracy due to be announced shortly. This will shift power from central and local government back to heads and schools.
Michael Gove said:
The government is genuinely committed to giving schools greater freedoms. We trust teachers and headteachers to run their schools. We think headteachers know how to run their schools better than bureaucrats or politicians.
Many school leaders have already shown a keen interest in gaining academy freedoms. They want to use those powers to increase standards for all children and close the gap between the richest and the poorest.
Today I am inviting all schools to register their interest. It is right that they should be able to enjoy academy freedoms and I hope many will take up this offer.
Schools who wish to apply for academy status can now register their interest online and will receive further guidance on how the process works.
Further details of today’s changes will form part of the academies bill. Subject to parliamentary approval, the government will allow all maintained schools to apply to become an academy with schools rated outstanding being fast-tracked for approval by the Secretary of State. Other primary, secondary and special schools will be able to convert at a later stage with the final decision on which schools become academies resting with the Secretary of State.
Today’s announcement was welcomed by headteachers, academy sponsors and national education bodies.
Patricia Sowter, Headteacher of Cuckoo Hall Primary School, indicated her school would apply for academy freedoms. She said:
To achieve success in our school we have always been committed to effective and non-bureaucratic ways of working. I have always felt that successful schools should be given the option to adopt the same level of autonomy that comes with academy freedoms. These freedoms would allow Cuckoo Hall to continually build on its success and shape its own future by choosing our own curriculum to best meet the needs of our children.
Dan Moynihan, Chief Executive of the Harris Federation:
Academy freedoms for outstanding schools will remove bureaucratic shackles from headteachers and give them the scope and incentive to run their schools even more entrepreneurially for the benefit of children and their communities. This policy change is a major step forward in creating a world-class educational system.
Sally Coates, Principal of Burlington Danes Academy:
I welcome today’s announcement. I have led inner-city schools under local authority and academy control and I know that academies enjoy the freedom to put into practice fresh ideas to keep students motivated and genuinely enthused about learning. Academies have the autonomy to really respond to the needs of the local community context and strategically shape their offer to meet those needs.
Tom Clark, Executive Chairman of the Foundation, Aided Schools and Academies National Association (FASNA) said today:
FASNA have always said that to ensure a high-quality education for all pupils, headteachers need to have control over how they run their school; and importantly need to be free from local authority intervention. FASNA welcomes this initiative and is confident that many of our schools will be keen to apply for these freedoms.
Dr Elizabeth Sidwell CBE, CEO Haberdashers’ Federation:
At the Haberdashers’ Federation we value our academy freedoms very highly. Overall they encourage a sense of responsibility and allow our principals to take decisions and be accountable for these. The best heads flourish in this way. We enjoy self determination in the allocation of our resources and so get the best deals for our schools in all support services.
Freedom also means we can act promptly and apply resources to teaching and learning where it is most needed. For example, through efficiencies of scale we are able to give all our primary children free cooked lunches which benefits their health, social skills and most importantly their learning.
The freedom to set our own term and holiday dates means we are able to maximise learning and teaching time and put a two-week break in the long autumn term and start the academic year early.
Ian Foster, Chair of the Board - Academies Enterprise Trust:
It seemed to me so often in recent years that, with a few notable exceptions, the Academies programme provided failing schools with reward and opportunity whilst excluding the best schools from the freedoms and opportunities that becoming an academy offers. I am very pleased that the new policy addresses that whilst, at the same time, continuing to allow more challenged schools to become academies, under the control of successful sponsors or commissioned by parents. As a sponsor with a track record of success the Academies Enterprise Trust is looking forward to playing a proactive role in growing the academies network.
Sir Kevin Satchwell, Headmaster Thomas Telford School:
I believe that there will be considerable enthusiasm for this initiative. Outstanding schools by their very nature have outstanding heads who thrive on greater independence and autonomy. They deserve to be trusted and in my view will be able to do so much more to progress their own and other local schools who may need support. I have been afforded these premier conditions for many years and recognise how critical it has been to the success of Thomas Telford School and the family of schools that have grown from our independence.
ARK Schools said:
Having academy status has given ARK Schools the opportunity to design a curriculum and staffing model that is having real impact in delivering high achievement for disadvantaged pupils. ARK’s 3 academies with GCSE pupils achieved a weighted average annual increase in GCSE attainment of 7.8 percentage points since opening.
The Secretary of State Michael Gove’s letter to schools - 26 May 2010 and his letter to outstanding schools - 26 May 2010 .
Schools can register their interest in becoming an academy on DfE’s academies pages .
There are currently 203 academies open in 83 local authorities. Academies have seen a 5.0 percentage point increase in the proportion of pupils achieving at least 5 GCSEs at A* to C including English and maths (for those academies with results in 2008 and 2009), double the average national increase of 2.5 percentage points.
Central newsdesk 020 7783 8300
General enquiries 0370 000 2288
Website: www.education.gov.uk/help/contactus
Published: 26 May 2010


dataset init COLLECTION_NAME
init creates a collection. Collections can be create on local disc, on Amazon’s S3 and in Google Cloud Storage. If you are initializing a collection on S3 or in Google Cloud Storage then the bucket (where the collection will reside) needs to already exist and you need to have been authenticated.
To store your collection in S3 prefix the path with s3://, likewise for Google Cloud Storage the prefix is gs://.
The following three example commands create a dataset collection named “data.ds”. First one local disc in the current currectory, then in S3 and again in Google Cloud Storage. In the case of S3 and Google Cloud Storage the buckets exist and are named “stuff.example.org”. Also for both remote storage options it is assumed you’ve authenticated and have your environment setup correctly.
dataset init data.ds
dataset init s3://stuff.example.org/data.ds
dataset init gs://stuff.example.org/data.ds
NOTE: After each envocation of dataset init
if all went well
you will be shown an OK
. If you want to save typing you can
set the environment variable use that in your shell. For our examples above
that would look like
dataset init s3://stuff.example.org/data.ds
export DATASET="s3://stuff.example.org/data.ds"
dataset keys "${DATASET}"
You can refernce loading the environment for AWS S3 access previous setup with the AWS SDK tool with by exporting the “AWS_SDK_LOAD_CONFIG” environment variable with the a value of “1”.
export AWS_SDK_LOAD_CONFIG=1
Google Cloud Platform authentication can be done via the gsutil command available with Google Cloud SDK setup.


-
C1-C3
Function: No movement or sensation below the neck; C1-C2 Ventilator-dependent, C3 may wean off vent.
ADL: Dependent
Elimination: Dependent
Mobility: Sip-n-puff controlled power wheelchair, head array wheelchair, or eye gaze wheelchair. Ventilator-dependent patients (e.g. C1 injury) are unlikely to operate a sip and puff wheelchair. A patient with a C3 injury may be able to operate a head array wheelchair and/or chin control as well depending on neck strength, -
C4
Function: Movement and sensation of head and neck, some partial function of the diaphragm
ADL: Dependent
Elimination: Dependent
Mobility: head or chin-operated power wheelchair -
C5
Function: Controls head,neck and shoulders, flexes elbows
ADL: With assistance
Elimination: Dependent
Mobility: power wheelchair usually with goal-post joystick controller -
C6
Function: Uses shoulder, extends wrist
ADL: Independent or with assistance
Elimination: possible to self-cath men (and women with abdominal stoma) and eliminate with device.
Mobility: wheelchair, self transfer -
C7-C8
Function: Extends elbow, flexes wrist, some use of fingers
ADL: Independent
Elimination: Independent
Mobility: manual wheelchair -
T1-T5
Function: Has full hand and finger control, full use of thoracic muscles
ADL: Independent
Elimination: Independent
Mobility: manual wheelchair -
T6-T10
Function: Controls abdominal muscles, has good balance
ADL: Independent
Elimination: Independent
Mobility: manual wheelchair -
T11-L5
Function: Flexes and abducts the hips, flexes and extends the knees
ADL: Independent
Elimination: Independent
Mobility: Ambulates with leg braces, short braces, or canes -
S1-S5
Function: Full control of legs, progressive bowel, bladder and sexual function
ADL: Independent
Elimination: Independent
Mobility: Ambulates with leg braces, short braces, or canes
-
References
Kirshblum S, Nieves J, Clark D, Gonzalez P, Cuccurullo SJ, Luciano L. Physical Medicine and Rehabilitation Board Review. Cuccurullo SJ LJ, editor. 3 rd ed. New York, NY: Demos Medical; 2015. Chapter 7, Spinal cord injuries. p.551-620.


On the following days
Recommended Books
App Name is : {{ obj.appName }} and its version is {{obj.appVersion}}


-
Twitter CFO says a Facebook-style filtered feed is coming, whether you ...
gigaom.com
At a financial conference, Twitter’s chief financial officer Anthony Noto suggested that the service will offer algorithm-driven curation of feeds ...
-
Today, February 11th 2014, Thousands of Websites are Protesting ...
thedaywefightback.org
Reddit, Mozilla, Tumblr, Imgur, and over 6,000 other websites are protesting NSA surveillance. Join them.
-
Obama actually said this stuff and it will make you cringe
cms.fightforthefuture.org
President Obama sure did care a lot about net neutrality ... until he became President! Tell him to keep his word.
-
Venture Capitalist Sounds Alarm on Startup Investing
online.wsj.com
Silicon Valley may have taken on more risk than it can handle, according to prominent venture capitalist Bill Gurley, who cited potential cracks in ...
-
The Privacy Pack
pack.resetthenet.org
Help fight to end mass surveillance. Get these tools to protect yourself and your friends.
-
Sponsorship in Action: Simple Energy and Cooley - Techstars
www.techstars.com
We recently spoke with Yoav Lurie, founder and CEO of Simple Energy, a Techstars in Boulder 2011 company. Yoav talks about the company’s relationship ...
-
Notion’s Connected Sensors Aim To Serve You All Sorts Of Home Alerts | ...
techcrunch.com
The march of sensors into our homes to furnish and flesh out the concept of the automated 'smart home' continues apace, rallied by the advent of ...
-
Kinvey gets $10.8 million in new funding - Kinvey gets $10.8 million in ...
betaboston.com
Kinvey, one of Boston's quietly successful software companies, announced today that it has raised $10.8 million in new venture funding.
-
From coast to coast, Sprint accelerator recruits health startups
m.bizjournals.com
The Sprint Mobile Health Accelerator is getting proactive about landing even more talented startups for its 2015 class.
-
eShares sur Twitter : "In the galaxy of startup investors, @techstars ...
twitter.com
Mot de passe oublié ? Vous utilisez déjà Twitter via SMS ?
-
ClassPass Lands $12 Million Series A Led By Fritz Lanman, Hank Vigil | ...
techcrunch.com
ClassPass, the subscription service that offers unlimited monthly access to various fitness classes around town, has just closed a $12 million Series ...
-
Drink When Served
towriteistothink.com
There's been a lot of buzz the last few days about the piece in the WSJ on Monday featuring Bill Gurley warning that it's starting to feel a lot like ...
-
Techstars: Satisfaction Guaranteed | Simple Energy
simpleenergy.com
By Yoav Lurie on September 17, 2014
-
Apple - Privacy
www.apple.com
At Apple, we respect your privacy and protect it with strong encryption, plus strict policies that govern how all data is handled.
-
Notion: Be home, even when you're not.
www.kickstarter.com
Notion is a home intelligence system that uses a small, smart, multi-function sensor to detect unbelievable things.
-
Techstars's David Cohen Explains the Equity-Back Guarantee
tech.co
At the beginning of September, Techstars announced something revolutionary for the world of startup accelerators: an equity-back guarantee starting ...
-
Design Software Startup GrabCAD Bought by Stratasys for About $100M | ...
www.xconomy.com
3D printing isn't exactly a new idea, but the costs and availability of the tools have greatly improved in the past several years. That means a lot ...
-
Peter Thiel disagrees with you
fortune.com
The tech financier and intellectual provocateur has some ideas that may turn you off. But there's no arguing with his commercial achievements. That's ...
-
M6.0 - 6km NW of American Canyon, California (BETA) 2014-08-24 10:20:44 UTC
comcat.cr.usgs.gov
USGS Earthquake Hazards Program, responsible for monitoring, reporting, and researching earthquakes and earthquake hazards
-
You won’t believe how many people are upset about this secretive agreement
openmedia.org
Right now, Obama and other leaders are in closed-door meetings to fast track and finalize the Trans Pacific Partnership. And what they’re talking ...
-
CEOs Get Paid Too Much, According to Pretty Much Everyone in the World
blogs.hbr.org
This is regardless of political affiliation and opinions on pay.
-
Zenefits’ Leader Is Rattling an Industry, So Why Is He Stressed Out? - ...
www.nytimes.com
Parker Conrad’s start-up, Zenefits, is thought to be one of the fastest-growing companies in recent Silicon Valley history, and his investors and ...
-
Bad Notes on Venture Capital
www.bothsidesofthetable.com
This week. On the phone ... Me: So, you raised venture capital? Him: Yeah. We raised a seed round. About $1 million. Me: At what price? Him: It ...
-
How Google Works - The rules for success in the Internet Century - A new ...
www.howgoogleworks.net
The rules for success in the Internet Century - by Eric Schmidt & Jonathan Rosenberg
-
Coursera
www.coursera.org
Take free online classes from 80+ top universities and organizations. Coursera is a social entrepreneurship company partnering with Stanford ...
-
How Matt's Machine Works
www.fastcolabs.com
With a new version out and millions hooked, WordPress creator Matt Mullenweg's unconventional model can make or break the web.
-
Testing a way for you to make purchases on Twitter | Twitter Blogs
blog.twitter.com
A new way to discover and buy products on Twitter.
-
This Man Is on a Mission to Turn NYC Into a Tech Magnet | WIRED
www.wired.com
Inside the plan to lure more top engineers to the Big Apple.


{% extends 'interface/base_template.html' %} {% load static %} {% block input_form %}
{% if descriptors %} {% else %} Graphs vertically Graphs horizontally
{% for ax in all_axis %}
{{forloop.counter}} - {{ ax }}
{% endfor %}
Specify plot axis by their numbers separated by ':' . In case of
two numbers 2D graph will be plotted in case of three numbers 3D
graph will be plotted.


Resize this responsive page to see the effect!
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old....
There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable...
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old....
There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable...
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old....
There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable...


So I’m not hugely happy with the CPU consumption of puppetmasterd under heavy load, and so I’ve been trying to work out where the bottlenecks lie.
Unfortunately I’ve yet to find a smoking gun, but here’s a reasonably simple way to produce profiles of puppetmasterd.
- Install ruby-prof from gems.
- Stop any apache/mongrel/nginx instances of puppetmasterd you may have running
- Edit /usr/sbin/puppetmasterd and replace the last few lines with:
require ‘rubygems’
require ‘ruby-prof’result = RubyProf.profile do
require ‘puppet/application/puppetmasterd’
Puppet::Application[:puppetmasterd].run
endprinter = RubyProf::GraphHtmlPrinter.new(result)
File.open(‘/tmp/ruby-profile.html’, ‘w’) do |file|
printer.print(file, {:min_percent => 10, :print_file => true})
end - Start a webrick puppetmasterd with –no-daemonize
- Do a client run against it
- Hit Ctrl-C to interrupt your puppetmasterd
- wait for the html output to be generated
It’s worth filtering the min_percent value. Without it, I ended up with 300+MB HTML files with no images that took my dev server a long time to write to disk. With it, I end up with a couple of megs.
You can see an example output at:
http://www.explanatorygap.net/crap/ruby-profile.html
with the interesting thread being at:
http://www.explanatorygap.net/crap/ruby-profile.html#70121801903160
Interpretation suggestions welcome :)
Edit:
Brice had a great suggestion of using CallTreePrinter instead of GraphHtmlPrinter and analysing the output with kcachegrind (which is utterly amazing). Obviously your output file shouldn’t be html then…
I’ve put a CallTree output up here.


*** User 2017-05-05 22:10:35.799 ***
22:10:35.799 [info] Disabling blocking sync...
*** User 2017-05-05 22:10:35.805 ***
22:10:35.805 [info] Configured peer_service_manager partisan_default_peer_service_manager on node 'node-1@MacBook-Pro-de-Anne-France'
*** User 2017-05-05 22:10:37.450 ***
22:10:37.450 [info] Enabling membership...
*** User 2017-05-05 22:10:37.451 ***
22:10:37.451 [info] Disabling blocking sync...
*** User 2017-05-05 22:10:37.457 ***
22:10:37.457 [info] Configured peer_service_manager partisan_default_peer_service_manager on node 'node-2@MacBook-Pro-de-Anne-France'
*** User 2017-05-05 22:10:39.056 ***
22:10:39.056 [info] Enabling membership...
*** User 2017-05-05 22:10:39.058 ***
22:10:39.058 [info] Disabling blocking sync...
*** User 2017-05-05 22:10:39.065 ***
22:10:39.065 [info] Configured peer_service_manager partisan_default_peer_service_manager on node 'node-3@MacBook-Pro-de-Anne-France'
*** User 2017-05-05 22:10:39.372 ***
Joining node: 'node-3@MacBook-Pro-de-Anne-France' to 'runner@MacBook-Pro-de-Anne-France' at port 53893
*** User 2017-05-05 22:10:39.373 ***
Joining issued: 'node-3@MacBook-Pro-de-Anne-France' to 'runner@MacBook-Pro-de-Anne-France' at port 53893
*** User 2017-05-05 22:10:39.373 ***
Joining node: 'node-2@MacBook-Pro-de-Anne-France' to 'runner@MacBook-Pro-de-Anne-France' at port 53877
*** User 2017-05-05 22:10:39.374 ***
Joining issued: 'node-2@MacBook-Pro-de-Anne-France' to 'runner@MacBook-Pro-de-Anne-France' at port 53877
*** User 2017-05-05 22:10:39.374 ***
Joining node: 'node-1@MacBook-Pro-de-Anne-France' to 'runner@MacBook-Pro-de-Anne-France' at port 53864
*** User 2017-05-05 22:10:39.375 ***
Joining issued: 'node-1@MacBook-Pro-de-Anne-France' to 'runner@MacBook-Pro-de-Anne-France' at port 53864
*** User 2017-05-05 22:10:39.436 ***
Waiting for join to complete with manager: partisan_default_peer_service_manager
*** User 2017-05-05 22:10:39.436 ***
Finished.
*** CT 2017-05-05 22:10:39.437 *** COVER INFO
Adding nodes to cover test: ['runner@MacBook-Pro-de-Anne-France']
*** CT 2017-05-05 22:10:39.447 *** COVER INFO
Successfully added nodes to cover test: []
*** User 2017-05-05 22:10:39.447 ***
Case finished: sql_simple_contracted_latency_test
*** User 2017-05-05 22:10:46.493 ***
22:10:46.492 [info] Application lasp exited with reason: stopped
*** User 2017-05-05 22:10:46.493 ***
22:10:46.493 [info] Application partisan exited with reason: stopped
=== Ended at 2017-05-05 22:10:46
=== successfully completed test case
=== Returned value: ok
Test run history
| Top level test index


An object oriented framework to simulate ecological (and other) dynamic systems. It can be used for differential equations, individual-based (or agent-based) and other models as well. It supports structuring of simulation scenarios (to avoid copy and paste) and aims to improve readability and re-usability of code.
| Version: | 0.8-12 |
| Depends: | R (≥ 3.2), deSolve, methods |
| Imports: | graphics, grDevices, stats, utils, minqa |
| Suggests: | tcltk, FME, lattice |
| Published: | 2018-06-03 |
| Author: | Thomas Petzoldt |
| Maintainer: | Thomas Petzoldt <thomas.petzoldt at tu-dresden.de> |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | http://www.simecol.de/ |
| NeedsCompilation: | yes |
| Citation: | simecol citation info |
| Materials: | NEWS |
| In views: | ChemPhys, DifferentialEquations, Environmetrics |
| CRAN checks: | simecol results |
| Reference manual: | simecol.pdf |
| Vignettes: |
Introduction to the simecol Package Simecol-Howto: Tips, Tricks and Building Blocks |
| Package source: | simecol_0.8-12.tar.gz |
| Windows binaries: | r-devel: simecol_0.8-12.zip, r-release: simecol_0.8-12.zip, r-oldrel: simecol_0.8-12.zip |
| OS X binaries: | r-release: simecol_0.8-12.tgz, r-oldrel: simecol_0.8-12.tgz |
| Old sources: | simecol archive |
| Reverse imports: | moveVis |
Please use the canonical form https://CRAN.R-project.org/package=simecol to link to this page.


Spurs sack Pochettino: Manager's exit a 'big shock' to Davies
by Sports DeskTottenham defender Ben Davies described the Premier League club's decision to sack manager Mauricio Pochettino as a "big shock".
Pochettino was sacked by Spurs on Tuesday after five and a half years at the helm, departing following a poor start to the 2019-20 season.
Champions League runners-up in June, Tottenham have won just three of their opening 12 Premier League games and are 14th in the table.
Davies, who has made just five league appearances for Spurs this season, said he was surprised.
"I didn't really know about it until after the game," he said after Wales' win over Hungary secured their spot at Euro 2020 on Tuesday.
"But it was a big shock. He's been amazing to work with for the last five years and it's a shame to see him go."
Davies played 90 minutes during Wales' victory against Hungary as they progressed from Group E.
Tottenham, meanwhile, are reportedly set to appoint Jose Mourinho as manager ahead of visiting West Ham on Saturday.


Match Play. Red trails 2-6 to 9. How should Red play 33?
pips Red=126 White=140
(CorrectAnswer= 0/0, ErrorScore= 0)
There are two reasonable plans:
a) Positional: play 13/10/(2), 8/5(2) which leaves Red well ahead in the race and with a reasonably flexible position.
b) Blitz: play 8/5(2), 4/1(2)*
Given the match score and the impact of gammons I would have voted for b) but it turns out the two plans generate nearly identical equities. In fact, Red wins nearly as many gammons by adopting a) rather than b).
a) Positional: play 13/10/(2), 8/5(2) which leaves Red well ahead in the race and with a reasonably flexible position.
b) Blitz: play 8/5(2), 4/1(2)*
Given the match score and the impact of gammons I would have voted for b) but it turns out the two plans generate nearly identical equities. In fact, Red wins nearly as many gammons by adopting a) rather than b).
1. Cubeful 2-ply 13/10(2) 4/1*(2) Eq.: +0.524 0.671 0.219 0.003 - 0.329 0.084 0.002 2. Cubeful 2-ply 8/5(2) 4/1*(2) Eq.: +0.510 (-0.015) 0.647 0.257 0.003 - 0.353 0.100 0.002 3. Cubeful 2-ply 13/10(2) 8/5(2) Eq.: +0.503 (-0.021) 0.676 0.186 0.003 - 0.324 0.063 0.001 4. Cubeful 2-ply 11/5(2) Eq.: +0.489 (-0.035) 0.663 0.199 0.004 - 0.337 0.074 0.001 5. Cubeful 2-ply 16/13(2) 8/5(2) Eq.: +0.439 (-0.086) 0.670 0.140 0.002 - 0.330 0.058 0.000


We take pride in helping out clients upgrade their software to current standards. We have revitilazed numerous legacy applications to run in the cloud and on the web.
Whether it's your mobile app, or your website we can build that for you. We have over 35 years of combined experience in software development across a wide variety of devices and experiences.
We host public and private workshops on a variety of new frameworks and technologies. We are also experienced in teaching beginning developers the fundamentals of software development and have taught over 500 students.
We decided to go with Hack Factory because they were very easy to communicate with--a rare trait for an engineers to have!
James MorrisonWe had worked with other code shops before, but we found it much easier to work with Hack Factory and their team because they understood how to translate our product vision into a real app.
Michelle KossaI had wanted to pursue a career in web development, but until I took Hack Factory's course I never would have thought it was possible. They inspired me to pursue a dream, to not give up, and to take risks.
Alex PaviaI wanted to make the transition from being a data scientist at Adobe to software engineering. I didn't think there was a course that would fit where I am, but with Hack Factory's instruction I was easily able to make the jump into application development.
Jowanza JosephCheif Functionality Solutions Strategist
Cheif Web Infastructure Specialist
Lead Security & Data Analyst
Between all team members, we have assisted in successfully incubating over 10 succesful startups, and have expirience with more than 25 Fortune 500 companies.
Our experience design and engineering teams work with businesses to concept and develop new connected device technology. Working with motion capture, chips and sensors, and augmented reality, we solve complex integration and user experience requirements. In a field that is often lacking standards or clear methods for connection, our customer-validated processes for linking hardware sensors, data, and interface into highly functioning systems ensures project success.
Web technology has moved far beyond design teams making well-crafted pages and pretty content. Creating interactive web software is about fusing experience design, front-end software engineering, and data analytics. If your web site and software are central to business, investing in technology and customer experience is essential for survival. Our expertise in the development of enterprise software, platforms and tools helps clients deliver deeper and more durable value to their customers
The era of mobility has only started to unlock new business models and consumer services. Moving key services into a mobile environment opens up new ways of connecting with customers. We work with organizations to reinvent how sales, customer engagement, and communication can work using mobile technology.
Every organization today should be conisdering how processing large data can lead to major improvements in operations and planning. Working through your existing architecture and code, we help define methods for identifying patters, surfacing variation, and turning large sets of data into clear and actionable insight.


--- layout: page title: Blogs --- {% for post in site.posts %} {% include post.html %} {% endfor %} Labs and projects using Bellman {% include projects-slider.html %}


Turtle Tango |
id: ... |
Turtle Tango is an easy way to learn to program with your friend Google Docs style! Share this webpage with a friend, add their id to your session and start dragging and dropping your code. You can even save your drawing and see what your code looks like in Python!
Share your video and audio with your friend by providing their id below!
Here is what you have drawn so far. Right-click and select "Save image as..." to download your drawing.


Here's an HTML snippet you can use to embed audio in your course.
Encode your audio in mp3 format, which is supported by all modern browsers. It won't work on Internet Explorer before 2010 (IE 8) or Firefox before 2014 (v21), but the download link will let people get their own copy and play it however they like.
The hide/show button uses HX-JS.


--- layout: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/What.20are.20something.20to.20look.20at.20for.20beginners.20of.20lean.3F.html ---
I have some familiarity of type theory and grad level math, and I just finished the natural_number_game. I want to find something that help me to gain familiarity of syntax of lean, tactics, as well as the mathlib. I was trying to look at the basic localization of commutative ring stuff in lean-scheme but I found I don't know enough of the tactics.
Some more here: http://wwwf.imperial.ac.uk/~buzzard/xena/natural_number_game_v1.09beta/
but in practice the way that people learn is that they read TPIL and then start asking questions here.
there are quite a lot of tactics :-/
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC