How to Install GraphFrames for PySpark - Complete Guide
Interested in graph analysis with PySpark and GraphFrames? This guide will help you set up and analyze a simple social network using GraphFrames. We'll go through initializing Spark, defining graph components, and running basic analyses like triangle counting. It's straightforward and practical—perfect for getting a quick start!
Sailing for Finland - after 15 years away from home
On the eve of my flight to Finland, I sit in this quiet moment, attempting to articulate the swirling emotions and the paradoxical calm within me. Perhaps it's the nearing of a goal set decades ago that stirs an indescribable excitement in my heart, creating ripples across my being, making everything feel so surreal, yet here I am, outwardly serene.
Magic CSS property: box-decoration-break
How to prevent the rounded corners and background color of highlighted text from breaking when wrapping? This can be solved by using the box-decoration-break: clone; property. This property allows the background, border, and padding of a split box model to be cloned to each split part, thus ensuring consistency of style.
CSS position: sticky
This article currently has no summary
Be a shepherd and look for the white reindeer in the forest - a 5-day tour of Hulunbuir
Before this, the northernmost place I have been to in China is Kanas, Xinjiang. After this, my northernmost refresh to Moerdaoga, and the vertical distance from the northernmost point of China is only more than 200 kilometers. In the early autumn of 2022, we flew over about 2,500 kilometers from Shanghai via Beijing and came to the best grassland in the world Hulunbuir grassland
The missing Shanghai Stunt City Park
Visited the site of the once-popular Shanghai Stunt City amusement park on Changxing Island, now mostly demolished and forgotten. Only remnants and statues remain of this 1990s park, hinting at its past glory. A quick detour for those nearby, but perhaps not worth a special trip.
Notes of CSS Variable Secrets - CSS Day 2022
I accidentally watched the video about CSS Variable introduced by Lea Verou on CSS Day 2022, and I have to feel that CSS has almost become something I do
An unplanned trip to Liyang
I went to Liyang with my family in early August. Originally planned to go to Changsha, but the nucleic acid report on hand had just passed 48 hours, and the latest test 7 hours ago had not yet come out with results, and China Southern Airlines refused to board the plane...
JS API Intersection Observer and lazy loading
Mapbox recently released Global View, which can run smoothly and smoothly on both Web and Mobile. So I changed the map on my blog. Since this map is not on the first screen on my blog, I decided to lazy load it, and found this very useful API
Force Docker to use AMD64 in Apple Silicon ( Apple M1 ) chips
Using Docker images built on Apple M1 chips (or other ARM64 builds) on Linux or Window AMD64 machines (AWS EC2, ECS, AliCloud Functional Computing, etc.) can cause some problems. Therefore, in order to deploy images built on Apple chips on the above platforms, we need to specify images built on AMD64 architecture.
Alibaba Cloud Function Custom Container Timeout - Macbook M1 Chip
I have nothing to do over the weekend, I want to toss my AliCloud function computing from a custom runtime environment to migrate to a custom container, the results of the deployment and found that it can not be accessed, and returned a timeout error, a variety of tawdry operations found after the two solutions
Why is it better not to use the index of the array as the key in React?
When you're writing or reading someone else's React code that renders a list, it's easy to see the use of index as a Key, which looks good and avoids React's Key Warning; however, doing so is one of the most common React mistakes, or at least it's dangerous