Hi All, The student material for CKAD is not available, any Ideas?
Hi All,
I have started CKAD recently but am not able to access the lab files. Does anyone knows where to get those from or is the Course being upgraded?
Thank You,
Best Answers
-
Hi @myousufm
There are two different areas in the course mentioning how to retrieve the files needed for lab exercises: * Check out the Course Resources page in the introductory chapter to learn how to download them via the browser
- Lab 2.1 in chapter 2 provides the command to download them via the command line interface.
Regards,
Flavia
The Linux Foundation Training Team0 -
There is a note to that effect (underscores) in the lab material as well.
0
Answers
-
Thanks fcioanca, just noticed that while pasting the underscores vanished, had to manually enter the underscores in the url.
Thank You,
Muhammad Yousuf0 -
The missing underscores when copying the text is probably a problem in the source LaTeX document used to generate the PDF, see https://tex.stackexchange.com/q/42777 for the fix to that issue.
1 -
As the main maintainer of the LaTeX software used to generate the pdfs for the labs, I can state, with strong confidence, that it is not the source of the problems; they lie with the pdf reader. We do indeed use the proper fonts encoding and _ when necessary etc. In fact, not all pdf readers malfunction in this regard. This is why we tell people over and over do not cut and paste commands from pdfs; we give either "SOLUTIONS" or "RESOURCES" files that contain the material in pure text form that can be easily used.
-1 -
Putting the course exercises PDF through qpdf to decompress the streams, I can confirm that the URL is being rendered as described in that TeX - LaTeX Stack Exchange post: The underscores visible in the URL are not underscores in the text, but graphical strokes.
I would guess that whatever PDF view can get underscores when copying that text is recognising those strokes and turning them back into underscores when extracting. (I'd be curious to know which readers can extract an underscore from this text.)
You can see below the
S
(stroke) command being used to fake an underscore between the ".../LDF259" text block and the "V2021-12-09" text block.... 0 0 1 rg 0 0 1 RG 0 g 0 G 0 0 1 rg 0 0 1 RG /F65 8.9664 Tf 0 -18.132 Td [($)-525(wget)-525(https://training.linuxfoundation.org/cm/LFD259/LFD259)]TJ ET q 1 0 0 1 333.745 660.709 cm []0 d 0 J 0.398 w 0 0 m 2.824 0 l S Q BT /F65 8.9664 Tf 336.57 660.51 Td [(V2021-12-09)]TJ ET
Font 65 (LMMono9-Regular) in that file has an underscore character defined, so the stroke must be being created earlier in the process, not at PDF-output time, which aligns pretty closely with the issue described in that post, although LMMono9 means that it's not the exact problem described there, as it's already using the
lmodern
package at least.Elsewhere on the same page, the underscore has worked fine, e.g.
br_netfilter
in:BT /F65 8.9664 Tf 60.907 214.098 Td [(student@cp:~$)-525(find)-525($HOME)-525(-name)-525(k8scp.sh)]TJ 0 g 0 G 0 0 1 rg 0 0 1 RG 0 g 0 G 0 0 1 rg 0 0 1 RG 0 -31.881 Td [(student@cp:~$)-525(more)-525(LFD259/SOLUTIONS/s_02/k8scp.sh)]TJ 0 g 0 G 0 0.83 1 0.7 k 0 0.83 1 0.7 K 0 -29.887 Td [(....)]TJ 0 -10.959 Td [(#)-525(Bring)-525(node)-525(to)-525(current)-525(versions)-525(and)-525(install)-525(an)-525(editor)-525(and)-525(other)-525(software)]TJ 0 -10.959 Td [(sudo)-525(apt-get)-525(update)-525(&&)-525(sudo)-525(apt-get)-525(upgrade)-525(-y)]TJ 0 -21.918 Td [(sudo)-525(apt-get)-525(install)-525(-y)-525(vim)-525(nano)-525(libseccomp2)]TJ 0 -21.918 Td [(#)-525(Prepare)-525(for)-525(cri-o)]TJ 0 -10.959 Td [(sudo)-525(modprobe)-525(overlay)]TJ 0 -10.959 Td [(sudo)-525(modprobe)-525(br_netfilter)]TJ 0 -10.959 Td [(....)]TJ 0 g 0 G 0 g 0 G ET
which is also in font 65.
Looking at the entire fire, I only see the underscores being 2.824-length strokes four times, two times each in the two uses of that filename on "Download shell scripts and YAML files" box on page 6, so I suspect that whatever is being used to trigger the monospaced lines in that box that reference the filename is the problem.
Edit: Actually, being more liberal in my search, the
_
in_V2021-12-09
in the footer of every page is also being stroked instead of treated as_
, but it's 2.839 long so I missed it before.BT /F32 9.4645 Tf 56.631 19.8 Td [(V)]TJ ET q 1 0 0 1 63.512 19.999 cm []0 d 0 J 0.398 w 0 0 m 2.839 0 l S Q BT /F32 9.4645 Tf 66.351 19.8 Td [(2021-12-09)-7122(\251)-278(Cop)15(yright)-278(the)-278(Lin)10(ux)-278(Foundation)-278(2022.)-344(All)-278(rights)-278(reser)-10(ved.)]TJ ET
That 2.839-long stroke shows up in other places, like
NET_ADMIN
on page 67 in the body text, but the blue YAML box has the underscore correctly inNET_ADMIN
.So it's not as simple as I hoped, but the problem is definitely in the PDF, not some bug in the reader.
1 -
Ran out of edit time, but I'll note that there's three sizes of strokes seen in the current labs PDF being used instead of underscores:
- 2.824 in font 65 (LMMono9-Regular) - The URL and tar command filename for the lab solution download on page 6
- 2.839 in font 32 (NimbusSanL-Bold) - The "V_2021-12-09" in the footer of each page, "such as CKAD_Curriculum_V1.22.1.pdf" on page 14, and
cap_net_admin
andcap_sys_time
in the box text on pages 67 and 68. - 3.138 in font 64 (LMMono10-Regular) - Once on page 107, "View the run_cp.sh script."
They're not all monospace, so I don't really have any idea why the document generation pipeline is doing that, based only on the visible context.
1 -
You. Are missing the point. You are never ever supposed to cut and paste from the PDFs. Making it easier would be counterproductive and will not happen. The microanalysis here is irrelevant.
-1 -
Per https://forum.linuxfoundation.org/discussion/comment/32895/#Comment_32895 and the text itself, we are instructed to copy and paste the line that started this discussion, partly because the emailed version of that link points to the wrong version of the "RESOURCES" file.
There's even instructions right there on what to do when the link copies-and-pastes with spaces, which suggest that's the expected flow for the user.
If you don't intend people to cut-and-paste it, perhaps make it not a clickable link too, since right-click-and-copy-link is a pretty natural flow there. That's what I did initially, because I wanted to look at the file before I set up the VMs for the course.
So maybe the messaging of "don't copy and paste this, get it from " could be clearer? And this is the first time I've heard "never ever cut and paste from the PDFs" in this environment, since it's an excellent way to avoid typos in the lab exercises.
I'm sorry if you feel my investigation (and in my opinion, refutation) of your claim that the problem "lies with the pdf readers" is irrelevant, you're of course welcome to ignore it and not investigate why your build pipeline is producing PDFs like this.
I enjoyed the investigation, as I learned a bunch of stuff about PDF internals which I hadn't looked at before.
1 -
You. Are missing the point. You are never ever supposed to cut and paste from the PDFs. Making it easier would be counterproductive and will not happen.
Copying and pasting URLsis common sense in 2022. Maybe adding the real warning: DO NOT COPY PASTE EVEN THE URL (as we intentionally broke it, good luck figuring out what went wrong if you get a 404)
The microanalysis here is irrelevant.
The correct reply is: Thank you @TBBle!
And you continue: but we don't care, even if it is an obvious mistake on our side.Really unprofessional attitude. Very disappointing.
0
Categories
- All Categories
- 217 LFX Mentorship
- 217 LFX Mentorship: Linux Kernel
- 788 Linux Foundation IT Professional Programs
- 352 Cloud Engineer IT Professional Program
- 177 Advanced Cloud Engineer IT Professional Program
- 82 DevOps Engineer IT Professional Program
- 146 Cloud Native Developer IT Professional Program
- 137 Express Training Courses
- 137 Express Courses - Discussion Forum
- 6.2K Training Courses
- 46 LFC110 Class Forum - Discontinued
- 70 LFC131 Class Forum
- 42 LFD102 Class Forum
- 226 LFD103 Class Forum
- 18 LFD110 Class Forum
- 37 LFD121 Class Forum
- 18 LFD133 Class Forum
- 7 LFD134 Class Forum
- 18 LFD137 Class Forum
- 71 LFD201 Class Forum
- 4 LFD210 Class Forum
- 5 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 2 LFD233 Class Forum
- 4 LFD237 Class Forum
- 24 LFD254 Class Forum
- 694 LFD259 Class Forum
- 111 LFD272 Class Forum
- 4 LFD272-JP クラス フォーラム
- 12 LFD273 Class Forum
- 146 LFS101 Class Forum
- 1 LFS111 Class Forum
- 3 LFS112 Class Forum
- 2 LFS116 Class Forum
- 4 LFS118 Class Forum
- 6 LFS142 Class Forum
- 5 LFS144 Class Forum
- 4 LFS145 Class Forum
- 2 LFS146 Class Forum
- 3 LFS147 Class Forum
- 1 LFS148 Class Forum
- 15 LFS151 Class Forum
- 2 LFS157 Class Forum
- 25 LFS158 Class Forum
- 7 LFS162 Class Forum
- 2 LFS166 Class Forum
- 4 LFS167 Class Forum
- 3 LFS170 Class Forum
- 2 LFS171 Class Forum
- 3 LFS178 Class Forum
- 3 LFS180 Class Forum
- 2 LFS182 Class Forum
- 5 LFS183 Class Forum
- 31 LFS200 Class Forum
- 737 LFS201 Class Forum - Discontinued
- 3 LFS201-JP クラス フォーラム
- 18 LFS203 Class Forum
- 130 LFS207 Class Forum
- 2 LFS207-DE-Klassenforum
- 1 LFS207-JP クラス フォーラム
- 302 LFS211 Class Forum
- 56 LFS216 Class Forum
- 52 LFS241 Class Forum
- 48 LFS242 Class Forum
- 38 LFS243 Class Forum
- 15 LFS244 Class Forum
- 2 LFS245 Class Forum
- LFS246 Class Forum
- 48 LFS250 Class Forum
- 2 LFS250-JP クラス フォーラム
- 1 LFS251 Class Forum
- 151 LFS253 Class Forum
- 1 LFS254 Class Forum
- 1 LFS255 Class Forum
- 7 LFS256 Class Forum
- 1 LFS257 Class Forum
- 1.2K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 118 LFS260 Class Forum
- 159 LFS261 Class Forum
- 42 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 24 LFS267 Class Forum
- 22 LFS268 Class Forum
- 30 LFS269 Class Forum
- LFS270 Class Forum
- 202 LFS272 Class Forum
- 2 LFS272-JP クラス フォーラム
- 1 LFS274 Class Forum
- 4 LFS281 Class Forum
- 9 LFW111 Class Forum
- 259 LFW211 Class Forum
- 181 LFW212 Class Forum
- 13 SKF100 Class Forum
- 1 SKF200 Class Forum
- 1 SKF201 Class Forum
- 795 Hardware
- 199 Drivers
- 68 I/O Devices
- 37 Monitors
- 102 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 85 Storage
- 758 Linux Distributions
- 82 Debian
- 67 Fedora
- 17 Linux Mint
- 13 Mageia
- 23 openSUSE
- 148 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 353 Ubuntu
- 468 Linux System Administration
- 39 Cloud Computing
- 71 Command Line/Scripting
- Github systems admin projects
- 93 Linux Security
- 78 Network Management
- 102 System Management
- 47 Web Management
- 63 Mobile Computing
- 18 Android
- 33 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 371 Off Topic
- 114 Introductions
- 174 Small Talk
- 22 Study Material
- 805 Programming and Development
- 303 Kernel Development
- 484 Software Development
- 1.8K Software
- 261 Applications
- 183 Command Line
- 3 Compiling/Installing
- 987 Games
- 317 Installation
- 96 All In Program
- 96 All In Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)