You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
June 13, 2024 is June 13, 1924. Here are some events that occurred on this date:
80
-
81
-
1. The German airline Deutsche Lufthansa (DL) was officially founded on June 13, 1924. It is Germany's largest airline and is one of the world's largest airlines in terms of overall passengers carried.
82
-
83
-
2. The British Broadcasting Corporation (BBC) aired its first radio broadcast.
84
-
85
-
3. The Hollywood Sign was officially dedicated in California, marking the beginning of Hollywood's rise to prominence in the American film industry.
86
-
87
-
4. The Ford Motor Company introduced the firstassembly line to mass produce cars, making cars more accessible to the general public.
88
-
89
-
5. The German aerospace company Zeppelin began constructing the Hindenburg, a large passenger airship.
78
+
What happened today 01/17/2025 100 years ago ?
79
+
On January 17th, 1925, 100 years ago, the following events took place:
80
+
- In the US, President Calvin Coolidge delivered his annual State of the Union address to Congress. He discussed the thriving state of the national economy, emphasizing the record-high production of American industries and the growth of the country's merchant marine fleet. Coolidge also urged Congress to pass legislation facilitating world trade and improving diplomatic relations.
81
+
- The first Winter Sports Week was held in Chamonix, France. This event eventually evolved into the prestigious Chamonix International Festival of Sports and Cinema.
82
+
- The play "The New York Idea" by Langdon Mitchell premiered at the Ambassador Theatre on Broadway. It ran for 144 performances and received critical acclaim.
83
+
- The silent film "The Gold Rush" directed by Charlie Chaplin was released in the United States. It's a classic comedy that tells the story of a prospector during the Klondike Gold Rush. Chaplin's unique brand of physical comedy and the film's innovative effects delighted audiences.
84
+
- In Germany, the Weimar Republic experienced a political scandal known as the "German-Russian Trade and Credit Agreement." The agreement, which granted Germany a loan of 300 million marks from Russia, was signed secretly, leading to accusations of mismanagement and lack of transparency in the government. This incident further destabilized the already fragile Weimar Republic.
90
85
</pre>
91
86
92
87
# Native image using GraalVM
@@ -95,7 +90,17 @@ GraalVM compiles your Java functions ahead of time into standalone binaries that
95
90
96
91
<p>
97
92
98
-
To do this a <ahref="./files/Dockerfile.native">Docker multi-stage build</a> is used. E.g.
93
+
To do this a Docker multi-stage build is used.
94
+
95
+
<p>
96
+
97
+
Before building the native image let's do a full maven for the project to create the necessary libraries under <code>target/lib</code>:
98
+
99
+
<pre>
100
+
mvn clean install
101
+
</pre>
102
+
103
+
Then build the Docker container using <ahref="./files/Dockerfile.native">multi-stage Docker file</a> including the GraalVM native image compilation:
@@ -106,7 +111,7 @@ think of increasing the CPU and memory for it to make the build faster.
106
111
107
112
<p>
108
113
109
-
In the <ahref="./files/Dockerfile.native">Dockerfile.native</a> two things are important: Including the <ahref="./files/reflection.json">reflection.json</a> with the proper function class name and passing <code>"-Djava.library.path=/lib"</code> in the container CMD along with the <code>"com.example.HelloAIFunction::handleRequest"</code> function handler.
114
+
In the <ahref="./files/Dockerfile.native">Dockerfile.native</a> two things are important: Including the <ahref="./files/reflection.json">reflection.json</a> with the proper function class name and passing Fn FDK libraries with <code>"-Djava.library.path=/lib"</code> in the container CMD along with the <code>"com.example.HelloAIFunction::handleRequest"</code> function handler.
0 commit comments