Make rebind also work with attached packages

What problem did you solve?
Closes #263
Previously, if a user attaches utils for some reason before calling source("~/.vscode-R/init.R"), then utils::View is replaced but View is still not. As a result, View cannot not trigger web view and user has use utils::View as a walk-around.
This PR makes rebind in init.R more robust so that it also works in this case too.
(If you do not have screenshot) How can I check this pull request?

Insert library(utils) before sourcing ~/.vscode-R/init.R in ~/.Rprofile
Start a new R session
Run View(mtcars) and it should work.

Hi @renkun-ken, I will review these two PRs this weekend.

@renkun-ken I tested this on Windows 10 and it works. If you are happy with it, please merge.

Thanks for testing!


[5.4][CodeCompletion][ASTPrinter] Fix a null pointer dereference in PrintAST.

Cherry-pick of https://github.com/apple/swift/pull/35508/ for 5.4.

Explanation:
Some code in PrintAST assumed that if the Type CurrentType member was set the Decl *Current member would be too, so resolved it without a null check. When printing a type directly rather than as part of printing a decl, however (like code completion does in CompletionLookup::addTypeAnnotation()), this doesn't always hold.
Scope of issue:
Crashes SourceKit whenever the completion results contain a generic function and the context of the completion position expects a function type and is within a type context (struct, class, enum, etc.), for example:// valid to include as a function reference for the completion below
public func someFunc<T>(_ f: T) {}
struct MyResult {
  // crashes when printing the type of the completion result for someFunc above
  let x: (Int) -> () = <complete here>
}

Origination: I believe the code path that exposed this was introduced when we added annotated result types to the code completion results sourcekit returns (so they can more easily be syntax highlighted in client editors).
Risk: Low. The change just adds a null check in two places.
Testing: Added a regression test for this case and all existing tests pass.
Reviewer: Rintaro Ishizaki (@rintaro) on the main branch PR.

Resolves https://bugs.swift.org/browse/SR-13703
Resolves rdar://problem/70057258

@swift-ci please test

@swift-ci please test

@swift-ci please nominate

@swift-ci please nominate


Chat added to contact us

Thanks for submitting a PR! Please check the boxes below:

[x] I have run pre-commit to check linting
[x] I have filled in the "Changes" section below?
[x] I have filled in the "How did you test this code" section below?

Changes
Fixes open chat on clicking Contact Us in the pricing modal
How did you test this code?

Please describe.

@EdsnLoor please can you make sure that you're filling out the PR template. I'll review this once you've done so.

Adjusted


last release is broken without lib dir

Last release is not usable. Package is published without code
👇🏼 is what we see after package installation

I think it might be because of https://github.com/asyncapi/bundler/blob/master/package.json#L37
I think it should say "/lib" and not lib/
I do not see any other reason why it is not really published to npm.
"main": "lib/index.js" entrypoint is correct. It's just that the index file do not exist in the package

@derberg can I look into this?

@toukirkhan please go ahead

tip: you can test it locally, if your fix works by running npm publish --dry-run, if I remember the command correct 😄
if terminal will print only 👇🏼
npm notice === Tarball Contents ===
npm notice 11.4kB LICENSE
npm notice 7.1kB  README.md
npm notice 3.0kB  package.json
npm notice === Tarball Details ===

then it is not fixed.
it is fixed if index.js will be listed too

alright @derberg working on this one!!

@derberg am using npm publish --dry -run it only shows package.json in tarball contents

@toukirkhan can you show full log, please, and what modifications you already did

yeah am attaching the screenshots @derberg

I have changed "lib/" to "/lib"

also it has shown the tarball contents you mentioned above once

strange you see only package.json
anyway, I forgot to tell you that you need to install bundler npm i and then run npm run build to actually generate lib dir first. Publish dry run do not show lib probably because you do not have it there on a local drive

I have did the same steps
On Thu, 13 Oct, 2022, 5:47 pm Lukasz Gornicki, @.***>
wrote:

strange you see only package.json
anyway, I forgot to tell you that you need to install bundler npm i and
then run npm run build to actually generate lib dir first. Publish dry
run do not show lib probably because you do not have it there on a local
drive
—
Reply to this email directly, view it on GitHub
https://github.com/asyncapi/bundler/issues/75#issuecomment-1277519406,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVGH3Q4VCI6BLDHS5DGXK5LWC74WLANCNFSM6AAAAAARD747PE
.
You are receiving this because you were mentioned.Message ID:
@.***>

ok 🤔 , can you share, like drop the view of the directory from which you run npm publish?

yeah sure

@derberg

I am running it in the node_modules directory

@derberg okay I got it changed lib but it still does not show index.html

you mean index.js right?
can you show latest logs?

I saw that in picture your terminal says that npm run build doesn't exist. This is weirt. Are you sure bundler is the directory where you cloned the project? can you print all files you have there ls is command in UNIX, not sure windows

yeah sure

I think best would be if @toukirkhan you can open a PR, and we can check it.

I think best would be if @toukirkhan you can open a PR, and we can check it.

it won't be a great idea because it does not resolves the issue

@derberg i did npm run build

Ok, I think I know what the problem is
you do ls and other command runs from inside the node_modules where bundler is installed, and yes it shows that package is empty, which is wrong.
now please explain why in bundler directory you installed @asyncapi/bundler
what is exactly in bundler directory, main one, not bundler\none_modules\@asyncapi\bundler?

so if C:\Users\Lenovo\Desktop\bundler is a place where you cloned your fork
then you should do:
C:\Users\Lenovo\Desktop\bundler> npm i
C:\Users\Lenovo\Desktop\bundler> npm run build
C:\Users\Lenovo\Desktop\bundler> npm publish --dry-run

Ok, I think I know what the problem is
you do ls and other command runs from inside the node_modules where bundler is installed, and yes it shows that package is empty, which is wrong.
now please explain why in bundler directory you installed @asyncapi/bundler
what is exactly in bundler directory, main one, not bundler\none_modules\@asyncapi\bundler?

bundler directory is a directory in my desktop inside which I have installed the bundler

so if C:\Users\Lenovo\Desktop\bundler is a place where you cloned your fork
then you should do:
C:\Users\Lenovo\Desktop\bundler> npm i
C:\Users\Lenovo\Desktop\bundler> npm run build
C:\Users\Lenovo\Desktop\bundler> npm publish --dry-run

yeah finally I got this!!

I have run the command inside the cloned bundler repo and made a dry run and it shows this

now where should I make the changes?

here is the directory

yup, perfect. from your logs it looks like it is the fix we expect. go ahead and open up a PR

@derberg okay cool! am opnening it rn


Use 3.0 GA packages from Microsoft

adjust opting into document generation slightly (might need a release note?)
bump npm version in lock file

/cc @RicoSuter

might need a release note?

What would you write?

What would you write?

A quick note that $(OpenApiGenerateDocuments) should now be used to (completely) disable document generation e.g. for projects targeting .NET Framework and using older versions of ASP.NET Core (a much harder to detect case than using older TFMs) while $(OpenApiGenerateDocumentsOnBuild) should be used to opt into the feature on every build.
The change isn't breaking per-se but those who've opted into doc gen using $(OpenApiGenerateDocuments) may wonder why docs aren't being generated after upgrading w/o a note.


gunicorn  flask  and json-logging-python combine together

how can gunicorn  flask  and json-logging-python combine together?
can you show me an example?
gunicorn.conf.py

bind = '<IP_ADDRESS>:%i' % int(os.getenv('PORT', 5000))
backlog = int(os.getenv('GUNICORN_BACKLOG', 2048))

#
# Worker processes
#
#   workers - The number of worker processes that this server
#       should keep alive for handling requests.
#
#       A positive integer generally in the 2-4 x $(NUM_CORES)
#       range. You'll want to vary this a bit to find the best
#       for your particular application's work load.
#
#   worker_class - The type of workers to use. The default
#       async class should handle most 'normal' types of work
#       loads. You'll want to read http://gunicorn/deployment.hml
#       for information on when you might want to choose one
#       of the other worker classes.
#
#       An string referring to a 'gunicorn.workers' entry point
#       or a python path to a subclass of
#       gunicorn.workers.base.Worker. The default provided values
#       are:
#
#           egg:gunicorn#sync
#           egg:gunicorn#eventlet   - Requires eventlet >= 0.9.7
#           egg:gunicorn#gevent     - Requires gevent >= 0.12.2 (?)
#           egg:gunicorn#tornado    - Requires tornado >= 0.2
#
#   worker_connections - For the eventlet and gevent worker classes
#       this limits the maximum number of simultaneous clients that
#       a single process can handle.
#
#       A positive integer generally set to around 1000.
#
#   max_requests - The maximum number of requests a worker will process
#       before restarting.
#
#       Any value greater than zero will limit the number of requests
#       a work will process before automatically restarting. This is
#       a simple method to help limit the damage of memory leaks.
#
#       If this is set to zero (the default) then the automatic
#       worker restarts are disabled.
#
#   max_requests_jitter - The maximum jitter to add to the max-requests
#       setting.
#
#       The jitter causes the restart per worker to be randomized
#       by randint(0, max_requests_jitter). This is intended to
#       stagger worker restarts to avoid all workers restarting
#       at the same time.
#
#   timeout - If a worker does not notify the master process in this
#       number of seconds it is killed and a new worker is spawned
#       to replace it.
#
#       Generally set to thirty seconds. Only set this noticeably
#       higher if you're sure of the repercussions for sync workers.
#       For the non sync workers it just means that the worker
#       process is still communicating and is not tied to the length
#       of time required to handle a single request.
#
#   graceful_timeout - Timeout for graceful workers restart.
#
#       Generally set to thirty seconds. How max time worker can handle
#       request after got restart signal. If the time is up worker will
#       be force killed.
#
#   keepalive - The number of seconds to wait for the next request
#       on a Keep-Alive HTTP connection.
#
#       A positive integer. Generally set in the 1-5 seconds range.
#
#   threads - The number of worker threads for handling requests.
#
#       Run each worker with the specified number of threads.
#
#       A positive integer generally in the 2-4 x $(NUM_CORES) range.
#       You'll want to vary this a bit to find the best for your
#       particular application's work load.

workers = int(os.getenv('WEB_CONCURRENCY', multiprocessing.cpu_count() * 2 + 1))
worker_class = os.getenv('GUNICORN_WORKER_CLASS', 'gevent')
worker_connections = int(os.getenv('GUNICORN_WORKER_CONNECTIONS', 2000))
max_requests = int(os.getenv('GUNICORN_MAX_REQUESTS', 0))
max_requests_jitter = int(os.getenv('GUNICORN_MAX_REQUESTS_JITTER', 0))
timeout = int(os.getenv('GUNICORN_TIMEOUT', 300))
graceful_timeout = int(os.getenv('GUNICORN_GRACEFUL_TIMEOUT', 0))
keepalive = int(os.getenv('GUNICORN_KEEPALIVE', 2))
threads = int(os.getenv('GUNICORN_THREADS', 1))

#
# Debugging
#
#   reload - Restart workers when code changes.
#
#       This setting is intended for development. It will cause workers to be
#       restarted whenever application code changes.
#
#       The reloader is incompatible with application preloading. When using a
#       paste configuration be sure that the server block does not import any
#       application code or the reload will not work as designed.
#
#   spew - Install a trace function that spews every line of Python
#       that is executed when running the server. This is the
#       nuclear option.
#
#       True or False
#

reload = bool(os.getenv('GUNICORN_RELOAD', False))
spew = False

#
# Server mechanics
#
#   daemon - Detach the main Gunicorn process from the controlling
#       terminal with a standard fork/fork sequence.
#
#       True or False
#
#   pidfile - The path to a pid file to write
#
#       A path string or None to not write a pid file.
#
#   user - Switch worker processes to run as this user.
#
#       A valid user id (as an integer) or the name of a user that
#       can be retrieved with a call to pwd.getpwnam(value) or None
#       to not change the worker process user.
#
#   group - Switch worker process to run as this group.
#
#       A valid group id (as an integer) or the name of a user that
#       can be retrieved with a call to pwd.getgrnam(value) or None
#       to change the worker processes group.
#
#   umask - A mask for file permissions written by Gunicorn. Note that
#       this affects unix socket permissions.
#
#       A valid value for the os.umask(mode) call or a string
#       compatible with int(value, 0) (0 means Python guesses
#       the base, so values like "0", "0xFF", "0022" are valid
#       for decimal, hex, and octal representations)
#
#   tmp_upload_dir - A directory to store temporary request data when
#       requests are read. This will most likely be disappearing soon.
#
#       A path to a directory where the process owner can write. Or
#       None to signal that Python should choose one on its own.
#

daemon = False
pidfile = None
umask = 0
user = None
group = None
tmp_upload_dir = None

#
#   Logging
#
#   logfile - The path to a log file to write to.
#
#       A path string. "-" means log to stdout.
#
#   loglevel - The granularity of log output
#
#       A string of "debug", "info", "warning", "error", "critical"
#

# errorlog = '-'
loglevel = os.getenv('GUNICORN_LOG_LEVEL', 'info')
logconfig = 'logging.conf'
# 增加%D 请求的执行时间
# access_log_format = '%(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(D)s %(b)s "%(f)s" "%(a)s"'
access_log_format = "{'remote_ip':'%(h)s','request_id':'%({X-Request-Id}i)s','response_code':'%(s)s','request_method':'%(m)s','request_path':'%(U)s','request_querystring':'%(q)s','request_timetaken':'%(D)s','response_length':'%(B)s'}"
# access_log_format = 'remote!%({X-Forwarded-For}i)s|method!%(m)s|url-path!%(U)s|query!%(q)s|username!%(u)s|protocol!%(H)s|status!%(s)s|response-length!%(b)s|referrer!%(f)s|user-agent!%(a)s|request-time!%(L)s'

logging.conf:
[loggers]
#keys=root, gunicorn.access
keys=root

[handlers]
keys=timedRotatingFileHandler, console, access_file

[formatters]
keys=generic, access

[logger_root]
level=INFO
handlers=timedRotatingFileHandler,console

[logger_gunicorn.access]
level=INFO
handlers=access_file,console
propagate=0
qualname=gunicorn.access

[handler_console]
class=StreamHandler
formatter=generic
args=(sys.stdout,)

[handler_access_file]
class=SafeFileHandler
formatter=access
args=('./log/smart_counter.access.log',)

[handler_timedRotatingFileHandler]
class=SafeFileHandler
formatter=generic
args=('./log/smart_counter.log',)

[formatter_generic]
format=%(asctime)s [%(process)d] [%(levelname)s] %(message)s
datefmt=%Y-%m-%d %H:%M:%S
class=logging.Formatter

[formatter_access]
format=%(message)s
class=logging.Formatter

flask:

        logging.basicConfig()
        json_logging.ENABLE_JSON_LOGGING = True
        json_logging.init(framework_name='flask')
        json_logging.config_root_logger()
        json_logging.init_request_instrument(app)

is this right?

sorry gunicorn is not support at the moment. PR is welcome


Support voor de overige processen

[x] Measurement
[ ] Forecast
[ ] Astronomical

BLOCKED, because the other processes don't work right now in production, meaning it is currently impossible to test and implement this feature.


Readme Improvement for snapchat filter readme

https://github.com/akshitagupta15june/Face-X/tree/master/Snapchat_Filters
add the details of all filter implemented along with enhancement

Hey @akshitagupta15june, I'm Vishal Patil and I would like to work on this issue under GSSoC'21. It'll be great if you assign this to me so that I can contribute to this.
Thanks!

assigning to @A-kriti


Update some dependencies, add CNI

This patch updates some of our dependencies, and adds CNI (which vndr will smartly drop if we run it again, but which we'll actually start using soon).

LGTM

LGTM and happy green test buttons.

@rh-atomic-bot r+


Set up Prometheus to collect application metrics with alertmanager

Alloy is already responsible for sending metrics received from OTEL to Prometheus. As for metrics created from logs or traces, we will simply create alerts with Grafana, which simplifies their development


Add a basic Frame to base.org

What changed? Why?
Add basic Farcaster Frame for base.org.
Displays same image as OpenGraph / Twitter (for now)
Displays two buttons (same ones as homepage):

Read the docs - link to docs
Bridge assets - link to bridge

Notes to reviewers
N/A
How has it been tested?
Manually
Does this PR add a new token to the bridge?

[x] No, this PR does not add a new token to the bridge
[ ] I've confirmed this token doesn't use a bridge override
[ ] I've confirmed this token is an OptimismMintableERC20

Please include evidence of both confirmations above for your reviewers.

Review Error for jessepollak @ 2024-02-09 23:47:34 UTC
User failed mfa authentication, public email is not set on your github profile. see go/mfa-help


@types/node can't be excluded in types or typeRoots

Bug Report
i have repo where some code is executed in node (config files, etc.) and the rest is executed within the browser, so i need to have @types/node installed but only available within the files that are actually executed by node.
however, it seems that @types/node is available regardless of what you specify in types or typeRoots, so it doesn't seem to be possible to do this.

🔎 Search Terms
@types/node types typeroots

🕗 Version & Regression Information
4.7.0-dev.20220420
⏯ Playground Link
n/a no types or typeRoots options in the playground
💻 Code
here i have two @types/* packages with globally declared symbols. when i set types and typeRoots to [], it correctly removes @types/openui5's globally declared types but not @types/node's

code:
export {}

sap // error
__dirname // no error

tsconfig:
{
    "compilerOptions": {
        "typeRoots": [],
        "types": []
    }
}

package.json:
{
    "devDependencies": {
        "@types/node": "14.14.20",
        "@types/openui5": "^1.100.0",
    }
}

🙁 Actual behavior
no error when attempting to use globally declared types from @types/node

🙂 Expected behavior
error: Cannot find name '__dirname'.

Would you mind running tsc with --explainFiles and posting the output? Is the input file TS or JS? Does this repro with tsc or just in the editor?

this is strange, i can't reproduce it anymore...
will re-open if it happens again. for the record it was a .ts file and it occurred in both the editor and tsc

@andrewbranch had this happen again, but this time it only occurred in the editor. deleting node_modules and re-running npm install fixed it though, no idea how or why.
for future reference is there a way i can pass --explainFiles to the language server so i can see what's happening in the editor?

I believe you get the explainFiles output in the TS Server log if you set the log level to verbose. Send me whatever log you can get and I’ll take a look!

still can't get it to happen reliably, but i think it may have been something to do with my IDE using the wrong tsconfig file because it was named something like tsconfig.node.json instead of tsconfig.json. https://github.com/microsoft/vscode/issues/3772


Update bootstrap file

Update bootstrap script so it will run the data migrations when Vagrant
VM starts up.
fix #30

Somehow the commits from my previous PR( #34) also appear in this PR. Do I have to close the previous PR in this case? @ifireball

If this PR is mean only to run migrations from the bootstrap file, please base it on the master branch so it could be merged independently.

If this PR is mean only to run migrations from the bootstrap file, please base it on the master branch so it could be merged independently.

@ifireball
Done . I think it can be merged


How to disable api public access?

Hi there
Apologies for more questions, but I wondered how I might disable public access to the api and leave it internal only, as well as changing the k0s version to allow longhorn to actually be installed?
Edit: Sorted version change, can now install 1.24.x
Thanks :)

Crude, but just removed offending code :)


Unable to use custom local font in stripe elements

Summary
I need to use custom font for stripe elements in my project. I want to use a local font (woff2 file), not loaded from google api (or from somewhere else)
I am trying to pass a font using the src option, as the documentation says.
const fontSrc = require('../../../../../assets/fonts/SofiaProLight.woff2')

...

<Elements
  fonts={[
    {
       src: `url(${fontSrc})`,
       family: 'Sofia Pro Light'
     }
   ]}
 >
...

but I receive error like this:
ui-shared-7d97009846d9703e925f7578a1dd7e87.js:1
Uncaught Error: Invalid src value in font configuration: /static/media/SofiaProLight.b257f672.woff2. URLs have to start with 'https://' or 'data:'.
    at new t (shared-6e47e6c73b75fa884bddf2a1ada58645.js:1)
    at Ce (ui-shared-7d97009846d9703e925f7578a1dd7e87.js:1)
    at ui-shared-7d97009846d9703e925f7578a1dd7e87.js:1
    at Array.map (<anonymous>)
    at Me (ui-shared-7d97009846d9703e925f7578a1dd7e87.js:1)
    at Ue (ui-shared-7d97009846d9703e925f7578a1dd7e87.js:1)
    at ui-shared-7d97009846d9703e925f7578a1dd7e87.js:1
    at Array.map (<anonymous>)
    at Oe (ui-shared-7d97009846d9703e925f7578a1dd7e87.js:1)
    at shared-6e47e6c73b75fa884bddf2a1ada58645.js:1

I am using create-react-app config, if it's important.

Hi @vdmkotai, for security purposes, we only allow passing in font URLs over HTTPS. During local testing, you can use a tool like ngrok to serve your website over HTTPS. This would make the font be served over HTTPS as well.

@atty-stripe thanks, but that's not the problem
I am using HTTPS, but I want to pass relative URL to src (font-face src option has support for relative urls also, see docs). Or am I misunderstanding something?

Ah, I see. We do not support relative URLs unfortunately, but I'll take that as a feature request. For now please specify the absolute URL.

@dweedon-stripe I'm having trouble adding a custom font - it's simply not working for me and I've tried several things over the past 2 days.
<Elements
  fonts={[
     {
          family: 'BloomSpeakBody',
          src: `url(${BloomSpeakBody})`
     }
  ]}
>
...
</Elements>

<CardNumberElement
   placeholder=""
   style={{ base: { fontFamily: 'BloomSpeakBody' } }}
   onChange={handleChange}
/>

Could you please help me or should I open a new issue? Thanks!

Hi @vdmkotai, wanted to let you know that this has been fixed. Feel free to use relative URLs when setting src.

Hello @dweedon-stripe , can you please confirm that relative URLs still work?
in my simple implementation I'm still getting Invalid src value in font configuration: http://localhost:8300/assets/fonts/geomanist-bold.woff. URLs have to start with 'https://' or 'data:'.
const elements = this.stripe.elements({
        fonts: [
          {
            family: 'Geomanist',
            src: 'url(/assets/fonts/geomanist-bold.woff) format(woff)'
          }
        ],
        locale: 'auto'
      });

@dweedon-stripe I am running into the exact same issue.

Hi @Motassem-MK relative URLs now work, but they still need to be https in order to avoid mixed content issues. For local development, you can try using a tool like ngrok to test with https.

@oliver-stripe thank you for your answer, but I'm using Ionic (angular) and this is an android app, I cannot host my local files and refer to them with HTTPS, I believe it would be the same situation with React Native.
do you think there's anything I can do?

Hi @Motassem-MK - unfortunately, while we'd potentially consider loosening this in testmode, we wouldn't do this in livemode as it would result in mixed content issues, so you'd need to figure out some way to serve this over HTTPS if you needed to load these assets.

I have same issue but can't resolve it yet.
const inputStyle = {   base: {     height: '60px',     fontSize: '20px',     fontFamily: 'Averta',     fontWeight: '600',     fontSmoothing: 'antialiased',     lineHeight: 1.56,     letterSpacing: 'normal',     color: Assets.colors.battleshipGrey,     '::placeholder': {       color: Assets.colors.battleshipGrey,     },   },   invalid: {     color: Assets.colors.warmPink,   }, };
<CardElement           style={inputStyle}           className="cardNumber"           hidePostalCode  />
`
<Elements fonts={[
{
src: 'https://221b12b0.ngrok.io/fonts/Averta-Regular.otf',
family: 'Averta',
style: 'normal',
weight: 'normal',
},
{
src: 'https://221b12b0.ngrok.io/fonts/Averta-Bold.otf',
family: 'Averta',
style: '800',
weight: '800',
},
]}

<PaymentFormInjectStripe {...props} />

`

I know its late but I hope this helps someone
This is how I got it working:
const fontPath = `${window.location.origin}${require('assets/fonts/Gilroy-Regular.woff2').default}`

<Elements
  options={{
    fonts: [
      {
        src: `url(${fontPath})`,
        family: "Gilroy",
        style: "normal",
      },
    ],
  }}
/>

it gets the static path of the font when rendered.
One thing to also note is that it only works under https

Hi, I really can't get this to work. Am using react and am using useElement hook for my elements, not sure if there is a better way to handle passing fonts other than my implementation.
  const elFonts = [
    {
      family: 'Nunito',
      style: 'normal',
      src:
        'https://fonts.googleapis.com/css2?family=Nunito:wght@200&display=swap',
    },
  ];

  return (
    <React.Fragment>
      {loader ? (
        <MainLoader />
      ) : (
        <BrowserRouter history={history}>
          <Elements stripe={stripePromise} fonts={elFonts}>
            <Switch>

@obulaworld you need to wrap the url in url()


Bump dependencies

Description
Changes proposed in this pull request:

bump maven base image from 3.8.7-eclipse-temurin-11-focal to 3.9.1-eclipse-temurin-11-focal
bump spring boot from 2.6.14 to 2.7.10
bump snakeyaml from 1.33 to 2.0

Related issue(s)

kyma-incubator/compass#3022
kyma-incubator/compass-console#83

/hold cancel


ImageZoom: make dark theme aware

@melloware Maybe wait of PF 12 so we can use the JS you've added for Captcha?

Ahhh no lets do it now. I thought of that the other day when I was testing. I will fix it now.

Done and I put a note in the other ticket that for PF 12 we can use the core utility instead.

CC @fcorneli in case you want to review...

Can't we simply use var(--surface-a) as the background here? I haven't checked out the code yet, but it seems to be looking at the OS preference only, not at the selected theme.

i haven't tried it but wasn't sure his component would accept background: var(--surface-a) as a param because when you set params with JS not with CSS sometimes they don't evaluate properly.  I have had that trouble in my React code.  We can try it though!

In the PF 12 JS we have a function to test a theme name for being dark, right. If var does not work, we can open an issue to properly fix this with 12.

Let me test but yeah I already updated this ticket: https://github.com/primefaces-extensions/primefaces-extensions/issues/704

this.cfg.background = 'var(--surface-a)'; works perfectly!


Fix dnsendpoint/nameserverscraper cache

For existing DNSZones with copacetic name server entries in the root
hosted zone, restarting the controller was resulting in thrashing
because:

the nameserverscraper would ignore subdomains not already in the
cache.
the dnsendpoint controller would error if the scraper hadn't scraped
the subdomain yet.

This chicken/egg situation would eventually resolve itself because the
scraper would "seed" the cache entry for the subdomain on the first
pass. However, it would not resolve until the second pass of the scraper
two hours later.
This commit makes the dnsendpoint controller seed the cache when it
notices it's necessary. This will cause the scraper to scrape for the
subdomain on the first pass.
There still exists a potential timing issue: If the scraper runs and
completes the first time before the dnsendpoint controller reconciles
all the DNSZones and seeds the cache for them, it will still be
another 2h before the dnsendpoint controller will properly reconcile
that DNSZone. However, this is usually not a problem because name
servers change very rarely in real life.
HIVE-1855

/assign @abutcher

/hold for live testing

/retest

rebase only

This rev needs UT fixed, but I'm hoping e2e will run through.

Rebase since merge of #1769 should cause e2e to fail after ~15m instead of being timed out at 2h.

/test e2e
Let's see if we can exercise that 15m grace period...

Let's see if we can exercise that 15m grace period...

Nope, not this time.

On that last rev, the nameserverscraper didn't pop until nearly 2h in, so the DNSZone timed out (early).
(Why didn't e2e cancel the test when it saw ProvisionStopped?)

(Why didn't e2e cancel the test when it saw ProvisionStopped?)

Ah, because it's looking for ProvisionFailed. Might should fix that.

This is working as far as I'm able to test it. The real exercise will be seeing what happens when we promote and the controllers restart and have to pick up hundreds of existing clusters' DNSZones.
Note: Currently stacked on #1815; we can land this or both, whatevs.
/hold cancel

Actually, feel free to review/stamp, but
/hold
so I can control what time of day this merges. I want to have a good 3h or so (through at least one scraper cycle) to watch it.

Note: Currently stacked on #1815; we can land this or both, whatevs.

Changed my mind about this. For git history reasons, I would prefer to land the PRs separately.
I'll address the leftover test comment when I rebase.

/test coverage

/hold cancel
Let's go.


Test snapcraft build: arm64 (v3.1.0-rc7.2)

Community is not active, and with that issue closed. If somebody tests and has any issues, feel free to reopne or create new issue.


Disabling something in CMake can still try to build it

Steps to reproduce:

ccmake -Bbuild-test; "c", disable netradiant, "g".
make -Cbuild-test.

Notice it tries to build netradiant anyway.

Fixed.


184258400 More Missing Operands

This PR adds more cases for the missing operand warning message, as well as new cypress tests for them.

I'm not sure why this is complaining about test coverage--I explicitly added tests to cover all of the new cases. Maybe the problem is that the tests have been added in a loop instead of hard coded directly?


Upgrade libgdx version, possibly change backend from lwjgl2 to lwjgl3

This is a proposition to upgrade libgdx versions, and possibly the rendering backend in the future.
Destination Sol is currently using libgdx 1.7.0. The full changelog for libgdx can be seen here: https://github.com/libgdx/libgdx/blob/master/CHANGES
Main points for upgrading to libgdx 1.9.9:
Pros:

reimplementation of freetype which makes fonts look much better on low resolution
newer versions of bullet and robovm
Cons:
Android api level 9 requirement. But based on https://developer.android.com/about/dashboards/ this should not be a problem in 2018

The proposal to change the backend is the multi-monitor support which could pontentially fix #40, and the access to vulkan and opencl apis for wizards.
Upgrading only libgdx can be done with minor modifications, which can already be tested on https://github.com/Avalancs/DestinationSol/tree/libgdxUpgrade

Is this still neded, or is someone else taking care of it? As long as no duplication of work has been committed, then I would gladly do both upgrades (LibGDX v1.9.8 and LWJGL3).
Some initial work to get it mostly working can be found on the "libgdx-v1.9.8-upgrade" and "lwjgl3-upgrade" branches of my fork (many thanks to @Avalancs for the reference). I can submit these as pull requests if this has not already been done. I would prefer to have these changes so that I can simplify #355 anyway.

No work on has done on this front since this issue was created, so any work would be appreciated :)


Fix obj ref null exception if there is no Window Theme at runtime.

There isn't a Window Theme if using Material Design In Xaml Toolkit as the App.xaml is configured differently.  Safely jumping out at this point allows dialogs to work with Material Design In Xaml Toolkit.

part 2...if we allow suppression of the default resources I can allow Material Design styles to cascade through...

I have another solution for this, cause not adding the BaseMetroDialog resource dictionary will get possible bugs (and warnings) with the dialogs itself (#2032, #1149).
The BaseMetroDialog holds some resource keys which are used in this dialogs styles.
So here is my proposal, just create a list of custom resource dictionaries in den DialogSettings, so the user can add additional resources (like the Material Design resources).
public class MetroDialogSettings
{
        /// <summary>
    /// Gets/sets a custom resource dictionaries which can contains custom styles, brushes or something else.
    /// </summary>
    public List<ResourceDictionary> CustomResources { get; set; }
}

public abstract class BaseMetroDialog : ContentControl
{
    private void Initialize()
    {
    	if (DialogSettings != null && !DialogSettings.SuppressDefaultResources)
    	{
    		this.Resources.MergedDictionaries.Add(new ResourceDictionary { Source = new Uri("pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml") });
    	}

        // add default resources, cause without you could get resource key not found warnings
        this.Resources.MergedDictionaries.Add(new ResourceDictionary { Source = new Uri("pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml") });
        this.Resources.MergedDictionaries.Add(new ResourceDictionary { Source = new Uri("pack://application:,,,/MahApps.Metro;component/Styles/Colors.xaml") });
        this.Resources.MergedDictionaries.Add(new ResourceDictionary { Source = new Uri("pack://application:,,,/MahApps.Metro;component/Themes/Dialogs/BaseMetroDialog.xaml") });

        // just add some custom resources
        if (DialogSettings != null && DialogSettings.CustomResources != null)
        {
            foreach(var rd in DialogSettings.CustomResources)
            {
            	this.Resources.MergedDictionaries.Add(rd);
            }
        }

        private void HandleTheme()
        {
            if (DialogSettings != null)
            {
                var windowTheme = DetectTheme(this);

                // no theming in design mode or no window theme was found
                // maybe we must give the users a option to handle the MetroDialogColorScheme by itself
                if (System.ComponentModel.DesignerProperties.GetIsInDesignMode(this) || windowTheme == null)
                {
                    return;
                }

@ButchersBoy What do you think?

OK, I understand the error of my ways, so yes, that works for more, although I don'y need the extra resources list, I can make do with the single one you already have...I've simplified my PR.  Now we  can have even more integration :smile:  :

@ButchersBoy GREAT! :+1: :trophy:


Flexbug 1: Link to Safari bug report

Fixes #13.

Thanks!

@philipwalton You're welcome. Do you happen to know if there's a WebKit bug report for Flexbug 11?

I found one that's pretty close, commented in the bug, and added it to the README via d4cff47c530837d152784768e3af3c304f79d3bc.

Many thanks :sparkles:


Make Sinopia search case insensitive

Sinopia search should ignore case
Currently, search for “Blue” on stage finds “Blue hat, green hat” but search for “blue” finds 0.

get user input on whether this is desirable

we should go ahead with this, I think users expect case insensitivity

Issue moved to LD4P/sinopia_indexing_pipeline #76 via ZenHub


Validate.py detecting new files

Could validate.py be changed so it also detects new files in an aip/sip or folder that aren't listed in the manifest?
That would be really useful for me to check older deliveries before accessioning them.

Yes it can, and it should. This should have been added a long time ago and it caught me out yesterday as well.
I can just re-use this function  from copyit - https://github.com/kieranjol/IFIscripts/blob/master/copyit.py#L272 -  so I think the work is already done. Also if you wanted to have a go at adding this, I'd be happy to guide/mentor the process. It should just be a copy paste job, then a LOT of testing. But perhaps another time if it suited better.

hey
just following up with the solution we talked about yesterday.
when the script recognises that there is a different amount of files than are represented int he manifest, it lets you know the difference in the count and and asks you if you want to proceed with the validation or not.

Sound good to me!


Visual tweaks

Hey, I did some minor changes to adapt the layout to our new styles.

Thanks, @uberux! It's much prettier now :)


Fix Font-Size: Parameters before curly brackets

Without this change, my font size was 10pt instead of 11pt.

Thanks for your contribution! 👍🏻


change rotate keypresses

F7,cursor,0-9,character : rotate the character with speed 0-9. 0 = off.

done


Poering to newer versions?

Would it be possible to update the mod or at least the scripts for advance peripherals to work in newer versions?
would be really great because the script is absolute great and i really mitt it in newer versions.

I can port it to newer versions

I probably won't need it anymore but if you got the time to do so im sure there are plenty of players that would be glad about it


String() implementation for opts.Opts

Check how opts.Opts looks like when using %s in format strings and eventually implement custom String() method for it and its sub structures.

https://git.glasklar.is/system-transparency/core/stboot/-/tree/main/


Add awesome-lint to list of products using remark

Current coverage is 100% (diff: 100%)

Merging #199 into master will not change coverage

@@           master   #199   diff @@
====================================
  Files           8      8
  Lines        3296   3296
  Methods         0      0
  Messages        0      0
  Branches        0      0
====================================
  Hits         3296   3296
  Misses          0      0
  Partials        0      0

Powered by Codecov. Last update f919648...43bbb99

Awesome! 😎


Artifactory NPM publish doesnt work

I'm tried to publish artifact from Azure devops using Artifactory NPM task and command pack and publish, and have error, this fails from today.
Attach support image.

@miguel258,
Can you please see if you version 1.7.2 of the JFrog Atifactory Extension installed?
This bug was introduced on version 1.7.0 but fixed on 1.7.2.
Looking forward to your reply.

Hi, the installed version is 1.7.2, but when use the task the execution log
notify that stay using version 1.7.1
Thanks
On Tue, Nov 5, 2019, 3:24 PM Eyal Ben Moshe<EMAIL_ADDRESS>wrote:

@miguel258 https://github.com/miguel258,
Can you please see if you version 1.7.2 of the JFrog Atifactory Extension
installed?
This bug was introduced on version 1.7.0 but fixed on 1.7.2.
Looking forward to your reply.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jfrog/artifactory-vsts-extension/issues/107?email_source=notifications&email_token=ADEXTWN2XGSLVKSMRGGHREDQSHJARA5CNFSM4JJIBGB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDEGLPI#issuecomment-550004157,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADEXTWPH5I3IVTZAJQAJGVLQSHJARANCNFSM4JJIBGBQ
.

@miguel258,
Are you still experiencing this issue with the latest release?

@miguel258,
I'm closing this issue for now, but do let us know if you still need assistance with this.


Should AF provide a routine to decode a query to dic?

This will make these routines as a standard way to encode and decode query.

You mean something like urldecode and parsing the result? It's a quiet useful tool for web developers, especially on the server side. But I don't think it would make sense for a iOS client to have such feature.

OK, close this.


Feature Request: remove dot in numbers greater than 999

The problem
In numbers like 1.456 is always a dot that can't be removed with iobroker itself. It would be great if we could strip these dots from numbers. The result would be more space on the display.

Version of nodejs
recent
Version of ioBroker js-controller
recent
Version of Adapter
recent
Version of awtrix-light firmware
0.71
Operating system running ioBroker
Linux
Checklist of files to include below

[X] iobroker.current.log (Please share the logs in debug mode)
[X] Contents of the JavaScript browser console (always include in cases of issues with the user interface)

Additional information & file uploads
No response

Interesting is that the number in the iobroker object explorer is displayed without the dot. So this is either grounded in the firmware itself or the adapter is adding it.

So this is either grounded in the firmware itself or the adapter is adding it.

Looks like the admin adapter uses another function for format values... I'm using this one of the adapter lib:
https://github.com/ioBroker/ioBroker.js-controller/blob/b84e3f2343b8204d74526d565f2c3e43d36a9fe1/packages/adapter/src/lib/adapter/adapter.ts#L6805-L6838
Duplicate of #43


v0.1.0 Launch - Pre-flight checks

This ticket tracks the set of checks to perform before publishing TreeSum v0.1.0 to the VSCode Extension marketplace.

#10

Another pre-flight check: how many files in a directory should we be able to handle?
I'm currently seeing a failure at ~40 files.

Another pre-flight check: how many files in a directory should we be able to handle? I'm currently seeing a failure at ~40 files.

Even with the retry logic?


💡 Feature Request - DocumentDB/databaseAccounts CosmoDB recommendations

Describe the solution you'd like
If Cosmo DB NoSQL is using Multi-Region Writes, then it is recommended by Microsoft to not enable Availability Zone support as it provides limited value. As documented in the learn docs. Following the guidance shared in - the learn docs around the impact of using availability zones with Multi-Region Writes enabled. AZs for Multi-Region writes are free, and it is assumed having them turned on doesn't affect the reliability of Cosmo DB when using Multi-Region Writes.
It should be noted that having AZ enabled only is recommended if strong consistency is being used. Multi-Region Writes do not support strong consistency.

Cosmos DB accounts configured with multiple write regions can't be configured for strong consistency as it isn't possible for a distributed system to provide an RPO of zero and an RTO of zero.

I have also updated the wording in the learn docs to reflect this - https://github.com/MicrosoftDocs/azure-docs/pull/123628
Recommendation:
The feature request is two folds: If Multi-Region writes is enabled, then AZs are grayed out, as they provide limited value.
Describe alternatives you've considered
No alternatives
Additional context
All context is added to the above.

Hi Zach (@FallenHoot) and Eric (@ejhenry) - while I do not know where you would like to "gray out" the AZ option (Portal, docs, someplace else?), I would prefer we do not do it anywhere.
"it is recommended by Microsoft to not enable Availability Zone support as it provides limited value"
Rather than recommending against AZs, the referenced docs point at diminishing returns from enabling AZs if other resiliency features/options are also used - e.g., multiple read regions, or multi-region writes. In all cases, AZs are beneficial, and as you mentioned, with multi-region writes, they come for free. As long as the given Azure region supports AZs and there's sufficient capacity, customers should absolutely enable them.
To be specific, for multi-region writes configured accounts AZs are still beneficial when outage occurs on:

conflict-resolution region, which is exactly one of configured regions - in such a case, temporary loss of write availability occurs until new conflict resolution region is elected (refer: docs). With AZs enabled all four replicas are spread across all available zones which ensures that in the event of an outage in one AZ, the account remains fully operational and conflict resolution region election is not required. In contrast, without AZs, all replicas would be located in a single AZ (we do not expose which), leading to potential downtime if that specific zone experienced an issue.
any non-conflict resolution region - assuming AZs are not used and that particular AZ hosting all replicas experiences an outage, account will seamlessly and instantaneously retry operations on other regions (as defined in Preferred Regions list, refer docs). While this limits/eliminates any downtime, CRUD operations now experience higher latency due to calls being made across Azure regions. With AZs enabled, Cosmos DB would dynamically downshift quorum and calls would continue to be served with low latency from the unaffected AZs in the original region.

Thanks @kovarikthomas. @FallenHoot any concerns with closing this issue?


[Q]: What does the test.tar file contain? Is it copyrighted material?

Question
What does
https://github.com/software-engineering-project-org/vscode-plugin-automotive-app-deployment/blob/main/resources/test.tar
contain? is this a a test container? If so, what code does it contain? Probably GPL or otherwise copyrighted binaries (bash, etc). If this is the case, we need to remove this file

@cpotter302 Please check and remove if necessary.

The file test.tar was just used for testing purposes and is now obsolete. Done by deleting


How to import MDX components in .tsx files?

I am using contentlayer and MDX, and I am testing based on the example template shadcn/next-contentlayer.
However, I have encountered an issue and I'm not sure how to correctly import MDX components in .tsx files.
code:

You cannot just import .mdx files and expect them to work as component. You have to give the raw code to useMDXComponent() hook you get from next-contentlayer/hooks which will in turn give you a component that you can render. See this and this.

You cannot just import .mdx files and expect them to work as component. You have to give the raw code to useMDXComponent() hook you get from next-contentlayer/hooks which will in turn give you a component that you can render. See this and this.

Thank you for your reply. Is that right?

You cannot just import .mdx files and expect them to work as component. You have to give the raw code to useMDXComponent() hook you get from next-contentlayer/hooks which will in turn give you a component that you can render. See this and this.

Thank you for your reply. Is that right?

@WuChenDi I will suggest you to go through the official contentlayer docs. Start with this page if you have already set up most stuff.


Cannot find name 'Audioplayer'!

Hi,
Could you please advise where I can get "Audioplayer" class?

It was a ref to the @ViewChild Element in RC versions. I have removed the ref and updated the component to be compatible with the compiler (JIT and AOT).


[Mod]: Neptune Camera

Mod Name
Neptune Camera
Author(s)
Beale (Forum) / Tantares (GitHub)
License
All Rights Reserved
Homepage link
https://forum.kerbalspaceprogram.com/topic/196339-111x-neptune-camera-basic-camera-utility-4014022021/
Download link
https://github.com/Tantares/NeptuneCamera/releases

Hi,

This does already seem to be on CKAN somehow

Yes, it was requested by @Tantares in #8101 and added in #8091.

but lacks a version file, etc. I've now added this to the repo.

Cool, thanks for letting us know, we can update that...


Update to golang 1.23

In #61 we added a dependabot config to this project. However, dependabot is failing with an error:
Dependabot can't resolve your Go dependency files
Dependabot failed to update your dependencies because there was an error resolving your Go dependency files.
Dependabot encountered the following error:
maps: package maps is not in GOROOT<EMAIL_ADDRESS>
It's not super clear to me what's causing that, but I notice it's talking about go 1.20, when this relative old and stable project is still setup to build with go 1.16.
I thought I'd give it a little bump. Certainly can't hurt.
I also snuck in dependabot config to occasionally bump the golang version used. Hopefully that stops it falling so far behind again

I'll hold off merging until #63 lands, so I can see the tests for this PR go green


 Loss : -3.1582
Traceback (most recent call last):
  File "H:/workspace/FloWaveNet/train.py", line 244, in <module>
    synthesize(model)
  File "H:/workspace/FloWaveNet/train.py", line 170, in synthesize
    y_gen = model.reverse(z, c).squeeze()
  File "H:\workspace\FloWaveNet\model.py", line 204, in reverse
    c = self.upsample(c)
  File "H:\workspace\FloWaveNet\model.py", line 230, in upsample
    c = f(c)
  File "C:\Python35\lib\site-packages\torch\nn\modules\module.py", line 477, in __call__
    result = self.forward(*input, **kwargs)
  File "C:\Python35\lib\site-packages\torch\nn\modules\conv.py", line 691, in forward
    output_padding, self.groups, self.dilation)
RuntimeError: CuDNN error: CUDNN_STATUS_INTERNAL_ERROR

I've occasionally experienced this issue during Windows compatibility task a while back (the screen flashes with green for a second then the error). We think that this is a Windows-specific bug of the current CuDNN since we've never encountered this bug in Linux systems. So not much we can do I'm afraid.

I searched for answer and found it was pytorch bug not this project,thank you .I'll try on ubuntu then


LaTeX export doesn't use Emacs Config

Are you using "tree-sitter" branch?
No
Describe the bug
Exporting to latex (and latex-pdf) using oe doesn't respect my emacs config. My emacs config tells it to use tectonic instead of pandoc (along with a few other visual tweaks) so it would be nice to not have to leave neovim
Steps to reproduce

Configure latex within emacs
Export to pdf from neovim
See export either fail or produce export without emacs config

Expected behavior
It should utilize my emacs config
Emacs functionality
Emacs uses my config to produce the pdf, which tells it to respect certain fonts and use tectonic, etc
Screenshots and recordings
No response
OS / Distro
Debian
Neovim version/commit
0.6
Additional context
No response

Sorry for a late response on this. Can you give me an example config that you have in your emacs so I can check? I'm not using exports so I'm not very familiar with it. Export is called via emacs exacutable , I thought it should pick up emacs configuration. Are you maybe using non default configuration file?

 :latex-class "chamele
on" :latex-class-options nil :latex-header "\\usepackage[style=mla]{bib..." :latex-header-extra nil :description nil :keywords nil :subtitle nil ...))
  org-latex-template(#("\n\\begin{itemize}\n\\it..."  :latex-class "chameleon" :latex-class-options nil :latex-header "\\
usepackage[style=ml..." :latex-header-extra nil ...))
  org-export-as(latex nil nil nil (:output-file "irr1.tex"))
  org-export-to-file(latex "irr1.tex" nil nil nil nil nil)
  org-latex-export-to-latex()
  funcall-interactively(org-latex-export-to-latex)
  command-execute(org-latex-export-to-latex)
  command-line-1(("--visit=/Users/shauryasingh/org/sem/irr1/irr1.org" "--funcall=org-latex-export-to-latex"))
  command-line()
  normal-top-level()

NOTE: Emacs export issues are most likely caused by bad or missing emacs configuration.

This might be because I lazy load my emacs packages (e.g. https://github.com/shaunsingh/nix-darwin-dotfiles/blob/main/configs/doom/config.org#ox-chameleon), and orgmode might not load them
Is it possible to have orgmode.nvim require both org and ox in emacs before exporting?

Is it possible to have orgmode.nvim require both org and ox in emacs before exporting?

I have no idea TBH. I'm using emacs cli to do the export. Something like this: emacs -nw --batch --visit=/path/to/file --funcall=org-latex-export-to-latex
Could you try not to do lazy loading and see if it works?
Regarding the initial issue, is your path to configuration non standard? Maybe emacs cli is not able to find the configuration file because it's not in the standard location. I'm just guessing here.
If this is an issue, I could expose a configuration option that would allow configuring the emacs cli executable, which would default to emacs and for your case it would be something like emacs --load /path/to/file.

@shaunsingh PR that loads your config for export has been merged. Can you pull latest master and give it a test?

Got another error:

My emacs config config is under ~/.config/emacs instead of ~/.emacs.d, which explains it. Is it possible to support both paths?

Yeah. You can set the path in your config. Checkout the docs or help to get started I think :h org-emacs-config
Avraham Areman,
Director of Engineering
Dynamic Healthcare Solutions.
Sent from my phone, please excuse any typos.

From: shaunsingh @.>
Sent: Monday, January 17, 2022 5:39:27 PM
To: nvim-orgmode/orgmode @.>
Cc: Subscribed @.***>
Subject: Re: [nvim-orgmode/orgmode] LaTeX export doesn't use Emacs Config (#87)
Got another error:
[image]https://linkprotect.cudasvc.com/url?a=https%3A%2F%2Fuser-images.githubusercontent.com%2F71196912%2F149844370-4d1885ad-a203-45ec-aa4a-01e81e7edd95.png&c=E,1,txtgLFsW1cZ2BNafvDza7e7e81lu4AlhWkzxClBhGMbWHsbby5zpZbNkUJK4uEwmCSwi1wntf9RnRYJTq1zhZIpJBZX9MywXj8SrXYNZmuGeAw,,&typo=1
My emacs config config is under ~/.config/emacs instead of ~/.emacs.d, which explains it. Is it possible to support both paths?
—
Reply to this email directly, view it on GitHubhttps://github.com/nvim-orgmode/orgmode/issues/87#issuecomment-1014931676, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACQDVV4WGFG2HGJYPGTP4M3UWSLB7ANCNFSM5D3LVXGQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Specifically
-- ...
  emacs_config = {
    executable_path = 'emacs',
    config_path = '$HOME/.emacs.d/init.el',
  },
-- ...

I ran to the same problem, i misconfigured config_path with configure_path . the DOCS.md don't match up with
default settings. it should be as @aareman  pointed out.

I ran to the same problem, i misconfigured config_path with configure_path . the DOCS.md don't match up with default settings. it should be as @aareman pointed out.

Good catch, I just fixed it.

I'm closing this now. If any other issue arises, please open another issue.


Update: DateFormat.js for weekInYear

pattern "w" will not work since getWeek is not defined.
http://stackoverflow.com/questions/31315940/how-to-select-a-calendar-week-in-sapui5/31333741
Working solution http://jsbin.com/biraxisaxa/3/edit?html,output

 You should sign our Contributor License Agreement in order to get your pull request merged.

Closing this as the feature got implemented by our teams in the meantime. See #511. Anyway thanks for your efforts!


Planning to close the slack room

The slack chatroom #phantomjs-node has been open for almost a month. During this time, I have only gotten four people interested. A lot of people ask random questions on issues that are better suited on slack. I am unable to get people to use slack.
I plan to close the room in one week if there is no interest. It costs $7/month which is no big deal but no reason to keep it open if no one uses it.
Ideas welcomed to make more people go on slack.

yes probably you can move to gitter


deps: update bigtable veneer to 1.15.0

Since switching to the flattened pom in 1.15.0, some previously transitive deps are now top level and therefore required some updates in the hbase dependencies.

why not 1.16.0?

why not 1.16.0?

last release was 1.15.0 :) https://github.com/googleapis/java-bigtable/releases (you may be thinking of this repo's last release, which was 1.16.0)

Oops, sorry, the versions of hbase & veneer are so similar that I got the 2 confused


Fix Bugs in Kubeconfig Sync

Describe the bug
Once #2567 lands there will be the following items that need to fixed:

[ ] Remove notifcations for invalid contexts.
[ ] Remove cluster store as a source since the sync should pick up all the clusters
[ ] Remove cluster manager
[ ] Change cluster store to be a settings store for local clusters
[ ] Remove all “remove cluster” actions
[ ] Add a place to view sync errors for debugging why your cluster isn’t showing up
[ ] refactor cluster to store the copy (in memory) of the KubeConfig itself so that we both don’t read from the FS as often and so we can do diffing
[ ] Find some way to produce consistent IDs so that settings work
[ ] Remove kube config file picker
[ ] Warn users when they add overlapping syncs

Couple more:

sync does not watch internal (c&p) folder at all (imho blocker)
it's possible to remove default kubeconfig path, bug or feature?
Preferences say "Sync an individual file or all files in a folder (non-recursive)." although scan IS recursive.

Second was feature, see slack discussion.
If that is the case then it is a bug, I though I checked to make sure that it wasn't recursive.

Closing in favour of the subtickets.


Use latest cabal master for haddocks generation. Fix broken haddocks.

Changelog
- description: |
    Use latest cabal master for haddocks generation. Fix broken haddocks.
# uncomment types applicable to the change:
  type:
  # - feature        # introduces a new feature
  # - breaking       # the API has changed in a breaking way
  # - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
  # - refactoring    # QoL changes
  # - bugfix         # fixes a defect
  # - test           # fixes/modifies tests
   - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
  # - documentation  # change in code docs, haddocks...

Context
Use latest cabal master for haddocks generation.
Fixes https://github.com/IntersectMBO/cardano-api/issues/437
Fixes https://github.com/IntersectMBO/cardano-api/issues/546
Sample workflow run with generated haddocks: https://github.com/IntersectMBO/cardano-api/actions/runs/9778593657
Checklist

[ ] Commit sequence broadly makes sense and commits have useful messages
[ ] New tests are added if needed and existing tests are updated. See Running tests for more details
[ ] Self-reviewed the diff

@carbolymer> can we test the behavior before merging? (building locally?)

@smelc I've enabled for the development the workflow on a branch, and you can see the results there: https://github.com/IntersectMBO/cardano-api/actions/runs/9778593657
There's an artifact which contains generated haddocks.

github-merge-queue bot removed this pull request from the merge queue due to no response for status checks
CI is green, so force merging.


Performance tests related to freelist and jemalloc.

Default = with freelist
Old Disable Freelist = -f option
New Disable Freelist = -f option and disable freelist in ProxyAllocator
jemalloc = New Disable Freelist and compiled with jemalloc

How is it going?  Looked at my code at all .. or just got a smaller version of it going?

We're breaking it into tiny tiny parts. :-)

nice work, numbers always better than anything else. add oil 加油！


[Bug] nexthchat is stuck, how can I export my application data.

Bug Description
I'm using [NextChat_2.12.3_x64-setup.exe]. I entered too much content in the dialog box at once, which caused nextcat to get stuck, and every time I reopened it, it would get stuck. reinstalling without deleting the application data is also of no use.
Steps to Reproduce
Click the pencil button on the already sent conversation to re edit the content, input a lot of content at once (I entered 5000 lines), then click confirm, the software will freeze
Expected Behavior
Firstly, I would like to know the location of my application data so that I can transfer and save it. Secondly, I hope to fix this bug.
Screenshots

Deployment Method

[ ] Docker
[ ] Vercel
[ ] Server

Desktop OS
windows 10
Desktop Browser
chrome but not using
Desktop Browser Version
No response
Smartphone Device
No response
Smartphone OS
No response
Smartphone Browser
No response
Smartphone Browser Version
No response
Additional Logs
No response

你可以试试v2.15.0，这个版本有处理一个可能有关的优化。看看问题是否还在。


ReportViewer Code Example in Visual C++

You REALLY need to provide example code for C++ in order to use the Microsoft ReportViewer (Microsoft.ReportViewer.WinForms.dll). Providing C# code is NOT the answer for everyone.
Either:

Provide working example code in C++
Clearly state on the MSDN website that it can't be done

What do you think?

⚠ Idea migrated from UserVoice
Created By: Anonymous
Created On: 2017/09/26 19:01:24 +0000
Votes at Migration: 1
Supporters at Migration: 1

@mairaw @BillWagner @rpetrusha as FYI.

You might have to just close this one.
This is not handled by our team @dend. This is probably owned by either VS or SQL. Not sure to which exactly content he/she's talking about. It also seems that there's no ReportViewer for VS2017.
Adding @ghogen here.

Close as lacking of enough information.


Project wiring?

Can you provide the project wiring diagram and the code for the Anarduino MiniWireless module?
Is it WeatherSensor.ino? TH02 is connected directly to it?
Do you upload code directly to it ..using a FTDI TTL-USB converter?
How's the big electrolytic wired,..across the solar panel output?
It appears that you are using a ESP8266, based module for the base station? What's used on the Weather Station? Is it just to power the MiniWireless?

The details of the project are here:
https://nootropicdesign.com/projectlab/2017/09/03/solar-powered-lora-weather-station/
The Anarduino Miniwireless is just a small Arduino compatible board that you upload to using an FTDI adapter. Yes, the sensor is connected to it. There is also a Adafruit LiPo charging board (with the big capacitor) on the weather station and this provides power to the Anarduino board.

Thanks for a great project. Learned a lot. And your Project Lab is inspiring. Here's the Adafruit charger link missing from your project description: https://www.adafruit.com/product/390. They have several models.


Port value in configuration is ignored by drivers

Since 04d2e6357c3c49116cd136dc9748868d64ef2496 commit, the port value set in configuration is ignored by the drivers.

Fixed in faed4df0e63532e2073cd548dfd82646667ada44


Have @page understand malformed directives.

The @page directive will now look for malformed directives and treat a view as a Razor page based on the existence of the malformed directive.
Updated the PageDirective type to contain a reference to its responsible directive node.
Added unit tests to validate malformed directives were picked up accordingly.
Updated code generation test baselines to reflect the new malformed directive understanding.

#1448
/cc @rynowak @pranavkm

Can you have a PR for https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNetCore.Mvc.RazorPages/Infrastructure/PageDirectiveFeature.cs#L13 ready since this would mess up the logging here (https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNetCore.Mvc.RazorPages/Infrastructure/PageDirectiveFeature.cs#L51)?

Will do.


Fetch current deplyment : deployment not found

Describe the issue:
Failed when we try to run the command azd monitor --live
Repro Steps:

Run  az login --use-device-code
Run azd up -t todo-python-mongo-terraform -b staging
run azd monitor --live

Error Message:

Environment:
Windows desktop / linnux desktop / MacOS desktop / WSL / DevContainer in VS Code / Codespaces
Template:

https://github.com/Azure-Samples/todo-python-mongo-terraform
https://github.com/Azure-Samples/todo-nodejs-mongo-terraform

Expected behavior:
Run command: azd monitor --live can success
@jongio for notification.

Same #652 issue. @wbreza please feel free to close one.

azd montor updates were missing during terraform development.   Right now the command queries the ARM data plan to get the recent deployments which it is unable to find since the deployment was performed by terraform.
To resolve this issue we would need to perform the following:

Update command to call into provisioning manager.
Update GetDeployment method in terraform provider to query resource groups from state.


From MenuBarItem, Commands are not being executed

From MenuBarItem, Commands are not being executed

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ca7fb0b7-d8e0-b263-1f5a-c90f51a2cc22
Version Independent ID: ca7fb0b7-d8e0-b263-1f5a-c90f51a2cc22
Content: Display a menu bar in a .NET MAUI desktop app - .NET MAUI
Content Source: docs/user-interface/menubar.md
Product: dotnet-mobile
Technology: dotnet-maui
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @manuelesvi
Afraid this will be a product bug that needs reporting in the engineering repo, if it hasn't been already.


calculating execution time

Thank you for your codes. It is very helpful to understand and implement FCN.
I am just curious about the code regarding execution time calculation.
As I understand, dt is second. Thus, I agree that the execution time and fps are calculated as 152 and 155 lines. However, in KittiSeg/evals/kitti_eval.py, 141 line, you divided dt with 10. Could you tell me why?

division by 10 is because we run the FCN in a loop over 10 image so to get time per image you divide by 10

Is the aim to obtain an average time for inference?

yes the goal is to get the "time by frame" or average inference time as you said it , and if you inverse it you will get "frame per time"=fps

Thank you. @bendidi !! I got it!


Fix permissions validation to add items

This change allow you set 'add' permission and view the button in lists template according to this permission.

Thank you! Good point.


Can we change the noDataIndication content when a column is filtered?

For instance, if I have:
const defaultEmptyDataMessage = (): ReactNode => { return 'There are no records to be processed.';}
<BootstrapTable noDataIndication={defaultEmptyDataMessage} {...otherTableProps} />
And then a user types in any column's text filter that returns 0 results, I would like that empty data message to show 'No results can be found for this search. Please try again with different criteria'.
Thanks in advance!

I would make defaultEmptyDataMessage in this case a hook and just change its value when there is a text filter. I would then use the afterSearch method and change the message there


Use same logging system as Tomcat

From<EMAIL_ADDRESS>on February 16, 2010 02:55:25
What steps will reproduce the problem?

Use memcached-session-manager with an application that uses Log4j.

What is the expected output? What do you see instead?
Log messages should be handled by the configured logging system, but they
are instead written to System.err stream.

What version of the product are you using? On what operating system?
1.1

Please provide any additional information below.
Tomcat uses commons logging (http://commons.apache.org/logging/) internally
which allows it to be used easily with different logging systems.
Unfortunately memcached-session-manager is hard coded to use Java Logging,
which causes some pain when the rest of the application is using other
logging mechanisms.

P.S. Thank you for this great piece of software. We are planning to use it
in our web application, which is running on a cluster of four highly loaded
web servers.

Original issue: http://code.google.com/p/memcached-session-manager/issues/detail?id=35

From<EMAIL_ADDRESS>on February 15, 2010 18:14:54
It seems that Tomcat 6.x actually uses org.apache.juli.logging package for logging
internally. I think it would make sense to use the same logging in
memcached-session-manager.

From martin.grotzke on February 16, 2010 06:50:33
Agreed, it would be better to use juli for logging, I'll change this.
Status: Accepted
Owner: martin.grotzke

From martin.grotzke on February 16, 2010 14:07:03
Changed logging from java.util.logging to org.apache.juli.logging, also added a
checkstyle rule for this.
Changes are done in the develop branch, this will be released with 1.2
@-Olli: You might want to subscribe to the mailing list to get notified when 1.2 is
released: http://groups.google.com/group/memcached-session-manager
If you want to build msm by yourself and you have questions regarding buildr just let
me know.
Status: Fixed
Labels: Milestone-1.2


Mulitple logger objects seen in robot framework

I am trying to understand robot framework (version 2.8.7) logging module to integrate it with our applicaton logging module,
I am struct at this piece of code: robot/output/logger.py - gitlink
class Logger(AbstractLogger):
    def message(self, msg):
        """Messages about what the framework is doing, warnings, errors, ..."""
        for logger in self._loggers.all_loggers():
            logger.message(msg)
        *****more code*****

For logging a message in multiple places, it is the convention to use one logger with multiple handlers.
But why has the author of this framework chosen to create one parent logger that has an array of child loggers & all of them invoked one after the other.
I am wondering, 1) if each logger object is just a log handler (or) is it more than that? 2) How does robot's log listener differ from the conventional logging handler?

Hello,
I think the Robot Framework development would be a better place to ask this question rather than opening an issue.

Laurent is right that this isn't the right forum for general discussion and questions.  I hope we get it cleaned up at some point, and thus those loggers cannot be considered stable either. To be able to propose alternatives, we would need to know a bit more about your needs.


Cannot skip SSL certs that are signed by an untrusted authority and not self signed

Basically need this same commit that you did for IntelliJ plugin, but for the library.
https://github.com/uwolfer/gerrit-intellij-plugin/commit/b4825726f1e2e8a24278f1428072c59fc5e3d62b

@jpopadak: I think you can do that by adding your own HttpClientBuilderExtension like this: CertificateManagerClientBuilderExtension. Then you can pass it to GerritRestApiFactory#create(GerritAuthData, HttpClientBuilderExtension...).
Does that help? If that works, you could post your code so it would probably help others.

I did end up doing that. But it would be really useful to just have some sort of fallback like inside of the IntelliJ plugin where we can set it to skip ssl checks.
     * This entire class is just so we skip the error we are getting from Gerrit about SSL certs
     */
    private class SkipSslChecksHttpClientBuilderExtension extends HttpClientBuilderExtension {
        @Override
        public HttpClientBuilder extend(
            HttpClientBuilder httpClientBuilder, GerritAuthData authData)
        {
            try {
                SSLContextBuilder sslContextBuilder = new SSLContextBuilder();

                sslContextBuilder.loadTrustMaterial(null, new TrustSelfSignedStrategy() {
                    @Override
                    public boolean isTrusted(X509Certificate[] chain, String authType)
                    throws CertificateException
                    {
                        // Always trust the cert no matter what
                        return true;
                    }
                });

                SSLConnectionSocketFactory sslConnectionSocketFactory = new SSLConnectionSocketFactory(
                    sslContextBuilder.build(), SSLConnectionSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER);

                Registry<ConnectionSocketFactory> socketFactoryRegistry =
                    RegistryBuilder.<ConnectionSocketFactory>create()
                        .register("https", sslConnectionSocketFactory)
                        .build();

                PoolingHttpClientConnectionManager connectionManager = new PoolingHttpClientConnectionManager(
                    socketFactoryRegistry);
                httpClientBuilder.setConnectionManager(connectionManager);
            }
            catch (KeyManagementException | NoSuchAlgorithmException | KeyStoreException ex) {
                throw new RuntimeException("Failed to set a new connection manager to skip SSL " +
                    "verification for HttpClientBuilder.", ex);
            }
            return httpClientBuilder;
        }
    }```

I probably could include such an implementation, but it should IMHO not be enabled by default. Skipping invalid / self signed certs should be a decision made by every developer itself.

Of course, this would only be a last resort sort of thing. Always want SSL to be verified by default.


GoDoc suggests importing wrong module version

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
Go1.11.
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/gabriel/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/gabriel/go"
GOPROXY=""
GORACE=""
GOROOT="/home/gabriel/.goenv/versions/1.11.0"
GOTMPDIR=""
GOTOOLDIR="/home/gabriel/.goenv/versions/1.11.0/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build149680875=/tmp/go-build -gno-record-gcc-switches"

What did you do?
I have just released a v2 of github.com/gbrlsnchs/jwt and from now on, people must import it as below:
import (
	// ...

	github.com/gbrlsnchs/jwt/v2
)

Still, when accessing godoc.org/github.com/gbrlsnchs/jwt, the first line tells me to use import github.com/gbrlsnchs/jwt.
What did you expect to see?
GoDoc suggesting a import path matching what's in go.mod file in the master branch. In this case, import github.com/gbrlsnchs/jwt/v2.
What did you see instead?
import github.com/gbrlsnchs/jwt

Tracked here - https://github.com/golang/gddo/issues/567.
Please feel free to subscribe/comment on that.


Feature request: timezoneId and outMode

For Meteor wrapper we are released two new property:

[x] timezoneId (get-set)
[x] outMode (get-set)

But I believe that they will be useful to all.

could you give some more detail on what you did and what these are supposed to do?


Task icon and "Calculate Grade" is not working

Hello,
I have attempted multiple times to click on the "Task" box to check my work but it has always returned the same grey box.
I have also clicked on "Calculate Grade" (after running the code) and it shows an error message in red, stating "An issue occurred while calculating your final grade."
I initially thought maybe it was because I had written the code for multiple tasks before checking the task box, but I have also deleted all the code I wrote, and then l re-wrote the code for Task 1. But it still shows the same problem.
I changed from using the Chrome browser to MS Edge browser, and the problem has persisted.
I think I may need to reset my account, in order to start from the beginning to see if that helps.
Version: 1.91.1
Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Edg/<IP_ADDRESS>
Embedder: codespaces

/question
Please use your course support channel.

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


Cookbook versions on /ui/cookbooks are sorted lexicographically

Semver strings should be taken into consideration. From newest to oldest, left to right.
Right now we have, for example:
1.7.999, 1.7.1000

This is happening because parse() in semver.Sort() doesn't actually do anything unless the versions passed into it are prefixed with v (https://cs.opensource.google/go/x/mod/+/refs/tags/v0.19.0:semver/semver.go;l=173)


Date ranges for data fetching are calculated incorrectly

First noticed by @tobru
When going to the yearly overview, only the first few attendances seem to be fetched:

When determining the date range for which to fetch data from Odoo, ReportRequest.GetLastDayFromPreviousMonth() and ReportRequest.GetFirstDayOfNextMonth() are used:
https://github.com/vshn/odootools/blob/426d122d1a29cd376ca582ce82fa8c7ba396d9f3/pkg/web/overtimereport/overtimereport_controller.go#L78-L82
Both methods call ReportRequest.GetFirstDayOfMonth(), which correctly determines whether a yearly report is requested, and makes sure that the first month is January.
However, in the case of GetFirstDayOfNextMonth() this results in the date always being 1st of February.


Place Order not using Customer token when logged in

Note - I'm writing this from the perspective of a Magento 2 <> VSF integration. I can't speak to how this impacts other platforms.
When a user is logged in (for Magento), the Cart ID is numeric, as opposed to the alpha-numeric Cart ID for guests. Currently there is a check for isNumeric in the o2m.js file, which is used to determine if the user is logged in or not.
However, the customer's consumer token is not being used in this scenario, and as a result the adminRequest flag is set when callin the Magento 2 Rest Client, so it makes the call using the Integration Consumer Token for the application instead of the customer. This doesn't necessarily cause an issue immediately, because it still works, but this isn't ideal behavior and it could potentially cause "session" issues during the checkout. For example, Stripe updated their module to support using their Credit Card payment method through Magento's API, and in the scenario of 3D Secure, they are using session data to handle the back-and-forth of some data to complete the authentication flow. This means the customer's consumer token should be used when making API calls to place their order, so this data can be persisted via their customer session. This is just one example that we have seen, but overall it would be ideal if we could use the customer's token if available.
This does require a dependency in Vue Storefront, but it wouldn't be a breaking requirement. I have tested this in my current instance of Vue Storefront and Magento 2, and all that was needed was adding ?token={{token}} to the end of the orders.endpoint in local.json. Since this call is made through the Task process, this token variable will automatically be replaced with the user's token, if it exists. After doing that, we simply need to check for this parameter in the order API, and pass it along to proxy to be handled accordingly.
The Magento 2 Rest Client module already supports this capability, we just need to pass the token from Vue Storefront to the Rest Client call to complete the cycle.
I have a rough working version currently, and can try to submit a PR with a cleaned up version. But I don't know how this change will impact the agnostic approach to vsf-api.

Hi Joel. Please work on the src/api/platform/* proxy level. We should just add the token as an optional parameter for placing the order and for now support it only in magento2 proxy driver; can you propose a PR please?


[torch backend] ValueError: Expected an object of type Trackable, such as tf.Module or a subclass of the Trackable class, for export.

With torch backend, the keras model is unable to save in SavedModel format. Is it expected? If so, if I develop my code with torch backend and later want to convert to SM format, I have to ensure that the code is runable to both backend (cost). !!!
import os
os.environ["KERAS_BACKEND"] = "torch"
import keras

class ComputeSum(keras.Model):
    def __init__(self, input_dim, *args, **kwargs):
        super().__init__(*args, **kwargs)
        self.total = self.add_weight(
            name='total',
            initializer="zeros",
            shape=(input_dim,),
            trainable=False
        )

    def call(self, inputs):
        self.total.assign_add(ops.sum(inputs, axis=0))
        return self.total

x = ops.ones((2, 2))
my_sum = ComputeSum(2)
y = my_sum(x)
tf.saved_model.save(my_sum, '/tmp/saved_model2/')

----> tf.saved_model.save(my_sum, '/tmp/saved_model2/')
> ValueError: Expected an object of type `Trackable`, such as `tf.Module` or a subclass of the `Trackable` class, for export. Got <ComputeSum name=compute_sum_3, built=True> with type <class '__main__.ComputeSum'>.

This is also same if we try to load a savedmodel as follows other than tensorflow backend, it won't work
os.environ["KERAS_BACKEND"] = "torch"
 keras.Sequential([
    keras.layers.TFSMLayer(
        'saved_model',
        call_endpoint="serving_default"
    )
])

# Error

I don't run the code now. But you save the model with tf functions and using torch backend

weights = my_sum.get_weights()
import scipy

sparse_weights = scipy.sparse.csr_matrix(weights)
print(sparse_weights)

How about obtaining the weight?

This might kinda look invalid as I'm using torch backend and yet using tf.saved_model.save to get saved-model. But I was hoping keras would do some majic here :D

@innat So do i. 👍

My understanding is that, if you want to "switch backends" like this, the only way is to save the model as .keras, and reload it after having enabled another.  This assumes that all custom layers are implemented with keras ops, and not directly in one of the backends.

+1 to what lbortolotti said above: use the .keras format to swwitch backends.
Exporting from PyTorch to SavedModel has been done elsewhere though: https://github.com/pytorch/xla/blob/r2.1/docs/stablehlo.md#convert-saved-stablehlo-for-serving
We might wan to explore that to implement the model.export functionality for the PyTorch backend.

@lbortolotti
Thanks for the response. I understand that .keras format would be common gateway not only in this case, but for all backends. However, I got trouble many times to save custom-model to this format (issue). I know how to make it work but quite hassle compare to other format.
@martin-gorner

We might wan to explore that to implement the model.export functionality for the PyTorch backend.

sounds like space exploration 😄
didn't know about this, great.


can not save the volume setting

set volume to 2, ctrl+c to quit.
start radio again, volume was set back to 9 again.

This is not implemented yet.
Maybe a TOML config file named .code-radio-cli-config in %USERPROFILE% on Windows and ~ on Linux?


Sharif University of Technology added

@raminxp I am sorry, I have to close this request without merging as a duplicate to #4341.

@raminxp I am sorry, I have to close this request without merging as a duplicate to #4341.

Hi Philip - This isn't the same though, it's a different sub-domain. Regards


feat: add logging

Contains logging to stdout and possiblity to push local logs to Loki by setting the endpoint to http://loki.testnet.internal/loki/api/v1/push. Also, logging metrics and tracing are included.

Please update README with new options. Other than that, great work.


configure.ac: add --enable-egl to match with libyami

libyami uses --enable-egl to enable egl, but yami-utils uses --enable-tests-gles
for historic reason. this commit adds the --enable-egl to match with libyami.
fix https://github.com/01org/libyami/issues/796

In general, I'm ok with changing --enable-tests-gles to --enable-egl to match libyami.  But this does not actually solve 01org/libyami#796.  I have added more details to the bug report to [hopefully] explain the issue better.

@xuguangxin please update

Closing.  This does not fix actual issue


Pod reset

Hi,
If it happens that a pod is evicted from the node because it was running out of ephemeral storage resources, how can the pod be configured so that the pod can be restarted using kne

So in this case you were creating a kne HOST node with the alpine:latest container image. However when creating the topo, the k8 node did not have enough storage. But it appears the image was in fact later pulled (did the k8 node gain more resources? or is this using kind?). Then after the image was pulled the pod creation was never retried?

So in this case you were creating a kne HOST node with the alpine:latest container image. However when creating the topo, the k8 node did not have enough storage. But it appears the image was in fact later pulled (did the k8 node gain more resources? or is this using kind?). Then after the image was pulled the pod creation was never retried?

Yes, it pulls the image and creates the container, then kills the container, the pod goes to completed status, but does not try to create it again.

NAME      READY     STATUS               RESTARTS    AGE      IP       NODE
server2   0/1   Completed    0                       17m       k8worker2

So in this case you were creating a kne HOST node with the alpine:latest container image. However when creating the topo, the k8 node did not have enough storage. But it appears the image was in fact later pulled (did the k8 node gain more resources? or is this using kind?). Then after the image was pulled the pod creation was never retried?

Sorry, it was solved by giving more disk storage resources on the k8s node.
I have another question I would like to ask you, kne allows you to add a new router (pod) to a scenario that was already deployed?  Without having to destroy or redeploy the previously created topology, making use of a multi-node cluster.

There is no way to do this currently. There may be some hacky way you can apply extra yaml to do this, but it is not supported in the kne cli.


Unable to get Multiple Span ID

Previously I tested alloy and tempo with auto instrumented application (Js). I wanted to test beyla so I shifted to beyla with the same tempo configuration. But beyla is unable to show me multiple span Id's which alloy showed me. Note this is happening for Nodejs apps only. Currently I'm using the standard beyla configuration.

Hi @riteshsonawane1372, do you mind showing us an example of the differences? It would be good to know also which version of Node you are using and if it's the official NodeJS build or a version installed with something like a package manager.


⚠ St. Lawrence Global Observatory CKAN Sitemap has degraded performance

In a5de0a7, St. Lawrence Global Observatory CKAN Sitemap (https://catalogue.ogsl.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 13953 ms

Resolved: St. Lawrence Global Observatory CKAN Sitemap performance has improved in 12d73e1 after 24 minutes.


Error message callbacks

Continuation of #336, based on the current master.
Discussion in Bug #265.

I'm not sure how to address the appveyor failure.

I'm not sure how to address the appveyor failure.

Don't sweat it. I'm still getting it set up and it's not working right now. :)

Merged! https://github.com/munificent/wren/commit/c5855a6fe97cab72f94be40ae7eedc6457c44e72 Alas, it looks like GitHub doesn't recognize squash merges for pull requests. :confused:


Primitives and Super Primitives to add

Primitives
dimselect
ASE
LSE
OMNI
Super Primitives
Nonpar
Semipar
GClust
OOCASE

jhu_primitives_graph_problems (1).pdf

things to get clarification on:

Gclass: i think this is LDA and QDA
LSE: which special cases
Nonpar: https://arxiv.org/abs/1409.2344, kernlab in R implements MMD

things i don't care about in sprint 1

OOCASE: too complicated

VN

SGM

SGM

community detection on large graphs


Textarea onchange and fix flow problem

This resolves #167 .  Also encountered flow issue (see attached screenshot) - so resolved that as well.

Upon further investigation, it seems the flow issue I had was due to a discrepancy in flow version (not being updated to the latest version in package.json - if you'd like @jonthomp I can revert the flow related change in my 3rd commit

I'm happy for it to stay like this if it works :) In an ideal world I would have just spread ButtonProps into Props but it caused issues with the documentation library due to an upstream flow issue. Looks like they might be resolved soonish.


The path of anaconda 's .sh is wrong?

I try to install anaconda pyenv install anaconda3-2.1.0
However my console says
Downloading Anaconda3-2.1.0-MacOSX-x86_64.sh...
-> http://repo.continuum.io/anaconda3/Anaconda3-2.1.0-MacOSX-x86_64.sh
error: failed to download Anaconda3-2.1.0-MacOSX-x86_64.sh

BUILD FAILED (OS X 10.10.4 using python-build 20150818)

I think the path of anaconda's .sh is wrong and the collect path is http://repo.continuum.io/archive/Anaconda3-2.1.0-MacOSX-x86_64.sh
Would you check it?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26605312-the-path-of-anaconda-s-sh-is-wrong?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github).

#439  should solve this.


throw exception when data range is not ok

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[Actions/CI]: Switch to macos-latest-xlarge CI runner for Android, iOS pipelines

Description
Switch to macos-latest-xlarge CI runner for Android, iOS pipelines.

Close until https://github.com/actions/runner-images/issues/8515 is resolved


Distribute minified version to npm

Now that unpkg has been battle tested, it would be awesome if you could distribute the latest version on npm, including the minified version.
This would allow us to simply check for the presence of window.EventSource and if it is not found, load<EMAIL_ADDRESS>Thanks for making this polyfill, by the way.

Also, it seems like 0.9.6 is the latest version on npm? Could I trouble you to publish 0.9.7? :-)


Shortcircuit validation when using default validator provider…

…s and no validation metadata is discovered

@JeremySkinner  - do you see anything in here that is of concern to you? Will this break you?
We're trying to prevent the validation system from doing a bunch of work when we can prove that there's no need to perform validation.  It looks like you implement IModelValidatorProvider so there should be no impact, but your input is definitely appreciated!

Hi @rynowak thanks for pinging me. Yes you’re right, I use a custom IModelValidatorProvider implementation so it looks like this shouldn’t affect FluentValidation. I’ll make sure I run my test suite against it once there’s a build available just to be sure. Changes to the validation api always make me a bit nervous 😬

🆙 📅
BenchmarkDotNet=v0.10.13, OS=Windows 10.0.17134
Intel Xeon CPU E3-1505M v6 3.00GHz, 1 CPU, 8 logical cores and 4 physical cores
Frequency=2929686 Hz, Resolution=341.3335 ns, Timer=TSC
.NET Core SDK=2.2.100-preview2-009404
  [Host]     : .NET Core 2.1.4 (CoreCLR 4.6.26814.03, CoreFX 4.6.26814.02), 64bit RyuJIT
  Job-ARSMZG : .NET Core 2.1.4 (CoreCLR 4.6.26814.03, CoreFX 4.6.26814.02), 64bit RyuJIT

Runtime=Core  Server=True  Toolchain=.NET Core 2.1
RunStrategy=Throughput

Method
Mean
Error
StdDev
Op/s
Scaled
Gen 0
Allocated

'validation for a model with some validated properties - baseline'
379.20 ns
3.9746 ns
3.7178 ns
2,637,125.2
1.00
0.0076
928 B

'validation for a model with some validated properties'
40.82 ns
0.4939 ns
0.4378 ns
24,496,073.1
0.11
0.0041
360 B

'validation for byte arrays baseline'
2,598.67 ns
15.3922 ns
14.398 ns
384,812.8
1.00
0.0305
3352 B

'validation for byte arrays'
39.94 ns
0.7924 ns
1.302 ns
25,037,067.4
0.02
0.0038
360 B

Those are some D O P E $$$s

Added another scenario to the benchmark suite and here's what I get:
Before
RequestsPerSecond:           24,627
Max CPU (%):                 99
WorkingSet (MB):             455
Avg. Latency (ms):           14.6
Startup (ms):                1404
First Request (ms):          365.3
Latency (ms):                0.6
Total Requests:              371,388
Duration: (ms)               15,080

After
RequestsPerSecond:           25,577
Max CPU (%):                 99
WorkingSet (MB):             473
Avg. Latency (ms):           13.7
Startup (ms):                1409
First Request (ms):          352.8
Latency (ms):                0.7
Total Requests:              386,065
Duration: (ms)               15,090

@dotnet-bot test Windows Release x64 Build please

@JeremySkinner the change is part of our preview3 change. We're planning on putting it behind a compat switch \ option, but that won't land until RTM. In the meanwhile, you could try running the tests against this build

https://github.com/dotnet/versions/tree/b074b82f8d5cd98ee14a6a861aa003d41a055748/build-info/dotnet/product/cli/release/2.2. This should install the SDK, ASP.NET Core shared runtime (Microsoft.AspNetCore.App) and packages in the NuGet fallback folder.
Using Microsoft.AspNetCore.Mvc version 2.2.0-preview3-35497 from https://dotnet.myget.org/F/dotnet-core/api/v3/index.json

Let us know how it goes.

Thanks @pranavkm, I’ve run my tests against that build and everything’s passing 😊

Thanks @JeremySkinner!


macOS screen flashes green or pink randomly (idling or on YouTube, etc.)

Description
When in macOS and connected to 1 single 4k TV display, the system will experience briefly flashing or briefly flickering a colour (green, pink). This can happen while idling and is absolutely most often in Chrome/Firefox when using sites that use video playback features (e.g. mousing over YouTube video icons and they start moving for the preview playback).
I have read that using various apps to limit the display colour can help fix this problem with hackintoshes (DisplayMaestro or SwitchResX).
Expected behavior
No flickering or flashes of green.
Configuration

HaC Mini version: 2.7 OpenCore
OSX version: 10.14.6
NUC model: NUC8i7HVK
Boot SSD model and protocol: Intel 760p series 1TB NVMe M.2 SSD (MacOS boot)
Second SSD model and protocol: Samsung 970 Pro 512GB NVMe M.2 SSD (Windows 10 Pro)
First DIMM model: DDR4-2400MHz Kingston HyperX 16GB
Second DIMM model: DDR4-2400Hz Kingston HyperX 16GB
Display port(s) used [e.g: USB-C, mini DP]: mDP 1 -> HDMI 2.0 adapter -> HDMI 2.0 cable
Display resolution: 4k60 (3840x2160) to 55inch Sony TV
Any TB3 devices: AKiTiO Node Pro (housing ElGato 4k60 mk2 for now)
Any USB devices: Logitech unifying receiver, UPS backup, Xbox One wireless controller adapter, AKiTiO 10Gbps USB-C enclosure with 8TB NAS HDD (using USB-C to C cable). Logitech MX Master 2S and Logitech K830.

Modifications
No modifications aside from always use boot picker and give 10 seconds for the boot picker window. I have installed an Intel AX200 M.2 WiFi module for use with WiFi 6 and BT 5.0 (and bluetooth in BIOS). I have not yet installed the IntelBluetooth kext from zxystd. For the install pkg I selected the radeon codec and not intel codec.
Panic log
none
NOTES
In Windows 10 Pro, I had been noticing random booting to a garbled screen of pixels (think of static from a missing channel for old TV). Turns out it was the HDCP setting under Radeon settings. In Windows I have disabled it, and now the mDP works perfectly every time!! (I also cannot achieve any overclock to the GPU under Windows... which is OK, before using HaC mini I was able to get 1310 GPU and 870 VRAM stable...)
Screen colour flickering does not happen in Windows. Is it possible for there to be any HDCP setting for macOS?

Duplicate of #7

I think. Please try the workaround proposed at the very end of that issue and let me know.

Closing due to lack of response.


Standardize KServe multi-model management SPI and add built-in support

For dynamic loading/unloading of models, Triton defines a "Model Repository" API which is described as an extension to the KServe v2 dataplane API.
This includes both REST and gRPC variants of the following API endpoints:
POST v2/repository/index
POST v2/repository/models/${MODEL_NAME}/load
POST v2/repository/models/${MODEL_NAME}/unload

MLServer followed this and have implemented the same API but unfortunately their gRPC service definition uses different service and packages name:

MLServer defines a separate service with name inference.model_repository.ModelRepositoryService
Triton just includes them as additional methods in the same inference.GRPCInferenceService data-plane service

ModelMesh uses these in the built-in modelmesh support for Triton/MLServer to manage models in each Triton instance, but currently the logic is mostly specific to each because of the differing service names and different filesystem layout requirements. Note that only the load/unload methods are used, index isn't required.
It seems that this is an at least de facto standard KServe API for model management so it would make sense to support it as an option for other/custom model server implementations via our built-in adapter, as alternative to implementing the native model-mesh gRPC model runtime SPI.
First though we should decide on the official/standard package and service name to use for the gRPC service, and copy its specification into the KServe repo somewhere.

Looks like MLServer has now standardize on the Triton package/service names: https://github.com/SeldonIO/MLServer/pull/616  :tada:

Closed by https://github.com/kserve/modelmesh-runtime-adapter/pull/45.