text:
Converting all AD user properties fails

This was originally reported in Issue #13
I can run
get-aduser artd | ConvertTo-MySQLiteDB -Path .\art.db -TableName user -TypeName aduser

with no errors. But it fails when using all user properties.
get-aduser artd -Properties * | ConvertTo-MySQLiteDB -Path .\art2.db -TableName user -TypeName aduser

Exception calling "ExecuteNonQuery" with "0" argument(s): "SQL logic error
near "-": syntax error"
At C:\Program Files\WindowsPowerShell\Modules\mySQLite\0.9.2\functions\New-MySQLiteDBTable.ps1:119 char:21
+                     [void]$cmd.ExecuteNonQuery()
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SQLiteException

The database gets created but not the table.
I did a quick test and get the same error with groups but here I get it even with the default output.
PS C:\> get-adgroup sales | ConvertTo-MySQLiteDB -Path .\salesgroup.db -TableName group -force
Exception calling "ExecuteNonQuery" with "0" argument(s): "SQL logic error
near "group": syntax error"
At C:\Program Files\WindowsPowerShell\Modules\mySQLite\0.9.2\functions\New-MySQLiteDBTable.ps1:119 char:21
+                     [void]$cmd.ExecuteNonQuery()
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SQLiteException

Exception calling "ExecuteNonQuery" with "0" argument(s): "SQL logic error
near "group": syntax error"
At C:\Program Files\WindowsPowerShell\Modules\mySQLite\0.9.2\functions\Invoke-MySQLiteQuery.ps1:95 char:25
+                         [void]$cmd.ExecuteNonQuery()
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SQLiteException

It looks like some AD Group property is failing to properly serialize.

The ADGroup example failed because group looks like a SQLite key word. Using a different table name solved the problem.
get-adgroup sales -server dom1  | ConvertTo-MySQLiteDB d:\temp\sales2.db  -TableName grp

But there may be an issue with property names that have dashes like msDS-User-Account-Control-Computed.
This works:
Get-ADUser artd -server dom1 -Properties Title,Description,Givenname,surname,Whencreated,WhenChanged,SAMAccountType,UserAccountControl,UserPrincipalName,lastlogon,lastlogondate,NTSecurityDescriptor,MemberOf | ConvertTo-MySQLiteDB d:\temp\art13.db  -TableName user -primary samaccountname  -force

But not when adding the dashed property.
Get-ADUser artd -server dom1 -Properties Title,Description,Givenname,surname,Whencreated,WhenChanged,SAMAccountType,UserAccountControl,UserPrincipalName,lastlogon,lastlogondate,NTSecurityDescriptor,MemberOf,msDS-User-Account-Control-Computed | ConvertTo-MySQLiteDB d:\temp\art33.db  -TableName user -primary samaccountname  -force

Then I get the logic error. And because I'm using database transactions that causes another problem.

I'm learning more about databases all the time. Apparently, a hyphen is not allowed as a column name. I will need to detect it and modify the SQL query to insert it as [msDS-User-Account-Control-Computed].

This appears to  be fixe with the release of v0.10.0

repo: jdhitsolutions/MySQLite


text:
Enable use of git 1.7

The --set-tracking call during git new-fb is new in git 1.8. That means that machines that still have git 1.7 break during this call.

git 1.7 is EOL

source: gharchive/issue

repo: jdigger/git-process

license_type: permissive

license_source: bigquery


text:
Links in notes

After adding Threema in https://github.com/jdm-contrib/justdelete.me/pull/14 I just saw that the links in the description are not parsed/clickable…
I think you should parse them or is one supposed to use HTML in the notes in the JSON?

I actually never thought about this, it is definitely not common to have additional links on the notes. I'm open to suggestions :)

As you see they are needed sometimes. So what do you think would be best thing? Just auto-link them, allow HTML or maybe use markdown or so?
Auto-linking would have the disadvantage that you cannot specify a different text for a link, but have to include the whole link.

Perhaps this should be covered the same way email/domains are covered?
{
    "links": [
        "example.com",
        "another.example.com"
    ],
    // ...
}

That said, I think this shouldn't be needed in most cases... In this case, the notes could probably be written better with the fact that the first of the two links is already provided.

Yes, but as you see in this example there are many ways/fallbacks, which cover different situations.

I'm not sure the pros supersede the cons here, not escaping some of these characters might make the page look messy in some places that we'll never see, I guess.
I have no suggestion on how to overcome this, though ):

I know that Firefox atleast can tell the difference between a link and text if you highlight it. I'm guessing other browsers have a similar ability. All I have to do is double-click to highlight a link, then right-click and choose go to link. Not really feeling any pain from the current method.
My real question is "By disabling the autoescape, does it cause unforeseen problems with other text?"
Either way, like Tulio, I have no suggestions to resolve any of the problems, atm.

As far as I can tell, the page still renders fine even without escaping the characters mentioned, despite it not being correct HTML. I just wouldn't want to rely on that being true in other browsers.
I'll think on this a while and see if I can come up with anything better.

As far as I can tell, the page still renders fine even without escaping the characters mentioned, despite it not being correct HTML. I just wouldn't want to rely on that being true in other browsers.
I'll think on this a while and see if I can come up with anything better.

authors: Nightfirecat PyroSamurai rugk tupaschoal

license: mit


text:
Transpose images only if necessary.

I made some changes to the auto image transpose based on exif data. This was necessary because images were mistakenly mirrored  although they were correctly aligned top-left (EXIF value 1).

Mapping is now more verbose by using argument constants definitions for Image.transpose provided by PIL.Image
Apply Image.transpose only if an mapping exists and an action is thereby necessary.
Corrected existing mapping: Orientation 1 (Top-Left) doesnt require an action, but 2 (Top-Right) does (flip).

Coverage decreased (-0.06%) to 60.19% when pulling d6e1ea733347a8d21cfad605e309b4f63dd79e98 on douzepouze:check_transpose_images into 2bb2a91073855d7e53c1d4cfb2c704d2ebd7caab on jdriscoll:master.

My patch was flawed. Lets try again.

Coverage decreased (-0.06%) to 60.19% when pulling 5ceeabc2cfb5683bbd0ce85804262ecd50ca63d4 on douzepouze:check_transpose_images into 2bb2a91073855d7e53c1d4cfb2c704d2ebd7caab on jdriscoll:master.

Thanks for the contribution! Sorry it took me a long time to review it - I've been busy moving home.

source: gharchive/pull-request

authors: coveralls douzepouze richardbarran

repo: jdriscoll/django-photologue

license_source: github-api


text:
symlink the original authorized_keys to /root/.ssh

This will symlink authorized_keys from /old-root to the one from NixOS, but only on a DO system. This was also discussed in #5.

Thanks!

authors: bobvanderlinden jeaye

repo: jeaye/nixos-in-place


text:
how to temporarily bypass the service?

Is there an easy way to temporarily disable the service?
Thank you.

Change your DNS settings back to what they used to be.
You can also use forwarding to bypass it only for some domains.

license: ISC


text:
Deprecated treesitter function

The vim.treesitter.parse_query is deprecated in neovim 0.9 and will be removed in 0.10.
Possible solution:
diff --git a/lua/possession/display.lua b/lua/possession/display.lua
index 7a3412b..b669762 100644
--- a/lua/possession/display.lua
+++ b/lua/possession/display.lua
@@ -9,7 +9,13 @@ local utils = require('possession.utils')
 -- the`vimscript` variable.
 local function patch_treesitter_injections(buf)
     local parser = vim.treesitter.get_parser(buf, 'lua')
-    local new_query = vim.treesitter.parse_query(
+    local parse_query
+    if vim.treesitter.query.parse then
+        parse_query = vim.treesitter.query.parse
+    else
+        parse_query = vim.treesitter.parse_query
+    end
+    local new_query = parse_query(
         'lua',
         [[
         (assignment_statement

Thanks! Fixed in https://github.com/jedrzejboczar/possession.nvim/commit/003d971697508ddb906a85bb5321f10e75c21011.

authors: damanis jedrzejboczar

license: MIT


text:
Online报表配置-SQL解析，不支持 “ >= ”

版本号：
2.4.6
问题描述：
Online报表配置-SQL解析，不支持 “ >= ”
截图&代码：
友情提示（为了提高issue处理效率）：

未按格式要求发帖，会被直接删掉;
请自己初判问题描述是否清楚，是否方便我们调查处理；
针对问题请说明是Online在线功能(需说明用的主题模板)，还是生成的代码功能；
描述过于简单或模糊，导致无法处理的，会被直接删掉；

收录 ty

收录 ty

已修复

authors: tygithub1 zhangdaiscott zoemak

repo: jeecgboot/jeecg-boot


text:
微服务模式下,online报表中的sql,无法使用其他服务的表

版本号：
2.4.6
问题描述：
微服务模式下 ,  其他服务配置单独的数据库,online报表无法访问其他服务的数据库, 导致popup控件也无法使用
截图&代码：
友情提示（为了提高issue处理效率）：

未按格式要求发帖，会被直接删掉;
请自己初判问题描述是否清楚，是否方便我们调查处理；
针对问题请说明是Online在线功能(需说明用的主题模板)，还是生成的代码功能；
描述过于简单或模糊，导致无法处理的，会被直接删掉；

这是肯定的

那应该如何解决呢

online暂时不支持分库


text:
GL_INCOMPATIBLE error on Chrome 69,  Android 9

Describe the bug
I've upgraded to Android 9. Jeeliz projects now throw a "GL_Incompatible" error in Chrome 69. They work as expected in Firefox on Android, so it seems to be Chrome specific. I have tested and seen the same result on 2 Pixel 2s.
To Reproduce
Steps to reproduce the behavior:

Load any Jeeliz demo on Chrome 69 running on Android 9.

Expected behavior
Jeeliz projects to load
Screenshots

Smartphone (please complete the following information):

Device: Pixel 2
OS: Android 9
Browser Chrome
Version 69

As usual, I'm a big fan of your work and hope it's a simple resolution.

Hi Andrew,
This is really strange, it seams that Chrome blocks some OpenGL feature to WebGL.
Can you please give screenshot of:
http://webglreport.com/?v=1 (for webgl1)
http://webglreport.com/?v=2 (for webgl2)
Thank you,
Xavier

Taken in Chrome 69.0.3497.100 on Android 9
WebGL 1:

WebGL2:

Thank you, that's really strange, it should work... I am looking for the bug...

The bug is related to: https://bugs.chromium.org/p/chromium/issues/detail?id=890002#c2
I hope it will be corrected very soon :)

It seems the bug is taken very seriously by Chromium dev team and I am pretty sure it will be corrected very soon, so I close the issue :)

A unit test was added to Chromium thanks to this issus and Chromium bug reporting :)
https://github.com/KhronosGroup/WebGL/pull/2729

The bug have been fixed (cf https://bugs.chromium.org/p/chromium/issues/detail?id=890002)
It is currently in the Canary and Dev Chrome channels.
It will be fixed on stable channel at the end of January 2019

Fantastic. Thanks, Xavier!
On Mon, Nov 5, 2018 at 5:21 PM Bourry Xavier notifications@github.com
wrote:

The bug have been fixed (cf
https://bugs.chromium.org/p/chromium/issues/detail?id=890002)
It is currently in the Canary and Dev Chrome channels.
It will be fixed on stable channel at the end of January 2019
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jeeliz/jeelizFaceFilter/issues/41#issuecomment-436057516,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABHRatV_jVXe_uIw4FUqtIW26yOr6ZQAks5usLnOgaJpZM4W5fLR
.

--
917.482.1004   https://www.somewonderstuff.com

authors: andrewdeutsch xavierjs

repo: jeeliz/jeelizFaceFilter


text:
useForm通过getFieldsValue获取值问题

场景：官方示例弹窗扩展页面中。
复现步骤：填写姓名， 点击弹窗确定按钮，通过useForm暴露的getFieldsValue方法只能获取到用户手动录入的值，无法获取到已经设置的默认值， 例如弹窗扩展里面的预约时间不主动触发的话是无法通过getFieldsValue获取到该值得
期望：通过defaultValue设置默认值，不触发一样可以拿到值

补充：通过getFieldsValue拿到的不是整个Form表单对象，而是用户触发过的字段才通过getFieldsValue返回出来

示例我也写错了，正确是defaultValue写到 schema 里面，而不是 schema.componentProps里面，测试了一下，正常返回

authors: jekip yanbowe

repo: jekip/naive-ui-admin


text:
Enable auto_paginate for Octokit client

Fixes #16, replaces #17.
@jarrodparkes Try it now

that did it!

might we suggest an option to shut it on/off? or is it possible for me to do that already? (my newbish Ruby) isn't it part of the Gem?

This gem is meant to exactly mimic the current github pages metadata feature. It's technically overridable but I want to enforce what GitHub provides :)

It's technically overridable but I want to enforce what GitHub provides :)
With that in mind, how can I override it in my own project (so that you don't have to maintain a separate branch just for me? If this (auto-paginate set to true) can only be set in the Ruby gem, then how can I override it?
Best,
Jarrod

how can I override it in my own project

This, unfortunately, won't be possible. We want it to be one way in all cases! Thanks for spotting the bug though :)

@parkr So what would you suggest as my workaround? Just use another tool/gem?

@jarrodparkes If you only want 30, you can limit your loop like this:
{% for repo in site.github.repositories limit:30 %}
  <!-- output repo stuff here -->
{% endfor %}

authors: jarrodparkes parkr

repo: jekyll/github-metadata


text:
Stylus, allow --include-css

Would be nice if you can activate that option, so in our styl we can
include vanilla css.
Thanks!

Where are the docs for this? I looked at roots.cx/docs but I don't see anything explicitly about the API.

For everyone's edification:

(Don't forget to re-compile after making changes to app.coffee)

Hi, sorry for not responding quicker, I have had limited internet. Thanks for posting this solution and sorry you had to figure this out!

No worries. :)

authors: DAddYE jenius oompt

repo: jenius/roots


text:
JDK setup step name was too specific and incorrect

The trivial part of https://github.com/jenkins-infra/github-reusable-workflows/pull/6#discussion_r897355185 noted by @jtnord as well as @eduard-tita in https://github.com/jenkinsci/nexus-platform-plugin/pull/206#issuecomment-1156739591.

(Trivial but technically a bug since this appears in the action run UI.)

I prefer #10 that way it is shown in the action title which version is used.

authors: jetersen jglick

repo: jenkins-infra/github-reusable-workflows


text:
Delete application bdd-spring-1572463853 from this environment

The command jx delete application was run by  and it generated this Pull Request

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


text:
Delete application bdd-spring-1573216688 from this environment

The command jx delete application was run by  and it generated this Pull Request

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


text:
feat: Close from branch names

Allows users to close an open pull request, just by specifying the head and base branch.
Requires these changes in go-scm for tests to pass:
https://github.com/jenkins-x/go-scm/pull/330
To check out this behavior manually, try out:
jx-scm pull-request create
--kind github
--server https://github.com/
--token YOUR_GITHUB_PERSONAL_ACCESS_TOKEN
--owner waciumawanjohi
--name demo-hello-world
--head bye
--title "Some good pull request"
--body "A great explanation"
--base main
--allow-update
jx-scm pull-request close
--kind github
--server https://github.com/
--token YOUR_GITHUB_PERSONAL_ACCESS_TOKEN
--owner waciumawanjohi
--name demo-hello-world
--head bye
--base main

/assign @rawlingsj

/ok-to-test

/test

/lgtm

authors: garethjevans waciumawanjohi

repo: jenkins-x-plugins/jx-scm


text:
using jenkins global env var properties in jenkins-x-docker-registry.yaml

https://github.com/jenkins-x/jenkins-x-platform/blob/master/templates/jenkins-x-docker-registry.yaml
Why its reading from jenkins.Servers.Global.EnvVar instead of jenkins.Global.EnvVar. How its different ?

I am still unable to figure out why its made it in this way, for me the docker registry url is never getting updated in the jenkins after any jx upgrade platform.
jenkins:
  Servers:
    Global:
      EnvVars:
        DOCKER_REGISTRY: "account.dkr.ecr.ap-southeast-1.amazonaws.com"
  Global:
    EnvVars:
      DOCKER_REGISTRY: "account.dkr.ecr.ap-southeast-1.amazonaws.com"

repo: jenkins-x/jenkins-x-platform


text:
feat: remove application and repository when tests end successfully

The flags --no-delete-app and --no-delete-repo have been removed so that the application created for the tests and its repository are deleted when the tests finish.
If tests fail, the delete application / repository logic won't be executed so that we can take a look.

/test static

/test tekton

/test all

/retest

/test all

/test all

/test all

/test all

/test all

/test static

Closing this since there isn't any active work ongoing.

authors: ccojocar fiunchinho

repo: jenkins-x/jenkins-x-versions


text:
fix: upgrade to version 3.1.220

from: https://github.com/jenkins-x/jx-cli

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign cagiti
You can assign the PR to them by writing /assign @cagiti in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


text:
feat: add build.gradle support

fixes #19

This PR adds the following:

GradleProjectType class extending the ProjectType abstract class
Support of the project in the factory class
Tests for the same :)

[x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[x] Ensure that the pull request title represents the desired changelog entry
[x] Please describe what you did
[x] Link to relevant issues in GitHub or Jira
[x] Link to relevant pull requests, esp. upstream and downstream changes
[x] Ensure you have provided tests - that demonstrates feature works or fixes the issue

Signed-off-by: Aditya Srivastava adityasrivastava301199@gmail.com

These tests pass locally :(

How do I install "Gradle" during testing?

repo: jenkinsci/conventional-commits-plugin


text:
COPY failed: stat /var/lib/docker/tmp/docker-builder121079484/tini_pub.gpg: no such file or directory

Docker commands that you execute
docker build my-project -t jenkins
Actual result
COPY failed: stat /var/lib/docker/tmp/docker-builder121079484/tini_pub.gpg: no such file or directory
Expected outcome
Create Jenkins Docker
Have you tried a non-dockerized Jenkins and get the expected outcome?
Jes
Output of docker version
Client:
Version:      17.09.1-ce
API version:  1.32
Go version:   go1.8.7
Git commit:   f4ffd2511ce9
Built:        Tue Jun 12 12:05:08 2018
OS/Arch:      linux/amd64
Server:
Version:      17.09.1-ce
API version:  1.32 (minimum version 1.12)
Go version:   go1.8.7
Git commit:   f4ffd2511ce9
Built:        Sat Oct 21 17:27:07 2017
OS/Arch:      linux/amd64
Experimental: false

docker build my-project -t jenkins

On what source do you run this? Is this a custom image of yours, or the repo here? If the latter, what's the tested SHA?

I ran it on OpenSuse Leap 42.3. With this command i create the Jenkins Image from the Dockerfile which i took from the repo

Seems like a reproduction rep would be helpful. If you're just copying the Dockerfile, I don't think that would work - docker run jenkins/jenkins:2.133 will run this with everything it needs.

@Whalesharkking its look like the file is missing from your repositiry where you try to build your images.

No answer since June indeed, closing.
@Whalesharkking please reopen once/if you can answer questions above, thanks!

@Whalesharkking  hi, Is this problem been sovled yet? Any other updates? I have the same issule.

authors: Whalesharkking Yakha batmat gaoyanyu jcrben

repo: jenkinsci/docker


text:
GHPRB Job DSL for pipelines breaks with Job DSL >= 1.70

GHPRB Job DSL for pipelines breaks with Job DSL >= 1.70
If I understand correctly, the GHPRB Job DSL example tracks the GitHub repo specified in the scm, git, remote context - see the example Job DSL below taken from the plugin site.
However, support for the scm{} context (and others) has been dropped for Pipeline Jobs in Job DSL 1.70 (see https://github.com/jenkinsci/job-dsl-plugin/wiki/Migration#migrating-to-170).
If scm{} is deprecated, it would seem that the remote for tracking must be specified some other way.
pipelineJob('example') {
    scm {
        git {
            remote {
                github('test-owner/test-project')
                refspec('+refs/pull/*:refs/remotes/origin/pr/*')
            }
            branch('${sha1}')
        }
    }
    triggers {
        githubPullRequest {
            admin('user_1')
            admins(['user_2', 'user_3'])
            userWhitelist('you@you.com')
            userWhitelist(['me@me.com', 'they@they.com'])
            orgWhitelist('my_github_org')
            orgWhitelist(['your_github_org', 'another_org'])
            cron('H/5 * * * *')
            triggerPhrase('OK to test')
            onlyTriggerPhrase()
            useGitHubHooks()
            permitAll()
            autoCloseFailedPullRequests()
            allowMembersOfWhitelistedOrgsAsAdmin()
            extensions {
                commitStatus {
                    context('deploy to staging site')
                    triggeredStatus('starting deployment to staging site...')
                    startedStatus('deploying to staging site...')
                    statusUrl('http://mystatussite.com/prs')
                    completedStatus('SUCCESS', 'All is well')
                    completedStatus('FAILURE', 'Something went wrong. Investigate!')
                    completedStatus('PENDING', 'still in progress...')
                    completedStatus('ERROR', 'Something went really wrong. Investigate!')
                }
            }
        }
    }
}

@tushar-acharya I haven't checked recently, but I've been using an older (< 1.70 version) of Job DSL as a workaround until this is resolved.

Deprecation in job dsl should not force you to use an older version, they will still work. What is the replacement from job-dsl?

To be clear, scm does not appear to be deprecated for freestyle jobs.  It is deprecated in Pipeline jobs.
The DSL mentioned in the issue description is a freestyle job so it will continue to work.

Last I checked, the GitHub branch source is the preferred way to configure projects for pipelines using multibranch pipelines.  That’s using plugins other than GHPRB.  Have you considered switching to multibranch pipelines?

Having just helped diagnose a problem updating a pipeline job to seed correctly with a newer version of the Job DSL plugin, I think what you want is pipelineJob -> definition -> cpsScm -> scm.  I've only tested it with Job DSL 1.67 so far, but it looks like it should continue working past the deprecation of the top-level scm context you're worried about; all of those contexts are still present in the 1.70 documentation.

A temporary hack is by modifying the xml from within the dsl specification with configure:
Closure addGitSCM(String gitUrl) {
    return {
        it / 'properties' / 'com.coravy.hudson.plugins.github.GithubProjectProperty'(plugin: 'github@1.29.3') {
            projectUrl(gitUrl)
        }
    }
}

then use it as this:
pipelineJob(projectName) {
    description "Creates project for PR"
    configure addGitSCM(gitUrl) // this is a hack because below does not work
    // other steps
}

https://jenkinsci.github.io/job-dsl-plugin/#method/javaposse.jobdsl.dsl.helpers.workflow.BranchSourcesContext.github

@samrocketman

That’s using plugins other than GHPRB. Have you considered switching to multibranch pipelines?

We have considered this but the DSL for multibranchPipelineJob() is extremely limited https://jenkinsci.github.io/job-dsl-plugin/#method/javaposse.jobdsl.dsl.helpers.workflow.BranchSourcesContext.github
Our job below is impossible, see the comment in configure {} block. This wouldn't be possible without updating several hundred git repos this PR builder is suppose to work on because we're using this job to generate lots of PR builder jobs for multibranchPipelineJob (previously using pipelineJob before job-dsl 1.70 to 1.74 broke us)
// Generate PR push pipeline jobs for all of the repos passed in via REPO_LIST

def repoList = "${REPO_LIST}".trim().replaceAll('"', '').split(",")

println "Generating PR push jobs for the following repos:: $repoList"
repoList.each {
    def cookbook = it
    multibranchPipelineJob("chef-${cookbook}-PR-push") {
        description("Chef push pipeline generator")
        branchSources {
            github {
                buildOriginPRHead() // Build fork PRs (unmerged head).
                // buildOriginPRMerge() // Build fork PRs (merged with base branch).
                buildOriginBranchWithPR() // Build origin branches also filed as PRs.
                checkoutCredentialsId('fffff-fffff-fffff-fffff')
                // scanCredentialsId('github-ci')
                repoOwner('myOwner')
                repository("${cookbook}")
            }
        }
        configure {
            // my Jenkinsfile doesn't exist in the chef Cookbooks for 900 repositories...
            // how can we set a seperate git repo for shared scripts? we don't want to use submodules
            it / factory(class: 'org.jenkinsci.plugins.workflow.multibranch.WorkflowBranchProjectFactory') {
                owner(class: 'org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject', reference: '../..')
                scriptPath("jenkins/[where ever you want]/Jenkinsfile")
            }
        }
    }
 }

Here is the old way that worked until support was dropped.
repoList.each {
  def cookbook = it
  pipelineJob("chef-${cookbook}-PR-push") {
    scm {
     git {
       remote {
         github("orgname/${cookbook}", 'ssh')
         refspec('+refs/pull/*:refs/remotes/origin/pr/*')
         credentials('ffffff-fffff-fffff-ffff)
       }
       branch('${ghprbActualCommit}')
       extensions {
         relativeTargetDirectory("${cookbook}")
       }
       configure { gitScm ->
         gitScm / 'extensions' << 'hudson.plugins.git.extensions.impl.UserExclusion' {
           excludedUsers('mybotuser')
         }
       }
     }
    }
    triggers {
      githubPullRequest {
        admin('')
        orgWhitelist(['orgname'])
        triggerPhrase('jenkins push to \\S* \\S*')
        useGitHubHooks()
        onlyTriggerPhrase()
        extensions {
          commitStatus {
            context('Push cookbook pipeline')
            startedStatus()
            statusUrl()
          }
        }
      }
    }
    definition {
      cpsScm {
        lightweight(true)
        scriptPath('jenkins/[where ever you want]/Jenkinsfile')
        scm {
          git {
            branch('master')
            remote {
              github("organization/scripts", 'ssh')
              credentials('ffff-fff-fff-ffffff)
            }
          }
        }
      }
    }
  }
}

Which support was dropped from job-dsl?

i also notices that the example in the README.md is not working anymore.
for the scm part, you now have to use the "checkout".
example:
pipeline {
    agent {label "BuildNode"}

    stages {
        stage('cleanup') {
            steps {
                deleteDir()
            }
        }
        stage('fetch') {
            steps {
                checkout([
                    $class: 'GitSCM',
                    branches: [[name: 'refs/heads/master']],
                    doGenerateSubmoduleConfigurations: false,
                    extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'project']],
                    submoduleCfg: [],
                    userRemoteConfigs: [[
                        credentialsId: '$CREDENTIAL_UUID',

                        url: 'git@github.com:Example/Repository.git'
                    ]]
                ])
            }
        }
    }
}

but i have no clue how to get the trigger working using the DLS, the stuff in the README.md trows syntax errors.

This is still working with latest Job-DSL 1.77 and Jenkins 2.263.1
Inspired from https://github.com/jenkinsci/ghprb-plugin/issues/785
pipelineJob("example") {
properties {
githubProjectUrl("https://github.com/ebuzzing/test")
triggers {
githubPullRequest {
triggerPhrase('retest.*')
useGitHubHooks(true)
permitAll(true)
displayBuildErrorsOnDownstreamBuilds(true)
cron('')
extensions {
commitStatus {
context('Jenkins')
}
}
}
}
}
throttleConcurrentBuilds {
maxPerNode(1)
maxTotal(1)
}
logRotator {
numToKeep(100)
}
definition {
  cps {
    script(readFileFromWorkspace('example.groovy'))
  }
}

}

@danielstoian you still get a deprecation warning

@danielstoian you still get a deprecation warning

authors: bjoernhaeuser danielstoian jmbowman jondkelley nautilussu nocode99 pch-envision philchiu-envision samrocketman schlitzered

repo: jenkinsci/ghprb-plugin


text:
Do not cache the GitHub client

Caching the GitHub client has the unfortunate side effect of caching the
credentials too. This prevents GHRP from effectively using Github App
credentials as the returned credentials expire after an hour. By
returning a new GitHub client on demand, the credentials are fresh for
each action and generally last long enough for most, if not, all GHRP
tasks.
I'm not sure if this is the best approach, but it seems to work fine.
A seemingly better approach would be to use AuthorizationProviders available in newer versions of the Github API plugin. However, it seems this would mean that GHRP would need to depend on the Github Branch Source Plugin to use Github App credentials and its associated auth provider.
I completely understand if this is an unacceptable change, but it would be nice to support Github App authentication as it avoids needed to create a bot user account and provides fine grained permissions.

[x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your master branch!
[x] Ensure that the pull request title represents the desired changelog entry
[x] Please describe what you did
[ ] Link to relevant issues in GitHub or Jira
[ ] Link to relevant pull requests, esp. upstream and downstream changes
[ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue

Turns out this approach still fails with 401s after some time in some cases.
Going to give updating to use AuthorizationProvider a shot.

@jalaziz were you successful in using github applications for the pull request builder?

@jalaziz were you successful in using github applications for the pull request builder?

Unfortunately not.
I started working on support for GitHub Applications, but it would either require 1) making certain private GitHub Branch Source Plugin APIs public, 2) Porting GitHub App support from the branch source plugin to the GitHub plugin, or 3) Copying all the supporting classes into this plugin.
Other priorities took over and I haven't had time to actually start down one of those paths.


text:
Pass checkstyle properties through

Needed for warnings-ng change

Should it be propagated to the Plugin POM?

Should it be propagated to the Plugin POM?

it's a little bit weird here, if you don't set them explicitly it seems to works fine.
I tried on azure-keyvault plugin as well and that one doesn't set the config, possibly a fix would have been to remove the config but I didn't find that till after.
different ways of solving it i guess.

plugin pom doesn't have checkstyle afaik?

plugin pom doesn't have checkstyle afaik?

Looks like we removed the checkstyle profile at some point.
I think it would be great to add it again so that plugin maintainers can easily enable it if needed (e.g. a profile with checkstyle rules file activator, or a property managing the skip flag)

authors: oleg-nenashev timja

repo: jenkinsci/slack-plugin


text:
Feature/0135 web UI add control panel extended settings

Description

wegen genereller Umbenennung des Patches und Branches geht #1412 jetzt hier weiter
Related Issue
https://github.com/jens-maus/RaspberryMatic/pull/1412
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Alternate Designs

Possible Drawbacks

Verification Process

Release Notes

Contributing checklist

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING and LICENSE document.
[x] I fully agree to distribute my changes under Apache 2.0 license.

Ok, nen extra/neuen PR hätte es vmtl. nicht gebraucht dafür, aber gut. :)
Nur hattest du jetzt ExtendedSettings und ich will zwar nicht kleinlich sein, aber eigentlich hatte ich ja was von "Advanced Settings" geschrieben in meinem letzten Kommentar ;-)

Ok, nen extra/neuen PR hätte es vmtl. nicht gebraucht dafür, aber gut. :)

War auch nicht geplant. Hab das erste Mal einen Branch umbenannt und gehofft, dass das in dem selben PR bleibt. War aber nicht so -.-

würde es dann aber gerne "Erweiterte Einstellungen / Advanced Settings"

Ich hatte mich für ersteres entschieden.
Du kannst aber auch gern noch mal mit "Suchen&Ersetzen" aus "Extended" ein "Advanced" machen ;)

P.S.: Ich hab gesehen, dass es für die "oci" Docker-Variante teilweise Sonderbehandlungen gibt.
Trifft das auch für eine hier eingebaute Einstellung zu ? Das disableLED z.B.?

Ok, nen extra/neuen PR hätte es vmtl. nicht gebraucht dafür, aber gut. :)

War auch nicht geplant. Hab das erste Mal einen Branch umbenannt und gehofft, dass das in dem selben PR bleibt. War aber nicht so -.-

Branchnamen sind Schall und Rauch, die musst du nicht ändern :) Die Inhalte sind da entsprechend relevant.

würde es dann aber gerne "Erweiterte Einstellungen / Advanced Settings"

Ich hatte mich für ersteres entschieden.
Du kannst aber auch gern noch mal mit "Suchen&Ersetzen" aus "Extended" ein "Advanced" machen ;)

Alles klar, dann mach ich das :)

P.S.: Ich hab gesehen, dass es für die "oci" Docker-Variante teilweise Sonderbehandlungen gibt.
Trifft das auch für eine hier eingebaute Einstellung zu ? Das disableLED z.B.?

Nein, das /etc/config/disableLED schaltet ja via hss_led Prozess die LED eines RPI-RF-MOD komplett ab. Insofern sollte das also auch in der oci/ova variante zur Geltung kommen. Einzig alleine das abschalten der LEDs eines RaspberryPi / Tinkerboard, etc. ist nur für diese Varianten relevant natürlich. Aber das ist momentan noch nicht via /etc/config settingsfile abgedeckt. Könnte man aber in dem Zuge auch ggf. machen. Die Frage wäre also ob man einfach auch bei Existenz von /etc/config/disableLED alle onboard LEDs der darunterliegenden Hardware (Pi, Tinkerboard) abschalten sollte oder ob wir uns da ne neue Variable/Settingsfile für ausdenken?

auch die LEDs etwaig verbundener BidCos-LAN-Gateways

Ok, ich vermute, du wirst den ein oder anderen Hinweistext in der translate.lang.js überarbeiten und das dann noch mit aufnehmen?

auch die LEDs etwaig verbundener BidCos-LAN-Gateways

Ok, ich vermute, du wirst den ein oder anderen Hinweistext in der translate.lang.js ohnehin noch überarbeiten und das dann mit aufnehmen?

Ja, werde ich machen. Die Frage bleibt aber: soll ich auch gleich noch am besten das ganze so umbauen das bei existenz von /etc/config/disableLED dann auch die onboard LEDs eines RaspberryPi/Tinkerboard/ODROID entsprechend ausgehen und quasi der Lichtsmog dann komplett deaktiviert wird sobald das booten durch ist? Denke das dürfte durchaus Sinn ergeben.

Hmm... ja, also manch einen stört vielleicht nur die extrem helle RGB LED vom Funkmodul.
Hearbeat / Aktivität sollen aber weiter erkennbar bleiben... die Onboard-LEDs am Pi sind ja recht dezent.
Ich wäre dann eher für noch einen weiteren Schalter

Hmm... ja, also manch einen stört vielleicht nur die extrem helle RGB LED vom Funkmodul.
Hearbeat / Aktivität sollen aber weiter erkennbar bleiben... die Onboard-LEDs am Pi sind ja recht dezent.
Ich wäre dann eher für noch einen weiteren Schalter

Ok, auch machtbar. Dann vllt. sowas wie /etc/config/disableSystemLED oder wie sollten wir das nennen?

Ja, so oder /etc/config/disableOnBoardLED

Ja, so oder /etc/config/disableOnBoardLED

Das liest sich auch gut, nur würde ich es /etc/config/disableOnboardLED nennen, weil onboard ja ein wort ist :)

Stimmt. Ich bau es gleich mal mit ein, dann haben wir einen finalen Stand, der nur noch vom Textinhalt deinerseits angepasst werden müsste?

Ja, ich denke so wird es sein. Muss nur noch die Zeit finden das zu testen und dann noch ein wenig runder zu machen. Aber inhaltlich sollte es so prinzipiell passen, ja.

Ok, es ist vollbracht. denke nun kann man das so auf nutzer schon einmal loslassen und erste reaktionen/erfahrungen dazu einsammeln. Danke dir nochmal @jp112sdl für die initiale Arbeit! Bitte weiter so.

Das ist ja echt gut geworden! Super Arbeit!
Einen "Kritikpunkt" habe ich aber...
Und zwar die Benennung und Beschreibung zu CustomStoragePath
Prinzipiell ist beides nicht falsch, aber CustomStoragePath ist weit mehr als nur ein Speicherpfad für Diagramme.
Das war zwar damals der Grundgedanke hinter meiner Idee, aber @jens-maus hat da dankenswerterweise gleich mehr draus gemacht.
CustomStoragePath ist ein vollwertiger Ersatz für einen USB-Stick.
Es werden z.B. auch die Backups im CustomStoragePath abgelegt (wenn nicht durch CronBackupPath überschrieben) und das Historian Add-On legt dort seine Datenbank ab. Prinzipiell alles was normalerweise nach /media/usb0 geht landet im CustomStoragePath.

Und zwar die Benennung und Beschreibung zu CustomStoragePath

Hast du einen besseren Vorschlag?
Evtl: "externer Speicherpfad" und als "schwach-grauer" Hint im Eingabefeld könnte noch /media/usb0 als Default-Vorgabe stehen, wenn man nix einträgt.

Evtl: "externer Speicherpfad" und als "schwach-grauer" Hint im Eingabefeld könnte /media/usb0 als Default-Vorgabe stehen, wenn man nix einträgt.

Wenn dann sowas wie Alternativer Speicherpfad" oder so + detaillierter Beschreibung oder so. "Extern" klingt IMHO zu technisch und auch /media/usb0` würde ich da nicht reinschreiben, der normale DAU wird das nicht verstehen und wir sollten immer noch den Anspruch haben hier alles so einfach und untechnisch wie möglich zu hinterlegen.

Ok, hab es nun mal entsprechend angepasst. Hoffe so passt es nun besser.

Moin,
also Alternativer Speicherpfad fände ich recht passend. Und als Hint wenn nix eingetragen ist dann vielleicht <Systemvorgabe> (wäre dann einheitlich mit Backup-Speicherpfad).

Mal schauen, wann der Erste nachfragt, ob dort auch Programme, Geräte und/oder Addons gespeichert werden :D

Mal schauen, wann der Erste nachfragt, ob dort auch Programme, Geräte und/oder Addons gespeichert werden :D

Du hast die Büchse der Pandora doch erst mit diesem WebUI Patch geöffnet, den Finger werd ich dann ganz klar auf dich zeigen wenn es dann soweit ist ;)

Ne Kleinigkeit ist mir heute beim HA-AddOn aufgefallen:

(Links HA-AddOn | rechts Pi3B)
Alle anderen Umlaute (auch die anderen "ü") werden aber korrekt dargestellt.

Ne Kleinigkeit ist mir heute beim HA-AddOn aufgefallen:

Ok, danke. Sollte nun repariert sein.

repo: jens-maus/RaspberryMatic


text:
preserve whitespace when preprocessing

to facilitate debugging, we should preserve whitespace (or at least newlines) when converting a translate="yes" component to a <ComponentInterpolator> ... that way line numbers will match up with the original source. as it stands right now, recast is injecting some newlines, presumably for readability.
we handle this kinda rudimentarily in i18nliner (erb)

this is slightly less critical, since we now share the same AST with i18nliner-js ... for i18nliner errors at least, the line numbers will be correct (since it uses the original loc.start)
that said, it's still nice to do for general js debugging


text:
Fix docs for installing vulnz

Trivial things like this can still trip people up ;)

Thanks for catching the issue!

authors: jeremylong raboof

repo: jeremylong/vuln-tools


text:
Writing hashes to output file

Hello,
Can you give me some advice of how to change the code so that when I query the index it writes the hashes to stdout/a file. Thanks for any advice.

Hi,
There is no need to modify anything. The lookup function of SSHash already gives you the kmer_id which is the hash code you want. So just print this value of the std out.
Cheers,
-Giulio

repo: jermp/sshash


text:
Daily adjusted run time calculation keyerror:day

My hourly runs fine, but my daily wont move off 0 for a few weeks. I searched logs and below is what I found.
File "/config/custom_components/smart_irrigation/sensor.py", line 557, in state
self._state = self.update_state()
File "/config/custom_components/smart_irrigation/sensor.py", line 516, in update_state
self.evapotranspiration = self.get_evapotranspiration(data)
File "/config/custom_components/smart_irrigation/sensor.py", line 689, in get_evapotranspiration
t_day = data["temp"]["day"]
KeyError: 'day'
2022-05-24 07:26:29 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up smart_irrigation platform for sensor
2022-05-24 07:26:28 ERROR (MainThread) [homeassistant.components.input_boolean] Platform input_boolean does not generate unique IDs. ID new_grass_water already exists - ignoring input_boolean.new_grass_water
2022-05-24 07:26:29 ERROR (MainThread) [homeassistant.components.sensor] Error adding entities for domain sensor with platform smart_irrigation

I'm having the same issue since a few days. Is there any solution to this problem?
Traceback (most recent call last):   File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 428, in async_add_entities     await asyncio.gather(*tasks)   File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 691, in _async_add_entity     await entity.add_to_platform_finish()   File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 777, in add_to_platform_finish     self.async_write_ha_state()   File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 533, in async_write_ha_state     self._async_write_ha_state()   File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 571, in _async_write_ha_state     state = self._stringify_state(available)   File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 539, in _stringify_state     if (state := self.state) is None:   File "/config/custom_components/smart_irrigation/sensor.py", line 557, in state     self._state = self.update_state()   File "/config/custom_components/smart_irrigation/sensor.py", line 516, in update_state     self.evapotranspiration = self.get_evapotranspiration(data)   File "/config/custom_components/smart_irrigation/sensor.py", line 689, in get_evapotranspiration     t_day = data["temp"]["day"] KeyError: 'day'

This should be fixed in the 2.0 beta version (please install and confirm).

This issue no longer exists and should get closed.

authors: gatonero jeroenterheerdt schimi42 scubieman

repo: jeroenterheerdt/HAsmartirrigation


text:
[Bug]: 404: Not Found for download_loader()

Bug Description
The download_loader() function is showing a 404. It looks like the data_connectors.md file was removed on the main branch. This means the connectors aren't working? Maybe I just missed an update?
https://github.com/jerryjliu/llama_index/blob/main/docs/how_to/data_connectors.md
Version
0.6.8
Steps to Reproduce
from llama_index import download_loader
OpendalS3Reader = download_loader("OpendalS3Reader")
loader = OpendalS3Reader(
bucket='bucket',
path='path/to/data/',
access_key_id='[ACCESS_KEY_ID]',
secret_access_key='[ACCESS_KEY_SECRET]',
)
documents = loader.load_data()
Relevant Logs/Tracbacks
No response

Was this resolved?
I am facing a the same issue. The code for Confluence Loader does not exist any longer

Yeah , some reason the downloader is not working currently
\site-packages\llama_index\readers\download.py", line 216, in download_loader
spec.loader.exec_module(module)  # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 936, in exec_module
File "", line 1074, in get_code
File "", line 1004, in source_to_code
File "", line 241, in _call_with_frames_removed
File "C:\Users\tobie\anaconda3\envs\fastAPI\Lib\site-packages\llama_index\readers\llamahub_modules/file/markdown/base.py", line 1
404: Not Found
^^^
SyntaxError: illegal target for annotation

I face the same issue.
are there any alternative ways?
JSONReader = download_loader("JSONReader")
spec.loader.exec_module(module)  # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 936, in exec_module
File "", line 1074, in get_code
File "", line 1004, in source_to_code
File "", line 241, in _call_with_frames_removed
404: Not Found

authors: GregXD Majidbadal Thananjayan-Arul tobievii


text:
Human-aligned text-to-sql evaluation

As pointed out in my blog post, the original evaluation metrics used by Spider benchmark is not aligned with typical human preference.
This PR aims to fix this issue by adding a new evaluation measure "Answer Accuracy", which is computed using LLM. I wrote a blog post describing this new metrics. In short, we ask LLM to answer the input question using the execution output of generated and golden SQL queries, and then ask LLM again to check if the answer from the generated SQL query is correct.
Answer accuracies of various GPT models on 96 examples (86 train + 10 dev) sampled from Spider benchmark.

Model
Answer Accuracy

code-davinci-002
0.7917

text-davinci-003
0.8854

gpt-3.5-turbo
0.8542

gpt-4
0.8958

As pointed out in my blog post, the original evaluation metrics used by Spider benchmark is not aligned with typical human preference.
This PR aims to fix this issue by adding a new evaluation measure "Answer Accuracy", which is computed using LLM. I wrote a blog post describing this new metrics. In short, we ask LLM to answer the input question using the execution output of generated and golden SQL queries, and then ask LLM again to check if the answer from the generated SQL query is correct.
Answer accuracies of various GPT models on 96 examples (86 train + 10 dev) sampled from Spider benchmark.
Model	Answer Accuracy
code-davinci-002	0.7917
text-davinci-003	0.8854
gpt-3.5-turbo	0.8542
gpt-4	0.8958

this is amazing!! will take a look soon

authors: ekzhu jerryjliu


text:
Assertion 'ecma_is_value_undefined (value) || ecma_is_value_null (value) || ecma_is_value_boolean (value) || ecma_is_value_number (value) || ecma_is_value_string (value) || ecma_is_value_object (value)' failed in ecma_check_value_type_is_spec_defined

Jerry version:
Checked revision: ec142f5f
Build command: ./tools/build.py --clean --debug --profile=es2015-subset --logging=on

OS:
Ubuntu 18.04, x86_64

Test case:
--null.static ? this : [ , ] instanceof true;

Backtrace:
ICE: Assertion 'ecma_is_value_undefined (value) || ecma_is_value_null (value) || ecma_is_value_boolean (value) || ecma_is_value_number (value) || ecma_is_value_string (value) || ecma_is_value_object (value)' failed at jerryscript/jerry-core/ecma/base/ecma-helpers-value.c(ecma_check_value_type_is_spec_defined):386.
Error: ERR_FAILED_INTERNAL_ASSERTION

Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff7a24801 in __GI_abort () at abort.c:79
#2  0x000055555555f2f6 in jerry_port_fatal (code=ERR_FAILED_INTERNAL_ASSERTION) at jerryscript/jerry-port/default/default-fatal.c:71
#3  0x000055555558b684 in jerry_fatal (code=ERR_FAILED_INTERNAL_ASSERTION) at jerryscript/jerry-core/jrt/jrt-fatals.c:63
#4  0x000055555558b6d6 in jerry_assert_fail (
    assertion=0x5555555e3c78 "ecma_is_value_undefined (value) || ecma_is_value_null (value) || ecma_is_value_boolean (value) || ecma_is_value_number (value) || ecma_is_value_string (value) || ecma_is_value_object (value)", file=0x5555555e3c28 "jerryscript/jerry-core/ecma/base/ecma-helpers-value.c",
    function=0x5555555d0ac0 <__func__.3728.lto_priv.660> "ecma_check_value_type_is_spec_defined", line=386) at jerryscript/jerry-core/jrt/jrt-fatals.c:87
#5  0x00005555555b0570 in ecma_check_value_type_is_spec_defined (value=24) at jerryscript/jerry-core/ecma/base/ecma-helpers-value.c:381
#6  0x000055555559dd8c in ecma_op_to_number (value=24) at jerryscript/jerry-core/ecma/operations/ecma-conversion.c:244
#7  0x00005555555988a3 in vm_loop (frame_ctx_p=0x7fffffffdc00) at jerryscript/jerry-core/vm/vm.c:1819
#8  0x000055555559bcfe in vm_execute (frame_ctx_p=0x7fffffffdc00, arg_p=0x0, arg_list_len=0) at jerryscript/jerry-core/vm/vm.c:3428
#9  0x000055555559bfd7 in vm_run (bytecode_header_p=0x5555558f75c0 <jerry_global_heap+512>, this_binding_value=27, lex_env_p=0x5555558f73f0 <jerry_global_heap+48>, parse_opts=0, arg_list_p=0x0,
    arg_list_len=0) at jerryscript/jerry-core/vm/vm.c:3531
#10 0x00005555555958f6 in vm_run_global (bytecode_p=0x5555558f75c0 <jerry_global_heap+512>) at jerryscript/jerry-core/vm/vm.c:227
#11 0x00005555555c2595 in jerry_run (func_val=203) at jerryscript/jerry-core/api/jerry.c:544
#12 0x00005555555c0ea0 in main (argc=3, argv=0x7fffffffe038) at jerryscript/jerry-main/main-unix.c:676

Found by Fuzzinator with grammarinator.

This issue is the side effect of #2607. I'm going to fix it.

authors: renatahodovan rerobika

repo: jerryscript-project/jerryscript


text:
out_native_pointer_p in jerry_get_object_native_pointer can be NULL

In some cases, user just want to know whether the JS object has native pointer, but doesn't care what the pointer is.
JerryScript-DCO-1.0-Signed-off-by: Zidong Jiang zidong.jiang@intel.com

@zherczeg fixed


text:
[Bug]: Unable to use ESM and TypeScript alongside a JSDOM environnment

Version
29.7.0
Steps to reproduce

Clone my repo at https://github.com/Cipscis/jest-ts-esm-repro
Run npm install
Run npm run test-jsdom to replicate the error
Run npm run test-node to run the tests with a node environment, in which case they pass

Expected behavior
Tests pass regardless of whether the environment is node or jsdom, and regardless of whether or not they import external dependencies from within node_modules.
Actual behavior
Tests pass when run with a node environment.
When run in a jsdom environment, a test which imports from within preact/hooks fails with the following error:

SyntaxError: Cannot use import statement outside a module

Additional context
I don't believe there's anything unique to Preact that is contributing to this error, but it is the external dependency I was trying to include when I encountered this issue.
I've attempted various combinations of using --experimental-vm-modules or not, and using the presets provided by ts-jest vs. attempting to configure Jest manually to work with TypeScript and ESM syntax. But none of my attempts have got me any closer to having this working.
Environment
System:
    OS: Windows 10 10.0.22621
    CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
  Binaries:
    Node: 18.18.2 - C:\Program Files\nodejs\node.EXE
    npm: 9.8.1 - C:\Program Files\nodejs\npm.CMD
  npmPackages:
    jest: ^29.7.0 => 29.7.0

It sounds like export conditions cause the behaviour you see. See documentation of the testEnvironmentOptions:

jest-environment-jsdom defaults to ['browser']. jest-environment-node defaults to ['node', 'node-addons'].

Looking at the exports entry of react/hooks, it is hard to say what is the right setting. The tests are passing in both environments if I add the following to Jest config:
testEnvironmentOptions: {
  customExportConditions: ["node"],
}

Thanks for suggesting that, making that change to my config file has got me past that error just like you found. Unfortunately when I implement a more realistic test using Preact hooks I run into another error:

TypeError: Cannot read properties of undefined (reading '__H')

I'm pretty sure this is an issue with Preact rather than one with Jest, though. So I'm happy to close this issue.

Looks like the correct solution was found (we also do this in jest-preset-preact), but to give a bit more context: jsdom will pull in the "browser" export condition from a package while applying Node semantics, such as extension and module type, which is invalid as browsers do not have these same semantics.
Unfortunately, as Jest is ran in Node, this is not very solvable. It's the fundamental problem with jsdom: it's ultimately not a browser and can't be trusted to act like one.

authors: Cipscis mrazauskas rschristian

repo: jestjs/jest


text:
Preferences left-hand side window too wide

Version: 0.9.2
Platforms: All
Description
The left-hand side Preferences Widget allows the user to select the topic.  The preferences for that topic are then displayed in the right-hand side widget.  However, the left-hand side widget does not need to be so wide.  It should only be as wide as necessary to fit all of the expanded topics tree.  The wide left-hand side makes Appearance/Colors particularly annoying.
Expected Behavior
The Appearance/Colors should fit without having to resize the Preferences window.

We removed the preferences widget from 1.0.0.  This issue no longer applies.


text:
Private Azure DNS zone

Hello,
Does cert-manager support to add certificate for service under private azure DNS zone?
I applied all instructions from here,
where I replaced next line
DNS_ID=$(az network dns zone show --name $AZURE_DNS_ZONE --resource-group $AZURE_DNS_ZONE_RESOURCE_GROUP --query "id" --output tsv)
to
DNS_ID=$(az network private-dns zone show --name $AZURE_CERT_MANAGER_DNS_NAME --resource-group $AZURE_CERT_MANAGER_DNS_RESOURCE_GROUP --query "id" --output tsv)
As I applied certificate script, I got next error:
Warning  PresentError  5s (x2 over 5s)  cert-manager  Error presenting challenge: dns.RecordSetsClient#CreateOrUpdate: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="ParentResourceNotFound" Message="Can not perform requested operation on nested resource. Parent resource 'private-domain.com' not found."

Does it mean that it searches only DNS zone resource (not private)?

ACME DNS challenges need to be publicly solvable as they are checked by the issuer that you own a domain. This is why it only works with public DNS.

repo: jetstack/cert-manager


text:
Fixes ./devel/cluster/create.sh script

What this PR does / why we need it:
Explicitly passes client option to --dry-run argument when applying coredns config to test kind cluster.
Since kubectl v1.23 it is required to explicitly pass one of  client|server|none options to --dry-run (although the docs aren't explicit about that) so this script was failing with
error: --dry-run flag without a value was specified. A value must be set: "none", "server", or "client".
error: no objects passed to apply

Special notes for your reviewer:

client option is also what they use for the same in test-infra see https://github.com/kubernetes/test-infra/pull/24593/commits/9ab8781f8177fac5450de590ac0f263cf31237ca
I tried running the updated script with kubectl v1.18 and it worked
this script is only run locally, CI uses ./devel/ci-cluster.sh

NONE

Signed-off-by: irbekrm irbekrm@gmail.com

/kind cleanup


text:
Generate RBAC based on the current config

Generate RBAC based on the current config, and in such a way that the code can be shared with the backend.

More context on this one.
At

I've been working a little with Wenlin on this today and my plan was, if there was more time, to build this incrementally with TDD in stages, e.g.

GVRs in, RBAC string templated out
GVRs in, RBAC structs out
GVRs and Namespaces in, scoped rbac generated based on some list of known namespaces in the case of excluded namespaces
means of getting GVRs from loaded dynamic data gatherers.
adding a command to spit this all out.

You are correct, I was imagining that it'd be possible to supply a list of namespaces that comes from kubectl get ns if the agent were running locally using the installers credentials.
I'm thinking that the first use of this is going to be a command in the agent, and if the agent, running in that command had access to the installers creds, it could get a list of all namespaces.
We might not be able to do this when using it from the platform side, however I think it's a feature worth adding here in the agent.

authors: charlieegan3 j-fuentes tfadeyi

repo: jetstack/jetstack-secure


text:
Typo

Super interesting!
I took a quick look and found this typo so here I am :)

Thanks!

authors: jevakallio zmarouf

repo: jevakallio/redux-offline


text:
using the datepicker

I'm trying to use the JFXDatePicker, but im missing something, the year and selected date labels are missing.
The print of my project:

I'm using jfoenix-8.0.1 and jdk1.8.0_161

can you provide more details about the issue?
any exceptions in the console?
does the issue persist even without adding any css files to the scene?

No exceptions in the console and the issue remains even if i remove all css files
I'll try to replicate on a smaller project

The code that was making this on my app:
Application.setUserAgentStylesheet(Application.STYLESHEET_CASPIAN);

Well applying caspian css might cause some styling issues, I don't see a reason to use it instead of modena. Especially knowing your targeting material design since you are using JFoenix :)
Anyway I'll give it a shot and track it down.
Regards,

Thanks,
For me it's not a problem anymore.
It was a line that was left forgotten, and we don´t use it.

authors: fredericoregateiro jfoenixadmin

repo: jfoenixadmin/JFoenix


text:
Reply on email from redmine (with [Rogator IT Support - #381]) not udpate issue and goes to Error folder in mailbox.

If some client send email to our ticketsystem (4.0.1.stable) it makes new issue, all right. Client receive confirmation email with number of Issue. But if he try to reply on this mail with saving subject (number for example [Rogator IT Support - #381]) email dont goes to success folder in mailbox (goes to failed) and issue not updates. In receiver we have this configuration:
rake -f /opt/redmine/Rakefile  redmine:email:receive_imap
RAILS_ENV="production"
host=imap.mnet-online.de
port=993
username=ticket@rogator.de
password=***
ssl=SSL
project=software-support
folder=INBOX
move_on_success=INBOX.success
move_on_failure=INBOX.failed
no_permission_check=1
unknown_user=accept
priority=Hoch
So, looks like hepldesk plugin dont see issue number in subject=( I try all settings from REAMDE, but not success(

This is not a support issue tracker. If you need support you can contact our company.

authors: dimkaskv jfqd


text:
Run contextual analysis and secret detection in Docker scans

[X] The pull request is targeting the dev branch.
[X] The code has been validated to compile successfully by running go vet ./....
[X] The code has been formatted properly using go fmt ./....
[X] All static analysis checks passed.
[X] All tests have passed. If this feature is not already covered by the tests, new tests have been added.

Work in progress
Related issue #4
Depends on: https://github.com/jfrog/jfrog-cli-core/pull/1146
Description:
This PR adds support for Jfrog Advanced Security (JAS) to the jfrog cli.
The following existing command will now also check if you are entitled for jas, and will use the new improved scanner to scan docker containers too.
jfrog docker scan [container]

Also note that you can use this to get the full SARIF with line numbers and more information:
jfrog docker scan --format=sarif [container]

The following options are also supported:
table, json, simple-json and sarif

Demo of feature:

Need to add unit test and docs

TODO: merge this in too:
https://github.com/jfrog/jfrog-cli-security/pull/27

Merged in changes from https://github.com/jfrog/jfrog-cli-security/pull/27

authors: guyshe-jfrog guysoft

repo: jfrog/jfrog-cli-security


text:
Add JFROG_ACCESS_TOKEN as a optional environemnt variable

Adds JFROG_ACCESS_TOKEN environment variable per https://github.com/jfrog/terraform-provider-artifactory/issues/414
I didn't see a useful way to add a test case for this change, and one didn't exist on https://github.com/jfrog/terraform-provider-xray

have read the CLA Document and I hereby sign the CLA

recheck

No problem @chb0github - happy to help. I don't think I can address the other items, let me know if there is something more you would need from me on this PR.

LGTM, but we need to add info to CHANGELOG.md

authors: alexeiser danielmkn

repo: jfrog/terraform-provider-artifactory


text:
GH-463 missing attributes virtual npm repo

Fixes #463

Added missing attributes
Refactor schema and unpack func to reduce duplication

@chb0github ☝🏼


text:
can not unzip pretrained model?

Hi,why downloaded pretrained model can not unzip?
Can you share the pretrained model for me?

Did you try removing the .tar extension from the file name?

@FarzanaEva   Thanks.

authors: Alphonses FarzanaEva


text:
Can't compile rusqlite

Hi, I've just started a new project with rusqlite (with version "0.18.0"). However, when I try to build my project, I get the following errors:
    Updating crates.io index
  Downloaded lru-cache v0.1.2
  Downloaded libc v0.2.54
  Downloaded linked-hash-map v0.5.2
   Compiling libc v0.2.54
   Compiling num-traits v0.2.6
   Compiling num-integer v0.1.39
   Compiling pkg-config v0.3.14
   Compiling memchr v2.2.0
   Compiling linked-hash-map v0.5.2
   Compiling fallible-iterator v0.2.0
error[E0658]: use of extern prelude names introduced with `extern crate` items is unstable (see issue #55599)
  --> /home/steven/.cargo/registry/src/github.com-1ecc6299db9ec823/fallible-iterator-0.2.0/src/lib.rs:92:13
   |
92 |     pub use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};
   |             ^^^
   |
   = help: add #![feature(extern_crate_item_prelude)] to the crate attributes to enable

error[E0658]: use of extern prelude names introduced with `extern crate` items is unstable (see issue #55599)
  --> /home/steven/.cargo/registry/src/github.com-1ecc6299db9ec823/fallible-iterator-0.2.0/src/lib.rs:93:13
   |
93 |     pub use std::hash::{BuildHasher, Hash};
   |             ^^^
   |
   = help: add #![feature(extern_crate_item_prelude)] to the crate attributes to enable

error[E0658]: use of extern prelude names introduced with `extern crate` items is unstable (see issue #55599)
  --> /home/steven/.cargo/registry/src/github.com-1ecc6299db9ec823/fallible-iterator-0.2.0/src/lib.rs:94:13
   |
94 |     pub use std::prelude::v1::*;
   |             ^^^
   |
   = help: add #![feature(extern_crate_item_prelude)] to the crate attributes to enable

I have the following in my Cargo.toml:
[package]
name = "scheduler"
version = "0.1.0"
authors = ["crides <zhuhaoqing@live.cn>"]
edition = "2018"

[dependencies]
rusqlite = {version = "*", features = ["chrono"]}
chrono = "*"

Can anyone help fix this? Thanks in advance!

What is version of rustc ?
rustc --version

rustc 1.32.0-nightly (15d770400 2018-11-06)

You reminded me. No problem with 1.36.0 nightly.

authors: Crides Dushistov

repo: jgallagher/rusqlite


text:
Truncate in validation

Boy, what a day, so dive does seem to work as expected. So there is no need for our home made dip.
dive was going into the slice and validating everything as expected.
StructNamespace does seems to have out of the box what we are after. It needs some slight transformation but overall it has what we want. The next thing is to asses the impact of these changes and figure out how we can replicate this in Python.

@jgiannuzzi please already take a look at this.

Alright, this is in a good state for a next open question.
Right now, when truncate env is false, our new validator will trigger.
The next thing is too consider the error message:
For
POST http://localhost:42709/api/2.0/mlflow/runs/log-batch
Content-Type: application/json

{
    "run_id": "696306472536470c8715a51c30625ac3",
    "params": [
        {
            "key": "foo2",
            "value": "yxxxxxxxxx...xxxxxxxxxxxxxxxxxxxxy"
        }
    ]
}

Python says
{
  "error_code": "INVALID_PARAMETER_VALUE",
  "message": "Param value 'yxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' had length 6003, which exceeded length limit of 6000"
}

The exceeded length limit is something we can add on the Go side. When we add a case for "truncate" in validation.go.
Currently, there we fall back to default:
{
  "error_code": "INVALID_PARAMETER_VALUE",
  "message": "Invalid value \"yxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx for parameter 'params[0].value' supplied"
}

Notice the parameter bit is quite nice. We should change the Python code to included that.
But what message do we want for both implementations?

Alright now returning
{
  "error_code": "INVALID_PARAMETER_VALUE",
  "message": "Invalid value \"yxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...\" for parameter 'params[0].value' supplied: length 6003 exceeded length limit of 6000"
}

Alright since https://github.com/mlflow/mlflow/pull/13022 got merged this is ready for review.

repo: jgiannuzzi/mlflow-go


text:
Support utf-8 encoding for stdin on python2

Decode stdin using utf-8 in python 2, using code from: http://stackoverflow.com/questions/2467928/python-unicodeencodeerror-when-reading-from-stdin.
The existing code raises an error in python2 as sys.stdin.buffer does not exist there.

Thanks.  Have you confirmed that with this modification, pandocfilters works well with both python 2 and python 3?  That might be something to mention in the README.

Yes, I did: output of pandocfilters using either Python 2.7.10 or 3.5 is identical.
The differences between pandocfilters (used as piped command) and pandoc output are:

pandocfilters outputs escaped characters, whereas pandoc encodes the output in UTF8
the order of "t" and "c" keys in dictionaries is inverted
pandoc appends a newline to the output, whereas pandocfilters does not

When pandocfilter is used using the --filter option, there is no difference in the output.

Best,
Paolo

authors: jgm prigio

repo: jgm/pandocfilters


text:
Avoid destructive walking

I've been invoking the walk method multiple times on the same tree object, and I've realized that it destroys the tree in the process, by overwriting dictionary values. Since walk is not destructive on anything but dictionaries, I'm assuming that this is not intentional. The fix is rather tiny: create a new dictionary instead of modifying the old one.
Never imagined finding a bug like this in such a wonderfully functional project ;-)

Good, thank you. This is what happens when a functional programmer tries to write code in an imperative language!

authors: GeorchW jgm


text:
Relative VRT paths

The output VRT files have absolute paths - could this be changed to relative?

Yes, no problem. Would you want it as an option (absolute or relative)?

Personally, I would make it default, but I guess that is a matter of opinion. A flag would be more flexible, but there are already so many flags

I have added this functionality and will be closing this issue. Please upgrade both SpFeas and MpGlue to see the changes.

authors: bpstewar jgrss

repo: jgrss/spfeas


text:
No dist directory

Hey, I'd like to write some music but when I run it (npm run dev) I get an error:
[vite] Internal server error: ENOENT: no such file or directory, open 'node_modules/vue-music-notation/dist/vue-music-notation.css'       at Object.openSync (node:fs:585:3)       at Object.readFileSync (node:fs:453:35)       at Context.load (.\node_modules\@vitejs\plugin-vue\dist\index.cjs:2616:30)       at Object.load (./node_modules/vite/dist/node/chunks/dep-0fc8e132.js:35555:50)       at processTicksAndRejections (node:internal/process/task_queues:96:5)       at async loadAndTransform (./node_modules/vite/dist/node/chunks/dep-0fc8e132.js:39827:24)
Any idea how I can fix this?

Also wondering

authors: Florian-Mahlberg katerlouis

repo: jherr/vue-music-notation


text:
Adding workflow dispatch in release drafter

@pascalgrimaud Added workflow dispatch in release drafter

@Saravana-PS : thanks. Small tips: can you add fix https://github.com/jhipster/jhipster-lite/issues/7089 to your description here plz? So the ticket will be closed automatically once the PR is merged

@Saravana-PS : thanks. Small tips: can you add fix https://github.com/jhipster/jhipster-lite/issues/7089 to your description here plz? So the ticket will be closed automatically once the PR is merged

@pascalgrimaud Do you want me to add this in the pull request description or in the issue description?

In the description of the pull request, something here:

@pascalgrimaud Thanks for the valuable input as always.

authors: Saravana-PS pascalgrimaud

repo: jhipster/jhipster-lite


text:
.moves({...,verbose:true}) execution time

Hi, I have benchmarked the .moves() method with verbose set ON and it takes a huge amount of time for an only Queen on the board (~180ms). Although verbose set to OFF is quarter of time (~50ms).
Is there a way to accelerate it a little bit?
Thanks

Hi @fabthegreat. Can you please provide the FEN of the position in question?  I'm not seeing this issue.
import { Chess, DEFAULT_POSITION } from "chess.js";

const chess = new Chess();

const positions = [
  DEFAULT_POSITION,
  '7k/q7/8/8/8/8/Q7/7K w - - 0 1'
];

positions.forEach((position) => {
  chess.load(position);

  let start = performance.now();
  chess.moves({ verbose: false });
  let top = performance.now();
  console.log('NORM', position, ' :: ', stop - start + 'ms');

  start = performance.now();
  chess.moves({ verbose: true });
  stop = performance.now();
  console.log('VERB', position, ' :: ', stop - start + 'ms');
})

produces these results on a 10 year old machine
NORM rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1  ::  1.90ms
VERB rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1  ::  3.74ms
NORM 7k/q7/8/8/8/8/Q7/7K w - - 0 1  ::  2.31ms
VERB 7k/q7/8/8/8/8/Q7/7K w - - 0 1  ::  6.39ms

So finally, this was indeed the proxy that wrapped my chess object that caused the slow execution time. I fixed it somehow.

authors: fabthegreat jhlywa


text:
Preprocessing of the scATAC-seq data

Hi,
I'm repeating the third data application in the paper: align scATAC-seq with scRNA-seq data. But I can not find the preprocessing codes for the scATAC-seq data in this repository. Then I go to the tutorial website which is given in "README". It seems that the preprocessing of scATAC-seq data is done in R. Follow the tutorial and the description of data processing in the paper, I still cannot repeat the results in the paper.
Did I miss something or I misunderstood the description in the paper? If the complete codes are indeed not yet public, would you mind unloading the complete codes for the preprocessing of scATAC-seq data?

Thanks for your comments. @xwanaf
The preprocessing of scATAC-seq data is exactly the same as the workflow provided by Seurat vignette at https://satijalab.org/seurat/archive/v3.0/atacseq_integration_vignette.html.
The code for reproducing the results are also provided in our github repository jhu99/vipcca_paper.
Hopefully, these information would fix your problem.


text:
Training script for the diffusion model

Hello, thanks again for answering my previous questions!
Are you also planning to release the training script for the diffusion model? - It would be very much helpful for follow-up works.
Thanks for reading my question!

Sure, I can release it. But I am afraid I cannot do that before the CVPR deadline. Is that OK for you?

I see. Thank you for your answer!
Also, it seems like the released EgoWholeMocap dataset is a temporally downsampled version (frame number skips by 5), so the keypoints are temporally discontinuous. Do you also have plans to release the original dataset to support temporal model training by any chance?
It would be great if I can use them before CVPR, but I guess this would be quite a lot of work, so it's totally fine if you're not planning to do them in the near future. :) I can definitely find a workaround, but I was just curious.
Again, thanks for the great work!

Hello,
Note: during training of my previous work (EgoWholeMocap) I used the same dataset I released. (the temporally downsampled version).
I can generate the "full" training dataset (without down-sampling). But that dataset will be so large and will not be easy to release. I am looking into solutions. I can release it in December this year.
The training script of the diffusion model is already there.
Please first download the pre-processed whole-body motion feature(obtained from the AMASS dataset) from: https://nextcloud.mpi-klsb.mpg.de/index.php/s/DkEK8rKWwyQC3wH
Then modify the config file: configs/diffusion/diffusion_full_body_train_uncond_ego_coord.py
Best,
Jian Wang

authors: jianwang-mpi jyunlee

repo: jianwang-mpi/egowholemocap


text:
[Enhancement] Adding Mutation Testing

Hey I was thinking about adding Infection which is a PHP mutation testing framework based on AST (Abstract Syntax Tree) mutations.
Using it could help preventing bugs by having better tests.
Would this be useful for Jikan ?

Very late to this discussion as tests during v3's development were unironically not a priority for me.
Infection looks very interesting but feels overkill for Jikan (perhaps it would be useful for something with very complex data). I think it would be simpler to stick to something like #371 .
Thank you for the suggestion.

authors: Julien-Broyard irfan-dahir

repo: jikan-me/jikan


text:
create a new release to use the latest greatest origin release

currently thats v1.3.0-alpha.3 at the time of writing - minishift uses v1.3.0-alpha.1 right now
https://github.com/openshift/origin/releases

Try v0.3.4 (hopefully should autoupdate when you try minishift start)

authors: jimmidyson jstrachan

repo: jimmidyson/minishift


text:
Large articles do not properly render TOC highlight upon first load

The navigator highlighter will be active long before actually getting to the headers it's supposed to highlight.
Refresh the page, you will notice that it suddenly works 100% as expected (as in highlighting "waits" until you actually scroll to the next header). I'm guessing this has something to do with the images themselves being cached, hence affecting how the anchors are loaded.

I think you need to defer loading until you're sure the images are loaded. My guess is the plugin is calculating page positions before the images are loaded, but not recognizing the change and recalculating after. If you defer it you shouldn't have this issue.

Perhaps due to my limited knowledge of Jquery I was not able to get $(document).ready()  to work on my script. Now I know I load a lot of images in, but even if someone had a few iframes or a small gallery this would still mess with positioning for others. So perhaps this deferred method should be the default? Unless of course you are worried about people not seeing their TOC in a timely manner. However if that was the case, odds are that it was because of "too much media" which would generate the issue I'm having.

No, that's not how plugins should work. The plugin should only do what it's designed to do, and you as a developer are responsible for the architecture to support that. The other option you have is to use the available methods to update everything on dom changes -> https://github.com/jimmynotjim/scrollNav#reset-positions-on-dom-change

Loading content from  is considered a DOM change? (img tag is loaded before any scripts) I thought the tag itself is the element and the source is simply the content being loaded into it, hence no DOM change.

No, but if you do something like
$( document ).ready(function() {
    $.fn.scrollNav('resetPos');
});

It should keep the nav from being delayed while giving you the correct locations after the images have completed.

authors: JoshuaLewis jimmynotjim

repo: jimmynotjim/scrollNav


text:
Workaroud for alt+tab switch (To and From) use AutoHotKey

#215 #216
Thanks Tips by @Racer84 & @KeithTurkowski on #216
save below script as file with ext name .ahk, for example - alt_tab_fix.ahk，install autohotkey software，double click alt_tab_fix.ahk.
test on windows 10 and autohotkey 1.1.30.03
PuttyCheck()
{
Send {Alt Up}
if WinActive("ahk_exe putty.exe") ;already actived, no action needed
{
    return
}
check_i = 0
SetTimer, check, 10
check:
    check_i +=1
    if WinActive("ahk_exe putty.exe")
    {
        SetKeyDelay, 5
        Send {Alt down}{tab}{Alt up}
        SetTimer, check, Delete
    } else if check_i > 10
    {
        SetTimer, check, Delete
    }
return
}

#IfWinActive, ahk_class MultitaskingViewFrame
LAlt Up::PuttyCheck()
#IfWinActive

LAltTab()
{
SetKeyDelay, 5
Send {Alt down}{tab 2}
}

#IfWinActive ahk_exe putty.exe
LAlt & Tab::LAltTab()
#IfWinActive

@bash99 : Could you please elaborate on the advantages of your solution compared to the basic one in #216?

@bash99 : Could you please elaborate on the advantages of your solution compared to the basic one in #216?

Some times you press alt(left) + tab and hold it to show windows select frame (MultitaskingViewFrame)
the simple solution from #216 will break this.

repo: jimradford/superputty


text:
EBS policy not deleting the EBS volume after it is marked for operation.

I had used the policy of ebs unattached and added tag and marked for operation of 1 day duration.
But the policy of deleting the marked ebs is not deleting. I used the same policy.

What is the value of the "c7n_ebs_volume_delete_unattached" tag on the volume?
For example, here is the value on a volume that was recently deleted for me:  "Resource does not meet policy: delete@2018/08/14"

Closing this issue due to lack of response to the request for more information.

authors: KeerthigaKrishnan jimrazmus


text:
["LIVE!!TV"]  fame fighting 2 im live 09. November 2024

In Bonn steigt die zweite Auflage der härtesten Reality-Star-Show Deutschlands. Werft die Drehbücher in die Tonne – hier und heute wird wirklich abgerechnet.
Im Ring. Mit den Fäusten. Bis zum bitteren Ende.
Wer noch kein Ticket hat? Hier schnell einloggen.
Ab 18 Uhr startet Fame Fighting 2 – alle Infos zum Mitlesen gibt es hier im Ticker!
BILD Marktplatz: Shoppen Sie die Fighting-Shirts Ihrer Lieblingsstars.
Jetzt auch im TV! ENDLICH ist es so weit: Das Kloppe-Event des jahres – Fame Fighting 2 – ist da!
BILDplus Abonnenten, die eine virtuelle Eintrittskarte gekauft haben, können das Spektakel live von Zuhause aus verfolgen. Am PC, in der Handy-App oder jetzt NEU in der „BILD LIVE“-Smart TV-App. In bester Streaming-Qualität!
++ HINWEIS: Auf Smart TV-Geräten aus dem Baujahr 2019 oder älter kann es zu Einschränkungen beim Log-in kommen. Die Schaltfläche „Geräteverwaltung“ existiert nicht mehr, da diese Version veraltet ist. Dann bitte hier klicken: So Fame Fighting 2 trotzdem auf dem TV schauen. ++
Die Smart-TV-App von BILD ist auf verschiedenen Geräten und Betriebssystemen verfügbar, was sicherstellt, dass die Mehrheit der deutschen Haushalte das Mega-Event bequem von zu Hause schauen können. Dazu gehören unter anderem Samsung Geräte (ab Baujahr 2020), TV-Geräte mit dem Android-TV Betriebssystem (z. B. Sony), TV-Geräte von LG mit dem Betriebssystem WebOS 3.0, Metz, Medion, Panasonic, Telefunken, der FireTV-Stick, Apple TV und Google TV.

hgjghjy

repo: jina-ai/reader


text:
Extending the forecast window

Hi this is a great guide and i've managed to use it to integrate a bit of forecasting in to a BI tool i was working on so thank you.
I was just wondering if it would be at all possible to feed the result of the prediction back into itself in order to increase the forecast window a week or so.

Hi @garagevibes, of cause you can. If you think about it, all that the model cares about is the input, and it will return you the next value. If you want to get the next 7 values, the easiest way is, like you said, feed the result and predict again, like so:
[1,2,3,4] => [5]
[2,3,4,5] => [6]

Where [1,2,3,4] is your initial values, which predicts 5. Feed 5 into the input, [2,3,4,5] to get the next value.
Note that, if your data is already weekly, then the next value is also weekly.

authors: garagevibes jinglescode


text:
MSA instances from BAliBASE3.0

Need modest size instances for experiments.
Name, walltime (sec)
BBS12016 120
BBS11010 80
BB11021 8

BBS11035.tfa 380

BBS11010 18
BBS11024 116
BBS11035 22
BB11009 320
BB11024 451


text:
Gmail not sending emails

When I try to test sending from Gmail - nothing happens, it just hangs.... waiting for localhost....
Did you test it on your end?

I am testing your package to replace a monitoring package that does not support https websites.  I like the response time graphs - they should help me tune timeouts so that I detect slow website performance as well as website outages.
I am having problems configuring both a custom mail server (provided by pair.com) and Gmail.  If I specify port 465, the Test button hangs on both mail gateways, the same as pgamaster describes.
Using port 587 on pair.com results in "org.springframework.mail.MailSendException: Failed messages: javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 : Client host rejected: Access denied".
Using port 587 on Gmail results in "org.springframework.mail.MailSendException: Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. "
Thanks, Norbert

repo: jirkapinkas/sitemonitoring-production


text:
Docker image improvement

Currently, @jitsucom/server and @jitsucom/configurator requires to have configuration files. That's not always convenient, especially with modern deployed tools. Users should have an option to configure those images via env variables as well (we already have it in @jitsucom/server). Let's reuse configurator.yaml and eventnative.yml templates
Also, let's improve configuration:

Main Page should explain architecture with a picture
Deploy with Docker should have sub-pages: Compose, Single Image, Separate Image

Another improvement might be eliminating the need of making multiple logs directory. Instead of:
docker run -p <local_port>:8000 \
  -e REDIS_URL=<redis_url> \
  -e UI_AUTH_ACCESS_SECRET=<your_generated_access_secret> \
  -e UI_AUTH_REFRESH_SECRET=<your_generated_refresh_secret> \
  -v /<server_log_dir>/:/home/eventnative/data/logs/ \
  -v /<configurator_log_dir>/:/home/configurator/data/logs/ \
  jitsucom/jitsu:latest

It should be possible to do
docker run -p <local_port>:8000 \
  -e REDIS_URL=<redis_url> \
  -e UI_AUTH_ACCESS_SECRET=<your_generated_access_secret> \
  -e UI_AUTH_REFRESH_SECRET=<your_generated_refresh_secret> \
  -v /logs_dir/:/home/jitsu/logs \
jitsucom/jitsu:latest

repo: jitsucom/jitsu


text:
appconfig/version: fix default selection

I noticed that jitsu/server was using more CPU than usual.
After investigating a bit, I saw that "VersionReminder" was running a for-select with a "default" case.

thank you @ezradiniz

authors: ezradiniz xtreding


text:
Error decoding '/etc/consul.conf': invalid character ']' looking for beginning of value

looks like something is wrong with the logic here: https://github.com/jivesoftware/ansible-consul/blob/master/templates/consul.json.j2#L6
consul_servers: ['10.0.0.9', '10.0.1.6', '10.0.0.5'] results in this in the conf:
 "start_join": ["10.0.0.9", "10.0.1.6", ],
which results in the error.

it seems to only happen on the server that is last in the list. The other 2 are fine.

Quick patch:
eric@iMac-Eric /V/D/W/s/a/c/r/ansible-consul> git diff templates/consul.json.j2
diff --git a/templates/consul.json.j2 b/templates/consul.json.j2
index 84de291..d8df6a2 100644
--- a/templates/consul.json.j2
+++ b/templates/consul.json.j2
@@ -3,7 +3,7 @@
   "ui_dir": "{{ consul_ui_dir }}",
 {% endif %}
 {% if consul_join_at_start is defined and consul_join_at_start %}
-  "start_join": [{% for host in consul_servers %}{% if host not in ansible_all_ipv4_addresses %}"{{host}}"{% if not loop.last %}, {% endif %}{% endif %}{% endfor %}],
+  "start_join": [{% for host in consul_servers %}"{{host}}"{% if not loop.last %}, {% endif %}{% endfor %}],
 {% endif %}
 {% if consul_disable_remote_exec is defined %}
   "disable_remote_exec": {{ "true" if consul_disable_remote_exec else "false" }},
eric@iMac-Eric /V/D/W/s/a/c/r/ansible-consul>

Fixes this particular issue

merging spree! thanks @savagegus :smile:

👍
On Thu, Jan 14, 2016 at 1:58 PM, Marcus Morris notifications@github.com
wrote:

merging spree! thanks @savagegus https://github.com/savagegus [image:
:smile:]
—
Reply to this email directly or view it on GitHub
https://github.com/savagegus/ansible-consul/issues/88#issuecomment-171794567
.

authors: MrMMorris echupriyanov savagegus

repo: jivesoftware/ansible-consul


text:
Namespace qualification in doc isn't supported

Although you commonly see unqualified names, this is actually because doc is often in a file at the top-level namespace or exclusively uses aliases. Qualification is actually allowed by both PSR-5 and phpDocumentor, and without qualification you're referring to either an alias or something in the local namespace.
In other words, it's exactly the same as PHP's own resolution rules.

Superseded by #57

Now implemented.


text:
GStreamer: unable to start pipeline!

I read your blog"How to Capture and Display Camera Video with Python on Jetson TX2"
run command error!
"python3 tegra-cam.py --usb --vid 1 --width 1280 --height 720"
Called with args:
Namespace(image_height=720, image_width=1280, rtsp_latency=200, rtsp_uri=None, use_rtsp=False, use_usb=True, video_dev=1)
OpenCV version: 3.4.0
OpenCV Error: Unspecified error (GStreamer: unable to start pipeline
) in cvCaptureFromCAM_GStreamer, file /home/nvidia/src/opencv-3.4.0/modules/videoio/src/cap_gstreamer.cpp, line 890
VIDEOIO(cvCreateCapture_GStreamer (CV_CAP_GSTREAMER_FILE, filename)): raised OpenCV exception:
/home/nvidia/src/opencv-3.4.0/modules/videoio/src/cap_gstreamer.cpp:890: error: (-2) GStreamer: unable to start pipeline
in function cvCaptureFromCAM_GStreamer
Failed to open camera!

Maybe GStreamer's v4l2src does not work for the USB webcam you're using.  Please try if replace open_cam_usb() function with the following works.
def open_cam_usb(dev, width, height):
    return cv2.VideoCapture(dev)

Maybe GStreamer's v4l2src does not work for the USB webcam you're using. Please try if replace open_cam_usb() function with the following works.
def open_cam_usb(dev, width, height):
    return cv2.VideoCapture(dev)

thank you replay, you suggestion works!

I read your github repository 'tf_trt_models'.  I want to transform the mobilenet_v1_yolo_v3 tensorflow model, but it need a mobilenet_v1_yolo_v3_egohands.config. I don't know how to write this file.
What should I do?
I feel that it is not easy to accelerate the YOLOv3  tensorflow model with tensorRT. I'm going to try caffe on Jetson TX2。Your blog has helped me a lot。Thank you very much!

I think you need to train your own 'mobilenet_v1_yolo_v3_egohands.config' model.  You could refer to my Training a Hand Detector with TensorFlow Object Detection API blog post.  I demonstrated how to train SSD and Faster RCNN models there.
Since this question is not directly related to 'tensorrt_demos', I'd appreciate it if you post further comments/questions in the more proper places, e.g. Disqus forum on my blog post or my GitHub hand-detection-tutorial repository.


text:
New slugs should start off with a suggested slug

all lower case, no punctuation, dashes for spaces.
Remove stop words.

As in, when you hit the 'add slug' button, the prompt should start out with a default pre-filled

repo: jkomoros/card-web


text:
Templating svg.

Hi, could you tell me how I can create svg without height, width and id in my template?
My config:
$.svgSprite({
  svg: {
    xmlDeclaration: false,
    doctypeDeclaration: false,
    namespaceIDs: true,
    namespaceClassnames: false,
    dimensionAttributes: false
  },
  mode: {
    view: {
      dest: process.cwd(),
      render: {
        styl: {
          dest: './_src/styles/components/!generate-svg.styl',
          template: './core/templates/generate-svg.styl'
        },
        pug: {
          dest: '_src/pages/templates/!generate-svg.pug',
          template: './core/templates/generate-svg.pug'
        }
      }
    }
  }
})

My template:
- var SVGSViewBoxSize = [];
- SVGContent = [];

{{#shapes}}
- SVGSViewBoxSize['{{name}}'] = '0 0 {{width.outer}} {{height.outer}}'
- SVGContent['{{name}}'] = '{{{svg}}}'
{{/shapes}}

My result:
- var SVGSViewBoxSize = [];
- SVGContent = [];

- SVGSViewBoxSize['example-sprite'] = '0 0 26 32'
- SVGContent['example-sprite'] = '<svg viewBox="0 0 26 32" width="26" height="32" x="69" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M16.999 0h-.001v7.006a2 2 0 0 0 1.997 1.997H26v20.994A2.002 2.002 0 0 1 24 32H2a2 2 0 0 1-2-1.998V1.998C0 .896.901 0 2 0h14.999zm1.999.66c.155.105.297.22.419.343l5.58 5.58c.123.123.239.265.345.42h-6.347c.002 0 .003-4.6.003-6.343z"/><path fill="#FFF" d="M6.179 24.22h.398c.373 0 .651-.074.836-.221.185-.147.277-.361.277-.643 0-.283-.077-.493-.232-.628-.155-.136-.398-.204-.729-.204h-.55v1.696zm2.734-.907c0 .615-.192 1.085-.576 1.41-.384.326-.93.489-1.639.489h-.52v2.031h-1.21v-5.71h1.824c.693 0 1.22.148 1.58.446.36.299.541.743.541 1.334zm5.816 1.02c0 .94-.267 1.66-.802 2.16-.535.5-1.308.75-2.319.75H9.991v-5.71h1.793c.932 0 1.656.245 2.172.738.516.492.773 1.18.773 2.062zm-1.257.031c0-1.226-.542-1.84-1.625-1.84h-.645v3.72h.52c1.166 0 1.75-.627 1.75-1.88zm3.632 2.88h-1.19v-5.712h3.273v.992h-2.083v1.473h1.938v.988h-1.938v2.258z"/></svg>'

What I want:
- var SVGSViewBoxSize = [];
- SVGContent = [];

- SVGSViewBoxSize['example-sprite'] = '0 0 26 32'
- SVGContent['example-sprite'] = '<svg viewBox="0 0 26 32" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M16.999 0h-.001v7.006a2 2 0 0 0 1.997 1.997H26v20.994A2.002 2.002 0 0 1 24 32H2a2 2 0 0 1-2-1.998V1.998C0 .896.901 0 2 0h14.999zm1.999.66c.155.105.297.22.419.343l5.58 5.58c.123.123.239.265.345.42h-6.347c.002 0 .003-4.6.003-6.343z"/><path fill="#FFF" d="M6.179 24.22h.398c.373 0 .651-.074.836-.221.185-.147.277-.361.277-.643 0-.283-.077-.493-.232-.628-.155-.136-.398-.204-.729-.204h-.55v1.696zm2.734-.907c0 .615-.192 1.085-.576 1.41-.384.326-.93.489-1.639.489h-.52v2.031h-1.21v-5.71h1.824c.693 0 1.22.148 1.58.446.36.299.541.743.541 1.334zm5.816 1.02c0 .94-.267 1.66-.802 2.16-.535.5-1.308.75-2.319.75H9.991v-5.71h1.793c.932 0 1.656.245 2.172.738.516.492.773 1.18.773 2.062zm-1.257.031c0-1.226-.542-1.84-1.625-1.84h-.645v3.72h.52c1.166 0 1.75-.627 1.75-1.88zm3.632 2.88h-1.19v-5.712h3.273v.992h-2.083v1.473h1.938v.988h-1.938v2.258z"/></svg>'

@t-shad First of all: sorry for the late reply! Furthermore, I'm sorry but I don't seem to know the templating language you're using (pug?) so I'm afraid I cannot give you support for this. On the other hand, I don't think you'll be able to alter the SVG source code in your templates — this will be way too late. You might, however, be able to leverage the SVGO plugin configuration to remove some attributes before the templating phase. Maybe see #249 for some inspiration.

authors: jkphl t-shad

repo: jkphl/svg-sprite


text:
Problem when dimensions are not rounded properly

I noticed the problem by adding precision 0 to the shape.dimension. The values were not rounded in the stylesheet. Then I looked around and it appeared that when the values are coming from the bounding box or from phantomjs they are not rounded at all.
When loading the style into chrome I had issues with some svgs which were slightly taller. I get that the svgs should never have a width/height with decimals precision, but the plugin should also handle that.

What's up with that build by the way? How can I fix the build? I only changed that file, nothing else

@nikini Thanks for the PR. It's most likely not your fault that the build is failing at the moment. There have been some issues with GitHub & Travis during the last couple of days (as far as I have heard), and also I'm about updating some problematic dependencies. Don't worry. I'll take care of your PR as soon as I finished the updates.

When can you merge?

@nikini I'm sorry but

I'm on holidays right now and don't have access to my dev environment,
tests are failing at the moment because some dependencies need to be updated which makes some major rework necessary and
I totally lack the time for working on side projects like this at the moment.
I'm sorry but I can't predict right now when I'll find the time to get this out of the door.

Any news on this?

No news, sorry. I won't be able to work on side projects like this one until end of April. Please feel free to provide PRs that fully integrate the new dependency versions.

authors: jkphl nikini


text:
ng2-datepicker not working in IE11

Demo is working fine on IE 11 but after implementation it is not showing calendar on IE 11, working fine on crome.

Hi, I still need to refactor the whole component which I will do somewhere in the next week.

Thanks for the quick response, component is working good, I am using it with angular-cli, Is there any work around for IE 11 fix?

Can you paste me the output of console? Currently I don't have any access to IE so I cannot check it.

I got the issue, it was because of page css which is creating a problem. Thanks a lot for your support. working good on IE 11 as well.

Encountering error in IE11:

How can i fix this problem? any help? thank you

authors: NitinTiwari1010 jkuri knottydon


text:
renaming file

Hi, is there a way to rename a file before the upload?
My problem is that the server does not accept files with spaces in between them. Have tried changing the output.file.name when files are added in 'addedToQueue' but it still sends them as a space in output.nativeFile.name.

instead i used split to determine the number of space and stop the emit

repo: jkuri/ngx-uploader


text:
Add support for SASL/SCRAM

Hi,
Do you intend to implement SASL_SSL (particularly SASL_SCRAM) connectivity ?
Thanks.

Hi
I'd like to support SASL_SSL. The extension is based on https://github.com/SOHU-Co/kafka-node, which currently only supports the PLAIN mechanism. I am a contributor and could look into SCRAM when possible, but for now PLAIN is the more likely one to be supported.
I'll see if I can get it in for next version in the next few weeks.

Would love SASL_SCRAM...

But thank you very much

@winter98 0.7.0 was just pushed which adds SASL/PLAIN. I'll keep this open and track of it and put in SCRAM when it becomes available in dependencies.

Thanks, appreciate it.

SASL/SCRAM should be doable (as well as OAUTHBEARER) once the extension uses kafkajs (see #10)  : https://kafka.js.org/docs/configuration#a-name-sasl-a-sasl

@angelozerr if you want to test SASL/SCRAM auth, you can create a free account on https://www.cloudkarafka.com/plans.html

@angelozerr if you want to test SASL/SCRAM auth, you can create a free account on https://www.cloudkarafka.com/plans.html

I did a really quick'n dirty test to implement SASL/SCRAM

and it worked (tested against a https://www.cloudkarafka.com/ cluster) :

Unfortunately, I can't seem to be able to produce records on that cloudkarafka topic (Error: Not authorized to access topics: [Topic authorization failed]). I don't know whether it's something I missed in my changes or if it's some sort of cluster limitation)

I did a really quick'n dirty test to implement SASL/SCRAM

and it worked (tested against a https://www.cloudkarafka.com/ cluster) :

Unfortunately, I can't seem to be able to produce records on that cloudkarafka topic (Error: Not authorized to access topics: [Topic authorization failed]). I don't know whether it's something I missed in my changes or if it's some sort of cluster limitation)

Anyone interested in seeing SCRAM support, can test PR #67.
Please download the vscode-kafka 0.11.0 build for that PR and follow these instructions to install the vsix file in vscode. Feedback is most welcome!

Anyone interested in seeing SCRAM support, can test PR #67.
Please download the vscode-kafka 0.11.0 build for that PR and follow these instructions to install the vsix file in vscode. Feedback is most welcome!

authors: fbricon jlandersen rsun-thoughtworks winter98

repo: jlandersen/vscode-kafka


text:
Please add a way to format sources without semicolons

Semicolons are excess in JavaScipt sources

I agree that semicolons should be optional. Your tool is very nice, but currently we can't use it cos our style guides forbid semicolons.
Your tool adds to much stuff, and it is hard to diff commits, after your tool ads semicolons everywhere.

+1
Optional semicolons are a must for me. Your tool formats code really nicely otherwise.

This issue is a duplicate of #12. We won't be actively working on this feature, but if someone came up with a reasonable prototype/solution, we might work on adding this into Prettier.

Yes, please see the resolution at #12. You can freely code without semicolons but we will add them for consistently. It's not a simple matter of removing them because there are cases where we need to specially detect when to add them and it makes formatting harder.
This is an opinion that for now we are not going to change, much like standard will never have the option to add semicolons. Really, in the end, it doesn't matter at all and the fact that prettier will add them for you removes any annoyances you have in writing them.

for me it's not as much about writing the semicolons as reading them, but i'm one of those guys that liked coffeescript too, so take that fwiw ;)

authors: JustFly1984 alphara demoneaux jlongster tony-kerz viktorbezdek

repo: jlongster/prettier