Widget response parse error in the IDE gives far too little information to be able to debug it

I'm working on new Date-format-pattern widgets for #7461 and I'm sometimes making mistakes. When that happens, some widgets do not load due to bad format.
The IDE logs inform me about this:
[ERROR] app\gui\src\controller\graph\widget.rs:184 ErrorMessage { msg: "missing field `constructor` at line 1 column 464" }

Failed to deserialize widget data for argument 'self'
consume @ router.ts:62
YR.console.<computed> @ router.ts:36
imports.wbg.__wbg_error_ef9a0be47931175f @ pkg.js:3704
/// ... the rest of obfuscated JS stacktrace
real @ pkg.js:261

Unfortunately, this message does not give me enough detail to be able to nail down the problem and I have to try to guess it myself. I don't even know to which node/widget this message is related.
It should be possible to see in the error message the full content of the parsed widget response. Ideally, it would be good to be able to somehow also correlate it for which method the widget response was being parsed - to make it easier to locate where the problem is.

This should be easier when we have the JS IDE up and running.
For now, we can test the Enso side using Standard.Visualization.Widgets.Widgets.get_widget_json.
Once the JS widgets are added we should ensure that debugging this flow is possible.

since i'm working on visualizations - i can probably try to figure out whether there's a nice way to validate data/recover from bad data.
one option would be to manually check the shape of data. on one hand this doesn't need to require a library, and is fast - on the other hand it'd be painful for people writing custom third-party visualizations, and we can't guarantee that we've caught all bad cases
another option is to include a validation library like typebox. it might be slow if the entire object needs to be validated all at once, but in exchange we can be sure that we are catching all bad cases. (also, realistically it's not like we'll be sending so much data that validation becomes slow - displaying the data is probably more of a bottleneck than validation.)
oh - another thing, (for the new visualizations) we could maybe consider displaying an error message when receiving data that is completely unrecoverable - e.g. a single number when we are expecting an entire object
thoughts?


Different Behavior of tf.raw_ops.Cos+tf.raw_ops.Selu with jit_compile=True

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.14.0
Custom code
Yes
OS platform and distribution
Ubuntu 22.04.3 LTS (x86_64)
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
11.8
GPU model and memory
GPU 0: NVIDIA GeForce RTX 2070 GPU 1: NVIDIA GeForce RTX 2070 GPU 2: NVIDIA GeForce RTX 2070 GPU 3: NVIDIA GeForce RTX 2070
Current behavior?
When the tf.raw_ops.Cos+tf.raw_ops.Selu operation is invoked within a tf.function with JIT compilation enabled (jit_compile=True), it produces different results compared to the same operation called without JIT compilation. This inconsistency is observed when the code is executed on a CPU device.
The problem occurs when input Tensors pass through tf.raw_ops.Cos+tf.raw_ops.Selu. With individual Ops there is no issue.
Standalone code to reproduce the issue
import tensorflow as tf
import traceback

class Network(tf.Module):
    def __init__(self):
        super().__init__()

    @tf.function(jit_compile=True)
    def __call__(self, x):

      x = tf.raw_ops.Cos(x=x, )
      x = tf.raw_ops.Selu(features=x, )
      return x

m = Network()
inp = {
    "x": tf.random.normal([10, 9, 8], dtype=tf.bfloat16),
}

with tf.device('/CPU:0'):
    tf.config.run_functions_eagerly(True)
    no_op_res = m(**inp)
    tf.config.run_functions_eagerly(False)
    with tf.device('/CPU:0'):
        op_res = m(**inp)

    tf.debugging.assert_near(tf.cast(no_op_res, tf.float64), tf.cast(op_res, tf.float64), atol=0.001, rtol=0.001)

Relevant log output
File "/home/guihuan/LLM/results/tf-2/2023-10-22-20-21/test.py", line 27, in <module>
    tf.debugging.assert_near(tf.cast(no_op_res, tf.float64), tf.cast(op_res, tf.float64), atol=0.001, rtol=0.001)
  File "/home/guihuan/.conda/envs/night/lib/python3.9/site-packages/tensorflow/python/util/traceback_utils.py", line 153, in error_handler
    raise e.with_traceback(filtered_tb) from None
  File "/home/guihuan/.conda/envs/night/lib/python3.9/site-packages/tensorflow/python/ops/control_flow_assert.py", line 102, in Assert
    raise errors.InvalidArgumentError(
tensorflow.python.framework.errors_impl.InvalidArgumentError: Expected 'tf.Tensor(False, shape=(), dtype=bool)' to be true. Summarized data: b''
b'x and y not equal to tolerance rtol = tf.Tensor(0.001, shape=(), dtype=float64), atol = tf.Tensor(0.001, shape=(), dtype=float64)'
b'x (shape=(10, 9, 8) dtype=float64) = '
1.0390625, 0.7265625, 0.98046875, ...
b'y (shape=(10, 9, 8) dtype=float64) = '
1.0390625, 0.7265625, 0.98046875, ...

I was able to notice the difference in behavior, however as per the comment here https://github.com/tensorflow/tensorflow/issues/62287#issuecomment-1809045878, it is not considered as a bug, rather a difference in implementation is resulting in this.
Attaching the Gist here for reference.


STM32 board dead

Hi, first wanna tell you that its really nice work your custom firmware to stm32 ikea fyrtur blind roller. But Im writing you for some help, my blinds with stock fw suddenly stop working (no LED, completely dead), so i decide to write your latest 0.87 5rpm FW into it. It works and blinds started working, but only for quite short time, and again died. I take some measurement, and when i disconnect STM32 board from Zigbee board, Zigbee is working (LED blinks when pairing..) but when I connect STM32 motor board, LED turns on for about 1sec and then all dies. I measure source voltage from batt and after that second it drops to 1.7V. Also tried power STM32 board on its input with bench source, and after 1sec it starts drawing 2.3AMPS!! for abou half sec and then it cuts off to 0A. Motor tested separately, works like a charm. Its possible that on STM32 motor board is some short circuit or something? When i try to flash some older stock firmware i figured out that it has ~180K , but yours FW has ~32K in size, dont know how to test old stock FW... If you could help me in this way i will appreciate it a lot. Thanks. Andrej

I had the same issue when I flashed a blank chip with just the custom firmware.
Download the original firmware from:
https://github.com/fhempy/fyrtur-motor-board
!. Erase your chip
2. flash the original firmware (if you dont have your own backup)
3. Flash the custom firmware as instructed in the main page unless you don't just want to use the original firmware
I had one motor with problems also suspecting one of the FET transistor is blown.


W-13199565: Added XML examples for 'update' function

Writer's Quality Checklist
Before merging your PR, did you:

[x] Run spell checker
[ ] Run link checker to check for broken xrefs
[ ] Check for orphan files
[ ] Perform a local build and do a final visual check of your content, including checking for:

Broken images
Dead links
Correct rendering of partials if they are used in your content
Formatting issues, such as:

Misnumbered ordered lists (steps) or incorrectly nested unordered lists
Messed up tables
Proper indentation
Correct header levels

[ ] Receive final review and signoff from:

Technical SME
Product Manager
Editor or peer reviewer
Reporter, if this content is in response to a reported issue (internal or external feedback)

[ ] If applicable, verify that the software actually got released

Closes #268

@arch-jn Thank you for your contributions. We have added it to our issue tracking system for review.

Closing this PR as the feedback has been addressed here: https://github.com/mulesoft/docs-dataweave/pull/283


Give feedback on loading

Originally posted by @fregante in https://github.com/npmgraph/npmgraph/pull/258#discussion_r1711101232
We might have to think of better ways to give feedback, for example by implementing mandatory delays—that is, always show a minimum "loading" state so that the user knows something is happening, like via https://github.com/smeijer/spin-delay

For more context, this is useful when pasting the same package.json twice, which causes no changes and it looks like the tool is broken/non-interactive.


Conflict with autoptimize plugin ?

When using Autoptimize plugin, some images are not showing into posts.
After verification, the resized image is not uploaded to github.
Disabling Autoptimize solve the issue.

Hi @sunberrysolar, sorry for not following up on this issue in GH. V7 is now ready for testing and solves a lot of common issues with missing assets that I'd presume to sort out this one: https://github.com/WP2Static/wp2static/releases/tag/7.0-alpha-003


Create assertion functions for arguments

At Arguments there are private methods like:

assertStringArgument
assertIntegerArgument
assertIntegerMinimum
assertIntegerMaximum

Which shouldn't be there, Arguments job is to match arguments against parameters, not how these match are being check. Need to convert these private methods in public functions.
Also, I should add functions for assert FileArray, Array and Generic parameters.

The conflicting method is at Arguments::assertType.


Any chance of updating this to tauri v2

Upgrade to tauri v2?

Yes, I have another project that I think I will be moving to Tauri. I dont have ETA, but likely before end of year.

thannks

Good news I have just published a new example for Tauri v2: https://github.com/dieharders/example-tauri-v2-python-server-sidecar
Cheers!


Refactor Managed to allow for interruptible acquisitions

Resolves #543.
This approach is pretty lean; the downside is that it's kind of wasteful in Ref allocations for repeated binds. We might be able to optimize this if we use an initial encoding for Managed. This can be left for subsequent PRs however as the current implementation is pretty much the same due to the use of IO.bracket.

@jdegoes Adjusted flatMap and zipWithPar according to your comments. I now realize we don't really need Managed.interruptible, right? We can just use the case class constructor.

Is Managed.make formulated correctly still? It seems that I should move the acquisition into the outer IO for the reservation


[GH-4] Extract KeyInfo element so that it can be embedded in a header portion of a document.

Resolves #4

FIY Found one little  regarding backwards compatibility:
.asymmetric_cipher_value is gone from Encryption. To (temp) bring it back, its:
def asymmetric_cipher_value
 key_info.encrypted_key.cipher_value
end

Now I'm adapting latest version to avoid using Encryption at all.. I'll let u know how it works out.. sorry moving very sloooooow currently ;)

Thanks for the feedback. Please let me know how I can assist.


Loading doesn't work as documentation suggests.

Hello! Thanks for putting this gem together.
Just wanted to give you a heads up that loading doesn't seem to work as described in the README. The gem is not loaded automatically on boot (in rails) and trying to require "phlex-icons" throws an uninitialized constant error.
Looks like this was a regression from "0.15.0" to "0.16.0".

Hmmm this is weird, I'm using the gem in 2 Rails apps following the README and all works fine. Let me test on a fresh Rails app. What is the Rails/Phlex versions you are using?

Also, are you using phlex-icons or the pack specific gems (e.g. phlex-icons-bootstrap)?

@calebuharrison any updates on this?

@AliOsm Sorry for the drive-by issue submission! Haven't had a chance to revisit this yet - feel free to close if you're unable to reproduce. If I hit this again, I'll be sure to provide more info.

FWIW, I have the same issue.  I had to use require 'phlex_icons' to get it to load

I wish I had more to offer.  I am on a rails 7.1 project.  After manually changing the version to 1.1.0, I was able to include Phlex::Icons. That said, I got an uninitialized constant error trying to use Phlex Kit or just trying to do a regular render

@ascruggs sorry for the late reply, I need to configure the email notifications currectly 😁
The main blocker for me is that I can't re-produce the issue. Could you please create a Rails app that has the issue and share it with me ?,?
I'm saying that because I'm using phlex-icons with 3 projects all in production without issues, and I really want to solve the hidden issue of uninitialized constants mentioned above 🫠

@ascruggs If you have more info on the error itself like logs, and similar, could you please share.

Resolving as I can't reproduce the issue.


Error in encoder_subprocess.stdin.write(frame)

python py_temporalfix.py --input test.mkv --output output_video.mkv
When I run the above, I get the following error. Do you know of any solution to this problem?
Traceback (most recent call last):
  File "G:\temporalfix\py_temporalfix.py", line 209, in <module>
    main()
  File "G:\temporalfix\py_temporalfix.py", line 178, in main
    encoder_subprocess.stdin.write(frame)
OSError: [Errno 22] Invalid argument

log-anioji.txt

for the record:
I made some corrections and modifications.
Main branch, commit 9b5c80b


Excellent!

Would be lovely to have integrated into the API.  This is a really nice feature.

Well, I've tried to get it into the API, but no luck up till now. Side tracking code next to the API as such to mimic the behavior.
I'm pulling the code to generate graphs wihtin the next weeks or so for anyone to add this functionality to any type of code.

Following up in #14

The direct linking could become possible when I've detached the Graph code from the main mailGraph package as will happen in v2.x, but would require a CDN (content distribution network) type caching.
In version 1.x this was a principal design choice exactly for the reason you are pointing out: "trusted URLs". In many occassions the Zabbix system is inside the Enterprise/local network and no direct external access is available.
As such I decided to include the graphs in the mail to fixate in time (to preserve perhaps for future reference even when the data is no longer available while underneath the message there is the possibility to have a persistent link to the actual data (Graph link).
If more users of mailGraph would support this request I could consider this however it would also require come externally available cache system as well (and could overcomplicate the solution while having the data attached in the mail).
You can mimic your request though by fiddling with the template to not attach but link the graph. Happy to have a look at that in v2.x if you think that will match your requirement better?

Decided to close since long time no response received. The idea of keep the mail as tiny as possible and use externally cached/stored images would be possible with the concept of mailGraph as it actually stores in the /images directory however in a large production environment this could lead to potential high volume situations where, if retention is for example 1 year, the associated storage would need to grow exponentially in an uncontrolled way.
At the same time once images are sent along in an e-mail this a) does not need to retention images locally and b) gives the receiver the responsibility to retention on his/her own terms.


[BAD_INPUT_DATA] PDF to XML conversion failed with error code: 99

Hi, When using grobid with windows 8.1, TEI, for any pdf file i get following error.
Error encountered while requesting the server.
[BAD_INPUT_DATA] PDF to XML conversion failed with error code: 99

Following are from log
Model path: D:\...\grobid-master\grobid-home\models\header\model.wapiti
[DEBUG] org.grobid.core.document.DocumentSource: start pdf2xml
[DEBUG] org.grobid.core.document.DocumentSource: Executing: [D:\...\grobid-master\grobid-home\pdf2xml\win-64\pdftoxml_server, -blocks, -noImageInline, -fullFontName, -noImage, -annotation, -l, 2, D:\...\grobid-master\grobid-home\tmp\origin1660742701096340959.pdf, D:\...\grobid-master\grobid-home\tmp\CSccvkYTdu.lxml]
[ERROR] org.grobid.core.process.ProcessPdf2Xml: pdftoxml process finished with error code: 99. [D:\...\grobid-master\grobid-home\pdf2xml\win-64\pdftoxml_server, -blocks, -noImageInline, -fullFontName, -noImage, -annotation, -l, 2, D:\...\grobid-master\grobid-home\tmp\origin1660742701096340959.pdf, D:\...\grobid-master\grobid-home\tmp\CSccvkYTdu.lxml]
[ERROR] org.grobid.core.process.ProcessPdf2Xml: pdftoxml return message:pdftoxml version 1.0
(Based on Xpdf version 3.01, Copyright 1996-2005 Glyph & Cog, LLC)
Copyright 2004-2006 XEROX XRCE
Usage: pdftoxml [options] <PDF-file> [<xml-file>]
  -f <int>               : first page to convert
  -l <int>               : last page to convert
  -verbose               : display pdf attributes
  -noText                : do not extract textual objects
  -noImage               : do not extract Images (Bitmap and Vectorial)
  -noImageInline         : do not include images inline in the stream
  -outline               : create an outline file xml
  -annots                : create an annotations file xml
  -cutPages              : cut all pages in separately files
  -blocks                : add blocks informations whithin the structure
  -fullFontName          : fonts names are not normalized
  -nsURI <string>        : add the specified namespace URI
  -opw <string>          : owner password (for encrypted files)
  -upw <string>          : user password (for encrypted files)
  -q                     : don't print any messages or errors
  -v                     : print copyright and version info
  -h                     : print usage information
  -help                  : print usage information
  --help                 : print usage information
  -?                     : print usage information

[ERROR] org.grobid.service.process.GrobidRestProcessFiles: An unexpected exception occured: org.grobid.core.exceptions.GrobidException: [BAD_INPUT_DATA] org.gro
bid.core.exceptions.GrobidException: [BAD_INPUT_DATA] PDF to XML conversion failed with error code: 99
[DEBUG] org.grobid.core.utilities.IOUtilities: Removing D:\...\grobid-master\grobid-home\tmp\origin1660742701096340959.pdf
[DEBUG] org.grobid.service.process.GrobidRestProcessFiles: << org.grobid.service.process.GrobidRestProcessFiles.methodLogOut

Here command have constructed {{-annotation}} as an argument, but if look at log trace {{-annots}} should be argument name. If i manually change command with {{-annots}} and try to run from windows command prompt it does able to convert pdf2xml.
I have checked code here and -annotation is as an argument, which is not configurable to change it to {{-annots}}, https://github.com/kermitt2/grobid/blob/master/grobid-core/src/main/java/org/grobid/core/document/DocumentSource.java#L81
Can you please suggest workaround or possible solution here ?

Dear @yusuf-nathani,
thanks for your report. Indeed it seems to be a difference between the version used and your version. We need to look into it to understand whether it's a problem between your version or windows version in general.
For the moment if you need to process pdf on your local windows machine, you can keep using the workaround you've successfully tested changing the parameter directly in the code. I will investigate into this.
Cheers
Luca

Thanks ! yes, pdf2xml needs to be updated for win64.
@yusuf-nathani if I remember well, you should be able to use the latest stable release (grobid-0.4.1) without this problem.

@kermitt2 - Yes, stable grobid-0.4.1 working without any problem. Thanks.

see #185
need to recompile pdf3xml fork for Windows 64

Should be fixed with commit 75536cd. See comment on issue #185
Should you have still problems, feel free to reopen it.

Hi @lfoppiano ,
I cloned the latest Grobid today (v0.6.1). Faced with PDF to XML conversion error. Attaching grobid-service.log and console.log. When running from cloud-miner service it is working fine.
I need to run it locally.
Grobid-service.log file: grobid-service.log
Console log on running batch from GrobidMain

Screenshot of running as service:

The result is same with PDF file from any source.
Let me know, if you need anymore info

@vishnudas-raveendran grobid is not supported to work on Windows. Unfortunately three platforms are too many for us, I recommend you to run it using docker.
See some more information: https://grobid.readthedocs.io/en/latest/Troubleshooting/#windows-related-issues

Hi, As I am running Grobid locally there are few particular PDFs where Grobid throwing exception given below.
org.grobid.core.process.ProcessPdfToXml: pdfalto process finished with error code: 137. [/opt/grobid/grobid-home/pdfalto/lin-64/pdfalto_server, -fullFontName, -noLineNumbers, -noImage, -annotation, -filesLimit, 2000, /opt/grobid/grobid-home/tmp/origin8926003782076440712.pdf, /opt/grobid/grobid-home/tmp/B5k7X8HGXG.lxml]
org.grobid.core.process.ProcessPdfToXml: pdfalto return message:
org.grobid.service.process.GrobidRestProcessFiles: An unexpected exception occurs.
! org.grobid.core.exceptions.GrobidException: [BAD_INPUT_DATA] PDF to XML conversion failed with error code: 137
! at org.grobid.core.document.DocumentSource.processPdfaltoServerMode(DocumentSource.java:244)
! at org.grobid.core.document.DocumentSource.pdfalto(DocumentSource.java:147)
and going forward if I re-run same PDF again for 5 to 6 time, am getting the output.
is there any particular reason for that?
any particular PDFs that  Grobid may fail to extract?
Regards,
Sandesh


What ESMF build options are necessary to build MAPL?

Hi everyone,
I've been working on setting up a CI build matrix for GCHP, and as a part of that I'm building ESMF with Spack. ESMF's Spack package has a number of options, and I was wondering if you could help me understand which of these are necessary for MAPL. These options are to enable support for

LAPACK (on/off)
MPI (on/off)
NetCDF (on/off)
ParallelIO (on/off)
pNetCDF (on/off)
xerces (on/off)

Obviously the MPI and NetCDF options need to be on, but what about the others? Are ParallelIO, pNetCDF, or xerces necessary?
Thanks in advance,
Liam

@LiamBindle For GEOS, pretty much the only requirement is MPI. Now, when I build in Baselibs, I also enable netCDF support because, well, it's essentially free as I'm always building netCDF. But, I don't think MAPL in itself uses any of ESMF's netCDF capabilities (though @bena-nasa or @atrayano might know differently).
If I recall, when I did my spack GEOS, I built with:
packages:
   hdf5:
     variants: +fortran+szip+hl+threadsafe
     # Note that cdo requires threadsafe, but hdf5 doesn't
     # seem to want that with parallel. Hmm.
   netcdf:
     variants: +hdf4+dap
   esmf:
     variants: ~pnetcdf~xerces
   gftl:
     variants: +pfunit

So, no pnetcdf or xerces.
Though at that time I had to hack the ESMF package as it was a bit basic and quite working. (Plus I had to hack in a "use this beta snapshot tarball". Now that 8 is released, I might actually try again.)
(Also note: not sure how I fixed that hdf5/cdo business. I might have just not built cdo...I think this is not quite my final packages.yaml.)

@mathomp4 Thanks for the info. The spec I'm using is<EMAIL_ADDRESS>target=x86_64 -lapack -pio -pnetcdf -xerces<EMAIL_ADDRESS>and it sounds like that's okay, so I'll continue with that.
Thanks again,
Liam


Raw text in grid makes figure a listing

Description
When there is raw text in a grid in a figure it becomes a listing.
@tingerrr (I assume this is his account here) told me to report this on discord
Code to reproduce:
#figure(
  grid(
    gutter: auto,
    [I'm a Figure],
  ),
  caption: "foo"
)

#figure(
  grid(
    gutter: auto,
    [
      ```
      I'm a Listing
      ```
    ],
  ),
  caption: "bar"
)

produces

with typst version typst 0.11.0 (2bf9f95d)
Reproduction URL
No response
Operating system
Linux
Typst version

[X] I am using the latest version of Typst

It seems to just query for the first element which can be used to represent a figure, which is interesting. I assume this is to avoid interference with block / box / etc. being used to decorate the figure.
https://github.com/typst/typst/blob/105d7156f8f9d95e16b3eefdf0fa97e5be7fbe5b/crates/typst/src/model/figure.rs#L236-L242
Whether or not this is desirable is possible to discuss, but I'd say that one should explicitly specify the kind when the default isn't "good enough" either way (with kind: image for the default and kind: raw or kind: table or kind: "custom string" for other options).

I think for something like grid, it kind of makes sense if all of its items had the same element type, but assuming a kind for figure(grid(raw(...), image(...))) seems weird to me.

In principle, everything is working as intended here, so I'll convert this into a discussion.


Possible to use for updating stream key?

Could this plugin be used to set the streaming key?
Instead of having to enter an event specific steam key under settings > stream key, I'd love to use a browser dock or similar to present a text input field to paste the current stream key to use.

That would be calling
To Get Current settings - https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#getstreamservicesettings
To Set Current Settings - https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#setstreamservicesettings


Sizing option styles for svg version fixed

Firstly thanks for contributing. Yes it was a problem on svg css, I think your thoughts were partly good.
So, I modified merged them.


HTTPError.message is not a thing

Fixes HTTPError' object has no attribute 'message' attribute exceptions

Beware that the response attribute of tornado.httpclient.HTTPError can be None -- https://github.com/tornadoweb/tornado/blob/master/tornado/httpclient.py#L609-L613

Current coverage is 84.51%

Merging #4 into master will decrease coverage by -1.40% as of 5219e02

@@            master      #4   diff @@
======================================
  Files            4       4
  Stmts          291     297     +6
  Branches        62      64     +2
  Methods          0       0
======================================
+ Hit            250     251     +1
- Partial         14      15     +1
- Missed          27      31     +4

Review entire Coverage Diff as of 5219e02

Powered by Codecov. Updated on successful CI builds.


task1148_maximum_ascii_value improvement

@Palipoor mentioned that:

People didn't know the ascii values and it was difficult for them.

This is a valid point. The instructions should define what the asci values are for the characters used in the input.
A subset of this table might be helpful: https://www.cs.cmu.edu/~pattis/15-1XX/common/handouts/ascii.html

Hi, I'll take this task.


Use of environment variables

Hi! this is for issue #2. I have created a .env file and appropriately use f'{config["username"]}' wherever appropriate.
This is my first time doing a no "first time" label issue. Please do check the code once as I am afraid I might have made some mistake.

Yupp I've made the changes


CNAME Record Lookup Causes Failures

I was attempting to deploy a Kong (0.10.2 Debian packaged, 0.4.1-1 of this library) instance to production today and ran into failures related to DNS resolution causing requests to randomly return 500 and the following message in the error logs:
[error] 24099#0: *60095 [lua] responses.lua:107: before(): failed the initial dns/balancer resolve for 'thorondor-ibapi.domain.net' with: dns query returned no results, client: ---, server: kong, request: "GET /thorondor/admin/status HTTP/1.1", host: "api.com"

Kong is configured with the following API matching the api.domain.com host:
{
      "hosts": [
        "api.domain.com",
        "st.domain.com",
        "api.domain.net"
      ],
      "name": "thorondor_ibapi_default",
      "strip_uri": false,
      "upstream_read_timeout": 60000,
      "https_only": false,
      "http_if_terminated": true,
      "id": "f67645c4-eb35-4e49-ae62-51904038f462",
      "retries": 5,
      "preserve_host": true,
      "created_at":<PHONE_NUMBER>058,
      "upstream_connect_timeout": 60000,
      "upstream_url": "http://thorondor-ibapi.domain.net:80",
      "upstream_send_timeout": 60000
    },

 $ dig thorondor-ibapi.domain.net

; <<>> DiG 9.9.5-3ubuntu0.13-Ubuntu <<>> thorondor-ibapi.domain.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52714
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;thorondor-ibapi.domain.net.	IN	A

;; ANSWER SECTION:
thorondor-ibapi.domain.net. 30	IN	CNAME	thorondor-ibapi-ams1.domain.net.
thorondor-ibapi-ams1.domain.net.	30 IN	A	<IP_ADDRESS>

;; Query time: 3 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Thu May 11 22:28:45 UTC 2017
;; MSG SIZE  rcvd: 105

The TTL of the DNS record is 30 seconds and I'm able to reproduce the issue easily by repeated curls (3-4 failures every 30 seconds):
$ for i in {1..10000}; do curl -H "Host: api.com" 06.wsp-gateway.prod.ams1.domain.net/thorondor/admin/status; date; sleep .1; done;
{"message":"An unexpected error occurred"}
Thu May 11 21:59:15 UTC 2017
{"message":"An unexpected error occurred"}
Thu May 11 21:59:16 UTC 2017
{"message":"An unexpected error occurred"}
Thu May 11 21:59:16 UTC 2017
{"message":"An unexpected error occurred"}
Thu May 11 21:59:16 UTC 2017
status: upThu May 11 21:59:16 UTC 2017
...
status: upThu May 11 21:59:45 UTC 2017
status: upThu May 11 21:59:45 UTC 2017
{"message":"An unexpected error occurred"}
Thu May 11 21:59:46 UTC 2017
{"message":"An unexpected error occurred"}
Thu May 11 21:59:46 UTC 2017
{"message":"An unexpected error occurred"}
Thu May 11 21:59:46 UTC 2017
{"message":"An unexpected error occurred"}
Thu May 11 21:59:47 UTC 2017

By capturing DNS query information, it seems something may be causing the resolver to choke on the thorondor-ibapi.domain.net CNAME record before finally getting things sorted (this time span isn't covered in the above logs but occurred on the next 30 second interval and had the same error):
22:00:17.799393 IP 06.wsp-gateway.prod.ams1.38922 > intdnsrecurse01.ams1.domain.net.domain: 19301+ CNAME? thorondor-ibapi.domain.net. (43)
E..G]<EMAIL_ADDRESS><EMAIL_ADDRESS>.5.3..Ke...........thorondor-ibapi.domain.net.....
22:00:17.803277 IP intdnsrecurse01.ams1.domain.net.domain > 06.wsp-gateway.prod.ams1.38922: 19301 0/1/0 (108)
E...li..?...%..>
<EMAIL_ADDRESS>.t:.Ke...........thorondor-ibapi.domain.net................5.ns1.gslb.com..support.domain."......Q.......Q.....
22:00:17.803481 IP 06.wsp-gateway.prod.ams1.37705 > intdnsrecurse00.ams1.domain.net.domain: 50275+ SRV? thorondor-ibapi.domain.net. (43)
E..G./<EMAIL_ADDRESS>.@.%..?.I.5.3...c...........thorondor-ibapi.domain.net..!..
22:00:17.804711 IP intdnsrecurse00.ams1.domain.net.domain > 06.wsp-gateway.prod.ams1.37705: 50275 1/1/0 CNAME thorondor-ibapi-ams1.domain.net. (143)
E...HK..?.!.%..?
.@..5.I..K..c...........thorondor-ibapi.domain.net..!...............thorondor-ibapi-ams1.............5.ns1.gslb.com..support.domain."......Q.......Q.....
22:00:17.804848 IP 06.wsp-gateway.prod.ams1.52724 > intdnsrecurse02.ams1.domain.net.domain: 15277+ A? thorondor-ibapi.domain.net. (43)
E..G-[<EMAIL_ADDRESS>.@.%..=...5.3..;............thorondor-ibapi.domain.net.....
22:00:17.806476 IP intdnsrecurse02.ams1.domain.net.domain > 06.wsp-gateway.prod.ams1.52724: 15277 2/0/0 CNAME thorondor-ibapi-ams1.domain.net., A <IP_ADDRESS> (94)
E..z....?...%..=
.@..5...f.U;............thorondor-ibapi.domain.net..................thorondor-ibapi-ams1...7..........%...
22:00:17.806674 IP 06.wsp-gateway.prod.ams1.38922 > intdnsrecurse01.ams1.domain.net.domain: 45384+ AAAA? thorondor-ibapi.domain.net. (43)
E..G]<EMAIL_ADDRESS><EMAIL_ADDRESS>.5.3...H...........thorondor-ibapi.domain.net.....
22:00:17.807310 IP intdnsrecurse01.ams1.domain.net.domain > 06.wsp-gateway.prod.ams1.38922: 45384 1/1/0 CNAME thorondor-ibapi-ams1.domain.net. (143)
E...lj..?...%..>
<EMAIL_ADDRESS>..A\.H...........thorondor-ibapi.domain.net..................thorondor-ibapi-ams1.............5.ns1.gslb.com..support.domain."......Q.......Q.....
22:00:19.030855 IP 06.wsp-gateway.prod.ams1.59842 > intdnsrecurse01.ams1.domain.net.domain: 62071+ SRV? thorondor-ibapi.domain.net. (43)
E..G^<EMAIL_ADDRESS>.@.%..>...5.3...w...........thorondor-ibapi.domain.net..!..
22:00:19.031985 IP intdnsrecurse01.ams1.domain.net.domain > 06.wsp-gateway.prod.ams1.59842: 62071 1/1/0 CNAME thorondor-ibapi-ams1.domain.net. (143)
E...lz..?...%..>
.@..5.....V.w...........thorondor-ibapi.domain.net..!...............thorondor-ibapi-ams1.............5.ns1.gslb.com..support.domain."......Q.......Q.....
22:00:19.032124 IP 06.wsp-gateway.prod.ams1.59705 > intdnsrecurse00.ams1.domain.net.domain: 30151+ A? thorondor-ibapi.domain.net. (43)
E..G.D<EMAIL_ADDRESS>.@.%..?.9.5.3..u............thorondor-ibapi.domain.net.....
22:00:19.032676 IP intdnsrecurse00.ams1.domain.net.domain > 06.wsp-gateway.prod.ams1.59705: 30151 2/0/0 CNAME thorondor-ibapi-ams1.domain.net., A <IP_ADDRESS> (94)
E..z.#..?...%..?
<EMAIL_ADDRESS>22:00:19.032818 IP 06.wsp-gateway.prod.ams1.57185 > intdnsrecurse02.ams1.domain.net.domain: 39858+ AAAA? thorondor-ibapi.domain.net.
However, a similar issue started occurring in a single DC with the A record lookups:
16:13:22.967372 IP 05.wsp-gateway.prod.ams1.41614 > intdnsrecurse00.ams1.appnexus.net.domain: 63972+ A? thorondor-ibapi-ams1.adnxs.net. (48)
E..L..@.@.)A
.@.%..?...5.8...............thorondor-ibapi-ams1.adnxs.net.....
16:13:22.967795 IP intdnsrecurse00.ams1.appnexus.net.domain > 05.wsp-gateway.prod.ams1.41614: 63972 1/0/0 A <IP_ADDRESS> (91)
E..w.`..?...%..?
<EMAIL_ADDRESS>16:13:22.967913 IP 05.wsp-gateway.prod.ams1.60919 > intdnsrecurse01.ams1.appnexus.net.domain: 8149+ SRV? thorondor-ibapi-ams1.adnxs.net. (48)
E..L.M<EMAIL_ADDRESS>.@.%..>...5.8...............thorondor-ibapi-ams1.adnxs.net..!..
16:13:22.969689 IP 05.wsp-gateway.prod.ams1.32777 > intdnsrecurse01.ams1.appnexus.net.domain: 19982+ PTR? <IP_ADDRESS>.in-addr.arpa. (44)
E..H.N<EMAIL_ADDRESS><EMAIL_ADDRESS>       .5.4..N............<IP_ADDRESS>.in-addr.arpa.....
16:13:22.970132 IP intdnsrecurse01.ams1.appnexus.net.domain > 05.wsp-gateway.prod.ams1.32777: 19982* 1/0/0 PTR intdnsrecurse00.ams1.appnexus.net. (91)
E..w.G..?...%..>
<EMAIL_ADDRESS> .c..N............<IP_ADDRESS>.in-addr.arpa................#.intdnsrecurse00.ams1.appnexus.net.
16:13:22.990064 IP intdnsrecurse01.ams1.appnexus.net.domain > 05.wsp-gateway.prod.ams1.60919: 8149 0/1/0 (113)
E....+..?...%..>
.@..5...y$W.............thorondor-ibapi-ams1.adnxs.net..!...!.........5.ns1.gslb.com..support.appnexus.'......Q.......Q.....
16:13:22.990267 IP 05.wsp-gateway.prod.ams1.53205 > intdnsrecurse02.ams1.appnexus.net.domain: 4804+ AAAA? thorondor-ibapi-ams1.adnxs.net. (48)
E..L<EMAIL_ADDRESS><EMAIL_ADDRESS>16:13:22.991963 IP intdnsrecurse02.ams1.appnexus.net.domain > 05.wsp-gateway.prod.ams1.53205: 4804 0/1/0 (113)
E....9..?...%..=
.@..5...yO..............thorondor-ibapi-ams1.adnxs.net......!.........5.ns1.gslb.com..support.appnexus.'......Q.......Q.....
16:13:22.992065 IP 05.wsp-gateway.prod.ams1.41614 > intdnsrecurse00.ams1.appnexus.net.domain: 60543+ CNAME? thorondor-ibapi-ams1.adnxs.net. (48)
E..L..@.@.)<
.@.%..?...5.8...............thorondor-ibapi-ams1.adnxs.net.....
16:13:22.993817 IP intdnsrecurse00.ams1.appnexus.net.domain > 05.wsp-gateway.prod.ams1.41614: 60543 0/1/0 (113)
E....a..?...%..?
.@..5...y.0.............thorondor-ibapi-ams1.adnxs.net......!.........5.ns1.gslb.com..support.appnexus.'......Q.......Q.....
16:13:24.263603 IP 05.wsp-gateway.prod.ams1.59337 > intdnsrecurse01.ams1.appnexus.net.domain: 3676+ SRV? thorondor-ibapi-ams1.adnxs.net. (48)
E..L.q<EMAIL_ADDRESS>.@.%..>...5.8...\...........thorondor-ibapi-ams1.adnxs.net..!..
16:13:24.268319 IP intdnsrecurse01.ams1.appnexus.net.domain > 05.wsp-gateway.prod.ams1.59337: 3676 0/1/0 (113)
E....Y..?...%..>
.@..5...y;..\...........thorondor-ibapi-ams1.adnxs.net..!...!.........5.ns1.gslb.com..support.appnexus.'......Q.......Q.....
16:13:24.268434 IP 05.wsp-gateway.prod.ams1.56479 > intdnsrecurse02.ams1.appnexus.net.domain: 20161+ A? thorondor-ibapi-ams1.adnxs.net. (48)
E..L.M<EMAIL_ADDRESS><EMAIL_ADDRESS>16:13:24.270037 IP intdnsrecurse02.ams1.appnexus.net.domain > 05.wsp-gateway.prod.ams1.56479: 20161 1/0/0 A <IP_ADDRESS> (64)
E..\....?..P%..=```

I've attempted to modify timeout/retry settings in resolv.conf but it doesn't seem to be making a difference. Downgrading to 0.4.0 seems to have resolved both the issue originally described and the A record failure.

@PFacheris I added some more debug info to the 0.4.x branch. Would you mind giving that another try once more? Thx!

This is for the CNAME:
2017/05/18 16:10:14 [debug] 32211#0: *1134 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-sand.domain.net' for type 5 took 1.9998550415039
2017/05/18 16:10:14 [debug] 32211#0: *1134 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-sand.domain.net' for type 5: entries 0 error nil nil
2017/05/18 16:10:14 [debug] 32211#0: *1134 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-sand.domain.net' for type 33 took 2.000093460083
2017/05/18 16:10:14 [debug] 32211#0: *1134 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-sand.domain.net' for type 33: entries 0 error nil nil
2017/05/18 16:10:14 [debug] 32211#0: *1134 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-sand.domain.net' for type 1 took 3.000020980835
2017/05/18 16:10:14 [debug] 32211#0: *1134 [lua] client.lua:543: lookup(): [dns-client] removing: 1:thorondor-ibapi-nym2-sand.domain.net (name or type mismatch)
2017/05/18 16:10:14 [debug] 32211#0: *1134 [lua] client.lua:543: lookup(): [dns-client] removing: 5:thorondor-ibapi-sand.domain.net (name or type mismatch)
2017/05/18 16:10:14 [debug] 32211#0: *1134 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-sand.domain.net' for type 1: entries 0 error nil nil
2017/05/18 16:10:14 [debug] 32211#0: *1134 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-sand.domain.net' for type 28 took 0.99992752075195
2017/05/18 16:10:14 [debug] 32211#0: *1134 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-sand.domain.net' for type 28: entries 0 error nil nil
2017/05/18 16:10:14 [error] 32211#0: *1134 [lua] responses.lua:107: before(): failed the initial dns/balancer resolve for 'thorondor-ibapi-sand.domain.net' with: dns query returned no results, client: <IP_ADDRESS>, server: kong, request: "GET /thorondor/admin/status HTTP/1.1", host: "sand.api.domain.com"

…. finally resolved

2017/05/18 16:10:15 [debug] 32211#0: *1174 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-sand.domain.net' for type 33 took 3.000020980835
2017/05/18 16:10:15 [debug] 32211#0: *1174 [lua] client.lua:543: lookup(): [dns-client] removing: 5:thorondor-ibapi-sand.domain.net (name or type mismatch)
2017/05/18 16:10:15 [debug] 32211#0: *1174 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-sand.domain.net' for type 33: entries 0 error nil nil
2017/05/18 16:10:15 [debug] 32211#0: *1174 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-sand.domain.net' for type 1 took 1.9998550415039
2017/05/18 16:10:15 [debug] 32211#0: *1174 [lua] client.lua:543: lookup(): [dns-client] removing: 1:thorondor-ibapi-nym2-sand.domain.net (name or type mismatch)
2017/05/18 16:10:15 [debug] 32211#0: *1174 [lua] client.lua:543: lookup(): [dns-client] removing: 5:thorondor-ibapi-sand.domain.net (name or type mismatch)
2017/05/18 16:10:15 [debug] 32211#0: *1174 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-sand.domain.net' for type 1: entries 0 error nil nil
2017/05/18 16:10:15 [debug] 32211#0: *1174 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-sand.domain.net' for type 28 took 2.000093460083
2017/05/18 16:10:15 [debug] 32211#0: *1174 [lua] client.lua:543: lookup(): [dns-client] removing: 5:thorondor-ibapi-sand.domain.net (name or type mismatch)
2017/05/18 16:10:15 [debug] 32211#0: *1174 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-sand.domain.net' for type 28: entries 0 error nil nil

and for the A:
2017/05/18 16:28:12 [debug] 19749#0: *912 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-ams1.domain.net' for type 1 took 0.99992752075195
2017/05/18 16:28:12 [debug] 19749#0: *912 [lua] client.lua:543: lookup(): [dns-client] removing: 1:thorondor-ibapi-ams1.domain.net (name or type mismatch)
2017/05/18 16:28:12 [debug] 19749#0: *912 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-ams1.domain.net' for type 1: entries 0 error nil nil
2017/05/18 16:28:12 [debug] 19749#0: *912 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-ams1.domain.net' for type 33 took 1.0001659393311
2017/05/18 16:28:12 [debug] 19749#0: *912 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-ams1.domain.net' for type 33: entries 0 error nil nil
2017/05/18 16:28:12 [debug] 19749#0: *912 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-ams1.domain.net' for type 28 took 1.9998550415039
2017/05/18 16:28:12 [debug] 19749#0: *912 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-ams1.domain.net' for type 28: entries 0 error nil nil
2017/05/18 16:28:12 [debug] 19749#0: *912 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-ams1.domain.net' for type 5 took 2.000093460083
2017/05/18 16:28:12 [debug] 19749#0: *912 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-ams1.domain.net' for type 5: entries 0 error nil nil

… during failures

2017/05/18 16:28:13 [debug] 19749#0: *932 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-ams1.domain.net' for type 33 took 0.99992752075195
2017/05/18 16:28:13 [debug] 19749#0: *932 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-ams1.domain.net' for type 33: entries 0 error nil nil
2017/05/18 16:28:13 [debug] 19749#0: *932 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-ams1.domain.net' for type 1 took 0
2017/05/18 16:28:13 [debug] 19749#0: *932 [lua] client.lua:543: lookup(): [dns-client] removing: 1:thorondor-ibapi-ams1.domain.net (name or type mismatch)
2017/05/18 16:28:13 [debug] 19749#0: *932 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-ams1.domain.net' for type 1: entries 0 error nil nil
2017/05/18 16:28:13 [debug] 19749#0: *932 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-ams1.domain.net' for type 28 took 0.99992752075195
2017/05/18 16:28:13 [debug] 19749#0: *932 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-ams1.domain.net' for type 28: entries 0 error nil nil
2017/05/18 16:28:13 [debug] 19749#0: *932 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-ams1.domain.net' for type 5 took 1.0001659393311
2017/05/18 16:28:13 [debug] 19749#0: *932 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-ams1.domain.net' for type 5: entries 0 error nil nil
2017/05/18 16:28:13 [error] 19749#0: *932 [lua] responses.lua:107: before(): failed the initial dns/balancer resolve for 'thorondor-ibapi-ams1.domain.net' with: dns query returned no results, client: <IP_ADDRESS>, server: kong, request: "GET /thorondor/admin/status HTTP/1.1", host: "ams1-api.domain.com"

… finally resolved

2017/05/18 16:28:14 [debug] 19749#0: *957 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-ams1.domain.net' for type 33 took 2.000093460083
2017/05/18 16:28:14 [debug] 19749#0: *957 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-ams1.domain.net' for type 33: entries 0 error nil nil
2017/05/18 16:28:14 [debug] 19749#0: *957 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-ams1.domain.net' for type 1 took 1.9998550415039
2017/05/18 16:28:14 [debug] 19749#0: *957 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-ams1.domain.net' for type 1: entries 1 error nil nil

I only included the lookup info before/during/after. Let me know if you need more.

@PFacheris it doesn't make sense to me.
Where the log says "removing" it means that the query results do not match the query directly (either a different type or name is reported). Those results are stored in the cache and removed from the answer. Such that when it falls through to the next type, it will immediately find them in the cache and return, without reaching out to the nameserver again.
The CNAME block you gave above tries;

type 5 (CNAME) which fails
type 33 (SRV) which fails
type 1 (A) which returns an A record by a different name, but also returns a CNAME by the same name that failed in the first try, which was a CNAME query???
type 28 (AAAA)

The default order is to query for LAST, SRV, A, AAAA, CNAME (where LAST is the last successful lookup) so the last successful seemed to be the CNAME, as that is what it starts with.
Question is why does the CNAME lookup here fail?
Can you provide me the full log from the reload/restart upto and including the errors? (gist maybe)

Hmm, that is odd.
Here are the full logs, I start sending requests at Thu May 18 20:52:18 UTC 2017 and the error is first encountered at Thu May 18 20:52:48 UTC 2017: https://gist.github.com/PFacheris/dcd3034130cfe1199d2a28b8800b7803

@PFacheris thx! will have a close look at those.
Meanwhile I spotted an anomaly in the A logs you sent previously as well. I updated the 0.4.x branch again. Can you try that for the A record again?
thank you very much for your help in debugging this :+1:

PM'd you on gitter, but for visibility:
I've potentially discovered the problem with the A record case that wasn't detectable in my last log because I was substituting internal domains (changed here but maintaining capitalization to demonstrate the issue):
2017/05/18 22:12:32 [debug] 17716#0: *980 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-ams1.api.net' for type 33(number) took 5.000114440918
2017/05/18 22:12:32 [debug] 17716#0: *980 [lua] client.lua:568: lookup(): [dns-client] querying 'thorondor-ibapi-ams1.api.net' for type 33(number): entries 0 error nil nil
2017/05/18 22:12:32 [debug] 17716#0: *980 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-ams1.api.net' for type 1(number) took 0.99992752075195
2017/05/18 22:12:32 [debug] 17716#0: *980 [lua] client.lua:543: lookup(): [dns-client] removing: 1(number):thorondor-ibapi-ams1.aPI.net (name or type mismatch)

Specifically one of our nameservers in the rotation for that DC is returning .aPI.net instead of .api.net. I think the A record issue will be fixed by making comparison between qname and answer.name case insensitive.
(And always happy to help with debugging 😄)

thx. The case sensitivity ought to be fixed in a new update on the 0.4.x branch

The default lookup order is LAST, SRV, A, AAAA, CNAME (where LAST means the previous successful lookup type)
So going through the logs, what is happening here:
2017/05/18 20:52:18 [debug] 14999#0: *296 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-sand.domain.net' for type 33 took 2.000093460083
2017/05/18 20:52:18 [debug] 14999#0: *296 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-sand.domain.net' for type 33: entries 0 error nil nil

This is the first lookup, so there is no LAST set yet. A query type 33 == SRV is performed and it finds 0 entries, hence falls through to the next
2017/05/18 20:52:18 [debug] 14999#0: *296 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-sand.domain.net' for type 1 took 3.000020980835
2017/05/18 20:52:18 [debug] 14999#0: *296 [lua] client.lua:543: lookup(): [dns-client] removing: 1:thorondor-ibapi-nym2-sand.domain.net (name or type mismatch)
2017/05/18 20:52:18 [debug] 14999#0: *296 [lua] client.lua:543: lookup(): [dns-client] removing: 5:thorondor-ibapi-sand.domain.net (name or type mismatch)
2017/05/18 20:52:18 [debug] 14999#0: *296 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-sand.domain.net' for type 1: entries 0 error nil nil

So now we try the A record (type 1). Here we get 2 non requested results, an A record for a different name, and a CNAME record (pointing to the aforementiond A record).
These entries are removed and stored in the dns cache, final result is 0 entries because non matches both the requested name and type.
2017/05/18 20:52:18 [debug] 14999#0: *296 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-sand.domain.net' for type 28 took 1.9998550415039
2017/05/18 20:52:18 [debug] 14999#0: *296 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-sand.domain.net' for type 28: entries 0 error nil nil

Next up is the AAAA record (type 28), which also results in 0 entries.
What is not visible here is that after the AAAA fails, the next one is the CNAME. The CNAME will immediately succeed because it was cached when we got the results from the A try above. Dereferencing that CNAME is also done from the cache as it points to the alternative A record also cached with the A lookup before.
(cache hits are not logged because of the hot code path)
Now 30 seconds later the TTL expires and we restart the whole process
2017/05/18 20:52:48 [debug] 14999#0: *1373 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-sand.domain.net' for type 5 took 1.9998550415039
2017/05/18 20:52:48 [debug] 14999#0: *1373 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-sand.domain.net' for type 5: entries 0 error nil nil

Now our LAST type is the CNAME type we lookup up for this name previously, so that is where we start. But here, nothing is returned, 0 entries... previously we got a CNAME along with the A query, but explicitly requesting a CNAME, doesn't return it???
2017/05/18 20:52:48 [debug] 14999#0: *1373 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-sand.domain.net' for type 33 took 4.000186920166
2017/05/18 20:52:48 [debug] 14999#0: *1373 [lua] client.lua:543: lookup(): [dns-client] removing: 5:thorondor-ibapi-sand.domain.net (name or type mismatch)
2017/05/18 20:52:48 [debug] 14999#0: *1373 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-sand.domain.net' for type 33: entries 0 error nil nil

So here we tried SRV again, with an odd result, because this time it returns a CNAME (in our previous try 30 seconds ago it didn't return it). It wasn't requested so is removed and 0 entries remain.
2017/05/18 20:52:48 [debug] 14999#0: *1373 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-sand.domain.net' for type 1 took 1.9998550415039
2017/05/18 20:52:48 [debug] 14999#0: *1373 [lua] client.lua:543: lookup(): [dns-client] removing: 1:thorondor-ibapi-nym2-sand.domain.net (name or type mismatch)
2017/05/18 20:52:48 [debug] 14999#0: *1373 [lua] client.lua:543: lookup(): [dns-client] removing: 5:thorondor-ibapi-sand.domain.net (name or type mismatch)
2017/05/18 20:52:48 [debug] 14999#0: *1373 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-sand.domain.net' for type 1: entries 0 error nil nil

Next up is looking for an A record again, this delivers the exact same results as in our previous try, so this is as expected.
2017/05/18 20:52:48 [debug] 14999#0: *1373 [lua] client.lua:530: lookup(): [dns-client] querying 'thorondor-ibapi-sand.domain.net' for type 28 took 2.000093460083
2017/05/18 20:52:48 [debug] 14999#0: *1373 [lua] client.lua:543: lookup(): [dns-client] removing: 5:thorondor-ibapi-sand.domain.net (name or type mismatch)
2017/05/18 20:52:48 [debug] 14999#0: *1373 [lua] client.lua:568: lookup(): [dns-client] querying for 'thorondor-ibapi-sand.domain.net' for type 28: entries 0 error nil nil

Now looking for an AAAA and again, as opposed to our first try 30 seconds ago, we get the CNAME delivered... why that change?
2017/05/18 20:52:48 [error] 14999#0: *1373 [lua] responses.lua:107: before(): failed the initial dns/balancer resolve for 'thorondor-ibapi-sand.domain.net' with: dns query returned no results, client: <IP_ADDRESS>, server: kong, request: "GET /thorondor/admin/status HTTP/1.1", host: "sand.api.domain.com"

And here we fail. The CNAME was not tried again, as it was the first type tried (as LAST) and we see no use in trying that again. But the end result here is that we could not resolve the name.
So all in all, I don't know what's going on here. Seems the name server is randomly adding and removing CNAME records to some queries, but not returning it when explicitly requested.
My expectations:

for an A query: return the CNAME and final A record as well (this appears to happen consistently)
for a CNAME query: return the CNAME and the final A record

@PFacheris Thoughts?

A record issue is resolved with that update, thanks!
That does appear to be wrong @Tieske, perhaps it's something non-standard with our internal DNS mechanisms. I'll investigate this and track down why it's happening and if it can be changed.

thinking about this: the upper/lower case issue was due to multiple nameservers being used, right? could this also be the case with the CNAME records?
When querying a random nameserver is picked by the dns library. You could try to configure Kong explicitly with a single nameserver, this should consistently return the same results for the queries.

Definitely possible. Closing this for now though as I'm working around the issue internally. Was an issue with our DNS setup only implementing a subset of the DNS protocol.
As a final thing, could I also request a new tag for the A record fix so I can begin using that? Thanks for the help tracking this down.

@PFacheris Kong 0.10.3 is expected shortly, probably this week.
Did you have any luck with the cname related issue, if configuring Kong to use a single name server? (testing whether the discrepancies listed above are originating from one (or more) name servers that are badly configured)

@Tieske Awesome, happy to hear.
Same issue when using a single name server and with the luarock built from master (though now only a single error every 30 seconds instead of multiple). Think it's just because we take a half-baked, roll your own DNS approach that's inconsistently incorrect even with a single nameserver (for ex. dig with a single nameserver sometimes returns a CNAME for an AAAA qtype and sometimes not 😞). At the very least it's consistent about A records so can work around this for now with the next release until we tackle some of the internal DNS tech debt.
I get the impression it was mostly luck that our setup was working in previous versions.

@Tieske Seems the A record fix didn't make it into the Kong release, so still blocked on turning traffic to Kong back on unfortunately. Also discovered that the nameservers returning answers with seemingly random capitalization relates to https://dyn.com/blog/use-of-bit-0x20-in-dns-labels/ (https://tools.ietf.org/html/draft-vixie-dnsext-dns0x20-00) and they weren't misconfigured as I initially assumed.

I see it's in there now, thanks. 😄

@PFacheris just to let you know, we had a similar issue with a customer and it turned out the dns servers were not in line, one responded different from the others. So that might still be the case with your setup as well.

Same problem happened to me where every now and than I received:
{“message”:“name resolution failed”}
We had to make sure there is only one DNS entry in kong.config :
dns_resolver = <IP_ADDRESS>

@kmokrzycki you can have multiple dns servers, that should not be a problem. It only is a problem if the servers do not respond identical.
If anything else happened, then that would be a bug.

Thanks @Tieske
what would be considered to be different response and why does it matter ?
`
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.68.rc1.59.amzn1 <<>> facade-auth-live.gc.company.com @<IP_ADDRESS>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61477
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 4, ADDITIONAL: 0
;; QUESTION SECTION:
;facade-auth-live.gc.company.com. IN  A
;; ANSWER SECTION:
facade-auth-live.gc.company.com. 60 IN A      <IP_ADDRESS>
facade-auth-live.gc.company.com. 60 IN A      <IP_ADDRESS>
;; AUTHORITY SECTION:
gc.company.com.       172800  IN      NS      ns-512.awsdns-00.net.
gc.company.com.       172800  IN      NS      ns-0.awsdns-00.com.
gc.company.com.       172800  IN      NS      ns-1024.awsdns-00.org.
gc.company.com.       172800  IN      NS      ns-1536.awsdns-00.co.uk.
;; Query time: 2 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Wed May 15 14:52:49 2019
;; MSG SIZE  rcvd: 218
`
vs
`
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.68.rc1.59.amzn1 <<>> facade-auth-live.gc.company.com @localhost
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38990
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 4, ADDITIONAL: 8
;; QUESTION SECTION:
;facade-auth-live.gc.company.com. IN  A
;; ANSWER SECTION:
facade-auth-live.gc.company.com. 60 IN A      <IP_ADDRESS>
facade-auth-live.gc.company.com. 60 IN A      <IP_ADDRESS>
;; AUTHORITY SECTION:
gc.company.com.       148825  IN      NS      ns-1536.awsdns-00.co.uk.
gc.company.com.       148825  IN      NS      ns-512.awsdns-00.net.
gc.company.com.       148825  IN      NS      ns-0.awsdns-00.com.
gc.company.com.       148825  IN      NS      ns-1024.awsdns-00.org.
;; ADDITIONAL SECTION:
ns-1024.awsdns-00.org.  96164   IN      A       <IP_ADDRESS>
ns-1024.awsdns-00.org.  144652  IN      AAAA    2600:9000:5304::1
ns-1536.awsdns-00.co.uk. 73197  IN      A       <IP_ADDRESS>
ns-1536.awsdns-00.co.uk. 79368  IN      AAAA    2600:9000:5306::1
ns-512.awsdns-00.net.   95207   IN      A       <IP_ADDRESS>
ns-512.awsdns-00.net.   137981  IN      AAAA    2600:9000:5302::1
ns-0.awsdns-00.com.     75442   IN      A       <IP_ADDRESS>
ns-0.awsdns-00.com.     144163  IN      AAAA    2600:9000:5300::1
`

@kmokrzycki in the issue by the OP, there seem to be random results, occasionally the CNAME is returned, and occasionally not. This indicates that there are multiple dns servers (which are randomly picked) and they respond differently. Some have CNAME's others don't, and that is a bad DNS config.
The differences posted by you seem innocent, since the answer records are according to the query, no CNAME's.
That does make me curious for your errors though? Can you provide debug logs for the case where you have multiple dns servers configured?


Create/Edit Page - Navigation Tabs need to follow user

As a user scrolls down the Create / Edit form, the tabs need to close tabs reflecting a section that the user is leaving and open the tab with the section that the user is entering.
e.g. John completes the Basic Information section and tabs into the "Version Number" field.
-> Desired Behavior: the "Basic Information" tab closes and the "Listing Details" tab opens.

closed by accident

Hi Mike, can you send me your address and number
On Wed, Apr 15, 2015 at 9:21 AM, mparizernc<EMAIL_ADDRESS>wrote:

Closed #155 https://github.com/ozone-development/ozp-center/issues/155.
—
Reply to this email directly or view it on GitHub
https://github.com/ozone-development/ozp-center/issues/155#event-282075447
.

@kgordon-1 Sent it to you on Slack

The scrolling seems fine however when I click on the Owners and Contacts tab it takes you there but it expands the graphics tab not the Owners and Contacts.

This is because of the spacing in the form, be design it shows the top most element that lines up to where it scrolls when you click, since the section is so small and at the bottom of the screen this will expand the wrong section. Perhaps we should come up with a percentage based bottom margin to make sure this issue is solved for the future @sdeighan had added spacing manually to fix this on most displays but the issue is still present on larger ones. @sdeighan what do you think about adding space dynamically depending on the viewport height?

So after talking to @TheAndyStumpf about this as well as @arw180 the conclusion was that we add a considerable amount of padding to the bottom of the form to fix this issue for now. Post IOB the layout of this page will likely change so it is not worth putting a considerable amount of work into making it dynamic.

Verified on IE9, IE11, FF 24, and Chrome 43

Tested on STG
Verified fixed by scrolling down the Create/Edit screen.  The system displayed the correct information for each sections.


ENH: user friendly error if there is no loss function

As discussed in several previous issues. Checks off a task on #79.
This does not break any APIs because it does not the __init__ param. Instead it directly checks tf.keras.Model.loss after the user returns control over to SciKeras.

Codecov Report

Merging #86 into master will decrease coverage by 1.32%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #86      +/-   ##
==========================================
- Coverage   99.81%   98.48%   -1.33%
==========================================
  Files           3        2       -1
  Lines         530      528       -2
==========================================
- Hits          529      520       -9
- Misses          1        8       +7

Impacted Files
Coverage Δ

scikeras/wrappers.py
99.48% <100.00%> (-0.52%)
:arrow_down:

scikeras/_utils.py
95.74% <0.00%> (-3.55%)
:arrow_down:

scikeras/__init__.py

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 c7609e8...2a3c6cd. Read the comment docs.


Adds encryption to EBS volumes

Signed-off-by: Kenaniah<EMAIL_ADDRESS>

Awesome, this looks good! Do you mind rewriting the commit message to have a installer:  prefix? Thanks!

@titanous no problem. Should be updated now.

Do you mind also rebasing on the latest master? The branch appears to be a bit behind. After that I'll merge, sorry for the trouble!

No worries. Just rebased.


reopening #279

the remaining issues have been fixed in the latest commits....

requires https://github.com/ipa320/cob_common/pull/147

visual review: Ok


refactor(wallet-mobile): Button, IconProps, useCopy

Description / Change(s) / Related issue(s)
Ticket
YOMO-1938
https://www.figma.com/design/cnvVqO3XxEPNFyE5qE1j2s/Components---Mobile?node-id=2065-18310&node-type=frame&t=OPYP3NRW5kwfsQgQ-0
Relevant bits:

apps/wallet-mobile/src/components/Button/Button.tsx
apps/wallet-mobile/src/components/Clipboard/ClipboardProvider.tsx
apps/wallet-mobile/src/components/CopyButton.tsx

Will need QA review due to how many there are, but seem fine from what I've seen:

Icons sizes and colors
Buttons sizes, colors and positions
Click to copy buttons and fields

@jorbuedo can you tackle the conflicts?


MainActivity.kt: (3, 19): Unresolved reference: embedding ,MainActivity.kt: (5, 21): Unresolved reference: FlutterActivity

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

@maxmodlol
Your issue description is empty with no logs or code sample, so it's hard to properly address this issue. But looking at the issue title, check out below links and see if any of them helps to resolve your issue.
https://stackoverflow.com/questions/64276592/unresolved-reference-flutteractivity
https://github.com/flutter/flutter/issues/63951

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


KeyError: key not found: "GUGGY_API_KEY"

When I run docker-compose up api I get this error ^

That's because you're missing an API key.
I'll update the README to make it clear that it's needed.


How to customize the country list and get the list from database?

I would like to show only the country code in the drop down (hide the flags), how can I do that?
How can I override the country codes from my database?

So you want to hide the flags and the country names? Can you just use CSS?

Closing due to inactivity.


Added Calculator using tkinter

I know theres already a calc program present but, theres no tkinter calc program

if you like this pr do label it as hacktoberfeast accepted

Looks good :+1:


Fix Start-Process with -UseNewEnvironment switch

Fixed #3545.
I fixed by restore "ProgramFiles" and "ProgramFiles(X86)"environment variables for subprocess.
I don't understand how PowerShell use it in start time and perhaps my fix is not in right place.

this needs at least 1 test for validation unless a test already exists.

This probably is not the right fix, what if I'm starting an application which is not powershell and I really would like no environment variable at all?
I feel the right approach probably should be avoiding using environment variables in powershell as much as possible. After we move to netcoreapp2.0, we can use [System.Environment]::GetFolderPath to get most special folder paths on windows. For example, ClrFacade.GetFileSecurityZone uses Environment.GetEnvironmentVariable("SystemRoot") which can be replaced now. It seems PSReadline also depends on environment variables and thus I got the error The type initializer for 'Microsoft.PowerShell.PSConsoleReadLine.
However, it's impossible to avoid environment variables in powershell on Unix, as [System.Environment]::GetFolderPath doesn't work in most cases. So I believe powershell started by Start-Process powershell -UseNewEnvironment on Unix platforms won't work well by design.

@daxian-dbw Thanks that confirmed my doubts!
As the latest option of this partial solution can I put a check that exactly powershell runs?

@iSazonov That feels a hack to me. I prefer to fix the issue for win-core powershell by directly removing the dependencies on environment variables -- I believe they are workarounds for Environment.GetFolderPath which were missing in .NET Core 1.1 and prior.

I created new Issue #3662 about avoiding using environment variables and close the PR.


FF53 : update CSS masks support

Most of the spec is now supported by Firefox 53, so I updated data.
Also, added a new link (personal one but I think this could help many of us), and remove a 404 one.

Thanks!


Whats the use of FieldCallback class in Project spring-data-mongodb

I was looking into spring-data-mongodb Project. Everything looks great but I don't understand the usage of FieldCallback class. would someone please explain

Hey @arkaprovo - FieldCallback is simply an interface that you can implement to have your implement get invoked on all fields.
In the article, it's simply used to check if any of these fields are annotated with @Id
Hope that clears things up.
Cheers,
Eugen.

Thanks a ton.its clear to me now


Open registry for components, styles and themes

Shadcn UI is amazing, the approach to modular components and direct customisation makes it easy to work with but this can only work when you make a shared package in a monorepo or for single projects (unless we fork shadcn/ui and make the changes with a new cli and everything)
From what I found in the CLI's source code, the CLI supports custom registries but there is no friendly way to set one (gotta set an environment variable here). Further, there is no easy way to create a registry or add components for a registry. Many people would just want to publish one off components like a custom calendar component and making it easy to publish these would be a good first step.
Personally, I would like to make a custom theme over new york with some minor changes to the components and maybe some more custom components which I can use for other projects and others can use as well by specifying the theme name in components.json. For example, if I call it chad-ui, components.json can look like -
{
    style: "chad-ui",
    registries: ["shadcn-default", "chad-ui"],
}

The default components can be from shadcn default but say I want to use chad-ui-button I can do bunx shadcn-ui add chad-ui-button or maybe bunx shadcn-ui add @chad-ui/button
The exact approach is debatable but we can discuss
Btw, open to contribute and build this system out

@AnishDe12020 Thanks for the ping on this. This is on the roadmap. I started laying out the base for multi-registry support but hadn't had time to get to it yet.
The next step here would be to work on a shared schema for registry for interoperability. Once we have this in place, we'll have a better idea for moving forward.


Pistons Doesn't Work(Render Properly)

Block entities are not implemented in prismarine viewer

Working as intended; please see PrismarineJS/prismarine-viewer for rendering feature suggestions.


Non-Flexbox Responsive Grid

Hi all,
First off, thanks so much for your work here!
Are there any plans to add a responsive grid to Tailwind CSS that does not use Flexbox? Flexbox is the future but out of reach for many corporate clients that lag behind current tech. The answer is likely no, and I'd complete understand that, but thought I'd ask.
Thanks!
Phil

Hey @filljoyner! We don't have plans to add a higher level float-based grid component like that to core BUT we are working on a plugin/extension system that would make it super easy to pull in a grid like that built on top of Tailwind. Look for that in the near-ish future!
Now all that said, it's totally do-able to build a non-flexbox grid with existing Flexbox utilities; you'll just be a bit closer to the metal:
https://jsfiddle.net/r0nwjL34/1/

Thanks @adamwathan! The sample was super helpful. We'll give that a go on an upcoming build. If all else fails we'll roll our own for a bit and then give the extension system a look when it comes out. I'm really digging the syntax and integrate, if we decide to build our own, with a plugin/extension system sounds awesome.
Hopefully in another 3-ish years, we won't have to worry about floating grid systems.


Charm 7.0.1

Change License to Apache 2.0 with LLVM exceptions.
Otherwise unchanged from 7.0.0

Not sure how to set this up as a PR, merging onto main looks like a lot of changes, but this looks like we're trying to make a change to 7.0.

For that matter, not sure if needs to be a PR, since it already exists as a branch in the repo, so anyone can just check it out and use it as normal.

Not sure how to set this up as a PR, merging onto main looks like a lot of changes, but this looks like we're trying to make a change to 7.0.

Maybe make the version number changes in this PR on top of main, then create a new branch charm-7.0.1 off of charm-7.0.0 and just cherry pick the version number commit into charm-7.0.1`.

That is how I created the 7.0.1 branch.
On Wed, May 15, 2024 at 2:40 PM Matthias Diener @.***>
wrote:

Not sure how to set this up as a PR, merging onto main looks like a lot of
changes, but this looks like we're trying to make a change to 7.0.
Maybe make the version number changes in this PR on top of main, then
create a new branch charm-7.0.1 off of charm-7.0.0 and just cherry pick
the version number/license commits into charm-7.0.1.
—
Reply to this email directly, view it on GitHub
https://github.com/UIUC-PPL/charm/pull/3814#issuecomment-2113327786, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3HFH5IKNV5DQKGXRZQAATZCO23VAVCNFSM6AAAAABHYYWXNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJTGMZDONZYGY
.
You are receiving this because you were assigned.Message ID:
@.***>

no PR required.


VMAgent livenessProbe not using TLS

I have VMAuth with tls enabled and with:
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMAuth
metadata:
  name: vmauth
  namespace: monitoring
spec:
  image:
    tag: v1.99.0
  secrets:
    - vmauth-cert
  extraArgs:
    tls: "true"
    tlsCertFile: /etc/vm/secrets/vmauth-cert/tls.crt
    tlsKeyFile: /etc/vm/secrets/int-vmauth-cert/tls.key

the container spec has:
    livenessProbe:
      failureThreshold: 10
      httpGet:
        path: /health
        port: 8427
        scheme: HTTP
      periodSeconds: 5
      successThreshold: 1
      timeoutSeconds: 5
    readinessProbe:
      failureThreshold: 10
      httpGet:
        path: /health
        port: 8427
        scheme: HTTPS
      periodSeconds: 5
      successThreshold: 1
      timeoutSeconds: 5

So the livenessProbe doesn't have proper scheme while readinessProbe does. As a result the container keeps crashing.
The operator image is docker.io/victoriametrics/operator:v0.42.2

Must be fixed at v0.42.0 release


Use containers bulk, not items in containers bulk

So currently it appears that if you're using the bulk variant with the module item containers, containers will be counted as the same bulk as the item placed inside the container instead of the bulk of the actual container. I would like it if there was an option to allow the bulk of a container to override the bulk of items placed inside the container.
So I can have 10 bulk placed in a 3 bulk container, and my character sheet will only count the 3 bulk. I personally do this to encourage my players to spend money on different containers like quivers, and potion pouches... etc
Edit: Also an option to reduce the bulk of worn armor/clothing to 0 would be nice, bt is easy enough to do manually.

What did you mean with Also an option to reduce the bulk of worn armor/clothing to 0 would be nice, bt is easy enough to do manually. ? You mean for equipped items to set bulk to 0 ?

No, just clothing/armor since you don't really have to "hold" it so it doesn't really take up space. In fact most clothing makes it a little easier to hold items since clothing has like pockets and belts.

Moved away from using item containers since you inventory + module fulfills my needs better

@Orionox  the bug fix and the feature request are done on 0.11.4


Angular 4 with .Net core 2.1 role based authorization issue

I am using Angular 4 with dot net core 2.1(project skeleton is the one which gets created by default in visual studio 2017). I am doing claim based policy validation as below in my startup.cs :
services.AddAuthorization(options =>
            {
                options.AddPolicy("ReaderRole", policy => policy.RequireClaim("role", "READER"));
            });

and along with this I am decorating my API controller action with the attribute as shown below:
[Authorize(Policy = "ReaderRole")]
[HttpGet("{id}")]
public async Task<JsonResult> Get(string id)
{
}

Now authorization is working as expected and in case if user is not authorized controller is throwing below error but the response is in HTTP which browser(chrome) is blocking and I am not able to proceed further. My angular is not receiving the repose of the api call(.Net api) and it breaks in between.
Mixed Content: The page at 'https://myURL/home' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint<EMAIL_ADDRESS>This request has been blocked; the content must be served over HTTPS.

@jai00271 - can you provide more info about your app? Is there any additional setup, such as a reverse proxy? And how is the XMLHttpRequest AJAX call being done? Any additional info you provide would be helpful.

Hi Eilon,
the issue was with dot net core converting 502 to 302. I changed it to 401 and it is working fine. But still not sure why .Net core is converting 502 to 302.

@jai00271 can you provide exact info on how to reproduce the issue and what the question is?


Update homework.sh

Hi @@simeon-demo,
I have completed the shell homework for review.
Thank you so much! I really appreciate it!
Best regards,
Caroline

uoft-dsi-c3-homework-20240426

I have made a commit to assignment.
It seems the assignment commit also shows in the pull request previously created for homework.
Please review both at your convenience.
Thank you,
Caroline

Hi Simeon (@simeon-demo) and Michaela (@michaela drouillard),
I have completed the shell assignment for your review.
I have used different commands (such as cd, cat, ls, etc) to get familiar with the files stored under clues folder. I was able to get the answers for the secret password.
Thank you so much for your time and consideration.
Best regards,
Caroline

Hi Michaela (@michaelA drouillard),
Thank you for your comments for the homework. I appreciate it!
I have also made a commit to the shell assignment. Regarding submitting the assignment, should I create another pull request?
Thanks,
Caroline

Hi Julia,
Thank you for providing the answer. I was wondering if the answer to 4th question should be Legacies, as per below print screen.


Allow to register additional handlebars helpers

(or at least add more helpers)
The current problem is that existing helpers couldn't fit all the requirements. For example consider following handlebars. Look at this place:
#### Parameters:
| Name | Type | Description                                                          |
| :--- | :--- | :------------------------------------------------------------------- |
{{#natspec.params}}
|`{{param}}` | {{#lookup ../args.types @index}}{{/lookup}} | {{ description }}{{/natspec.params}}{{/if}}
{{#if natspec.returns}}

It looks just fine but natspec allows description to have newlines (and this is what happens when you have a really long comment). If this happens markup get ruined because it's get rendered into something like:
#### Parameters:
| Name | Type | Description                                                          |
| :--- | :--- | :------------------------------------------------------------------- |
|`paramName` | address[] | SomeDescription is reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeealy long
and goes here
|`paramName2` | address | Another desc here

which renders as

In this specific case we would probably like to write:
#### Parameters:
| Name | Type | Description                                                          |
| :--- | :--- | :------------------------------------------------------------------- |
{{#natspec.params}}
|`{{param}}` | {{#lookup ../args.types @index}}{{/lookup}} | {{#removeNewlines description }}{{/natspec.params}}{{/if}}
{{#if natspec.returns}}

But it's not something we can express in handlebars. We need to either has some specific helper (like string.replace(pattern, newValue) or allow to register an arbitrary file like we do register contract and allow user to use these helpers. For example we could just search for handlerbarsHelpers.js of some known form and then include all its functions as handlebars helpers.
I could try to make a PR if you feel like this is something you can merge.

Another example would be any/all (for example "render header only if any of items has some condition evaluated to true)

Hey sorry that this is not documented but you can already register additional helpers as shown here: https://github.com/OpenZeppelin/solidity-docgen/issues/213#issuecomment-651365558


Update some links in README.md

boto and gviz_api are on github now, and the Google Visualization API has a new home page.

:+1: thanks!


Update react-tap-event-plugin dependency to v2

Lore includes a dependency on react-tap-event-plugin to remove the tap delay on mobile devices.
With React v15.4.0 they split ReactDOM out of React and this causes a breaking change with v1 of react-tap-event-plugin.
Updating to v2 will solve the issue.

Closing this as https://github.com/lore/lore/commit/3db41d209040232d84226c604fd3b5db691681cf resolves the issue.
The change will be included in the framework as part of upcoming v0.11 release.


NGINX Proxy Manager update error

✅ Have you read and understood the above guidelines?
yes
📜 What is the name of the script you are using?
Nginx Proxy Manager
📂 What was the exact command used to execute the script?
update
📝 Provide a clear and concise description of the issue.
Running "update" commands returns an error and an unusable LXC (had to restore from backup):
✔  Stopped Services
✔  Cleaned Old Files
✔  Downloaded NPM v2.12.2
⠦ Setting up Enviroment
[ERROR] in line 109: exit code 0: while executing command python3 -m pip install --no-cache-dir certbot-dns-cloudflare &> /dev/null
⚙ What settings are you using?

[X] Default Settings
[ ] Advanced Settings

🖥 Which Linux distribution are you using?
Debian 12
🔄 Steps to reproduce the issue.
Run "update" command to update from v2.12.1 to 2.12.2
❌ Paste the full error output (if available).
[ERROR] in line 109: exit code 0: while executing command python3 -m pip install --no-cache-dir certbot-dns-cloudflare &> /dev/null
🖼 Additional context (optional).
No response

Python Error. See discussion

Thx for the hint, its working now.


fish: failed to build on Ubuntu Trusty

fish failed to build with the following message
/bin/sh: 1: /usr/bin/sed: not found

Output from brew gist-logs fish: https://gist.github.com/anonymous/dc6e97c7c0a309c062b3
In Ubuntu sed is located at /bin/sed, not at /usr/bin/sed.
Workaround: Edit line 24 in the fish formula accordingly.

Does this change work?
    system "./configure", "--prefix=#{prefix}", ("SED=/usr/bin/sed" if OS.mac?)

Yeah, that does the trick.
By the way, thank you very much for your work on linuxbrew! It certainly makes my life easier in the university computer lab.

Thanks for the quick fix. I'm now able to build and run fish, but when I run fish -l I get:
ubuntu@localhost ~> Unable to make or open a FIFO for universal variables with path '/run/user/0/fishd.04015e0f4101.notifier': Permission denied

Otherwise seems to be working okay so far. Anyone know if I can safely ignore this?
Note: I intentionally did not heed the caveat to add /home/ubuntu/.linuxbrew/bin/fish to /etc/shells as it didn't seem right to add an entry for something inside a user's home directory, especially when the intention is for this user's brew-built fish to be available to this user only. (Assume this user doesn't have root, for instance.) Should this be set up some other way?

I'm afraid I don't know what that error message means. Best to contact the upstream developer.

Looks like same issue as http://stackoverflow.com/q/27615899 and according to @ridiculousfish (the upstream developer) in http://stackoverflow.com/questions/27615899/fish-error-upon-startup-to-access-a-file-that-does-exist#comment43702109_27615899 it's a misconfiguration issue.


Issue #3794 Fixed : "Show Clickable Link" checkbox does not update until entire dashboard is saved

[x] I have read and understand the pull request rules.

Description
Fixes #3794 "Show Clickable Link" checkbox does not update until entire dashboard is saved
Type of change
Please delete any options that are not relevant.

Bug fix (non-breaking change which fixes an issue)

Checklist

[x] My code follows the style guidelines of this project
[x] I ran ESLint and other linters for modified files
[x] I have performed a self-review of my own code and tested it
[x] I have commented my code, particularly in hard-to-understand areas
(including JSDoc for methods)
[x] My changes generate no new warnings
[ ] My code needed automated testing. I have added them (this is optional task)

Screenshots (if any)
All the tests are passed

Here's the fixed issue
https://github.com/louislam/uptime-kuma/assets/78111534/c0162567-2384-4a55-bfd2-0e5da40f4711

Have you actually tried using the Status Pages? Can you explain how the way you "fixed" the issue makes any sense given how the feature works?

Have you actually tried using the Status Pages? Can you explain how the way you "fixed" the issue makes any sense given how the feature works?

I have tried using the status page. From what I thought from the Issue #3794 was that the whole point is to save the current state of checkbox in isClickable variable. Tho I did used local storage for it. So if you guys are using that same variable  at multiple places and everywhere you're using local storage to access the state of checkbox, only then it might give you trouble. Else it seems fine to me. You can try it out. I can give you the access to local repo.

The setting is applied per-monitor, meaning that enabling "clickable click" should only affect that item.

looks like issue is still there


Replace the default Nashorn-based ComplexityFunction

Nashorn was removed from JDK15+. The Spring project will get a SpEL-based implementation, but core SPQR needs an alternative that's not dependent on Spring. A simple implementation of Dijkstra's shunting yard will suffice.

The JavaScript (Nashorn) based evaluator is still available, but must be configured explicitly:
GraphQL exe = GraphQLRuntime.newGraphQL(schema)
                .maximumQueryComplexity(maxComplexity, new JavaScriptEvaluator())
                .build();

If Nashorn engine isn't available (JDK15+), the dependency must be added by the user.


Allow use of filter-incompatible-targets for Bazel >= 7.4.0

It would appear the fix for https://github.com/bazelbuild/bazel/issues/21010 is being included in 7.4.0 (https://github.com/bazelbuild/bazel/commit/06f99bbf815288a6be6e3a63315f011ac5b2113b) so it seems safe to allow the functionality on versions newer than that.

It would also be great te have  release with this change!


Translate sicx to Java

Expect two days to translate since it is a pretty basic token contract.

Suyog is updating to current unit testing standards.


Cloud Nine doesn't disable weather effects.

Tested with Sunny Day, the UI doesn't show anything to indicate that weather effects have been nullified when a pokemon with Cloud Nine is brought in.

It disables weather effects, but doesn't show in the UI. Are you requesting us to add an indicator that the effects of weather are being suppressed?

We already give a lot of visual indicators for Air Lock being activated.
In-game, the weather visual effect is still active with Air Lock: https://www.youtube.com/watch?v=LZrhenGo1ZQ

I think it might be nice to hide the visual weather effect, though. No reason for us not to be better than the games.

And what about keeping the effect as a reminder that there is an underlying weather? ;o

Well, we still have the turn counter...


[FLINK-2306] Add support for named streams in Storm compatibility layer

 - enabled .declareStream() and connect via stream name
 - enabled multiplt output streams
 - added .split() / .select() / strip pattern
 - added helpers in new package utils
 - adapted and extended JUnit tests
 - adapted examples

The CU reports 3 failures.
2 failures in storm-compatibility-core
1 failure in YARN (yarn not responding)

Yes. It a weird compile error and it builds locally... The error is:
[ERROR] /home/travis/build/mjsax/flink/flink-contrib/flink-storm-compatibility/flink-storm-compatibility-core/src/main/java/org/apache/flink/stormcompatibility/wrappers/StormFiniteSpoutWrapper.java:[27,64] package org.apache.flink.hadoop.shaded.com.google.common.collect does not exist
I have no clue what's wrong... :/ Any suggestions?

Looks like an issue with shaded dependencies.
Have a look here for some background on shading: https://cwiki.apache.org/confluence/display/FLINK/Hadoop+Versions+and+Dependency+Shading

Fixed. This should be ready to get merged. Please review.

Will merge this...


Convert UWP samples to use C++/WinRT instead of C++/CX

For a while now, Microsoft have been saying to use C++/WinRT instead of C++/CX. Why then, are these samples still using C++/CX?
When will we get good resources explaining and showing how to use C++/WinRT and DirectX together? Do they exist already and I just can't find them?

The use of C++/CX vs. C++/WinRT is pretty much orthogonal to the use of DirectX. The samples use C++/CX to establish the UWP window and message loop, but the bulk of the samples are pure C++ using DirectX via COM.
If you want some examples of a C++/WinRT 'basic window message loop', take a look at directx-vs-templates.

@walbourn Thanks for that clarification. I would like to mention though, that it's confusing and presents a barrier when official samples use technology that is either deprecated or not-recommended, and in this case, not even supported. It's hard enough working this stuff out given that there is a combination of complex technologies: C++, DirectX and C++/WinRT, without throwing in the extra difficulty that the code you present as official examples does not even work in the current application development environment. Why would you leave it the way it is?
It just seems like there is something lacking in the presentation of graphics technologies over at Microsoft. No one writing a DirectX tutorial today would use C++/CX. Updating this example code should be on your timeline I would think.

If you could, please rename the issue to Convert UWP samples to use C++/WinRT instead of C++/CX

The samples in Petzold's PW6 which are largely UWP should be translated to C++/WinRT.

The samples in Petzold's PW6 which are largely UWP should be translated to C++/WinRT.

To be fair, that book was written for Windows 8 which predates C++/WinRT projections.

To be fair, that book was written for Windows 8 which predates C++/WinRT projections.
I find that the samples work well when translated to C++/WInRT. A number of Windows 8 API's have been replaced but this is well documented. The biggest problem is trying to figure out C++CX async task<> calls and how to replace things like C++/CX CancellationTokenSource which came across from .NET
I translated the Chapter03 Basic Event Handling samples from C++/CX to C++/WinRT and then to the Rust Crate for Windows (replacing the Xaml with API calls) and these samples run perfectly.


Trxrf

plot time-resolved x-ray fluorescence data from Beamline B18 Diamond light source

Thanks for docstrings! All looks good. I'll get it passing checks and solve the merge conflicts soon!

Thank you Soren!


[ini] syntax highlighting not working with arrays

Preamble: posting here because I have seen that other issues with .ini syntax highlighting in VS Code have been moved to this repo, e.g. https://github.com/demyte/language-cshtml/issues/11 if this is not the correct place to post, I aplogise, please feel free to move it elsewhere.
In VS Code, when editing .ini files, arrays are not highlighted.
How to reproduce:
open VS Code
create a file with extension .ini
add to the file an array, e.g.
mylabel[myindex] = myvalue
mylabel[otherindex] = othervalue

the lines are not colorized.

Closing as I do not believe this is valid for this grammar


Fix code sample indent for UWP .NET test

Learn Build status updates of commit 64b3fa9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/test/walkthrough-creating-and-running-unit-tests-for-windows-store-apps.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@Mikejo5000

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

Thank you @Jak-MS and @Mikejo5000!


Thuang 650 my collection page feedback

@hthomas-czi PTAL if the UI looks good! Thanks a lot!

Thanks so much for the quick feedback, @hthomas-czi 🙏
I changed it from minimal to outlined, because of the same aligning issue we had with Create Collection component too 😆 But if the same solution doesn't work here, we can certainly do it differently!
@seve can you help update the button to show the Popover on hover please? And I think I also accidentally removed the window bound thing, so please help add it back too!
I'll start adding notes in the PR description and code, so you know what changes I made
After that, please take over the PR and work with Harley on design changes, so we can get this merged today! Thank you!

I changed it from minimal to outlined, because of the same aligning issue we had with Create Collection component too 😆 But if the same solution doesn't work here, we can certainly do it differently!

Good thinking! However, the aligning issue shouldn't be a problem here because the overflow indicator is a tag, not a button. Let me know if you have any questions about that.

Looks good, @seve!
I was originally thinking the Status and Assay overflow indicators would be minimal Tags. Since it's not a button, I figured the popover would appear on hover but that's not a huge deal.

Ooh got it! So we should use https://blueprintjs.com/docs/#core/components/tag instead 👍 Thank you!
@seve can you help update it to use tag and overwrite the default Blueprint style following @hthomas-czi 's style guide in Figma here? Thanks a lot!

You've got it! Thanks, Timmy.

LGTM! I also added a screenshot in the description, so it's easier for @hthomas-czi to review 😄 👌 Thanks, @seve !!


don't use setBaseAndExtent anymore. webkit has supported addRange for ye...

...ars; jparent says so
https://trac.webkit.org/changeset/18332

@nicks if you rebase this on the current master, I'll look at merging. Otherwise, I can take it over. Let me know.

Moving this PR into https://github.com/google/closure-library/pull/579.


Investigate why select is complaining about contents

Repl is wired up, but select isn't exploding in plan for some reason.  Very mysterious.

This issue was with preceding and trailing slashes. We loaded the data into mimir as /zips/ instead of as zips. We were not able to perform a select until we removed these slashes.


添加规则

添加规则：
1.图层为整数；
2.圆角为 2px
3.查找隐藏图层
4.

Codecov Report

Merging #5 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master        #5   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         6
  Lines           98        98
  Branches         7         7
=========================================
  Hits            98        98

Impacted Files
Coverage Δ

src/rules/TextHeight.ts
100.00% <100.00%> (ø)

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 5902824...25eaec3. Read the comment docs.

可能还需要添加测试用例


Linux build

[x] fix script permission (-x) and interpreter (bash)
[x] fix UNIX vs __unix__ macro
[x] add couple of const auto& gcc being peaky
[x] tentatively use std::filesystem instead a manual // vs \ path separator
[x] fix opencl vs glx include order
[x] add explicit link to libglx and libOpenCl
[x] add quick readme section to install dependencies using apt

Oups definitely left over of some debugging things ...
Le lun. 1 nov. 2021, 2 h 14 p.m., Adrien Moulin @.***>
a écrit :

@.**** requested changes on this pull request.
Only the conan thing is bugging me, the rest looks great. Thanks a lot for
taking the time to do this!!
In conanfile.py
https://github.com/axoloto/RealTimeParticles/pull/19#discussion_r740425357
:

 version = "0.1"

 requires = ["sdl/[>=2.0.12]",

             "glad/[>=0.1.29]",

           "opencl-headers/[>=2021.04.29]",

           "opencl-icd-loader/[>=2021.04.29]",

           #"opencl-headers/[>=2021.04.29]",

Is it on purpose or a left over? Pretty sure it is not going to work on a
clean Windows machine if we don't get those two.
In README.md
https://github.com/axoloto/RealTimeParticles/pull/19#discussion_r740425612
:

@@ -25,17 +25,29 @@ Real-time physics models currently implemented:

C++ compiler, tested with MSVC 15/19 only for now

Device (GPU, IGPU or else) supporting OpenGL and OpenCL 1.2 or higher

-# Build and Run
+### Install requierments Ubuntu
⬇ Suggested change
-### Install requierments Ubuntu
+### Install requirements Ubuntu

In README.md
https://github.com/axoloto/RealTimeParticles/pull/19#discussion_r740425676
:

@@ -25,17 +25,29 @@ Real-time physics models currently implemented:

C++ compiler, tested with MSVC 15/19 only for now

Device (GPU, IGPU or else) supporting OpenGL and OpenCL 1.2 or higher

-# Build and Run
+### Install requierments Ubuntu
;D
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/axoloto/RealTimeParticles/pull/19#pullrequestreview-794505687,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANJLAWAJTYNVQG73MREIT3UJ3KHHANCNFSM5G23AJ6A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

PR merged in PR #20 including some additional changes. Working flawlessly on Windows, thanks again @vrince !


Add a new property to the autocomplete component to enhance the nonJS functionality

A new property needs to be added to the autocomplete component to better handle some nonJS scenarios.
Currently by default if no javascript is detected it will fallback and render a select component with all of the available options, instead of this behaviour a new property needs to be added so that other html elements could be rendered instead.
Please make a new property called nonJsComponent which will take html as a value. If this property is detected and the component isn't hydrated (user has turned off JS) then render the nonJsComponent. If the user hasn't used the new property and the component isn't hydrated then continue it should fallback to the select component by default as we are doing currently.
Please follow these steps to create your branch:
git checkout release/1.1.0
git pull
git checkout -b 'feature/autocomplete-non-js-fallback'

pushed on feature/autocomplete-non-js-fallback

closed by https://github.com/Capgemini/dcx-react-library/pull/661


Fix crashing when using 2.1 model

We now require more free memory to avoid attention slicing. 17.5% free was not sufficient headroom in all cases, so now we require 25%.

Thanks for fixing this. I can't functionally test because I have "too much" VRAM on my system.

That's a real problem you have there...


bash completion

Based on an initial implementation from Iago.
Fixes https://github.com/coreos/rkt/issues/1419

TODO: rkt image rm <TAB> should auto-complete to both image IDs and image names. See #1779.

LGTM

neat!