product

FSSAI steps up scrutiny on quick commerce companies over product shelf life

India's food safety regulator directed e-commerce and quick commerce companies to follow shelf life guidelines for packaged food deliveries. The regulator emphasized a minimum remaining shelf life of 30% or 45 days upon delivery. This action follows complaints about companies not disclosing expiry dates. The regulator stressed the importance of clear expiry dates and adherence to labeling regulations.




product

Government mulls 5% cut in electronics imports to boost domestic production from FY25: sources

Although stakeholder discussions are still going on, the 5% cut of the total import quota will be implemented from April 1 of the upcoming fiscal. This cut is based on the data provided by the Directorate General of Commercial Intelligence and Statistics.




product

FirstCry: Meet the man behind the baby products business that grew into a giant

Founded by Supam Maheshwari and his colleague from a previous business, Amitava Saha, FirstCry has been the darling of investors which include SoftBank, Tata Sons Chairman Emeritus Ratan Tata, Premji Invest, Mahindra & Mahindra and TPG Growth.




product

Lead Product Designer (canada)

Perch saves Canadians money, enables transparency and provides more people with the ability to become homeowners. Our novel approach to data science allows us to produce timely and actionable insights that empower individuals to make better financial decisions that ultimately result in the accumulation of personal wealth. The Role Perch is seeking our Product Design Lead. In addition to being the strongest product designer on the team, the successful candidate will also lead and grow the design team all while maturing, documenting and evangelizing design best practices across the business. Your efforts will enable effective scaling in our approach to design and contribute to conquering our business objectives. Must haves: 3+ years of experience in a Senior Product Designer Role in which you directly interfaced with stakeholders and engineering teams. Hands-on experience working with product managers and other designers to develop the requirements behind, and the rationale for, new products and features. Demonstrable strategic insight and experience creating and implementing internal frameworks and strategy that lead to a cohesive, scalable and maintainable design practices. Experience leading a multi-disciplinary design team in which you fostered and leveled-up your direct reports. Expert understanding and insight into front end frameworks / reusable design, etc. (e.g. Bootstrap, Material or the like). You will be expected to demonstrate systems you've previously leveraged to develop scalable web design systems. Ability to communicate and lead best practices for prototyping and tools used to explore and convey design solutions. Advanced user in a prominent design tool (preferably Figma) Be an independent thinker that will challenge your colleague's opinions and is okay with being challenged themselves. Strong written and verbal communication skills and the ability to speak/read/write fluently in English. Comfortable taking ownership in situations of ambiguity, making judgment calls to the best of your ability to keep a project moving forward. Experience in rapid translation of requirements into low/mid fidelity wireframes and user flows to validate assumptions and interactions. Ability to multitask projects (like capital gains calculator) and prioritize effectively. Nice to Haves Experience in a start-up environment Experience in mortgages or the financial services industry What you'll be doing Bring creativity to the conversation as we ideate and define product requirements, solutions to our user's challenges and inevitably define new products and add features to improve existing ones. Expand on and mature an extensible, developer friendly design system that leads to improved cohesiveness and velocity across the product design discipline at Perch. Collaborate with our marketing team and brand designers on design experiments to continuously improve conversion and user satisfaction. Identify and lead user research initiatives that help Perch further extend its lead as the best home ownership management platform in the market. Enforce and maintain consistent brand identity across the company, our products and our overall web presence. Lead and foster a team of designers and external resources such as agencies and contractors. Who you are As a product designer, you are able to visualize the happy path and potential pain points for a user by putting yourself in their shoes. The ability to ask the right questions upfront and probe the team on potential designs helps you accomplish more and improve the end result for everyone. You don't only act on gut instinct and realize when further research is required, being comfortable conducting customer interviews, interpreting analytics, proposing A/B tests, etc. As a leader, you will define and enforce an effective framework that will enable rapid development and cohesion of our product while managing your design resources effectively. Your creativity will inspire others and bring new ideas to life. Your involvement will be across the entire platform and you will exert a high degree of influence over the full platform's design. As a team member, you operate at a fast pace and you are comfortable juggling multiple projects simultaneously without compromising on quality. You will constructively challenge opinions when you see an opportunity to do better and welcome being challenged.




product

¿Cómo resolver la tensión entre productividad y bienestar laboral?

Panelistas analizaron recientes fenómenos como el desgaste laboral, la gran renuncia y la paranoia de la productividad, así como las soluciones en reducción de jornada laboral y semanas de trabajo de solo cuatro días.




product

370: ‘Fine Hypertext Products’, With Jason Kottke

Jason Kottke returns to the show to celebrate the 25th anniversary of Kottke.org.




product

Salud sexual y reproductiva de los hombres




product

Cánceres ginecológicos: afecta los órganos reproductores de la mujer




product

Embajadora de Suecia en Colombia: El marcapasos, leche en polvo y el GPS son algunos de productos de origen sueco




product

“Hecho en Bogotá”: una feria que acoge a pequeños productores y transita toda la ciudad

El secretario de Desarrollo Económico de Bogotá, Alfredo Batemán, habló en Caracol Radio sobre los próximos sitios en los que este evento comercial se realizará, en el marco de la temporada navideña.




product

Experto explica por qué la OMS ha declarado al talco como producto “probablemente cancerígeno”

El Dr. Raúl Murillo, director del Centro Javeriano de Oncología, del hospital universitario San Ignacio, detalló la razón por la cual la OMS ha alertado riesgos por cuenta de este producto utilizado en cosméticos




product

Estrés laboral: la causa de la baja productividad en Colombia

Colombia enfrenta un dilema: largas jornadas de trabajo y baja productividad. Con más del 80% de los trabajadores sintiéndose estresados, el estrés laboral se perfila como un factor crucial en esta problemática. ¿Qué está sucediendo?




product

Robert Taylor, el músico y productor sanandresano




product

'Canhoto', la marca que desarrolla productos para zurdos




product

La internacionalización de Mario Hernández: la realeza británica usa sus productos




product

Falleció la productora de cine y televisión Ana Piñeres




product

“En el día cívico los productores de alimentos siguen trabajando”: Jorge Bedoya En respuesta al anuncio del presidente Petro sobr

“En el día cívico los productores de alimentos siguen trabajando”: Jorge Bedoya En respuesta al anuncio del presidente Petro sobr




product

El precio de la leche podría seguir aumentando tras crisis de productores: Analac

En 6AM Hoy por Hoy, Felipe Pinilla, el presidente de Analac advierte que la crisis que enfrentan los productores de leche podría llevar a un aumento en los precios de los lácteos, afectando tanto a consumidores como a la industria.




product

“Masacre en López de Micay es producto de enfrentamientos en la zona”: Dilian F. Toro

En 6AM Hoy por Hoy de Caracol Radio estuvo Dillian Francisca Toro, gobernadora del Valle del Cauca, para hablar sobre la información tienen de los perpetradores de la masacre de 12 personas en López de Micay.




product

Artificial Intelligence, Scientific Discovery, and Product Innovation

Aidan Toner-Rodgers† MIT November 6, 2024 This paper studies the impact of artificial intelligence on innovation, exploiting the randomized introduction of a new materials discovery technology to 1,018 scientists in the R&D lab of a large U.S. firm. AI-assisted researchers discover 44% more materials, resulting in a 39% increase in patent filings and a 17% rise in downstream product in- novation. These compounds possess more novel chemical structures and lead to more radical inventions. However, the technology has strikingly disparate effects across the productivity distribution: while the bottom third of scientists see little benefit, the output of top researchers nearly doubles. Investigating the mechanisms behind these results, I show that AI automates 57% of “idea-generation” tasks, reallocating researchers to the new task of evaluating model-produced candidate materials. Top scientists leverage their domain knowledge to prioritize promising AI suggestions, while others waste significant resources testing false positives. Together, these findings demonstrate the potential of AI-augmented research and highlight the complemen- tarity between algorithms and expertise in the innovative process. Survey evidence reveals that these gains come at a cost, however, as 82% of scientists report reduced satisfaction with their work due to decreased creativity and skill underutilization.




product

Methodology is bullshit: principles for product velocity | SSOReady




product

Oprah Winfrey Production Company Denies Being Paid by Harris Campaign

Oprah Winfrey's production banner, Harpo Productions, denies that the billionaire television host was "paid a personal fee" by Vice President Kamala Harris's campaign.

The post Oprah Winfrey Production Company Denies Being Paid by Harris Campaign appeared first on Breitbart.




product

New Product Reviews

New reviews have been added to our Reviews section. These are: AVG Anti-Virus + Firewall, AVG Anti-Malware and Kaspersky Anti-Virus. These reviews are not in depth reviews like the reviews done on the Internet Security products, they only give the user a basic overview of the differences between these products and the more comprehensive versions that's available.






product

Google Security Questions Black Product Manager On Campus



They questioned whether or not he actually worked there.




product

Scaling Propellant Production on Mars is Hard

Putting humans on Mars has been one of NASA’s driving missions for years, but they are still in the early stages of deciding what exactly that mission architecture will look like. One major factor is where to get the propellant to send the astronauts back to Earth. Advocates of space exploration often suggest harvesting the …

The post Scaling Propellant Production on Mars is Hard appeared first on Universe Today.




product

iPhone SE 4 Camera Modules to Enter Mass Production Next Month

Apple's camera module supplier for the upcoming iPhone SE 4 is set to begin mass production of the components in December, according to a new report coming out of Korea.


Economic newspaper Ajunews reports that LG Innotek will supply the front camera module for the budget-friendly fourth-generation device. Final tests are now said to be underway, with mass production of the module following next month.

The outlet reports that LG Innotek usually supplies camera modules around three months before the launch of new smartphones, which tallies with rumors of an iPhone SE 4 launch in March or April 2025. Apple analyst Ming-Chi Kuo estimates that Apple suppliers will produce around 8.6 million iPhone SE 4 units through the first quarter of next year.

The sub-$500 device is expected to feature a design similar to the base iPhone 14. Rumored specifications include a 6.1-inch OLED display, Face ID, a newer A-series chip, a USB-C port, a single 48-megapixel rear camera, 8GB of RAM to support Apple Intelligence, and Apple's first in-house 5G modem. Apple released the existing iPhone SE in March 2022.

Related Roundup: iPhone SE
Buyer's Guide: iPhone SE (Don't Buy)
Related Forum: iPhone

This article, "iPhone SE 4 Camera Modules to Enter Mass Production Next Month" first appeared on MacRumors.com

Discuss this article in our forums




product

Apple Might Make Smart Home Products Like Cameras

Apple has considered building its own line of smart home accessories, reports Bloomberg's Mark Gurman. Apple could manufacture smart home cameras and other devices that would connect to its HomeKit smart home platform and that would tie in with a planned smart home "command center" that could come out as soon as next year.


As one example, Gurman suggests Apple could create an indoor security camera that could also be used as a baby monitor, which is in line with a report we heard from Apple analyst Ming-Chi Kuo yesterday.

Kuo claimed that Apple is designing a smart home camera that will be manufactured starting in 2026, with Apple planning to sell "tens of millions" of the devices over the long term. Kuo says that the cameras that Apple is working on will have wireless connectivity and deep integration with Apple Intelligence and Siri.

Gurman does not seem as sure that Apple will follow through on plans to create its own smart home products. He says that it's something Apple is "exploring" that could be prioritized should its upcoming smart home hub device turn out to be a success.

Apple would likely emphasize privacy with its smart home cameras, providing an alternative to cameras from companies like Amazon's Ring and Google's Nest. Ring has been derided for its privacy policies over the years, primarily because it had a "Request for Assistance" tool that allowed law enforcement officials to request video footage from Ring customers. Ring has provided police officers with Ring camera footage without notifying users, and reserves the right to do so in emergency situations. Google's Nest brand also says that it will provide police with smart home camera footage in emergency situations without a warrant.

Apple is known for having strong privacy protections, and it is possible that customers would trust a smart home camera from Apple more than a smart home camera from a company like Ring. Apple already designed a ‌HomeKit‌ protocol for cameras called HomeKit Secure Video, which is end-to-end encrypted.

Prior to coming out with any smart home accessories, Apple plans to release an iPad-like smart home display that will serve as a home hub. The smart home device, which is set to come out as soon as March 2025, will run apps and will control ‌HomeKit‌ and Matter-based accessories.


This article, "Apple Might Make Smart Home Products Like Cameras" first appeared on MacRumors.com

Discuss this article in our forums




product

Direct Edge: A Transformer Next Leader Product

A Next Leader competitor is in an extremely fortunate position. A Next Leader is a competitor or product that offers much better than industry standard performance for a low price to a specific subset of industry customers. While offering better benefits to some customers, it may reduce benefits for others. But all Next Leaders offer low prices. The Next Leader can do this because it has a very low cost structure. (See “Video #22: Definition of Next Leaders” on StrategyStreet.com.) Next Leaders do not appear in many industries. When they do appear, they can change an industry, whether the industry is in manufacturing, retail or service. For example, Toys R Us invented the Toy Retailing Category Killer, a Next Leader product. Home Depot has done much the same in hardware retailing. Other Next Leaders include the early Apple personal computer, Intuit personal financial management software, Jiffy Lube in auto services and Domino’s Pizza.

We have studied many Next Leader competitors. Our study has suggested there are two kinds of Next Leaders products: Reformers and Transformers. A Reformer product is a type of Next Leader that reduces the benefits for the user while increasing benefits for the buyer, compared to the industry’s Standard Leader product. Jiffy Lube and Domino’s Pizza would both be Reformer Next Leader competitors. The second type of Next Leader competitor, Transformer products and companies, increase the benefits for the user of the product but offers, at least initially, fewer buyer benefits than the Standard Leader product. Toys R Us and Home Depot are two examples of Transformer Next Leader competitors.

Direct Edge is an example of a Transformer competitor. It offers its customers very fast securities trading on virtually any platform, from computers to smart phones. It is a young electronic stock exchange and it is having a big impact on securities trading. Its first noticeable impact is in market share. As recently as five years ago, the New York Stock Exchange accounted for 70% or more of the trading in the stocks listed on its exchange. Today, the stock exchange handles 36% of those trades. (See “Audio Tip #85: Evaluate the Company's Success in Penetrating each Price Point in the Market” on StrategyStreet.com.) Twelve other public exchanges, several electronic trading platforms and many “dark pools” command the rest of the market share in NYSE listed stocks.

Direct Edge came into existence during 2010. Several brokerage firms and other financial players formed Direct Edge to offer a counter veiling power to the New York Stock Exchange and Nasdaq. Direct Edge now owns 10% of stock trading in the United States.

Direct Edge is not only big and fast-growing, but inexpensive as well. It has ready access to the share trading of its brokerage house and hedge fund owners. It operates many banks of state-of-the-art computers in warehouse-type facilities in New Jersey rather than in more-expensive New York. And, despite its size, it has fewer than one hundred employees.

The evolution of these non-traditional exchanges has resulted in declining trading costs and much faster trading times for all customers. Next Leaders do that.




product

Cost Reduction by Redesigning the Product

Over the last several years, we have studied many examples of cost reduction initiatives to improve productivity and create economies of scale. In simplest terms, there are four actions that improve productivity and economies of scale. First, reduce the rate of cost you pay for an input. Second, reduce the inputs that do not produce output. Third, reduce unique activities or components in products and processes by redesigning the products and processes. Fourth, spread fixed cost activities over new product output. The cellular telephone carriers are introducing measures to reduce their costs by redesigning the product.

The wireless carriers use cellular towers to broadcast their signals. The cellular product design offers signals traveling long distances, primarily for voice and for relatively low data speeds. A cellular tower is expensive but capable of sending a signal for several miles.

This cellular technology worked well until the evolution of the smart phone. The growth of the smart phone has put very high demands on the cellular tower infrastructure because of the heavy data usage it brings to the market. Since 2010, data has taken over the majority of network traffic from voice communications. Now the carriers and, in particular, AT&T with its Apple iPhones, is having difficulty keeping up with the growth in demand.

AT&T today and, likely a few others in the future, has found a potential innovative solution, adding Wi Fi access points. These Wi Fi access points are ideal for heavy data traffic sent at high speeds over relatively short distances. Wi Fi access points transmit signals over a few hundred feet. The Wi Fi access points are smaller, easier and cheaper to install than are cellular towers. This low-cost approach appears to make sense in areas with high density of users. AT&T has placed them in New York’s Time Square and Rockefeller Center, in downtown Charlotte, North Carolina, in neighborhoods surrounding Chicago’s Wrigley Field and in San Francisco’s Embarcadero Center.

But there are some drawbacks to Wi Fi access points. Sometimes, a user has to take several steps to connect to a Wi Fi access point. Signals from the Wi Fi access points may interfere with one another, if signals come from multiple networks. Some smart phones do not have Wi Fi capability. These disadvantages have, so far, held back Verizon Wireless’s adoption of this apparently low-cost approach to providing service.

AT&T is leading this cost-saving innovation experiment. Their network strains force it to be creative and experimental. AT&T saves costs by redesigning the product itself using a less expensive technology with some shortcomings. If the AT&T experiment proves both cost effective and acceptable to cellular customers, every other wireless carrier will be forced to adopt it. And since a Wi Fi access point is largely a fixed cost, the wireless carriers with the highest density of membership within the Wi Fi area will have the lowest cost per unit. In most areas of the country that is likely to be either Verizon or AT&T. They will end up getting a unit cost advantage over their smaller competitors…if this works.




product

The Kindle with Special Offers…not your typical low-end product

Amazon has introduced a low-end Kindle product, the Kindle with special offers. This Kindle sells for $114 compared to the standard $139 Kindle with Wi-Fi. This is not a typical low-end product. Low-end products offer fewer benefits than industry-leading products (we call these Standard Leader products) for either the buyer or the user of the product in return for a lower price. We call these low-end products Price Leaders. There are two kinds of Price Leaders. The first, called Strippers, strip out benefits for both the user and the buyer of the product in order to achieve a very low price. The second, Predators, offers the user equivalent benefits to the industry’s main product but fewer benefits for the buyer. On average, Price Leaders cost about 33% less than Standard Leader products.




You will note that the Kindle with special offers does not fit easily into either of these two Price Leader categories. It reduces the user benefits by delaying the use of the product until the customer has viewed advertisements. There is no change to the benefits offered the buyer of the product. The Kindle with special offers deviates from the norms of Price Leader products with its level of discount. The Kindle with special offers sells for about 18% less than the standard Kindle product.



The Kindle with special offers varies from the Price Leader pricing norm in another interesting and important dimension. Some of these “special offers” are really good deals for the average Amazon customer. In one particularly interesting offer, Amazon will sell an Amazon Gift Card worth $20 for just $10. So, an avid fan of the Amazon web site receives additional user benefits with this new low-end product. In many cases, these special offers may more than offset the disadvantage to the user of a delay in using the product while the user views an ad.



This new Kindle with special offers is a very creative product innovation. Congratulations to Amazon.




product

Benefits of Intense Competition: Lower Prices and Better Products

No segment of our economy has been under more intense pressure than the manufacturing sector.  Lower labor costs in many parts of the international economy have forced manufactured product prices down and shifted manufacturing jobs out of the United States.  Competition has indeed been intense.

Over the years, we have done in depth studies of more than fifty industries who have faced intense competitive markets.  We found both what you might expect and, also, what you wouldn’t expect.  You would expect that costs in a difficult industry would fall as companies work to make a profit despite the falling prices that accompany intense competition.  What you might not expect is that product quality and supporting service levels increase at the same time as costs and prices fall.  Customers simply will not buy a poor product even if its pricing declines. 

The broad measures of the manufacturing sector illustrate these same conclusions.  Manufacturing in the U.S. is finally growing again.  In 2010, manufacturing jobs increased for the first time since 1997.  Today manufacturing is growing at three times the rate of the domestic economy.  Consider, as well, the following facts as noted by Jerry Jasinowski, a former President of the National Association of Manufacturers:

  • American exports of goods rose 21% in 2010.  Conclusion: the quality of our goods is rising.

  • Manufacturing output in the U.S. today is twice that of the rate of the 1970s, in real terms.  Conclusion: we are more cost competitive today than we were in the 1970s.


  • Between 1987 and 2008, manufacturing productivity grew by more than 100%, while the rest of the business sector’s productivity increased by less than 60%.  Conclusion: we get far more out of our workforce today than we did in 1987 and than many businesses do today.

  • Between 1995 and 2008, manufacturing prices decreased by 3%, while the overall price level in the economy increased by 33%.  Conclusion:  while product quality has improved, and costs have fallen, prices have also declined.

The overall picture the manufacturing sector portrays, over the last twenty-five years, is that hostile market conditions produce better products and lower prices for customers, both at the same time.




product

Hobbit Production Line

Here is Beorn in his full fury. He has been given a Matt varnish that really helped. This proved even more effective once his mouth, eyes and nose was given a coat of gloss varnish. This brought him to life and gave him a sparkle in his eye.

I ended up putting more and more greenstuff on him until he was completely covered. It's good to have him covered in thick, shaggy fur as he looks more wild and rugged.


The Eagles are coming! Eagles and White wolves get their various layers of flock.
A lovely new Reaper miniatures Dwarf joins the latest group of Dwarves. Reaper make great 'hero' figures to adorn any warband. They can be quite large sculpts so it can be a risky business ordering them, this one is perfect though.
Beorn's base has to be 24cm wide for the game I'm playing, so two side bases were made. These bring the base up to the right measurement and allow for more bear carnage.
Beorn with his slobbering maw but cute adorable shiny eyes.
More goblin wreckage. Wargs too have not escaped the Bears fury and lie amongst the fallen. A few goblins still cling to life.
It was fun to sculpt great claw wounds in the orcs clothes and equipment. Everything has been torn and crushed to pieces.
Beorn's base with some Bodyguard of Bolg behind him. I'm not sure I'll have time to finish this big orcs before the weekend.

Bard of Lake town with his new fixed banner. This banner was a bit too tall for the storage box and the spearpoint snapped off, twice!. So using my flattened brush bristle technique, he's got a new much tougher one. The plastic used for brush bristles make them fantastic for super glue!

As Bard needs to be free to roam around, another replacement base was needed. Here is Bard with a fellow command stand. Bard is another Reaper Miniatures figure and is slightly bigger than most. This is fine as he is a hero and it suits his manly character.

More carnage, this poor Warg has been disemboweled. This is pretty grim but I did have fun sculpting it. Facing a giant werebear was never going to end well. Again, a coat of gloss helps bring it to life 
Another shot of the basing production line.
Bard of Esgaroth.

 The blue theme really helped to tie these militia type troops together. I tested the new banner tip and it comes below the storage box height, hopefully it won't get crushed again.



  • lord Of The Rings
  • lord Of The Rings.

product

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]





product

Posting Fake Reviews For Companies on Services or Products

Driving more reviews to your profile for a local listing has always been a great way and still is a great way to increase your local listing visibility. The problem with this is when people started trying to game the system by posting fake reviews. Some companies were posting so many reviews that Google had […]




product

Transforming Overwhelm into a Creative, Productive Energy

By Leo Babauta I talk to dozens of people every month — Zen Habits readers, coaching clients and Fearless Living Academy members — who struggle with a feeling of overwhelm from all of the things on their plates. Overwhelm from tasks, messages, and more is completely normal. It’s based on a fear that we can’t […]

The post Transforming Overwhelm into a Creative, Productive Energy appeared first on zen habits.



  • Mindfulness & Mastery
  • Uncertainty & Discomfort

product

Expanding Birth Control Access as the New Front in Reproductive Freedom

Photo by Reproductive Health Supplies Coalition The Biden-Harris administration’s proposed rule to expand access to affordable contraception under the Affordable Care Act (ACA) is a timely and essential move, especially in the current political landscape where reproductive rights have been systematically eroded. This proposal would provide over-the-counter birth control without any cost sharing for women with […]

The post Expanding Birth Control Access as the New Front in Reproductive Freedom appeared first on Feminist Majority Foundation.




product

Did you know dairy products can be made without cow or nuts?

From cows to goats to sheep, the availability of dairy is ubiquitous. But with copious environmental and health issues around traditional dairy products, alternatives are in the spotlight more than ever. Now there’s a way to enjoy yogurt, cheese and ice cream without a heavy reliance on animals or nuts. It’s called Precision Fermentation, and it puts an old technology to new use. [...]






product

Study shows routes for recycling carbon dioxide and coal waste into useful products

A new report led by Emily Carter and Elizabeth Zeitler *14 offers research and policy ideas, including carbon fiber replacements for rebar in construction and titanium in high-tech applications.




product

Beginner’s Guide to Electronic Music Production: Tips and Tricks for Starting Out

The beginner’s guide to electronic music production is a comprehensive resource offering a thorough introduction to the fundamentals of electronic music production. Tailored for beginners, the guide covers essential concepts, techniques, and tools in the field, spanning from basic sound design to the application of effects plugins and mixing strategies. Electronic music production is a ... Read more

The post Beginner’s Guide to Electronic Music Production: Tips and Tricks for Starting Out appeared first on Star Two.




product

New theatre production ‘Collective Phenomena’ reveals story of defiant Soviet-Jewish scientists


The director of Collective Phenomena, Semion Aleksandrovskiy, shared a little of this complex history via his own family story.




product

Cameri Theater honors dramatist Hanoch Levin in wartime production


The homage production by the Cameri Theater marked the late Levin’s 80th birthday.




product

Oil is the most productive U.S. industry, debunking the myth that ‘peak oil’ was reached long ago

Twenty years ago, people wrongly wrote off the oil industry as a dinosaur. Oil production fell after 1970, so people wrongly predicted that oil production would continue to fall ever thereafter — the “peak oil” theory. Based on this prediction, there was even a weekly newspaper column called “peak oil“, written by Tom Whipple, the […]

The post Oil is the most productive U.S. industry, debunking the myth that ‘peak oil’ was reached long ago appeared first on Liberty Unyielding.




product

Three Benefits of Promoting Digital Goods and Software Products

Are you dreaming of being your own boss someday, or would you like to bring in extra income? Starting an online business is one of the easiest ways to accomplish this. The biggest challenge of starting an online business can be developing your business plan. If you are struggling to come up with that brilliant [&hellip;]




product

agilePHM – a new open source product for rapid prototyping of PHM analytics

agilePHM We are launching a new product called agilePHM In Industrial IoT, I have been working with PHM  (Prognostics and Health Management) for a while and it is a well known discipline Prognostics and Health management(PHM)  is an engineering discipline focused on predicting the time at which a system or a component will no longer perform its intended [...]




product

High temperature promotes amyloid {beta}-protein production and {gamma}-secretase complex formation via Hsp90 [Neurobiology]

Alzheimer's disease (AD) is characterized by neuronal loss and accumulation of β-amyloid-protein (Aβ) in the brain parenchyma. Sleep impairment is associated with AD and affects about 25–40% of patients in the mild-to-moderate stages of the disease. Sleep deprivation leads to increased Aβ production; however, its mechanism remains largely unknown. We hypothesized that the increase in core body temperature induced by sleep deprivation may promote Aβ production. Here, we report temperature-dependent regulation of Aβ production. We found that an increase in temperature, from 37 °C to 39 °C, significantly increased Aβ production in amyloid precursor protein-overexpressing cells. We also found that high temperature (39 °C) significantly increased the expression levels of heat shock protein 90 (Hsp90) and the C-terminal fragment of presenilin 1 (PS1-CTF) and promoted γ-secretase complex formation. Interestingly, Hsp90 was associated with the components of the premature γ-secretase complex, anterior pharynx-defective-1 (APH-1), and nicastrin (NCT) but was not associated with PS1-CTF or presenilin enhancer-2. Hsp90 knockdown abolished the increased level of Aβ production and the increased formation of the γ-secretase complex at high temperature in culture. Furthermore, with in vivo experiments, we observed increases in the levels of Hsp90, PS1-CTF, NCT, and the γ-secretase complex in the cortex of mice housed at higher room temperature (30 °C) compared with those housed at standard room temperature (23 °C). Our results suggest that high temperature regulates Aβ production by modulating γ-secretase complex formation through the binding of Hsp90 to NCT/APH-1.