Menu

Sun Cert Path Builder Exception | unable to find valid certification path to requested target

ERROR [sling-default-2-com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask.30181] com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask Failed to validate URL https://ssl.kaptcha.com/collect/sdk?m=xyz&s=xxx: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

26.03.2024 00:02:15.421 *INFO* [sling-default-5-health-org.apache.sling.discovery.oak.SynchronizedClocksHealthCheck] org.apache.sling.discovery.oak.SynchronizedClocksHealthCheck execute: no topology connectors connected to local instance.

Berlin Travel Guide | Discover Berlin

Berlin, the vibrant capital of Germany, has a rich and complex history that dates back to the 12th century. Originally founded as a trading town, Berlin became the capital of the Margraviate of Brandenburg in 1237. Over the centuries, it evolved into a major European city, playing pivotal roles in the German Empire, the Weimar Republic, Nazi Germany, and the Cold War. The fall of the Berlin Wall in 1989 marked a significant turning point, leading to the reunification of East and West Berlin and the city's restoration as the capital of a unified Germany.

Berliner Dome
Berliner Dome | Credit: Wikimedia/Ansgar Koreng

Geography of Berlin

Situated in northeastern Germany, Berlin lies in the wide glacial valley of the Spree River, which runs through the center of the city. The city is surrounded by the state of Brandenburg and is part of the Berlin-Brandenburg Metropolitan Region. With a mix of flat terrain and forested areas, Berlin offers a unique blend of urban and natural landscapes.

Weather in Berlin

Berlin experiences a temperate seasonal climate. Summers are warm and pleasant, with average temperatures around 18°C (65°F), while winters are cold, with temperatures often dropping below freezing. The city receives moderate rainfall throughout the year, with occasional snowfall in the winter months.

Places to visit in Berlin

1. Brandenburg Gate: An iconic symbol of Berlin and Germany.
2. Reichstag Building: The seat of the German parliament, offering stunning views from its glass dome.
3. Berlin Wall Memorial: A poignant reminder of the city's divided past.
4. Museum Island: Home to five world-renowned museums, including the Pergamon Museum and the Altes Museum.
5. Checkpoint Charlie: The famous crossing point between East and West Berlin during the Cold War.
6. Berlin TV Tower: Offering panoramic views of the city from its observation deck.
7. Charlottenburg Palace: A beautiful baroque palace with lush gardens.

Foods to try in Berlin

Berlin's culinary scene is diverse and vibrant, reflecting its multicultural population. Some must-try dishes include:
- Currywurst: A popular street food consisting of a bratwurst sausage topped with curry ketchup.
- Döner Kebab: A Turkish-inspired sandwich filled with meat, vegetables, and sauces.
- Kartoffelsalat: A hearty potato salad often served with various meats.
- Eisbein: A traditional German pork knuckle dish, usually served with sauerkraut and mashed potatoes.

Berlin transport guide

Berlin boasts an efficient and extensive public transportation system, making it easy to navigate the city. The U-Bahn (underground metro), S-Bahn (suburban trains), buses, and trams cover the entire city and its surroundings. A single ticket is valid for all modes of transport within the city limits. For a more scenic option, consider renting a bike and exploring the city's numerous bike paths.



Graded Response Action Plan (GRAP)

Stage IV of the Graded Response Action Plan (GRAP) has been activated in Delhi-NCR due to severe air pollution, with the Air Quality Index (AQI) reaching 457. Here are the key measures and restrictions under GRAP Stage IV:

  1. Education: Physical classes are suspended for all students except those in Classes 10 and 12.
  2. Traffic Restrictions:
    • Entry of truck traffic into Delhi is banned, except for trucks carrying essential commodities or providing essential services.
    • Light commercial vehicles registered outside Delhi, except for EVs, CNG, and BS-VI diesel vehicles, are prohibited from entering.
    • Delhi-registered BS-IV and below diesel-operated medium and heavy goods vehicles are banned, except for those carrying essential services.
  3. Work-from-Home: Governments and private offices may allow 50% of employees to work from home.
  4. Additional Measures: State governments may consider closing colleges, educational institutions, and non-emergency commercial activities. They may also implement odd-even vehicle restrictions.
  5. Health Advisory: Vulnerable groups, including children, the elderly, and those with chronic diseases, are advised to stay indoors and avoid outdoor activities.

These measures aim to curb the worsening air quality and protect public health in the region.

How to start AEM in debug mode? Adobe Experience Manager start guide

There are multiple approaches to start or tune Adobe Experience Manager (AEM) instance in debug mode. we will cover few of them in this tutorial.

  1. We could start AEM using the command prompt by using the below command line.
  2.  java -jar aem63-author-p4502.jar -debug <port#>
  3. Another way to start or tune AEM instance in debug mode is, we could update the start.bat file and start AEM by clicking on the start.bat file in crx-quickstart folder. To do so we have to do the following.
  • First we need to update the start file; go to \crx-quickstart\bin\start.bat and append this command "-debug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=<port#>" with line 25, default JVM options.
  • Save the file
  •  Now double click on the start.bat file to start your AEM instance.
After changes, your start.bat file will look like following.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
@echo off
:: This script configures the start information for this server.
::
:: The following variables may be used to override the defaults.
:: For one-time overrides the variable can be set as part of the command-line; e.g.,
::
::     SET CQ_PORT=1234 & ./start.bat
::
setlocal

::* TCP port used for stop and status scripts
if not defined CQ_PORT set CQ_PORT=4502

::* hostname of the interface that this server should listen to
:: if not defined CQ_HOST set CQ_HOST=

::* runmode(s)
::* will not be used if repository is already present
if not defined CQ_RUNMODE set CQ_RUNMODE=author

::* name of the jarfile
:: if not defined CQ_JARFILE set CQ_JARFILE=

::* default JVM options
if not defined CQ_JVM_OPTS set CQ_JVM_OPTS=-Xmx2048m -XX:MaxPermSize=512M -Djava.awt.headless=true -debug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=30303

::* ------------------------------------------------------------------------------
::* authentication
::* ------------------------------------------------------------------------------
::* when using oak (crx3) authentication must be configured using the
::* Apache Felix JAAS Configuration Factory service via the Web Console
::* see http://jackrabbit.apache.org/oak/docs/security/authentication/externalloginmodule.html

::* use jaas.config (legacy: only used for crx2 persistence)
:: if not defined CQ_USE_JAAS set CQ_USE_JAAS=true

::* config for jaas (legacy: only used for crx2 persistence)
if not defined CQ_JAAS_CONFIG set CQ_JAAS_CONFIG=etc\jaas.config

::* ------------------------------------------------------------------------------
::* persistence mode
::* ------------------------------------------------------------------------------
::* the persistence mode can not be switched for an existing repository
set CQ_RUNMODE=%CQ_RUNMODE%,crx3,crx3tar
:: set CQ_RUNMODE=%CQ_RUNMODE%,crx3,crx3mongo

::* settings for mongo db
:: if not defined CQ_MONGO_HOST set CQ_MONGO_HOST=127.0.0.1
:: if not defined CQ_MONGO_PORT set CQ_MONGO_PORT=27017
:: if not defined CQ_MONGO_DB   set CQ_MONGO_DB=aem6

::* ------------------------------------------------------------------------------
::* do not configure below this point
::* ------------------------------------------------------------------------------

chdir /D %~dp0
cd ..
if exist conf\controlport del conf\controlport
if not defined CQ_JARFILE     for %%X in (app\*.jar) do set CQ_JARFILE=%%X
for %%* in (.) do set CurrDirName=%%~n*
cd ..

set START_OPTS=start -c %CurrDirName% -i launchpad
if defined CQ_PORT            set START_OPTS=%START_OPTS% -p %CQ_PORT%
if defined CQ_RUNMODE         set CQ_JVM_OPTS=%CQ_JVM_OPTS% -Dsling.run.modes=%CQ_RUNMODE%
if defined CQ_HOST            set CQ_JVM_OPTS=%CQ_JVM_OPTS% -Dorg.apache.felix.http.host=%CQ_HOST%
if defined CQ_HOST            set START_OPTS=%START_OPTS% -a %CQ_HOST%
if defined CQ_MONGO_HOST      set START_OPTS=%START_OPTS% -Doak.mongo.host=%CQ_MONGO_HOST%
if defined CQ_MONGO_PORT      set START_OPTS=%START_OPTS% -Doak.mongo.port=%CQ_MONGO_PORT%
if defined CQ_MONGO_DB        set START_OPTS=%START_OPTS% -Doak.mongo.db=%CQ_MONGO_DB%
if defined CQ_USE_JAAS        set CQ_JVM_OPTS=%CQ_JVM_OPTS% -Djava.security.auth.login.config=%CQ_JAAS_CONFIG%
set START_OPTS=%START_OPTS% -Dsling.properties=conf/sling.properties

if exist newTaskList.txt del newTaskList.txt
if exist oldTaskList.txt del oldTaskList.txt
tasklist /FI "IMAGENAME eq java.exe" /NH > oldTaskList.txt
start "CQ" cmd.exe /C java %CQ_JVM_OPTS% -jar %CurrDirName%\%CQ_JARFILE% %START_OPTS%

:: removing the delay until CQ-4202186 is solved
:: timeout /T 1 /NOBREAK >nul

tasklist /FI "IMAGENAME eq java.exe" /NH > newTaskList.txt
java -cp %~dp0 GetProcessID oldTaskList.txt newTaskList.txt java.exe > %CurrDirName%\conf\cq.pid
if exist newTaskList.txt del newTaskList.txt
if exist oldTaskList.txt del oldTaskList.txt

Once you have done with the above changes and started your aem in debug mode then you have to configure debugger in your IDE (Eclipse or IntelliJ). To configure the debugger with your local AEM instance please follow this article. Remote debugger in eclipse

Principal Component Analysis (PCA)

Principal Component Analysis (PCA) is a widely-used statistical technique in data science and machine learning for dimensionality reduction. It simplifies large datasets while retaining the most critical information. By transforming the data into a new set of variables called principal components, PCA helps uncover hidden patterns, reduce noise, and optimize computational efficiency for tasks like visualization, clustering, and classification.

Why Use PCA?

Modern datasets often have a high number of dimensions(features). High-dimensional data can be:

  • Redundant: Many features might be correlated, adding unnecessary complexity.
  • Noisy: Irrelevant or noisy features can obscure the signal in data.
  • Difficult to visualize: Beyond three dimensions, visualizing data becomes challenging.

PCA addresses these issues by:

  • Reducing redundancy.
  • Compressing datasets while preserving essential patterns.
  • Making data more manageable for analysis or machine learning.

Applications of PCA

  1. Data Visualization: Principal Component Analysis(PCA) reduces high-dimensional data to 2D or 3D, enabling visualization of complex datasets.
  2. Preprocessing for Machine Learning: Reduces overfitting by eliminating irrelevant features and speeds up training for models on high-dimensional data.
  3. Image Compression: PCA compresses images by representing them with fewer components.
  4. Noise Reduction: Principal Component Analysis(PCA) filters out noise by removing components with low variance.

Advantages of PCA

  1. Simplifies datasets without significant loss of information.
  2. Helps in visualizing high-dimensional data.
  3. Reduces computation time for downstream tasks.
  4. Minimizes the risk of overfitting in machine learning models.

Limitations of PCA

  1. Linearity: Principal Component Analysis (PCA) assumes linear relationships between features and may not perform well with non-linear data.
  2. Interpretability: Principal components are combinations of original features, making them harder to interpret.
  3. Scale Sensitivity: Principal Component Analysis(PCA) is sensitive to feature scaling and requires careful preprocessing.
  4. Loss of Information: If too few components are retained, important information may be lost.

The 2024 USA Presidential Election | Donald Trump will be next president of USA

The 2024 United States presidential election was a highly anticipated and closely contested event, featuring prominent candidates and significant political agendas. Here’s a comprehensive look at the key aspects of the election, including the candidates, the results, and their campaign agendas.

Presidential Candidates

Donald Trump (Republican Party)
Running Mate: JD Vance
Background: Former President Donald Trump aimed to reclaim the White House, becoming only the second president in U.S. history to win two non-consecutive terms. Despite facing multiple legal challenges and controversies, Trump maintained a strong base of support.


Kamala Harris (Democratic Party)
Running Mate: Tim Walz
Background: Vice President Kamala Harris, endorsed by President Joe Biden after he withdrew from the race, sought to become the first Black woman and first Asian American president. Harris’s campaign focused on continuing and expanding many of Biden’s policies.


Jill Stein (Green Party)
Running Mate: Various running mates
Background: Jill Stein, the Green Party nominee, focused on environmental issues and social justice, continuing her advocacy from previous election cycles.


Chase Oliver (Libertarian Party)
Running Mate: Mike ter Maat
Background: Chase Oliver, a candidate known for his libertarian views, emphasized individual freedoms and limited government intervention.

Election Results

Donald Trump emerged victorious in the 2024 presidential election, securing a total of 292 electoral votes compared to Kamala Harris’s 224 electoral votes. The popular vote also reflected a close race, with Trump receiving 51.0% of the vote and Harris garnering 47.6%.

Campaign Agendas

Donald Trump’s Agenda:

Government Overhaul: Trump promised significant changes to federal government structures, aiming to reduce bureaucracy and increase efficiency.
Social Safety Nets: He proposed cuts to social safety net programs, arguing for a more self-reliant citizenry.
Retribution Against Opponents: Trump vowed to pursue legal actions against political adversaries, including appointing a special prosecutor to investigate the Biden family.

Kamala Harris’s Agenda:

Economic Support: Harris focused on providing tax credits to middle-class and lower-income families, aiming to reduce economic inequality.
Healthcare: She advocated for lowering drug costs and eliminating so-called junk fees, though she moved away from her previous support for a single-payer health insurance system.
Environmental Policies: Harris emphasized the need for sustainable energy solutions and continued efforts to combat climate change.

Jill Stein’s Agenda:

Environmental Justice: Stein’s campaign centered on aggressive climate action, including transitioning to renewable energy sources and addressing environmental racism.
Social Equity: She advocated for comprehensive social reforms, including universal healthcare and free higher education.

Chase Oliver’s Agenda:

Individual Liberties: Oliver’s platform focused on protecting personal freedoms, reducing government surveillance, and promoting free-market principles.
Criminal Justice Reform: He called for significant changes to the criminal justice system, including ending the war on drugs and reducing incarceration rates.

The 2024 election highlighted the deep political divisions in the United States, with each candidate presenting distinct visions for the country’s future. As Donald Trump prepares to take office once again, the nation watches closely to see how his policies will unfold and impact the American landscape.

Understanding HTTP Cookies: A Simple Guide

HTTP cookies are small pieces of data sent from a website and stored on a user’s web browser. They play a crucial role in enhancing user experience by remembering stateful information, such as login status, preferences, and other session-related details. This guide will help you understand what cookies are, how they work, and their various uses in web development.

What Are Cookies?

Cookies are essentially text files with small pieces of data like a username and password that are used to identify your computer as you use a computer network. Specific cookies known as HTTP cookies are used to identify specific users and improve your web browsing experience.

Types of CookiesSession Cookies: These are temporary cookies that expire once you close your browser. They are used to store information that is only needed during your browsing session.
Persistent Cookies: These cookies remain on your device for a set period or until you delete them. They are used to remember your preferences and login details for future visits.
Secure Cookies: These cookies are only transmitted over secure HTTPS connections, ensuring that the data they contain is encrypted and secure.
Third-Party Cookies: These are set by domains other than the one you are visiting. They are often used for tracking and online advertising purposes.

How Cookies Work?

When you visit a website, the server sends a cookie to your browser. Your browser stores it and sends it back to the server with each subsequent request. This process allows the server to recognize your browser and remember your preferences or login status.

Uses of CookiesSession Management: Cookies help manage user sessions by storing login credentials, shopping cart contents, and other session-related information.
Personalization: They store user preferences, such as language settings and theme choices, to provide a personalized browsing experience.
Tracking and Analytics: Cookies are used to track user behavior on websites, helping site owners understand how users interact with their site and improve user experience.

Creating and Managing Cookies

Cookies can be created, updated, and deleted using the Set-Cookie header in HTTP responses. Here’s a simple example of setting a cookie:Set-Cookie: username=JohnDoe; Expires=Wed, 06 Nov 2024 07:17:20 GMT; Path=/; Secure; HttpOnly


This command sets a cookie named username with the value JohnDoe, which expires on a specific date, is only accessible over secure connections, and cannot be accessed via JavaScript.

Best Practices for Using CookiesUse Secure Cookies 

Always use the Secure attribute for cookies that contain sensitive information.
HttpOnly Attribute: Use the HttpOnly attribute to prevent access to cookie data via JavaScript, mitigating the risk of cross-site scripting (XSS) attacks.
SameSite Attribute: Use the SameSite attribute to prevent cross-site request forgery (CSRF) attacks by controlling how cookies are sent with cross-site requests.

Privacy and Security Considerations

While cookies are essential for many web functionalities, they also raise privacy and security concerns. It’s important to use cookies responsibly and ensure that users are informed about how their data is being used. Implementing proper security measures, such as encryption and secure attributes, can help protect user data.

Conclusion

HTTP cookies are a fundamental part of web browsing, enabling personalized and efficient user experiences. By understanding how they work and following best practices, you can use cookies effectively while maintaining user privacy and security.

Egypt Achieves Malaria-Free Status: A Milestone in Healthcare and Social Development

Egypt has recently been certified as malaria-free by the World Health Organization (WHO), marking a significant milestone in the country's healthcare journey. This achievement is the result of nearly a century of dedicated efforts by the Egyptian government and its people to combat a disease that has plagued the nation since ancient times.

Historical Context Malaria has been a persistent health issue in Egypt for thousands of years, with evidence of the disease found in ancient Egyptian mummies. The fight against malaria in Egypt began in earnest in the 1920s, with measures to reduce human-mosquito contact, such as banning rice cultivation near homes. By 1930, malaria was classified as a notifiable disease, and a control station was established to focus on diagnosis, treatment, and surveillance.

Journey to Malaria-Free Certification Egypt's journey to malaria-free certification involved several key steps. In 2001, the country had malaria under control and aimed for elimination through targeted measures. A small outbreak in Aswan in 2014 was successfully managed through early detection, treatment, vector control, and public education. Over the last decade, Egypt expanded access to health services, with 95% of the population living near primary care facilities and offered free malaria treatment.

In 2016, Egypt formed a High Committee for Integrated Vector Management to address vector-borne diseases. The country also strengthened cross-border partnerships, especially with Sudan, to prevent the re-establishment of malaria and provided essential services to migrants, including those affected by the 2023 conflict.

Financial Investment The financial investment in Egypt's malaria elimination efforts has been substantial. The country has allocated significant resources to healthcare infrastructure, vector control measures, public education campaigns, and cross-border collaborations. While exact figures are not readily available, the sustained commitment over nearly a century underscores the importance placed on eradicating malaria. The investment has not only improved public health but also contributed to broader social and economic development.

WHO Certification Process The WHO certification process for malaria elimination is rigorous and ensures that a country has interrupted local transmission and is prepared to prevent reintroduction. Egypt began the certification process after reporting zero indigenous cases for at least three consecutive years. The country prepared a National Elimination Report that outlined detailed evidence of its success in eliminating malaria, including surveillance data, vector control activities, healthcare facility capabilities, and measures for preventing re-establishment.

The WHO's Malaria Elimination Certification Panel (MECP) reviewed the report and conducted field visits to verify its findings. After thorough evaluation, the panel submitted a recommendation to the WHO Director-General, who decided to grant Egypt malaria-free certification.

Impact and Future Steps Egypt's malaria-free status is a testament to the commitment of its people and government to rid themselves of this ancient scourge. Dr. Tedros Adhanom Ghebreyesus, WHO Director-General, congratulated Egypt on this historic achievement and emphasized the importance of maintaining high standards for surveillance, diagnosis, treatment, and integrated vector management.

Egypt's success serves as an inspiration to other countries in the region and demonstrates what is possible with the right resources and tools. The country's continued efforts to sustain its malaria-free status will be critical in protecting the health of its population and preventing the reintroduction of the disease.

Statistics malaria has steadily declined over the years, leading to zero indigenous cases in 2022 and 2023. This consistent reduction in malaria cases is a testament to Egypt's effective public health strategies and sustained efforts.



Conclusion Egypt's achievement of malaria-free status is a significant milestone in the country's healthcare and social development journey. It highlights the importance of sustained efforts, strong partnerships, and a commitment to public health. As Egypt moves forward, it will continue to build on this success and work towards further improving its healthcare system and overall well-being of its people.


References

- https://www.who.int/news/item/20-10-2024-egypt-is-certified-malaria-free-by-who