Model architecture

I am interested in the architecture used in this implementation. Does it use a U-Net for the generator and a PatchGAN for the discriminator, as reported in the image-to-image translation paper? By looking at the code, it seems that the model is a DCGAN adapted to 256x256 images.

@danmic did you find the answer to your question posted above?


Update Image Upgrade on PowerVM for release branches

@AmeyShikerkar anything pending here? I think we have the code in all branches now.


Updates for block/nvme to run on RHCK & newer kernels

RHCK 9 contains entire subsystem backports from 5.18+ in the block & nvme. We'll probably need these for UEK8 too, but I wanted these so corelens would run on my laptop kernel. This is still a draft, I'm not sure that tests will pass for NVME.

Works on my laptop and on the OL vms which contain NVME drives. Tests pass on all vmcores.


Multiple error messages per attribute

Hi,
I've made a change so that multiple error messages can be used for each validation type per attribute. This is useful so I can have a different message when the user omits a required field, and a different message when the user enters an invalid value for a field.
Sorry but I'm not sure about submitting pull requests yet, here it is :
https://github.com/GarethElms/backbone.validation/commit/2bffd3ca43035b046abc297e3dbbb08c769fd1d5

Hi,
This is a good idea. Thanks!
I've just push a lot of changes to the master branch, so I'm not able to pull this in without some change. I will also need to cover the feature with some tests. If you would like to do this, just update your fork with the latest changes, or else I will get around to implement it in the next release.

I need to get up to speed with git (and js unit tests) so I'll treat it as a learning exercise. Hopefully I'll get this to you before the next release. Cheers

Closing this as a duplicate of #15


Define all response schemas

I defined all schemas from the docs.
Some of the property descriptions are not very descriptive which type it is (in my opinion). So I set the type to object. If you got any ideas which type they are, feel free to comment and I will change them accordingly.

Any opinions @geoDavey ?

Hey @sbu-WBT! Just gave the schema the look over and it looks great! Thanks so much for contributing!

Thanks, I'm gonna define also some more endpoints

💪💪
On Tue, Jul 14, 2020 at 14:28 SimonIT<EMAIL_ADDRESS>wrote:

Thanks, I'm gonna define also some more endpoints
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/geoDavey/osrm-openapi/pull/2#issuecomment-658179244,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGF6OOE6NMJ5YRQ4AXRSSFDR3RMQVANCNFSM4OXQEO6Q
.


Enable use of _mm_shuffle_epi8 on machines without SSE4.1

_mm_shuffle_epi8 was introduced with SSSE3, and chunkset_sse41 seems to work fine on CPUs without SSE4.1.

So it seems as though it helps, at least a little bit, on my core 2 quad.  In particular for highly compressible things in the decompression stage, as this is where the chunk copy does the most inflation and can benefit the most from this permutation tables.
Had that not been the case I would have suggested the logic be to not use it unless SSE42 or greater is available.  I think this looks good to me.


Show warning when opening files externally

PR Checklist

Please check all that apply to this PR using "x":

[x] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
[ ] I have checked that this PR does not introduce a breaking change
[ ] This PR introduces breaking changes and I have provided a detailed explanation below

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting)
[ ] Refactoring (no functional changes)
[ ] Documentation changes
[ ] Other - Please describe:

Fixes
Issue Number: #1761
What is the current behavior?
Clicking the open button, opens file externally with the associated app if they exist, otherwise the file directory is opened.
What is the new behavior?
Clicking the open button or external links, opens a modal warning user about the consequences. We proceed to open the file or link if user confirms.
Other information
I'm not sure if it's a breaking change but I renamed openExternalLink modal to openExternalResource

@zxawry Thanks for the PR! Ill give it a better look/test tonight! 🙂

This looks good! I'll merge after we release 0.32.0

Thank you, sir!

@zxawry , congrats on the merged PR!
Can we show you some appreciation for the contribution?

Thank you, sir! I'm glad it's merged.


fix: add missing scrolling behavior

hi there👋
This PR adds vertical scrolling but hides the generated scrollbar.
https://user-images.githubusercontent.com/79164595/197317556-f85d3829-b65e-499b-bc74-d44ef0ff122e.mp4

Hi, thank you for this PR.
It is problematic to hide the scroller all together.
You need to indicate the user that there is more to scroll.

You're right. I saw that in another place you use a thinner scrollbar:
https://user-images.githubusercontent.com/79164595/197324835-7ee42ab7-4ab4-46c7-813c-345e58c202bf.mp4

Thank you for this PR


how to hide skip , done and dot buttons in the library.

Hi how to hide the done and next skip buttons ...

You can use the following methods to hide next(done is on the last page) and skip button
showSkipButton(false)
showDoneButton(false) // this method is deprecated though instead use
setProgressButtonEnabled(false)

If by dot button you mean dot indicator then there is no any provision for hiding it but you can use the
progress indicator or your own custom indicator.
setCustomIndicator(IndicatorController controller)
setProgressIndicator()

As @girish3 already said, you can use the showSkipButton() and showDoneButton() methods to hide them. Please consider fully reading the README and/or the Wiki before opening a new issue.


change some #ifdef's to #if in db_test

This PR fixes compile errors with new testing framework where #ifdef is inappropriate.  Below is part of my drogon/config.h after the cmakedefine's get configured.   To discern the presence of the databases, we need to use #if and not #ifdef.
For example, #ifdef USE_POSTGRESQL is true and incorrect below, whereas #if USE_POSTGRESQL is false and correct.
#define USE_POSTGRESQL 0
#define USE_MYSQL 0
#define USE_SQLITE3 1

Hi, sorry I messed that. Thanks so much for catching it and the patch.


set textSize & textColor for header and description Dynamically

is there any way to set textSize and textColor for header and description Dynamically

@kprathap23 no there isn't you could only overwrite the layout which is used for the cards

Copy this to your project https://github.com/mikepenz/AboutLibraries/blob/develop/app/src/main/res/layout/card_library.xml (keep the name) and change the text sizes


Added Request logger

Added some custom color styling for logger to differentiate types as show below

nice code man.. keep it up !!

Thank your bro, just starting with open source


Add scorecard to service maturity tab

https://gitlab.com/jklabsinc/OpsLevel/-/issues/7810
This PR adds a scorecard component to the OpsLevel service maturity tab.

Works nicely. Handles gaps in level indexes. Displays well on both light & dark modes. Does not handle uncategorized checks but that's fine, they are something I think we'll drop support for soon. Colors logic matches current OpsLevel UI.
Nice work!


Remove Grunt and babel, fix main in package.json.

I ran into #1 when I tried to use this, and when I tried to fix it, I found I couldn't actually build due to version issues with Grunt. So I went a bit Highlander on it...
Removed Grunt & babel (was only being used for const/let, which are supported in Node 4.x+)
I also removed uglify, but that should be fairly easy to add back if necessary.
This should fix #1 though I understand if you want Grunt back in there.

hey Bryce! I was thinking yesterday about emailing you to tell you how much I enjoyed your talk, but that felt like an amateurish thing to do. ;)
this looks great. Appreciate the help.

const/let may be fully supported as of Node 6.x, but the README for the main project explicitly states support for IE9. I don't know if you intend to have the plugins support old systems too, but if you do, you can't ditch the transpiler anytime soon.

@nloveladyallen I removed all lets and there are only 9 const left. Likely the simplest way to get IE9 support would be just to change the consts to var vs pulling all the babel and transforms in.


Microsoft Edge opens when you open Internet Explorer on 2023-10 Windows 10 update

LegacyUpdate fails to function on latest Windows 10 update.

Is this when you use the Legacy Update shortcut in the Start menu? Launching IE directly will do that, but launching through the Legacy Update shortcut should work.

Haven’t heard any response back and I can’t reproduce any issues, so closing.


HTML reporter is broken for FAIL results

Observed behaviour
All the FAIL checks are being being ommited on the HTML report.  See image.

Other checks that produces WARNS or ERROR are displayed correctly

This is also broken for WARNS.

Broken all round I'm afraid, https://github.com/google/fonts/pull/7384#issuecomment-1999294850

Ouch! Sorry for that!
I'll try to fix it as quickly as possible

On my local clone of the repo I still don’t see the FAILS 🤔


Support for magic mode

cmp.setup.cmdline('/', {
  sources = {
		{name = 'buffer'}
		-- { name = 'rg'},
		-- {name = 'fuzzy_buffer'}
  }
})

magic search in vim simplifies regex but it confuses cmp.cmdline, eg when I search for import word:
/\vimp
the buffers will not show suggestions related to  'imp' but to 'vimp'. Issue is  affecting other sources that are attached to cmdline sources
/imp  works ok though.
I hope there is way to filter out the magic characters.

  -- Use buffer source for `/` (if you enabled `native_menu`, this won't work anymore).
  cmp.setup.cmdline('/', { -- {{{
    completion = { autocomplete = false },
    sources = {
      --{ name = 'buffer' }
      {
        name = 'buffer',
        option = {
          keyword_pattern = [=[[^\?v?[:blank:]].*]=], -- "\?v?" - is a hack to care of loupe's hook
        }
      }
    }
  }) -- }}}        -- Use buffer source for `/` (if you enabled `native_menu`, this won't work anymore).
  cmp.setup.cmdline('/', { -- {{{
    completion = { autocomplete = false },
    sources = {
      --{ name = 'buffer' }
      {
        name = 'buffer',
        option = {
          keyword_pattern = [=[[^\?v?[:blank:]].*]=], -- "\?v?" - is a hack to care of loupe's hook
        }
      }
    }
  }) -- }}}        -- Use buffer source for `/` (if you enabled `native_menu`, this won't work anymore).
  cmp.setup.cmdline('/', { -- {{{
    completion = { autocomplete = false },
    sources = {
      --{ name = 'buffer' }
      {
        name = 'buffer',
        option = {
          keyword_pattern = [=[[^\?v?[:blank:]].*]=], -- "\?v?" - is a hack to care of loupe's hook
        }
      }
    }
  }) -- }}}

  -- Use buffer source for `/` (if you enabled `native_menu`, this won't work anymore).
  cmp.setup.cmdline('/', { -- {{{
    completion = { autocomplete = false },
    sources = {
      --{ name = 'buffer' }
      {
        name = 'buffer',
        option = {
          keyword_pattern = [=[[^\?v?[:blank:]].*]=], -- "\?v?" - is a hack to care of loupe's hook
        }
      }
    }
  }) -- }}}

It seems to show the whole line for which there is a match rather than string itself.


isparta-loader is deprecated

We should replace it with https://github.com/istanbuljs/babel-plugin-istanbul

I don't think this is actually going to affect us in any significant way. Let's leave it as-is until it causes problems.


finishing game!

hi im finally finishing my game! i figured the error below is caused by adding " " into say text! I see the window text can be moved, can the option text also be moved down below? Also can background sound be added to a game? thanks
64\VIC2.c(41): Warning: Integer constant is long
unity\C64\VIC2.c(42): Warning: Integer constant is long
unity\C64\VIC2.c(43): Warning: Integer constant is long
unity\C64\VIC2.c(58): Warning: Integer constant is long
unity\C64\VIC2.c(59): Warning: Integer constant is long
unity\C64\VIC2.c(60): Warning: Integer constant is long
projects/secret/src/vn_engine.c(72): Warning: Control reaches end of non-void function
projects/secret/src/vn_engine.c(72): Warning: Variable 'selected' is defined but never used
projects/secret/src/vn_engine.c(146): Warning: Variable 'charW' is defined but never used
projects/secret/src/vn_engine.c(146): Warning: Variable 'spaceW' is defined but never used
projects/secret/src/vn_engine.c(231): Warning: Variable 'i' is defined but never used
projects/secret/src/vn_engine.c(231): Warning: Variable 'mn_option_1' is defined but never used
projects/secret/src/vn_engine.c(231): Warning: Variable 'mn_choice_2' is defined but never used
projects/secret/src/vn_engine.c(231): Warning: Variable 'mn_choice_3' is defined but never used
projects/secret/src/generated_script.c(46): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(78): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(91): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(126): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(128): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(130): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(134): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(164): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(165): Error: ')' expected
projects/secret/src/generated_script.c(165): Error: ';' expected
projects/secret/src/generated_script.c(165): Error: Undefined symbol: 'Guard'

Hello!

Music support will be implemented in  #38
The configuration of the options menu layout will probably happen in #20

ok great! Im also almost done with the sega engine game cant wait to show you these!

Good luck! I can't wait!

hi just testing exportin to platforms. Atari Im not sure what to press next, and how can I set up lynx ?

also apple The system cannot find the path specified. apple2gen.exe or something . Oric shows a picture but when i press 1 or any key nothing happens. Lastly the c64 works PERFECTLY!! which is my main platform :) thanks.

hi just testing exportin to platforms. Atari Im not sure what to press next, and how can I set up lynx ?
also apple The system cannot find the path specified. apple2gen.exe or something . Oric shows a picture but when i press 1 or any key nothing happens. Lastly the c64 works PERFECTLY!! which is my main platform :) thanks.

In theory, it should just work; I would need the full log, in order to see what went wrong.

ok bit by bit.. this is for apple 64k
the first log is from a game that outputs to c64..
the second log still for apple 64k is from a game that errors outputing to c64 (hoping to find/fix the error(s))
i can wait to send the other platform logs if you want these  1 at a time... :)
Loading project...
The project was loaded!
Starting compilation...
The file was saved: src/generated_script.c
The file was saved: secret.builder
The chunk file was saved: chunks-atari.txt
The chunk file was saved: chunks-apple.txt
The chunk file was saved: chunks-c64.txt
The chunk file was saved: chunks-lynx.txt
The chunk file was saved: chunks-oric.txt
Compilation done!
Building and starting emulator...
C:\Users\zarta\OneDrive\Desktop\BlocklyVN8bit-0.3.0\BlocklyVN8bit-0.3.0\8bit-Unity\build>echo off
A subdirectory or file apple already exists.
--------------- CONVERT ASSETS ---------------
DONE!
--------------- COMPILE PROGRAM ---------------
unity\charmap.c(235): Warning: Parameter 'palette' is never used
unity\charmap.c(355): Warning: Converting pointer to integer without a cast
unity\charmap.c(356): Warning: Converting pointer to integer without a cast
unity\charmap.c(357): Warning: Converting pointer to integer without a cast
unity\charmap.c(358): Warning: Converting pointer to integer without a cast
unity\charmap.c(363): Warning: Converting pointer to integer without a cast
unity\charmap.c(367): Warning: Converting pointer to integer without a cast
unity\charmap.c(414): Warning: Variable 'dst' is defined but never used
unity\charmap.c(414): Warning: Variable 'col' is defined but never used
unity\chunks.c(138): Warning: Converting pointer to integer without a cast
unity\chunks.c(211): Warning: Converting pointer to integer without a cast
unity\music.c(96): Warning: Converting pointer to integer without a cast
unity\music.c(98): Warning: Converting pointer to integer without a cast
unity\net-base.c(83): Warning: Control reaches end of non-void function
unity\net-base.c(83): Warning: Parameter 'ip' is never used
unity\net-url.c(80): Warning: Parameter 'timeOut' is never used
unity\net-tcp.c(52): Warning: Parameter 'slot' is never used
unity\net-udp.c(44): Warning: Converting pointer to integer without a cast
unity\net-udp.c(55): Warning: Parameter 'slot' is never used
unity\net-web.c(50): Warning: Parameter 'port' is never used
unity\net-web.c(50): Warning: Parameter 'timeOut' is never used
unity\net-web.c(70): Warning: Parameter 'buffer' is never used
unity\net-web.c(70): Warning: Parameter 'length' is never used
unity\net-web.c(80): Warning: Parameter 'buffer' is never used
unity\net-web.c(80): Warning: Parameter 'length' is never used
unity\net-web.c(107): Warning: Parameter 'timeOut' is never used
unity\print.c(164): Warning: Variable 'dataAux' is defined but never used
unity\print.c(583): Warning: Converting pointer to integer without a cast
unity\print.c(584): Warning: Converting pointer to integer without a cast
unity\sfx.c(184): Warning: Converting pointer to integer without a cast
unity\sfx.c(250): Warning: Converting pointer to integer without a cast
unity\sfx.c(256): Warning: Converting pointer to integer without a cast
unity\sprites.c(230): Warning: Parameter 'cols' is never used
unity\sprites.c(230): Warning: Parameter 'spriteColors' is never used
unity\sprites.c(243): Warning: Parameter 'index' is never used
unity\sprites.c(243): Warning: Parameter 'offset' is never used
unity\sprites.c(243): Warning: Parameter 'color' is never used
unity\sprites.c(284): Warning: Converting pointer to integer without a cast
unity\sprites.c(303): Warning: Converting integer to pointer without a cast
unity\sprites.c(429): Warning: Converting pointer to integer without a cast
unity\sprites.c(456): Warning: Converting pointer to integer without a cast
unity\Apple\files.c(55): Warning: Converting integer to pointer without a cast
unity\Apple\files.c(57): Warning: Converting integer to pointer without a cast
unity\Apple\files.c(77): Warning: Converting integer to pointer without a cast
unity\Apple\files.c(93): Warning: Converting pointer to integer without a cast
unity\Apple\files.c(109): Warning: Converting pointer to integer without a cast
unity\Apple\hires.c(40): Warning: Converting integer to pointer without a cast
projects/secret/src/vn_engine.c(72): Warning: Control reaches end of non-void function
projects/secret/src/vn_engine.c(72): Warning: Variable 'selected' is defined but never used
projects/secret/src/vn_engine.c(146): Warning: Variable 'charW' is defined but never used
projects/secret/src/vn_engine.c(146): Warning: Variable 'spaceW' is defined but never used
projects/secret/src/vn_engine.c(224): Warning: Expression result unused
projects/secret/src/vn_engine.c(225): Warning: Expression result unused
projects/secret/src/vn_engine.c(231): Warning: Variable 'i' is defined but never used
projects/secret/src/vn_engine.c(231): Warning: Variable 'mn_option_1' is defined but never used
projects/secret/src/vn_engine.c(231): Warning: Variable 'mn_choice_2' is defined but never used
projects/secret/src/vn_engine.c(231): Warning: Variable 'mn_choice_3' is defined but never used
projects/secret/src/generated_script.c(46): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(78): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(91): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(126): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(128): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(130): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(134): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(164): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(166): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(168): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(170): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(173): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(205): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(207): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(209): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(211): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(247): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(297): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(303): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(305): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(307): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(309): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
Reading "build/apple/secret.bin", loading from $0803 to $8546.
Crunching from $0803 to $8546.
Phase 1: Instrumenting file
Length of indata: 32067 bytes.
Instrumenting file, done.
Phase 2: Calculating encoding
pass 1: optimizing ..
size 99611.0 bits ~12452 bytes
pass 2: optimizing ..
size 99408.0 bits ~12426 bytes
pass 3: optimizing ..
size 99367.0 bits ~12421 bytes
pass 4: optimizing ..
Calculating encoding, done.
Phase 3: Generating output file
Enc:<PHONE_NUMBER>138A5D,2122,2132222244556679,433556677899ADCE
Length of crunched data: 12450 bytes.
Crunched data reduced 19617 bytes (61.18%)
Literal sequences are used, length 1 sequences are used,
length 123 mirrors are not used, max length used is 8190 and
the safety offset is 2.
Target is self-decrunching Apple ][+ executable,
jmp address $0803.
Writing "build/apple/loader" as AppleSingle, saving from $0803 to $39C0.
Memory layout: |Start |End |
Crunched data | $0801| $38A2|
Decrunched data | $0803| $8546|
Decrunch table | $0334| $03D0|
Decruncher | $00FD| $01BB| and $EF,$EB,$EC,$ED,$EE
Decrunch effect writes to $07F7.
Decruncher: |Enter |During|Exit |
IRQ enabled | 1| 1| 1|
DONE!
--------------- APPLE DISK BUILDER ---------------
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
1 file(s) copied.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
'Applewin.exe' is not recognized as an internal or external command,
operable program or batch file.
DONE
Press any key to continue . . .
//
Loading project secret
Loading project...
The project was loaded!
Starting compilation...
The file was saved: src/generated_script.c
The file was saved: secret.builder
The chunk file was saved: chunks-atari.txt
The chunk file was saved: chunks-apple.txt
The chunk file was saved: chunks-c64.txt
The chunk file was saved: chunks-lynx.txt
The chunk file was saved: chunks-oric.txt
Compilation done!
Building and starting emulator...
C:\Users\zarta\OneDrive\Desktop\BlocklyVN8bit-0.3.0\BlocklyVN8bit-0.3.0\8bit-Unity\build>echo off
A subdirectory or file apple already exists.
--------------- CONVERT ASSETS ---------------
DONE!
--------------- COMPILE PROGRAM ---------------
unity\charmap.c(235): Warning: Parameter 'palette' is never used
unity\charmap.c(355): Warning: Converting pointer to integer without a cast
unity\charmap.c(356): Warning: Converting pointer to integer without a cast
unity\charmap.c(357): Warning: Converting pointer to integer without a cast
unity\charmap.c(358): Warning: Converting pointer to integer without a cast
unity\charmap.c(363): Warning: Converting pointer to integer without a cast
unity\charmap.c(367): Warning: Converting pointer to integer without a cast
unity\charmap.c(414): Warning: Variable 'dst' is defined but never used
unity\charmap.c(414): Warning: Variable 'col' is defined but never used
unity\chunks.c(138): Warning: Converting pointer to integer without a cast
unity\chunks.c(211): Warning: Converting pointer to integer without a cast
unity\music.c(96): Warning: Converting pointer to integer without a cast
unity\music.c(98): Warning: Converting pointer to integer without a cast
unity\net-base.c(83): Warning: Control reaches end of non-void function
unity\net-base.c(83): Warning: Parameter 'ip' is never used
unity\net-url.c(80): Warning: Parameter 'timeOut' is never used
unity\net-tcp.c(52): Warning: Parameter 'slot' is never used
unity\net-udp.c(44): Warning: Converting pointer to integer without a cast
unity\net-udp.c(55): Warning: Parameter 'slot' is never used
unity\net-web.c(50): Warning: Parameter 'port' is never used
unity\net-web.c(50): Warning: Parameter 'timeOut' is never used
unity\net-web.c(70): Warning: Parameter 'buffer' is never used
unity\net-web.c(70): Warning: Parameter 'length' is never used
unity\net-web.c(80): Warning: Parameter 'buffer' is never used
unity\net-web.c(80): Warning: Parameter 'length' is never used
unity\net-web.c(107): Warning: Parameter 'timeOut' is never used
unity\print.c(164): Warning: Variable 'dataAux' is defined but never used
unity\print.c(583): Warning: Converting pointer to integer without a cast
unity\print.c(584): Warning: Converting pointer to integer without a cast
unity\sfx.c(184): Warning: Converting pointer to integer without a cast
unity\sfx.c(250): Warning: Converting pointer to integer without a cast
unity\sfx.c(256): Warning: Converting pointer to integer without a cast
unity\sprites.c(230): Warning: Parameter 'cols' is never used
unity\sprites.c(230): Warning: Parameter 'spriteColors' is never used
unity\sprites.c(243): Warning: Parameter 'index' is never used
unity\sprites.c(243): Warning: Parameter 'offset' is never used
unity\sprites.c(243): Warning: Parameter 'color' is never used
unity\sprites.c(284): Warning: Converting pointer to integer without a cast
unity\sprites.c(303): Warning: Converting integer to pointer without a cast
unity\sprites.c(429): Warning: Converting pointer to integer without a cast
unity\sprites.c(456): Warning: Converting pointer to integer without a cast
unity\Apple\files.c(55): Warning: Converting integer to pointer without a cast
unity\Apple\files.c(57): Warning: Converting integer to pointer without a cast
unity\Apple\files.c(77): Warning: Converting integer to pointer without a cast
unity\Apple\files.c(93): Warning: Converting pointer to integer without a cast
unity\Apple\files.c(109): Warning: Converting pointer to integer without a cast
unity\Apple\hires.c(40): Warning: Converting integer to pointer without a cast
projects/secret/src/vn_engine.c(72): Warning: Control reaches end of non-void function
projects/secret/src/vn_engine.c(72): Warning: Variable 'selected' is defined but never used
projects/secret/src/vn_engine.c(146): Warning: Variable 'charW' is defined but never used
projects/secret/src/vn_engine.c(146): Warning: Variable 'spaceW' is defined but never used
projects/secret/src/vn_engine.c(224): Warning: Expression result unused
projects/secret/src/vn_engine.c(225): Warning: Expression result unused
projects/secret/src/vn_engine.c(231): Warning: Variable 'i' is defined but never used
projects/secret/src/vn_engine.c(231): Warning: Variable 'mn_option_1' is defined but never used
projects/secret/src/vn_engine.c(231): Warning: Variable 'mn_choice_2' is defined but never used
projects/secret/src/vn_engine.c(231): Warning: Variable 'mn_choice_3' is defined but never used
projects/secret/src/generated_script.c(46): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(78): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(91): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(126): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(128): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(130): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(134): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(164): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(166): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(168): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(170): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(173): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(205): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(207): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(209): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(211): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(247): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(297): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(303): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(305): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(307): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
projects/secret/src/generated_script.c(309): Warning: Pointer assignment to 'char *' from 'const char *' discards qualifiers
Reading "build/apple/secret.bin", loading from $0803 to $8546.
Crunching from $0803 to $8546.
Phase 1: Instrumenting file
Length of indata: 32067 bytes.
Instrumenting file, done.
Phase 2: Calculating encoding
pass 1: optimizing ..
size 99611.0 bits ~12452 bytes
pass 2: optimizing ..
size 99408.0 bits ~12426 bytes
pass 3: optimizing ..
size 99367.0 bits ~12421 bytes
pass 4: optimizing ..
Calculating encoding, done.
Phase 3: Generating output file
Enc:<PHONE_NUMBER>138A5D,2122,2132222244556679,433556677899ADCE
Length of crunched data: 12450 bytes.
Crunched data reduced 19617 bytes (61.18%)
Literal sequences are used, length 1 sequences are used,
length 123 mirrors are not used, max length used is 8190 and
the safety offset is 2.
Target is self-decrunching Apple ][+ executable,
jmp address $0803.
Writing "build/apple/loader" as AppleSingle, saving from $0803 to $39C0.
Memory layout: |Start |End |
Crunched data | $0801| $38A2|
Decrunched data | $0803| $8546|
Decrunch table | $0334| $03D0|
Decruncher | $00FD| $01BB| and $EF,$EB,$EC,$ED,$EE
Decrunch effect writes to $07F7.
Decruncher: |Enter |During|Exit |
IRQ enabled | 1| 1| 1|
DONE!
--------------- APPLE DISK BUILDER ---------------
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
1 file(s) copied.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
'Applewin.exe' is not recognized as an internal or external command,
operable program or batch file.
DONE
Press any key to continue . . .
Loading project secretpart2
Loading project...
The project was loaded!
Starting compilation...
The file was saved: src/generated_script.c
The file was saved: secretpart2.builder
Compilation failed!
Error: Failed to copy file.
Failed to run emulator!

secretpart2 - Copy.zip
hi still cant figure out just says failed. maybe you can find something? thanks

Hello; it will still take a few days before I have access to my computer, again; does the problem only happen in the Apple II?

ahh no rush. it happens on c64 and other platforms... not sure why the other games im workin on seem to work (at least on c64)... thanks.

Okay, found the cause: two of the images were actually jpg images, instead of png
Corrected project:
issue43.zip
I also opened issues #50, #49, #48, #47, #46, #45 and #44 with the problems found while testing.

thanks great all 3 parts work for c64 now! Ill send the choice4genesis game Im workn on and when the vcs editor gets more features id like to use that too! retro gaming hooray!!!

Thanks for your interest! ;)


Fix switch language

Fix #14482

Codecov Report

Merging #14484 (9d9ed87) into master (c10503a) will decrease coverage by 0.01%.
The diff coverage is 25.00%.

@@            Coverage Diff             @@
##           master   #14484      +/-   ##
==========================================
- Coverage   42.11%   42.10%   -0.02%
==========================================
  Files         758      758
  Lines       81104    81103       -1
==========================================
- Hits        34160    34146      -14
- Misses      41367    41377      +10
- Partials     5577     5580       +3

Impacted Files
Coverage Δ

modules/middlewares/locale.go
70.58% <25.00%> (-12.75%)
:arrow_down:

modules/indexer/stats/db.go
56.00% <0.00%> (-12.00%)
:arrow_down:

modules/middlewares/cookie.go
48.27% <0.00%> (-10.35%)
:arrow_down:

modules/git/repo_language_stats_nogogit.go
57.44% <0.00%> (-6.39%)
:arrow_down:

modules/git/batch_reader_nogogit.go
44.77% <0.00%> (-1.50%)
:arrow_down:

services/pull/pull.go
42.15% <0.00%> (-0.50%)
:arrow_down:

modules/queue/workerpool.go
60.00% <0.00%> (ø)

models/repo_list.go
78.76% <0.00%> (+0.88%)
:arrow_up:

modules/process/manager.go
75.00% <0.00%> (+2.50%)
:arrow_up:

models/unit.go
49.31% <0.00%> (+2.73%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1080b27...9d9ed87. Read the comment docs.

Codecov Report

Merging #14484 (9d9ed87) into master (c10503a) will decrease coverage by 0.01%.
The diff coverage is 25.00%.

@@            Coverage Diff             @@
##           master   #14484      +/-   ##
==========================================
- Coverage   42.11%   42.10%   -0.02%
==========================================
  Files         758      758
  Lines       81104    81103       -1
==========================================
- Hits        34160    34146      -14
- Misses      41367    41377      +10
- Partials     5577     5580       +3

Impacted Files
Coverage Δ

modules/middlewares/locale.go
70.58% <25.00%> (-12.75%)
:arrow_down:

modules/indexer/stats/db.go
56.00% <0.00%> (-12.00%)
:arrow_down:

modules/middlewares/cookie.go
48.27% <0.00%> (-10.35%)
:arrow_down:

modules/git/repo_language_stats_nogogit.go
57.44% <0.00%> (-6.39%)
:arrow_down:

modules/git/batch_reader_nogogit.go
44.77% <0.00%> (-1.50%)
:arrow_down:

services/pull/pull.go
42.15% <0.00%> (-0.50%)
:arrow_down:

modules/queue/workerpool.go
60.00% <0.00%> (ø)

models/repo_list.go
78.76% <0.00%> (+0.88%)
:arrow_up:

modules/process/manager.go
75.00% <0.00%> (+2.50%)
:arrow_up:

models/unit.go
49.31% <0.00%> (+2.73%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1080b27...9d9ed87. Read the comment docs.


OCPEDGE-825: Konflux branch merge

Merges main-rhtap branch to main with the changes needed to reflect the branch change as well as updated links to the quay repos after re-onboarding the konflux components

/jira refresh

/assign @suleymanakbas91

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 57.61%. Comparing base (7d3ceed) to head (31f133f).
Report is 69 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #761      +/-   ##
==========================================
- Coverage   57.74%   57.61%   -0.14%
==========================================
  Files          53       57       +4
  Lines        4215     4480     +265
==========================================
+ Hits         2434     2581     +147
- Misses       1536     1636     +100
- Partials      245      263      +18

see 25 files with indirect coverage changes

/lgtm


Module not found error

I installed the package with pip
Still the antispam module is not available to import

Can you please provide more information?
What you did, what commands you ran, the code you tried etc

We now have a support discord, you can join here @billydevyt


Traefik-k8s doesn't start the service when deployed in a bundle

Bug Description
When deployed in a bundle on gh runner, traefik-k8s doesn't start waiting for its service.
This issue doesn't occur:

when the bundle is deployed locally or on ec2 with the same environment
when deployed separately outside of bundle, locally or on gh runner

@sed-i it looks that the issue may be tls related, could you advise please?
To Reproduce
Run integration tests with traefik-k8s in a bundle
Environment
microk8s 1.26-strict/stable with dns hostpath-storage metallb addons
juju 3.1
juju agent version 3.1.0
Relevant log output
Full log output: https://pastebin.canonical.com/p/RT4spKKWJD/

unit-traefik-admin-0: 12:13:08 DEBUG unit.traefik-admin/0.juju-log certificates:12: HTTP Request: GET https://<IP_ADDRESS>/api/v1/namespaces/testing/services/traefik-admin "HTTP/1.1 200 OK"
unit-traefik-admin-0: 12:13:08 DEBUG unit.traefik-admin/0.juju-log certificates:12: Pebble API is not ready; ConnectionError: [Errno 2] No such file or directory
unit-traefik-admin-0: 12:13:08 DEBUG unit.traefik-admin/0.juju-log certificates:12: Deferring <IngressPerAppDataProvidedEvent via TraefikIngressCharm/IngressPerAppProvider[ingress]/on/data_provided[12]>.
unit-traefik-admin-0: 12:13:08 DEBUG unit.traefik-admin/0.juju-log certificates:12: Re-emitting deferred event <IngressPerAppDataProvidedEvent via TraefikIngressCharm/IngressPerAppProvider[ingress]/on/data_provided[28]>.
unit-traefik-admin-0: 12:13:09 DEBUG unit.traefik-admin/0.juju-log certificates:12: HTTP Request: GET https://<IP_ADDRESS>/api/v1/namespaces/testing/services/traefik-admin "HTTP/1.1 200 OK"
unit-traefik-admin-0: 12:13:09 DEBUG unit.traefik-admin/0.juju-log certificates:12: Pebble API is not ready; ConnectionError: [Errno 2] No such file or directory
unit-traefik-admin-0: 12:13:09 DEBUG unit.traefik-admin/0.juju-log certificates:12: Deferring <IngressPerAppDataProvidedEvent via TraefikIngressCharm/IngressPerAppProvider[ingress]/on/data_provided[28]>.
unit-traefik-admin-0: 12:13:09 DEBUG unit.traefik-admin/0.juju-log certificates:12: Emitting Juju event certificates_relation_changed.
unit-traefik-admin-0: 12:13:09 DEBUG unit.traefik-admin/0.juju-log certificates:12: Emitting custom event <CertificateAvailableEvent via TraefikIngressCharm/TLSCertificatesRequiresV2[certificates]/on/certificate_available[32]>.
unit-traefik-admin-0: 12:13:09 ERROR unit.traefik-admin/0.juju-log certificates:12: Uncaught exception while in charm code:
Traceback (most recent call last):
  File "/usr/lib/python3.8/urllib/request.py", line 1354, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/lib/python3.8/http/client.py", line 1256, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output
    self.send(msg)
  File "/usr/lib/python3.8/http/client.py", line 951, in send
    self.connect()
  File "/var/lib/juju/agents/unit-traefik-admin-0/charm/venv/ops/pebble.py", line 252, in connect
    self.sock.connect(self.socket_path)
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/lib/juju/agents/unit-traefik-admin-0/charm/venv/ops/pebble.py", line 1484, in _request_raw
    response = self.opener.open(request, timeout=self.timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/usr/lib/python3.8/urllib/request.py", line 542, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/var/lib/juju/agents/unit-traefik-admin-0/charm/venv/ops/pebble.py", line 266, in http_open
    return self.do_open(_UnixSocketConnection, req,  # type:ignore
  File "/usr/lib/python3.8/urllib/request.py", line 1357, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 2] No such file or directory>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./src/charm.py", line 1016, in <module>
    main(TraefikIngressCharm, use_juju_for_storage=True)
  File "/var/lib/juju/agents/unit-traefik-admin-0/charm/venv/ops/main.py", line 436, in main
    _emit_charm_event(charm, dispatcher.event_name)
  File "/var/lib/juju/agents/unit-traefik-admin-0/charm/venv/ops/main.py", line 144, in _emit_charm_event
    event_to_emit.emit(*args, **kwargs)
  File "/var/lib/juju/agents/unit-traefik-admin-0/charm/venv/ops/framework.py", line 354, in emit
    framework._emit(event)
  File "/var/lib/juju/agents/unit-traefik-admin-0/charm/venv/ops/framework.py", line 830, in _emit
    self._reemit(event_path)
  File "/var/lib/juju/agents/unit-traefik-admin-0/charm/venv/ops/framework.py", line 919, in _reemit
    custom_handler(event)
  File "/var/lib/juju/agents/unit-traefik-admin-0/charm/lib/charms/tls_certificates_interface/v2/tls_certificates.py", line 1342, in _on_relation_changed
    self.on.certificate_available.emit(
  File "/var/lib/juju/agents/unit-traefik-admin-0/charm/venv/ops/framework.py", line 354, in emit
    framework._emit(event)
  File "/var/lib/juju/agents/unit-traefik-admin-0/charm/venv/ops/framework.py", line 830, in _emit
    self._reemit(event_path)
  File "/var/lib/juju/agents/unit-traefik-admin-0/charm/venv/ops/framework.py", line 919, in _reemit
    custom_handler(event)
  File "./src/charm.py", line 273, in _on_certificate_available
    self.container.push(_CERTIFICATE_PATH, self._stored.certificate, make_dirs=True)
  File "/var/lib/juju/agents/unit-traefik-admin-0/charm/venv/ops/model.py", line 2034, in push
    self._pebble.push(str(path), source, encoding=encoding,
  File "/var/lib/juju/agents/unit-traefik-admin-0/charm/venv/ops/pebble.py", line 1899, in push
    response = self._request_raw('POST', '/v1/files', None, headers, data)
  File "/var/lib/juju/agents/unit-traefik-admin-0/charm/venv/ops/pebble.py", line 1497, in _request_raw
    raise ConnectionError(e.reason)
ops.pebble.ConnectionError: [Errno 2] No such file or directory
unit-traefik-admin-0: 12:13:10 ERROR juju.worker.uniter.operation hook "certificates-relation-changed" (via hook dispatching script: dispatch) failed: exit status 1

Additional context
An example of tests that are passing locally, but on gh runner the model times out waiting for traefik service.
We use ingress per app - in the above example, we deploy traefik-k8s as traefik-admin and traefik-public.
The ip range for metallb is set as in observability tests.

Thanks @natalian98.
I do not recall seeing such a failure.
I imagine it's because deploying a bundle is intensive, and on slow machines the relation event comes before pebble-ready.
See fix attempt in #156.

Not sure about the other failure:
  traefik-admin/0 [idle] waiting: waiting for service: 'traefik'
  traefik-public/0 [idle] waiting: gateway address unavailable

Any chance:

Metallb hasn't released a previously used IP?
traefik-public binds to port 80 and that's why traefik-admin is stuck? (they can't both bind to port 80; similar to how you can't have nginx together with traefik).

Other ideas @rbarry82?

Despite the message (which possibly happened before the service was re-created as a LB):
traefik-admin                            waiting      1  traefik-k8s                     edge     121  <IP_ADDRESS>      no       installing agent
traefik-public                  2.9.6    waiting      1  traefik-k8s                     edge     121  <IP_ADDRESS>   no       installing agent

This is CI being slow, plain and simple, really. The GH runners are 2 CPU/7GB, but there's not a lot of visibility into the actual configuration, whether they're preemptible, or anything else. The only real observable thing is that it's gotten much slower over the past few months, and side-channel conversations indicate that Azure has been running against a wall for a while.
That post only talks about FRA, but it's entirely plausible that customers who need capacity have started to spread across regions where it wouldn't violate compliance, and it would be hard to believe that a company of Microsoft's size wouldn't be able to get additional datacenter space/nodes/whatever in under 6 months if there weren't supply chain problems.
As much of a bad answer as this is, the best response may be to increase timeouts or try to move CI jobs to internal runners.

Hi, accidentally noticed this issue. JFYI:  https://github.com/canonical/operator/issues/844
P.S. tests instabilities on GH runners makes us crazy too. At least troubleshooting could be easier now.


Add a method to get a cookie by cookie name

I added a method to simply get it from the CookieJar by the name of the cookie.

Duplicate of #1318
I am more in favor of the style of that PR, but there are pending requests there. If you could wrap those up, it would be nice.

Oh, infect those are already fixed.

Ok


Sometimes b2 stalls/throttles

Sometimes it appears when using rclone sync that the transfer+checking stalls.
As you can see below, for a few minutes the number of checks and the number of transfers does not increase.

2017/05/20 14:18:53
Transferred:   857.928 MBytes (37.315 kBytes/s)
Errors:                 0
Checks:             67737
Transferred:         2699
Elapsed time:  6h32m22.5s

2017/05/20 14:19:53
Transferred:   857.928 MBytes (37.221 kBytes/s)
Errors:                 0
Checks:             67737
Transferred:         2699
Elapsed time:  6h33m22.5s

2017/05/20 14:20:53
Transferred:   857.928 MBytes (37.127 kBytes/s)
Errors:                 0
Checks:             67737
Transferred:         2699
Elapsed time:  6h34m22.5s

2017/05/20 14:21:53
Transferred:   857.928 MBytes (37.032 kBytes/s)
Errors:                 0
Checks:             67737
Transferred:         2699
Elapsed time:  6h35m22.5s

2017/05/20 14:22:53
Transferred:   857.928 MBytes (36.939 kBytes/s)
Errors:                 0
Checks:             67737
Transferred:         2699
Elapsed time:  6h36m22.5s

2017/05/20 14:23:53
Transferred:   857.928 MBytes (36.847 kBytes/s)
Errors:                 0
Checks:             67737
Transferred:         2699
Elapsed time:  6h37m22.5s

.
Fortunately after a while (sometimes a few minutes, sometimes many), things resume. So this is not a fatal issue.
I am guessing that b2 is throttling. If that is the case, is there anything I can do to prevent it?
I am using rclone v 1.35 with --checkers 8 --transfers 8 --bwlimit 700k --filter-from large-filter-file
I don't think it is the case that rclone is simply chugging through filtered-out files during this time, because I see no disk activity in my OS monitor (gkrellm).

That does seem strange!
Can you get a log with -vv of it happening?
It might be that the directory listing thread is having lots of retries at b2 maybe.

This is probably related to  #1443  I think.
Because the chunks for large files are buffered in memory...
I'll check the code.
I'll still like to see those logs if possible.

I think i am seeing this issue... i have -vv set, do you still want logs ?

As #1443 is closed, I'm going to close this too as I think it fixes the issue


Unused controller initialization of route (Getx Binding)

When there is no usage of controller inside the view, controller would not initialize at all.
Please don't tell me this is a feature!!!
To Reproduce
1- Write a binding GetPage with binding, controller and view classes
2- DO NOT use controller inside view (just extend GetView)
3- Write some code inside onInit.
4- The code would not execute!.
Expected behavior
I expect controller gets initialize
Flutter Version:
1.24.0-10.2.pre • channel beta
Getx Version:
3.24.0
Describe on which device you found the bug:
Android emulator api 28.
Reproduction Code:
void main() => runApp(
      GetMaterialApp(
        title: "MyApp",
        initialRoute: 'MyRoute',
        getPages: [
          GetPage(
            name: 'MyRoute',
            page: () => MyView(),
            binding: MyBinding(),
          ),
        ],
      ),
    );

class MyBinding extends Bindings {
  @override
  void dependencies() {
    Get.lazyPut<MyController>(
      () => MyController(),
    );
  }
}

class MyController extends GetxController {
  @override
  void onInit() {
    print('It must be execute, but it won\'t');
  }

  @override
  void onReady() {}

  @override
  void onClose() {}
}

class MyView extends GetView<MyController> {
  @override
  Widget build(context) {
    return Material(child: Center(child: Text("No use of controller")));
  }
}

Use Get.put instead of Get.lazyPut in you bindings.

Use Get.put instead of Get.lazyPut in you bindings.

I'm facing the same issue


CVSL-965: Add a partial index to licence table to prevent duplicate i…

…n progress licences for a nomis id.

********* NOT TO BE MERGED ************
This is just an example of how using a partiall index could be used to prevent more than one in progress licence being created for a nomis id.


error: expected class-name before '{' token

I try to compile Cuberite with the ndk, however, as i say "compile everything in lib and src directory",
the compilation of the example1 fails. here the error message.
Log

In file included from lib/SQLiteCpp/include/SQLiteCpp/SQLiteCpp.h:22:0,
                 from cuberite-android/jni/lib/SQLiteCpp/examples/example1/main.cpp:18:
lib/SQLiteCpp/include/SQLiteCpp/Exception.h:25:1: error: expected class-name before '{' token
 {
 ^
lib/SQLiteCpp/include/SQLiteCpp/Exception.h: In constructor 'SQLite::Exception::Exception(const string&)':
lib/SQLiteCpp/include/SQLiteCpp/Exception.h:33:27: error: expected class-name before '(' token
         std::runtime_error(aErrorMessage)
                           ^
lib/SQLiteCpp/include/SQLiteCpp/Exception.h:33:27: error: expected '{' before '(' token
In file included from lib/SQLiteCpp/include/SQLiteCpp/Column.h:15:0,
                 from lib/SQLiteCpp/include/SQLiteCpp/Database.h:15,
                 from lib/SQLiteCpp/include/SQLiteCpp/SQLiteCpp.h:23,
                 from cuberite-android/jni/lib/SQLiteCpp/examples/example1/main.cpp:18:
lib/SQLiteCpp/include/SQLiteCpp/Statement.h: In member function 'void SQLite::Statement::check(int) const':
lib/SQLiteCpp/include/SQLiteCpp/Statement.h:460:61: error: exception handling disabled, use -fexceptions to enable
             throw SQLite::Exception(sqlite3_errmsg(mStmtPtr));
                                                             ^
cuberite-android/jni/lib/SQLiteCpp/examples/example1/main.cpp: In function 'int main()':
cuberite-android/jni/lib/SQLiteCpp/examples/example1/main.cpp:107:46: error: 'e' was not declared in this scope
         std::cout << "SQLite exception: " << e.what() << std::endl;
                                              ^
cuberite-android/jni/lib/SQLiteCpp/examples/example1/main.cpp:206:46: error: 'e' was not declared in this scope
         std::cout << "SQLite exception: " << e.what() << std::endl;
                                              ^
cuberite-android/jni/lib/SQLiteCpp/examples/example1/main.cpp:224:46: error: 'e' was not declared in this scope
         std::cout << "SQLite exception: " << e.what() << std::endl;
                                              ^
cuberite-android/jni/lib/SQLiteCpp/examples/example1/main.cpp:243:46: error: 'e' was not declared in this scope
         std::cout << "SQLite exception: " << e.what() << std::endl;
                                              ^
cuberite-android/jni/lib/SQLiteCpp/examples/example1/main.cpp:283:46: error: 'e' was not declared in this scope
         std::cout << "SQLite exception: " << e.what() << std::endl;
                                              ^
cuberite-android/jni/lib/SQLiteCpp/examples/example1/main.cpp:314:50: error: 'e' was not declared in this scope
             std::cout << "SQLite exception: " << e.what() << std::endl;
                                                  ^
cuberite-android/jni/lib/SQLiteCpp/examples/example1/main.cpp:337:50: error: 'e' was not declared in this scope
             std::cout << "SQLite exception: " << e.what() << std::endl;
                                                  ^
cuberite-android/jni/lib/SQLiteCpp/examples/example1/main.cpp:351:46: error: 'e' was not declared in this scope
         std::cout << "SQLite exception: " << e.what() << std::endl;
                                              ^
cuberite-android/jni/lib/SQLiteCpp/examples/example1/main.cpp:407:24: warning: unused variable 'sizew' [-Wunused-variable]
                 size_t sizew = fwrite(blob, 1, size, fp);
                        ^
cuberite-android/jni/lib/SQLiteCpp/examples/example1/main.cpp:420:46: error: 'e' was not declared in this scope
         std::cout << "SQLite exception: " << e.what() << std::endl;
                                              ^
android-ndk-r11b/build/core/build-binary.mk:462: recipe for target 'cuberite-android/obj/local/armeabi/objs/Cuberite/lib/SQLiteCpp/examples/example1/main.o' failed
make: *** [cuberite-android/obj/local/armeabi/objs/Cuberite/lib/SQLiteCpp/examples/example1/main.o] Error 1

Hi, you are trying to compile without exception which I do not support (see your error message "error: exception handling disabled, use -fexceptions to enable").
Cheers!

Thank you! (I knew it wasn't a serious code problem (or I thought it wasn't) but I only saw the "not declared" messages)

You're welcome :)

I am now getting errors with gtest.h
any way to skip the tests or what do i have to enter in my include path?
[armeabi] Compile++ thumb: Cuberite <= Database_test.cpp
cuberite-android/jni/lib/SQLiteCpp/tests/Database_test.cpp:14:25: fatal error: gtest/gtest.h: No such file or directory
 #include <gtest/gtest.h>
                         ^
compilation terminated.
android-ndk-r11b/build/core/build-binary.mk:462: recipe for target 'cuberite-android/obj/local/armeabi/objs/Cuberite/lib/SQLiteCpp/tests/Database_test.o' failed
make: *** [cuberite-android/obj/local/armeabi/objs/Cuberite/lib/SQLiteCpp/tests/Database_test.o] Error 1

edit: maybe i can fix it by excluding Database_test.cpp if its not necessary

at last, i found out that i dont even have to compile the libs, just including them is enough :stuck_out_tongue:
thank you!


Add note wrong word count

Description
Add note's word count is showing wrong count when letters are removed (Because setState functions are asynchronous)

Can I make PR?

yes
go ahead!


[FEATURE] exclude segments from HLS playlists

Checklist

[x] I'm reporting a feature request
[x] I've verified that I'm running youtube-dl version 2021.02.10
[x] I've searched the bugtracker for similar feature requests including closed ones

Description

I came across several sites I downloaded some videos from, where the first segment in the playlist (m3u8) is advertising, age restriction or copyright warning.
example: https://puhutv.com/cukur-115-bolum-izle or any other video from the site

download the video (lowest quality just for the test):

C:\>youtube-dl -v -c --no-check-certificate -f hls-395-0 https://puhutv.com/cukur-115-bolum-izle
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-c', '--no-check-certificate', '-f', 'hls-395-0', 'https://puhutv.com/cukur-115-bolum-izle']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2021.02.10
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg 2021-01-09-git-2e2891383e-full_build-www.gyan.dev, ffprobe 2021-01-09-git-2e2891383e-full_build-www.gyan.dev
[debug] Proxy map: {}
[puhutv] cukur-115-bolum: Downloading JSON metadata
[puhutv] cukur-115-bolum: Downloading video JSON
[puhutv] 23958: Downloading m3u8 information
[puhutv] 23958: Downloading m3u8 information
[puhutv] 23958: Downloading m3u8 information
[puhutv] 23958: Downloading m3u8 information
[puhutv] 23958: Downloading m3u8 information
[puhutv] 23958: Downloading m3u8 information
[debug] Invoking downloader on 'http://ck8di1zz.rocketcdn.com/2021/02/09/62319_6cf726d97d248ef73d285d3ab173a872_max_2160p.smil/62319__6cf726d97d248ef73d285d3ab173a872__P240.mp4_chunk.m3u8?r=6'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1495
[download] Destination: 115. Bölüm 4. Sezon 115. Bölüm-23958.mp4
[download] 100% of 499.26MiB in 11:12
[debug] ffmpeg command line: ffprobe -show_streams "file:115. Bölüm 4. Sezon 115. Bölüm-23958.mp4"
[ffmpeg] Fixing malformed AAC bitstream in "115. Bölüm 4. Sezon 115. Bölüm-23958.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:115. Bölüm 4. Sezon 115. Bölüm-23958.mp4" -c copy -f mp4 "-bsf:a" aac_adtstoasc "file:115. Bölüm 4. Sezon 115. Bölüm-23958.temp.mp4"

copy & paste in the browser the m3u8 link from the ytdl output to download and inspect the playlist :

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:7
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:5.944,
/rtuk_6_360.ts
#EXT-X-DISCONTINUITY
#EXTINF:6.006,
62319__6cf726d97d248ef73d285d3ab173a872__P240.mp4-n_0_0_0.ts
#EXTINF:6.006,
62319__6cf726d97d248ef73d285d3ab173a872__P240.mp4-n_1_0_0.ts
#EXTINF:6.006,
62319__6cf726d97d248ef73d285d3ab173a872__P240.mp4-n_2_0_0.ts
...
etc.

rtuk_6_360.ts contains the age restriction warning that shows in the beginning of the video, that I want to exclude and download only the main movie. It is even encoded with different parameters than the rest of the video.
My proposal is for option to filter out such unwanted segments from a m3u8 or dash playlist  (just like individual videos can be skipped from ordinary playlist with --playlist-start, --playlist-end and --playlist-items options). e.g. something in this manner:
--segment-start, --segment-end, --segment-items
Note my request for this feauture is as general option and not for these specific sites only as I think it will be more flexible if it can be used with the generic extractor as well.

@dstftw I made some changes to the description, I hope it meets all requirements now

Continuation of #15748.


Enhance sample app to show traces and metrics

Thanks for creating this sample app. I did try to use but it doesn't populate the method or status code. Can you please add the support?
Also if you can show the metrics e.g. number of requests, status code etc.

thanks for opening the issue @rohitjoshi
Which version of SigNoz are you using?

Version: v0.8
Both HTTP (axum) and gRPC(tonic)

@frol Are you running the sample app ?

@pranay01  yep, I’m running this sample app and trying to understand how I should setup opentelemetry before I go implementing it in my production apps

@frol What HTTP framework are you using?

@srikanthccv I use this sample repo!
https://github.com/SigNoz/sample-rust-app/blob/c9b0c2a24579915b3ad6ff87fa64c0ff03cc92fe/Cargo.toml#L14

@forl there is very limited number of instrumentations supported by OpenTelemetry for rust crates. I don't think there are any instrumentation crates for popular db packages so there is no way to automatically trace them as of now. Here you can find the full list https://github.com/open-telemetry/opentelemetry-rust#related-crates.


h5 no such file or directory on -p

The  -p  option turns to the following error in Linux:

Traceback (most recent call last):
File "/home/hzbian/RAY-X/build/bin/python/py_plot.py", line 160, in
plotOutput(str(sys.argv[1]), int(sys.argv[2]))
File "/home/hzbian/RAY-X/build/bin/python/py_plot.py", line 146, in plotOutput
df = importOutput(h5_file)
File "/home/hzbian/RAY-X/build/bin/python/py_plot.py", line 23, in importOutput
with h5py.File(filename, 'r') as h5f:
File "/home/hzbian/RAY-X/build/bin/rayxvenv/lib64/python3.10/site-packages/h5py/_hl/files.py", line 533, in init
fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
File "/home/hzbian/RAY-X/build/bin/rayxvenv/lib64/python3.10/site-packages/h5py/_hl/files.py", line 226, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 106, in h5py.h5f.open
FileNotFoundError: [Errno 2] Unable to open file (unable to open file: name = 'METRIX_U41_G1_H1_318eV_PS_MLearn.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
Traceback (most recent call last):
File "/home/hzbian/RAY-X/build/bin/python/py_plot_entry.py", line 24, in startPlot
output = subprocess.check_call(
File "/usr/lib64/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/hzbian/RAY-X/build/bin/rayxvenv/bin/python3', '/home/hzbian/RAY-X/build/bin/python/py_plot.py', 'METRIX_U41_G1_H1_318eV_PS_MLearn.rml', '1']' returned non-zero exit status 1.
[        TerminalApp.cpp:129] Error while running the python module: [ERR011]startPlot
[        TerminalApp.cpp:129] Terminating...

Hey,
on which commit are you? please try the newest version.
what command did you execute?

Same problem on 368fde220a040ce7e7827e3c56e7c1c578336494.

Ah, it's an absolute path problem.
I'll look into it.
Until it's fixed you can copy BL_file.rml to your TerminalApp and do
./TerminalApp -x -i BL_file.rml -p instead.

Should be fixed now, please try again @hzbian

This works now. Shouldn't this issue be covered by a unit test?

Also, this error might just resolve itself once we plot within c++,
which is currently being implemented by Oussama.
So I'd say we'll wait a few weeks, and then re-check whether the issue remains.

Hello there,
An almost similar plot version is now live on dev branch all written in C++ . (Though it still calls py interpreter internally.)
Make sure that you have python3, python3-dev and python3-matplotlib (also through pip) installed for this.

This works now, no issue left. Thank you @OSMaxwell @memoryleak47 for the great work!


Error adding new vehicle

From console:
POST http://<IP_ADDRESS>:3000/api/locations/c0b694ec-3352-43e3-9f22-77c87fe83d48/vehicles/ 404 (Not Found)
angular.js?3437:14362 No technical message was provided for the following error: 'The data you are requesting does not exist.'
(anonymous) @ angular.js?3437:14362
logToApiDecorator @ logging.constants.js?577f:31
notifyError @ notification-service.factory.js?6802:29
handleResponseError @ http-error-handler.factory.js?ea6f:55
processQueue @ angular.js?3437:16689
(anonymous) @ angular.js?3437:16733
$eval @ angular.js?3437:18017
$digest @ angular.js?3437:17827
$apply @ angular.js?3437:18125
done @ angular.js?3437:12233
completeRequest @ angular.js?3437:12459
requestLoaded @ angular.js?3437:12387
angular.js?3437:14362 Possibly unhandled rejection: {"data":"Status Code: 404; Not Found                                                                                ","status":404,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"http://<IP_ADDRESS>:3000/api/locations/c0b694ec-3352-43e3-9f22-77c87fe83d48/vehicles/","data":{"vin":"88YCD4","makeId":"che","modelId":"cvt","year":2016},"headers":{"Accept":"application/json, text/plain, /","Content-Type":"application/json;charset=utf-8"},"cached":false},"statusText":"Not Found"}

Hi guys - would be good to have this working for the demo tomorrow, but nothing critical.

This is fixed in pull request #25.


Create .gitignore

CIAL. As far as I can tell, there is no code here due to no coding languages being used which would by extension mean that this PR is invalid.

CIAL. As far as I can tell, there is no code here due to no coding languages being used which would by extension mean that this PR is invalid.

Sorry to disagree, but comment isn't code, literally, so, comment a no code implementation is, in fact, no code at all, so the both the style guide, as any other comment in no code is valid, since no code is gonna be compiled in the end.
imho it will be huge if every implementation using no code had it's own docs...

CIAL. As far as I can tell, there is no code here due to no coding languages being used which would by extension mean that this PR is invalid.

Sorry to disagree, but comment isn't code, literally, so, comment a no code implementation is, in fact, no code at all, so the both the style guide, as any other comment in no code is valid, since no code is gonna be compiled in the end.
imho it will be huge if every implementation using no code had it's own docs...

A markdown file is not code, and like you said, a comment isn't either. This pull request would be removing not-code.

LGTM

@ojmarcelino thanks for efforts. Great PR.
No code language does not allow code by definition. Fair enough, but reality itself does not aware of human definitions. Actually it would make sense to have this commit, to decrease further more possibility of quantum fluctuations smuggling some bits in this repository.


stm32 xspi driver supports Memory mapped mode for XiP

Like the flash_stm32_qspi or flash_stm32_ospi drivers, this PR adds the Memory Mapped mode
so that code can eXecute In Place from the external  NOR flash
This is validated on the stm32H5 serie and demonstrated on the stm32h573i_dk disco kit (Macronix MX25LM51245 octo-NOR ).
Running the samples/application_development/code_relocation_nocopy/ with CONFIG_STM32_MEMMAP=y
*** Booting Zephyr OS build v3.6.0-5497-g1db55c1f8901 ***
Address of main function 0x80005e1
Address of function_in_ext_flash 0x90000001
Address of var_ext_sram_data 0x200000a0 (10)
Address of function_in_sram 0x20000001
Address of var_sram_data 0x200000a4 (10)
Hello World! stm32h573i_dk

Requires https://github.com/zephyrproject-rtos/zephyr/pull/73220

CI failure : west build -p auto -b nrf54h20dk/nrf54h20/cpuapp samples/drivers/spi_flash due to https://github.com/zephyrproject-rtos/zephyr/issues/73005

rebase on df788d0b41300473f047a1497fae57e8ab351f26

adding the configuration to execute the samples/drivers/spi_flash/ on the stm32h573i_dk with the external NOR in MemoryMapped mode


dnsChallenge Godaddy MISMATCH_FORMAT

Do you want to request a feature or report a bug?
Bug
What did you expect to see?
dnsChallenge for Godaddy fails.  It worked fine a few days ago, but has since stopped.   Offhand, I don't have a specific coorelation between something that I changed, but I was attempting to configure Traefik to use wildcard certs with LE.  With non-wildcard certs and TLS Challenge it works fine.
The Godaddy API config is correct, this works and updates apropriately.

 curl -X PUT https://api.godaddy.com/v1/domains/mydomain.com/records/TXT/test_domain -H 'accept: application/json' -H 'Content-Type: application/json' -H 'Authorization: sso-key asdfasdf:sdfasdfasdf' -d '[ { "data": "asdfasdfasdfasdf", "port": 1, "priority": 0, "protocol": "string", "service": "string", "ttl": 3600, "weight": 1 } ]'

Using LEGO itself, fails in a different way:
docker run --env-file config/traefik/.godaddy.env goacme/lego --server=https://acme-staging-v02.api.letsencrypt.org/directory<EMAIL_ADDRESS>-d mydomain.com -d *.mydomain.com --dns.resolvers ns07.domaincontrol.com --dns godaddy -a  run
2020/04/21 15:30:58 Could not obtain certificates:

     acme: Error -> One or more domains had a problem:
[*.mydomain.com] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: No TXT record found at _acme-challenge.mydomain.com, url:
[mydomain.com] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: During secondary validation: Incorrect TXT record "nx6z5it8t5oYbPhFtzFBCw_TMqS0Ho0EeMeiDArxAUI" found at _acme-challenge.mydomain.com, url:

But the failure is different and appears to be related to a LEGO issue, but the error I'm getting appears to be the API call to godaddy isn't right.  Maybe the LEGO version that Traefik includes has a bug, but I wanted to start here.
What did you see instead?
dnsChallenge outputs this log entry:
time="2020-04-21T13:02:58Z" level=error msg="Unable to obtain ACME certificate for domains \"mydomain.com,*.mydomain.com\" : unable to generate a certificate for the domains [mydomain.com *.mydomain.com]: acme: Error -> One or more domains had a problem:\n[*.mydomain.com] [*.mydomain.com] acme: error presenting token: could not create record [{\"type\":\"TXT\",\"name\":\"_acme-challenge.mydomain\",\"data\":\"nEIRh9w_VjyZCGaJVKbHrCgyB7BPq3WQOXRKrIorffA\",\"ttl\":600}]; Status: 422; Body: {\"code\":\"INVALID_BODY\",\"fields\":[{\"code\":\"MISMATCH_FORMAT\",\"message\":\"does not conform to the 'domain' format, based on pattern: /^[^.]{1,63}(\\\\.[^.]{1,63})+$/\",\"path\":\"path.domain\"}],\"message\":\"Request body doesn't fulfill schema, see details in `fields`\"}\n\n[mydomain.com] [mydomain.com] acme: error presenting token: could not create record [{\"type\":\"TXT\",\"name\":\"_acme-challenge.mydomain\",\"data\":\"xP81vKjJEi3tj1bGM3S7DCvqfUEhaD5qN-BOQLLjRJY\",\"ttl\":600}]; Status: 422; Body: {\"code\":\"INVALID_BODY\",\"fields\":[{\"code\":\"MISMATCH_FORMAT\",\"message\":\"does not conform to the 'domain' format, based on pattern: /^[^.]{1,63}(\\\\.[^.]{1,63})+$/\",\"path\":\"path.domain\"}],\"message\":\"Request body doesn't fulfill schema, see details in `fields`\"}\n\n" providerName=wild-card-test.acme

Output of traefik version: (What version of Traefik are you using?)
user@xeons:/mnt/vault/docker$ docker exec -it traefik traefik version
Version:      2.2.0
Codename:     chevrotin
Go version:   go1.14.1
Built:        2020-03-25T17:32:57Z
OS/Arch:      linux/amd64

What is your environment & configuration (arguments, toml, provider, platform, ...)?
docker-compose.yml

traefik:
    container_name: traefik
    env_file:
       - ./config/traefik/.godaddy.env
    image: "traefik:latest"
    restart: always
    command:
      - --entrypoints.web.address=:80
      - --entrypoints.websecure.address=:443
      - --providers.docker=true
      - --api
      - --log.level=DEBUG
      - --certificatesresolvers.wild-card-test.acme.dnsChallenge=true
      - --certificatesresolvers.wild-card-test.acme.storage=/wild-card-test-acme.json
      - --certificatesresolvers.wild-card-test.acme.dnsChallenge.provider=godaddy
      - --certificatesresolvers.wild-card-test.acme.dnsChallenge.delayBeforeCheck=10
      - --certificatesresolvers.wild-card-test.acme.caServer=https://acme-staging-v02.api.letsencrypt.org/directory
      - --serverstransport.insecureskipverify=true
    labels:
      - traefik.enable=true
      - traefik.http.routers.http-catchall.rule=hostregexp(`{host:.+}`)
      - traefik.http.routers.http-catchall.entrypoints=web
      - traefik.http.routers.http-catchall.middlewares=redirect-to-https
      - traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https
      - traefik.http.routers.traefik-secure.entrypoints=websecure
      - traefik.http.routers.traefik-secure.tls.domains[0].main=mydomain.com
      - traefik.http.routers.traefik-secure.tls.domains[0].sans=*.mydomain.com
      - traefik.http.routers.traefik-secure.rule=Host(`dashboard.mydomain.com`)
      - traefik.http.routers.traefik-secure.tls.certresolver=wild-card-test
      - traefik.http.routers.traefik-secure.tls=true
      - traefik.http.routers.traefik-secure.service=api@internal
    ports:
      - "443:443"
      - "80:80"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - ./config/traefik/leresolver:/leresolver
      - ./config/traefik/config:/config
      - ./config/traefik/leresolver-acme.json:/leresolver-acme.json
      - ./config/traefik/wild-card-test-acme.json:/wild-card-test-acme.json

If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)
traefik             | time="2020-04-21T13:38:29Z" level=debug msg="legolog: [WARN] [mydomain.com] acme: cleaning up failed: could not create record [{\"type\":\"TXT\",\"name\":\"_acme-challenge.mydomain\",\"data\":\"null\"}]; Status: 422; Body: {\"code\":\"INVALID_BODY\",\"fields\":[{\"code\":\"MISMATCH_FORMAT\",\"message\":\"does not conform to the 'domain' format, based on pattern: /^[^.]{1,63}(\\\\.[^.]{1,63})+$/\",\"path\":\"path.domain\"}],\"message\":\"Request body doesn't fulfill schema, see details in `fields`\"}"
traefik             | time="2020-04-21T13:38:29Z" level=debug msg=" "

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.

I don't think it's a bug, since dnsChallenge is configured correctly and works for other domains. I think it's specifically which how the godaddy dnsChallenge is implemented.

The DNS challenges implementations are in lego and only in lego.
Traefik uses lego v3.5 (the latest stable version of lego)
To reproduce with cURL (based on your logs):
curl -X PUT https://api.godaddy.com/v1/domains/.com/records/TXT/_acme-challenge.mydomain -H 'accept: application/json' -H 'Content-Type: application/json' -H 'Authorization: sso-key xxx:yyy' -d '[ { "data": "txt", "ttl": 3600 } ]'

The domain is .com and the record name is _acme-challenge.mydomain because the SOA queries to your nameservers don't return a positive answer for your domain mydomain.com.
The problem is neither in Traefik nor in lego, but in the nameservers that you use, or in your local DNS cache, or in the record set on your domain, etc.
So you have to check your environment.
If you want more help, please come to the community forum.


Use this lib hide button

how to change this button  or hide it

It's not possible. The button comes from the IFrame Player.


[SPARK-25610][SQL][TEST] Improve execution time of DatasetCacheSuite: cache UDF result correctly

What changes were proposed in this pull request?
In this test case, we are verifying that the result of an UDF  is cached when the underlying data frame is cached and that the udf is not evaluated again when the cached data frame is used.
To reduce the runtime we do :

Use a single partition dataframe, so the total execution time of UDF is more deterministic.
Cut down the size of the dataframe from 10 to 2.
Reduce the sleep time in the UDF from 5secs to 2secs.
Reduce the failafter condition from 3 to 2.

With the above change, it takes about 4 secs to cache the first dataframe. And subsequent check takes a few hundred milliseconds.
The new runtime for 5 consecutive runs of this test is as follows :
[info] - cache UDF result correctly (4 seconds, 906 milliseconds)
[info] - cache UDF result correctly (4 seconds, 281 milliseconds)
[info] - cache UDF result correctly (4 seconds, 288 milliseconds)
[info] - cache UDF result correctly (4 seconds, 355 milliseconds)
[info] - cache UDF result correctly (4 seconds, 280 milliseconds)

How was this patch tested?
This is s test fix.

cc @gatorsmile

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3703/
Test PASSed.

Test build #96980 has started for PR 22638 at commit 97d18fe.

Test build #96980 has finished for PR 22638 at commit 97d18fe.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96980/
Test PASSed.

Thanks a lot @gatorsmile @mgaido91


Improve streaming mechanism

The ComputeJsServerResponse object is an implementation of ServerResponse from Node.js whose Writable is wired to an in-memory buffer.
One of the members of this class is computeResponse, a Promise that resolves to a Response. Currently this object resolves in response to the finish event, at which point a Response object is instantiated, initialized with the status code, headers, and body based on the data that has been written to the in-memory buffer, and used as the resolution value.
The problem here is that the Response object isn't created until finish, so the response can't really be streamed. if the process performs anything that takes time, such as performing other fetches, the creation of the Response object is held off until all this finishes.
This should be changed to resolve as soon as _headerSent is set true, and then to set up the body to be a ReadableStream that gets fed by _writtenDataBuffer as its entries get set to .written = true.

Have released 0.3.0 that does this.
With a simple example:
/// <reference types="@fastly/js-compute" />

import http from '@fastly/http-compute-js';

const server = http.createServer(async (req, res) => {
  res.setHeader('Content-Type', 'text/plain');
  res.write('foo before\n');

  const response = await fetch('https://http-me.glitch.me/now?wait=2000', {
    backend: 'http-me',
  });
  const text = await response.text();
  res.write(text + '\n');
  res.write('foo after\n');
  res.end();
});

server.listen();

This code now streams
foo before

and then this comes in two seconds later:
2022-10-21T06:42:33.374Z
foo after

Compare time to first byte:
(before)

(after)

Additionally, 0.3.1 made a change where streams using UTF8 would be converted to a byte stream using the built-in TextEncoder instead of Buffer.from which was using a polyfill, greatly improving performance.

Closing this one out.


Source Switcher

https://github.com/exeldro/obs-source-switcher

Branch ready to summit as a pull request:

https://github.com/flexiondotorg/nixpkgs/tree/obs-source-switcher

Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)

  1 package built:

obs-studio-plugins.obs-source-switcher

https://github.com/NixOS/nixpkgs/pull/228393

needs rebase ?


Creating nested directories from Windows in WSL file system creates 'limbo' directories

I'm trying to access the WSL file system from a Windows application by creating folders and files inside of a WSL folder paths accessed via UNC pathing. I seem to be able to create files, but when I create folders the folder don't appear to be visible to Windows or WSL (via VS Code Remote browsing). Further Windows Directory.Exists() reports that a folder exists when I can't actually see it anyway I look at the actual location.
The specific use case here is that I'm accessing a Jekyll installation in WSL at:
/usr/projects/testsite

Inside of my application I use a path like this to get to the folder:
\\wsl$\Ubuntu\usr\projects\testsite

The application basically creates a file in a pre-existing folder for a post (in _posts) which appears to work. I can create the new file and I can see the file in Windows and also the WSL remote in VS Code.
The application also creates a new folder and copies several files into that folder. The Folder structure is something like assets/2020-05-28-posttitle. It creates the folder and then copies post images into this folder.
When I run the code that creates the directory via:
Directory.Create(@"\\wsl$\Ubuntu\usr\projects\testsite\assets\2020-05-28-posttitle");

the command works. However, I can't see the files in the folder via Windows Explorer or VS Code remote. Explicitly navigating to that folder inside of WSL via:
cd /usr/projects/testsite/assets/2020-05-28-posttitle`

fails. I can navigate as far as the assets folder, but the subfolder is not listed.
However, if do the following inside of my code:
Directory.Exists(@"\\wsl$\Ubuntu\usr\projects\testsite\assets\2020-05-28-posttitle");

the call returns true.

One thing to note is that the Directory.Create() call may be creating both the assets folder as well as the post specific folder in a single command. This works fine in Windows, but I wonder if there's perhaps something happening here that's breaking the WSL folder creation, since the first part the assets folder appears to be created.
Windows Version:  Microsoft Windows [Version 10.0.19041.264]
.NET Version: Full Framework 4.7.2

You could go with a tight dotnet repro but I'm skeptical you'll get a lot of eyeballs. Better fighting chance with some CMD or Powershell CLI steps.
As an initial matter you are creating the directory under /usr, and your default WSL user doesn't have permissions there. If you've made your default user root, don't. If you've made the permissions to /usr/assets 777, that should work but you are better off working in /home/you (at least in the repro) for sanity.

I'm replicating a user scenario, but I don't think that the /usr issue is permissions. Install is stock WSL - standard user, no changes to profiles etc. so not running as root by default.
As I mentioned the file that is created works as expected every time - it's created and updated. it's the directory related stuff that's failing.
When I get a minute I'll see if I can create a simple repro scenario and perhaps set it up as a powershell script. It's possible though the problem isn't in WSL but in the .NET bits and how its creating the directories. Because it sure looks like the folder is there but it's just not visible (tried ls -a but still no joy).

[cross-post on your edit]

I don't think that the /usr issue is permissions

Me either; but it fast-forwards one reply post in a hypothetical repro (dotnet, powershell, or otherwise)  [we've done that part now]

It's possible though the problem isn't in WSL but in the .NET bits

Anything possible. Heads up ref #4064. Although I don't think it is that either, and that issue has gone sideways.
A ten-liner dotnet app will probably get a "confirmed here" out of me if you post it. A PS CLI is better, but alas I bet you can't repro it with simple commands.

Thing is, skeptical it is "in the .NET bits" either. But a repro is the place to start.

Ok so I started pinning this down and it turns out this was definitely operator error on my part. The path I used was chopped missing a leading slash resulting in the mis-handled operation.


Why choose homography?

Thank you very much for your excellent work!
I have a question concerning the spatial scoring method. The code uses homography to estimate inlier points but homography seems to only work when all the keypoints are on the same plane, which is sometimes not the case. So I am wondering why not choosing fundamental matrix instead?
                H, mask = cv2.findHomography(index_keypoints, query_keypoints, cv2.RANSAC,
                                             ransacReprojThreshold=16*stride*1.5)
                # RANSAC reproj threshold is set to the (stride*1.5) in image space for vgg-16, given a particular patch stride
                # in this work, we ignore the H matrix output - but users of this code are welcome to utilise this for
                # pose estimation (something we may also investigate in future work)

Also, I would like to ask why the reprojection threshold is multiplied by 16 ?
Thanks a lot in advance!

Hi @setchin,
We decided to use homography rather than fundamental because in prototyping, we found that using homography resulting in slightly better results. In practice, it depends on the nature of the deployment environment, and planar surfaces are quite common in dense urban environments. If compute speed is not an issue, the ideal would probably be to use both homography and fundamental and then pick the one with the most inliers.
The 16* factor is accounting for the downsampling from the original image size to the feature map size of patch-netvlad (due to vgg-16 pooling). Because of the downsampling, the keypoints (in pixel coordinates) will always be at least 16 pixels apart from each other.
Hope this helps! Closing this issue now, but feel free to reopen if you have any further questions.

Thanks for the detailed explanation, it helps a lot!

Hey @StephenHausler , one question about the reprojection threshold, why is it stride*1.5?
@setchin in case you understood, could you please explain?

Hey @StephenHausler , one question about the reprojection threshold, why is it stride*1.5? @setchin in case you understood, could you please explain?

I assume it leaves some room for RANSAC error?

Yes, pretty much. The challenge with Patch-netvlad is that the local features are limited in resolution based on the resolution of the feature maps, which means that a large threshold is needed. The minimum error can't really ever be less than 16 pixels. The 1.5 times factor is a buffer giving RANSAC some more 'room' to optimize.