May 2022

Talk about the relationship between the two programming languages ​​C language and ABAP

Why should this article put C language and ABAP together, instead of other languages ​​such as Java and ABAP? Because the bottom layer of ABAP language is based on C/C++ implementation, including its keywords (such as the simplest keyword WRITE C++ implementation has more than 2,000 lines) and virtual machine (ABAP Runtime). A group of

Talk about the relationship between the two programming languages ​​C language and ABAP Read More »

I’m thinking today

Yesterday it was clear skies for thousands of miles, but today it is overcast and the situation is unpredictable, haha. It seems that there is a rhythm of rain, so I just stay at home and play on the computer. I don’t play anything, so I just fiddle with the blog. A few days ago,

I’m thinking today Read More »

Prepare to face impermanence

If the famous saying “2019 was the worst year in the past ten years, but the best year in the next ten years” sounds more and more reliable recently, then I have to think of a headache. , it’s only three years since 2019, what the fuck will happen in the next seven years? Today

Prepare to face impermanence Read More »

Analysis of Nuxt3 ClientOnly component source code

packages/src/app/components/client-only.mjs export default defineComponent({ name: ‘ClientOnly’, // eslint-disable-next-line vue/require-prop-types props: [‘fallback’, ‘placeholder’, ‘placeholderTag’, ‘fallbackTag’], setup (_, { slots }) { const mounted = ref(false) onMounted(() => { mounted.value = true }) return (props) => { if (mounted.value) { return slots.default?.() } const slot = slots.fallback || slots.placeholder if (slot) { return slot() } const fallbackStr

Analysis of Nuxt3 ClientOnly component source code Read More »

Cache mechanism in Transformer

Author: Liu Shaokong (an NLP algorithm engineer) The Encoder part is relatively simple, and only a batch-related mask needs to be considered when performing self-attention. Here we focus on the working mechanism of the decoder attention at each layer in the training and inference modes. In the training mode, the decoder part uses the teacher_forcing

Cache mechanism in Transformer Read More »

Another lazy day today

Sunday May 08, 2022 Lunar Calendar April 8, 2022 [Year of the Tiger] Gregorian calendar Renyin year Yisi month Xinyou day Taurus today 21 ~ 29 degrees, sunny to overcast to rain today with the orthodox rest day Excuse me, continue to swipe my phone lazily, I haven’t read the books that should be read,

Another lazy day today Read More »

wife to buy cigarettes

Last night, the family of four went home after dinner. They approached the gate of the community and asked my wife and two children to get off the bus first, and asked my wife to go to the store to buy a pack of cigarettes. After I parked the car and came home, my wife

wife to buy cigarettes Read More »