# HG changeset patch # User David Douard # Date 1523481112 -7200 # Node ID 11b306ba34683e5428cc4f1b4ea4cfd9f90f6f8e # Parent 45ec3ccb276f236af90bf000cadb772ef3ad9b57 [conf] attempt to use image_process plugin diff -r 45ec3ccb276f -r 11b306ba3468 content/hp8662a.rst --- a/content/hp8662a.rst Wed Apr 11 23:17:04 2018 +0200 +++ b/content/hp8662a.rst Wed Apr 11 23:11:52 2018 +0200 @@ -42,6 +42,7 @@ before even attempting to fix the PSU. .. image:: {filename}images/hp8662a/dirty_hp.jpg + :class: image-process-large-photo And I must say that if most of the unit is very easy to service due to the @@ -51,14 +52,18 @@ so very tedious. .. image:: {filename}images/hp8662a/top_before_2.jpg + :class: image-process-large-photo .. image:: {filename}images/hp8662a/bottom_before.jpg + :class: image-process-large-photo .. image:: {filename}images/hp8662a/front_after.jpg + :class: image-process-large-photo Also, there are hundreds of screws in this unit! it's insane. .. image:: {filename}images/hp8662a/top_after.jpg + :class: image-process-large-photo Whatever, I finally got to a point I could clean most of the parts of the unit, so I started to reassemble it. Unfortunately, I did not took enough pictures @@ -66,12 +71,14 @@ like an HP 8662A... .. image:: {filename}images/hp8662a/reassembling_2.jpg + :class: image-process-large-photo Once I had the structure of the generator back togother, with the back plane in place but no other board nor module plugged in, I started to take care of the PSU. .. image:: {filename}images/hp8662a/reassembling_1.jpg + :class: image-process-large-photo The PSU ======= @@ -87,6 +94,7 @@ the mani switch on the front panel only activate the switching. .. image:: {filename}images/hp8662a/PSU_simplified_schematic.jpeg + :class: image-process-large-photo The 4 boards the PSU is made of are: @@ -106,6 +114,7 @@ regulation being made on the 5.2V rail, which is not regulated by A7A1. .. image:: {filename}images/hp8662a/PSU_block_diagram.jpeg + :class: image-process-large-photo So I gave a close look at thes boards, beginning by the main board, the I found the culprit for the smoke: the input protection thermistor. Strangely, it still @@ -138,6 +147,7 @@ the inverter board were very low. Somethin was wrong. .. image:: {filename}images/hp8662a/PSU_inverter_schematic.jpeg + :class: image-process-large-photo Looking at the schematics and the boards, I did find several failure points: @@ -160,6 +170,7 @@ skookum but does the job for a few cents. .. image:: {filename}images/hp8662a/broken_choke.jpg + :class: image-process-large-photo After these fixes, I reassembled the PSU and tried again: the result was quite promising, but not a complete success: the PSU seemed to start, but very diff -r 45ec3ccb276f -r 11b306ba3468 pelicanconf.py --- a/pelicanconf.py Wed Apr 11 23:17:04 2018 +0200 +++ b/pelicanconf.py Wed Apr 11 23:11:52 2018 +0200 @@ -10,6 +10,7 @@ TWITTER_USERNAME = u'douardda' CONTACTS = (('twitter', 'https://twitter.com/twttrAcc'),) + if _isprod: SITEURL = 'https://whatever.sdfa3.org' PIWIK = ''' @@ -80,9 +81,31 @@ 'pelican_dailymotion', 'pelican_javascript', 'wavedrom', + 'image_process', ] RESPONSIVE_IMAGES = True TYPOGRIPFY = True SINGLE_AUTHOR = True MINT = True SITEMAP = {'format': 'xml'} + +IMAGE_PROCESS = { + 'crisp': {'type': 'responsive-image', + 'srcset': [('1x', ['scale_in 800 600 True']), + ('2x', ['scale_in 1600 1200 True']), + ('3x', ['scale_in 3200 2400 True']), + ], + 'default': '1x', + }, + 'large-photo': {'type': 'responsive-image', + 'sizes': '(min-width: 1200px) 800px, (min-width: 992px) 650px, \ + (min-width: 768px) 718px, 100vw', + 'srcset': [('600w', ["scale_in 600 450 True"]), + ('800w', ["scale_in 800 600 True"]), + ('1600w', ["scale_in 1600 1200 True"]), + ], + 'default': '800w', + }, + } + +