text:
New Oxford vaccine rolled out to general practice services
The new Oxford AstraZeneca vaccine is being rolled out to General Practice led services today making it easier to protect care home residents and other vulnerable people against COVID-19.
The vaccine has been trialled at selected hospitals for surveillance purposes before being sent out to hundreds of community-based local vaccination services.
Unlike the Pfizer vaccine, the first to be approved, the Oxford vaccine does not need to be stored at ultra-low temperatures and is much easier to move, making it easier to use in care homes and to vaccinate the housebound.
Hundreds of new sites are opening at hospitals and in the community this week in the new phase of the vaccination programme, the largest in NHS history. This is on top of the 700 which were already open and vaccinating.
Seven vaccination centres will be among many more sites coming online next week, along with more hospitals, GP led services and a number of pilot pharmacy vaccine services.
Dr Nikki Kanani, GP and NHS medical director for primary care, said: "The biggest vaccination programme in NHS history is already off to a strong start with around one million people already vaccinated against Coronavirus – this is a credit to our exceptional NHS staff.
"GPs, nurses, pharmacists and countless other staff and volunteers have been working around the clock to be able to launch almost 200 more sites this week.
"Combined with the arrival of the Oxford/AstraZeneca vaccine, we will now be able to protect many more vulnerable people against the virus and faster."
The rollout comes after the vaccine was approved for use outside of hospitals by the four Chief Medical Officers and NHS England's Medical Director, Professor Stephen Powis.
Care home residents cannot travel to hospital for a jab and Pfizer is difficult to get to hospitals so the decision will speed up the drive to vaccinate them.
Care home residents and staff were set as the highest priority group by the independent Joint Committee on Vaccination and Immunisation.
In addition to the Oxford jab, local vaccination services are being issued with small packs of Pfizer jabs which can be used in care homes.
When the vaccine was first issued it had to be shipped in "pizza boxes" containing almost 1,000 doses, meaning that care homes could not be jabbed without wasting supplies.
The NHS is offering GP services an extra £10 for every care homes resident vaccinated in January in a drive to get a majority vaccinated before the end of the month.
More than one million people have already been vaccinated by the NHS in less than one month since Maggie Keenan received the Pfizer vaccine in December.
The NHS was the first health service in the world to deliver a COVID-19 vaccination outside of the clinical trial.
The NHS was also the first to deliver the Oxford AstraZeneca vaccine, jabbing Brian Pinker, 82, at Oxford University Hospital on Monday.
Current and former NHS staff have applied to become vaccinators, with tens of thousands having already completed their online training. They will be deployed as more vaccine supplies become available.
Health Secretary Matt Hancock said: "We are accelerating our vaccine delivery plan so we can protect those most at risk from this awful disease as quickly as possible.
"The Oxford/AstraZeneca vaccine can be transported easily and I'm delighted care home residents will begin receiving their first Oxford/AstraZeneca jabs this week. More than 1.3 million people have already been vaccinated in the UK, including 23 percent – or over 650,000 – of the over-80s in England
"We are aiming to offer vaccinations to all 13 million people in the top four priority cohorts by mid-February. This will ensure the most vulnerable are protected and will save lives.
"As our vaccination programme ramps up, I urge everybody to continue following the latest restrictions to keep cases low and protect loved ones."
Cleator Moor | Cumbria: Little Ireland: New Oxford vaccine rolled out to general practice services
https://lh3.googleusercontent.com/-UWxDM7gjOEQ/X_b8gQjowzI/AAAAAAAAeEU/VThVO5AJ4RgLDqeoBYJsflR6P3lVOAZ9ACLcBGAsYHQ/s1600/1610022018204307-0.png
https://lh3.googleusercontent.com/-UWxDM7gjOEQ/X_b8gQjowzI/AAAAAAAAeEU/VThVO5AJ4RgLDqeoBYJsflR6P3lVOAZ9ACLcBGAsYHQ/s72-c/1610022018204307-0.png
https://www.littleireland.co.uk/2021/01/new-oxford-vaccine-rolled-out-to.html


text:
NAVA FINANCE LIMITED APPOINTS MRM
Insight | By Laura Holland
London, 16th February 2017: Nava Finance Limited, which is preparing to launch a new next generation consumer lending platform, has appointed MRM, the multi-disciplined financial services specialist communications consultancy, to support its ambitious growth plans.
Nava Finance Limited obtained full regulatory approval from the FCA in January 2017 and will launch in early Q2 2017 when all testing and other preparations are fully completed. The company was co-founded in 2014 by Joseph Dlutowski, Abhai Rajguru and Richard Lee, who between them have over 75 years' experience in and around financial services.
Reporting to Nava Finance Limited's CMO, Mark Pearson, MRM is working closely with the company's co-founders and senior team to develop initiatives that raise brand awareness and deliver multi-channel communications campaigns targeting both mainstream consumers and institutional investors.
The PR and digital activity conducted by MRM forms part of a wider multi-channel marketing and communications campaign, which includes social marketing and digital marketing at the outset before broadening to other non-digital media channels.
Chris Tuite, Associate Director at MRM, said: "Nava Finance Limited is all set to shake up the consumer credit industry. Many existing and potential borrowers in the UK are poorly served due to the polarised, nature of the lending market. Nava Finance Limited is committed to serving the more than 5 million mainstream potential borrowers who are unable to borrow on reasonable terms or borrow at all due to the strict lending criteria of traditional high street banks or penal rates of other short-term specialist lenders. The proposition is exciting and disruptive and the communications brief reflects that. We are delighted to be involved from the outset."
Mark Pearson, CMO at Nava Finance Limited, said: "MRM's financial services experience, which spans both the consumer and the corporate sphere, means they are well-positioned to help Nava Finance Limited build its profile among key stakeholders. Their enthusiasm for the brief and their understanding and knowledge of the sector were key factors in our decision to partner with them. We look forward to working with them and delivering an effective integrated PR and marketing campaign that helps to establish Nava Finance Limited as a leading provider of unsecured personal loans in the UK."
About Nava Finance Limited
Nava Finance Limited is a next generation consumer lending platform built on deep analytics which is used for credit and other underwriting processes. Nava Finance Limited sources loan funding from institutional investors and manages the process of sourcing and underwriting borrowers.
Nava Finance Limited's credit expertise means that it is able to offer responsible lending to a broad range of borrowers, including those that may score well on affordability but have less than perfect credit histories. With Nava Finance Limited's single product focus, its customers are not cross-sold, up-sold or mis-sold any additional financial products or services. Nava Finance Limited is authorised and regulated by the Financial Conduct Authority under firm reference number 734925.
All enquiries from the media should be directed to Nava Finance Limited's Press Office: nava@mrm-london.com
Chris Tuite Tom Briffitt
Associate Director Consultant
MRM MRM

redpajama_set_name: RedPajamaCommonCrawl


text:
Q: from xyz to matrix with awk I have a problem that I managed to solve with a work around so I am here hoping to learn from you more elegant solutions ;-)
I have to parse the output of a program: it writes a file of three columns x y z like this
1 1 11
1 2 12
1 3 13
1 4 14
2 1 21
2 2 22
2 3 23
2 4 24
3 1 31
3 2 32
3 3 33
3 4 34
4 1 41
4 2 42
4 3 43
4 4 44

in a matrix like this
11 12 13 14
21 22 23 24
31 32 33 34
41 42 43 44

I solved with a two line bash script like this
dim_matrix=$(awk 'END{print sqrt(NR)}' file_xyz) #since I know that the matrix has to be squared and there are no blank lines in the file_xyz
awk '{printf("%s%s",$3, !(NR%'${dim_matrix}'==0) ? OFS :ORS ) }' file_xyz

Can you please suggest me a way to perform the same only with awk?

A: I am not totally sure what you try do, try this:
awk 'NR%4==0{print s " " $NF;s="";next}{s=s?s " " $NF:$NF}' file1

A: awk does not do real multidimensional arrays, but you can fake it with a properly constructed string:
awk '
  {mx[$1 "," $2] = $3}
  END {
    size=sqrt(NR)
    for (x=1; x<=size; x++) {
      for (y=1; y<=size; y++)
          printf("%s ",mx[x "," y])
      print ""
    }
  }
' filename

You can accomplish your example with a single awk call and a call to wc
awk -v "nlines=$(wc -l < filename)" '
  BEGIN {size = sqrt(nlines)}
  {printf("%s%s", $3, (NR % size == 0 ? ORS : OFS))
}' filename

A: A "not so" readable version:
awk '($0=$NF x)&&ORS=NR%4?FS:RS' infile

Parameters added as per OP's request:
awk '
  ($0 = $NF x) && ORS = NR % n ? FS : RS
  ' n="$1" infile

In the script above I'm using $1, but you can use any shell variable.
The explanation follows:
$0 = $NF - set $0 (the entire current input record)
to the current value of the last field ($NF).
ORS = NR % n ? FS : RS - using the ternary operator:
expression ? return_this_if_true : return_this_otherwise,
set the OutputRecordSeparator to:

*

*when NR % n evaluates true (i.e. returns value different than 0)
 set ORS to the current value of FS (FieldSeparator - runs of white space
 characters by default)

*otherwise set it to RS (which defaults to a newline)
The x (an unitialized variable and thus a NULL string when used in concatenation)
is needed in order to handle correctly the output
when the last field is 0 (or an empty string).
This is because the assignement statement in awk
actually in this case returns the assigned value,
if $NF is 0, the rest of the && boolean statement
will be ignored.

redpajama_set_name: RedPajamaStackExchange


text:
Q: HTML/CSS - Print content overflowing to an empty page I'm trying to print a shipping label (4in x 6in) which appears in a bootstrap modal in my application.
This is my CSS for my print media :
@media print {
body * {
    visibility: hidden;
}
#print-content * {
    visibility: visible;
    height: auto;
    width:auto;
    max-width: 100%;
    max-height: 100%;
}
.modal{
    position: absolute;
    left: 0;
    top: 0;

}

@page{
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
margin-bottom: 0px;

}
}

And this is my Modal content that has the Shipping Label Image:

My image appears fine in my Chrome's "Print Preview" - with the exception that it shows 2 pages instead of one; the second page being completely blank.
I've spent an hour trying to figure out what's wrong - but no progress.
I'm using the Japanese Postcard as the paper size since it's the closest to a shipping label.
What am I missing?

A: The issue I'm seeing is that you're setting:
body * {
  visibility: hidden;
}

visibility: hidden;'s difference with properties such as display: none is that visibility just makes the element not visible to the user but it's actually still on the page retaining its dimension and position. My biggest guess is all the content underneath the modal is still present thus on the print version bleeding on to page 2.
One method is to use display: none instead or if you're modals are placed outside of main content area (which I usually do) just hide the main content instead.

CSS:
main {
  display: none;
}

Here's a test with that following strategy: http://jerrylow.com/demo/stackoverflow/38731021.html. The only difference I did was in print target the main only when the modal is opened.
@media print {
  body.modal-open main {
    display: none;
  }
}

Alternate Version
If you really have no control of the dom then here's a version that might work with what you have: http://jerrylow.com/demo/stackoverflow/38731021-3.html. This actually just uses visibility: hidden as you have before but because they still occupy more than one page I would bring font-size down to 0 and restore the font size of the modal. This is a last resort method if you really can't modify the dom. I don't recommend this method if your content behind the modal has other elements such as image occupying space.
@media print {
  body.modal-open * {
    font-size: 0;
    visibility: hidden;
  }

  .modal.in,
  .modal.in * {
    font-size: 1.8rem;
    visibility: visible;
  }
}

A:
"the second page being completely blank"

this could help:
* {
  font-size: 1em !important;
  line-height: 1 !important;
}

seemed not modal issue, but something like described here Remove blank page when printing on google chrome


text:
Home Consulting Rankings
Best Consulting Firms to Work For
Which firms fare best on these individual rankings of key employment factors?
When it comes to a satisfying work experience, there are many different factors that come into play--everything from a job's ability to challenge an employee and the training and mentoring to the number of hours spent working or travelling each week, and the compensation that the employee takes home for doing their job. All told, we have identified 22 separate "Best to Work For" factors--each of which is represented by its own ranking. These rankings help to build a picture of the firms consultants find the most amenable to a fulfilling, satisfying work experience.
Survey respondents were asked to rate their own firm across a variety of factors that affect their daily working lives. Those factors are:
Exit Opportunities
Formal Training
Hours in the Office
Informal Training
Interaction with Clients
Level of Challenge
Overall Business Outlook
Promotion Policies
Relationships with Supervisors
Firms were then ranked in each category based on the average rating assigned by their own consultants.
Ranking History 2021 2020 2019 2018 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007
Each year Vault invites eligible consulting firms to participate in our annual Consulting Survey. Please contact us if you're interested in having your firm considered for inclusion.
2021 Best Consulting Firms for Formal Training
SCORE 9.919
2020 Rank 1
Health Advances
The professionals at Health Advances consult about one thing and one thing only: health care. Established in 1992, the firm's core belief is that focusing on just one industry allows it to provide clients with greater resources and focused...
Overview Survey Says Why Work Here Employee Reviews
ClearView Healthcare Partners
ClearView is a boutique consulting firm in the life sciences strategy field. The company has enjoyed exponential growth since its founding in 2007, providing advice and insights across four main areas of focus: pharmaceuticals, biotechnology,...
Overview Survey Says Employee Reviews
Bain & Company is a global consultancy that helps the world's most ambitious change-makers define the future. Across 59 offices in 37 countries, the firm works alongside clients as one team with a shared ambition to achieve extraordinary...
McKinsey & Company is a privately owned management consulting firm. Roundly considered the most prestigious company of its kind, it has achieved a near-universal level of renown, despite a decades-long commitment to confidentiality that...
With nearly 21,000 employees in over 90 offices in more than 50 countries, Boston Consulting Group ranks as one of America's Largest Private Companies, according to Forbes . The firm partners with leaders in business and society to help them...
The Bridgespan Group is a global consulting firm that serves nonprofit organizations, NGOs, impact investing, and philanthropic groups. The firm collaborates with mission-driven leaders to break cycles of poverty and dramatically improve the...
Insigniam
Insigniam is a management consultancy that has been a pioneer in the field of organizational transformation and breakthrough performance for over 30 years. The firm was co-founded by Shideh Sedgh Bina and Nathan Owen Rosenberg, who still lead...
Overview Survey Says Why Work Here Employee Reviews Jobs
Putnam Associates
For more than 30 years Putnam Associates has grown into a premier strategy consulting firm serving biopharmaceutical, biotechnology (cell, gene and tissue therapies), diagnostics, medical device, and related clients in the healthcare space. The...
2020 Rank 15
The Keystone Group
Founded in 1991, The Keystone Group is a management consulting firm that works with mid-market manufacturing and distribution clients. The firm is based in Chicago, with another office in Atlanta. Manufacturing Profit Keystone operates in...
Clarkston Consulting
Clarkston Consulting is a business and technology consulting firm serving the consumer products, retail and life sciences markets. Besides its headquarters in Durham, N.C., the firm has offices in six U.S. cities. Clarkston Consulting was...
To: salesrm@vault.com
Subject: We want to participate in Vault's Consulting Survey
Company You Represent *
Job Rankings by Innovation
Job Rankings by Firm Leadership
Best companies to work for | Best Consulting...


text:
#pragma once

#include "../include/zmq.h"

#include "testutil.hpp"

#include <unity.h>

// Internal helper functions that are not intended to be directly called from
// tests. They must be declared in the header since they are used by macros.

int test_assert_success_message_errno_helper (int rc_,
                                              const char *msg_,
                                              const char *expr_,
                                              int line);

int test_assert_success_message_raw_errno_helper (int rc_,
                                                  const char *msg_,
                                                  const char *expr_,
                                                  int line);

int test_assert_failure_message_raw_errno_helper (
  int rc_, int expected_errno_, const char *msg_, const char *expr_, int line);

/////////////////////////////////////////////////////////////////////////////
// Macros extending Unity's TEST_ASSERT_* macros in a similar fashion.
/////////////////////////////////////////////////////////////////////////////

// For TEST_ASSERT_SUCCESS_ERRNO, TEST_ASSERT_SUCCESS_MESSAGE_ERRNO and
// TEST_ASSERT_FAILURE_ERRNO, 'expr' must be an expression evaluating
// to a result in the style of a libzmq API function, i.e. an integer which
// is non-negative in case of success, and -1 in case of a failure, and sets
// the value returned by zmq_errno () to the error code.
// TEST_ASSERT_SUCCESS_RAW_ERRNO and TEST_ASSERT_FAILURE_RAW_ERRNO are similar,
// but used with the native socket API functions, and expect that the error
// code can be retrieved in the native way (i.e. WSAGetLastError on Windows,
// and errno otherwise).

// Asserts that the libzmq API 'expr' is successful. In case of a failure, the
// assertion message includes the literal 'expr', the error number as
// determined by zmq_errno(), and the additional 'msg'.
// In case of success, the result of the macro is the result of 'expr'.
#define TEST_ASSERT_SUCCESS_MESSAGE_ERRNO(expr, msg)                           \
    test_assert_success_message_errno_helper (expr, msg, #expr, __LINE__)

// Asserts that the libzmq API 'expr' is successful. In case of a failure, the
// assertion message includes the literal 'expr' and the error code.
// A typical use would be:
//   TEST_ASSERT_SUCCESS_ERRNO (zmq_connect (socket, endpoint));
// In case of success, the result of the macro is the result of 'expr'.
//
// If an additional message should be displayed in case of a failure, use
// TEST_ASSERT_SUCCESS_MESSAGE_ERRNO.
#define TEST_ASSERT_SUCCESS_ERRNO(expr)                                        \
    test_assert_success_message_errno_helper (expr, NULL, #expr, __LINE__)

// Asserts that the socket API 'expr' is successful. In case of a failure, the
// assertion message includes the literal 'expr' and the error code.
// A typical use would be:
//   TEST_ASSERT_SUCCESS_RAW_ERRNO (send (fd, buffer, 64, 0));
// In case of success, the result of the macro is the result of 'expr'.
#define TEST_ASSERT_SUCCESS_RAW_ERRNO(expr)                                    \
    test_assert_success_message_raw_errno_helper (expr, NULL, #expr, __LINE__)

// Asserts that the socket API 'expr' is not successful, and the error code is
// 'error_code'. In case of an unexpected succces, or a failure with an
// unexpected error code, the assertion message includes the literal 'expr'
// and, in case of a failure, the actual error code.
#define TEST_ASSERT_FAILURE_RAW_ERRNO(error_code, expr)                        \
    test_assert_failure_message_raw_errno_helper (expr, error_code, NULL,      \
                                                  #expr, __LINE__)

// Asserts that the libzmq API 'expr' is not successful, and the error code is
// 'error_code'. In case of an unexpected succces, or a failure with an
// unexpected error code, the assertion message includes the literal 'expr'
// and, in case of a failure, the actual error code.
#define TEST_ASSERT_FAILURE_ERRNO(error_code, expr)                            \
    {                                                                          \
        int _rc = (expr);                                                      \
        TEST_ASSERT_EQUAL_INT (-1, _rc);                                       \
        TEST_ASSERT_EQUAL_INT (error_code, errno);                             \
    }

/////////////////////////////////////////////////////////////////////////////
// Utility functions for testing sending and receiving.
/////////////////////////////////////////////////////////////////////////////

// Sends a string via a libzmq socket, and expects the operation to be
// successful (the meaning of which depends on the socket type and configured
// options, and might include dropping the message). Otherwise, a Unity test
// assertion is triggered.
// 'socket_' must be the libzmq socket to use for sending.
// 'str_' must be a 0-terminated string.
// 'flags_' are as documented by the zmq_send function.
void send_string_expect_success (void *socket_, const char *str_, int flags_);

// Receives a message via a libzmq socket, and expects the operation to be
// successful, and the message to be a given string. Otherwise, a Unity test
// assertion is triggered.
// 'socket_' must be the libzmq socket to use for receiving.
// 'str_' must be a 0-terminated string.
// 'flags_' are as documented by the zmq_recv function.
void recv_string_expect_success (void *socket_, const char *str_, int flags_);

// Sends a byte array via a libzmq socket, and expects the operation to be
// successful (the meaning of which depends on the socket type and configured
// options, and might include dropping the message). Otherwise, a Unity test
// assertion is triggered.
// 'socket_' must be the libzmq socket to use for sending.
// 'array_' must be a C uint8_t array. The array size is automatically
// determined via template argument deduction.
// 'flags_' are as documented by the zmq_send function.
template <size_t SIZE>
void send_array_expect_success (void *socket_,
                                const uint8_t (&array_)[SIZE],
                                int flags_)
{
    const int rc = zmq_send (socket_, array_, SIZE, flags_);
    TEST_ASSERT_EQUAL_INT (static_cast<int> (SIZE), rc);
}

// Receives a message via a libzmq socket, and expects the operation to be
// successful, and the message to be a given byte array. Otherwise, a Unity
// test assertion is triggered.
// 'socket_' must be the libzmq socket to use for receiving.
// 'array_' must be a C uint8_t array. The array size is automatically
// determined via template argument deduction.
// 'flags_' are as documented by the zmq_recv function.
template <size_t SIZE>
void recv_array_expect_success (void *socket_,
                                const uint8_t (&array_)[SIZE],
                                int flags_)
{
    char buffer[255];
    TEST_ASSERT_LESS_OR_EQUAL_MESSAGE (sizeof (buffer), SIZE,
                                       "recv_string_expect_success cannot be "
                                       "used for strings longer than 255 "
                                       "characters");

    const int rc = TEST_ASSERT_SUCCESS_ERRNO (
      zmq_recv (socket_, buffer, sizeof (buffer), flags_));
    TEST_ASSERT_EQUAL_INT (static_cast<int> (SIZE), rc);
    TEST_ASSERT_EQUAL_UINT8_ARRAY (array_, buffer, SIZE);
}

/////////////////////////////////////////////////////////////////////////////
// Utility function for handling a test libzmq context, that is set up and
// torn down for each Unity test case, such that a clean context is available
// for each test case, and some consistency checks can be performed.
/////////////////////////////////////////////////////////////////////////////

// Use this is an test executable to perform a default setup and teardown of
// the test context, which is appropriate for many libzmq test cases.
#define SETUP_TEARDOWN_TESTCONTEXT                                             \
    void setUp () { setup_test_context (); }                                   \
    void tearDown () { teardown_test_context (); }

// The maximum number of sockets that can be managed by the test context.
#define MAX_TEST_SOCKETS 128

// Expected to be called during Unity's setUp function.
void setup_test_context ();

// Returns the test context, e.g. to create sockets in another thread using
// zmq_socket, or set context options.
void *get_test_context ();

// Expected to be called during Unity's tearDown function. Checks that all
// sockets created via test_context_socket have been properly closed using
// test_context_socket_close or test_context_socket_close_zero_linger, and generates a warning otherwise.
void teardown_test_context ();

// Creates a libzmq socket on the test context, and tracks its lifecycle.
// You MUST use test_context_socket_close or test_context_socket_close_zero_linger
// to close a socket created via this function, otherwise undefined behaviour
// will result.
// CAUTION: this function is not thread-safe, and may only be used from the
// main thread.
void *test_context_socket (int type_);

// Closes a socket created via test_context_socket.
// CAUTION: this function is not thread-safe, and may only be used from the
// main thread.
void *test_context_socket_close (void *socket_);

// Closes a socket created via test_context_socket after setting its linger
// timeout to 0.
// CAUTION: this function is not thread-safe, and may only be used from the
// main thread.
void *test_context_socket_close_zero_linger (void *socket_);

/////////////////////////////////////////////////////////////////////////////
// Utility function for handling wildcard binds.
/////////////////////////////////////////////////////////////////////////////

// All function binds a socket to some wildcard address, and retrieve the bound
// endpoint via the ZMQ_LAST_ENDPOINT socket option to a given buffer.
// Triggers a Unity test assertion in case of a failure (including the buffer
// being too small for the resulting endpoint string).

// Binds to an explicitly given (wildcard) address.
// TODO redesign such that this function is not necessary to be exposed, but
// the protocol to use is rather specified via an enum value
void test_bind (void *socket_,
                const char *bind_address_,
                char *my_endpoint_,
                size_t len_);

// Binds to a tcp endpoint using the ipv4 or ipv6 loopback wildcard address.
void bind_loopback (void *socket_, int ipv6_, char *my_endpoint_, size_t len_);

typedef void (*bind_function_t) (void *socket_,
                                 char *my_endpoint_,
                                 size_t len_);

// Binds to a tcp endpoint using the ipv4 loopback wildcard address.
void bind_loopback_ipv4 (void *socket_, char *my_endpoint_, size_t len_);

// Binds to a tcp endpoint using the ipv6 loopback wildcard address.
void bind_loopback_ipv6 (void *socket_, char *my_endpoint_, size_t len_);

// Binds to an ipc endpoint using the ipc wildcard address.
// Note that the returned address cannot be reused to bind a second socket.
// If you need to do this, use make_random_ipc_endpoint instead.
void bind_loopback_ipc (void *socket_, char *my_endpoint_, size_t len_);

// Binds to an ipc endpoint using the tipc wildcard address.
void bind_loopback_tipc (void *socket_, char *my_endpoint_, size_t len_);

#if !defined(ZMQ_HAVE_WINDOWS) && !defined(ZMQ_HAVE_GNU)
// utility function to create a random IPC endpoint, similar to what a ipc://*
// wildcard binding does, but in a way it can be reused for multiple binds
// TODO also add a len parameter here
void make_random_ipc_endpoint (char *out_endpoint_);
#endif

redpajama_set_name: RedPajamaGithub


Metal foils much thinner than a human hair show greater strength than expected. The picture shows that this strength depends only on the size, not on the material properties of the particular metal.
These two foils are 10 microns thick, one is nickel and the other copper. They have been annealed to give a large grain size (about 20 microns in both) and bent around the mandrel (the end of which just be seen at the bottom right of the picture. Once bent, on release, they have sprung back the same amount, indicating that they have the same strength.
This experiment was carried out by Isis de Lavau and Jeremy Jardin, students from the French engineering school CESI, on placement here in September.


Workshop Set D: 10:30 a.m. – 12:00 p.m.
Using Housing First to Combat the Opioid Crisis Across the state, communities are working overtime to find solutions to the opioid crisis. In this session, presenters will introduce strategies to combine housing and wraparound services that can help break the cycle of addiction and meet the needs of chronically homeless individuals with opioid use disorders.
Identifying and Understanding Implicit Bias (Part 2) Building off of information shared in Part 1, Part 2 of this workshop series will focus specifically on the issues of implicit bias using primary concepts and advocacy tools to serve all while addressing cultural humility, micro-aggressions and aspiring allyship.
Exploring the Link Between Transportation and Housing Research has shown that transportation access is one of the biggest factors behind housing instability. It's critical to holding down a job, getting to school, keeping appointments, and many more aspects of daily life. In this session, we'll learn about available statewide resources and explore innovative ways providers are addressing this issue.
Invisible Crisis: Youth Homelessness in Rural Communities Chapin Hall's Voices of Youth Count initiative showed that about 1 in 10 young adults, and 1 in 30 teens nationally experience homelessness within a 12-month period. New analysis shows that these rates are consistent in rural parts of the U.S. These are the first reliable national data that show prevalence and characteristics of youth homelessness in the vast rural areas of the country. We will hear from youth providers, advocates and a member if Chapin Hall to discuss the report.
Follow the Money: State Budget Update Budgets reflect priorities. During a time of increasing homelessness, policymakers in Columbus are drafting a plan to spend billions of dollars over the next two years. Find out how these decisions affect homeless and housing programs, and hear from state legislators, seasoned lobbyists and others about budget negotiations. Learn how to effectively advocate for additional resources by participating in a mock legislative committee hearing and put your advocacy skills into action.
Workshop Set E: 1:45 p.m. – 3:15 p.m.
Housing Not Handcuffs! Homelessness remains a national crisis as stagnant wages, rising rents, and a frayed social safety net have left millions of people homeless or at-risk. While some literally have no choice but to live outside, efforts to punish homelessness continue to grow. People get pulled into the criminal justice system for petty offenses related to living on the streets. In this session, we'll explore the vicious cycle of homelessness and incarceration.
Using Legal Resources as an Eviction Prevention Strategy In 2016 there were 103,027 eviction filings in Ohio leading to 57,980 evictions, according to the Eviction Lab. Once an eviction has been filed, what can be done to mitigate the harm? What resources are available to help a family avoid eviction? How can legal representation help? Hear from attorneys on the front line from Columbus, Cleveland and Toledo.
Child Welfare Initiatives in Housing The child welfare system offers crucial support for children in crisis, but unfortunately these youth face higher rates of housing insecurity as adults. In this session, attendees will learn about programs that stabilize housing for youth in foster care and those who have aged out.
In the session, attendees will learn how to respond to an opioid overdose by administering Naloxone. This session will cover regulations on the drug and legal protections for people who administer it, introduce Project DAWN programs, and explore two models through which homeless programs can use Naloxone.
Rapid Rehousing: A Deeper Dive Attendees will learn how housing first and rapid rehousing models can be adapted for effective use with domestic and sexual violence survivors; RRH information specific to HUD's NOFA; RRH service delivery approaches, and other related topics. The session will dive deeper into rapid rehousing using real life examples and peer lead problem solving.
Creating Racial Equity in Your Organization Embracing diversity, equity, and inclusion in your organizational values is a way to intentionally create space for positive outcomes. In this session, attendees will learn how to build these core values into their programs by learning from organizations who have done the work.


text:
Single source of truth: What should the flexible, integrated, and autonomous modern data warehouse of today look like?
Many organisations tune their database solutions in the same way you might train an athlete – shaping them to excel at their original purpose but fall short when asked to perform outside their main discipline.
However, we're now seeing a move towards a modern data warehouse approach based on a converged data base, with multiple data sources being run through the same platform as part of a multimodal approach. The ultimate aim is a single source of truth that offers end-to-end integration, from storage to data management and analytics, that reduces complexity, and provides far greater visibility and business insights.
This webinar, and dedicated research, will define what the ideal modern data warehouse solution looks like today, and tackle the longstanding debate around data lakes versus data warehouses. We will also explore the key role autonomous database tasks now play in ensuring performance, reliability, security, and operational efficiency. Are machine learning, spatial analytics, and graph analytics now must-have additions to your database toolset?
Editorial Director, Enterprise IT
Content Strategist & Research Analyst, Enterprise Technology, Computing
Andrew is an enterprise technology writer, editor, publisher, strategist and consultant; illuminating digital transformation in the connected world and educating businesses on the opportunities and challenges presented by cloud and edge computing, the Internet of Things, automation, AI, and Big Data. He is a former Editor and Publisher of Internet of Business and now oversees Incisive Works' enterprise technology thought-leadership content creation, including multimedia digital experiences, whitepapers, webinars, videos, and podcasts
Michael Connaughton
Head of Analytics & Big Data, Europe, Middle East and Africa, Oracle
Michael has 23 years' experience of working in the IT industry and is currently Head of Analytics & Big Data for the EMEA region at Oracle. He has held several senior leadership roles over the past 16 years and has been responsible for teams specializing in data analytics, data management, cyber security and digital transformation. Michael has strong expertise in Sales, Marketing and Business Development. He is a member of the International Data Corporation (IDC) Advisory Council for Artificial Intelligence and an AI adviser to the University of Oxford.
Please tick this box if you'd like to opt out of receiving your Amazon voucher


text:
Dispensed: Venture-backed insurance startup Bright Health's 2018 results, a dispute between 2 drug giants, and the quest for a male birth control drug
Lydia Ramsey
Hollis Johnson/Business Insider
Welcome to Dispensed, our weekly newsletter recapping all the big healthcare stories that kept our team busy this week. For those who are new to the newsletter, I'm Lydia Ramsey, a senior reporter here on the team.
I'm curious to hear what you all think of Cigna and Express Scripts' program that caps a 30-day supply of insulin at $25 for patients. How many plans will pick this up? How many patients will this impact? I guess time will tell.
It'll also be interesting to see how the healthcare industry taps into Alexa now that Amazon's voice assistant is HIPAA compliant. Would you want to set up an appointment or give your doctor an update via the Echo Dot in your living room?
One thing to keep an eye on: the FDA is holding a hearing about cannabis next month. One day, it might be legal to make foods and drinks with certain levels of the cannabis extract CBD, at least according to a recent note from outgoing FDA Commissioner Scott Gottlieb.
New to our newsletter? You can subscribe here.
Erin Brodwin had the story on the newest test out using the Helix DNA kit. It looks at risk of some of the same conditions 23andMe looks at, but includes genetic counseling and requires a doctor's sign-off. Here's what you need to know about it.
A Silicon Valley startup just launched a DNA-based health test that could be a big competitor to 23andMe
On Tuesday, DNA testing startup Helix launched a new test that looks at your risk of diseases like breast cancer, colon cancer, and high cholesterol.
You can buy the test online for $260, but it must be approved by a physician.
Helix partnered with clinical diagnostics company PerkinElmer to create the test, which includes genetics counseling.
The test also uses a type of sequencing that some experts say all DNA-based health tests should use.
I had the scoop on venture-backed health insurer Bright Health's 2019 enrollment and revenue expectations. Those numbers, and the company's 2018 results based on regulatory filings, suggest that the insurer is managing to double its footprint every year (its first year offering plans was 2017). So far, it's been holding losses steady.
We got a look at the 2019 plans for venture-backed health-insurance startup Bright Health, which says it doubled its membership again
Bright Health, the Minneapolis-based health-insurance startup that provides health plans for individuals and families and to seniors, made $145 million in gross revenue in 2018, its second year offering health plans.
According to state filings, Bright lost $17.5 million in 2018, the same as in 2017. At the same time, it doubled its membership base to more than 24,000 from 12,000.
Bright Health CEO Bob Sheehy told Business Insider the company expected to jump to about $400 million in revenue for 2019 and had signed on more than 60,000 members.
And if you need a recap of how all the health insurance startups fared in 2018 and what's ahead for 2019 and 2020, I've got you covered.
Bright Health CEO Bob Sheehy, Devoted Health co-founder and executive chairman Todd Park, Clover Health CEO Vivek Garipalli, and Oscar Health CEO Mario Schlosser.
Bright Health; Alex Wong/Getty; Clover Health; Oscar Health; Shayanne Gal/Business Insider
Health-insurance startups like Oscar Health and Clover Health have raked in $1.3 billion in the past year. We took a look at their financials, which show how hard it is to get a foothold in the industry.
Startups have attracted massive funding in the past few years to build new kinds of health-insurance plans — with the help of technology.
In the past year, four companies in particular — Oscar Health, Devoted Health, Bright Health, and Clover Health — brought in a combined $1.3 billion in funding.
Emma Court has the story of the race to successfully develop a cancer drug targeting the KRAS mutation.
A $23 billion drugmaker and a $2 billion biotech upstart are racing to develop a type of 'silver bullet' drug for aggressive cancers that has eluded their industry for 30 years
Pharmaceutical companies long wanted to develop a drug that would target KRAS, a common gene mutation seen in cancers. But every effort so far has failed.
The pharmaceutical company Amgen and biotech Mirati are backing two new drugs that are raising those hopes again, though it's still early days.
If these experimental products are successful, they could rake in billions in sales and help patients with few treatment options.
Emma also chatted with the top scientist at AveXis, which Novartis acquired last year. He broke down why the Swiss pharma giant was so interested in the gene-therapy maker.
The top scientist at AveXis told us it got sold to Novartis for $9 billion because of this 'unique' strength that could shape the future of gene therapy
The biotech AveXis develops cutting-edge "gene therapy" products that could be powerful and long-lasting medical treatments.
Swiss drug giant Novartis bought the biotech for $9 billion last year in part because AveXis had figured out how to actually make gene therapies at a big-enough scale, AveXis Chief Scientific Officer Brian Kaspar told Business Insider.
Manufacturing has emerged as a huge challenge for the booming industry because these products are so new and complex.
And for those just catching up on Thursday's lawsuit — Emma broke down the significance of the dispute between Amgen and Novartis over their new migraine drug, Aimovig.
2 drug giants are feuding over a highly successful new migraine drug, and court documents reveal how profitable the $10 billion market could be
Two drugmakers, Amgen and Novartis, have worked together for years on a new type of cutting-edge migraine drug, Aimovig.
Now they're involved in a bitter fight. Amgen is trying to get out of the collaboration, while Novartis is suing Amgen to keep it in place.
Aimovig costs roughly $7,000 a year and was the first of a new category of migraine drugs to get to market. The lawsuit provides a window into how successful it has been and how much Novartis stands to lose in the disagreement.
Out on the West Coast, Erin took a look at a startup coming out of Y Combinator that wants to crack the male birth control market.
A Berkeley-stacked startup backed by Silicon Valley's top tech hub is developing male birth control that experts call promising
A new startup called Your Choice Therapeutics aims to bring the first hormone-free male and female birth control drug to market.
The company debuted at a recent demo day hosted by Silicon Valley tech hub Y Combinator.
Stacked with researchers from UC Berkeley, the startup has published several basic studies in top-notch science journals.
Still, the field of male birth control is a tough nut to crack, and the company faces challenges.
For those eager to hear what comes out of the PBM grilling next week in the Senate, we'll be following along. Find Emma and me on Twitter, where I'm sure we'll post some live updates.
In the meantime, be sure to send tips, thoughts, and ideas for how you'd use now-HIPAA-compliant Alexa to lramsey@businessinsider.com, or you can find the whole healthcare team at healthcare@businessinsider.com.
- Lydia
More: Health Dispensed BI Graphics Express Scripts
Devoted Health
AveXis


text:
Asia-Pacific, Civil Society, Development & Aid, Headlines, Human Rights
CHALLENGES 2006-2007: A 'New Nepal' for All?
By Marty Logan	Reprint | | Print |
Marty Logan
KATHMANDU, Dec 22 2006 (IPS) - Cycle and foot traffic will swell on the two-lane highway that runs through Nepal's 'tarai' (plains region) Dec. 25. Normally the road teems with buses that pack passengers onto their roofs and careen from stop to stop, speeding trucks with squealing brakes and a few personal cars. But the Nepal Sadhbhawana Party (NSP)has called a general strike on that day and motorised vehicles risk being attacked by mobs.
The NSP, which represents the plains people ('madheshis' in Nepali), is protesting last week's signing of an interim constitution in this small South Asian nation wedged between giants India (to the south) and China. It says the document maintains the region's exclusion from power.
While much of the media, leaders of the governing seven-party alliance (SPA) and their Maoist counterparts praise the interim law as the latest stop on the road to peace, the strike will be a reminder of how much remains to be done to address long-standing grievances against the Nepali state – the reasons for which the Maoists said they launched their uprising a decade ago.
Nepal is a nation of 27 million people dominated by the fewer than one-third who make up the so-called 'high castes' according to Hindu orthodoxy. These few groups rule over other lower-caste Hindus – particularly 'dalits' or 'untouchables' – 59 officially recognised groups of indigenous people, Muslims and other minorities. Their power centre is the capital Kathmandu.
All that is supposed to change in the 'new Nepal', the nation that is emerging from April's 'people's movement', when the SPA and then still-at-war Maoists warily united to lead hundreds of thousands of marching, chanting protesters onto streets across the country to force King Gyanendra to relinquish direct rule.
The arrogant monarch was their immediate target but the housewives and civil servants, who joined young activists on the streets, were also protesting 10 years of civil war that killed 14,000 Nepalis, forced 100,000 or more to flee their village homes to barbed-wire encircled district towns or farther a field, and clouded much of the nation in fear and suspicion. Many also demanded an end to corruption, to the acute poverty that marks many people's lives outside the capital and for the sharing of power among all Nepalis.
Crisis in the HimalayasûIPS special coverage
"We, the people, were successful in bringing down an ignorant crown, but the mendacity of the parties and the Maoists still reigns over us," says the report of a new group, Namuna Nepal, released this week. Its analysis of a sampling of the new administration's appointments "proves that your government is functioning without regard for broad based representation and ignores the people's voice and aspiration", it adds.
Namuna Nepal found that 62 percent of positions went to Brahmins, who account for 13 percent of the population – the same proportion as dalits. But the latter group received only one percent of the postings. Women did somewhat better, getting seven percent of the appointments.
"Till the minority rule of one caste/class (is) uprooted, the majority of citizens will not see justice and fair play in the light of day," adds the report. "If the new constitution does not involve social inclusion, the peace resolution will only diminish the human rights of most Nepalese and will further fuel a civil war based on caste/ethnicities and gender rights," says Namuna Nepal.
An end to the eight-month peace threatened this week when armed, Maoist cadres left their designated camps to protest the government's announcement of the appointments of 14 ambassadors. (They returned hours later). Their leaders said the move, just weeks before the former rebels will join an interim government, violates the Comprehensive Peace Agreement (CPA) signed Nov. 21.
Maoist leaders also announced a country-wide strike Dec. 31 and Jan. 1 to protest the appointments.
The CPA assigns soldiers from the Maoist army to seven main camps, each with three nearby 'satellite' camps. Their weapons will be stored in steel containers and the keys given to rebel leaders. The camps will be watched by UN monitors, who are due to start arriving by year-end.
"I still do feel more optimistic than pessimistic (about the peace process) though not by a large margin," says Rhoderick Chalmers of the International Crisis Group (ICG).
Last week ICG released its latest report, 'Making Nepal's Peace Agreement Work'. It describes daunting challenges ahead, among them: transforming the current personality-driven, sometimes ad-hoc peace process – despite its success to date – into a more inclusive, structured one; bringing military leaders of the state and Maoist armies together to start talks on merging their forces; and holding constituent assembly elections by mid-June, a deadline that many observers here scoff at.
"If elections do happen it's almost certain they won't be free and fair (but) the trade-off is to sacrifice a little bit of the perfection of the election process to keep the momentum going," Chalmers told IPS in an interview.
Both the government and Maoists have persisted with peace talks until now because it served their own interests, says the report. "The Maoists don't believe in multi-party democracy and they're keeping Plan B open and ready but as long as (the process) works they'll continue with it," added Chalmers.
The other political parties "still do have at the backs of their minds that the public won't forgive them if they don't get it right this time", he said. The first 'people's movement' in 1990 forced then King Birendra to return multi-party democracy, but many people here believe the political parties that afterwards took turns running the nation squandered the chance to develop Nepal, sowing the seeds of the Maoist rebellion.
Looking back at the 13 months since the SPA and Maoists penned their first agreement, "to have come this far without major upsets – the country hasn't fallen apart, crime has risen slightly but there's not anarchy on the streets – it's not bad at all," added Chalmers. Compared to many conflict situations, it's quite good."
State Minister for Women, Children and Social Welfare, Urmila Aryal, agrees. "Compared to other countries (the peace process) has been very successful but the issues of inclusion still need serious consideration," she told IPS.
Senior human rights activist Padma Ratna Tuladhar says the Maoists have consistently championed the causes of madheshis and other oppressed groups. "They say there should be a federal state where powers are shared or autonomy given to these groups. But then they conclude agreements with the government and say they couldn't attain these things because it was a 'compromise document'."
"The losers have always been oppressed peoples," added Tuladhar.
Neither the CPA nor the interim constitution deal substantively with excluded peoples, although parliament has just passed a law that will make millions of madheshis eligible for citizenship for the first time. Maoist leaders have pledged that 80 percent of their seats in the interim government will go to indigenous peoples and 40 percent to women.
One of the ideas in the air in the heady days since April has been electing the constituent assembly based on proportional representation, where excluded groups would finally get their fair share. But in their dealings, the SPA and Maoists decided that only half the seats would be elected based on that plan and the other half according to the status quo.
"On one hand we have to welcome the end of the killing, of the 10 years of war," said Tuladhar. "On the other, we have to complain that the parties could not fulfil the desires of indigenous peoples, madheshis, women and others."


text:
49ers vs. Cowboys Same Game NFL Parlay Picks Wild Card Playoff Sunday
Adam Strangis
The NFL playoffs continue today with three games and a storied NFC rivalry renews when the San Francisco 49ers face the Dallas Cowboys. That makes it a perfect opportunity to use OddsShopper to build some NFL Parlay Picks today. Using this fantastic site can help place smart wagers in an easy-to-use fashion and maximize the ROI on the wagers. It is truly betting made simple since you can find the best NFL betting picks in 30 seconds or less.
In New York? Don't forget to check out Alex Baker's article on how to MAXIMIZE your sportsbook bonus.
49ers vs. Cowboys Same Game NFL Parlay Picks
Deebo Samuel Over 4.5 Receptions (Caesars New York Betting Offer)
George Kittle Over 50.5 Yards Receiving (FanDuel New York Betting Offer)
Ezekiel Elliott Over 48.5 Yards Rushing (Caesars New York Betting Offer)
CeeDee Lamb Over 63.5 Yards Receiving (DraftKings New York Betting Offer)
The first step is finding which sport you are going to wager on, so the banner at the top of the screen has the sports separated. Once you are on the NFL page, it is super simple to customize what you are looking for as far as teams and players on the left-hand side of the page.
Now, if you miss one of the odds highlighted in the article because it changed, do not worry. The lines do not always stay the same as they are updated every two minutes. There will be examples of when you can still wager based on the Awesemo projections. It is also easy to sort the props by what style you want to bet them, meaning that you can choose the highest ROI or the highest expected win rate.
Generally, the best approach is a mix of the highest ROI and expected win rate, and this process should take under 30 seconds to filter what you are looking for. The highlighted wagers in the article can also be bet individually, so if the parlay misses by one leg, it is not a total loss. Let's find out what the best-projected bets are for Sunday and build some NFL parlay picks.
Also be sure to check out OddsShopper's matchups page, breaking down all the data for each game on a given slate.
The parlay is kicking off with a slight underdog as most sportsbooks have Deebo Samuel recording five receptions or more at +105 or higher. OddsShopper has an expected win rate of 61% and Samuel averaged right at 4.8 receptions per game. His receiving work took a small step back towards the end of the season in part because he was being utilized as a running back due to injuries for San Francisco.
From Week 10 forward, he had at least five carries per game but he has proven himself to be one of the best receivers in the league. This is the only game of the weekend with a total of over 50 points and his target share was sixth among receivers at 27.8%. The presence of Dallas corner Trevon Diggs is not a deal-breaker as he allowed 19.0 yards per reception and a 56.3% catch rate.
Get a $1,001 First Bet Match!
One of the more fascinating aspects of this game is seeing how the Cowboys attempt to defend George Kittle. OddsShopper has him projected for 71.8 yards receiving and a 71% expected win rate, the highest of the parlay for this game. Kittle did fight through some injuries this season but when he was on the field, he was his normal self and an elite tight end in the league. He finished fourth in yards (910 and 65 per game), second in target share (24.9%), and third in yards run per route (2.63). Dallas did finish the season ranked ninth in DVOA against the pass but they were 20th in total passing yards allowed per game at 238.2 yards. All of that adds up to his line being extremely low for his averages and the game environment to not take the over.
The Latest Sports Betting Content from Awesemo Odds
It is still very surprising to see a line under 50 rushing yards for Ezekiel Elliott in a playoff game, but that is sort of the season he's had this year. To his credit, he fought through a knee injury for weeks that had a clear negative effect on him. Elliott has looked better in recent weeks and even though San Francisco is second in DVOA against the run, this line is extremely low. OddsShopper has an expected win rate of 70%, right behind Kittle and projected for over 60 yards on the ground. San Francisco still allowed four yards per attempt this year and Elliott was seventh in the league in carries and rushing yards, averaging 58.9 yards per game. The Cowboys won't go away from the run and they are three-point favorites, so Elliott makes a lot of sense to add to the parlay.
The final leg is CeeDee Lamb and the total return is +1194 according to the Awesemo Parlay Calculator, along with an expected win rate of 61% from OddsShopper. With the loss of teammate Michael Gallup, Lamb will be relied upon even more in the offense and he rotates his alignment on the field. Lamb played 32.3% of his routes in the slot and finished with 1,102 yards receiving this season for an average of 68.9 yards per game. The target share was 20.4% which was only 36th among receivers and Gallup was at 16.6%. That's a total of 62 targets from the season that won't be in the lineup and San Francisco is just 16th in DVOA against the pass along with a 68.3% completion rate allowed. That was 29th in the league and is a slightly weaker aspect of their defense, perfect for Lamb to exploit with his 13.9 yards per reception.
Check out the AwesemoOdds home page for more sports betting content, including more picks and predictions.
Related Topics:featured4
More Betting
FREE NFL Picks and Parlays: Best Cardinals vs. Rams Wild Card Playoffs NFL Parlay Picks 1/17/2022


text:
Scott Walker: I'm Glad I Fired My Consultant for Speaking the Truth About Iowa
Filed under: General — Patterico @ 7:38 am
He'll fight unions, and he'll fight ISIS, but there's no fighting the Iowa voters:
Gov. Scott Walker brought his Wisconsin story to South Carolina on Thursday, telling voters how he overcame protests and a recall effort, and suggesting the departure of a campaign aide this week was rooted in the need to respect voters.
In a speech to about 200 people at the TD Convention Center in Greenville, Walker indirectly addressed the departure of social media aide Liz Mair after news spread about tweets she posted before she was hired that disparaged Iowa and its caucuses, the first in the nation.
"One of my clear rules is, if you're going to be on our team, whether on the paid staff or a volunteer, what I always say is you need to respect the voters," he said. "Because really if you think about campaigns, it's not about the candidate or the staff. It's about the voter. It's about how to help people's lives be better.
"One of the things I've stressed … in the last few days as I've looked at the possibility of running is you have my firm commitment that I'm going to focus on making sure that the people on my team, should we go forward, are people who respect voters."
Mair stepped down Tuesday just hours after her hiring had been announced — and shortly after the head of the Iowa Republican Party said Walker should fire her.
The offending tweets by Mair were these:
In other news, I see Iowa is once again embarrassing itself, and the GOP, this morning. Thanks, guys.
— Liz Mair (@LizMair) January 24, 2015
The sooner we remove Iowa's frontrunning status, the better off American politics and policy will be.
Note the dates. The tweets were written by Mair before she was hired, but apparently having those opinions to begin with was fatal to her consulting deal with Walker.
Upon reflection, I think Mair is wrong. I think having Iowa first is just fine, because you get to find out from jump street whether a politician is craven: i.e. do they support ethanol subsidies or not? (It's this sort of lunacy, I believe, that caused Mair to tweet what she did.) Scott Walker supports them. Ted Cruz (and, to his credit, Rand Paul) do not.
Ethanol subsidies, like any agricultural subsidies, are a distortion of the marketplace and create all sorts of crazy incentives. It's a policy that would make a wanna-be socialist like FDR proud, and only craven vote-seekers in the GOP (that's most people) support them.
Like his support for ethanol subsidies, firing Mair (her resignation was clearly not voluntary) was a disappointing action for Walker to take. But hey, sometimes you gotta bow to reality, as Gil Fulbright hilariously reminded us last year:


text:
from nose.tools import *  # PEP8 asserts

from modularodm.exceptions import ValidationError

from tests.base import OsfTestCase
from tests.factories import ProjectFactory, RegistrationFactory
from website.addons.forward.tests.factories import ForwardSettingsFactory

class TestNodeSettings(OsfTestCase):

    def setUp(self):
        super(TestNodeSettings, self).setUp()
        self.node = ProjectFactory()
        self.settings = ForwardSettingsFactory(owner=self.node)
        self.node.save()

    def test_forward_registered(self):
        registration = RegistrationFactory(project=self.node)
        assert registration.has_addon('forward')

        forward = registration.get_addon('forward')
        assert_equal(forward.url, 'http://frozen.pizza.reviews/')

class TestSettingsValidation(OsfTestCase):

    def setUp(self):
        super(TestSettingsValidation, self).setUp()
        self.settings = ForwardSettingsFactory()

    def test_validate_url_bad(self):
        self.settings.url = 'badurl'
        with assert_raises(ValidationError):
            self.settings.save()

    def test_validate_url_good(self):
        self.settings.url = 'http://frozen.pizza.reviews/'
        try:
            self.settings.save()
        except ValidationError:
            assert 0

    def test_label_sanitary(self):
        self.settings.label = 'safe'
        try:
            self.settings.save()
        except ValidationError:
            assert False

    def test_label_unsanitary(self):
        self.settings.label = 'un<br />safe'
        with assert_raises(ValidationError):
            self.settings.save()


text:
Caparrapí kan syfta på:

Colombia

 Caparrapí (kommun), Cundinamarca,
 Caparrapí (ort), Cundinamarca,

redpajama_set_name: RedPajamaWikipedia


My phone has memorized all of my friend's names, phone numbers, addresses, and bank account numbers.
Pinterest stores all good ideas.
Facebook keeps me posted on all the social goings on.
Goodreads reads my mind and makes book recommendations.
My car tells me where to go!
I officially do not need a brain or a life anymore. My devices live for me. Don't get me wrong. I don't want to remember phone numbers. Come on! They are 10-digits long now! And a spot-on goodreads recommendation makes me giggly-happy.
But. I think things are out of hand. I'd like a bit of my humanity back. Could that be arranged?


text:
Spotting trends in organocatalysis for the next decade
José M. Lassaletta ORCID: orcid.org/0000-0003-1772-27231
Nature Communications volume 11, Article number: 3787 (2020) Cite this article
Synthetic chemistry methodology
Organocatalysis
Reaction mechanisms
Stereochemistry
After two decades of steady growing, symbiotic merger of organocatalysis with emerging electrochemical and photochemical tools are envisioned as hot topics in the coming decade. Here, these trends are discussed in parallel to the implementation of artificial intelligence-based technologies, which anticipate a paradigm shift in catalyst design.
The beginning and evolution of organocatalysis
Some 20 years ago, shortly after the beginning of the new millennium, the term organocatalysis was forged by Prof. David W. C. MacMillan in a paper dealing with the activation of enones by secondary amines (iminium activation) in Diels Alder reactions1. It was defined as "the acceleration of a chemical transformation through addition of a substochiometric amount of an organic compound which does not contain a metal atom". This paper and a parallel seminal publication by List et al.2, dealing with the use of proline as a catalyst for direct aldol condensations (enamine activation), ignited the extraordinary blossoming of the field in the following decade. Actually, this term was immediately and unreservedly embraced by scientists working in areas as diverse as H-bonding catalysis, N-heterocyclic carbene catalysis, oligopeptide (foldamers) catalysis, Brønsted acid catalysis, and ion-pairing catalysis, among others. As in the case of the catalytic iminium and/or enamine activation (aminocatalysis), the simultaneous flourishing of all these areas during the decade of the 2000s contributed to a perfect storm that eventually originated the phenomenal surge of organocatalysis as one of the fastest growing topics in Chemistry.
The operational simplicity of the organocatalytic reactions, often water and air tolerant, the robustness/stability of the catalysts, their non-toxic nature, their broad functional group tolerance, and the extraordinary diversity of small organic molecules available as catalysts are valuable aspects that attracted the interest of so many working groups around the world. Additionally, many organocatalysts are easily obtained from chiral natural sources (amino acids, alkaloids, etc.) and, consequently, a considerable portion of the contributions in organocatalysis focuses on enantioselective transformations. After the initial explosive expansion, the following years witnessed the consolidation of the field with the development of concepts such as bifunctional catalysis3, biomimetic cascade reactions4, the implementation of open-shell reactivity (SOMO activation)5, the introduction of organosuperbases for the activation of weakly acidic nucleophiles6, or the activation by frustrated Lewis pairs (FLPs)7, among others, and the discipline passed also the test as a key tool in challenging total syntheses8. The evolution of the field was quantified in 20089 as follows: the word organocatalysis or its derivatives had appeared in ca. 600 publication titles (Web of Science) and 40,000 web pages (indexed in Google). Today, these numbers have grown exponentially up to ca. 5000 publications and 1,260,000 web pages, which reflects a steady growing and diversification of the field, far beyond its origins.
In this immense thematic scenario, it is certainly difficult to make a prospective analysis for the starting decade. Hence, the intention of this comment is to put the focus in a short number of emerging strategies. This selection, necessarily very restrictive, includes transformations that have been traditionally accomplished using transition metal catalysis and highlight synergies that will surely have a significant impact in the near future.
Towards new activation modes
The high diversity of possible interactions resulting in an original organocatalytic substrate activation continuously generates new ideas and designs for specific catalytic transformations. The following couple of examples illustrate that the creativity in this field is far from fading and provides inspiring solutions for relevant chemical problems. For instance, the approach developed by Denton and co-workers10 for the catalytic Mitsunobu-like reaction is impressive for its simplicity. Using a specially designed dehydratable phosphine oxide organocatalyst, the long-dreamed waste-free nucleophilic substitution of secondary alcohols is cleanly performed according to the catalytic cycle shown in Fig. 1a, with H2O being the sole by-product of the reaction. The methodology was applied to a variety of C–O and C–N bond formation reactions in complex molecules and, using TfOH as a co-catalyst, could be also applied to ether synthesis via catalytic generation of alkyl triflates.
Fig. 1: Selected innovative strategies in organocatalysis.
a Proposed redox-neutral catalytic cycle for the Mitsunobu reaction. Nu nucleophile. b Biomimetic approach for Mannich reaction of free glycinates using an axially chiral pyridoxal catalyst. c Electroorganocatalytic C–H amination of arenes mediated by hypervalent iodine.
In a second remarkable example, Zhao's group has recently developed an original biomimetic strategy for the challenging α-functionalization of unprotected glycinate11. Upon formation of enolizable imine intermediates, an N-quaternized axially chiral pyridoxal catalyst, reminiscent of the activation mechanism used by vitamin B6, enabled a highly enantio- and diastereo-selective Mannich reaction with aryl N-diphenylphosphinyl imines (Fig. 1b).
Electrocatalytic transformations based on hypervalent iodine
An additional topic that has the potential to grow rapidly in the near future is the redox organocatalysis based on iodine, phosphorus or sulfur derivatives, which have the ability to mimic transition-metal-like catalysis in certain cases. Specifically, organocatalytic oxidations based on the I(I/III) redox couple have shown an extraordinary potential in organic synthesis, that has been progressively extended to include asymmetric transformations12. Although this is a well-established methodology, the symbiotic merger with electrochemistry offers great opportunities for further development. In a very recent study, Powers and co-workers have demonstrated that electrochemical oxidation of aryl iodides generates acetate-stabilized I(II) iodosyl intermediates, which are further oxidized to hypervalent iodine species. This process has been coupled with oxidative C–H/N–H coupling for the development of an electrocatalytic amination of arenes (Fig. 1c)13. Obviously, the electrocatalytic generation of I(III) species holds great potential for many other oxidation processes.
Photo-organocatalysis
In 2008, a seminal publication by Nicewicz and MacMillan showed for the first time that merging photoredox catalysis with organocatalysis is a powerful tool to solve challenging chemical problems as was the direct alkylation of aldehydes14. After this inspirational breakthrough, the combination of photoredox activation and organocatalysis positioned itself as one of the most fruitful synergies in organic synthesis. Recently, there is an increasing interest in the development of photoactive organic compounds, aiming to complement or improve processes based on common Ir or Ru-based catalysts and develop truly metal-free processes. The following triad of beautiful examples might serve to spot the potential of this type of organocatalyst. In a first exciting and illustrative example, a genuine photoorganocatalytic approach has been used by Procter and co-workers for truly metal-free oxidative C–H/C–H cross-coupling reactions15, leading to elaborated (hetero)biaryl compounds from scratch (Fig. 2a). In this reaction, 10-phenylphenothiazine as the organic photoredox catalyst outperforms conventional metal-based photocatalysts, efficiently activating the intermediate aryldibenzothiophenium salts generated in an interrupted Pummerer rearrangement.
Fig. 2: Selected photoorganocatalytic transformations.
a Photoorganocatalytic oxidative cross-coupling of arenes and heteroarenes using an interrupted Pummerer rearrangement. b Photoorganocatalytic generation of free alkyl radicals: Alkylation of electrophilic alkenes. LG leaving group, SET single electron transfer, HAT hydrogen atom transfer, EWG electron-withdrawing group. c Photoorganoatalytic reductions mediated by an excited neutral acridine radical. TICT twisted intramolecular charge-transfer.
A second example taken from Melchiorre and co-workers deals with the design of an original strategy for the catalytic generation of alkyl radicals16. In this approach, a nucleophilic dithiocarbamate catalyst decorated with a suitable chromophore reacts in an SN2 fashion with electrophilic substrates to generate photoactive intermediates that are then irradiated with visible light to promote a C–S bond excision (Fig. 2b). The nucleophilic radical is then trapped by electron-poor alkenes and the catalytic cycle is closed with γ-terpinene as a cheap source of hydrogen atoms and electrons. The methodology proved to be useful in the preparation of a marketed drug, in late-stage derivatizations, and enantioselective radical catalysis.
Finally, the group of Nicewicz has recently reported on organocatalytic reductive processes based on a photoexcited neutral mesityl acridine radical (Mes-Acr•) featuring an extraordinary excited-state oxidation potential (−3.36 V versus a saturated calomel electrode, stronger than alkaline metals). This species, characterized as a twisted intramolecular charge-transfer (TICT) state, was generated from an acridinium catalyst after two PET events and with the help of iPrNEt2 as a sacrificial reducing agent (Fig. 2c). Metal-free reductive dehalogenation of aryl halides and detosylation of amines were developed as the first applications of the methodology. Remarkably, the excited mesityl acridinium salts used in this reaction is also commonly used as a potent photooxidation catalysts.
Chemoinformatics and machine-learning techniques in organocatalysis
Finally, there is a predictable revolution that is probably going to change the field of computer-assisted catalyst design. Until now, computational theoretical techniques, from Hybrid Quantum Mechanics/Molecular Mechanics (QM/MM) approaches to unrestricted Density Functional Theory (DFT) methods, have been invaluable tools in catalysis to provide insights into the reaction mechanisms and, in limited occasions, helping to perform a fine tuning of catalysts based on stereochemical models, but failed to become a useful tool at the prediction level. Besides serendipitous findings, until now catalyst design has been driven mainly by human creativity, but in most cases the fine tuning to reach high activity/selectivity has been the result of a tedious and time-consuming trial and error practice, and in many cases a non-optimal result is achieved from the limited set of candidates considered in the screenings.
Today, however, artificial intelligence-based strategies, fueled by improved computing power, data availability and sophisticated machine-learning algorithms, are starting to be implemented as a useful tool in chemistry, breaking some of the previous limits in catalyst design17. In a very illustrative example, Denmark and co-workers have recently reported on the use of averaged steric occupancy (ASO) descriptors to accurately predict the enantioselectivities of chiral phosphoric acid catalyst in the addition of thiols to N-acylimines, according to the work-flow shown in Fig. 3 18.
Fig. 3: Steps for an application of chemoinformatics in organocatalyst design.
a An in silico library of catalyst candidates is generated. b Relevant chemical descriptors are calculated. c A universal training set (UTS) is selected. d Experimental selectivity data are collected. e Machine learning predicts high-selectivity reactions using moderate-to-low-selectivity reactions. The figure content is reproduced with permission from AAAS18.
The contributions highlighted above are just a selection of breaking discoveries that will surely be the basis for future developments. With creativity always driving innovation forward, the synergistic combination with emerging technologies in electrochemistry, photocatalysis and chemoinformatics are envisioned as a powerful driving force for the development of organocatalysis in the coming years.
Ahrendt, K. A., Borths, C. J. & MacMillan, D. W. C. New strategies for organic catalysis: the first highly enantioselective organocatalytic Diels-Alder reaction. J. Am. Chem. Soc. 122, 4243–4244 (2000).
List, B., Lerner, R. A. & Barbas, C. F. Proline-catalyzed direct asymmetric aldol reactions. J. Am. Chem. Soc. 122, 2395–2396 (2000).
Fang, X. & Wang, C.-J. Recent advances in asymmetric organocatalysis mediated by bifunctional amine–thioureas bearing multiple hydrogen-bonding donors. Chem. Commun. 51, 1185–1197 (2015).
Grondal, C., Jeanty, M. & Enders, D. Organocatalytic cascade reactions as a new tool in total synthesis. Nat. Chem. 2, 167–178 (2010).
Beeson, T. D., Mastracchio, A., Hong, J.-B., Ashton, K. & MacMillan, D. W. C. Enantioselective organocatalysis using somo activation. Science 316, 582–585 (2007).
Kondoh, A., Oishi, M., Tezuka, H. & Terada, M. Development of chiral organosuperbase catalysts consisting of two different organobase functionalities. Angew. Chem. Int. Ed. 59, 7472–7477 (2020).
Stephan, D. W. Frustrated Lewis pairs: from concept to catalysis. Acc. Chem. Res. 6, 306–316 (2015).
Waser, M. Asymmetric Organocatalysis in Natural Product Syntheses (Springer, Vienna, 2012).
MacMillan, D. W. C. The advent and development of organocatalysis. Nature 455, 304–308 (2008).
Beddoe, R. H. et al. Redox-neutral organocatalytic Mitsunobu reactions. Science 365, 910–914 (2019).
Chen, J. et al. Carbonyl catalysis enables a biomimetic asymmetric Mannich reaction. Science 360, 1438–1442 (2018).
Flores, A., Cots, E., Bergès, J. & Muñiz, K. Enantioselective Iodine(I/III) catalysis in organic synthesis. Adv. Synth. Catal. 361, 2–25 (2019).
Maity, A., Frey, B. L., Hoskinson, N. D. & Powers, D. C. Electrocatalytic C–N coupling via anodically generated hypervalent iodine intermediates. J. Am. Chem. Soc. 142, 4990–4995 (2020).
Nicewicz, D. A. & MacMillan, D. W. C. Merging photoredox catalysis with organocatalysis: the direct asymmetric alkylation of aldehydes. Science 322, 77–80 (2008).
Aukland, M. H., Šiaučiulis, M., West, A., Perry, G. J. P. & Procter, D. J. Metal-free photoredox-catalysed formal C–H/C–H coupling of arenes enabled by interrupted Pummerer activation. Nat. Catal. 3, 163–169 (2020).
Schweitzer-Chaput, B., Horwitz, M. A., de Pedro Beato, E. & Melchiorre, P. Photochemical generation of radicals from alkyl electrophiles using a nucleophilic organic catalyst. Nat. Chem. 11, 129–135 (2019).
Foscato, M. & Jensen, V. R. Automated in silico design of homogeneous catalysts. ACS Catal. 10, 2354–2377 (2020).
Zahrt, A. F. et al. Prediction of higher-selectivity catalysts by computer-driven workflow and machine learning. Science 363, eaau5631 (2019).
Instituto Investigaciones Químicas (CSIC-US) and Centro de Innovación en Química Avanzada (ORFEO-CINQA), C/ Américo Vespucio 49, 41092, Sevilla, Spain
José M. Lassaletta
J.M.L. wrote the text.
Correspondence to José M. Lassaletta.
The author declares no competing interests.
Publisher's note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.
Lassaletta, J.M. Spotting trends in organocatalysis for the next decade. Nat Commun 11, 3787 (2020). https://doi.org/10.1038/s41467-020-17600-y
DOI: https://doi.org/10.1038/s41467-020-17600-y
Nobel Prize in Chemistry 2021
Nature Communications 10th Anniversary Collection


text:
EXPERIENCE THE BARBICAN
The multi award-winning production of Tim Rice & Andrew Lloyd Webber's Jesus Christ Superstar is back.
Playing just 60 performances at the Barbican following two sell-out seasons at Regent's Park Open Air Theatre, this "gorgeous, thrilling, heavenly musical" (Guardian) is "an almighty revelation" (Daily Telegraph).
"Adrenaline-pumping"
"The most thrilling revival yet"
"Electrifying"
"Magnificent…vivid and compelling"
"This cracking revival brings Andrew Lloyd Webber and Tim Rice's musical to a new generation"
"Wit, lyricism and satirical bite abound in this dramatic revival"
"The resurrection of the rock opera is cause for celebration"
SAVE £3 PER TICKET DURING PREVIEW PERFORMANCES
Valid for performances from 4-8 July 2019
There is a £3 per booking
transaction fee online
Open 10am–8pm Monday – Saturday, and Sunday 11am-8pm
There is a £4 per booking transaction fee over the phone
Barbican Centre, Silk Street
London, EC2Y 8DS
Open Monday-Saturday 10am-9pm, Sunday and Bank Holidays 12noon-9pm
GROUPS OF
10+ SAVE 20%
Groups of 10 or more save 20% on £62.50, £45 and £30 tickets (£59.50, £42 and £27 during previews)
GROUPS@BARBICAN.ORG.UK
Open Monday – Friday 10am-5pm.
Only 60 performances at the Barbican
from 4 July – 24 August 2019.
Performance start
Monday –
Thursday and
Evening performances will finish at 9.40pm, matinees will finish at 4.10pm
Please note that all performances are at the Barbican.
No matinee performance on 4 July
Please note that latecomers will not be admitted until the interval. Also, should you need to leave the auditorium, re-admittance is not permitted during the performance.
Barbican Centre
Silk Street, London
EC2Y 8DS
Make the most of your visit to the Barbican this summer.
By underground
We are within walking distance from a number of London Underground stations, the closest being Barbican, St Paul's and Moorgate. To plan your journey and for up to date travel information, visit the TfL website.
By national rail
The nearest train stations are Liverpool Street and Farringdon.
Bus Route 153 runs directly past the Barbican along Chiswell Street. We are easily accessible by bus from around the city; plan your journey using the TfL Interactive Bus Map.
Cycle racks are available at the entrance to Car Park 5 and exit to Car Park 3 and helmets and equipment can be left in our free cloakrooms. Our nearest TfL Bicycle Hire docking station is Silk Street. Plan your journey using the TfL Cycle Journey Planner.
Cookies Policy | Privacy Policy
COOKIE CONSENT REQUEST
We use cookies to help make our website and advertising better.
For more information on cookies, how we use them and how to opt out please see our cookies page.
Otherwise, we'll assume you're OK to continue.


I met up with my friend Monica the other night for dinner. We often to go Dhalak to drink on their back patio, but hadn't eaten there in ages. After ordering their vegetarian platter (ignore all those beef tibs – they just combined our meals on one tray), I remembered why. While the food is perfectly satisfactory, they don't have a single spicy dish featured (and the spice sauce you can ask for on the side" doesn't add much kick) and they leave out my favorite dish – the green lentils with jalapeno. Also, at about $15, the platter costs more than others in the neighborhood. I say this with love and full support of my community businesses, but with so many Ethiopian restaurants in West Philadelphia, Dhalak either needs to step-up the flavors, or lower the price of their platters.


text:
rumors Nov. 27, 2013
HBO May Do a Napoleon Miniseries
By Delia Paunescu
Expanding on the tried-and-true historical miniseries that makes premium cable subscribers swoon, Variety reports that HBO is in talks to take on the story of Napoleon's life (not to be confused with a film on the same topic that's also in the works right now). Since this isn't just any old TV biopic, some of the best in the business are involved in the project. Steven Spielberg announced that he was producing the show earlier this year, and Baz Luhrmann is being eyed to direct a screenplay originally written by none other than Stanley Kubrick! Nothing less could possibly do for Monsieur Bonaparte, so let's hope everyone says yes immediately.
Steven Spielberg Developing Napoleon Biopic Written by Stanley Kubrick


ROTJ Biker Scout Laser Pistol Box shows rough corners and wear and tear. Please carefully examine all pictures and judge the overall condition. Gun doesnt fire battery compartment is clean but electronics dont work. The one upper right corner of box is split. Please ask any and all concerns. If you find the time please view my other items. The item "STAR WARS ROTJ VINTAGE 1983 BIKER SCOUT LASER PISTOL ORIGINAL KENNER" is in sale since Monday, October 8, 2018. This item is in the category "Toys & Hobbies\Action Figures\TV, Movie & Video Games". The seller is "bchick1022" and is located in Sicklerville, New Jersey. This item can be shipped to United States, Canada, United Kingdom, Denmark, Romania, Slovakia, Bulgaria, Czech republic, Finland, Hungary, Latvia, Lithuania, Malta, Estonia, Australia, Greece, Portugal, Cyprus, Slovenia, Japan, Sweden, South Korea, Indonesia, Taiwan, Thailand, Belgium, France, Hong Kong, Ireland, Netherlands, Poland, Spain, Italy, Germany, Austria, Israel, Mexico, New Zealand, Philippines, Singapore, Switzerland, Norway, Saudi arabia, Ukraine, United arab emirates, Qatar, Kuwait, Bahrain, Croatia, Malaysia, Chile, Colombia, Costa rica, Dominican republic, Panama, Trinidad and tobago, Guatemala, El salvador, Honduras, Jamaica, Antigua and barbuda, Aruba, Belize, Dominica, Grenada, Saint kitts and nevis, Saint lucia, Montserrat, Turks and caicos islands, Barbados, Bangladesh, Bermuda, Brunei darussalam, Bolivia, Egypt, French guiana, Guernsey, Gibraltar, Guadeloupe, Iceland, Jersey, Jordan, Cambodia, Cayman islands, Liechtenstein, Sri lanka, Luxembourg, Monaco, Macao, Martinique, Maldives, Nicaragua, Oman, Pakistan, Paraguay, Reunion.


text:
Q: Minimum distance for each value in array respect to other I have two numpy arrays of integers A and B. The values in array A and B correspond to time-points at which events A and B occurred. I would like to transform A to contain the time since the most recent event b occurred.
I know I need to subtract each element of A by its nearest smaller the element of B but am unsure of how to do so. Any help would be greatly appreciated.
>>> import numpy as np

>>> A = np.array([11, 12, 13, 17, 20, 22, 33, 34])
>>> B = np.array([5, 10, 15, 20, 25, 30])

Desired Result:
cond_a = relative_timestamp(to_transform=A, reference=B)
cond_a
>>> array([1, 2, 3, 2, 0, 2, 3, 4])

A: You can use np.searchsorted to find the indices where the elements of A should be inserted in B to maintain order. In other words, you are finding the closest elemet in B for each element in A:
idx = np.searchsorted(B, A, side='right')
result = A-B[idx-1] # substract one for proper index

According to the docs searchsorted uses binary search, so it will scale fine for large inputs.

A: Here's an approach consisting on computing the pairwise differences. Note that it has a O(n**2) complexity so it might for larger arrays @brenlla's answer will perform much better.
The idea here is to use np.subtract.outer and then find the minimum difference along axis 1 over a masked array, where only values in B smaller than a are considered:
dif = np.abs(np.subtract.outer(A,B))
np.ma.array(dif, mask = A[:,None] < B).min(1).data
# array([1, 2, 3, 2, 0, 2, 3, 4])

A: As I am not sure, if it is really faster to calculate all pairwise differences, instead of a python loop over each array entry (worst case O(Len(A)+len(B)), the solution with a loop:
A = np.array([11, 12, 13, 17, 20, 22, 33, 34])
B = np.array([5, 10, 15, 20, 25, 30])

def calculate_next_distance(to_transform, reference):
    max_reference = len(reference) - 1
    current_reference = 0
    transformed_values = np.zeros_like(to_transform)
    for i, value in enumerate(to_transform):
        while current_reference < max_reference and reference[current_reference+1] <= value:
            current_reference += 1
        transformed_values[i] = value - reference[current_reference]
    return transformed_values

calculate_next_distance(A,B)
# array([1, 2, 3, 2, 0, 2, 3, 4])


There's not many things in life that are by our side 24 hours a day, but if you're like most people, our phones come in 1st place! Our Personalized iPhone 6 cases are the perfect way to distinguish your phone from the crowd. These look great, are very trendy, and will last for years to come – or at least until that next phone upgrade!
Each case will fit your iPhone 6 perfectly. Please check our other listings for additional phone models and sizes.


text:
Q: retrieve friend list members using facebook api v2.3 https://developers.facebook.com/docs/graph-api/reference/friend-list/members/
I'm using this api to retrieve user's friend list member. It always return empty data.
Is this like friends permission which only allow retrieve friends who already authorised my app?
It's in test app so permission review is not the issue.
Thanks

A: Of course, friends who did not authorize your App will not show up at all. More information about getting access to friends: Get ALL User Friends Using Facebook Graph API - Android


Ruckman Darren Jolly set to be passed fit for blockbuster clash with Essendon.
Collingwood coaching director Rodney Eade said the club's number one ruckman could make a surprise return to the side in time for the ANZAC Day clash with Essendon.
Jolly has been a notable absentee from the Magpies side for the last two weeks, after sustaining a rib injury in the first quarter in the club's clash with Carlton.
However, Jolly had responded better to treatment than expected and has been participating in rucking drills in a bid to prove his fitness.
"He ran last week, so it was obviously a bit more of a physical test this morning to see whether he can stretch," Eade said.
Traditionally the ANZAC Day clash between Essendon and Collingwood is one of the biggest games of the season outside of the grand final.
Upwards of 100,000 pack into the MCG to witness the two arch-rivals lock horns but this year's event promises to be something special.
Essendon has been on the cusp of achieving regular success for the past three years, but now under strong leadership of James Hird, the club has begun the season with a perfect record.
All of this is in spite of the continuing performance enhancing drugs probe by the Australian Sport Anti-Doping Authority, which has targeted the Bombers as one of their main clubs of interest.
However, if the Dons are to keep up their undefeated streak they will have to do it without Michael Hurley (ankle) and defender Dustin Fletcher (groin).
The pair will be big losses for Essendon, with Hurley in sensational form last round before being forced off, while Fletcher continues to play with the physicality of a man 10 years younger than him.


text:
United Arab Emirates - Bosnia and Herzegovina
Untd A Emirates - Bosnia Herz Tax Treaty (2006) — Orbitax Tax Hub
ARTICLE 19 - Government Services
ARTICLE 24 - Hydrocarbons
ARTICLE 31 - Amendments and Termination
Mutual Agreement Procedure
(1) Where a person considers that the actions of one or both of the Contracting States result or will result for him in taxation not in accordance with the provisions of this Convention, he may, irrespective of the remedies provided by the domestic law of those States, present his case to the competent authority of the Contracting State of which he is a resident or, if his case comes under paragraph (1) of Article 23, to that of the Contracting State of which he is a national. The case must be presented within five years from the first-notification of the action resulting in taxation not in accordance with the provisions of the Agreement.
(2) The competent authority shall endeavour, if the objection appears to it to be justified and if it is not itself able to arrive at a satisfactory solution, to resolve the case by mutual agreement with the competent authority of the other Contracting State, with a view to the avoidance of taxation, which is not in accordance with the Agreement. Any agreement reached shall be implemented notwithstanding any time limits in the domestic law of the Contracting States.
(3) The competent authorities of the Contracting States shall endeavour to resolve by mutual agreement any difficulties or doubts arising as to the interpretation or application of the Agreement. They may also consult together for the elimination of double taxation in cases not provided for in the Agreement.
(4) The competent authorities of the Contracting States may communicate with each other directly for the purpose of reaching an agreement in the sense of the preceding paragraphs.
Country United Arab Emirates - Bosnia and Herzegovina
Panama Revises Schedule for Certain Taxpayers to Implement E-Invoicing
Panama published Executive Decree No. 3 of 20 January 2023 in Official Gazette No. 29706-B on 23 January 2023, which amends Executive Decree No. 2...
Irish Revenue Updates Guidance on Special Assignee Relief Programme to Reflect Extension to 2025 and Increased Minimum Income Limit
Irish Revenue has issued eBrief No. 019/23 concerning updates to the guidance on the Special Assignee Relief Programme (SARP) to reflect the exten...


The beer Menabrea Ambrata ($2.51) is produced by Menabrea and shows an alcoholic strength of 5%. Uvinum users evaluate this beer with 4 out of 5 points.
- Color: Cerveza Ambrata Menabrea has a lovely clear amber color, with hints of honey and a soft white foam head.
- Smell: Aroma of caramel and sweet malt.
- Taste: malty flavor, very lightly roasted and caramelized. Medium body. Light shades of hops in the finish.
If you want to buy Menabrea Ambrata, at Uvinum you will find the best prices for .	You can buy it at Uvinum, comfortable from your couch and with all the guarantees. We offer your over 59.000 products for sale which makes us the leading marketplace for wine, beer, and spirits in Europe thanks to more than 38.000 customers who shop at Uvinum.