text:
Alpha testing thread for nexrender binaries

Hello,
Thanks for making this project, it's so helpful !
I saw you published v1.0 alpha and decided to try it, but when I want to launch either nexrender-worker or nexrender-server bin, it crashes.
Here are the logs I got :
./nexrender-server-macos

pkg/prelude/bootstrap.js:1178
      throw error;
      ^

Error: Cannot find module 'arg'
1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:592:15)
    at Function.Module._resolveFilename (pkg/prelude/bootstrap.js:1280:46)
    at Function.Module._load (internal/modules/cjs/loader.js:518:25)
    at Module.require (internal/modules/cjs/loader.js:648:17)
    at Module.require (pkg/prelude/bootstrap.js:1159:31)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/snapshot/nexrender-server/src/bin.js:0:0)
    at Module._compile (pkg/prelude/bootstrap.js:1254:22)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:711:10)
    at Module.load (internal/modules/cjs/loader.js:610:32)

^ I had this one on macOS and on Windows. ^
./nexrender-worker-macos

> starting nexrender-worker endpoint http://localhost:3000; using secret: no
using automatically determined directory of After Effects installation:
 - /Applications/Adobe After Effects CC 2019/aerender
adding default render-only-node license for After Effects at:
 - /Users/guillaume/Documents/Adobe/ae_render_only_node.txt
checking After Effects command line renderer patch...
backing up original command line script to:
 - /Applications/Adobe After Effects CC 2019/Backup.Scripts/Startup/commandLineRenderer.jsx
patching the command line script
(node:9927) UnhandledPromiseRejectionWarning: Error: EACCES: permission denied, open '/Applications/Adobe After Effects CC 2019/Scripts/Startup/commandLineRenderer.jsx'
    at Object.fs.openSync (fs.js:579:3)
    at Object.fs.openSync (pkg/prelude/bootstrap.js:483:32)
    at Object.fs.writeFileSync (fs.js:1309:33)
    at writeTo (/snapshot/nexrender/packages/nexrender-worker/node_modules/@nexrender/core/src/helpers/patch.js:0:0)
    at module.exports (/snapshot/nexrender/packages/nexrender-worker/node_modules/@nexrender/core/src/helpers/patch.js:0:0)
    at init (/snapshot/nexrender/packages/nexrender-worker/node_modules/@nexrender/core/src/index.js:0:0)
    at start (/snapshot/nexrender/packages/nexrender-worker/src/index.js:0:0)
    at Object.<anonymous> (/snapshot/nexrender/packages/nexrender-worker/src/bin.js:0:0)
    at Module._compile (pkg/prelude/bootstrap.js:1254:22)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:711:10)
(node:9927) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:9927) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Did I miss something or is it a bug ?
Thanks !

Thanks for your reply !
All right, it's an alpha after all :)
For the second one, I don't know if a chmod to the current user could broke something on the AE side ? After a chmod the bin is launching normally, but I don't know if AE will be happy with it.

chmod is actually a good idea, probably wont work on windows tho

Oops, I mixed up chmod and chown... I meant chown. I tried to chown the file to myself and worked on my computer at work. It worked too on my personal computer but now I have this error (for the worker) :
./nexrender-worker-macos --host=http://localhost:8000

> starting nexrender-worker endpoint prout; using secret: yes
using automatically determined directory of After Effects installation:
 - /Applications/Adobe After Effects CC 2018/aerender
adding default render-only-node license for After Effects at:
 - /Users/harrylafranc/Documents/Adobe/ae_render_only_node.txt
checking After Effects command line renderer patch...
backing up original command line script to:
 - /Applications/Adobe After Effects CC 2018/Backup.Scripts/Startup/commandLineRenderer.jsx
patching the command line script
TypeError: Only absolute URLs are supported
    at getNodeRequestOptions (/snapshot/nexrender/packages/nexrender-worker/node_modules/@nexrender/api/node_modules/node-fetch/lib/index.js:1293:9)
    at fetch.isRedirect (/snapshot/nexrender/packages/nexrender-worker/node_modules/@nexrender/api/node_modules/node-fetch/lib/index.js:1393:19)
    at new Promise (<anonymous>)
    at fetch (/snapshot/nexrender/packages/nexrender-worker/node_modules/@nexrender/api/node_modules/node-fetch/lib/index.js:1390:9)
    at wrappedFetch (/snapshot/nexrender/packages/nexrender-worker/node_modules/@nexrender/api/src/index.js:0:0)
    at Object.listJobs (/snapshot/nexrender/packages/nexrender-worker/node_modules/@nexrender/api/src/job.js:0:0)
    at nextJob (/snapshot/nexrender/packages/nexrender-worker/src/index.js:0:0)
    at start (/snapshot/nexrender/packages/nexrender-worker/src/index.js:0:0)
    at Object.<anonymous> (/snapshot/nexrender/packages/nexrender-worker/src/bin.js:0:0)
    at Module._compile (pkg/prelude/bootstrap.js:1254:22)

However, the server seems to work fine ! Thanks for the fix :)

well something went wrong with host url parameter
it shouldn't say "endpoint prout;", and as far as i see form command line you are not using secret
seems like it got corrupted somehow
i just tested it locally, everything seems to work fine
could you please try to $ crc32 nexrender-worker-macos, maybe the binary didn't download properly

Well in fact I launched the worker with the secret "prout", I just missed the copy/paste. I launched this : ./nexrender-worker-macos --host=http://localhost:8000 --secret=prout
The crc32 returned this : 5c32853e

ok that issue is fixed too, binaries are being assembled
it was quite a silly mistake from my side

i ended up adding a big error message mainly for win and also probably for mac, if the chmod wont work

Thanks for your fast replies and fixes ! I'll try this out today and let you know if I find anything else !

Hey,
Just a note on the README file, on "Using API" in the example, there is a bracket at the wrong place :
result.on('finished', job) => console.log('project rendering finished'))

should be
result.on('finished', job => console.log('project rendering finished'))

oh yes, thank you

Also, it seems that when downloading assets from a https URL, the worker crashes :
[GCLwxpMu4_y8epl_k_BEo] error occurred: Error: unknown URI protocol provided: https
    at download (C:\snapshot\nexrender\packages\nexrender-worker\node_modules\@nexrender\core\src\tasks\download.js:0:0)
    at module.exports.promises.concat.job.assets.map.asset (C:\snapshot\nexrender\packages\nexrender-worker\node_modules\@nexrender\core\src\tasks\download.js:0:0)
    at Array.map (<anonymous>)
    at module.exports (C:\snapshot\nexrender\packages\nexrender-worker\node_modules\@nexrender\core\src\tasks\download.js:0:0)
    at module.exports (C:\snapshot\nexrender\packages\nexrender-worker\node_modules\@nexrender\core\src\helpers\state.js:0:0)
    at Promise.resolve.then.then.job (C:\snapshot\nexrender\packages\nexrender-worker\node_modules\@nexrender\core\src\index.js:0:0)
    at process._tickCallback (internal/process/next_tick.js:68:7)

yes, indeed

pushed a fix

Awesome, thanks a lot !

just a quick note:
as of alpha-10, the size of the nexrender-cli-macos binary was ~43MB.  Since then, it's ballooned to ~163MB.

yep, it now includes binary for ffmpeg (action-encode)
and unfortunately for now it has both macos and win32 binaries inside
i havent yet figured out a way to include only one of them

Because I provided wrong composition name I am getting following error which is wrong[I am running though worker)
Wrong message:
Error:=>Error: Error loading postrender module @nexrender/action-encode: Error: Error in action-encode module (ffmpeg)
[DglwAofZLyDw5QU_R8vVk] error occurred: Error: Error loading postrender module @nexrender/action-encode: Error: Error in action-encode module (ffmpeg)
Right Message [Commnad Line Renderer]
ERROR: No comp was found with the given name.
https://github.com/inlife/nexrender/blob/master/packages/nexrender-core/src/assets/commandLineRenderer.jsx
Question
How can I get these messages in worker so that I can handle them in right way

Error handling is a bit rough atm, I hope we will find a way to work it out more properly in the next updates.

authors: HarryLafranc egradman inlife itsnaresh


text:
fix notification clear button (#4692)

Pull request opened by the merge tool on behalf of #4692

Merged in 11e05ce846853b6d3da02ea7da630199be5b2b2c

source: gharchive/pull-request

repo: inmanta/web-console

license_type: permissive

license_source: github-api


text:
chore: update google-cloud-datastore from 2.2.9 to 2.3.0

Updates com.google.cloud:google-cloud-datastore from 2.2.9 to 2.3.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.cloud", artifactId = "google-cloud-datastore" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #147.


text:
Update push_notification_app_fragment.xml

Fixed backgrounds

ahh, you left a PR when I was cleaning up VancedMicroG's code
Since the cleanup process is still in progress, I will manually merge
by the way, thank you for your contribution

👌


text:
feat(storybook): add Color palette storybook feature

Closes #1138
Proposed Changes
added new ColorPalette and ColorItem feature from storybook to replace our old Colors docs
Preview:

Could you resolve the conflicts @TobiasHeimGalindo ?

Could you resolve the conflicts @TobiasHeimGalindo ?

done

authors: TobiasHeimGalindo janivo

repo: inovex/elements

license: MIT


text:
Gifs and Images on Notes

Description
Notes that have an image link (including gifs) now automatically display that image. A little indicator shows when a link will be converted.
Changelog

added check if note text is an image link, if so display that image on note
added indicator showing when a link will be converted
fixed missing english translation for board access policy on board header

Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] The light- and dark-theme are both supported and tested
[x] The design was implemented and is responsive for all devices and screen sizes
[x] The application was tested in the most commonly used browsers (e.g. Chrome, Firefox, Safari)

Visual Changes

This seems to work quite well for the image extensions as defined in the code.
During testing with various media sources, I noticed that many sites (for instance Reddit) like to pretend the file is a GIF, when it's actually a mp4.
This leads to the following url being displayed just as text: https://preview.redd.it/fl4puwzxt9ha1.gif?format=mp4&v=enabled&s=8a0346424b448ba342c09dcc5629e04d8e0171c2

Removing the query params in the url (https://preview.redd.it/fl4puwzxt9ha1.gif) results in this:

Now I tried to dig into into it a little and stumbled upon this article: https://cloudinary.com/blog/evolution_of_img_gif_without_the_gif
According to above article, you might be able to use something like this
<video autoplay loop muted inline>
  <source src="eye-of-the-tiger-video.webm" type="video/webm">
  <source src="eye-of-the-tiger-video.mp4" type="video/mp4">

</video>

in order to display videos with the option to use a fallback gif. Or maybe use <video> and  for the respective file extension? In any case I think it would be cool if these type of media could be displayed.

This seems to work quite well for the image extensions as defined in the code. During testing with various media sources, I noticed that many sites (for instance Reddit) like to pretend the file is a GIF, when it's actually a mp4. This leads to the following url being displayed just as text: https://preview.redd.it/fl4puwzxt9ha1.gif?format=mp4&v=enabled&s=8a0346424b448ba342c09dcc5629e04d8e0171c2
Removing the query params in the url (https://preview.redd.it/fl4puwzxt9ha1.gif) results in this:
Now I tried to dig into into it a little and stumbled upon this article: https://cloudinary.com/blog/evolution_of_img_gif_without_the_gif
According to above article, you might be able to use something like this
<video autoplay loop muted inline>
  <source src="eye-of-the-tiger-video.webm" type="video/webm">
  <source src="eye-of-the-tiger-video.mp4" type="video/mp4">

</video>

in order to display videos with the option to use a fallback gif. Or maybe use <video> and  for the respective file extension? In any case I think it would be cool if these type of media could be displayed.

Thanks for the feedback! I couldn't get this to work for various reasons as of now. IMO we should add a new issue and try to solve this some time in the future, what do you think?

IMO we should add a new issue and try to solve this some time in the future, what do you think?

@Resaki1 alright, sounds reasonable :)
PS: why can't I reply as a thread, on GitLab there's an option for it but on GitHub it needs to be a review comment I guess? 😅

IMO we should add a new issue and try to solve this some time in the future, what do you think?

@Resaki1 alright, sounds reasonable :)
PS: why can't I reply as a thread, on GitLab there's an option for it but on GitHub it needs to be a review comment I guess? 😅

Yeah, you can only reply as a thread to review comments, not normal ones (which is pretty dumb imo 😅)


text:
Chore/add required md files

Description:
Adding necessary .md files to comply with the requirements of Hyperledger repositories.
Alternatives Considered (optional):
N/A
Checklist:

[x ] My PR follows the contribution guidelines of this project
[x ] My PR is free of third-party dependencies that don't comply with the Allowlist
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x ] I have checked the PR title to follow the conventional commit specification

Code Coverage

Total Project Coverage
88.93%
:x:

:tada: This PR is included in version 1.3.5 :tada:
The release is available on:

v1.3.5
GitHub release

Your semantic-release bot :package::rocket:

authors: atala-dev essbante-io

repo: input-output-hk/atala-prism-apollo


text:
Need help to query an stake address's delegation amount

I am trying to add two columns to the delegations table

previous_pool_hash_id  --- The pool from which the delegator moved. Null, if this is first delegation transaction for a stake address.
stake_amount        ---  total balance present in the stake address during the delegation transaction.

I've already made required change to include previous_pool_hash_id, It's ordered by Id instead of transaction order, but it still works.
cardano-db-sync/src/Cardano/DbSync/Era/Shelly/Query.hs
+  queryLastDelegatedPoolHash :: MonadIO m => StakeAddressId -> ReaderT SqlBackend m (Either LookupFail (Maybe  PoolHashId))
+  queryLastDelegatedPoolHash addr = do
+    res <- select . from $ \ d -> do
+              where_ (d ^. DelegationAddrId ==. val addr)
+              orderBy [desc (d ^. DelegationId)]
+              limit 1
+              pure (d ^. DelegationPoolHashId)
+    case res of
+      [] -> do
+          pure $ Right Nothing
+      x -> do
+          pure $  Right $ Just $ unValue $ head  x

cardano-db-sync/src/Cardano/DbSync/Era/Shelley/Insert.hs
    insertDelegation
        :: (MonadBaseControl IO m, MonadIO m)
        => Trace IO Text -> DbSyncEnv -> DB.TxId -> Word16 -> EpochNo
        -> ShelleyStakingCred -> ShelleyStakePoolKeyHash
        -> ExceptT DbSyncNodeError (ReaderT SqlBackend m) ()
    insertDelegation _tracer env txId idx (EpochNo epoch) cred poolkh = do
      addrId <- firstExceptT (NELookup "insertDelegation")
                    . newExceptT
                    $ queryStakeAddress (Shelley.stakingCredHash env cred)
+
+     previousPoolHashId <-  firstExceptT (NELookup "insertDelegation")
+                                           . newExceptT
+                                           $ queryLastDelegatedPoolHash addrId
      poolHashId <- firstExceptT (NELookup "insertDelegation")
                      . newExceptT
                      $ queryStakePoolKeyHash poolkh
      void . lift . DB.insertDelegation $
        DB.Delegation
          { DB.delegationAddrId = addrId
          , DB.delegationCertIndex = idx
          , DB.delegationPoolHashId = poolHashId
+         , DB.delegationPreviousPoolHashId = previousPoolHashId
          , DB.delegationActiveEpochNo = epoch + 2 -- The first epoch where this delegation is valid.
          , DB.delegationTxId = txId
          }

How do I query the total balance in stake address at that instant?

I am trying to add two columns to the delegations table

Why? You do realize that this would make you modified version incompatible with this version.

previous_pool_hash_id

That can be obtained with an SQL query on the existing database.

stake_amount

That can also be obtained with an SQL query on the existing database.

@mesudip Is this issue resolved? If so, please close the ticket.

@mesudip Is this issue resolved? If so, please close the ticket.

I was aware of the epoch_stake table. I was just confused when actually does the insertion occur.
So the value is updated every block and not at the end of epoch during reward calculation?

I was aware of the epoch_stake table. I was just confused when actually does the insertion occur.
So the value is updated every block and not at the end of epoch during reward calculation?

The epoch_stake table is updated at the start of each epoch.
If we are in epoch N the values in the epoch_stake table for epoch N are the values from when the stake snapshot was taken at the start of epoch N - 1.

The epoch_stake table is updated at the start of each epoch.
If we are in epoch N the values in the epoch_stake table for epoch N are the values from when the stake snapshot was taken at the start of epoch N - 1.

That data should be available in the ledger state. How do query the value from  ledger state in haskell?

That data should be available in the ledger state. How do query the value from  ledger state in haskell?

you can get a JSON dump of the ledger state from the node using a command something like cardano-cli shelley query ledger-state .

you can get a JSON dump of the ledger state from the node using a command something like cardano-cli shelley query ledger-state .

@mesudip Can this be closed?

@mesudip Can this be closed?

Let's say somebody registered a new stake address stake1uxwt57g5k59805exsla94smwdhy8uy748fadeua77pdr5mglnft2u
Where can I find the balance for that address? Do I have to wait until the end of epoch?
cardano-cli provides only the stake distribution for active pools, and balance of reward address of the stakeAddress.

Where can I find the balance for that address?

The balance is not stored directly anywhere. Instead db-sync stores deposits and withdrawals from the rewards account.

Do I have to wait until the end of epoch?

db-sync only adds rewards to the reward table when the rewards can actually be spent. Rewards for epoch N are calculated in the cardano-node 2 days after the start of epoch N + 1 but those rewards cannot be spent until after the start of epoch N + 2. Its is at the start of epoch N + 2 that the rewards are added the database.
To get the rewards for a specific stake address:
select * from reward inner join stake_address on reward.addr_id = stake_address.id
    where stake_address.view = 'stake1.....' ;

To get the withdrawals for the same address:
select * from withdrawal inner join stake_address on withdrawal.addr_id = stake_address.id
     where stake_address.view = 'stake1...' ;

To get the current balance of the reward account it is simply the first minus the second.

@mesudip Have you sorted this out yet?

Closing.

To get the amount delegated and which pool it was delegated to:
> select stake_address.view as stake_address, pool_hash.view as pool, amount as lovelace, epoch_no
      from epoch_stake inner join stake_address on epoch_stake.addr_id = stake_address.id
      inner join pool_hash on epoch_stake.pool_id = pool_hash.id
      where stake_address.view = 'stake1uxwt57g5k59805exsla94smwdhy8uy748fadeua77pdr5mglnft2u'
      order by epoch_no asc;
                        stake_address                        |                           pool                           | lovelace  | epoch_no
-------------------------------------------------------------+----------------------------------------------------------+-----------+----------
 stake1uxwt57g5k59805exsla94smwdhy8uy748fadeua77pdr5mglnft2u | pool1calq8kjzrvp83l80rtvgmulausl99q4tjfkz2lp227vkymd5wgg | 142725567 |      250
 stake1uxwt57g5k59805exsla94smwdhy8uy748fadeua77pdr5mglnft2u | pool1calq8kjzrvp83l80rtvgmulausl99q4tjfkz2lp227vkymd5wgg | 142725567 |      251
 stake1uxwt57g5k59805exsla94smwdhy8uy748fadeua77pdr5mglnft2u | pool1calq8kjzrvp83l80rtvgmulausl99q4tjfkz2lp227vkymd5wgg | 142725567 |      252
 stake1uxwt57g5k59805exsla94smwdhy8uy748fadeua77pdr5mglnft2u | pool1calq8kjzrvp83l80rtvgmulausl99q4tjfkz2lp227vkymd5wgg | 142805683 |      253
 stake1uxwt57g5k59805exsla94smwdhy8uy748fadeua77pdr5mglnft2u | pool1calq8kjzrvp83l80rtvgmulausl99q4tjfkz2lp227vkymd5wgg | 142885847 |      254
 stake1uxwt57g5k59805exsla94smwdhy8uy748fadeua77pdr5mglnft2u | pool1calq8kjzrvp83l80rtvgmulausl99q4tjfkz2lp227vkymd5wgg | 143001638 |      255
(6 rows)

source: gharchive/issue

authors: erikd mesudip

repo: input-output-hk/cardano-db-sync


text:
Problem with FromCBOR [a] Shelley vs Byron

The (instance ToCBOR a => ToCBOR [a]). This uses the Begin .. End encoding,
While encodeList uses the list-length encoding.
--     toCBOR [5::Int,2]     --> [TkListBegin,TkInt 5,TkInt 2,TkBreak].
--     encodeList [5::Int,2] --> [TkListLen 2,TkInt 5,TkInt 2]
The (instance FromCBOR a => FromCBOR [a]) will ONLY RECOGNIZE THE BEGIN END ENCODING.
But the decoder (decodeList fromCBOR) will recognize both styles of encoding. So in a decoder for a FromCBOR instance it is always preferable to use (decodeList fromCBOR) over (fromCBOR)
For example we could write either of these 2 lines
--       2 -> do { l <- decodeList fromCBOR; pure(2,C l) }
--       2 -> do { l <- fromCBOR; pure(2,C l) }
Because THE FIRST IS MORE GENERAL.
This distinction flows from the Byron need to be cannonical
If this was not the case we could just fix the following instance:
-- instance FromCBOR a => FromCBOR [a]
-- Defined in ‘cardano-binary-1.5.0:Cardano.Binary.FromCBOR’
How do we fix this without messing up Byron?

I think the only thing we can really do is switch to using encodeList and decodeList from Shelley onward. We have a similar issue with maps.

authors: JaredCorduan TimSheard

repo: input-output-hk/cardano-ledger


text:
Bump the dependency on ouroboros-network and port recent changes

As ouroboros-network bumps its dependencies on some packages as well as
GHC (8.6.4 -> 8.6.5), we have to follow suit.

Pushed (no changes) again to trigger CI.

bors r+

We should probably check that the demo scripts are still working

bors r+

bors r+

authors: CodiePP Jimbo4350 mrBliss ruhatch

repo: input-output-hk/cardano-node


text:
[CBR-364] 'listAddresses' and 'validateAddress' implemented with the new data layer

Description
This PR implements 'listAddresses' and 'validateAddress' with the new data layer
Linked issue
https://iohk.myjetbrains.com/youtrack/issue/CBR-364
Type of change

[ ] 🐞 Bug fix (non-breaking change which fixes an issue)
[ ] 🛠 New feature (non-breaking change which adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🏭 Refactoring that does not change existing functionality but does improve things like code readability, structure etc
[ ] 🔨 New or improved tests for existing code
[ ] ⛑ git-flow chore (backport, hotfix, etc)

Developer checklist

[ ] I have read the style guide document, and my code follows the code style of this project.
[ ] If my code deals with exceptions, it follows the guidelines.
[ ] I have updated any documentation accordingly, if needed. Documentation changes can be reflected in opening a PR on cardanodocs.com, amending the inline Haddock comments, any relevant README file or one of the document listed in the docs directory.
[ ] CHANGELOG entry has been added and is linked to the correct PR on GitHub.

Testing checklist

[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

QA Steps

Screenshots (if available)

Dealt with the fallout of the rebase, will merge this once CI is green. Tests are tracked in a separate ticket at https://iohk.myjetbrains.com/youtrack/issue/CBR-371.

authors: adinapoli-iohk edsko

repo: input-output-hk/cardano-sl


text:
[feature] Support reward history API

As @feraldruid22 and @nikolaglumac talked about the feature of reward history displaying on wallets(e.g. Daedalus) in Daedalus issue(https://github.com/input-output-hk/daedalus/issues/2347).
We might need this project to offer an API to implement the feature:

The number of staking rewards (at least the last 10 epochs) should be displayed in a table with the stake pool name so we can track the exact amount of rewards per epoch. Right now it is just an overall reward what you made.

Hi, this is unfortunately not possible due to the very nature of the wallet. In order to calculate rewards and reward history, one needs to maintain the entire ledger state. However, the wallet only has a user-centric view of the ledger state, that is, it only maintains UTxO that belongs to it.
Note that even the node / ledger isn't able to go as far back in the past. The UTxO is an ever evolving graph, and it gets folded along the way with every new block application. Maintaining an history of past UTxO state would be very costly on storage and memory. So the ledger keeps nothing more than what's necessary to accommodate chain forks and to calculate the leader schedule, but nothing beyond.
We've however discussed this feature several time within teams and this is something which would better be done by an explorer-like software, which has actually access to the entire chain history.

authors: JasinYip KtorZ

repo: input-output-hk/cardano-wallet


text:
[DDW-534, DDW-455] Update to Electron 3 and implement "instance-lock" feature, Improve lock-file UX

This PR updates to Electron 3 which includes the requireSingleInstanceLock feature, which hopefully works more reliable than our lock file logic.
This PR improves the lock file mechanism UX when the user tries to launch a secondary Daedalus instance. Now it focuses the first window after exiting the second one (originally implemented in https://github.com/input-output-hk/daedalus/pull/1226 - but never merged).

Review Checklist:
Basics

[ ] PR is updated to the most recent version of target branch (and there are no conflicts)
[ ] PR has good description that summarizes all changes and shows some screenshots or animated GIFs of important UI changes
[ ] CHANGELOG entry has been added and is linked to the correct PR on GitHub
[ ] Automated tests: All acceptance tests are passing (yarn run test)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in development build (yarn run dev)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in production build (yarn run package / CI builds)
[ ] There are no flow errors or warnings (yarn run flow:test)
[ ] There are no lint errors or warnings (yarn run lint)
[ ] Text changes are proofread and approved (Jane Wild)
[ ] There are no missing translations (running yarn run manage:translations produces no changes)
[ ] UI changes look good in all themes (Alexander Rukin)
[ ] Storybook works and no stories are broken (yarn run storybook)
[ ] In case of dependency changes yarn.lock file is updated

Code Quality

[ ] Important parts of the code are properly documented and commented
[ ] Code is properly typed with flow
[ ] React components are split-up enough to avoid unnecessary re-rendering
[ ] Any code that only works in Electron is neatly separated from components

Testing

[ ] New feature / change is covered by acceptance tests
[ ] All existing acceptance tests are still up-to-date
[ ] New feature / change is covered by Daedalus Testing scenario
[ ] All existing Daedalus Testing scenarios are still up-to-date

After Review:

[ ] Merge PR
[ ] Delete source branch
[ ] Move ticket to done on the Youtrack board

@DmitriiGaico i tested this on Windows and it worked correctly for me! 🎉

Before merging this we need to merge this one: https://github.com/input-output-hk/daedalus/pull/1219 - for which I need approval from @darko-mijic...

@daniloprates I have tested the Windows installers and it looks like Daedalus doesn't start at all anymore :(
Can you please check this tomorrow? 🙏

@daniloprates I have tested the Windows installers and it looks like Daedalus doesn't start at all anymore :(
Can you please check this tomorrow? 🙏

@nikolaglumac little conceptual mistake. I'll test on windows tomorrow morning.

@daniloprates thanks for the quick fix!
I have tested it on Windows and it works great 🎉
The only issue is that our acceptance tests don't work anymore :(

authors: DominikGuzei daniloprates nikolaglumac

repo: input-output-hk/daedalus


text:
Specify property update payload can't be replayed

Update messages shouldn't be replayed. We should:

[ ] Specify this property formally.
[ ] Write tests for it
[ ] Adapt the executable spec to make sure the tests pass

This is not a responsibility of the update layer. We use the replay protection provided by the ledger layer. See the Shelley design spec for details on how replay protection is achieved.


text:
Optimise query get pool distr

Description
Improve the performance of GetPoolDistr by implementing it with calculatePoolDistr' instead of calculatePoolDistr.
No interface changes.
Checklist

Branch

[ ] Commit sequence broadly makes sense
[ ] Commits have useful messages
[ ] New tests are added if needed and existing tests are updated
[ ] If this branch changes Consensus and has any consequences for downstream repositories or end users, said changes must be documented in interface-CHANGELOG.md
[ ] If this branch changes Network and has any consequences for downstream repositories or end users, said changes must be documented in interface-CHANGELOG.md
[ ] If serialization changes, user-facing consequences (e.g. replay from genesis) are confirmed to be intentional.

Pull Request

[ ] Self-reviewed the diff
[ ] Useful pull request description at least containing the following information:

What does this PR change?
Why these changes were needed?
How does this affect downstream repositories and/or end-users?
Which ticket does this PR close (if any)? If it does, is it linked?

[ ] Reviewer requested

bors r+

repo: input-output-hk/ouroboros-network


text:
feat: extract partner-chain commands to a separate crate for easier integration

Description
Add your description here, if it fixes a particular issue please provide a
link
to the issue.
Checklist

[x] Commit sequence broadly makes sense and commits have useful messages.
[ ] New tests are added if needed and existing tests are updated.
[ ] Relevant logging and metrics added
[x] CI passes. See note on CI.
[x] Any changes are noted in the changelog.md for affected crate
[x] Self-reviewed the diff

Note on CI
If your PR is from a fork, the necessary CI jobs won't trigger automatically for security reasons.
You will need to get someone with write privileges.  Please contact IOG Partner Chains developers to do this
for you.

I will merge it after v1.1.0

Closed due CI changes, reopened to check if CI will run status checks.

repo: input-output-hk/partner-chains


text:
SCP-1664: Plutus Ledger API

First attempt at an interface module for the ledger team.
I had to do a lot of moving becuase we want the dependencies of this
package to be as minimal as possible, in particular we really don't want
it to depend on the plugin (which plutus-ledger does), or things like
servant or iots-export.
Not 100% done yet, but roughly on the right lines.

Pre-submit checklist:

Branch

[ ] Commit sequence broadly makes sense
[ ] Key commits have useful messages
[ ] Relevant tickets are mentioned in commit messages

PR

[ ] Self-reviewed the diff
[ ] Useful pull request description
[ ] Reviewer requested

If you updated any cabal files or added Haskell packages:

[ ] $(nix-build default.nix -A plutus.updateMaterialized) to update the materialized Nix files
[ ] Update hie-*.yaml files if needed

If you changed any Haskell files:

[ ] $(nix-shell shell.nix --run fix-stylish-haskell) to fix any formatting issues

If you changed any Purescript files:

[ ] $(nix-shell shell.nix --run fix-purty) to fix any formatting issues

Pre-merge checklist:

[ ] Someone approved it
[ ] Commits have useful messages
[ ] Review clarifications made it into the code
[ ] History is moderately tidy; or going to squash-merge

List of non-obvious changes:

Moving a bunch of instances to be orphans in plutus-ledger to avoid dependencies from plutus-ledger-api
Renamed a constructor in Ledger.Typed.Scripts because it was conflicting (I actually can't figure out why this wasn't a problem before).
Alphabetized the package lists in cabal.project and stack.yaml (it was annoying me :p)
Regenerated the hie.yaml files.
Added Pretty instance for machine errors to make life easier

List of non-obvious changes:

Moving a bunch of instances to be orphans in plutus-ledger to avoid dependencies from plutus-ledger-api
Renamed a constructor in Ledger.Typed.Scripts because it was conflicting (I actually can't figure out why this wasn't a problem before).
Alphabetized the package lists in cabal.project and stack.yaml (it was annoying me :p)
Regenerated the hie.yaml files.
Added Pretty instance for machine errors to make life easier

Okay, added another non-obvious change:

The purescript bridge seems to "see through" to the module where something is defined, so I had to change lots of things to refer to the V1 version. Maybe we can fix that later.

Okay, added another non-obvious change:

The purescript bridge seems to "see through" to the module where something is defined, so I had to change lots of things to refer to the V1 version. Maybe we can fix that later.

Let's go with this for now, we'll have to iterate anyway.

Let's go with this for now, we'll have to iterate anyway.

repo: input-output-hk/plutus


text:
Batch Merkle Proof

Hi @kushti, this is the basic implementation of batch merkle proof (compact merkle multiproof) based on this paper.
While still incomplete, I was hoping to get a few eyes on this to see if I am headed in the right direction.
It seems to traverse the tree correctly when building and validating the proof, but I am still having an issue with the root hash matching during verification.  Also, some of the code is a bit crude and needs to be cleaned up a bit.

This is now ready for review.

repo: input-output-hk/scrypto


text:
Sync or export/import settings

Would be great to quickly get the same settings on all your computers. Sync would be preferred, but event a simple import/export with e.g. JSON to copy and paste would already help.

This doc is 8yo (!) but it says different device types (mobile / desktop) won't get extension settings synced: https://wiki.mozilla.org/Services/Sync/Addon_Sync

Oh, I didn't mean mobile. I meant e.g. between home and work desktop or desktop and laptop.

Yeah, gotcha. I was just settings expectations (assuming the doc is still current).
To the point of this issue, I believe it's a matter of using the correct storage.sync API for storing preferences:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/sync
https://developer.chrome.com/docs/extensions/reference/storage/#storage-areas
instead of storage.local which by design won't be synced across devices:
https://github.com/insin/tweak-new-twitter/blob/master/options.js#L370
Hell, this is probably a 9 byte diff fix. :smile:

+1 for desktop import / export .JSON (or whatever) and optional sync. It would be cool if I could store an export file into my password manager and whenever I play around with new browsers I can more easily use this plugin.

[x] Export - currently in the debug options (click the last paragraph in the options 5 times to reveal)
[ ] Import - WIP: https://github.com/insin/control-panel-for-twitter/tree/import-config
[ ] Expose in new options section

+1 for this. The experience of applying the settings across multiple browsers is time consuming. Would be much better if we could export the settings and import them on the extension in another browser. Check out how Untrap does it. Something like that would be perfect.

+1 for this, would love to just be able to export/import settings, don't need sync if it's too hard to add

authors: ThiefMaster biast12 grand-lotus-iroh insin marlonjames71 zopieux

repo: insin/control-panel-for-twitter


text:
Avoid deepcopies in marshmallow schemas

From https://inspirehep.zulipchat.com/#narrow/stream/122202-devel/topic/migration.20profiling/near/217984830.
We are deepcopying the input object in every marshmallow schema due to https://github.com/inspirehep/inspirehep/blob/e4fd6b57fe2ccf78a315f4e0c0b33dd0e3a0d263/backend/inspirehep/records/marshmallow/base.py#L54
Unsurprisingly, this is expensive. The deepcopy is currently needed because some schemas are mutating their input, but it's probably better to fix those in order not to perform mutation rather than calling deepcopy all the time, or only make a shallow copy when needed instead of a systematic deepcopy.

It seems possible to replace deepcopy here with copy and in latex schema replace copy here and here with deepcopy
A small improvement which might fasten the serialization is to not deepcopy here but in case when we don’t receive inspire record (it has no attribute model) we might replace deepcopy with obj_copy = orjson.loads(orjson.dumps(obj)) (reference).

It seems possible to replace deepcopy here with copy and in latex schema replace copy here and here with deepcopy
A small improvement which might fasten the serialization is to not deepcopy here but in case when we don’t receive inspire record (it has no attribute model) we might replace deepcopy with obj_copy = orjson.loads(orjson.dumps(obj)) (reference).

authors: MJedr michamos

repo: inspirehep/inspirehep


text:
journals: fix lowercase_journal_titles type

Signed-off-by: Harris Tzovanakis me@drjova.com

@michamos done

@michamos I have added a test that covers explicity for white spaces as well


text:
Updates for system config and miscellaneous changes. - [closed]

In GitLab by @wknet123 on Dec 5, 2017, 08:43
Merges dev-auth-mode-detector -> dev

In GitLab by @wknet123 on Nov 13, 2019, 10:14
the build is FAILED console log

In GitLab by @wknet123 on Nov 13, 2019, 10:14
closed

repo: inspursoft/board


text:
Admin:there are two same users

In GitLab by @tmon546596046 on Mar 20, 2018, 16:09
Now when you create a service, you must fill a port number.But if a container is not a server and it don't listen any port, there is no port number to fill the field.

In GitLab by @yhua123 on Nov 8, 2019, 07:48
duplicate #1025

In GitLab by @sokril on Nov 8, 2019, 08:19
closed

In GitLab by @sokril on Nov 8, 2019, 08:19
assigned to @wknet123


text:
create a service with exist images, in step "Configure Service", the "next" button unavailable

In GitLab by @yhua123 on Dec 7, 2017, 17:54

In GitLab by @sokril on Nov 8, 2019, 07:43
fixed with pr#763

In GitLab by @sokril on Nov 8, 2019, 08:16
closed

In GitLab by @sokril on Nov 8, 2019, 08:16
assigned to @sokril


text:
Custom policy, mapping policies, parameter sharing

Hello everyone,
Firstly, I would like to thank you for this open source initiative, it looks promising!
I haven't found any forum to discuss, so I ask several questions regarding this library here (let me know if I have to ask elsewhere):

Is it possible to implement a custom policy, which is not meant to be trained, like RLLIB does through the use of "policies", "policy_mapping" and "policies_to_train" (e.g. a random policy : https://github.com/ray-project/ray/blob/master/rllib/examples/policy/random_policy.py) ?
I have an interest of using two policies, for two types of agent. I saw, for example at the MAPPO algorithm, the "agent_net_keys" attribute : https://github.com/instadeepai/Mava/blob/cbdbf6a90a3750428f29cc5e893ad67b54d6cee8/mava/systems/tf/mappo/builder.py#L44
But I don't know how to use it, and I haven't found any code example or documentation regarding this possibility. Do you have a minimalist code?
Does Mava able to train several agent, but they share the same policy (parameter sharing). The learning is centralized, while the execution is decentralized / distributed?
Finally, is there a way to export the tensorflow model from the checkpoint to use it outside the Mava environment? I'm not a tensorflow expert, but I don't find any .meta file on the checkpoint folder (like it is proposed here : https://gist.github.com/zhanwenchen/d628ef70e9f76525fd47d6213c30730d). Is there a way to create it?

I deeply thank you in advance for your reading and answers!

Hey @KiloNovemberDelta. Thanks for all your questions. I will do my best to try and respond to all of them.
1.) At the moment all the agents need to be executing a policy that gets sent to the trainer. So currently if you want to add a fixed agent you will have to wrap the environment. Therefore Mava only sees the agents with policies that should be trained on. This is what I currently do I my own work using Mava. The environment wrapper then internal handles the actions of the fixed agents. But I understand that this is not ideal. I have therefore added the request to support fixed algorithms and even policies of multiple algorithms (MAPPO + MADQN) to our Mava wishlist.
2.) Yes I can definitely share a code example depending on what you are interested in. Do you want to use e.g. MAPPO with two different network policies (e.g. "network_1", "network_2")? Here you can simply specify the two agents' networks by specifying e.g.: agent_net_keys={"agent_1": "network_1", "agent_2": "network_2"} when you are creating your system.
3.) Shared weights is an option Mava. By using agent_net_keys you can specify what networks each agent uses. So if each agent in the environment is pointing to the same network e.g. "network_1", then they are sharing the same policy. Otherwise you always just set the shared_weights argument in the system to true. This will automatically make all the agent share their weights. We also do support centralised training with decentralised execution. With centralised training, we e.g. provide the option for the critic to take in observations and actions from all the agents at training time. The policies still remain decentralised and only act on their local observations.
4.) I am not sure about exporting the model that is stored inside the checkpoint. I have reached out about this issue in our internal group. @KaleabTessera @arnupretorius Any thoughts here?

Thank you for this detailed answers, it is quit clear!
Regarding the question 4, I'm used to export the model (with Rllib) to evaluate the trained policy and compare it with other method using some evaluation criteria, which differ from rewards (e.g. how long agents take to complete the mission). Do you have a way in mind to perform this evaluation with Mava?

Hi @KiloNovemberDelta , thanks for your questions!
Just to add some minor points to @DriesSmit  great reply:

You could implement a custom policy like make_custom_network in https://github.com/instadeepai/Mava/blob/develop/examples/quickstart.ipynb , and then set all layers to not trainable like this :

for layer in policy_network._layers:
      layer.trainable = False

It will still be send to our trainer, but I think the weights will be fixed. Not sure if that meets your use-case?

We tf2_savers.Checkpointer to automatically checkpoint and load our models and other saved state data. To export the model to tensorflow, you would need to load the checkpoint, get the model and then use tensorflow save model .
Here is a possible example:

from mava.systems.tf import savers as tf2_savers
import tensorflow as tf
import sonnet as snt

# Original  network config, e.g.
policy_network = snt.Sequential([
        snt.Linear(output_size=100),
        tf.nn.relu
])
# Check saved name of the policy used when saving checkpoint e.g. https://github.com/instadeepai/Mava/blob/cbdbf6a90a3750428f29cc5e893ad67b54d6cee8/mava/systems/tf/maddpg/training.py#L200
checkpointer = tf2_savers.Checkpointer( objects_to_save={'policy':policy_network},directory=directory)
checkpointer.restore()

# Tensorflow save model - following https://github.com/deepmind/sonnet#tensorflow-saved-model
policy_network.all_variables = list(policy_network.variables)
tf.saved_model.save(policy_network, save_location)

Hello @KaleabTessera , thank you for this answer!

It is an interesting point, however I have an interest to have a custom "formal" policy, written by hand, and not neural network trained policy. Because I'm using PettingZoo, I'm looking for a way to write this formal policy only for a certain type of agent A, while the other type of agent B are trained. I can try to write the behavior of the agent A directly in the PettingZoo environment, even if it doesn't look really nice.

Great, thank you for this code! I will experiment it and let you know if I succeed to make it works!

@KiloNovemberDelta Just to add to point 1. If you still want implement this custom "formal" policy,  outside of the environment, you could probably just implement this a class that has a __call__ method like this:
class FormalPolicy:
    def __init__(
        self,
        ...
    ):
         ....

    def __call__(self, inputs: tf.Tensor) -> tf.Tensor:
        # do some policy stuff - not necessarily a neural network
        action = ...
        return action

, then in a custom network function (e.g. make_custom_network in https://github.com/instadeepai/Mava/blob/develop/examples/quickstart.ipynb)  return policies: {"agent_0": NormalNeuralNet, "agent_1": FormalPolicy}.

repo: instadeepai/Mava


text:
docs: Auto generate cli_reference.md

This file serves as a reference for the CLI commands. Add a script to
generate a reference that includes the help text for every command.
Closes #1449
Signed-off-by: Russell Bryant rbryant@redhat.com

Sample rendering of the generated file: https://github.com/russellb/instructlab/blob/issue-1449/docs/cli_reference.md

Should we also update the README to point to this file instead of having the static example?

Should we also update the README to point to this file instead of having the static example?

sure, that seems like a good idea.

How does this cope with https://github.com/instructlab/instructlab/pull/1578? Aren't they both achieving the same thing?

How does this cope with #1578? Aren't they both achieving the same thing?

Yeah, we don't need both. That one looks like it's nicer, but I haven't really read through it properly. We can definitely close this if/when we merge that one, though.

@russellb - can we close this?

authors: ktam3 leseb nathan-weinberg russellb

repo: instructlab/instructlab


text:
Proposal for adding RH Employee Support skill

Describe the proposed contribution to the taxonomy

Skill for redirecting employee to the correct ServiceNow support service give the employee's problem. Reduce the time for exploring the entire service catalog
Reply to an employee request based on the Knowledge Articles present in ServiceNow (https://redhat.service-now.com/help?id=kb_home). e.g., How do I get root access on my RH company RHEL laptop? --> https://redhat.service-now.com/help?id=kb_article_view&sysparm_article=KB0004081
Faster solution retrieval
Given the nature of the task, probably it's not just enough to have a skill for it but it should be enriched with some Knowledge i.e., the large set of Knowledge Articles from ServiceNow.
Given the nature of the task, probably the skill and knowledge could be combined with other techniques to fetch updated documents and new ones (e.g., RAG)

Input given at the prompt

   How can I request a batter replacement for my RH laptop?

Response from the current model

  I'm sorry to hear that you're having trouble with your laptop battery. To request a replacement, I would recommend contacting the original manufacturer or
the seller directly, as they will be able to provide the best guidance for your specific situation. They may require proof of purchase or provide a
warranty or repair service based on the age or condition of your device.

In addition, here are some steps you can take to ensure a smooth process:

1. Gather necessary information: Before contacting the manufacturer or seller, gather any relevant information about your laptop, such as the model
number, serial number, and purchase date. This will help them identify the appropriate battery for your device.
2. Document the issue: Prepare a detailed description of the problem, including any error messages or abnormal behaviors you've observed. This will help
the manufacturer or seller understand the issue better and provide more accurate guidance.
3. Consider warranty coverage: If your laptop is still under warranty, check the terms and conditions to see if the battery replacement is covered. This
could save you time and money in the long run.
4. Be patient: Manufacturers or sellers may need time to process your request, so be prepared to wait for a response. Be sure to follow up if you haven't
heard back after a reasonable amount of time.
5. Protect your data: Before sending your laptop for repair or replacement, make sure to back up all important data to avoid any data loss during the
process.

Response that you would expect instead with the contribution

You must raise a request to IT department through ServiceNow. Follow the following steps:
 1. go to help.redhat.com
 2. move to "Supported Services" button
 3. look for "Laptop support"
 4. look for "Obtain laptop accessories"
 5. Fill in the form and submit the request

We want to keep internal items out of the taxonomy. Other PRs with internal facing skills were closed. Thanks for considering a contribution.

We want to keep internal items out of the taxonomy. Other PRs with internal facing skills were closed. Thanks for considering a contribution.

is there any better place for internal items?

is there any better place for internal items?

I do not know. Best to ask internally if there is such a place.

authors: bdattoma bjhargrave

repo: instructlab/taxonomy


text:
WIP Adding example script to download all media refs: ARC-8194

First version of media dumping tool, things i feel we have to talk about:

logging
caption downloading

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

authors: CLAassistant avaryinstr

repo: instructure/canvas-studio-api-examples


text:
Incompatible with base-4.11

I was about to try ether, but I am using base-4.11, so it does not yet seem to be available to me.

Alright, I marked it as deprecated. Thanks for the suggestion.

Thanks for investigating this @4e6, and it's good news that with newer GHC using ether at scale is possible!
However, I'm still unable to guarantee that I will allocate enough time to its maintenance. If you'd like to become a maintainer of ether I'll grant you commit rights on GitHub and upload rights on Hackage.

Regarding the issue. Please add the revision with updated bounds:
base >=4.9 && <4.12

Nothing else needs to be changed. It already compiles with ghc-8.4.1; tested with nightly-2018-04-05 Stackage resolver

authors: 4e6 int-index nomeata

repo: int-index/ether


text:
grafonnet is working? and how?

as per the docs at documentation/jsonnet.md

The grafonnet library is available out of the box

What does this mean?
I see in build/Dockerfile submodule copied to image, however no sign of it in /opt when i docker pull quay.io/integreatly/grafana-operator:v3.5.0.
This feels like the docs are worded vaguely or incorrectly. Am i missing something else?

Confirmed this. No /opt found in the image. This shoud be a bug.

This is currently only on master but not yet in any release. 3.6.0 will be the first release with jsonnet / grafonnet support.

gtk - any hint on time frame for this next release?
also - in the meantime, safe to assume that the anno jsonnet/library: "true" on configmaps as described in documentation/jsonnet.md will get automagically used?

@mrgleeco this is included in v3.6.0 onwards. jsonnet/library: "true" is still the correct way to import libraries in configmaps.

authors: dongwangdw mrgleeco pb82


text:
Introduce a node metadata provider

This is a draft PR for now, only to see if it passes CI

Closing, as it is part of #849

repo: integritee-network/worker


text:
Fixes bug in Hash-ML-DSA

The ctx length should be encoded and not the OID length.

You can see that this passes tests:
https://github.com/codespree/quantcrypt/actions/runs/11670813678/job/32495822056

You can take a look here also:
https://ietf-hackathon.github.io/pqc-certificates/pqc_hackathon_results_certs_r4.html

Thank you for spotting this!!! I will aim to publish an update later this week.

@codespree FYI, FIPS 204 v0.4.5 has just been published - thank you for your help on this!

authors: codespree integritychain


text:
pwm.hpp: fixed some typos and styling in comments

Signed-off-by: Alex Tereschenko alext.mkrs@gmail.com

Committed by @arfoll with 0ee25fbd4dad053c5aa0c7982ad54539678953e0, closing this PR.

repo: intel-iot-devkit/mraa

license: mit

license_source: bigquery


text:
[POAE7-2747][perf] cache compiled function ptr for performance boost

What changes were proposed in this pull request?
cache compiled function ptr for performance boost
Why are the changes needed?
performance
Does this PR introduce any user-facing change?
No
How was this patch tested?
no need
Which label does this PR belong to?
INFRA

cache function pointer in batchprocessor

repo: intel/BDTK


text:
qat  8960  failed to get NumberCyInstances value from config!

hi;
I tested the Intel qat 8960 on centos7 and encountered the following error. The number of handshakes for the test request was about 28k. Please help me?
[root@]# dmesg
[ 9582.101779] c6xx 0000:08:00.0: failed to get NumberCyInstances value from config!
[ 9582.102216] c6xx 0000:08:00.0: failed to get NumberCyInstances value from config!
[ 9582.102595] c6xx 0000:09:00.0: failed to get NumberCyInstances value from config!
[ 9582.103034] c6xx 0000:08:00.0: failed to get NumberCyInstances value from config!
[ 9582.103480] c6xx 0000:08:00.0: failed to get NumberCyInstances value from config!
[ 9582.103861] c6xx 0000:09:00.0: failed to get NumberCyInstances value from config!
[ 9582.104284] c6xx 0000:09:00.0: failed to get NumberCyInstances value from config!
[ 9582.104716] c6xx 0000:09:00.0: failed to get NumberCyInstances value from config!
[ 9582.105161] c6xx 0000:09:00.0: failed to get NumberCyInstances value from config!
The configuration of my server is:
CPU:        Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
QAT:       8960
QAT  drive:   1.7
qat  engine:  QAT_Engine-0.5.32
openssl :  OpenSSL 1.1.0f
nginx :      nginx/1.10.3
The configuration of my  nginx is :
user root;
#worker_cpu_affinity 10;
worker_processes 32;
worker_rlimit_nofile 200000;
#error_log logs/error.log;
#pid logs/nginx.pid;
events {
worker_connections 204800;
accept_mutex on;
use epoll;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
tcp_nopush on;
keepalive_timeout 0;
server {
listen 443 reuseport;
ssl on;
server_name localhost;
ssl_asynch on;
ssl_buffer_size 128k;
ssl_certificate  server.crt;
ssl_certificate_key server.key;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers AES128-SHA:AES256-SHA;
ssl_prefer_server_ciphers on;
access_log off;
location / {
root html;
index index.html index.htm;
}
}
}
The configuration of my  openssl  is :
openssl_conf = openssl_def
[openssl_def]
engines = engine_section
[engine_section]
qat = qat_section
[qat_section]
engine_id = qat
dynamic_path = /usr/local/ssl/lib/libqat.so
default_algorithms = RSA
The configuration of my  /etc/c6xx_dev0/1/2.conf  is :
[GENERAL]
ServicesEnabled = cy
ConfigVersion = 2
CyNumConcurrentSymRequests = 512
CyNumConcurrentAsymRequests = 64
statsGeneral = 1
statsDh = 1
statsDrbg = 1
statsDsa = 1
statsEcc = 1
statsKeyGen = 1
statsDc = 1
statsLn = 1
statsPrime = 1
statsRsa = 1
statsSym = 1
KptEnabled = 0
StorageEnabled = 0
PkeServiceDisabled = 0
DcIntermediateBufferSizeInKB = 64
[KERNEL]
NumberCyInstances = 0
NumberDcInstances = 0
[SHIM]
NumberCyInstances = 1
NumberDcInstances = 0
NumProcesses = 16
LimitDevAccess = 1
Cy0Name = "UserCY0"
Cy0IsPolled = 1
Cy0CoreAffinity = 0

hi  Steve.
my  server  have dual processor.
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                40
On-line CPU(s) list:   0-39
Thread(s) per core:    2
Core(s) per socket:    10
Socket(s):             2
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 79
Model name:            Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
Stepping:              1
CPU MHz:               2200.134
CPU max MHz:           2200.0000
CPU min MHz:           1200.0000
BogoMIPS:              4389.92
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              25600K
NUMA node0 CPU(s):     0-9,20-29
NUMA node1 CPU(s):     10-19,30-39
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdts
cp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 cdp_l3 intel_ppin intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdt_a rdseed adx smap xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm arat pln pts
The configuration of my   cline 1  is:
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                40
On-line CPU(s) list:   0-39
Thread(s) per core:    2
Core(s) per socket:    10
座：                 2
NUMA 节点：         2
厂商 ID：           GenuineIntel
CPU 系列：          6
型号：              79
型号名称：        Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
步进：              1
CPU MHz：             1200.031
BogoMIPS：            4395.02
虚拟化：           VT-x
L1d 缓存：          32K
L1i 缓存：          32K
L2 缓存：           256K
L3 缓存：           25600K
NUMA 节点0 CPU：    0-9,20-29
NUMA 节点1 CPU：    10-19,30-39
The configuration of my   cline 2  is:
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                32
On-line CPU(s) list:   0-31
Thread(s) per core:    2
Core(s) per socket:    8
Socket(s):             2
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 63
Model name:            Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz
Stepping:              2
CPU MHz:               1199.906
BogoMIPS:              4793.74
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              20480K
NUMA node0 CPU(s):     0-7,16-23
NUMA node1 CPU(s):     8-15,24-31
The   testing  scripts is:
#!/bin/sh
ab_path=/usr/bin/
cpu=cat /proc/cpuinfo | grep processor | wc -l
count=${1-$cpu}
for ((i=0; i<$count; i++))
do
$ab_path/ab -c 32 -n 102400   -Z AES128-SHA https://10.10.10.10:443/  > $i.txt &
done
wait
total=0
for ((i=0; i<$count; i++))
do
cur=cat $i.txt  | grep "Requests per second" | tr -s " " | cut -d" " -f 4
echo "test$i=$cur"
if [[ $cur == "" ]]
then
echo "error on $i"
exit
fi
total=$(echo "$total+$cur" | bc)
done
echo "-------------"
echo total=$total

Closing due to inactivity


text:
qemu/qmp: support query-memory-devices qmp command.

Implement query qemu memory devices function and testcase.
Signed-off-by: Clare Chen clare.chenhui@huawei.com

Coverage decreased (-0.2%) to 79.819% when pulling b8b430b7c716b17e654ea6469c4386d253cb74a2 on clarecch:master into 1a16b5f98f133796f9c5e9b6ae3aa6d786cff9b1 on intel:master.

This PR is related to https://github.com/kata-containers/runtime/pull/624

The CI is green. PTAL

authors: clarecch coveralls

repo: intel/govmm


text:
Not Digitally Signed driver

My dears,
Looks like you forgot to digitally sign the driver on version 7.2, it can't be installed normally without bypassing windows security.

Could you provide us the download link of HAXM v7.2.0? And describe the detailed information of the host machine, such as OS version, OS bits, Windows security software version, etc. Thanks.

Sure no problem,
Download Link: https://github.com/intel/haxm/releases/download/v7.2.0/haxm-windows_v7_2_0.zip
Machine Details: Windows 7 Ultimate SP1 x64
Not sure what you mean with Windows Security software verison
HAXM 7.2 is not working because it doesn't pass the Driver Signature Enforcement

My workaround to this issue was simple to go back to HAXM v7.1 because it's digitally signed, in case anyone else have the issue, while you figure it out.
Regards,

Could you please attach the error screenshot when blocking installation? And since HAXM v7.2.0 cannot finish to install, how did you extract IntelHaxm.sys driver? Thanks.

Sorry my friend, I went back to HAXM v7.1 because i'm working right now on Android Studio,
On HAXM v7.2 if you run the silent_install.bat, it will show no error, the files get copied to the system that's how I managed to get the IntelHaxm.sys, but Windows shows a message saying that an installation tried to install a driver that was not digitally signed and it will not run.
If you run the HAXM Installer (intelhaxm-android), it will show an error then the Finish button, there I'm not sure if the files get copied to the system.
This error will happen to any computer having Windows 7,8 or 10, if you don't have a Windows OS close to you right now I could try again to show you those messsages.

Could you help to provide the Windows build version of Windows 7? Just run below command,
C:> ver
Microsoft Windows [Version 6.1.7601] (For my computer)
Could you also help to check the signature certification chains for IntelHaxm.sys of HAXM v7.2.0?
Right click on IntelHaxm.sys -> Properties -> Digital Signatures -> Select the signature list -> Details -> General -> View Certificate -> Certification Path
Then click each certification path and find out which one is not OK.
The following screenshots are certification path of HAXM v7.1.0 and v7.2.0 from my Windows 7 computer.

Figure 1. HAXM v7.1.0

Figure 2. HAXM v7.2.0
By the way, after our checking, all of certification paths from both drivers are shown as OK from our computers, including Windows 7, 8 and 10.

Windows Version:

Reproducing the Error Again
1 - Uninstall HAXVM v7.1 from Control Panel - Remove a Program - Done
2 - Check if still exist IntelHAXM.sys - Checked Doesn't Exist
3 - Run the Installer intelhaxm-android.exe  with Admin Privileges

4 - Error from the Installer is shown

5 - Few seconds later Error from windows is shown as well. Saying that windows requires a digitally signed driver.

6 - Finish the Installation

7 - Check Again if IntelHAXM.sys exist. - Checked and the file exist located in System32\drivers folder

8 - Verifiy the Certificates - Certificate looks valid.

9 - Check the status of Intel HAXM

10 Try to start it manually - Error says that windows cannot verify the digital signature from this file, a recent change in hardware or software could have installed a file with a signature broken or incorrect, or could be as well a malware from a unknown source.

I will keep version 7.2 for a while just in case you still need more info,
Regards,

As far as I was reading about certificates this issue could be reported in computers with Windows OS 7,8 and 10 with Architecture of 64 bits,
I just noticed the issue after updating HAXM from Android Studio, I would like to think it's just me who has the issue but I found another user that updated Haxm as well and had the same problem.
https://stackoverflow.com/questions/50615096/intel-haxm-version-7-2-not-digitally-signed
I appreciate your time and efforts, no I will go back to HAXM v7.1
Best Regards,

We now have another report of the same issue from @minimop (#57). @minimop Are you also on Windows 7? Please provide the following information about your Windows system:

Version (check output of ver from a command prompt window)
Edition (Home/Professional/Ultimate/Enterprise)
Architecture (32-bit or 64-bit)

If you could also check the certification path for intelhaxm.sys and take a screenshot (see @olizama 's post above), that would be even more helpful.
Thanks.

You must be right @raphaelning, it's an old bad habit that I have to disabled Windows Updates, got tired of getting my computer broken because of those.
Let me install the patch, then install HAXM v7.2

OK my friends, sorry for the issue report, it was as you said a windows update missing, patched the computer and installed HAXM v7.2 without issues, working like a charm.
Big thanks for your hard work.

Cool! So we'll continue to sign the Windows 7 driver with the SHA-256 certificate for future HAXM releases.
Closing this issue now.

I'm having same issue and can't install KB3033929. Having this - "The update is not applicable to your computer". I don't know how many people would get in same situation, but it's sad. Digging in why it can't install isn't the best pastime.

@F0RIS I had the same issue. Try uninstalling 7.2 and simply unzip and install 7.1.

@drmuaz I did that. But with that approach I will not able to use newer versions :/

@F0RIS @drmuaz Sorry for the delay, I just reopened this issue. Are you also on Windows 7? Could you provide details about your Windows system:

Version (check output of ver from a command prompt window)
Edition (Home/Professional/Ultimate/Enterprise)
Architecture (32-bit or 64-bit)

@raphaelning
Microsoft Windows [Version 6.1.7601]
Win 7 Professional SP1
x64
My issue is same as @olizama had. But I just can't install need update (KB3033929) for SHA-256 certificats. Thats it.

Version 6.1.7600Windows 7 professional 64 bit
Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: Yu Ning notifications@github.com Date: 6/25/18  7:32 AM  (GMT+05:00) To: intel/haxm haxm@noreply.github.com Cc: drmuaz muaz.niazi@gmail.com, Mention mention@noreply.github.com Subject: Re: [intel/haxm] Not Digitally Signed driver (#56)
@F0RIS @drmuaz Sorry for the delay, I just reopened this issue. Are you also on Windows 7? Could you provide details about your Windows system:
Version (check output of ver from a command prompt window)
Edition (Home/Professional/Ultimate/Enterprise)
Architecture (32-bit or 64-bit)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@drmuaz Apparently you haven't installed Service Pack 1 yet, which is required by the patch:

Supported Operating System
Windows 7 Service Pack 1

@F0RIS I guess you probably have a dual OS setup (Windows + Linux) where the default boot loader is not the Windows boot loader. According to KB3033929:

Known issues with this security update
Issue 1
Some users cannot install this security update if their computers meet the following conditions:

Have a multiple-boot configuration of Windows and various distributions of Linux
Use a non-Windows boot loader
Have Windows and Linux installed on separate drives

If that's indeed the case, there will be no easy way for you to install the patch. We'll need to reconsider our driver signing policy for Windows 7--for example, should we just go back to SHA-1 for the Windows 7 driver, but keep using SHA-256 for the Windows 8/8.1 driver? Or is there a better option?

@raphaelning
I definitely have SP1

And yes. I have dual OS setup. And of course my default boot loader is grub, because Windows' loader can't load linux. So yeah, may be you should switch back to SHA-1 for Windows 7.
About better options - I don't know what to suggest

People will able to install the patch if they have windows 8, 8.1, 10 and Linux? With grub?

I followed the solution from Foris. Go to google search  KB3033929, then download it, install it. Then reinstall HAXVM v7.2.0. Then run android studio, everything running flawlessly. Thannnnnnnnnnnnnnnnnnk you very much!  I use Windows 7 pro sp1 64bit

@olizama @F0RIS @drmuaz HAXM v7.3.0 has been released for Windows. Could you try to install the latest release to see whether it works on your machine? Thanks.

I was have same issue but no i have installed v3 and now its working ok
thanks

Thanks for @murtadaalwaely confirmation.

For what it's worth, you can use signtool to sign the driver with a SHA1 signature then use the /as option to append a SHA256 signature on top of the SHA1. This signing method will be trusted even without the SHA256 patch on Win7.
There's a nice guide on the steps required on DigiCert's support portal (though the CA-specific steps will obviously vary): https://www.digicert.com/code-signing/code-signing-dual-signing-sha256-sha1.htm

Thanks, that's a brilliant idea! We'll give it a try.

Same issue here on release v7.5.1, I didn't stop to read all the topics because I'm in hurry right now, later I come with prints if reading the topics don't solve anything...
By now I will try to go with v7.1.0 as stated by someone before...

Thanks for your report. Could you help to confirm that your OS version is Windows 7 SP1? Currently, HAXM will not support the system that does not support SHA-256 signature. You are suggested to use HAXM v7.3.2 as this version is the last version supports SHA-1 signature.

Thanks for your report. Could you help to confirm that your OS version is Windows 7 SP1? Currently, HAXM will not support the system that does not support SHA-256 signature. You are suggested to use HAXM v7.3.2 as this version is the last version supports SHA-1 signature.

Yes, I do have SP1.
I have already solved my problem by running version 7.1.0 as previously suggested on this thread, I've just commented out of care for newbies like my trying to just get the job done.
I will later try running 7.3.2 on a VM, maybe installing KB4472027 could fix this...
Don't know, I may try it out and drop a few prints here with the result.
Anyway! Thank you very much for replying my comment, it proves people still care about newbies like me...

@wcwang Thank you man for suggestion. I have installed this "haxm-windows_v7_1_0" working like charm. I have checked lots of SO thread but didn't get solution and west many hours to resolved this  issue. Thank you very very much for suggestion.

Hi
My OS is Windows 7 Home Premium.
I have installed Android studio version 3.6
And downloaded haxm version 7.5.6.It showed an error message regarding driver signature. But I ignored it.
Then, while using the AVD manager in Android studio the 'haxm device not found' error is shown. While troubleshooting, it showed, enable vtx in bios or remove third part softwares. I did check my bios and vtx was already enabled. And then I uninstalled my avast free Antivirus software. But the problem still persists.
Please help me solve this issue. Thank you

@olizama @wcwang Please help me out

@olizama @wcwang Please help me out

Hi, friend! I thnk u need one of the ways:

install version 7.1 haxml

Thanks for your report. Could you help to confirm that your OS version is Windows 7 SP1? Currently, HAXM will not support the system that does not support SHA-256 signature. You are suggested to use HAXM v7.3.2 as this version is the last version supports SHA-1 signature.

Yes, I do have SP1.
I have already solved my problem by running version 7.1.0 as previously suggested on this thread, I've just commented out of care for newbies like my trying to just get the job done.
I will later try running 7.3.2 on a VM, maybe installing KB4472027 could fix this...
Don't know, I may try it out and drop a few prints here with the result.
Anyway! Thank you very much for replying my comment, it proves people still care about newbies like me...

Hi, did u intalling KB... and had progress???
Thx.

Thanks for your report. Could you help to confirm that your OS version is Windows 7 SP1? Currently, HAXM will not support the system that does not support SHA-256 signature. You are suggested to use HAXM v7.3.2 as this version is the last version supports SHA-1 signature.

Yes, I do have SP1.
I have already solved my problem by running version 7.1.0 as previously suggested on this thread, I've just commented out of care for newbies like my trying to just get the job done.
I will later try running 7.3.2 on a VM, maybe installing KB4472027 could fix this...
Don't know, I may try it out and drop a few prints here with the result.
Anyway! Thank you very much for replying my comment, it proves people still care about newbies like me...

Thanks for your report. Could you help to confirm that your OS version is Windows 7 SP1? Currently, HAXM will not support the system that does not support SHA-256 signature. You are suggested to use HAXM v7.3.2 as this version is the last version supports SHA-1 signature.

Yes, I do have SP1.
I have already solved my problem by running version 7.1.0 as previously suggested on this thread, I've just commented out of care for newbies like my trying to just get the job done.
I will later try running 7.3.2 on a VM, maybe installing KB4472027 could fix this...
Don't know, I may try it out and drop a few prints here with the result.
Anyway! Thank you very much for replying my comment, it proves people still care about newbies like me...

Hi, did u intalling KB... and had progress???
Thx.

@aleenajoseph993, thanks for your report. Could you try HAXM v7.3.2 instead as this version is the last version supports SHA-1 signature? Have you installed KB3033929 for Windows update?

@wcwang @IYJan  The above windows update is not suiting my lap. And the Internet speed here is not allowing me to upgrade from windows 7 to Windows 10.
And about the Haxm v7.3.2, could you please tell me what is the android studio version supporting this haxm version.

@aleenajoseph993, HAXM is independent of Android Studio. I have provided the HAXM v7.3.2 installer   in the previous reply. You may download it and try to install HAXM manually. Thanks.

@wcwang @IYJan The above windows update is not suiting my lap. And the Internet speed here is not allowing me to upgrade from windows 7 to Windows 10.
And about the Haxm v7.3.2, could you please tell me what is the android studio version supporting this haxm version.

Hi,
@wcwang is right!
Try to install windows update (the patch KB3033929), I have no problem after upgraded and version 7.5.6 working correct... ! Cheers!

Hi
My OS is Windows 7 Home Premium.
I have installed Android studio version 3.6
And downloaded haxm version 7.5.6.It showed an error message regarding driver signature. But I ignored it.
Then, while using the AVD manager in Android studio the 'haxm device not found' error is shown. While troubleshooting, it showed, enable vtx in bios or remove third part softwares. I did check my bios and vtx was already enabled. And then I uninstalled my avast free Antivirus software. But the problem still persists.
Please help me solve this issue. Thank you

Hi
Uninstall "haxm version 7.5.6" this one from your laptop and install this version "haxm-windows_v7_1_0" then after working fine.

@wcwang @IYJan @ketann
Thanks to u ppl. Now I am able to run my app. It worked when I installed haxm 7.3.2.

I have the same problem. Which versions are known to work with Windows 7?
7.1.0 ok
7.2.0 ?
7.3.2 ?
7.5.6 ?

I have the same problem. Which versions are known to work with Windows 7?
7.1.0 ok
7.2.0 ?
7.3.2 ?
7.5.6 ?

Hi!
7.5.6 (if u have the patch KB3033929)

authors: F0RIS IYJan aleenajoseph993 cgutman drmuaz josephernest ketann mmendescortes murtadaalwaely olizama raphaelning wcwang wlmsnmail

repo: intel/haxm


text:
Doesn't expose version

There is no way to tell what the version of ideep is from the library. There should be.

@ezyang
the mkldnn-bridge for pytorch/caffe2 is being separate from ideep chainer.
we're reducing the LOC and improving the API only for pytorch/caffe2.
when done, we plan to make the mkldnn-bridge as a part of pytorch/caffe2, instead of a submodule.

authors: ezyang gujinghui

repo: intel/ideep


text:
Unify GPTQ dataloader with fixed/unfixed length data

Type of Change
enhance
Description

move seqlen attribute to config. (Done)
unified the dataloader's form with unfixed/fixed sequence length. (Done)

Expected Behavior & Potential Risk
Normal functions in modified uts
How has this PR been tested?
PreCI
Dependency Change?
None

@YIYANGCAI  target v2.3 or not?

better in 2.3

authors: YIYANGCAI chensuyue xin3he

repo: intel/neural-compressor


text:
The build failed because of a runtime libraries incompatibility

@rdementi , why do you added /MT$<$<CONFIG:Debug>:d> in the CMakeLists?
It breaks builds with another types of runtime and doesn't work in the most cases, due to library incompatibility.
If I comment out the two lines with target_compile_options, the library and my project are built successfully.
Could you remove this options?
    target_compile_options(PCM_STATIC PRIVATE "/MT$<$<CONFIG:Debug>:d>")

    # Graphical perfmon front-end: pcm-lib, pcm-service
    # Files: COMMON_FILES() + pcm-lib.cpp winpmem\winpmem.cpp dllmain.cpp
    file(GLOB PCM_LIB_SOURCES winpmem/winpmem.cpp dllmain.cpp pcm-lib.cpp )
    add_library(pcm-lib SHARED ${COMMON_SOURCES} ${PCM_LIB_SOURCES})
    target_compile_definitions(pcm-lib PRIVATE _WINDOWS _USRDLL PCM_EXPORTS _WINDLL _UNICODE UNICODE)

    target_compile_options(pcm-lib PRIVATE "/MT$<$<CONFIG:Debug>:d>")

P.S.: It's incorrect to use compiler options to specify runtime: CMake has built-in variables and properties for it, but libraries should not to use this.

Thanks for the suggestion. The change was introduced to reduce the risks of DLL hijacking.
Would you be able to submit a pull request with a CMakeLists.txt change to specify the runtime using the built-in variables and properties?

thanks for the recipe. We will evaluate it. As a work-around we can offer a new -DNO_STATIC_MSVC_RUNTIME_LIBRARY=1 option which you can use with cmake when compiling pcm.

Thank you. It's better than nothing. But if you have a real reason to set the runtime library (like formal SDL requirements), perhaps in the future it would be better to add an option where the user can set an arbitrary runtime?

authors: artiomn rdementi

repo: intel/pcm


text:
build: update to Kubernetes 1.21.1

This is the usual dependency update.
We need controller-runtime 0.9.0 because older controller-runtime releases are not compatible with 1.21.0 due to API changes.

See https://github.com/kubernetes-sigs/controller-runtime/issues/1473 for the 0.9.0 release of controller-runtime.

@avalluri shall we merge this despite the one test failure in https://cloudnative-k8sci.southcentralus.cloudapp.azure.com/job/pmem-csi/job/PR-932/3/display/redirect?

repo: intel/pmem-csi


text:
Add gt and gte for consistency to Logic

Motivation
For equality, less than, and less than or equal to, Logic has eq, lt, and lte, respectively, since those operators have different meanings (object equality, conditional assignment, and assignment, respectively).  Since greater than and greater than or equal to do not use those operators for something else, they were overloaded for > and >=.  However, this is a little inconsistent and confusing to new users.  It would be nice if you could also optionally use gt and gte for consistency.
Desired solution
Add gt and gte implementations to Logic.  Do not remove > and >= overloaded operators.

Hey.
Picked this one up while familiarizing myself with Dart. Seems like I have it done(wasn't much to it), but running myself through the test and such getting a feel for the setup right now.

Picking this one up.

authors: IdiBetzSch Sanchit-kumar mkorbel1

repo: intel/rohd


text:
automating testing

Is there a way to run everything in a way that doesn't involve user input?

Enable system auto-login and fwts auto-run

Hi @andreiw, both the SCT and FWTS can auto-run now.

repo: intel/rv-brs-test-suite


text:
Added IncrementalPCA algorithm

Changes proposed in this pull request:

incremental PCA algorithm added

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

@olegkkruglov thank you for a such great work done!

authors: ethanglaser icfaust olegkkruglov samir-nasibli

repo: intel/scikit-learn-intelex


text:
Allow omitting IPAM configuration

Change IPAM dictionary from mandatory to optional configuration, similarly than in sriov-cni, because there are many use cases where IPAM is not needed.

I agree with the use case. But please remember then, in this case, it should work with Multi plugins like Multus for the IPAM support.

Updated the commit as suggested in discussion:
diff --git a/vhostuser/vhostuser.go b/vhostuser/vhostuser.go
index b8912c8..804c91a 100644
--- a/vhostuser/vhostuser.go
+++ b/vhostuser/vhostuser.go
@@ -191,7 +191,6 @@ func SetupContainerNetwork(conf *NetConf, containerID, containerIP string) {
 func cmdAdd(args *skel.CmdArgs) error {
        var result *types.Result
        var n *NetConf
-       var containerIP string

        n, err := loadConf(args.StdinData)
        if err != nil {
@@ -210,13 +209,10 @@ func cmdAdd(args *skel.CmdArgs) error {
                        return errors.New("IPAM plugin returned missing IPv4 config")
                }

-               containerIP = result.IP4.IP.IP.String()
-       } else {
-               containerIP = "0.0.0.0"
+               containerIP := result.IP4.IP.IP.String()
+               SetupContainerNetwork(n, args, containerIP)
        }

-       SetupContainerNetwork(n, args.ContainerID, containerIP)
-
        return result.Print()
 }

authors: kangasta rkamudhan

repo: intel/vhost-user-net-plugin


text:
DateTime remoting

Different client and server time zones cause wrong dates in RPC results.

details (by hhawk) at http://websharper.com/question/82379/system-datetime-weirdness-by-example

repo: intellifactory/websharper


text:
Only include src folders from .spago when indexing and ignore all othere purs files

Purescript only alowes one module with the same name. Every packages set version is compiled as a whole to check for this. However, there can still exist duplicates since its only the src folder that gets compiled when a package are used as a dependency spago.dhall files srources property are oly used when the package is compiled as a program.

reference https://github.com/purescript/spago/blob/master/src/Spago/Packages.hs#L44

repo: intellij-purescript/intellij-purescript


text:
OperationalError at /admin/joyride/joyridehistory/add/ no such table: joyride_joyride

When trying to add a Joyride History (nb:without having added a Joyride first, but after doing the proper syncdb and migrate), using http://127.0.0.1:8000/admin/joyride/joyridehistory/add/
I get the following which says the table doesn't exist.
OperationalError at /admin/joyride/joyridehistory/add/
no such table: joyride_joyride
Request Method:	GET
Request URL:	http://127.0.0.1:8000/admin/joyride/joyridehistory/add/
Django Version:	1.6.5
Exception Type:	OperationalError
Exception Value:
no such table: joyride_joyride
18	                        {% else %}
19	                            {{ field.field }}
20	                        {% endif %}

You must be doing something wrong. The latest release is well tested and everything works as expected. Are you sure you have put joyride in INSTALLED_APPS?

Probably it is in  INSTALLED_APPS as you are seeing it in admin. Can you please do syncdb again, and make sure to check your database to verify the table is there?

authors: intellisense teolemon

repo: intellisense/django-joyride


text:
[FEAT] Stack Autocomplete Operators

Problem Description
Exact same code for multiple different autocomplete options. So I can just use the same code for each of those autocomplete.
Proposed Solution
@ipy.global_autocomplete(option_name="player_tag1")
@ipy.global_autocomplete(option_name="player_tag2")
@ipy.global_autocomplete(option_name="player_tag3")

Stack autocompletes like so?
Alternatives Considered
No response
Additional Information
No response
Code of Conduct

[X] I agree to follow the contribution requirements.

Have you considered using a single decorator with a regex custom ID?

Have you considered using a single decorator with a regex custom ID?

Oh yeah, that can be a alternative solution!

Filing this as a wontfix. as @LordOfPolls said– I would consider using the regex kwarg we have for callbacks, your usecase seems to fit this niche best.
Outside of this, autocomplete operator stacking seems redundant. I don't think it's great in DX practice to have numerous autocomplete fields hinge on the same function. If you want re-useable code, consider separating your code into a separate function, and have numerous function callback declarations call that within.


text:
Fix path configuration

For page groups, the path property is unnecessary but Catalog would fail when not provided (regression in 2.5.0).
Fixes #265

Thank you, this looks good to me!

@naehrstoff released in v2.5.3 :v:

authors: herrstucki naehrstoff

repo: interactivethings/catalog


text:
ONION, TOP PRIORITY

https://brave4u7jddbv7cyviptqjc7jusxh72uik7zt6adtckl5f4nwy2v72qd.onion/ === thats what our url is supposed to look like!!!!!!!!!!!! .ONION (SUPER IMPORTANT, TOP PRIORITY)

This was made by @Kirschke007 and I hate it

repo: interclip/next


text:
See / Copy your Kintsugi wallet address

Currently there is no intuitive way to copy your wallet address required to receive KINT tokens. Since I wasn't sure is it possible to receive using Kusama wallet address from exchanges, had to first search with that address in subscan kintsugi network to find my kintsugi address. This is just bad UX. Copy button to copy your Kintsugi address is absolutely required if you looking for other adaption than neckbeards.

Hi, thanks for raising the issue, definitely something we can look into. Which part of the dapp were you trying to copy the address into (e.g. issue, redeem, transfer)? Or was this on the crowdloan page?

i am wanting to copy my wallet address from the UI, but I dont find a way for to see it without shortening or either possibility to copy it.
as a workaround im either forced to checkout developers console for addresses or search with kusama address at subscan.
many people want to buy kintsugi from exchange and send it to their wallet address in the UI, but this currently is not very intuitive even it should be main priority of the UX.
here one option, add copy address possibility as a buttons to floating in right corner of wallet addresses:

karura has separate modal for clear accessing to copy the address for receiving funds or search from subscan

Thanks for the detail, that's really helpful and I can see why it's a problem! I'll pick it up with our UX team and we'll get it fixed.

hi @hitchhooker thanks for raising this :) we've released this to Kintsugi now.

authors: hitchhooker tomjeatt

repo: interlay/interbtc-ui


text:
Enable / disable continuous payments

When the extension is connected to a wallet:

A user can enable the extension to make continuous WM payments by setting the toggle like this:

A user can disable the extension from making any continuous WM payments to all WM websites by setting the toggle like this:

We have been discussing a possible issue: what is the difference or relationship between the functionality of enable/disable continuous payments compared to the functionality of enable/disable WM globally.
One of the questions is: does this enable/disable continuous payments apply only the current website or does it apply to any website I visit? (probably not a right/wrong way, just an implementation decision for us to make)

Agreed to put this ticket on-hold until we (or Tseli) have a full conversation with Alex about what the distinction is between en/disabling WM globally or the use of continuous payments when the Exceptions List functionality is implemented.

Issue unblocked by decision agreed with Alex today (14 May):

We realized that there is no difference between the intended way that the global WM en/disable toggle works, and how the "continuous payments" toggle is supposed to work.
Decision: hide the global enable/disable toggle (because it duplicates the intended behaviour of the continuous payments toggle).
Decision: the "continuous payments" toggle should implement the functionality that had been implemented for #61 (i.e. the way we handled the global enable/disable WM toggle).

Here is the updated UI:

repo: interledger/web-monetization-extension


text:
Add disk cache options to Chrome

Add Chrome options disk_cache and disk_cache_size which add chromium
options --disk-cache-dir=<DIR> and --disk-cache-size=N (bytes).
The default is to use --disable-cache (no disk caching).
There are two ways to use the new vars, if you just use
Chrome(disk_cache=True) the chromium cli option --disable-cache is
NOT used and chromium writes disk cache inside profile dir.
If you use Chrome(disk_cache='/tmp/custom_dir', disk_cache_size=10000)
chromium will use --disk-cache-dir=/tmp/custom_dir --disk-cache-size=10000.

We discovered that the --disable-cache chromium option doesn't exist anymore and probably never did what we thought it did.
http://web.archive.org/web/20140205102645/http://peter.sh/experiments/chromium-command-line-switches
So @vbanos this is what I think we should do:

get rid of --disable-cache in all cases
rename --disk-cache to --disk-cache-dir
make --disk-cache-dir only accept a path (str), not a boolean
decouple --disk-cache-size from --disk-cache-dir, so it is possible to set either or both

I'd like to go on the record saying that sharing disk cache between different instances of chromium running at the same time seems risky to me. You might not have seen any problems in testing, but that is not conclusive. You could easily imagine race conditions where one browser is writing to a disk cache entry while another is reading from it, and the latter gets an incomplete or otherwise corrupt file. I don't know anything really about chromium's disk cache implementation, so I'm just speculating here. But I would assume it does locking within a browser process, but not necessarily across different browser processes.

authors: nlevitt vbanos

repo: internetarchive/brozzler


text:
Updated elgohr/Publish-Docker-Github-Action to a supported version (v5)

elgohr/Publish-Docker-Github-Action@master is not supported anymore

Replaced an merged with rebased PR #1400.

You're welcome. If you like it, you may consider sponsoring 🙂

authors: elgohr shauke

repo: intershop/intershop-pwa