common

Grab'N'Go Culture: Uncovering Common Threads in Foodservice Packaging

At Packaging Strategies, we stay on top of packaging innovations. However, it's also important to gain a broader perspective on specific industry segments.






common

Legacy EU Common Market Organisation Schemes: Department of Agriculture, Environment and Rural Affairs

Room 21, Parliament Buildings



  • Committee for Agriculture
  • Environment and Rural Affairs

common

Speaker Welcomes New Secretary-General of the Commonwealth Parliamentary Association to Parliament Buildings




common

Marni Jameson: Smile! Heirloom photographer elevates common keepsakes

The Home and Lifestyle author talks with keepsakes photographer Shana Novak about how she takes the poignant items in people's lives and elevates them.




common

[ C.1 (11/88) ] - Yearbook of common carrier telecommunication statistics

Yearbook of common carrier telecommunication statistics




common

Resolution 100 - (Geneva, 2022) - A common emergency number for Africa

Resolution 100 - (Geneva, 2022) - A common emergency number for Africa




common

DSTR-DFSCP-Commonly identified consumer protection themes for digital financial services

DSTR-DFSCP-Commonly identified consumer protection themes for digital financial services




common

TR.CUP - Concept of a common user profile format used to personalize audiovisual media

TR.CUP - Concept of a common user profile format used to personalize audiovisual media




common

[ Z.106 (10/19) ] - Specification and Description Language - Common interchange format for SDL-2010

Specification and Description Language - Common interchange format for SDL-2010




common

[ Z.106 (06/21) ] - Specification and Description Language - Common interchange format for SDL-2010

Specification and Description Language - Common interchange format for SDL-2010




common

[ G.7710/Y.1701 (08/19) ] - Common equipment management function requirements

Common equipment management function requirements




common

[ V.8bis (08/96) ] - Procedures for the identification and selection of common modes of operation between data circuit-terminating equipments (DCEs) and between data terminal equipments (DTEs) over the general switched telephone network and on leased poin

Procedures for the identification and selection of common modes of operation between data circuit-terminating equipments (DCEs) and between data terminal equipments (DTEs) over the general switched telephone network and on leased point-to-point telephone-type circuits




common

Apple Intelligence will help AI become as commonplace as word processing


When Apple’s version of AI, branded as Apple Intelligence, rolls out in October to folks with the company’s latest hardware, the response is likely to be a mix of delight and disappointment. The AI capabilities on their way to Apple’s walled-garden will bring helpful new features, such as textual summaries in email, Messages and Safari; image creation; and a more context-aware version of Siri. But as Apple Intelligence’s beta testing has already made clear, the power of these features falls well below what is on offer from major players like OpenAI, Google, and Meta. Apple AI won’t come close to…

This story continues at The Next Web

Or just read more coverage about: Apple




common

Common Sense Branding for Roofing Contractors

Branding is more than a logo or slogan.




common

Avoiding Common Roofing Contractor Pitfalls

If you take the right steps, these seven common roofing contractor pitfalls can be avoided and your business can thrive.




common

VIDEO: Common Safety Hazards to Avoid in Low-Slope Roofing

Safety consultant Tammy Clark reports from a jobsite to remind roofing contractors of hazards to avoid when on a low-slope or flat roof.




common

Mazón (PP) responde a la 'Commonwealth' pancatalana de Puig (PSOE) con una alianza con Murcia

Bajo la premisa de garantizar agua para Alicante y Murcia a través de la defensa del trasvase del Tajo, el presidente provincial sella un pacto con López Miras mientras lamenta que la elección del presidente de la Generalitat "sea Cataluña y el independentismo" Leer




common

Applying zero trust to OT requires ‘common sense approach’

Operational technology suffers from a technical debt that renders infrastructure vulnerable to cyberattacks as it becomes further enmeshed with IT systems.

The post Applying zero trust to OT requires ‘common sense approach’ first appeared on Federal News Network.




common

8 common pain points for retailers preparing for peak season

The team at fulfilmentcrowd – a global fulfilment provider, driven by technology, for high growth omnichannel brands - shares common pain points for retailers as peak season approaches, offering advice on how retailers can salvage a bad peak, including considerations for switching fulfilment provider during mid-season.




common

Allergies are Common Today, but Did They Also Impact Our Ancient Ancestors?

Allergies may not have existed before the Industrial Age, but records of these health issues are rare from ancient times.




common

Why Aggression Is a Common Symptom For Those With Dementia or Alzheimer's

Learn what causes aggression for those living with dementia and find gentle ways to comfort your loved one during challenging times.




common

Guilt Over Kids’ Screen Time Is Common − But it can Have a Silver Lining

As unpleasant as this guilt is, the good news is that those feelings, if you listen to them, can help encourage healthier choices for you and your kids.




common

Kai Althoff : and then leave me to the common swifts = und dann u¨berlaß mich den Mauerseglern /

Library - Art Library, Location - LIB, Call number - N6888.A56 A4 2016




common

Common Stocks and Uncommon Profits (paperback)

Common Stocks and Uncommon Profits (paperback)




common

New year, new laws coming to the commonwealth

(The Center Square) — The new year signals change, specifically new laws which will take effect in Virginia, especially in the health care sector.




common

Obama encourages those who want 'the common good' to join federal AI talent

Former President Barack Obama encouraged coders to join the Biden administration's artificial intelligence team.




common

Correct These 5 Common SEO Mistakes To Boost Your Traffic

Undoubtedly WordPress has been excellently set up to get the best of Search Engine Optimization. That’s the reason why most of us are always reluctant to get away from the cozy comfort of WordPress and get the site hosted with third party. Also, transition to a third party means increased responsibility starting from the need […]




common

Commonwealth Games 2022 – Something they forgot to mention

Two Sandwell community swimming pools to close to help fund Commonwealth Games Aquatics Centre, reports Steve Beauchampe.




common

Commonwealth Games venue takes shape

Minister for Sport inspects progress at Sandwell Aquatics Centre.




common

Commonwealth Games expands presence at Brindleyplace

Games organisers moving into new city centre premises.




common

Birmingham Festival 23 to mark Commonwealth Games anniversary

Made In Brum platform launched for community groups and creatives.




common

Theatre celebrates cricket’s arrival in the Commonwealth Games

Women & Theatre's A Thousand Threads comes to MAC.





common

Sneak Preview: Cloudsplitting - Tackling Common Cloud Live Broadcast Workflow Challenges

On Tuesday, November 12, streaming industry consultant Nadine Krefetz will moderate the panel "Cloudsplitting: Tackling Common Cloud Live Broadcast Workflow Challenges." Some elements of streaming workflows and architecture may always stay on-prem. However, the cloud affords streaming pros opportunities for scaling and cost-cutting that make the lure of cloud workflows too powerful to resist for most live streamers intent on managing large and unpredictable audiences, improving QoE, increasing ROI, and satisfying brands. The panel of experts from AWS, TV 2 Danmark, Alibaba Cloud, and Console Connect will discuss actionable insights on refining and streamlining your scalable cloud live-streaming workflows and jump and dodge the hurdles that threaten to break your stride.




common

Chris Hall: Conservative whip compares online Commons voting to 'swiping right' on Tinder

A senior Conservative MP is comparing a government proposal for online voting in the House of Commons to the dating app Tinder.



  • Radio/The House

common

Stripped of qualified immunity, Colorado police officers turn to common law to seek protection from lawsuits

Civil rights attorneys say the fallback to common law is designed to keep law enforcement officers immune from civil claims despite the 2020 reforms.




common

vindarel: Running my 4th Common Lisp script in production© - you can do it too

Last week I finished a new service written in Common Lisp. It now runs in production© every mornings, and it expands the set of services I offer to clients.

It’s the 4th service of this kind that I developed: - they are not big - but have to be done nonetheless, and the quicker the better (they each amount to 1k to 2k lines of Lisp code), - they are not part of a super advanced domain that requires Common Lisp superpowers - I am the one who benefits from CL during development, - I could have written them in Python - and conversely nothing prevented me from writing them in Common Lisp.

So here lies the goal of this post: illustrate that you don’t need to need a super difficult problem to use Common Lisp. This has been asked many times, directly to me or on social media :)

At the same time, I want to encourage you to write a little something about how you use Common Lisp in the real world. Sharing creates emulation. Do it! If you don’t have a blog you can simply write in a new GitHub repository or in a Gist and come share on /r/lisp. We don’t care. Thanks <3

We’ll briefly see what my scripts do, what libraries I use, how I deploy them, what I did along the way.

Needless to say that I dogfooded my CIEL (beta) meta-library and scripting tool for all those projects.

Table of Contents

Scripts n°4 and 2 - shaping and sending data - when you can write Lisp on the side

My latest script needs to read data from a DB, format what’s necessary according to specifications, and send the result by SFTP.

In this case I read a DB that I own, created by a software that I develop and host. So I could have developed this script in the software itself, right? I could have, but I would have been tied to the main project’s versioning scheme, quirks, and deployment. I rather had to write this script on the side. And since it can be done on the side, it can be done in Common Lisp.

I have to extract products and their data (price, VAT...), aggregate the numbers for each day, write this to a file, according to a specification.

To read the DB, I used cl-dbi. I didn’t format the SQL with SxQL this time like in my web apps (where I use the Mito light ORM), but I wrote SQL directly. I’m spoiled by the Django ORM (which has its idiosyncrasies and shortcomings), so I double checked the different kinds of JOINs and all went well.

I had to group rows by some properties, so it was a great time to use serapeum:assort. I left you an example here: https://dev.to/vindarel/common-lisps-group-by-is-serapeumassort-32ma

Dates have to be handled in different formats. I used local-time of course, and I still greatly appreciate its lispy formatter syntax:

(defun date-yymmddhhnnss (&optional date stream)
  (local-time:format-timestring stream
                                (or date (local-time:now))
                                :format
                                '((:year 4)
                                  (:month 2)
                                  (:day 2)
                                  (:hour 2)
                                  (:min 2)
                                  (:sec 2)
                                  )))

the 2 in (:month 2) is to ensure the month is written with 2 digits.

Once the file is written, I have to send it to a SFTP server, with the client’s codes.

I wrote a profile class to encapsulate the client’s data as well as some functions to read the credentials from either environment variables, the file system, or a lisp variable. I had a top-level profile object for ease of testing, but I made sure that my functions formatting or sending data required a profile parameter.

(defun send-stock (profile &key date) ...)
(defun write-stock (profile filename) ...)

Still nothing surprising, but it’s tempting to only use global parameters for a one-off script. Except the program grows and you pay the mess later.

SFTP

To send the result through SFTP, I had to make a choice. The SFTP command line doesn’t make it possible to give a password as argument (or via an environment variable, etc). So I use lftp (in Debian repositories) that allows to do that. In the end, we format a command like this:

lftp sftp://user:****@host  -e "CD I/; put local-file.name; bye"

You can format the command string and run it with uiop:run-program: no problem, but I took the opportunity to release another utility:

First, you create a profile object. This one-liner reads the credentials from a lispy file:

(defvar profile (make-profile-from-plist (uiop:read-file-form "CREDS.lisp-expr"))

then you define the commands you’ll want to run:

(defvar command (put :cd "I/" :local-filename "data.csv"))
;; #<PUT cd: "I/", filename: "data.csv" {1007153883}>

and finally you call the run method on a profile and a command. Tada.

Deploying

Build a binary the classic way (it’s all on the Cookbook), send it to your server, run it.

(during a testing phase I have deployed “as a script”, from sources, which is a bit quicker to pull changes and try again on the server)

Set up a CRON job.

No Python virtual env to activate in the CRON environment...

Add command line arguments the easy way or with the library of your choice (I like Clingon).

Script n°2 and simple FTP

My script #2 at the time was similar and simpler. I extract the same products but only take their quantities, and I assemble lines like

EXTRACTION STOCK DU 11/04/2008
....978202019116600010000001387
....978270730656200040000000991

For this service, we have to send the file to a simple FTP server.

We have a pure Lisp library for FTP (and not SFTP) which works very well, cl-ftp.

It’s a typical example of an old library that didn’t receive any update in years and so that looks abandoned, that has seldom documentation but whose usage is easy to infer, and that does its job as requested.

For example we do this to send a file:

(ftp:with-ftp-connection (conn :hostname hostname
                                   :username username
                                   :password password
                                   :passive-ftp-p t)
      (ftp:store-file conn local-filename filename))

I left you notes about cl-ftp and my SFTP wrapper here:

Scripts n°3 and n°1 - specialized web apps

A recent web app that I’m testing with a couple clients extends an existing stock management system.

This one also was done in order to avoid a Python monolith. I still needed additions in the Python main software, but this little app can be independent and grow on its own. The app maintains its state and communicates it with a REST API.

 

It gives a web interface to their clients (so my clients’ clients, but not all of them, only the institutional) so that they can:

  • search for products
  • add them in shopping carts
  • validate the cart, which sends the data to the main software and notifies the owner, who will work on them.

The peculiarities of this app are that:

  • there is no user login, we use unique URLs with UUIDs in the form: http://command.client.com/admin-E9DFOO82-R2D2-007/list?id=1
  • I need a bit of file persistence but I didn’t want the rigidity of a database so I am using the clache library. Here also, not a great activity, but it works©. I persist lists and hash-tables. Now that the needs grow and the original scope doesn’t cut it any more, I wonder how long I’ll survive without a DB. Only for its short SQL queries VS lisp code to filter data.

I deploy a self-contained binary: code + html templates in the same binary (+ the implementation, the web server, the debugger...), with Systemd.

I wrote more on how to ship a standalone binary with templates and static assets with Djula templates here:

I can connect to the running app with a Swank server to check and set parameters, which is super helpful and harmless.

It is possible to reload the whole app from within itself and I did it with no hiccups for a couple years, but it isn’t necessary the most reliable, easiest to set up and fastest method. You can do it, but nobody forces you to do this because you are running CL in production. You can use the industry’s boring and best practices too. Common Lisp doesn’t inforce a “big ball of mud” approach. Develop locally, use Git, use a CI, deploy a binary...

Every thing that I learned I documented it along the way in the Cookbook ;)

Another app that I’ll mention but about which I also wrote earlier is my first web app. This one is open-source. It still runs :)

 

In this project I had my friend and colleague contribute five lines of Lisp code to add a theme switcher in the backend that would help him do the frontend. He had never written a line of Lisp before. Of course, he did so by looking at my existing code to learn the existing functions at hand, and he could do it because the project was easy to install and run.

(defun get-template(template &optional (theme *theme*))
  "Loads template from the base templates directory or from the given theme templates directory if it exists."
  (if (and (str:non-blank-string-p theme)
           (probe-file (asdf:system-relative-pathname "abstock" (str:concat "src/templates/themes/" theme "/" template))))
      ;; then
      (str:concat "themes/" theme "/" template)
      ;; else :D
      template))

He had to annotate the if branches :] This passed the code review.

Lasting words

The 5th script/app is already on the way, and the next ones are awaiting that I open their .docx specification files. This one was a bit harder but the Lisp side was done sucessfully with the efficient collaboration of another freelance lisper (Kevin to not name him).

All those tasks (read a DB, transform data...) are very mundane.

They are everywhere. They don’t always need supercharged web framework or integrations.

You have plenty of opportunities to make yourself a favor, and use Common Lisp in the wild. Not counting the super-advanced domains where Lisp excels at ;)


Links

I have done some preliminary Common Lisp exploration prior to this course but had a lot of questions regarding practical use and development workflows. This course was amazing for this! I learned a lot of useful techniques for actually writing the code in Emacs, as well as conversational explanations of concepts that had previously confused me in text-heavy resources. Please keep up the good work and continue with this line of topics, it is well worth the price! [Preston, October of 2024]




common

Questions for Consideration on AI & the Commons

“Eight eyes. Engraving after C. Le Brun” by Charles Le Brun is licensed via CC0. The intersection of AI, copyright, creativity, and the commons has been a focal point of conversations within our community for the past couple of years. We’ve hosted intimate roundtables, organized workshops at conferences, and run public events, digging into the…

The post Questions for Consideration on AI & the Commons appeared first on Creative Commons.



  • About CC
  • Licenses & Tools
  • Policy
  • AI
  • AI & the Commons
  • AI and Creativity
  • AI in Public Interest

common

Creative Commons Launches TAROCH Coalition for Open Access to Cultural Heritage

Creative Commons (CC) is proud to launch the TAROCH Coalition (Towards a Recommendation on Open Cultural Heritage), a collaborative effort to achieve the adoption of a UNESCO standard-setting instrument to improve open access to cultural heritage. We are grateful to the Arcadia Fund for supporting this initiative. Below we share an overview of TAROCH and…

The post Creative Commons Launches TAROCH Coalition for Open Access to Cultural Heritage appeared first on Creative Commons.




common

5 Most Common Malware Techniques in 2024

Tactics, techniques, and procedures (TTPs) form the foundation of modern defense strategies. Unlike indicators of compromise (IOCs), TTPs are more stable, making them a reliable way to identify specific cyber threats. Here are some of the most commonly used techniques, according to ANY.RUN's Q3 2024 report on malware trends, complete with real-world examples. Disabling of Windows Event Logging




common

Faculty Commons Bible Study

All professors, postdocs and staff are invited to this interdenominational Christian Bible study and community. The meeting is available via Zoom also.





common

Comparative Proteomic Analysis of Eleven Common Cell Lines Reveals Ubiquitous but Varying Expression of Most Proteins

Tamar Geiger
Mar 1, 2012; 11:M111.014050-M111.014050
Special Issue: Prospects in Space and Time




common

Redefine the Commonwealth now to safeguard its future

Redefine the Commonwealth now to safeguard its future Expert comment NCapeling 6 October 2022

Although seen as one of the Queen’s greatest legacies, the Commonwealth must provide tangible benefits to its citizens in an era of geopolitical competition.

The Commonwealth’s breadth allows a wide diversity of countries of different sizes, geographies, cultures, and values to be members – it is both rich and poor, north and south, and ethnically diverse. This makes it more interesting than many other multilateral institutions such as the G7, NATO, and the European Union (EU).

But it suffers from an unclear purpose. Since its inception, successive UK governments have grappled with its role – whether it is a preferential trading bloc or merely a source of most of Britain’s post-war immigration.

This lack of purpose – and structure – has left the Commonwealth impotent in dealing with a host of bilateral difficulties between the UK, its overseas territories, and Commonwealth partners in recent years.

Brexit could induce Britain to re-prioritize the Commonwealth, but so far the UK has only signed two new trade deals with Commonwealth members – Australia and New Zealand – while development aid, one of the most tangible ways the UK worked with many Commonwealth countries, has been cut and the UK’s defence focus has pivoted towards the Indo-Pacific and Europe’s Eastern front.

The UK and its allies may find that diplomatic efforts – such as condemning China or Russia for human rights abuses – are more successful if they have listened to and acted on fellow Commonwealth countries’ concerns

The UK also suffered embarrassing and overwhelming defeats in both the UN General Assembly (UNGA) and the International Court of Justice (ICJ) on the legality of its continued occupation of the Chagos Islands and has avoided directly challenging India’s tacit support for Russia’s invasion of Ukraine in the hope of securing a trade deal.

At the recent Commonwealth Heads of Government Meeting (CHOGM), Boris Johnson reportedly attempted to depose Baroness Scotland, the Commonwealth’s Secretary General, but suffered a humiliating defeat in a vote of Commonwealth members.

These challenges are likely to continue, especially in the wake of the death of HM The Queen which could be seen by republican movements as an opportune time to rally support. Australia and New Zealand’s leaders, both republicans, downplayed the idea of a poll on the monarchy immediately after the Queen’s death, but it would be a mistake to assume this has gone quiet forever. Antigua and Barbuda’s prime minister has already said there will be a referendum on becoming a republic within three years.

Defining a new vision for the future

A concrete vision for the Commonwealth is long overdue and there is no better time to cast one than now. HM The Queen was more than just a figurehead for the Commonwealth and it remains unknown exactly what role King Charles III will see for himself.

But, unlike his mother who was a young, modern Queen heralding a post-imperial future, Charles takes the throne at a later age and at a time when important questions need to be addressed in an increasingly fractured world.

Most importantly the UK should avoid the temptation to define the Commonwealth in terms of shared principles and values. India, Pakistan, and Bangladesh all abstained on the United Nations (UN) motion condemning Russia’s invasion of Ukraine, and Commonwealth members are likely to be similarly divided over China’s territorial claims, the US-China conflict, the net-zero agenda, and nuclear non-proliferation.

The Commonwealth’s breadth – its greatest strength – means consensus is often impossible, and so should not be the goal. Instead the Commonwealth should focus on tangible areas of cooperation where there is mutual interest such as trade, aid, and migration.

Brexit could induce Britain to re-prioritize the Commonwealth, but so far the UK has only signed two new trade deals with Commonwealth members – Australia and New Zealand

The UK and its allies may find that diplomatic efforts – such as condemning China or Russia for human rights abuses – are more successful if they have listened to and acted on fellow Commonwealth countries’ concerns, from post-COVID vaccine provision to climate financing. Boosting the aid budget and opening borders may prove more important in engaging developing country partners than traditional diplomatic avenues.

Liz Truss’s British International Investment project could be a valuable vehicle for financing, especially if it leverages private sector funding, but many Commonwealth countries are feeling the more immediate impact of the UK’s aid cuts. In these circumstances many have already turned to Chinese infrastructure financing.

This is where the Commonwealth could be valuable. In the Pacific, it links certain island nations to the UK, Australia, and New Zealand at a time of renewed geopolitical competition with China in the Pacific. The fact the Commonwealth is not explicitly about promoting a particular ideology or countering China is helpful.

Commonwealth should be less UK-centric

There is also no reason why all the Commonwealth operations need to be based in London, which is not only expensive but also reinforces an approach to governance that assumes everything must be decided by civil servants in London. As the world’s largest democracy, India is an obvious alternative candidate although its reluctance to condemn Russia’s invasion and its domestic political tensions may count against it.

It is also important the Commonwealth’s wealthier members – the UK, Canada, and Australia – provide financing for countries such as India to take on extra responsibilities. The Commonwealth Games is a good place to start – despite having 72 competing nations and territories, the games have only been held three times outside the UK, Canada, Australia, and New Zealand.

The Commonwealth also needs to be forward-looking and one of its most exciting assets is its demographic youthfulness. Europe, China, and the US have ageing populations whereas Nigeria, India, and Bangladesh have some of the world’s largest young populations.




common

Brexit: In Search of A Solution - The Common Market 2.0 Option




common

France, the UK and Europe: New Partnerships and Common Challenges




common

Shared requirements for key residues in the antibiotic resistance enzymes ErmC and ErmE suggest a common mode of RNA recognition [Enzymology]

Erythromycin-resistance methyltransferases are SAM dependent Rossmann fold methyltransferases that convert A2058 of 23S rRNA to m6 2A2058. This modification sterically blocks binding of several classes of antibiotics to 23S rRNA, resulting in a multidrug-resistant phenotype in bacteria expressing the enzyme. ErmC is an erythromycin resistance methyltransferase found in many Gram-positive pathogens, whereas ErmE is found in the soil bacterium that biosynthesizes erythromycin. Whether ErmC and ErmE, which possess only 24% sequence identity, use similar structural elements for rRNA substrate recognition and positioning is not known. To investigate this question, we used structural data from related proteins to guide site-saturation mutagenesis of key residues and characterized selected variants by antibiotic susceptibility testing, single turnover kinetics, and RNA affinity–binding assays. We demonstrate that residues in α4, α5, and the α5-α6 linker are essential for methyltransferase function, including an aromatic residue on α4 that likely forms stacking interactions with the substrate adenosine and basic residues in α5 and the α5-α6 linker that likely mediate conformational rearrangements in the protein and cognate rRNA upon interaction. The functional studies led us to a new structural model for the ErmC or ErmE-rRNA complex.




common

The EU’s Un-Common Agricultural Policy

The EU’s Un-Common Agricultural Policy 21 October 2019 — 8:30AM TO 10:00AM Anonymous (not verified) 27 September 2019 Chatham House | 10 St James's Square | London | SW1Y 4LE

Despite its name, the EU’s Common Agricultural Policy (CAP) provides support to the agricultural sector that varies widely between the 27 member states. The OECD calculates the extent of this support at the EU level but members have blocked the organization calculating support levels for individual EU members. Overall, the EU’s producer support is equivalent to 20 per cent of farm income which is well-above the levels seen in the US at 12.2 per cent and China at 14.3 per cent.
This roundtable will discuss the first estimates of support levels by EU countries produced by Ian Mitchell from the Center for Global Development. It will look at both direct subsidies under the CAP and those that inflate market prices. The discussion will consider the implications for EU finance, for the potential role of EU subsidy reform and for the UK’s options after Brexit.
Attendance at this event is by invitation only.




common

Man heard using racial slur resigns from a Penn State commonwealth campus’ board




common

Overdose crisis: more common sense and less ideology