text:
SWIFT 2.3 ios compatibility

Hi,
why presenter 0.2.0 is not compatible with ios 8 ?

is there any branch supporting Swift2.3 ?

yes 0.2.0 but it supports > ios 9 ... I dont know why it dont support ios 8 too

0.2.0 should support iOS 8 & Swift 2.3.
I'll fix the 0.2.0 podspec's as soon as possible.

Version 0.2.1 should be working with Coocapods. Disregard version 0.2.0.
It's the same code, just updated the Podspec to support iOS 8.0 and onward.
Let me know if you have any problems with it.

Updating to 0.2.1 gives compiler errors on swift 2.3.

Are you sure you are in a Swift 2.3 project?
Because those errors are because in Swift 2.3 there are some small changes to the SDK. Some of them being that those delegate parameters are no longer optional.
Maybe 0.2.0/0.2.1 should be Swift 2.3 & iOS 9 onwards.
Let me look into it.

Just cross checked and realised its swift v2.2. Sorry! By the way which version you will recommend then?

Awesome! Was scared for a bit 😆
Mmmm between 0.2.0 & 0.2.1 it's the same source code. The only difference is that 0.2.0 has a minimum target of iOS 9.0 on cocoapods and 0.2.1 has the minimum of iOS 8.0.
But what I really recommend is using Presentr v1.0.0, which is Swift 3.0 & iOS 9.0 onwards, as it's the only version that will be maintained onwards. But I realize that not everyone can make the switch to Swift 3.0 that quickly.
Thanks for using Presentr! Let me know if everything works out with version 0.2.1 and Swift 2.3, so I can close the issue for now.

Thank You, 0.2.1 is working with swift 2.3 on ios>=8

authors: danlozano kidsid-Ixigo sam961 writeincodes

repo: IcaliaLabs/Presentr


text:
Container linking

When using the MCEq stage with container linking weird shape differences appear when events are cut to their output reco binning range, as shown by @atrettin:

This is not the case without linking or in events mode.

One thing to try:
when accessing items in a linked container, keep track of all items in a list
when unlinking, copy all contents

Turnes out to be a problem in how fluxes were applied. They were applied to linked containers and hence not to the right fluxes

Turnes out to be a problem in how fluxes were applied. They were applied to linked containers and hence not to the right fluxes

Could you elaborate on that? It seemed to me like the way it was done should be correct, where did the logic go wrong?

I believe here: https://github.com/IceCubeOpenSource/pisa/blob/master/pisa/stages/flux/pi_mceq_barr_red.py#L429
It is applied to the flux in linked mode, however they can have different fluxes for different flavours, if the output from the flux stage is applied in events mode.
I think this problem will naturally disappear in pisa4 🤞

source: gharchive/issue

authors: atrettin philippeller

repo: IceCubeOpenSource/pisa

license_type: permissive

license_source: github-api


text:
IdentityManager ApiController Usage via AJAX

Hi,
I currently have a solution that uses one Identity login to access both my main web application and IdentityManager.  I want to access IdentityManager's API through AJAX calls made within my client-side JavaScript when I am in my main application.  Is there a way I can get/request an AntiForgeryToken in this situation so that I may pass it along to the API controller without getting an 'unauthorized' error?

No, you need an access token. This is a scenario that I think technically could be supported, but I've not tried wiring it up -- there's an ExternalBearerTokenConfiguration security config class that's what you'd use. But I've not fully tested or fleshed that out. It might work if you turn all the knobs the right way.
I'll leave this issue open as a reminder for myself to build a sample to ensure it's possible.

Okay, thank you for taking the time to answer.  I will go ahead and try to figure out a workaround.

authors: bqduong brockallen

repo: IdentityManager/IdentityManager

license_source: bigquery


text:
Allow programmatic access to APIs to users

What is the correct way to provide users with programmatic access to APIs?
I have an application composed of many services (all trusted services, within the same domain, not external applications), and identity service in the same domain.
I would like to allow a user to user a set of credentials to gain access to any of the APIs I provide.
Is it reasonable to think of a user as a client in this case, and use clientCredentials flow to get a token that will be passed to the target API? specifically, is it a good idea automatically assign a clientId and a clientSecret to every user in my system, and allow all users to use clientCredentials flow to request an access token? the access token would then contain all user's claims. If this is a reasonable approach, is there any way to remove the "client_" prefix from the added claims? or is that a bad idea?

use Kerberos, that's what it is designed for

@TomCJones I would rather not.

This seems to be a general question about IdentityServer - not a bug report or an issue.
Please use one of the our free or commercial support options
See here for more details.
Thanks!

authors: TomCJones brockallen hnafar


text:
Setting user specific access token lifetime

I am having my identity server running with multiple clients and having different access-token lifetime per client.. which works perfectly, I would like to know how it is possible to have tokens generated on different lifetime span based on user preference
I have added a sample client here
new Client
                {
                    ClientId = "Id",
                    ClientName = "Name",
                    Flow = Flows.ResourceOwner,
                    ClientSecrets = new List<Secret>()
                    {
                        new Secret("secret".Sha256())
                    },
                    AllowAccessToAllScopes = true,
                    AccessTokenLifetime = 31536000,
                    AccessTokenType = AccessTokenType.Reference
                }

thanks

You could have a custom authorize/token request validator that changes the AccessTokenLifetime on the ValidatedRequest.

Okay thanks

@sharfanfq can you help me out on this, how you figure this out. having same problem statement

authors: Mubeen07 brockallen sharfanfq


text:
Edge Not Saving Cookies From Signin-Oidc

Issue / Steps to reproduce the problem
We have an Identity Server 4 implementation and our front end application on different subdomains of the same domain (e.g. identity.somedomain.com and sales.somedomain.com).
In Chrome and Firefox, we are able to login just fine without issues.  The Authorize middleware redirects us to identity when we first reach the site, it allows us to login, redirects us back to sales, and then it succesfully authorizes and loads the page that is behind the authorize tag.
In Edge and IE11, however, it will get in a redirect loop which Edge/IE11 detects and kills.  After login, it will navigate to sales, then authorize fails and it tries to renavigate to identity, which would see it's already authorized and redirect back to sales.
I pulled the network traffic, particularly focusing on the cookies because that's a likely suspect, and found that when the redirect reaches sales/signin-oidc:
IE:

Posts to sales/signin-oidc which responds with the authorize cookies I expect.
Gets to sales/signin-oidc with no cookies which returns a 500 (not sure why it does this)
Gets to sales, with no cookies, responds with a redirect to identity

Chrome:

Posts to sales/signin-oidc which responds with the authorize cookies I expect
Gets to sales, with the cookies, responds with the site

Edge noticeably does two things: does not set the cookies that the signin-oidc responded with, and makes an additional get call to signin-oidc.
The only major difference I see is that the chrome cookies have a samesite=lax; on them that the edge log does not have.
What I think is happening is something is preventing edge from saving the cookies.  However, I'm at a loss for what to even look for.
Logs attached.  Please let me know what other information would be useful.  This cannot be replicated locally, only on our servers (seems like edge "trusts" the cookies if they both come from localhost)
Versions:
.Net Core 2.1
IdentityServer4.AspNetIdentity 2.3.0
IdentityServer4.EntityFramework 2.3.2
Microsoft.AspNetCore.App 2.1.8
Relevant parts of the log file
Attached (looks like the upload ate the formatting, sorry :( )
chrome.txt
edge.txt

Perhaps relevant: https://brockallen.com/2019/01/11/same-site-cookies-asp-net-core-and-external-authentication-providers/

authors: brockallen dresdor


text:
Wrong output data returned by CiCheckSignedFile in Windows 7 7601 x64

Hello, first of all thanks for this awesome research, I'm trying to test this project at Windows 7 7601 x64 using notepad++.exe from folder ExecutablesForTesting, CiCheckSignedFile returns STATUS_SUCCESS but the problem is with policyInfo returned by CiCheckSignedFile, it's wrong, when i open notepad++.exe from ExecutablesForTesting folder it always fail in range check inside parsePolicyInfo function, it seems like that ptrToCertChainMembers is invalid, how fix it?

Thank you for your kind words.
As mentioned in the article, these structs have changed significantly along Windows versions:

Both PolicyInfo and CertChainInfo structures begin with the size of the struct. Since these structs were expanded across OS versions, you must check this size before attempting to access the other struct members.

Many of the struct members we mentioned in the article did not exist on earlier Windows versions. Unfortunately, we did not have time to map the exact struct for each windows version. We encourage you to add upon what we've done :)

authors: Ido-Moshe-Github elchv

repo: Ido-Moshe-Github/CiDllDemo

license: MIT


text:
Using the 'moveMove' option causes click events to be fired when scrolling

TLDR: If dragged the scrollview should consume/destroy the click event to make sure that the onClick handler of the renderable that was dragged is not activated.
You should set a threshold, as most people will move the mouse a few pixels between press and release (while still being a click), so I'd suggest the following:
If the user drags the mouse to scroll and scrolls at least 1 index, the onClick handler should not be activated.
Original issue on Famous: https://github.com/Famous/famous/issues/211

This one is proving tricky. I will try to solve it when I get some new inspiration.

authors: IjzerenHein StephanBijzitter

repo: IjzerenHein/famous-flex

license: mit


text:
Tidak bisa untuk ambil list universitas

saya sudah coba menggunakan sesuai readme seperti ini
from pddiktipy import api
from pprint import pprint as p
a = api()

# p(a.search_all('ilham riski'))
result = a.search_pt('Unika')
print(result)

Hasil yang saya dapat :
Error fetching data: Expecting value: line 1 column 1 (char 0)
None```

Seperitinya api sudah tidak dapat digunakan karena pddikti sudah mengantinya ke https://api-pddikti.kemdiktisaintek.go.id

pake punya gw aja bg. ini reponya: https://github.com/ridwaanhall/api-pddikti ini url api docs: https://api-pddikti.vercel.app/

Halo mas, mohon izin untuk pin alternatif apinya
saya cek endpointnya sudah berubah ya dan sekarang butuh api key, cara dapat api keynya dari mana mas?
apakah request ke pddikti?

authors: EndyPratama IlhamriSKY

repo: IlhamriSKY/PDDIKTI-kemdikbud-API


text:
Training the generator twice as much

I noticed in your code that you are training the generator twice in every train step and the discriminator just once (I think).
If this is the case, did you achieve a noticeable improvement by training in this manner compared to training both networks once?

@karoly-hars The problem we were trying to address was that the discriminator is learning much faster than the generator. At the time, the only solution was to either slow than the discriminator's learning rate or train generator twice as much. It does not necessarily improve the result, but rather stabilize the training!
However, I suggest the following recent papers for both stability and improvement:

Spectral Normalization for Generative Adversarial Networks
Self-Attention Generative Adversarial Networks
Geometric GAN

Thanks for the clarification. I am already experimenting with spectral norm with promising results.

authors: karoly-hars knazeri

repo: ImagingLab/Colorizing-with-GANs


text:
Broken image tag in README.md

Currently the Imperial logo doesn't show up.
It's only a small thing, but first impressions count for users :wink:

This resulted from the move of the source directory into docs to isolate the doc build process.

authors: alexdewar davidorme


text:
next_available_network

Below is the error msg when i try using next_availabe_network
from python cmd:
ip = iba_api.get_next_available_network('172.16.1.0','30')
print ip
Output:
Can not find requested number of networks
from API:
https://192.168.10.150/wapi/v1.6/networkcontainer/ZG5zLm5ldHdvcmtfY29udGFpbmVyJDE3Mi4xNi4xLjAvMjQvMA:172.16.1.0/24/default?_function=next_available_network&cidr=30
response:
{
"Error": "AdmConProtoError: Function next_available_network illegal with this method",
"code": "Client.Ibap.Proto",
"text": "Function next_available_network illegal with this method"
}
Below are the network available in 172.16.1.0/24 network
[u'172.16.1.0/30', u'172.16.1.4/30', u'172.16.1.8/30', u'172.16.1.12/30', u'172.16.1.16/30', u'172.16.1.20/30', u'172.16.1.24/30', u'172.16.1.28/30', u'172.16.1.32/30', u'172.16.1.36/30', u'172.16.1.40/30', u'172.16.1.44/30', u'172.16.1.48/30', u'172.16.1.52/30', u'172.16.1.56/30', u'172.16.1.60/30', u'172.16.1.64/30', u'172.16.1.68/30', u'172.16.1.72/30', u'172.16.1.76/30', u'172.16.1.80/30', u'172.16.1.84/30', u'172.16.1.88/30', u'172.16.1.92/30', u'172.16.1.96/30', u'172.16.1.100/30', u'172.16.1.104/30', u'172.16.1.108/30', u'172.16.1.112/30', u'172.16.1.116/30', u'172.16.1.120/30', u'172.16.1.124/30', u'172.16.1.128/30', u'172.16.1.132/30', u'172.16.1.136/30', u'172.16.1.140/30', u'172.16.1.144/30', u'172.16.1.148/30', u'172.16.1.152/30', u'172.16.1.156/30', u'172.16.1.160/30', u'172.16.1.164/30', u'172.16.1.168/30', u'172.16.1.172/30', u'172.16.1.176/30', u'172.16.1.180/30', u'172.16.1.184/30', u'172.16.1.188/30', u'172.16.1.192/30', u'172.16.1.196/30', u'172.16.1.200/30', u'172.16.1.204/30', u'172.16.1.208/30', u'172.16.1.212/30', u'172.16.1.216/30', u'172.16.1.220/30', u'172.16.1.224/30', u'172.16.1.228/30', u'172.16.1.232/30', u'172.16.1.236/30', u'172.16.1.240/30', u'172.16.1.244/30', u'172.16.1.248/30', u'172.16.1.252/30']

First param should also be CIDR, so use '172.16.1.0/24'. If you're looking for a /30 network, then 2nd param is as you wrote, '30'. Should work.

@jauling
I dont think there is problem with code, but the parameter that i am passing is having issues.
"Can not find requested number of networks" -- I dont know what does it mean.
is possible to give me an share example. I am trying to get the next available /30 network in /24 network container. Is it possible to do it ?.

I never said there was a problem with the code. I told you the first parameter should be CIDR! You are not passing correct parameters!
Do this, this will work:
ip = iba_api.get_next_available_network('172.16.1.0/24','30')
print ip


text:
Couldn't find Materialize object on window

I've installed angular2-materialize as per the read me, but I'm getting an error regarding the Materialize object.
Couldn't find Materialize object on window. It is created by the materialize-css library. Please import materialize-css before importing angular2-materialize.
Anyone run into this before?

The materialize js file is missing.
In your index.html:
<script type="text/javascript" src="vendor/materialize-css/dist/js/materialize.min.js"></script>

@numerick thanks heaps for picking this one up. I'll close this issue now.
If any of you two think the documentation is lacking I'd love for a PR to fix what's missing. Cheers.

Well, in may case, I close Atom IDE and restart the server (ng serve) again and working to me, I do not know why....

GET http://localhost:4200/node_modules/materialize-css/dist/css/materialize.css
localhost/:12 GET http://localhost:4200/node_modules/jquery/dist/jquery.js
localhost/:13 GET http://localhost:4200/node_modules/hammerjs/hammer.js
localhost/:14 GET http://localhost:4200/node_modules/materialize-css/dist/js/materialize.js
index.js:4 Uncaught Error: Couldn't find Materialize object on window. It is created by the materialize-css library. Please import materialize-css before importing angular2-materialize.
at Object.../../../../angular2-materialize/dist/index.js (index.js:4)
at webpack_require (bootstrap 0890751…:54)
at Object.../../../../../src/app/app.module.ts (app.component.ts:8)
at webpack_require (bootstrap 0890751…:54)
at Object.../../../../../src/main.ts (environment.ts:8)
at webpack_require (bootstrap 0890751…:54)
at Object.2 (main.ts:11)
at webpack_require (bootstrap 0890751…:54)
at webpackJsonpCallback (bootstrap 0890751…:25)
at main.bundle.js:1
any one resolve the issue?

restart the web server

Estoy instalando materialize y me da este error
Uncaught Error: Couldn't find Materialize object on window. It is created by the materialize-css library. Please import materialize-css before importing angular2-materialize.
at eval (webpack-internal:///./node_modules/angular2-materialize/dist/index.js:10)

Este es mi angular cli
"styles": [
"../node_modules/materialize-css/dist/css/materialize.css",
"../node_modules/materialize-css/dist/css/materialize.min.css",
"styles.css"
],
"scripts": [
"../node_modules/jquery/dist/jquery.js",
"../node_modules/hammerjs/hammer.js",
"../node_modules/materialize-css/dist/js/materialize.js",
"../node_modules/materialize-css/dist/js/materialize.min.js"

TRY IT
        "styles": [
          "src/styles.css",
          "./node_modules/materialize-css/dist/css/materialize.css"
        ],
        "scripts": [
          "./node_modules/jquery/dist/jquery.js",
          "./node_modules/hammerjs/hammer.js",
          "./node_modules/materialize-css/dist/js/materialize.js"
        ]

warning for relative route...
and in your angular.json file ... put it in "build" zone...   its possible get a mistake put in "test" zone.

TRY IT
In app.module.css: Remove the MaterializeModule in Imports. Remove import { MaterializeModule } from 'angular2-materialize';

Hello thanks
I fix

i used materialize-css v0.100.2 and worked fine

TRY IT
In app.module.css: Remove the MaterializeModule in Imports. Remove import { MaterializeModule } from 'angular2-materialize';

Wolud you mind to tell why? Because angular2-materialize wizard tells to put it.....

authors: GnRSlash davidpestana dazziola djamajo eduardodataa faisal-web numerick rafaelzuckerberg rubyboy surribasg wasHereD


text:
Do you recommend any kind of cloud service/render farm?

Hi,
Great piece of work! I'm considering to use it for a personalised video service.
Due to seasonal high load (not whole year), I was wondering if you would recommend some kind of scaleable cloud service or render farm? For example something from Amazon AWS? Do you have experience with such a setup?
I'm asking because I want to minimize the work required for setting up and maintaining servers. :)
Thanks!

Hello,
Thank you!)
Yea, i guess AWS might be a best choice. However, considering a fact that you need to have either macos or windows for the actual after effects that might be a pricy, you know )
But yea, AWS is a best one i know, and can recommend.
And yet, i still "urge" you to maybe research a bit more. Maybe there will be something even much more simpler, and cost less.
If you find something interesting, please share it back! :D
(issue will be closed, but you still be able to write there)
Anyway, i wish you good luck. 😉

Hi, thanks for your fast response!
I think I'm actually going to research using Natron ( https://natron.fr ) for now, since it's open-source and cross-platform so it will be hopefully easier/cheaper to deploy for such large scale project.
Thanks again!

Hello! Do you know some tutorial about how to setup a Amazon server to run After Effects?

Not really, however i can say that you will need either macos or windows environments.
I believe there are should be tutorials for that (if its possible ofc) 😄

Yes, that's the problem =/
In Amazon we just have the Windows option
Thanks for answer, I'll try to do it

authors: Inlife jcmidia netunlimited

repo: Inlife/nexrender


text:
Fix zoom confusion for the image resizer dialogs

Perhaps one could also modify the code to support pinching events, if that's a thing. Otherwise just add a zoom slider

I am not sure what you meant by pinching events, but pinching with my fingers already works great both from my phone and my touch screen laptop.

I meant the touchpad pinching, for the OSes that support it

@aabounegm do you think this brings enough clarity to not bother with the zoom slider?

yeah, seems alright

authors: aabounegm illright

repo: Innopoints/frontend


text:
Old controller request should be done on a userstorage

With old controllers we assume that there is only one userstorage by realm (=domaine). For now request are made on services with a null userstorage while it may be the unique userstorage. It may be needed (see if it is really relevant) to specify the userstorage in the old controllers
(For now when there is no object under the realm object, the userstorage name is the cn of the profile (ex : Profil_domaine1_WebServiceLdap) )

fix by https://github.com/InseeFrLab/sugoi-api/pull/262

repo: InseeFrLab/sugoi-api


text:
identical condition in test

/Modules/Filtering/Smoothing/test/itkDiscreteGaussianImageFilterTest2.cxx line 112
code:
else if (img_dim == 3 && vec_dim == 1)
{
itkDiscreteGaussianImageFilterTestA<itk::Image<ScalarPixelType, 3>>(
argv[3], argv[4], sigma, kernelError, kernelWidth, filterDimensionality);
}
else if (img_dim == 3 && vec_dim == 1) // <-- identical
{
itkDiscreteGaussianImageFilterTestA<itk::Image<VectorPixelType, 3>>(
argv[3], argv[4], sigma, kernelError, kernelWidth, filterDimensionality);
}

This sounds like an easy fix. Do you want to give it a try?

Maybe, not sure, vec_dim should == 3 .
  else if (img_dim == 3 && vec_dim == 1)
  {
    itkDiscreteGaussianImageFilterTestA<itk::Image<VectorPixelType, 3>>(
      argv[3], argv[4], sigma, kernelError, kernelWidth, filterDimensionality);
  }

authors: dzenanz issakomi maddin200

repo: InsightSoftwareConsortium/ITK


text:
chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-main" workflow

Codecov Report

Merging #45 (6aca8e2) into main (a899366) will increase coverage by 0.82%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #45      +/-   ##
==========================================
+ Coverage   77.74%   78.57%   +0.82%
==========================================
  Files          11       11
  Lines         364      364
  Branches       32       34       +2
==========================================
+ Hits          283      286       +3
+ Misses         81       78       -3

see 2 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

source: gharchive/pull-request

authors: codecov-commenter edelwud

repo: InstaSales/instagram-puppeteer


text:
Compound v3 polygon

Closes #290

We can't check the borrow function now.
https://polygonscan.com/address/0xF25212E676D1F7F89Cd72fFEe66158f541246445#readProxyContract#F33
Currently they set isWithdrawPaused() as false.
And other functions work properly.
Here is the screen.

And I added Compound Rewards test script.
This is working well.

Please check again.
I made a mistake in script file.
I didn't consider the price of Matic.
It should have been more than USDC borrow price.

Deployment Details ->
COMPOUND-V3-A - 0xDF1B85eDBbD6DC34713dFF3c0400AD08292d1B70
COMPOUND-V3-REWARDS-A - 0xcDAb2C496A96B6Df19f3f305933088eE2d74C5bA

repo: Instadapp/dsa-connectors


text:
Changed xcode version to 8.3 in .travis file

Updated osx_image to xcode8.3, close #590
Issue fixed:

Updated .travis file osx_image to 8.3
Updated iphonesimulator and tvossimulator.
Doesn't require tests, as it'll either pass with no changes to the codebase or break CI.

Checklist

[x ] All tests pass. Demo project builds and runs.
[x ] I added tests, an experiment, or detailed why my change isn't tested.
[x ] I added an entry to the CHANGELOG.md for any breaking changes, enhancements, or bug fixes.
[x ] I have reviewed the contributing guide

Build success 😄

🎉

authors: jessesquires tapanprakasht

repo: Instagram/IGListKit


text:
Update Download URLs for Xerox Printer Drivers

Resubmitting with only the fragments edited as requested.  See Pull Request #1296 for original submission

Thank you!

authors: BigMacAdmin rougegoat

repo: Installomator/Installomator


text:
Add distributed mode for low order moments

add 2 steps to new entry in wrappers.py:has_dist, use pattern map-reduce-star
add distributed example

Also look at pydaal/DAAL MPI examples to see what data is exchanged between distributed steps.


text:
Double function call in Numba

Double function call, wrapper or wrong debug info generation. Blocker for back trace and local variables.

info locals doesn't show the values of variables when gdb hits breakpoint the first time. Testing the example below I see the strange behavior of debugging with gdb.
import numpy as np
import numba

@numba.njit(debug=True)
def foo(a):
    b = a + 1
    c = a * 2.34
    d = (a, b, c)
    print(a, b, c, d)
    return b, c, d

r = foo(123)
print(r)

When gdb hits breakpoint the first time, the value of a function argument is equal to 0. But if I call next (n command) several times, gdb hits the breakpoint again and at this time I see that the value of a is equal to 123. Also, if I step all the function again I see all the values of local variables.
$ gdb -q --args python numba_ex.py
Reading symbols from python...
(gdb) break numba_ex.py:6
No source file named numba_ex.py.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (numba_ex.py:6) pending.
(gdb) run
Thread 1 "python" hit Breakpoint 1, __main__::foo$241 () at numba_ex.py:6
6           b = a + 1
(gdb) info locals
d = "\000.\037\302\314m\017| \375\336\342\377\177\000\000@\350\000\334\377\177\000"
a = 0
b = <optimized out>
c = <optimized out>
(gdb)

(gdb) n
7           c = a * 2.34
(gdb) n
8           d = (a, b, c)
(gdb) n
9           print(a, b, c, d)
(gdb) n
10          return b, c, d
(gdb) n
6           b = a + 1
(gdb) info locals
d = '\000' <repeats 23 times>
a = 123
b = 0
c = 0

(gdb) n
7           c = a * 2.34
(gdb) n
8           d = (a, b, c)
(gdb) n
9           print(a, b, c, d)
(gdb) info locals
d = "{\000\000\000\000\000\000\000|\000\000\000\000\000\000\000\205\353Q\270\036\375q@"
a = 123
b = 124
c = 287.81999999999999

Fix from Numba: https://github.com/numba/numba/pull/7116

I think https://github.com/numba/numba/pull/7177/commits/2d637845ebe305c8b12d451a55c71b8c1ba377fd from https://github.com/numba/numba/pull/7177 is going to be needed as well for dealing with refcounted types.

Tested numba/numba#7177
import numba
import numpy as np

@numba.njit(debug=True)
def foo(a, arr):
    b = arr[3] + a
    c = b * 2.34
    d = 10 * c
    return d, arr

arr = np.arange(10)
r = foo(123, arr)
print(r, a)

(numba54) akharche@ansatnuc05:/localdisk/work/akharche$ gdb-oneapi -q --args python numba_ex.py
Reading symbols from python...
(gdb) break numba_ex.py:6
No source file named numba_ex.py.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (numba_ex.py:6) pending.
(gdb) run
Starting program: /localdisk/work/akharche/miniconda3/envs/numba54/bin/python numba_ex.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after fork from child process 3625045]
[Detaching after fork from child process 3625046]
[Detaching after fork from child process 3625047]

Breakpoint 1, __main__::foo$241 () at numba_ex.py:6
6           b = arr[3] + a
(gdb) info locals
a = 0
arr = {meminfo = 0x0, parent = 0x0, nitems = 0, itemsize = 0, data = 0x0, shape = {0}, strides = {0}}
b = 0
c = 0
d = 0

(gdb) n
7           c = b * 2.34
(gdb) n
8           d = 10 * c
(gdb) info locals
a = 0
arr = {meminfo = 0x5555564753a0 "\002", parent = 0x7fffdf36fb70 "\005", nitems = 10, itemsize = 8, data = 0x555556203d90, shape = {10}, strides = {8}}
b = 0
c = 294.83999999999997
d = 0
(gdb) whatis arr
type = array(int64, 1d, C) ({i8*, i8*, i64, i64, i64*, [1 x i64], [1 x i64]})

Fixed in Numba 0.55.

Fixed in Numba 0.55.

Thanks for confirming.

authors: PokhodenkoSA akharche stuartarchibald

repo: IntelPython/numba-dppy


text:
Update pandas 1.0.5

Merge when all skipped tests will be unskiped.

@xaleryb we are ready to move to pandas 1.0. Should we merge it? Or should we wait?

authors: AlexanderKalistratov PokhodenkoSA

repo: IntelPython/sdc


text:
"Sparse" alignment image upscaling?

Hi again, I'm sort-of misusing the issue tracker as a forum now, feel free to close if not intended :-)
That being said, I noticed that e.g. when using rs::stream::depth_aligned_to_color at a higher color resolution, you get a "sparse" image. This is, of course, expected as https://github.com/IntelRealSense/librealsense/blob/master/src/image.cpp#L356 only maps one single source pixel to a single target pixel.
In libfreenect2, we had implemented a naive-but-mostly-sufficient nearest-neighbor upscaling procedure for this case so that you can get a dense, color-aligned depth image. Would you be interested in a PR implementing a similar behaviour for librealsense? Then I'll prepare one.

Hi Florian, thanks for your pull request! This is indeed functionality that is desirable and fitting for inclusion in librealsense. Give us a couple days to work with our legal team on a CLA agreement for this project.

OK, let me know what you need. Instead of a full-scale CLA, would it be sufficient if I also declare my patch to be under Apache-2.0 license?

Satisfied by pull request #9, merged to master in commit ed4bc8528cfe3853b7f8ac6e960c60f9597074ac.
Sorry for the long wait.

authors: ddiakopoulos floe sgorsten

repo: IntelRealSense/librealsense


text:
how to compress depth frame data

Required Info

Camera Model
SR300

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ legacy / 2.. }

Language
{C}

Issue Description

I'm working on a project which I need to stream depth data through Wi-fi, but it seems no  bandwidth can support it.
the .ply files saved have a significant volume difference. The viewer export 600KB while export_to_ply give out 2MB. If it is possible to compress the depth data to 600KB per frame, 50Mb bandwidth is enough for streaming

You are correct that there are challenges to streaming over wi-fi.  Intel's RealSense development team are actively working on methods to improve compression.
Wi-Fi transmission has been accomplished in the past by using drone communication methods such as GStreamer.
https://software.intel.com/en-us/articles/intel-aero-compute-board-and-intel-realsense-technology-for-wi-fi-streaming-of-rgb-data
Otherwise, it may be more practical to send the data over  wired Ethernet connection, which RealSense has significant support for these days.
https://dev.intelrealsense.com/docs/depth-camera-over-ethernet-whitepaper

Hi @tom8zds,
Any update? It's much reliable to transfer the data over the ethernet. The traffic in wifi environment is full of interference in today's working environment.
Since the bandwidth and interference is the concern, lowering depth resolution and FPS is another option.

Hi.
Support for RS2_FORMAT_Z16H has been added as of Version 2.32.1 release. Will you be needing further help with this? If we don’t hear from you in 7 days, this issue will be closed.
Thanks


text:
about imu data  time_stamp

Required Info

Camera Model
{  D400 }

Firmware Version
(05.12.13.50)

Operating System & Version
Linux (Ubuntu 18.04)

Kernel Version (Linux Only)
(NULL)

Platform
PC

Language
{C++ }

Issue Description
I have found a problem using the following code:
`
int main() {
std::map<int, std::pair<int,double>> counters;
std::map<int, std::string> stream_names;
std::mutex mutex;

auto callback = [&](const rs2::frame &frame)
        {
    std::lock_guard<std::mutex> lock(mutex);
    if (rs2::frameset fs = frame.as<rs2::frameset>())
    {
        // With callbacks, all synchronized stream will arrive in a single frameset
        for (const rs2::frame &f : fs)
        {
            counters[f.get_profile().unique_id()].first++;
            std::cout<<"id:"<<f.get_profile().stream_name()<<"      "<<std::setprecision(20)<<f.get_timestamp()
            <<" accl: "<<counters[5].first<<" "<<counters[5].second<<" "
            <<" gyro: "<<counters[6].first<<" "<<counters[6].second<<"\n";;
        }
    } else
        {
        counters[frame.get_profile().unique_id()].first++;
        counters[frame.get_profile().unique_id()].second=frame.get_timestamp();
    }
};

// Declare RealSense pipeline, encapsulating the actual device and sensors.
const int width = 640;
const int height = 480;
int fps = 30;
rs2::pipeline pipe;
rs2::config cfg;
cfg.enable_stream(RS2_STREAM_COLOR, width, height, RS2_FORMAT_BGR8, fps);
cfg.enable_stream(RS2_STREAM_DEPTH, width, height, RS2_FORMAT_Z16,fps);
cfg.enable_stream(RS2_STREAM_INFRARED, 1, width, height, RS2_FORMAT_Y8, fps);
cfg.enable_stream(RS2_STREAM_INFRARED, 2, width, height, RS2_FORMAT_Y8, fps);
cfg.enable_stream(RS2_STREAM_ACCEL, RS2_FORMAT_MOTION_XYZ32F,250);
cfg.enable_stream(RS2_STREAM_GYRO, RS2_FORMAT_MOTION_XYZ32F,400);
rs2::pipeline_profile profiles = pipe.start(cfg,callback);
// Collect the enabled streams names
for (auto p : profiles.get_streams())
    stream_names[p.unique_id()] = p.stream_name();
std::cout << "RealSense callback sample" << std::endl << std::endl;
while (true) {
    std::this_thread::sleep_for(std::chrono::seconds(1));
    std::lock_guard<std::mutex> lock(mutex);
    for (auto p : counters) {
        std::cout << stream_names[p.first] << "[" << p.first << "]: " << p.second.first << " [frames] || \n";
    }
}

}
`
I took a screenshot from the output :
id:Depth            1621750853316.3410645  accl: 353 1621750853356.9421387  gyro: 483 1621750853359.9619141
id:Infrared 1      1621750853316.3410645  accl: 353 1621750853356.9421387  gyro: 483 1621750853359.9619141
id:Infrared 2      1621750853316.3410645  accl: 353 1621750853356.9421387  gyro: 483 1621750853359.9619141
id:Color             1621750853326.644043  accl: 353 1621750853356.9421387  gyro: 483 1621750853359.9619141
id:Depth           1621750853349.9599609  accl: 362 1621750853392.4958496  gyro: 496 1621750853392.6181641
id:Infrared 1      1621750853349.9599609 accl: 362 1621750853392.4958496  gyro: 496 1621750853392.6181641
id:Infrared 2      1621750853349.9599609 accl: 362 1621750853392.4958496  gyro: 496 1621750853392.6181641
id:Color             1621750853360.2475586 accl: 362 1621750853392.4958496  gyro: 496 1621750853392.6181641
id:Depth           1621751076423.2236328 accl: 692 1621751076459.6943359  gyro: 1013 1621751076458.723877
id:Infrared 1      1621751076423.2236328 accl: 692 1621751076459.6943359  gyro: 1013 1621751076458.723877
id:Infrared 2      1621751076423.2236328 accl: 692 1621751076459.6943359  gyro: 1013 1621751076458.723877
id:Color             1621751076432.717041  accl: 692 1621751076459.6943359  gyro: 1013 1621751076458.723877
OK, It can be seen from the output that the depth/infra/icolor data is about 25-30ms later than the IMU data. Should the timestamps be consistent with my code?how to explain this?How to make them consistent.

Hi @Jxpenggf  In our previous discussion about this subject, I highlighted the link https://github.com/IntelRealSense/librealsense/issues/3205 that explains that it is expected that the IMU will be approximately 40 ms ahead of depth data.
Could you try disabling global time please to see whether that has a positive effect on your results, as described in the link below?
https://github.com/IntelRealSense/librealsense/issues/6424#issuecomment-631589256

Hi @Jxpenggf Could you try disabling global time for the IMU please by setting RS2_OPTION_GLOBAL_TIME_ENABLED to '0' to see whether that has a positive effect on your results, as described in the link below?
#6424 (comment)

@MartyG-RealSense I tried to add the following to the above code
auto senors = ctx.query_all_sensors();   for (const auto& sensor:ctx.query_all_sensors()) {        sensor.set_option(RS2_OPTION_GLOBAL_TIME_ENABLED,0); } rs2::pipeline pipe;
But it seems that the system is still RS2_OPTION_GLOBAL_TIME_ENABLED.Where did I go wrong?

Could you try placing it after the pipeline has started please?
https://github.com/IntelRealSense/librealsense/issues/7614#issuecomment-713680733

@MartyG-RealSense
tried to use the hardware clock, but the result shows that the depth data is still about 30ms away from the IMU data
name:Depth   4294228.1390000004321  acc  529   4294266.8679999997839  gyro: 759   4294268.9670000001788 Hardware Clock

Can you cofirm please that you placed RS2_OPTION_GLOBAL_TIME_ENABLED after the pipe start instruction and that you also set it to '0' (disabled) and not '1' (enabled).

authors: Jxpenggf MartyG-RealSense


text:
On-chip calibration doesn't work with python wrapper

Required Info

Camera Model
D400

Firmware Version
(5.12.13.50)

Operating System & Version
Win (8.1/10)

Kernel Version (Linux Only)

Platform
PC

SDK Version

Language
python

Segment
Robotics

I am trying to implement an script in python that calibrate the cameras and then compare the values, to ensure quality and then being able to use them in the factory's production. I have already run the on-chip calibration on the Realsense Viewer and I don't have any troubles, but when trying to run it through the python's wrapper it doesn't work at all. I also tried the SDK example for auto calibration and when running this script, it prints the first "Starting on chip calibration", prints some dots and then suddenly exit the program without showing some kind of result or error. I don't know if it has something to do with the arguments I am passing to the run_on_chip_calibration() function (actually it would be really helpful an small explanation of what you should pass to this function since the documentation has lack of clarity), or if it has to do maybe with the version of the firmware.
This is the output:

Please select what the operation you want to do
c - on chip calibration
t - tare calibration
g - get the active calibration
w - write new calibration
e - exit
c
Starting on chip calibration
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
(py39) C:\Users\upb3fe\Desktop\Python_Pruebas_escritorio\on_chip_calibration>

this result is obtained by pointing at the same target as when obtaining good results with the realsense viewer.

I still don't have a logical result. I tried passing different kind of parameters, even the default ones. What could you recommend me to do? or could you give lead me to some technical support where I can show them what is happening?

When I try the "g - get the active calibration" it works, but with the "c - on chip calibration" and "t - tare calibration" options it shows me the same, some dots and then exit the program without any error or feedback.

Is the camera at the same distance from a flat wall when using the Python script as it is when using it with the Viewer's on-chip calibration?

yes. I have notice that for the tare_calibration it shows me the error " Calibration didn't converge! (NOT_CONVERGE)
Please retry in different lighting conditions", I tried different light conditions and none of them worked. For the one chip calibration it does not show some kind of error it just exit after printing 8 dots.

The section of the on-chip white paper linked below provides guidance about why calibration may fail to converge
https://dev.intelrealsense.com/docs/self-calibration-for-depth-cameras#section-a-self-calibration-tare-errors-prompting-a-retry
I bear in mind though that calibration through the Viewer usually works.

Hi @camiloupegui  Do you require furthr assistance with this case, please?  Thanks!

I moved to another PC (running python 3.8) and tested the same camera with the same program and now at least it shows me "Operation timed-out /n Calibration state did not converged in time". I would like to know what could be a possible reason for that. I mean that in the other computer (running python 3.9) the program just exit after printing some dots and in this one at least shows me the error and keep asking the options to select. I have been working with the API in python 3.9 in my PC without troubles until this weird error appeared.

I do not have any previous reports of problems with accessing on-chip calibration functions with Python 3.9.  So I could not rule out the possibility of a bug in the on-chip interface with that Python version but at this time I do not have any other reported occurrences to validate that possibility.

I tested the script with Python 3.7 and 3.8 and both cases show very good results, however, 3.9 still doesn't work for me. I don't know if it has something to do with my PC specifically but I solved the problem by decreasing the version of python.

Good to hear that you found a solution @camiloupegui - thanks for the update!

Case closed due to solution achieved and no further comments received.

authors: MartyG-RealSense camiloupegui


text:
No 'confirmation of enrollment' emails

Add a settings option to disable the 'confirmation of enrollment' emails. I know I just enrolled, I don't need an email 🙃

@bramvandartel change of privacy regulations (just mentioned it here as well for backlog)

authors: WKobes koenjdejong

repo: Inter-Actief/amelie


text:
Do not display Label of activity if it's Unknown

For example; https://www.inter-actief.utwente.nl/activities/6933/
The label (or type in Dutch) could be made invisible if it's not provided.
If this is not wanted, it would be a good improvement to not display Unknown in Dutch, but Onbekend or something similar.

The unknown is only shown for activities that were added before the labels were introduced, and cannot be chosen for new activities. Someone forgot to add a Dutch translation for it, I just added it.

authors: Kurocon WikiRik


text:
question regarding angular geometries

Hi,
When using angular geometries consisting of shapes with sharp corners , the discretization seems to generate smoothed and rounded corners.
Increasing the resolution seems to improve the quality but still clear sharp 90degree corners are smoothed out to a relatively high degree. I'm wondering what exactly are the technical reasons behind this behavior ? and whether there is an alternative to get a cleaner sharper corner discretization ?
Thanks

Hi,
What you describe is a limitation of the approach that Discregrid uses. By construction, Discregrid will interpolate the values of a function within each discretization cell from the values at its perimeter using cubic interpolation.
The point of Discregrid is that it provides very efficient queries to a piece-wise cubic approximation of a function. If you need to obtain the exact values of the function itself, I recommend you evaluate such function directly. If what you need are (signed) distances from a triangle mesh take a look at TriangleMeshDistance.
Best,
José.

The higher the order the better the approximation, but it still will not be able to represent perfectly sharp features. This also will significantly increase the runtime (both construction and query). Sadly, there are no plans to include other interpolation strategies within Discregrid.

repo: InteractiveComputerGraphics/Discregrid


text:
[Bug] transformers latest 4.34.0, AttributeError: 'InternLMTokenizer' object has no attribute 'sp_model'

Describe the bug
>>> from transformers import AutoTokenizer, AutoModelForCausalLM
>>> tokenizer = AutoTokenizer.from_pretrained("internlm/internlm-chat-7b", trust_remote_code=True)

>>> tokenizer = AutoTokenizer.from_pretrained("/root/autodl-tmp/internlm-chat-7b", trust_remote_code=True)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/root/miniconda3/lib/python3.8/site-packages/transformers/models/auto/tokenization_auto.py", line 738, in from_pretrained
    return tokenizer_class.from_pretrained(pretrained_model_name_or_path, *inputs, **kwargs)
  File "/root/miniconda3/lib/python3.8/site-packages/transformers/tokenization_utils_base.py", line 2045, in from_pretrained
    return cls._from_pretrained(
  File "/root/miniconda3/lib/python3.8/site-packages/transformers/tokenization_utils_base.py", line 2256, in _from_pretrained
    tokenizer = cls(*init_inputs, **init_kwargs)
  File "/root/.cache/huggingface/modules/transformers_modules/internlm-chat-7b/tokenization_internlm.py", line 68, in __init__
    super().__init__(
  File "/root/miniconda3/lib/python3.8/site-packages/transformers/tokenization_utils.py", line 366, in __init__
    self._add_tokens(self.all_special_tokens_extended, special_tokens=True)
  File "/root/miniconda3/lib/python3.8/site-packages/transformers/tokenization_utils.py", line 462, in _add_tokens
    current_vocab = self.get_vocab().copy()
  File "/root/.cache/huggingface/modules/transformers_modules/internlm-chat-7b/tokenization_internlm.py", line 108, in get_vocab
    vocab = {self.convert_ids_to_tokens(i): i for i in range(self.vocab_size)}
  File "/root/.cache/huggingface/modules/transformers_modules/internlm-chat-7b/tokenization_internlm.py", line 96, in vocab_size
    return self.sp_model.get_piece_size()
AttributeError: 'InternLMTokenizer' object has no attribute 'sp_model'
>>> tokenizer = AutoTokenizer.from_pretrained("/root/autodl-tmp/internlm-chat-7b", trust_remote_code=True)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/root/miniconda3/lib/python3.8/site-packages/transformers/models/auto/tokenization_auto.py", line 738, in from_pretrained
    return tokenizer_class.from_pretrained(pretrained_model_name_or_path, *inputs, **kwargs)
  File "/root/miniconda3/lib/python3.8/site-packages/transformers/tokenization_utils_base.py", line 2045, in from_pretrained
    return cls._from_pretrained(
  File "/root/miniconda3/lib/python3.8/site-packages/transformers/tokenization_utils_base.py", line 2256, in _from_pretrained
    tokenizer = cls(*init_inputs, **init_kwargs)
  File "/root/.cache/huggingface/modules/transformers_modules/internlm-chat-7b/tokenization_internlm.py", line 68, in __init__
    super().__init__(
  File "/root/miniconda3/lib/python3.8/site-packages/transformers/tokenization_utils.py", line 366, in __init__
    self._add_tokens(self.all_special_tokens_extended, special_tokens=True)
  File "/root/miniconda3/lib/python3.8/site-packages/transformers/tokenization_utils.py", line 462, in _add_tokens
    current_vocab = self.get_vocab().copy()
  File "/root/.cache/huggingface/modules/transformers_modules/internlm-chat-7b/tokenization_internlm.py", line 108, in get_vocab
    vocab = {self.convert_ids_to_tokens(i): i for i in range(self.vocab_size)}
  File "/root/.cache/huggingface/modules/transformers_modules/internlm-chat-7b/tokenization_internlm.py", line 96, in vocab_size
    return self.sp_model.get_piece_size()
AttributeError: 'InternLMTokenizer' object has no attribute 'sp_model'

Environment
transformers==4.34.0

when version==4.33.3 is fine

Other information
No response

https://github.com/huggingface/transformers/issues/26340#issuecomment-1733371279

I can use the model and fine-tune it in autotrain-advanced with a modified tokenization_internlm.py. moved super().init() to a line after the creation of self.sp_model in tokenization_internlm.py
However, fine-tuning seems to finish early or the time estimate is just totally off.

Here is my adjusted file:
https://huggingface.co/KnutJaegersberg/deacon-20b-gptq/blob/main/tokenization_internlm.py

@KnutJaegersberg Moving super().init() is not supposed to influence anything.

Got it, I just share what I did :)

This bug has been already fixed by moving super.init() to the last line of InternlmLM.__init__
See: https://huggingface.co/internlm/internlm-chat-7b/blob/main/tokenization_internlm.py
Later I will create a PR to update our tokenizer file

authors: AllentDan KnutJaegersberg vansin x54-729

repo: InternLM/InternLM


text:
[Bug] 0.2.2版本qwen14b量化后回答失控

Checklist

[X] 1. I have searched related issues but cannot get the expected help.
[ ] 2. The bug has not been fixed in the latest version.

Describe the bug
量化前问：你是谁？
回答：
我是通义千问，由阿里云开发的AI助手。我可以回答各种问题、提供信息和与用户进行对话。有什么我可以帮助你的吗？

量化后问：你是谁？
double enter to end input >>> 你是谁？

你是谁？ 02/06 08:15:10 - turbomind - WARNING - kwargs top_p is deprecated for inference, use GenerationConfig instead.
02/06 08:15:10 - turbomind - WARNING - kwargs top_k is deprecated for inference, use GenerationConfig instead.
02/06 08:15:10 - turbomind - WARNING - kwargs temperature is deprecated for inference, use GenerationConfig instead.
02/06 08:15:10 - turbomind - WARNING - kwargs repetition_penalty is deprecated for inference, use GenerationConfig instead.
02/06 08:15:10 - turbomind - WARNING - kwargs ignore_eos is deprecated for inference, use GenerationConfig instead.
02/06 08:15:10 - turbomind - WARNING - kwargs random_seed is deprecated for inference, use GenerationConfig instead.
02/06 08:15:10 - turbomind - WARNING - kwargs request_output_len is deprecated for inference, use GenerationConfig instead.
为什么在这里？”

“我是这里的主人，”小矮人回答，“我在这里生活了很久。你呢？你是从哪里来的？”

“我是从城市里来的，”我回答，“我迷路了，找不到回家的路。”

小矮人看着我，眼神中充满了同情。“我可以帮你找到回家的路，”他说，“但是你必须答应我一件事。”

“什么事？”我问。

“你必须答应我，无论你走到哪里，都要记住这个小矮人的故事，记住他的善良和智慧，记住他的勇气和坚韧。”小矮人说。

我答应了小矮人的请求，他带我走出了森林，找到了回家的路。我永远都不会忘记小矮人的故事，我会将他的故事传递下去，让更多的人知道他的善良和智慧，他的勇气和坚韧。

Reproduction
量化方法：
lmdeploy lite auto_awq \
   /data/glx/finetuned_models/m1m2_14b \
  --calib-dataset 'ptb' \
  --calib-samples 128 \
  --calib-seqlen 2048 \
  --w-bits 4 \
  --w-group-size 128 \
  --work-dir ./m1m2-14b-4bit

运行：
CUDA_VISIBLE_DEVICES=0 lmdeploy chat turbomind ./m1m2-14b-4bit --model-format awq

Environment
...

Error traceback
No response

应该是只根据./m1m2-14b-4bit 没办法匹配到对话模版，试试这样：
CUDA_VISIBLE_DEVICES=0 lmdeploy chat turbomind ./m1m2-14b-4bit --model-format awq --model-name qwen-7b

v0.2.2 turobmind backend启动的时候获取model_name的逻辑跟pytorch backend有点区别。这个在v0.2.3中修复了。预计今天会传一个最新的版本。
如果着急用的话，可以先改一下安装目录中lmdeploy/serve/async_engine.py 这个文件，将 _build_turbomind 替换为最新的实现 https://github.com/InternLM/lmdeploy/blob/v0.2.3/lmdeploy/serve/async_engine.py#L92-L155

v0.2.2 turobmind backend启动的时候获取model_name的逻辑跟pytorch backend有点区别。这个在v0.2.3中修复了。预计今天会传一个最新的版本。
如果着急用的话，可以先改一下安装目录中lmdeploy/serve/async_engine.py 这个文件，将 _build_turbomind 替换为最新的实现 https://github.com/InternLM/lmdeploy/blob/v0.2.3/lmdeploy/serve/async_engine.py#L92-L155

好的，我等一下pip update

@irexyc 那现在外推32k，还需要配置rope_scaling_factor = 2吗？这个现在在哪个文件里面改？以前是config.ini

一般session_len跟max_position_embeddings是一样的。如果初始化的时候不指定，那么会用模型默认的session_len，不需要外推。但是如果你要推理超过session_len的文本，那么还是需要设置的。
你可以通过 lmdeploy serve api_server -h 看参数信息。
另外lmdeploy 目前的外推试下是跟huggingface 对齐的。跟qwen的实现不一样。

一般session_len跟max_position_embeddings是一样的。如果初始化的时候不指定，那么会用模型默认的session_len，不需要外推。但是如果你要推理超过session_len的文本，那么还是需要设置的。
你可以通过 lmdeploy serve api_server -h 看参数信息。
另外lmdeploy(turbomind backend) 目前的外推实现是跟huggingface 对齐的。跟qwen的实现不一样。

明白了，谢谢～

authors: LianxinGao irexyc

repo: InternLM/lmdeploy


text:
Write a query to calculate the time delta between all adjacent blocks

This could be used to generate a histogram.

This would be used to compare the actual distribution of block times to the expected "perfect" distribution based on theory. The difference between the two can show us our deviation from perfection.

For only the Shelley era, the query is pretty trivial:
select block_no, time, time - lag (time) over (order by time asc) as delta from block where epoch_no >= 208 ;

It looks like there hasn't been any activity on this issue for a some time. We're closing it for now. If you're still experiencing this problem or have any updates, please reopen or create a new issue. Your feedback is valuable, thank you!

authors: Cmdv dcoutts erikd

repo: IntersectMBO/cardano-db-sync


text:
525 haskell compatible utxo and cert ffi

Description
Similar to prior PR (#526) on which this PR is based, but with hacky adjustments to try to get FFI working.
Checklist

[ ] Commit sequence broadly makes sense and commits have useful messages
[ ] Code is formatted according to CONTRIBUTING.md
[ ] Self-reviewed the diff

This seems to be working now, so merging it into #526, closing this PR, and deleting branch #531.


text:
[BUG] Missing test IDs on Proposal Discussion Details Page

Description:
Several components lack proper test IDs, impeding effective testing and automation
Missing test IDs

submit-as-GA-button for submit as Governance Action button
review-version for review versions button
comment-count for total comments count
like-count for total likes count
dislike-count for total dislikes count
menu-button for the menu button
like-button for like button
dislike-button for a dislike button
sort-comments for a sort button

poll-vote-card for poll vote card
poll-yes-button for poll yes vote button
poll-no-button for poll no vote button
poll-result-card for poll result card
poll-yes-count for poll voted yes count
poll-no-count for poll voted no count

comment-input for comment input field
comment-button for submitting filled comment
reply-button for reply button
comment-${comment-id}-card for each comment card
comment-${comment-id}-content for each comment content

reply-input for reply input field

add-poll-button for add poll button
add-poll-card for add poll card

close-poll-button for close poll

change-vote-button for change vote button
change-poll-vote-modal for change vote modal popup
change-poll-vote-yes-button for Yes, change my poll vote button
change-poll-vote-no-button for I don't want to change button

edit-proposal for edit created proposal
delete-proposal for delete created proposal

Important:  Missing test IDs are blocking critical tests. Please add them to all interactive elements to ensure proper functionality.

@vpaunovic Is this in progress then?

@bosko-m this is already done. Just, it is not yet in NPM package. Its in our repo on main branch. When we update our NPM package, and @MSzalowski update our PDF NPM package with that new version, it will be available there in current govtool.

Hi @vpaunovic,
Which version of the PDF npm package has this issue fixed?

v0.1.8

Hello @vpaunovic

I've reviewed your recent updates regarding the missing test IDs, but some issues persist. Below is a detailed list of the required corrections:

1. Comment Count
<button class="MuiButtonBase-root Mui-disabled MuiIconButton-root Mui-disabled MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root" tabindex="-1" type="button" disabled="" data-testid="comment-count">

    0

  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="#212A3D" viewBox="0 0 24 24">
    <path fill-rule="evenodd" d="M2 6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3h-4.586l-4.707 4.707A1 1 0 0 1 8 21v-4H5a3 3 0 0 1-3-3zm3-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 0 1 1 1v2.586l3.293-3.293A1 1 0 0 1 14 15h5a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1zm2 5a1 1 0 0 1 1-1h.01a1 1 0 0 1 0 2H8a1 1 0 0 1-1-1m4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1m4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H16a1 1 0 0 1-1-1" clip-rule="evenodd"></path>
  </svg>
</button>

The data-testid should be inside  tag where the actual count is added instead of the <button> tag

2. Comment Input

    <textarea aria-invalid="false" aria-describedby=":rdp:-helper-text" autocomplete="off" id=":rdp:" maxlength="256" spellcheck="false" autocorrect="off" autocapitalize="none" class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputMultiline css-1sqnrkk-MuiInputBase-input-MuiOutlinedInput-input" style="height: 23px; overflow: hidden;" data-dashlane-rid="22509b8b97b001cd" data-form-type=""></textarea>
    <textarea aria-hidden="true" class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputMultiline css-1sqnrkk-MuiInputBase-input-MuiOutlinedInput-input" readonly="" tabindex="-1" style="visibility: hidden; position: absolute; overflow: hidden; height: 0px; top: 0px; left: 0px; transform: translateZ(0px); padding-top: 0px; padding-bottom: 0px; width: 835px;"></textarea>
    <fieldset aria-hidden="true" class="MuiOutlinedInput-notchedOutline css-1d3z3hw-MuiOutlinedInput-notchedOutline">
      <legend class="css-ihdtdm">

      </legend>
    </fieldset>

    0/256

The data-testid should be inside <textarea> tag where the actual comment is input instead of the
 tag

3. Reply Comment Input

    <textarea aria-invalid="false" aria-describedby=":rdv:-helper-text" id=":rdv:" name="subcomment" placeholder="Add comment" maxlength="256" class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputMultiline css-1sqnrkk-MuiInputBase-input-MuiOutlinedInput-input" style="height: 23px; overflow: hidden;" data-dashlane-rid="e6d23b741e311473" data-form-type=""></textarea>
    <textarea aria-hidden="true" class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputMultiline css-1sqnrkk-MuiInputBase-input-MuiOutlinedInput-input" readonly="" tabindex="-1" style="visibility: hidden; position: absolute; overflow: hidden; height: 0px; top: 0px; left: 0px; transform: translateZ(0px); padding-top: 0px; padding-bottom: 0px; width: 761.781px;"></textarea>
    <fieldset aria-hidden="true" class="MuiOutlinedInput-notchedOutline css-1d3z3hw-MuiOutlinedInput-notchedOutline">
      <legend class="css-ihdtdm">

      </legend>
    </fieldset>

    0/256

The data-testid should be inside <textarea> tag where the actual comment is input instead of the
 tag

4. Close Poll Dialog

Some test IDs are missing in the close poll dialog.

data-testid="close-the-poll-button"
data-testid="cancel-the-poll-button"

5. Share Button

data-testid = share-button

Note: Please make sure to add proper test IDs if you introduce any new components in the future. Additionally, please make these adjustments to ensure appropriate test IDs are in place.

@kneerose We have added a test id to the PDF package version 0.2.2 which is deployed on the govtool dev environment

@teske00   I have created a separate ticket for all missing test IDs of the PDF here. Therefore, I am closing this issue.
CC: @bosko-m

authors: NabinKawan bosko-m kneerose teske00 vpaunovic

repo: IntersectMBO/govtool


text:
chore(#1463): Fix CSP issue blocking Sentry requests in Traefik config

The Content Security Policy (CSP) was updated to resolve the issue that was blocking Sentry requests. Previously, the connect-src directive did allow requests from ingest.us.sentry.io, which resulted in an error which prevented users from submitting feedback.
List of changes

Change sentry domain in connect-src CSP to be broader

Checklist

1463
[x] My changes generate no new warnings
[x] My code follows the style guidelines of this project
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the changelog
[ ] I have added tests that prove my fix is effective or that my feature works

Problem solved on another branch


text:
Unsupported image type image/heic. GD driver is only able to decode JPG, PNG, GIF, BMP or WebP files.

Unsupported image type image/heic. GD driver is only able to decode JPG, PNG, GIF, BMP, or WebP files.

Of course it is possible to help out. However, please only add new features to the main branch on version 3. Intervention Image version 2 will not be further developed by me.

Of course it is possible to help out. However, please only add new features to the main branch on version 3. Intervention Image version 2 will not be further developed by me.

Working

No need to add a new Function to handle image/heic.
if ($file->getClientOriginalExtension() == 'heic') { $file = $request->file('image')  $manager = new ImageManager(Driver::class);  $image = $manager->read($file);  $filename =  uniqid() . time() . rand(10, 1000000) . '.jpg';  $image->toJpeg()->save('storage/images/'.$filename); }
The Image will be saved in JPG format.

repo: Intervention/image


text:
deblurring concept

does image intervention having  deblurring concept

Not currently.

authors: azarzaza olivervogel


text:
🛑 lakksalg.no is down

In ed52dba, lakksalg.no (https://lakksalg.no) was down:

HTTP code: 0
Response time: 0 ms

Resolved: lakksalg.no is back up in 9aec668 after 32 minutes.

repo: Intus-AS/Types-status


text:
🛑 frumento.no is down

In 3dcff5c, frumento.no (https://frumento.no) was down:

HTTP code: 0
Response time: 0 ms

Resolved: frumento.no is back up in e2d12d5 after 6 minutes.


text:
Multiple selection

Hi, I couldn't find in the documentation if there is any option to collect data from various elements that matches one particular selector.
IE (collects all links from one particular site)
url: {
        selector: 'a',
        attr: "href"
    }

Is there an option like that ?

Use how––I wouldn't be against adding attr too!
url: {
        selector: 'a',
        how: "href"
}

And there's a similar example here: https://github.com/IonicaBizau/scrape-it/blob/810560e4729b6cc6a7414fa1871ff38bc6e9c143/example/index.js#L47-L57

Thank you.

Actually attr is already supported. See the link above.

authors: IonicaBizau barriojules

repo: IonicaBizau/scrape-it


text:
Fix for building on mac ARM64

Also updated bindgen ver to fix warning that is now a compiler error

Might want to tag this as a hotfix version on main & port the change to the v2 branch also 👍

authors: captnz conbon

repo: Iotic-Labs/iotics-identity-go


text:
Error. Try bw!help (Command raised an exception: AttributeError: 'NoneType' object has no attribute 'id')

When attempting to run bw!botsetup from Discord, I get the following error:
Error. Try bw!help (Command raised an exception: AttributeError: 'NoneType' object has no attribute 'id')

and on the server console, I get this:
Traceback (most recent call last):
  File "/home/vagrant/.local/lib/python3.6/site-packages/discord/ext/commands/core.py", line 85, in wrapped
    ret = await coro(*args, **kwargs)
  File "/vagrant/code/cogs/Bot.py", line 42, in botsetup
    GUILD = ctx.guild.id
AttributeError: 'NoneType' object has no attribute 'id'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/vagrant/.local/lib/python3.6/site-packages/discord/ext/commands/bot.py", line 939, in invoke
    await ctx.command.invoke(ctx)
  File "/home/vagrant/.local/lib/python3.6/site-packages/discord/ext/commands/core.py", line 863, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "/home/vagrant/.local/lib/python3.6/site-packages/discord/ext/commands/core.py", line 94, in wrapped
    raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'NoneType' object has no attribute 'id'

've been working on getting this working in Docker container on my Raspberry Pi server, and the bot setup is the last step (I hope!) that I can't seem to get working.
I've attempted to follow the instructions to the letter in an Ubuntu 18.04 virtual machine and I get the same error.

OK, so reading through the errors and digging into the python a little bit, the problem is that I was direct messaging the bot to set it up, and without sending the message from a "server", there is no Guild, and thus no Guild id attribute.
Sending a message from the actual Discord server to which the bot is joined works.  This should possibly be added to the documentation, and I'll try to include it with my PR that includes a Docker option once I get that properly hammered out.

repo: Iqrahaq/BookWorm


text:
add personal info

some personal information about myself

@johnykuz  contribute to https://github.com/Ishaan28malik/Get-Dev-Resources instead.


text:
SR1.1.1. Add support for showing daily std on inflammation data

Extend the graphs to show the daily standard deviation as required by S.R.1.1.1.

I also added different std tests. That was a good point, thank you!


text:
let demo_content target in makefile run multiple times

To test:

run make demo_content two or more times
second time throws a python error ( see below)
apply patch
run make demo_content multiple times
no error

I ran into some trouble building the demo site and had to run make demo multiple times, but on iterations after the first I kept seeing this error related to running setup.py in Islandora workbench:
File "/workbench/setup.py", line 7
    author_email="mjordan@sfu", packages=["i7Import", "i8demo_BD", "input_data"], packages=["i7Import", "i8demo_BD", "input_data"],
                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: keyword argument repeated: packages

I tracked the problem back to the final sed command in the demo_content target; it replaces "author_email="mjordan@sfu", with "author_email="mjordan@sfu", packages=[... but it's happy to do that multiple times, leading to the error above. Most other things in the repeat run seemed to work despite some warnings. I just modified the sed so it'll only run the substitution on the line if the line doesn't already have "packages" listed. I also removed sed's "g" flag since I don't think a global substitution makes sense here.
I realize this is an edge case since people shouldn't be running make demo multiple times without cleaning things out in between but it came up for me so I figured I'd submit a PR.

Seem to be getting an error on first run that is also related to Workbench and setup tools.
Processing Deprecated-1.2.13-py2.py3-none-any.whl
Installing Deprecated-1.2.13-py2.py3-none-any.whl to /usr/local/lib/python3.10/site-packages
Adding Deprecated 1.2.13 to easy-install.pth file

Installed /usr/local/lib/python3.10/site-packages/Deprecated-1.2.13-py3.10.egg
Searching for exceptiongroup
Reading https://pypi.org/simple/exceptiongroup/
Downloading https://files.pythonhosted.org/packages/17/9e/81c897fcd6e2ed77ec86c0567cb7b25dc456cc1de74c67b6f2e95d59b639/exceptiongroup-1.0.0rc9-py3-none-any.whl#sha256=2e3c3fc1538a094aab74fad52d6c33fc94de3dfee3ee01f187c0e0c72aec5337
Best match: exceptiongroup 1.0.0rc9
Processing exceptiongroup-1.0.0rc9-py3-none-any.whl
Installing exceptiongroup-1.0.0rc9-py3-none-any.whl to /usr/local/lib/python3.10/site-packages
Adding exceptiongroup 1.0.0rc9 to easy-install.pth file

Installed /usr/local/lib/python3.10/site-packages/exceptiongroup-1.0.0rc9-py3.10.egg
Searching for wrapt<2,>=1.10
Reading https://pypi.org/simple/wrapt/
Downloading https://files.pythonhosted.org/packages/fd/70/8a133c88a394394dd57159083b86a564247399440b63f2da0ad727593570/wrapt-1.14.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=257fd78c513e0fb5cdbe058c27a0624c9884e735bbd131935fd49e9fe719d310
Best match: wrapt 1.14.1
Processing wrapt-1.14.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Installing wrapt-1.14.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl to /usr/local/lib/python3.10/site-packages
Adding wrapt 1.14.1 to easy-install.pth file

Installed /usr/local/lib/python3.10/site-packages/wrapt-1.14.1-py3.10-linux-x86_64.egg
Searching for setuptools==63.2.0
Best match: setuptools 63.2.0
Adding setuptools 63.2.0 to easy-install.pth file

Using /usr/local/lib/python3.10/site-packages
Finished processing dependencies for Islandora-Workbench===master
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/urllib3-1.26.12-py3.10.egg/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
  File "/usr/local/lib/python3.10/site-packages/urllib3-1.26.12-py3.10.egg/urllib3/util/connection.py", line 95, in create_connection
    raise err
  File "/usr/local/lib/python3.10/site-packages/urllib3-1.26.12-py3.10.egg/urllib3/util/connection.py", line 85, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/urllib3-1.26.12-py3.10.egg/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.10/site-packages/urllib3-1.26.12-py3.10.egg/urllib3/connectionpool.py", line 386, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.10/site-packages/urllib3-1.26.12-py3.10.egg/urllib3/connectionpool.py", line 1042, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.10/site-packages/urllib3-1.26.12-py3.10.egg/urllib3/connection.py", line 358, in connect
    self.sock = conn = self._new_conn()
  File "/usr/local/lib/python3.10/site-packages/urllib3-1.26.12-py3.10.egg/urllib3/connection.py", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f3a48c74d90>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/requests-2.28.1-py3.10.egg/requests/adapters.py", line 489, in send
    resp = conn.urlopen(
  File "/usr/local/lib/python3.10/site-packages/urllib3-1.26.12-py3.10.egg/urllib3/connectionpool.py", line 787, in urlopen
    retries = retries.increment(
  File "/usr/local/lib/python3.10/site-packages/urllib3-1.26.12-py3.10.egg/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='islandora.traefik.me', port=443): Max retries exceeded with url: //admin/structure/types/manage/islandora_object (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3a48c74d90>: Failed to establish a new connection: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/workbench/./workbench", line 1059, in <module>
    workbench_config = WorkbenchConfig(args)
  File "/workbench/WorkbenchConfig.py", line 17, in __init__
    self.validate()
  File "/workbench/WorkbenchConfig.py", line 169, in validate
    type_check = issue_request(self.config, 'GET',
  File "/workbench/workbench_utils.py", line 124, in issue_request
    response = requests.get(
  File "/usr/local/lib/python3.10/site-packages/requests-2.28.1-py3.10.egg/requests/api.py", line 73, in get
    return request("get", url, params=params, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests-2.28.1-py3.10.egg/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests-2.28.1-py3.10.egg/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests-2.28.1-py3.10.egg/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests-2.28.1-py3.10.egg/requests/adapters.py", line 565, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='islandora.traefik.me', port=443): Max retries exceeded with url: //admin/structure/types/manage/islandora_object (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3a48c74d90>: Failed to establish a new connection: [Errno 111] Connection refused'))
make: *** [demo_content] Error 1
iMac:isle-dc aoneill$

Will try again after doing a make clean.

I was able to run "make demo_content" twice in a row with no occurrence of the "syntax error" message.
Un-assigning myself since I'm not an ISLE expert but it seems OK to merge regardless if it is reproducible elsewhere.

PR is presently in conflict; however, could this potentially be due to the other issue, with different flavours of sed?... thought #291 also indicates that it addresses the idempotency of the sed invocation, so this may no longer be an issue?

I just tested with a fresh isle-dc at HEAD on my laptop and running make demo_content twice in a row didn't throw any errors. The other sed edit in f44ddc1838bfd64fcc3d34b0976527a9afe75e9c fixed this because it added $$ to the end of the sed substitution; now the second run won't match the substitution pattern because the comma after the email is no longer the end of the line.
So I'll close this PR, there's no need to merge it. The $$ change is less text, more elegant anyways.

authors: adam-vessey alxp phette23

repo: Islandora-Devops/isle-dc


text:
Updating Drupal Core to 8.8.1

I experimented with updating Drupal Core to 8.8.0 using composer.
I tested some basic things like pushing content to Fedora and it seems to be ok. Not sure what kind of testing needs to run to evaluate it more thoroughly.
PR here: https://github.com/Islandora/drupal-project/pull/34

Due to multiple critical vulnerabilities in 8.8.0, Drupal is now recommending 8.8.1. So I'd vote to relax on this push for now, but if not then jump straight to 8.8.1
https://www.drupal.org/sa-core-2019-012

Updated PR to 8.8.1

Testing 8.8.1 now.  It may potentially fix a bug with stuff what I'm working on for https://github.com/Islandora/islandora/pull/745.

Well, doesn't fix my issue with https://github.com/Islandora/islandora/pull/745... but doesn't appear to break anything either.  I just ran a quick sanity test and everything worked out.  Derivatives, indexing, etc... all seem ok.

authors: dannylamb elizoller whikloj

repo: Islandora/documentation


text:
Cards are created for better ui

Resolve issue number #12
Enhance the features in form of cards for a better UI
feat#12
#12

here the changes are made
cards are created

plz merge my pull request
it looks awesome

Duplicate issue

authors: Its-Aman-Yadav drick-infinity

repo: Its-Aman-Yadav/Community-Site


text:
Docker failing: failed to compute cache key: "/tmp/alpaca-electron/release-builds/alpaca-electron-linux-x64"

=> ERROR [stage-2 4/8] COPY --chown=1000 --from=alpaca-electron-builder /tmp/alpaca-electron/release-builds/alpa  0.0s

[stage-2 4/8] COPY --chown=1000 --from=alpaca-electron-builder /tmp/alpaca-electron/release-builds/alpaca-electron-linux-x64 /alpaca-electron:

failed to solve: failed to compute cache key: "/tmp/alpaca-electron/release-builds/alpaca-electron-linux-x64" not found: not found

Docker is currently a WIP

Fixed in https://github.com/ItsPi3141/alpaca-electron/commit/553174d8cb41f566238a4034c7f1bd29fff9e8d8


text:
Bugfix (to 2.4) - findChessboardCorners causes crash (Issue# 5145)

Refer to issue #5145 for detail.

:+1:

authors: alalek robertxwu

repo: Itseez/opencv


text:
CMake install path fixes

This pull request contains a few fixes for the CMake build system.
They move all target-specific files from share to lib (where they belong) and also allow to override the "share" path.
This is important for distributions like Exherbo that install all architecture-independent files to /usr/share and all other files to /usr/${host}/share, so that a package can be installed for multiple architectures in parallel.

The tests on Linux seem to be failing now because the build script passes a wrong value for "OpenCV_DIR".

They move all target-specific files from share to lib

Could you add some links about this. We will take a look

Sure.
CMake's packaging tutorial that mentions to install the config files to lib/cmake/...:
https://cmake.org/Wiki/CMake/Tutorials/Packaging#Package_Configuration_Files
Exherbo's multi-arch:

https://exherbo.org/docs/multiarch-pr.html (High-level description, PR)
http://exherbo.org/docs/multiarch.txt (Technical details)

I guess it's obvious why the .a/.so libraries should be moved (see second commit). If you are interested in any other links feel free t ask.

@olesalscheider
Most part of fixes looks valid and should be done, but there are some issues include "compatibility" changes (like OpenCV_DIR and broken "include" directories) that we need to resolve without serious impact to users (I will take a look on this).
BTW, Why JARs should be moved out from the "share" folder? I believe, they are platform-independent in general.
For example, Debian project uses this check: https://lintian.debian.org/tags/jar-not-in-usr-share.html

OPENCV_JAR_INSTALL_PATH controls opencv_java native binary installation. So this should be moved out from "share" directory also.

Yes, that's why I adjusted OPENCV_JAR_INSTALL_PATH. I don't really know if the jar itself could be in share while the native binaries are in lib, though. Maybe someone who knows a bit more about Java can comment on that...

Are there any news on this?

@alalek What is the plan with this? Did you have a chance to look at the issues you mentioned?

This problem should be fixed with #5980 (when it will be completed and merged)

Problem should be fixed in another PR.
@olesalscheider , please check if that fix works for you. If you have an updated version of your fix, please create new pull request, since this one is broken.

authors: alalek mshabunin olesalscheider


text:
bug: no help information for "\parser"

Bug Report
The meta-command "\parser" for psql does not have any relevant help information when using "?".
IvorySQL Version
master branch

#269

authors: SunBeau wangjie-star

repo: IvorySQL/IvorySQL


text:
A bunch of improvements

Thanks for the very cool project, it was very useful to us.
I made a few improvements to the code, based on our requirements. I haven't got any experience with Go / LaTeX, so the solution is crude, but hopefully it will be useful to someone.
As per commit message:

Support for passing variable to Grafana (only one at the moment) in request URL, in a format that works with 'Links' feature
Exposed dashboard descrption and titles of rows and panels to LaTeX
LaTeX input sanitization (escaping of special characters)
PDF generator performs two runs now: first one does preprocessing (chapters data generation, etc) and the second one for the actual PDF creation
New enchanced.tex template, with utilizes new variables (title, dashboard description, etc) and additional LaTeX modules, with improved look and feel (optional logo) and automatic chapters/PDF bookmarks generation (based on rows and panel titles). Each Grafana row with 'Show' tickbox enabled becomes a section, with subsequent charts defined as subsections

Hmm not sure why Github isn't picking up that I did a manual merge of this branch and closing the PR like it dit for the other ones. Merged in 6236377a378e3ca4612b0585ec3aad505bfa84cb.

authors: IzakMarais nktl

repo: IzakMarais/reporter


text:
Background image

Is your feature request related to a problem? Please describe.
First page is looking incomplete as they contain only connect word  on it .
Describe the solution you'd like
I  would like to add background image..
Describe alternatives you've considered
No response
Additional context
No response

Yes, we need an image for our login page, Can you share the image and layout you have in mind? @BhartiNagpure

Yes, we need an image for our login page, Can you share the image and layout you have in mind? @BhartiNagpure

We can set this image to right side and connect button to left.

can you make it something like this,

you can get this image from undraw.co if you search for 'welcome'

@BhartiNagpure can you make it something like this,
you can get this image from undraw.co if you search for 'welcome'

Sure I can


text:
Update db_add.py

Kommentare angefügt

ende


text:
The scale down portion (anything past *.png) of wikia urls causes a 404 (only on github pages)

This doesn't happen on any other site; it feels like it might be a CORS issue or some issue with how github does get requests?  It's just odd that having anything past the .png in the url causes the issue.
For now, I have a make-shift solution of removing that portion of the url and forcing the image to be 100x100 myself.

It's seeming more and more like a CORS issue from what I can tell; I could still be wrong.

repo: JJCUBER/HayDayImageGeneratorSite


text:
🛑 socials.jm26.net is down

In db33b48, socials.jm26.net (https://socials.jm26.net/status.txt) was down:

HTTP code: 525
Response time: 311 ms

Resolved: socials.jm26.net is back up in 6d98ab6 after 18 minutes.


text:
SVG nest and orientations (0 or 180) or (90 or 270)

Example.zip
Interesting stuff this SVGnest.
I also commented in #15. That was about grain-direction in wood. I repeat my comments here:
In metal sheet industry the requirements are somewhat more complex compared to the wood-grain issue.
Metal sheet proces is as follows: Sheet metal is cut (lasered or punched) Next step is bending on a press brake. For the press-brake it is important that the grain (molecular structure) is in the same direction for all identical parts in the nest. That is a prerequisition to have a consistent bend during the complete batch. In most cases it does not matter if grain is along or perpendicular to bending axis.
Now back to nesting and rotations: Commercial nesting software often has an option to select allowable rotations of a part. Most of the time this is set per part to (0 or 180) or to (90 or 270). This will ensure grain directions for identical parts to be the same. However it does not always produce the best material utilisation. It can be the case that a part (which is set to 0 or 180) will fit better if it were set to (90 or 270) and would result in a better utilisation.
I've not seen commercial nesting software that does provide the option per part: try (0 or 180) and try (90 or 270)
Sadly SVGnest does not provide this option either.
However, having taken a look at Jacks code there is a routine that places parts with the help of a genetic algorithm (GA). I think it is in this section that a code change should be made to accomodate the (0 or 180) or (90 or 270) rules. However I'm totally not into GA. Is there anyone who can help to get this done?
I have included a sample. Start with the "example.svg". Set part distance:10 and enable "explore concave areas". This wil result in a nest like "result.svg" (You might wonder where the 3 indentations in the bin are for: These are the reserved areas where the lasercutter places its clamps to move the metal sheet under the laserbeam) The goal would be to let have the same colored parts the same orientation.
Hopefully someone will be helpfull.

Hello,
I can see your job post in upwork.
I can do it.
I want to discuss the project with you more details.
This my gmail.
vicacc207@gmail.com.
If you don't mind, I hope you invite me to your slack workspace.
How do you think?


text:
No access...

I feel like some people are more equal in this organisation than others...

DONE

authors: Danwhy jrans


text:
Unsatisfied Link Eception

I've added opencv lib to path put I still get this error
run: Exception in thread "main" java.lang.UnsatisfiedLinkError: no jniopencv_core in java.library.path 	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) 	at java.lang.Runtime.loadLibrary0(Runtime.java:870) 	at java.lang.System.loadLibrary(System.java:1122) 	at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1302) 	at org.bytedeco.javacpp.Loader.load(Loader.java:1043) 	at org.bytedeco.javacpp.Loader.load(Loader.java:935) 	at org.bytedeco.javacpp.opencv_core.<clinit>(opencv_core.java:10) 	at java.lang.Class.forName0(Native Method) 	at java.lang.Class.forName(Class.java:348) 	at org.bytedeco.javacpp.Loader.load(Loader.java:994) 	at org.bytedeco.javacpp.Loader.load(Loader.java:951) 	at main.java.me.jakejmattson.facialrecognition.FacialRecognition.main(FacialRecognition.java:30) Caused by: java.lang.UnsatisfiedLinkError: no opencv_imgproc401 in java.library.path 	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) 	at java.lang.Runtime.loadLibrary0(Runtime.java:870) 	at java.lang.System.loadLibrary(System.java:1122) 	at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1302) 	at org.bytedeco.javacpp.Loader.load(Loader.java:1021) 	... 7 more C:\Users\EMPEROR-CUZZY\AppData\Local\NetBeans\Cache\8.2\executor-snippets\run.xml:53: Java returned: 1 BUILD FAILED (total time: 3 seconds)

I have pushed a change swapping the Maven dependency and updating the OpenCV version. You shouldn't have to mess with the path yourself as the dependency used contains the binaries needed to use the library.

Thanks much for your reply.
I've downloaded the update and opened it using Netbeans10. But I get error during building
`BUILD FAILURE
Total time: 3.928 s
Finished at: 2021-02-12T16:39:19+01:00
Final Memory: 8M/34M
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project FacialRecognition: Fatal error compiling: error: invalid target release: 15 -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
`

I've been able to rectify the above error, then another situation
[ WARN:0] global C:\build\master_winpack-bindings-win64-vc14-static\opencv\modules\videoio\src\cap_msmf.cpp (906) CvCapture_MSMF::grabFrame videoio(MSMF): can't grab frame. Error: -2147483638
Exception in thread "main" java.lang.IllegalArgumentException: Width (0) and height (0) must be > 0
	at java.desktop/java.awt.image.SampleModel.<init>(SampleModel.java:126)
	at java.desktop/java.awt.image.ComponentSampleModel.<init>(ComponentSampleModel.java:140)
	at java.desktop/java.awt.image.PixelInterleavedSampleModel.<init>(PixelInterleavedSampleModel.java:87)
	at java.desktop/java.awt.image.Raster.createInterleavedRaster(Raster.java:642)
	at java.desktop/java.awt.image.Raster.createInterleavedRaster(Raster.java:278)
	at java.desktop/java.awt.image.Raster.createInterleavedRaster(Raster.java:212)
	at java.desktop/java.awt.image.ComponentColorModel.createCompatibleWritableRaster(ComponentColorModel.java:2827)
	at java.desktop/java.awt.image.BufferedImage.<init>(BufferedImage.java:420)
	at me.jakejmattson.facialrecognition.ImageFrame.convertMatToImage(ImageFrame.java:229)
	at me.jakejmattson.facialrecognition.ImageFrame.showImage(ImageFrame.java:204)
	at me.jakejmattson.facialrecognition.FacialRecognition.capture(FacialRecognition.java:62)
	at me.jakejmattson.facialrecognition.FacialRecognition.main(FacialRecognition.java:30)

authors: JakeJMattson emperorcuzzy

repo: JakeJMattson/FacialRecognition


text:
Title won't show if you show subtitle first

In the 4.0 beta run the Feature Toggles demo. Press these buttons in order:

Title Display: Hide
Subtitle Display: Show
Title Display: Show

The title is not displayed. It should be. Now press:
a. Subtitle Display: Show
b. Subtitle Display: Hide
The title is displayed now. But showing and hiding the subtitle should't have made any difference.
If you start over and reverse steps 2 and 3, it works ok.

I wonder if this happens with the native action bar too? Crazy use case but awesome little bug!

Happens in native action bar too but only when the title is specified explicitly. http://b.android.com/24034

Going to close this. Since we now proxy to native on 4.0+ I can't fix any bugs like this because the behavior will differ across platforms. However, I did start contributing fixes to AOSP for action bar-related things so I'll try to get to this one so it makes it into the next Android release.

authors: JakeWharton eburnette

repo: JakeWharton/ActionBarSherlock


text:
Container fails to restart until it is recreated

I use Docker Compose to run this mbsync container automatically.
However, after one of the recent updates, I noticed that the container errors out and won't start after I restart my computer. I think it probably happens anytime you stop the container and try to start it again actually.
The only fix is to delete the container and recreate it (docker-compose up -d --force-recreate).
It looks like the problem is that it's trying to add a user group that it already created the first time it ran. I'm guessing it would have the same problem with the user as well if it got that far.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00_bootstrap.sh: executing...
[cont-init.d] 00_bootstrap.sh: exited 0.
[cont-init.d] 00_settimezone.sh: executing...
[cont-init.d] 00_settimezone.sh: exited 0.
[cont-init.d] 10-adduser.sh: executing...
addgroup: group 'abc' in use
[cont-init.d] 10-adduser.sh: exited 1.

I noticed you recently changed the commands used to create the group and user in [10-adduser.sh](https://github.com/JakeWharton/docker-mbsync/blob/trunk/root/etc/cont-init.d/10-adduser.sh), so I suspect the old commands were more tolerant of the group/user already existing and the new ones aren't.

@JakeWharton Don't mean to bug you, but any chance you could take a look at this? It's making the container difficult to use because I have to forcefully recreate it every time I restart my computer. I believe it should be a simple fix since I think I identified the problem above, and it just needs a check not to recreate the same user.
Thank you for creating this Docker image, by the way. It's been a huge help for me with backing up my email.

Sorry this container is more of a self-service setup. I don't really have time to maintain anything here but my own personal usage. I will very happily accept contributions, though!

No problem. I fixed this a while ago in a fork, so I'll submit a PR!

authors: JakeWharton compeek

repo: JakeWharton/docker-mbsync


text:
Add ignore field support

Closes #5

Needs rebased and updated to use new config. I can do it tomorrow unless you get to it first.
Thanks for all this work!

Also we should probably throw a test in now that you've set me up with those!

Definitely! I'll make the changes.

Great stuff!

repo: JakeWharton/uniqtoo


text:
Be PEP 8 conform

Do we want this? How strict do we want to be?
What do we do with line lengths? I'm against 80, maybe 120?

Did some formatting in #16, I think we can do without a Github action for now.
I set the line length to 120.
Going to close it for now, feel free to re-open at any time.

repo: JakobBD/sodym


text:
Update to electron@1.3.1

Updated the test since default params are now supported.

👍

Thanks! Pushed

authors: jhen0409 mattdesl zertosh


text:
Json pair '"obj":,'  deserializes without issue?

Source/destination types
internal class Test1
{
    internal class Test2
    {
        public string dummy { get; set; }
    }
    public Test2 obj { get; set; }
    public string obj2 { get; set; }
}

Source/destination JSON
{"obj":, "obj2":"hello world" }

Expected behavior
I'm not sure if this is valid json or not(different linters/validators give me mixed messages), or if this is working as designed.
I was expecting there to be some sort of exception for this input, but it deserializes successfully.
Assuming this is invalid json, but the library is working as designed, is there JsonSerializerSettings option to control the strictness of the parsing? I looked through the docs and played around with the settings and didn't find anything of the sort.
Actual behavior
Deserializing the above json succeeds, and produces null for obj.
Steps to reproduce
string json = @"{""obj"":, ""obj2"":""hello world"" }";
var v = JsonConvert.DeserializeObject<Test1>(json);

Thanks!

Your souce json is not valid json, specifically this part: "obj":,. There is no zero-length value token in the json specification that would allow a comma to (semantically) follow directly after the : separator of a json property. (You can check the json spec for yourself: https://www.ecma-international.org/publications-and-standards/standards/ecma-404/)
Unfortunately, there is no strict parsing mode in Newtonsoft.Json. While such a feature has not been asked for very often, it has been asked for repeatedly over the years; see here: https://github.com/JamesNK/Newtonsoft.Json/issues/646. I am not sure whether Newtonsoft.Json will ever get a strict mode. But perhaps you could give System.Text.Json a try, whose parsing is stricter than Newtonsoft.Json.  (dotnetfiddle demo of STJ trying to parse your invalid json: https://dotnetfiddle.net/HpyBrC)

string json = @"{""obj"":, ""obj2"":""hello world"" }";
var v = JsonConvert.DeserializeObject(json);

@elgonzo Thanks for the info! Newtonsoft is definitely still my go-to, as this isn't a dealbreaker for my purposes by any means. Will close the issue

authors: ChuDawg aaronggi elgonzo


text:
Added JsonContract.TypeNameHandling property

This PR adds JsonContract.TypeNameHandling property.
Motivation
Having JsonContract.TypeNameHandling property will allow finer control over type name serialization without having to resort to using JsonProperty which is not always possible. (classes outside the developer's control or too many classes)
Background
During a migration of large project spanning hundreds of DTOs to Newtonsoft.Json, I wished to avoid array types from being serialized with type information, while at the same time have object types serialized with type information when appropriate (TypeNameHandling.Auto for object types, and TypeNameHandling.None for array types).
IMO it is not practical nor desirable to add JsonProperty to hundreds of DTOs, and the suggested property allows finer control at the JsonContract level which I believe is the most desirable approach.

This is still very relevant to me and I would really like to move forward with this.

This is still very relevant to me and I would really like to move forward with this.

Thanks @skundlony,
I would really like to move forward with this.

I would really like to move forward with this.


text:
Use MSBuildProgramFiles32 for better dll search

Using MSBuildProgramFiles32 in order to find the referenced dll files is a safer, path indenpendent way which works on all machines

Thanks for the contribution @BrunoSilvaFreire ❤. I'm not currently in a position to test and merge this, but I will be within the next week

Apologies for the delay, don't have a working installation of C:S atm so haven't been able to test.

Hi @BrunoSilvaFreire, apologies again for the delay on this
I am going to close this PR as I have chosen to address the problem in a different way with #16 (30f97f2d170f1ee6a3ef7988b68ba96128f66d2d). Your solution didn't quite work for me, as my Steam games (and thus the dlls) are not stored on my main drive.
Please feel free to let me know if the vendor folder solution doesn't work for you, and thanks for the contribution

authors: BrunoSilvaFreire Jameskmonger


text:
Unnecessary seed data

Is your feature request related to a problem? Please describe.
After Jans Cloud Native install I find some seed data which is not required, like oxTtrust Client Id or even seed Admin user.
Describe the solution you'd like
Relocate creation of seed data to services that need it, like Client Id and Admin user should be created by oxTrust when installed.
Additional context
NOTE: The Auth Server should not require a admin user as it could be exclusively used in a machine-to-machine scenario.

These are placeholders for the coming Admin UI. oxTrust related entries will be removed.

Still, these entities should only be created if Admin UI is installed.

These are placeholders for the coming Admin UI. oxTrust related entries will be removed.

Still, these entities should only be created if Admin UI is installed.

repo: JanssenProject/jans-cloud-native


text:
Manual merge from old Akujin/Emergence plus new changes made to the main branch for namespaces

-Includes a tool to import zip into the Emergence file system for an
empty site from CLI
-Includes a tool to erase a site's Emergence file system from CLI
-Added a custom error handler option for most DB functions to allow
custom handling for SQL errors. This allows features like automatic
table creation by ActiveRecord if a table is not found.
-New Emergence namespace for all classes
-EmergenceIO class now automatically detects if it's running in a CLI
and will write progress to CLI.
-PSR-0 autoloader support for the class loader in Site class.
-SiteFile will now throw better errors when Site::$rootPath is not
writable.

Many of these features were independently developed and added to Emergence long ago.
The command line tools for pulling the VFS to zip still has value as an automated backup solution.
Ditto for the tool to clear the VFS. Mostly for debugging purposes when working on Emergence itself.

@Akujin let me handle merging your PRs into JarvusInnovations:master going forward, we need a review and feedback process in front of anything hitting master. Just open a PR and I'll get notified.
I'll also implement a proper semantic release versioning workflow soon.
Reopening this issue until I have a chance to review

authors: Akujin themightychris

repo: JarvusInnovations/Emergence


text:
Added Jetty https config

Allows one to run mvn jetty:run-forked directly from the webapp with the https connectors built in on port 8443. Requires a thekeystore file at etc/cas/jetty.
Very helpful for automated deployments and or dockerized CAS instances.
Relevant for #1215

And it starts quickly? No annotation scanning delay?

Nope. Appears to be much faster that Tomcat. Now, I run run-forked. If you simply run run, that takes considerably longer.
On my MBP, it takes about 10 seconds to fully start up.

To clarify, it does annotation scanning, but it goes much faster. Maybe it's jetty, maybe it's MBP. Not sure yet.
We do have this config built in for the plugin as well
<systemProperty>
      <name>org.eclipse.jetty.annotations.maxWait</name>
      <value>240</value>
</systemProperty>

Thanks for the tip. I'll try to use run-forked. For the annotation scanning, I updated the web.xml to avoid the issue.

what change did you make to the web.xml?

<absolute-ordering/> maybe?

Yes, but I also added: metadata-complete="true" in the web-app tag ;-) Magic...

Ah, cool! Would it cause problems if we added that tag to the main web.xml? Or did you add it to an override web.xml? I have always done the latter.

It was not completely sure about the potential side effects, so I just added it my web.xml overlay.

OK. I'll apply the same change here then.

added the web.xml file. We are good here.

authors: leleuj mmoayyed

repo: Jasig/cas