issue while Generate the CA certificate and private key:

cfssl gencert -initca ca-csr.json | cfssljson -bare ca
failed MSpanList_Insert 0x246000 0x4a2f266c8f08 0x0 0x0
fatal error: MSpanList_Insert
runtime stack:
runtime.throw(0x15d320, 0x10)
/usr/local/go/src/runtime/panic.go:530 +0x90 fp=0x7ffeefbff5d0 sp=0x7ffeefbff5b8
runtime.(*mSpanList).insert(0x1fdee8, 0x246000)
/usr/local/go/src/runtime/mheap.go:933 +0x293 fp=0x7ffeefbff600 sp=0x7ffeefbff5d0
runtime.(*mheap).freeSpanLocked(0x1fd6e0, 0x246000, 0x100, 0x0)
/usr/local/go/src/runtime/mheap.go:809 +0x4be fp=0x7ffeefbff668 sp=0x7ffeefbff600
runtime.(*mheap).grow(0x1fd6e0, 0x8, 0x0)
/usr/local/go/src/runtime/mheap.go:675 +0x2a0 fp=0x7ffeefbff6c0 sp=0x7ffeefbff668
runtime.(*mheap).allocSpanLocked(0x1fd6e0, 0x1, 0x0)
/usr/local/go/src/runtime/mheap.go:553 +0x4e3 fp=0x7ffeefbff718 sp=0x7ffeefbff6c0
runtime.(*mheap).alloc_m(0x1fd6e0, 0x1, 0x15, 0x0)
/usr/local/go/src/runtime/mheap.go:437 +0x119 fp=0x7ffeefbff748 sp=0x7ffeefbff718
runtime.(*mheap).alloc.func1()
/usr/local/go/src/runtime/mheap.go:502 +0x41 fp=0x7ffeefbff778 sp=0x7ffeefbff748
runtime.systemstack(0x7ffeefbff798)
/usr/local/go/src/runtime/asm_amd64.s:307 +0xab fp=0x7ffeefbff780 sp=0x7ffeefbff778
runtime.(*mheap).alloc(0x1fd6e0, 0x1, 0x10000000015, 0x108df)
/usr/local/go/src/runtime/mheap.go:503 +0x63 fp=0x7ffeefbff7c8 sp=0x7ffeefbff780
runtime.(*mcentral).grow(0x1ff2e0, 0x0)
/usr/local/go/src/runtime/mcentral.go:209 +0x93 fp=0x7ffeefbff830 sp=0x7ffeefbff7c8
runtime.(*mcentral).cacheSpan(0x1ff2e0, 0x1fa308)
/usr/local/go/src/runtime/mcentral.go:89 +0x47d fp=0x7ffeefbff870 sp=0x7ffeefbff830
runtime.(*mcache).refill(0x242000, 0x15, 0x7ffeefbff8d8)
/usr/local/go/src/runtime/mcache.go:119 +0xcc fp=0x7ffeefbff8a8 sp=0x7ffeefbff870
runtime.mallocgc.func2()
/usr/local/go/src/runtime/malloc.go:642 +0x2b fp=0x7ffeefbff8c8 sp=0x7ffeefbff8a8
runtime.systemstack(0x7ffeefbff968)
/usr/local/go/src/runtime/asm_amd64.s:307 +0xab fp=0x7ffeefbff8d0 sp=0x7ffeefbff8c8
runtime.mallocgc(0x180, 0x140400, 0x0, 0x800000000)
/usr/local/go/src/runtime/malloc.go:643 +0x869 fp=0x7ffeefbff9a8 sp=0x7ffeefbff8d0
runtime.newobject(0x140400, 0x1fa5b0)
/usr/local/go/src/runtime/malloc.go:781 +0x42 fp=0x7ffeefbff9d0 sp=0x7ffeefbff9a8
runtime.malg(0x8000, 0x1fa820)
/usr/local/go/src/runtime/proc.go:2634 +0x27 fp=0x7ffeefbffa08 sp=0x7ffeefbff9d0
runtime.mpreinit(0x1fab60)
/usr/local/go/src/runtime/os1_darwin.go:140 +0x1f fp=0x7ffeefbffa20 sp=0x7ffeefbffa08
runtime.mcommoninit(0x1fab60)
/usr/local/go/src/runtime/proc.go:494 +0x105 fp=0x7ffeefbffa68 sp=0x7ffeefbffa20
runtime.schedinit()
/usr/local/go/src/runtime/proc.go:434 +0x79 fp=0x7ffeefbffab0 sp=0x7ffeefbffa68
runtime.rt0_go(0x7ffeefbffae0, 0x3, 0x7ffeefbffae0, 0x0, 0x3, 0x7ffeefbffc10, 0x7ffeefbffc1a, 0x7ffeefbffc20, 0x0, 0x7ffeefbffc23, ...)
/usr/local/go/src/runtime/asm_amd64.s:138 +0x132 fp=0x7ffeefbffab8 sp=0x7ffeefbffab0
2018/03/05 16:10:01 [INFO] generating a new CA key and certificate from CSR
2018/03/05 16:10:01 [INFO] generate received request
2018/03/05 16:10:01 [INFO] received CSR
2018/03/05 16:10:01 [INFO] generating key: rsa-2048
2018/03/05 16:10:01 [INFO] encoded CSR
2018/03/05 16:10:01 [INFO] signed certificate with serial number<PHONE_NUMBER>20345663613119893646474160081797649024

can you please check below mentioned files JSON format or not
ca-config.json and ca-csr.json
Note: if its any annotations/ space's  mistakes, then  above Mentioned error Occures
if any ref of JSON Syntax check s use https://www.json2yaml.com/

I can't reproduce this issue. Closing.

@hareeshrao4839 I have reproduced the same issue. Did you resolve this issue?

Same

I had the same issue. Resolved it by installing cfssl via brew as described here: https://github.com/kelseyhightower/kubernetes-the-hard-way/issues/229#issuecomment-354332045


[Bug Fix] Apply width on cell component based on it's columns width

Right now when you leave out {{t.head}}, the table does not keep it's width per column, since they are only defined on the thead. With those changes it will always have the correct width.

I've squashed it and applied your feedback.

:+1: Thank you! Ill merge this as soon as I figure out why all my ember-beta builds keep failing.


ONS configuration error on oracle connections

System information:

Operating system. MacOS 10.15.4
DBeaver version. 7.1 CE
Java version 8

Connection specification:

Database name and version. Oracle database
Driver name. oracle.jdbc.OracleDriver [<IP_ADDRESS>]
Do you use tunnels or proxies (SSH, SOCKS, etc)? NO

Describe the problem you're observing:
since upgrading to beaver 7.1 my existing Orcale connections throw an error when starting the connection:
Unexpected driver connection error
ONS configuration
ONS configuration
timeout
the existing  prostgres connections work ok as with previous version (7.0.5).
Steps to reproduce, if exist:
double click on connection or highlight the connection and click the 'connect' icon
The error log does not show any entry.

from what I see it is more related to the ojdbc  drivers that the dbeaver upgrade demanded than to  the dbeaver itself.

OK. downgrading to ojdbc7.jar the connections work ok.

Same error

see https://github.com/dbeaver/dbeaver/issues/9002 for a workaround


obtain processing geography from cluster selector

Signed-off-by<EMAIL_ADDRESS>This PR is related to https://github.com/IBM/the-mesh-for-data/issues/226

Extended the existing LabelSelector of m4dapplication by ClusterSelector which contains both the label selector and the cluster name of the running workload.
Removed processingGeography from the spec. It is received from ClusterSelector, using cluster metadata. If no cluster is specified in the selector, a local cluster is assumed and is read from the cluster-metadata config.
Removed a cloned selector from the blueprint. Not sure it is required at the blueprint level running in a remote cluster.
Minor changes to silence a lint checker.

@shlomitk1 you are making changes to the API.
Do we have a policy about backward compatibility? if not, can we define one? i.e., from which version whould we start being backward compatible? how do we manager versions?
@roee88 do we have these guidelines?

@shlomitk1 you are making changes to the API.
Do we have a policy about backward compatibility? if not, can we define one? i.e., from which version whould we start being backward compatible? how do we manager versions?
@roee88 do we have these guidelines?

We are not yet maintaining any backward compatibility, this is why the API is marked v1alpha1 (we're not special, that's what everyone else does).


Added in hooks for chrome's redux dev tools

see https://github.com/zalmoxisus/redux-devtools-extension for more details

Related #321. Maybe the extension could be loaded in by default (e.g. removing the old dev tools) because not a lot of people expressed interest in the devtools in the viewport option.

@patrickheeney I use the sidebar tools a lot and am a fan of having them be the default just so that people who spin the app up for the first time see that devtools do in fact work.
@CurtisHumphrey looks good, thank you. There's a lint error that's failing the CI build right now, so if you could fix that then we can get this merged.

Closing in favor of https://github.com/davezuko/react-redux-starter-kit/pull/356, but thanks for bringing this up!

You are welcome.


Add ability to duplicate project in Project Manager

Godot version:
3.1 c320d93
Issue description:
Sometimes when I try to do something dangerous with my project(e.g. delete some scenes, rewrite some part of game) I must do a copy of project. It will be easier if that would be available via Project Manager.
Now I must find folder with project, duplicate it, back to project manager and scan/import it.
I know that git can do this but I think that duplicating is easier

I've never had the need for such a feature myself, I'm not sure it's worth including in the project manager. Duplicating a project is basically just duplicating a folder from your system's file manager, which is better equipped for such operations.

Revision control's good at handling this with experimental branches.

If you download templates and do not want to download one again, or you have a framework to be used by a game, duplicating could be handy.
I won't put another button, though, maybe a right click menu option.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


enable Python 3.6 tests

Current coverage is 97.32% (diff: 100%)

Merging #139 into master will decrease coverage by 0.01%

@@             master       #139   diff @@
==========================================
  Files            37         37
  Lines          2217       2283    +66
  Methods           0          0
  Messages          0          0
  Branches        430        462    +32
==========================================
+ Hits           2158       2222    +64
- Misses           29         31     +2
  Partials         30         30

Powered by Codecov. Last update fff8352...ea1eced


Break out future goals from #34 (milestone 2 PR)

Create new issues for future goals, including those formulated in #34
Those include:

Validator authentication (partly covered with setFeeRecipient in current v0.2 spec. Perhaps open is how to allow multiple validators use one CL client 🤔 )
Merkle proof of payment
Payload validity fraud proof (see #88 )

Maybe more / others
🙏

Multiple validators using the same CL -- what issue do you envision here? CL clients currently support multiple validators connected to a single beacon node. With respect to builders, since we've shifted the burden to them to know which validator is proposing at what slot, I think it will just be up to the beacon node to decide if the feeRecipient was set appropriately?
Merkle proof payment -- can you elaborate on what sort of scheme this might be? Would this be a proof provided with the header to a transaction that transfers ETH to the validator's feeRecipient?
Payload validity fraud proof -- I feel like specifying a p2p network should take precedence over this. I don't think it makes sense for this to be a part of the synchronous Builder API, because the value of the fraud proof is to share with others. Of course, we could allow relays to disseminate the information, however that feels like a side quest to preferred approach.
p2p builder network -- the synchronous Builder API is a great stepping stone and interface for CL <> mev-boost, but it has serious drawbacks w.r.t. privacy. I personally think we should do everything in our power to make sure we go into the merge with a proper p2p network around mev-boost that improves this situation. Eventually, it would be great to integrate this p2p network into the CL networking stack. However, I don't think this is a tenable approach if we hope to have a p2p network at the moment of the merge. I think our best bet is to use an off-the-shelf stack (I'm partial to discv5 + devp2p because it is what I am most familiar with) and create a bespoke subnet for mev-boost communication. That would essentially entail turning the Builder API messages as we have them into p2p messages, defining some propagation semantics, and adding in some fault attribution logic + messages (e.g. "I saw validator X send a signed header, but never saw the relay unblind the block behind it. I'll stop using them" or "I just received conflicting signed messages from a relay, they must be doing something malicious. I'll stop using them."

Multiple validators using the same CL ...

Yes, I think this is not an issue anymore. With the current design multiple validators can use one CL client without conflicts.

@thegostep @jparyani any thoughts on the other points here?


Download over HTTPS

Copy/paste the curl command from the doc doesn't work:
$ curl -LS https://get.sensiolabs.de/deptrac.phar -o deptrac.phar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
curl: (60) SSL certificate problem: Invalid certificate chain
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

thx


Slight improvment to README

Just making the README more concise.
Added screenshots.

Hello,
I love your freshly made README.md, thanks a lot for your contribution.
I hope you keep those coming ;)!
Have a wonderful day.

I'll be expecting my payment.

I thought we both agreed to keep this confidential, I want people to think this library is getting contributions because it is successful.


Don't create the 'packages' symlinks for certain directories.

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?
I have PHP project with a structure of directories that contains test/ directory. When I run the:
pub install

command, it creates many symlinks inside test/ directory. However this directory contains many *.php classes and other PHP related subdirectories/files. I want to write Dart code for frontend, but want to use PHP for backend and I want to say pub to ignore some subdirectories inside test/ directory, I want place Dart tests only in test/dart/ directory (or other directory).
It would be good to have a way to say pub to ignore certain directories, for example with using special item in the pubspec.yaml or some .ignore file and don't create symlinks for them.
What version of the product are you using? On what operating system?
Dart VM version: <IP_ADDRESS>_r22879, Windows 7

This issue has been moved to dart-lang/pub#558.


How to easily generate the rendering trajactories when evaluation?

Hi, Amazing work!!!!!
How can I generate the rendering trajactories when I'm trying to evaluate the trained model? I couldn't find an easy way to do that.
Looking forward to your reply.

To evaluate the model trained on the provided dataset, you should use the test set. If you are trying to render a new trajectory, the easiest way is to create one in Google Earth Studio and use the generated cam poses.

Thank you for your reply.
Yes, using the test set to evaluate the trained model, which I can understand, because you need the gt to calculate the PSNR, right?
When I have finished training, if I just want to play around the trained model, is there any way to create a new rendering trajectory for me to render new views (or even just create some new rendering view points it's ok) , besides using Google Earth Studio to create one?

In our setting, we transformed the coordinate system into ENU (https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates) with the origin set to the center building. If you don't want to use GES you can also mathematically calculate a curve.


meson: scdoc and cmocka are optionals

Avoid the dependencies when manual and tests are disabled.

I had a quick look on the other two patches, lgtm too.

thanks @david-marchand and @rjarry


is no code GDPR compliant?

i do not seem to have gotten a mail from no code to know what is done with my personal information.

Nocode has updated their privacy policy.

 Once you get it deployed, no one can audit it. Everyone accepts Nocode.

fair enough


set user to deploy if not already present (:user is used several time…

…s in the script)
I think this might be a bit better, just because :user is mentioned a couple of times in the script, this will ensure it's set
either this or add default to all instances of fetch(:user) ( I think there are actually only a couple)

good addition, can you publish a new version of the gem please


native: code generation for x86_64/i686

Perhaps use asmjit.
Use ELFIO at least for posix systems.


Why the flat folder structure?

Question
I am kinda curios.
What made you choose a flat folder structure in the modules?
In this case i am speaking of the "OpenGL" module itself that has a flat folder structure.
What are the upsides compared to a normal folder structure where each extension may receive their own folder for example to make it a bit more structured?

I can't comment on why this structure was chosen, but I wonder why you'd think folders would change anything here. Each OpenGL extension already corresponds to a single file (internally in the templates and the library Java code). For example, the entirety of the AMD_debug_output extension is contained in org.lwjgl.opengl.AMDDebugOutput. Thus, placing extensions in packages would essentially just add a lot of useless packages with just a single class in them.

@TheMrMilchmann while i would agree if there is just a few files that it makes sense to have a flat structure, I could also justify this example where there is enough files where folders could be made with based on what they are.

I think these amount of files justify a "AMD/ARB/EXT/GL" folder in the first place.

Hey @Speiger,
One reason was compatibility with LWJGL 2. Another reason is it allows the extension classes to access package-private functionality in the GL class.
Moving extension classes to (cross-)vendor-specific packages would indeed be cleaner, but I don't think it's useful in practice. For example, you'd never want to import org.lwjgl.opengl.nv.*. Instead, you usually target specific functionality with import static org.lwjgl.opengl.NVCommandList.*. Auto-completion also works fine with the vendor prefixes.

Hey @Spasi,
Thank you for the answer.
Ok i can see the reason why that is done, and it makes sense.
Though your argument with the imports isn't really one of validity since if the IDE/person doesn't care about the package import percentage but fixed import amounts, which you can obtain easier with a single package then with multiple packages.
Anyways, either side of the argument can be discarded easily, since it is a preference at last.
The reason why i am asking about package folding is actually the browsing experience.
Your suggestion expects that the person already knows everything about the library it is going to use.
But when you are fresh you are bombarded with options and have to take a ton of time to filter what is actually relevant or to find what you are searching for. Assuming you have a rough knowledge of what you are searching.
Not everyone searches with in editor, but some people search in filetree if that makes sense.
Funnily enough the GL classes are the exact opposite example where they chain on top of each other.
If you know roughly what you search for you pick the highest GL version class search for the one you want and then you change to the GL version class that actually has the thing you want, in terms of fields/functions.
Anyways, even so I kinda did the opposite, I wasn't planning on fighting for a point or a change.
I was just interested for why it was done the way it was done.
Anyways, have a nice week :)

Closing because answered.


March 15th, 2021 Community Meeting

Please add a topic in this thread and add a link to the Github issue associated with the topic.
Please make sure you give folks enough time to review/discuss the topic offline on Github before coming into the meeting
(optional) Paste the image of an animal :smile_cat:

timing out git validation (off by default?) (#659)
ClusterBuildStrategy support and default .strategy.kind (#657)
runtime image use cases and future support (off by default?) (#263)
Rebase BuildStrategy (#656)
Pig in rain boots ☔

Nightly release list (How Tekton store the nightly release?) and how to use it for issue https://github.com/shipwright-io/build/issues/498#issuecomment-798185400

Propose to remove workingDir setting from kaniko buildstrategy #658

PR 652 what is this? from where is this coming? is this ready for review?

GitHub Project Boards for Shipwright

Nightly release list (How Tekton store the nightly release?) and how to use it for issue #498 (comment)

Stable name: https://github.com/shipwright-io/build/issues/664
Prune old nightlies: https://github.com/shipwright-io/build/issues/665

Community meeting minutes:

@ImJasonH brought a list of different issues where feedback is more than welcome, see comment. We discussed in detail the "Rebase BuildStrategy" feature,
@zhangtbj provided some question on the nightly release setup, which led to https://github.com/shipwright-io/build/issues/660#issuecomment-799418083
@mattcui provided insights on a change for the Kaniko strategy, in order to improve the user experience https://github.com/shipwright-io/build/issues/660#issuecomment-799060028. The issue will remain open for feedback.
@adambkaplan mentioned on Project Boards as an optional for managing our multiple backlogs (build,cli,website).

I´m leaving the outcome of our discussion around breaking changes as an open one, so that more people can provide some feedback(what was said, concerns, etc) on what we discussed.

From my side around breaking changes, these are my main key points from what was discussed in the meeting:

As a shipwright contributor I want understand how are we proposing breaking changes and to see if we could get more transparency on the rational behind them. I provided some examples on existing pull requests where the use case is not clear to me and I asked for new ways to provide more data on why they are needed. I also provided some evidence on some changes being proposed contradicting to each other, e.g. spec.inputs vs spec.sources. Note: This does not equal resistance, on the contrary I´m looking forward for changes that can address N scenarios

As a shipwright contributor I want to ensure we aim for a well defined v1.0.0 milestone list of items. I think we have the right things in place to address this , e.g. milestones, grooming session, mailing list. Note: If we agree we want to keep breaking changes as minimal after v1.0.0 (Stable API), then we need to work towards this goal.

All of the above are my personal opinions.


Stuck at block 6709554 when parsing HE chain

Not related with https://github.com/hive-engine/ssc_tokens_history/pull/25, but since its implementation needed a full replay, when I have attempted a full history rebuild using node version bellow, I can't get past HE block 6709554.
5|prod-hivenghist-parser-bkp  | parsing block #6709554
5|prod-hivenghist-parser-bkp  | TypeError: Cannot read properties of undefined (reading 'data')
5|prod-hivenghist-parser-bkp  |     at parseTransferOperation (/prod/ssc_tokens_history_backup/contracts/tokens.js:23:16)
5|prod-hivenghist-parser-bkp  |     at parseNftBuy (/prod/ssc_tokens_history_backup/contracts/nftmarket.js:75:11)
5|prod-hivenghist-parser-bkp  |     at runMicrotasks (<anonymous>)
5|prod-hivenghist-parser-bkp  |     at processTicksAndRejections (node:internal/process/task_queues:96:5)
5|prod-hivenghist-parser-bkp  |     at async parseNftMarketContract (/prod/ssc_tokens_history_backup/contracts/nftmarket.js:219:7)
5|prod-hivenghist-parser-bkp  |     at async parseTx (/prod/ssc_tokens_history_backup/history_builder.js:102:5)
5|prod-hivenghist-parser-bkp  |     at async parseBlock (/prod/ssc_tokens_history_backup/history_builder.js:140:5)
5|prod-hivenghist-parser-bkp  |     at async parseSSCChain (/prod/ssc_tokens_history_backup/history_builder.js:168:7)
5|prod-hivenghist-parser-bkp  | Using SSC node: http://<IP_ADDRESS>:5000

Node: v16.17.1
Mongo: 4.4.21
Ubuntu: 20.04 LTS

That's a new one. I don't think it's related to #25 since the node I'm syncing with that code has made it to 8960380 before I manually stopped it. I am running on Node 18, mongo 6 and ubuntu 22 though. It looks like an issue with the NFT stuff, which @primersion worked on.

Probably a node version problem. Will try with 18 to see if that sorts it out. If so, then we might need to bump node min requirement.

Tested with node v18.16.0, same problem.
Looking at the block 6709554 itself:
{
  "refHiveBlockNumber": 53601938,
  "transactionId": "d1fcccd9315c9c9e4a8b27d715c9a557fd4b54f0",
  "sender": "themightyvolcano",
  "contract": "market",
  "action": "sell",
  "payload": "{\"symbol\":\"SIM\",\"quantity\":\"12000\",\"price\":\"0.0015\",\"isSignedWithActiveKey\":true}",
  "executedCodeHash": "34a62f39ce73ea129970433dba3c9799ef35d7e068a7a421a63173f11d4839666a67140199f5787fe068c92846e4beff0e2988ee61b98849b72b588ea4681d766a67140199f5787fe068c92846e4beff0e2988ee61b98849b72b588ea4681d766a67140199f5787fe068c92846e4beff0e2988ee61b98849b72b588ea4681d76",
  "hash": "a7785e379e251ae645bcaf5289aa0e745847db0bc9a5eccda6f26c0f6cb92d9e",
  "databaseHash": "de7f3375d5db7ba7f2c3c1259bce889295ff27f79c15f01367b1b2d604674955",
  "logs": "{\"events\":[{\"contract\":\"tokens\",\"event\":\"transferToContract\",\"data\":{\"from\":\"themightyvolcano\",\"to\":\"market\",\"symbol\":\"SIM\",\"quantity\":\"12000\"}},{\"contract\":\"tokens\",\"event\":\"transferFromContract\",\"data\":{\"from\":\"market\",\"to\":\"d-pend\",\"symbol\":\"SIM\",\"quantity\":\"12000.000\"}},{\"contract\":\"tokens\",\"event\":\"transferFromContract\",\"data\":{\"from\":\"market\",\"to\":\"themightyvolcano\",\"symbol\":\"SWAP.HIVE\",\"quantity\":\"18.00000000\"}},{\"contract\":\"market\",\"event\":\"orderClosed\",\"data\":{\"account\":\"themightyvolcano\",\"type\":\"sell\",\"txId\":\"d1fcccd9315c9c9e4a8b27d715c9a557fd4b54f0\"}}]}",
  "beautifiedPayload": "@themightyvolcano created a sell order for 12000 SIM at 0.0015 SWAP.HIVE",
  "parsedPayload": {
    "symbol": "SIM",
    "quantity": "12000",
    "price": "0.0015",
    "isSignedWithActiveKey": true
  }
}

logs field has multiple data fields for several contracts

Can you try adding a log for logEvents right before this line? https://github.com/hive-engine/ssc_tokens_history/blob/hive/contracts/tokens.js#L18 Wondering what it says there

Is this the same you have:
parsing block #6709554
This is what is inside logEvent: {"contract":"tokens","event":"transfer","data":{"from":"hamsterino","to":"risingstargame","symbol":"STARBITS","quantity":"188"}}
This is what is inside logEvent: undefined
TypeError: Cannot read properties of undefined (reading 'data')

https://he.dtools.dev/b/6709554 yeah looks like the right block. logEvent being undefined is weird. It looks like it's failing on this particular transaction: d1fcccd9315c9c9e4a8b27d715c9a557fd4b54f0

Hmm, it should definitely be defined according to what I see in the transaction, can you try logging events just before this line? https://github.com/hive-engine/ssc_tokens_history/blob/hive/contracts/nftmarket.js#LL75

Is it because there is the assumption that each action only has 1 event?
parsing block #6709554
This is what is inside logEvent: {"contract":"tokens","event":"transfer","data":{"from":"hamsterino","to":"risingstargame","symbol":"STARBITS","quantity":"188"}}
This is what is inside events: [{"contract":"tokens","event":"transfer","data":{"from":"hamsterino","to":"risingstargame","symbol":"STARBITS","quantity":"188"}}]
This is what is inside logEvent: undefined
TypeError: Cannot read properties of undefined (reading 'data')

Interesting, it looks like there should be at least 2 actions, but you only seem to have 1. Can you grab the entirety of tx d1fcccd9315c9c9e4a8b27d715c9a557fd4b54f0 from your node and paste that here?

Its my public node...
he.atexoras.com:2083
he.atexoras.com:8443
{
   "_id": 6709554,
   "blockNumber": 6709554,
   "refHiveBlockNumber": 53601938,
   "refHiveBlockId": "0331e6922280ddd938d6fe6e5b04886a5057473d",
   "prevRefHiveBlockId": "0331e69147b1b9b3acf81f734f7b0e688fa73311",
   "previousHash": "f03baa1e3d873537ce027d99ef9c791476b8242b540da3fabbd52f7ed9a34563",
   "previousDatabaseHash": "21524407aecdb5ace88d37b70f71e5ed97c4f205bccc6df879f9c6d484d06e2a",
   "timestamp": "2021-05-04T18:39:00",
   "transactions": [
      {
         "refHiveBlockNumber": 53601938,
         "transactionId": "63002c925da6f3a585f531bec353d45359c84f69",
         "sender": "hamsterino",
         "contract": "nftmarket",
         "action": "buy",
         "payload": "{\"symbol\":\"STAR\",\"nfts\":[\"214654\"],\"marketAccount\":\"hamsterino\",\"isSignedWithActiveKey\":true}",
         "executedCodeHash": "cfc4ac3913026ec74f527b112f424db5bdea8c818e56a0195dd4ae96bc03ea736a67140199f5787fe068c92846e4beff0e2988ee61b98849b72b588ea4681d766a67140199f5787fe068c92846e4beff0e2988ee61b98849b72b588ea4681d76",
         "hash": "994c4c840d6ee1c943e6a17212013651c53502fc7046ab282ef90040ca4f9d13",
         "databaseHash": "715d1a8c85e1d548f1317da106b04be27f70ade2d54cd852c2f98b674671fdae",
         "logs": "{\"errors\":[\"cannot transfer to self\",\"unable to transfer agent fees\"],\"events\":[{\"contract\":\"tokens\",\"event\":\"transfer\",\"data\":{\"from\":\"hamsterino\",\"to\":\"risingstargame\",\"symbol\":\"STARBITS\",\"quantity\":\"188\"}}]}"
      },
      {
         "refHiveBlockNumber": 53601938,
         "transactionId": "d1fcccd9315c9c9e4a8b27d715c9a557fd4b54f0",
         "sender": "themightyvolcano",
         "contract": "market",
         "action": "sell",
         "payload": "{\"symbol\":\"SIM\",\"quantity\":\"12000\",\"price\":\"0.0015\",\"isSignedWithActiveKey\":true}",
         "executedCodeHash": "34a62f39ce73ea129970433dba3c9799ef35d7e068a7a421a63173f11d4839666a67140199f5787fe068c92846e4beff0e2988ee61b98849b72b588ea4681d766a67140199f5787fe068c92846e4beff0e2988ee61b98849b72b588ea4681d766a67140199f5787fe068c92846e4beff0e2988ee61b98849b72b588ea4681d76",
         "hash": "a7785e379e251ae645bcaf5289aa0e745847db0bc9a5eccda6f26c0f6cb92d9e",
         "databaseHash": "de7f3375d5db7ba7f2c3c1259bce889295ff27f79c15f01367b1b2d604674955",
         "logs": "{\"events\":[{\"contract\":\"tokens\",\"event\":\"transferToContract\",\"data\":{\"from\":\"themightyvolcano\",\"to\":\"market\",\"symbol\":\"SIM\",\"quantity\":\"12000\"}},{\"contract\":\"tokens\",\"event\":\"transferFromContract\",\"data\":{\"from\":\"market\",\"to\":\"d-pend\",\"symbol\":\"SIM\",\"quantity\":\"12000.000\"}},{\"contract\":\"tokens\",\"event\":\"transferFromContract\",\"data\":{\"from\":\"market\",\"to\":\"themightyvolcano\",\"symbol\":\"SWAP.HIVE\",\"quantity\":\"18.00000000\"}},{\"contract\":\"market\",\"event\":\"orderClosed\",\"data\":{\"account\":\"themightyvolcano\",\"type\":\"sell\",\"txId\":\"d1fcccd9315c9c9e4a8b27d715c9a557fd4b54f0\"}}]}"
      },
      {
         "refHiveBlockNumber": 53601938,
         "transactionId": "907a9758fb549b8f33bacc389e02364c2306be08",
         "sender": "lifesavings",
         "contract": "market",
         "action": "cancel",
         "payload": "{\"type\":\"buy\",\"id\":\"0372b00b7e7a2b5ff592f8bea6d8af58dd8a0456\",\"isSignedWithActiveKey\":true}",
         "executedCodeHash": "34a62f39ce73ea129970433dba3c9799ef35d7e068a7a421a63173f11d4839666a67140199f5787fe068c92846e4beff0e2988ee61b98849b72b588ea4681d76",
         "hash": "256ce64b2352b43bcbebc63f3fe52871d5fe676225ce7cb580132fd04514d99f",
         "databaseHash": "089fa8e1783e48cbc264b108ed736b343bdc9e462cd21af59a83c71fe1ada174",
         "logs": "{\"events\":[{\"contract\":\"tokens\",\"event\":\"transferFromContract\",\"data\":{\"from\":\"market\",\"to\":\"lifesavings\",\"symbol\":\"SWAP.HIVE\",\"quantity\":\"3.20000000\"}}]}"
      },
      {
         "refHiveBlockNumber": 53601938,
         "transactionId": "4616b04bcaa239d2fa766ad9b7366d39c20502ce",
         "sender": "dcitybids",
         "contract": "nft",
         "action": "transfer",
         "payload": "{\"to\":\"gerber\",\"toType\":\"user\",\"nfts\":[{\"symbol\":\"CITY\",\"ids\":[\"1245435\"]}],\"memo\":{\"payment\":60,\"symbol\":\"SIM\",\"cards_load\":[],\"c_id\":\"c_wors_a\"},\"isSignedWithActiveKey\":true}",
         "executedCodeHash": "c712cbcb2afe485777f366dafcad8f1110ad1b2e9e37e92a6cf7a852820fdbf6",
         "hash": "6f9a2054d1a61e96639f8a758a782c0cbabdf615759712a5eb418bcc89a4dc57",
         "databaseHash": "d6a348f924d9eb7b5a934fc2bced6c8473a918efe11d31c81f03d80f823c96b5",
         "logs": "{\"events\":[{\"contract\":\"nft\",\"event\":\"transfer\",\"data\":{\"from\":\"dcitybids\",\"fromType\":\"u\",\"to\":\"gerber\",\"toType\":\"u\",\"symbol\":\"CITY\",\"id\":\"1245435\"}}]}"
      }
   ],
   "virtualTransactions": [],
   "hash": "e3302640263278c436b1a7f2063a6ce5156aaec5d38dd11ecd8630e14fbf5a16",
   "databaseHash": "b74acba170cd54d30cc0ff0ad44708361e7c0f43e7cfcc17130f6bc247dcf1ac",
   "merkleRoot": "b44eb14e68410496409684ed50824e4a63d2ddde2817ef09b084d95f8370e979",
   "round": 171966,
   "roundHash": "a584d99cea0898c861be1a7829c4b6c8ead4a7298117cf5d3e7a9750f4743611",
   "witness": "blervin",
   "signingKey": "STM5cTb5t9HXanrLADYqUD2mfn9xVru4dmbAy8Gxc8kEtuiHNnaLL",
   "roundSignature": "20241952cc3863510113529bd9e1c07251303971e1619144828a48c53e5cb636f16f88bfa05cf79e911910a655cf4a96bfbfaf24bd5c1cf7b981eb800982f6889e"
}

Hmm, I'm getting the same issue now,
0|HistoryParser  | parsing block #6709554
0|HistoryParser  | TypeError: Cannot read properties of undefined (reading 'data')
0|HistoryParser  |     at parseTransferOperation (/root/ssc_tokens_history/contracts/tokens.js:23:16)
0|HistoryParser  |     at parseNftBuy (/root/ssc_tokens_history/contracts/nftmarket.js:75:11)
0|HistoryParser  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
0|HistoryParser  |     at async parseNftMarketContract (/root/ssc_tokens_history/contracts/nftmarket.js:219:7)
0|HistoryParser  |     at async parseTx (/root/ssc_tokens_history/history_builder.js:102:5)
0|HistoryParser  |     at async parseBlock (/root/ssc_tokens_history/history_builder.js:140:5)
0|HistoryParser  |     at async parseSSCChain (/root/ssc_tokens_history/history_builder.js:168:7)
0|HistoryParser  | Using SSC node: http://localhost:6000

wonder what is causing this

Looks like it happens again on block #6709577.

I am going to do full syncs this weekend (still on the benchmarks phase) and document if I get still stuck.
What version of node? (don't think this has to do with mongo, but I am running 7 now as well on the new env)

Again @ 9536651
Node @ v18.19.0 and Mongo @ 7

Again @ 9536695

But wait, you are getting different blocks every time you go again, or you are saying that you found other blocks ahead with the same problem?

Again @ 13486273

But wait, you are getting different blocks every time you go again, or you are saying that you found other blocks ahead with the same problem?

Another block ahead with the same issue. I've been skipping these bad blocks for now till I have time to figure out what causes it and fix it(or hopefully someone else fixes it before).

Yep, just got the same block. So still happening. I am using ubuntu 23.10, mongo 7.0.5 and node v18.19.0. Will try to document the error this week. I think I know what it means, and should not be a concern (just a situation that was not predicted).

Ok, I think I am on something here. But I might need help with the fix.
So, what I have discovered so far is that all these blocks have one (at least for blocks here presented) transaction where in the logs field, there is an error. The transaction usually consists on a buy action of an NFT of the same account (the same that is selling that NFT).
The logs field show: "{"errors":["cannot transfer to self","unable to transfer agent fees"],…"
That looks like where the error is coming from. Because the transfer actually fails, due to not being able to get agent fees.
Next step is to try understand why the parsing of these blocks fail...

Is it because its expecting an "events" field with another "data" field inside and the first thing that it gets its an "errors" one, which does not have the data field.
Example for block 9536695:
"logs": "{"errors":["cannot transfer to self","unable to transfer agent fees"],"events":[{"contract":"tokens","event":"transfer","data":{"from":"pinkfloyd878","to":"risingstargame","symbol":"STARBITS","quantity":"134"}}]}"
This would not be a big deal, but it means that the parsing needs to contemplate not just expecting "events" from the "logs" field.

Ok, I think I know what happened. Back then the contract would still allow for the fees event to happen... when someone was trying to buy something they own already.
Example: https://he.dtools.dev/tx/824d596fc1692c290d6457a9c16631223261f07a
My question here is... did that event of the fees in this transaction really happened? did the user lost those fees?
If so, we need to adapt the parsing to intelligently understand what is parsing as an event.
The problem specifically on these blocks is on ssc_tokens_history/contracts/nftmarket.js file... at the parseNftBuy function. Because on the above situation, there is only 1 event for a nftbuy action.
Hence the this line will fail:
await parseTransferOperation(collection, insertTx, events[1], payloadObj);

There is two ways to solve this. Not parse these specific transactions by adding a check on errors, and if there are errors, to not parse. Or target specifically the situation to the type of error and only don't parse upon that error.
But I don't know if there are other situations... so I am testing with this (full replay):
diff --git a/contracts/nftmarket.js b/contracts/nftmarket.js
index 6212ca6..1bbb87c 100644
--- a/contracts/nftmarket.js
+++ b/contracts/nftmarket.js
@@ -64,7 +64,7 @@ async function parseNftChangePrice(collection, nftCollection, sender, contract,
 }

 async function parseNftBuy(collection, nftCollection, sender, contract, action, tx, events, payloadObj) {
-  if (events && events.length > 0) {
+  if (events && events.length > 1) {
     const insertTx = {
       ...tx,
     };

While doing so, I have found more problems... with the multiple NFT purchases... as with this code, the parsing would become incorrect because there are more than 1 event for fees and WAY more for the transfer of NFTs. But before going and open a new issue for that one, would like someone to validate what I am seeing.

Ok, I have now passed the first block that was problematic. Still going... no errors.

Hmm did the token transfer actually happen at all? If it did not happen I think the nft-market buy operation could be ignored completely, in case there is an error. But in that case I would say that the hive-engine nodes should not even be logging the token transfer? Maybe that's also a limitation of thive-engine nodes..
In any case we should check if an actual transfer did occur and if not, either

use your solution, which actually also just ignores the transaction, as the processing of events ignores the transfer and does nothing else
ignore the nft-market buy operation completely if there are errors

Hmm did the token transfer actually happen at all?

In this case, I don't think it HAPPENS anymore... but I can't be sure if the past it did happen. And this one is a corner case because the NFT is being bought by the owner itself. So, I don't think there is a record of any transaction. Hence I would default, that it didn't happen at all.
But I don't know if I can generalize that for all other combinations of errors. And that's where my lack of understanding goes.
I have decided to specifically ignore that event amount combination with NFT purchases only. So far... no errors. But the reality is if there are more "number" of events, that rule does nothing anymore (and we get to the same problem again). Unless indentifying the event type before deciding to parse. Which is my question... is that too costly or simply does not make sense.
I am on 23507060 block already... (taking forever...) but no errors. Anyone trying to use the old code, those transactions will not be parsable... and there is a retry and error situation, by stopping and restarting the parsing server, that will roll over them eventually.

Completed sync without problems.

Added this to...
https://github.com/hive-engine/ssc_tokens_history/pull/32


Link to wellcomelibrary.org directly from the access terms

There are access terms that contain HTML that we'll need to render on /works (e.g. links to the Access Policy).
This patch modifies the message "Please check this item on the Wellcome Library website for access information" (which gets added when we can't yet determine the access status) to include a hyperlink to the page in Encore. This lets us keep all the logic for including this link in a single place, rather than having data quality issues leak into the front-end code.

I'd check with @gestchild whether this is desirable as it makes decisions about front-end formatting that might be better off to remain in the front-end e.g. maybe that anchor tags should have some other attributes on it, is the link text accessible? TBH I think in this case it's probably fine, but worth checking.

Just for info - we do render HTML from notes(note dangerouslySetHtml), so that's handy.
If we wanted to test other text, we could by just checking the note and not rendering the content from the API.
if (notes.accessCondition) {
  CustomText
}

2¢ - definitely worth checking with the experience team as there might have been a reason not to have included the link this way.

Looks good to me


Rename reference_policies_examples_aws-enable-disable-regions.md to i…

…am-user-guide
Remove payment
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hi, it's not clear from the pull request commit what change is being proposed.
Can you provide a description of the changes?


caddy-gen refactor

Caddyfile brings numerous issues for our site. We could leverage caddy JSON configuration scheme for better extensibility.

Issues of Caddyfile:

Do not support hot-reload. We need to restart our server every time.
Brings bugs without notice. https://github.com/sjtug/mirror-docker-unified/pull/214
Not cover full features of Caddy, and need several hacks. https://github.com/sjtug/mirror-docker-unified/commit/b0156e1d2116e31549e29dd9c0a7a9485c7a1feb


Make management of yarn/webpack dev server with gradle less awful.

Right now we're using some sketchy bash scripts to manage the webpack/yarn server processes through gradle. We're not killing the processes nicely, and none of this works on windows. This should be addressed.
Also:

It wouldn't hurt to add something like a "client status" task for the client subproject in gradle.
Management of the log files for these things needs to be improved. Students can't be expected to know how to tail log files...

This was actually fixed in 331b9ede8fdb1c652464b09bda5f0b638b10232b
The commit messages there references the wrong issue.


Problems with Binary installation

Windows but using WSL using Ubuntu.
Hi all,
As shown on the docs, the binary installsation and python bindings are separate. I have completed the python bindings side of things and currently facing some issues with the binary installsation. I have downloaded the vina_1.2.5_linux_x86_64 and placed into a bin folder and added into PATH however, i cant seem to run it outside of the bin file (-bash: ./vina_1.2.5_linux_x86_64: No such file or directory) nor can i call vina (Command 'vina' not found, but can be installed with: sudo apt install autodock-vina). I have checked with echo $PATH and it does recognise my vina/bin folder.
Any advice on how i can go about solving this issue?
Thanks

Solved it on my own sorry


Implement sci-guide case studies using rimpl

Hi @narekhovhannisyan @gnanakeethan
On Thursday we are aiming to demonstrate how rimpl can be used to calculate SCI values for several impls derived from case studies here: https://github.com/Green-Software-Foundation/sci-guide/tree/dev/use-case-submissions
Here are the impls themselves: https://github.com/Green-Software-Foundation/ief/pull/80
There is quite a lot to do in the next few days to meet this deadline. This issue can be a sensible place to keep track of progress. Here is what I think is a good set of milestones for Monday - Thursday:

[ ] 1) Get the rimpl to run the Intel model

This is going to be challenging because we don't have access to the model itself - it is a black box to us and is only available to Paz, so iteration will be slow. Therefore, we need to get onto this as soon as possible. Here's the current state:

The shell model tests work well using the mock python script
Paz's model works well in isolation passing in an example yaml over stdin. It returns output yaml over stdout.
the Rimpl CLI PR is ready for review

We need to get the rimpl PR merged, then make sure that when rimpl receives an impl with a model of type==plugin and a path !=='', it calls the shell function and incorporates the returned data into the ompl as expected. The Intel model is end-to-end, no other models are required in the pipeline - it just needs to be called once and the return data dumped into the ompl. I can provide the example impl Paz has been using to test his model, but we won't be able to run the model for ourselves.
Let's aim to get the rimpl PR merged and a sync call with Paz done on Monday morning, then focus on getting the Intel model to run reliably by Tuesday. I expect a substantial amount of time to be spent waiting for Paz to experiment and return results, so we can run the following tasks in parallel...

[ ] 2) Implement Microsoft e-shoppen

This is the best first target for the builtin impls because it is a standard sci-e -> sci-m -> sci-o -> sci pipeline without anything too unusual happening along the way, so it should be straightforward to implement and the models are already available. It's also a good initial case because there are only two components to account for. If we can get this to work, we have the basic foundational model pipeline, which is a good win. Should be doable by end of Monday or early Tuesday.

[ ] 3) Implement Dow-MSFT

This is a good second target because it builds upon the foundations required for e-shoppen. The Dow-MSFT study requires one additional model. It is a very simple model that calculates E due to memory usage by simply multiplying the allocated RAM in GB by 0.38 and then dividing by 1000 to give E in kwh. This is then added to the Teads E-cpu to give the total E that is passed to the sci-o model. This model will also be used in other case studies.
The values for M are calculated using the sci-m model - the relevant values are all in the impl. The complication with this is that there are 4 components to account for, but if we implemented e-shoppen correctly this should just work....
Aim to complete on Tuesday.

[ ] 3) Implement Accenture

Next the Accenture model. This is relatively straightforward, using the same models as Dow-MSFT but with one small twist - there is an "app-gateway" component - it's impact is calculated as 5% of the sum of all the other components, so it is applied after all the other SCI calculations are done. In the data they provided they give E directly so we have the option to skip the Teads calculation and go directly to sci-o with their provided E, M and I values. However, it would be better to compute the whole pipeline - I'm waiting for some additional values to enable this.
This should be doable on Tuesday/early Wednesday if e-shoppen goes smoothly as there is only a small amount of additional logic to implement.

[ ] 4) Implement Aveva

The remaining models all have some unusual elements that require specific models to be built. The model for the Aveva study will require a custom model that takes in min/max/mean watts and returns E instead of using Teads.
Aim for Weds afternoon/Thurs morning.

[ ] 5) Implement Farm Insights

The Farm Insights study simply provides high level SCI values and all the pipeline needs to do is convert to the functional unit.
This should be very quick to implement - Weds afternoon?

[ ] 6) Implement NTT-on-premise

The NTT on-premise model is awkward because it requires multiple models to be built to account for energy use by several types of switches and servers, in addition to the embodied carbon models. I'd leave this until last. Let's go for this if we still have time available on Thursday morning.

[ ] 7) Skip remaining models

We should skip the microsot-green-ai, gsf-website and azure-yassine impls as they are all currently missing crucial data.

Here are descriptions of the new models required by each of the case studies (NTT coming tomorrow):
1) e-shoppen

e-mem-tdp
msft-eshoppen uses an e-mem model similar to Dow-MSFT but using a tdp specific to RAM, rather than the cpu tdp curve. We can call this model e-mem-tdp. It calculates an e value in kwh for memory usage.

e-mem-tdp  =  n-hours * n-chip * tdp-mem * tdp-coeff
e.g.
n-hour = 1
n-chip = 1
tdp-mem = 12.16
tdp-coeff = 0.12
e-mem-tdp = (1 * 1 * 12.16 * 0.12)/1000 = 0.01216 kwh

e-cpu

They also use their own tdp curve for e-cpu:
e-cpu = n-hours * n-chips * tdp * tdp-coeff

e-net:

The energy used by network traffic, in kwh
e-net = data-in + data-out * net-energy
e.g.
data-in: 14  (GB)
data-out: 1.6  (GB)
net-energy: 0.001 (kwh/GB)
e-net = 14.3 + 1.16 * 0.001 = 0.01546 kwh
2) Accenture:

sci-accenture:

sci = sci_total * 1.05
where sci is the total from all the other components
(i.e. the app-gateway is assumed to be 5% of the total from the other components. So multiply sum of other components by 1.05 to get total. The result is in gCO2
3) Aveva:

sci-aveva
their e values come from a bespoke model, not Teads. It is as follows:

e = ( pl - pb ) x t
where:
PL = Average of measured loaded system power consumption
PB = Average of measured baseline system power consumption
t = annual usage (hour)
e.g. for PL = 16.009 W, PB = 11.335 W and t = 8322 hr
e = (16.009 - 11.335) * 8332 = 39 kwh

@jmcook1186 Can you provide a detailed YAML which has to be processed by these models?

Hi @gnanakeethan, yes the impls for each case study are in the PR here https://github.com/Green-Software-Foundation/ief/pull/80

Changing the branch range and across  destination

Lets Compare the branch Across the Fous

@jmcook1186 can this be closed now, please close if so.

As discussed on IEF core meeting this is complete as per this PR: https://github.com/Green-Software-Foundation/ief/pull/80


Should let you get errno

See also  #47

I switched https://github.com/rust-lang/libc/issues/47 to just "manage errno", so I'm gonna close this in favor of that (they're basically one-and-the-same)

Ok


Postgres: schema_evolution = 'auto' by default

Currently, we do this in a hacky way in cds deploy - we should instead do it more centrally in the plugin.
Should fix https://github.com/cap-js/cds-dbs/issues/100

I am not 100% sure, but the way I understand it, the plugin will provide the things configured in the package.json as default cds options, right?

Should be add a test to check this automatically?

Should be add a test to check this automatically?

Maybe a check that prints the cds env and checks that schema_evolution is set to "auto"? 🤔 Do your tests have access to cds env?

Should be add a test to check this automatically?

Maybe a check that prints the cds env and checks that schema_evolution is set to "auto"? 🤔 Do your tests have access to cds env?

We could also add a similar test that uses schema migration as we do in cds package?

Should be add a test to check this automatically?

Maybe a check that prints the cds env and checks that schema_evolution is set to "auto"? 🤔 Do your tests have access to cds env?

We could also add a similar test that uses schema migration as we do in cds package?

I think that rebuilding the cds-deploy tests here is a bit overkill


Conduct UI/UX research for frontend

Provide a web app which calls backend API with streaming answers and hosted at chat.stampy.ai, chat.aisafety.info and possibly elsewhere.

Based on some initial discussion, here are some items:

Change header & intro info
Add options to specify level / audience / goal, i.e. novice, skeptic, editor, researcher?
Suggest a few (3-4) starting questions based on level / interest
Use chat bubbles or background colors to delineate between user questions & generated answers
Thumbs up / down to indicate if answer was helpful. Offer an option to indicate too much jargon.
Suggest a few (3-4) follow up questions after generated answer
Provide option to create shareable public link to chat transcript
Inline citations are great but too much color is distracting
Light/dark mode

Provide option to create shareable public link to chat transcript

Does https://stampy.ai/ have a DB we can write to? Since we're moving towards folding stampy-chat into the existing stack, this could be a great place to start integrating things.

Sample Figma file as a basis for discussion & brainstorm with ideas from from Bard and Bing.
https://www.figma.com/proto/AzObfqEt6ifUIBDoMIxJrg/Stampy.AI?page-id=107%3A45&type=design&node-id=107-46&viewport=434%2C279%2C0.22&scaling=scale-down&starting-point-node-id=107%3A46

From McGill Team's Plan:
Better frontend messaging:
note to user not to send private information into the query, more stuff that is relevant to a layperson. Some stuff mentioned are a bigger search button but many small things like that can be improved.

quick note: I think we should still have colour on the citations. It making it quicker to reference between the body and the footnotes. It's a lot easier to tell when one paragraph is primarily attributed to one or two sources, then the second to a third or forth, etc. Also the fact that we're concretely anchoring information back to in sources is a big part of what makes us novel, better than just a pretty face and a two paragraph prompt - imo it's good if that stands out.
From discussion in the meeting it sounded to me like the main problem was with the prominence of the colours and the lack of a singular palette (the pastel rainbow is a bit much). If I am reading this right, I would suggest changing the colours to instead be shades, or closely varying in a range that fits the visual theme - instead of dropping them outright.
Does that sound like an alright move?

From the initial feedback and looking at other websites & applications using citations, varying colors is just not something that's normally done and felt somewhat gimmicky. Personally, I think the idea has interesting potential. Since we're still in early prototype mode, I'm certainly open to picking ~9 colors that are more complementary to the new theme to see how users respond.


Stopped working on Android device

Hi Dominik,
thank you for the great plugin. I use it very often, just to fill up content into my 2nd brain, Zettelkasten or how ever you want to call it. So it is really important for my workflow. I think a short time ago I updated the plugin and now it is not working. Don't know, if there is a bug or something else. I am using Samsung S4 tablet with Android. All software should be up to date.

Hi @Hansilein00726
can you provide these additional information?

Android version
Android System Webview version (can be found in Settings -> Apps)
Output from console (link for manual) or latest functional version of plugin

Android 10
Webview Version 103.0.5060.71
I tried several links from Youtube. The first one I found not working was: https://youtu.be/KH_zqH8EgDo
I also tried Optimization & so on.
The other stuff I look tomorrow. Already to late.

I understood that a PC is needed to debug the Android device. Unfortunately, I have just the Android tablet and the Android phone available.

That's ok. I was able to replicate bug. It's caused by different DOM of YouTube mobile version site. I'm working on fix.

That's really great to hear.  Also happy that maybe my info was kind of useful. Maybe then I helped a lot of people, since many love this plugin.😁 Thanks for the great tool. All videos and most articles enter via your plugin into my vault.

Fixed in 0.0.16


Refactor object model to support friendlier REPL interactions

This branch changes how we internally represent and interact with statements in the aleph code.  Most of the existing code operated on the StatementMsg type, which is the unmarshaled protobuf as a JS object.  This led to lots of tedious and error-prone cases around the oneof fields, and made for cryptic and unfriendly output for queries at the REPL, etc.
So this branch adds a Statement class, which is convertible to/from the protobuf form, and which has some handy helper methods that were formerly free functions (e.g. statementSource is now .source()).  Each type of statement body gets its own subclass, and you can use instanceof checks to figure out which is which if you need to, although hopefully most of what you want will be available on the main Statement object which will paper over the details.
A bonus of having classes is that it's easier to define a custom .inspect() method, which lets us override the default printed representation at the REPL and in console.logs.
I also changed the .remoteQuery method to unwrap the query results from the protobuf's they're delivered in, which, combined with the custom .inspect methods, makes for a much nicer REPL experience.
namespace list query (old):
א > remote.query('SELECT namespace FROM *')
[ { value: { simple: [Object] } },
  { value: { simple: [Object] } },
  { value: { simple: [Object] } },
  { value: { simple: [Object] } } ]

namespace list query (new):
א > remote.query('SELECT namespace FROM *')
[ 'images.500px',
  'images.dpla',
  'images.pexels',
  'mediachain.schemas' ]

Combined with the custom .inspect methods, it makes fetching a statement (and its data) much nicer.  The remoteQueryWithData method returns a statement with a special "expanded" body, and has a nice clean representation at the console:
א > remote.queryWithData('SELECT * FROM images.500px LIMIT 1')
[ { id: '4XTTM4K8sqTb7xYviJJcRDJ5W6TpQxMoJ7GtBstTALgh5wzGm:1478269180:3738110',
    publisher: '4XTTM4K8sqTb7xYviJJcRDJ5W6TpQxMoJ7GtBstTALgh5wzGm',
    namespace: 'images.500px',
    timestamp:<PHONE_NUMBER>,
    signature: 'wvJZqV86g2f1C+OvUITuvuVrFjMaF/lsXgoxo9Jr8nGqsPzJMNob3/h4+gEVxkTLwHe6wmFpjAT1TNvKEhkMDw==',
    body:
     { object:
        { schema: { '/': 'QmYGRQYmWC3BAtTAi88mFb7GVeFsUKGM4nm25SBUB9vfc9' },
          data:
           { artist_name: 'Oliver Andrews',
             aspect_ratio: 1.5058823529411764,
             date_created: '2016-05-19T14:37:26-04:00',
             dedupe_hsh: '95f7e73fde2c0360',
             description: 'Flower buds forming on flowering dogwood (the red stemmed variegated variety).',
             keywords:
              [ 'flowers',
                'nature',
                'flower',
                'bud',
                'plants',
                'plant',
                'black and white',
                'canon',
                'garden',
                'flora',
                'outdoors',
                'buds',
                'shrub',
                'dogwood',
                'cornus',
                'flowering dogwood',
                'ukspring',
                'canon70d',
                'canonuk' ],
             license_tags: [ 'CC BY-NC-ND' ],
             license_url: null,
             licenses: [ { name: 'CC BY-NC-ND', name_long: 'CC BY-NC-ND' } ],
             native_id: '500px_154574729',
             nsfw: false,
             origin: 'https://500px.com/photo/154574729/dogwood-buds-by-oliver-andrews',
             sizes: [ { content_type: 'image/jpeg', height: 682, width: 1024 } ],
             source:
              { name: '500px',
                url: 'https://500px.com/photo/154574729/dogwood-buds-by-oliver-andrews' },
             source_dataset: '500px',
             source_tags: [ '500px.com' ],
             title: 'Dogwood Buds' } },
       refs: [ '500px_154574729' ],
       deps: [ 'QmYGRQYmWC3BAtTAi88mFb7GVeFsUKGM4nm25SBUB9vfc9' ],
       tags: [] } } ]

Anyway, there's still some cleanup and testing to do here; a few places still work with the "raw" protobuf messages instead of the new classes, and I haven't tested all the new code yet.
TODO:

[x] tests
[x] finish replacing code that uses StatementMsg protobufs directly
[ ] possibly replace getters (e.g. .objectIds) on statements with plain methods, since flow doesn't like getters
[x] make sure that the "expanded statement body" is a good idea... I'm not sure if the current impl is where it's at

Much, much better! :+1:

Seeing some incompatible array/buffer calls, but no accessor complaints in my flow

I added a line to the .flowconfig to enable "unsafe" getters/setters.  Flow doesn't trust them by default since they can be side effecting.

btw, my note above about whether the expanded statement bodies were a good idea was mostly because I was considering whether to make a more general "resolve object" interface, which could be backed by e.g. a Datastore instance (or even a stream to a remote node).
The problem there is that you'd need the interface to be async, which is more awkward to use at the repl, etc.  I'm pretty fine with the expanded bodies as they are now, I think.

heh, yeah I've been using intellij since they added flow support; it makes crap like this so much easier.


ErrorException in CartItem.php line 306: Undefined index: id

i am having this when i try to add item in cart
Cart::add([str_random(50), $product->product_name, 1, $price])->associate('Product');
can anyone help me

If you use an array in the add() method it needs the correct keys. You can find it in the documentation in the readme.


Uglify an anonymous function

Hi, I happen to have a problem when uglify an anonymous function. I am developing a chrome extension, and I need to insert a script to some webpage to retrieve some information(like width and height).
So If I have a script someScript.js
(function() {
   //do something here
   return {
      //some object
   }
}());

After I uglify with this code
pipes.moveProdScripts = function() {
    return gulp.src(paths.scripts)
        .pipe(babel({presets: [es2015]}))
        .pipe(plugins.uglify({mangle: false}))
        .pipe(gulp.dest('dist'));
};

I will get
!function() {
   // do something here
   return {
      //some object
   }
}();

The above code will return false whatever it return inside the function.
Is there any work around to keep it not using "!" but still minify the code?
gulp version: 3.9.1
gulp-uglify version: 2.0.0
Thanks you

Try passing options similar to the following:
var opts = {
  compress: {
    negate_iife: false
  }
};


Switch docker image to appliance mode

Cloned manageiq-appliance and re-utilized existing upstream scripts/tools
Switched clone path from /manageiq to /var/www/miq/vmdb
Deployed necessary httpd configurations for appliance mode
Adjusted docker_initdb to integrate better with new build environment and simplified the script
Removed unnecessary evmserverd files from docker-assets (we now use upstream manageiq-appliance)
Fixes #7797
Fixes #7798
Fixes #7799

New appliance image tested and validated with :
docker-1.10.2-3.git0f5ac89
atomic-1.8-3.gitcc5997a

@bdunne @simaishi Please review.
I noticed a CFME reference in there which should change to ManageIQ (it's probably that way in the other location as well and should change there as well)

@fbladilo I just built & run the container based on this PR,
httpd fails to start ... after some digging it looks like there is a missing httpd conf "/etc/httpd/conf.d/cfme-redirects-ws" that apache tries to load according to /etc/httpd/conf.d/cfme-https-application.conf (line 10) ....
Looking at /etc/httpd/conf.d/ I see 3 files related to redirect:
cfme-redirects-websocket
manageiq-redirects-ui
manageiq-redirects-ws
It looks like a mixture of upstream and downstream appliance file reference.

The 'mixture' has been fixed in #8068  Everything should be referencing 'manageiq-' now.

@simaishi  @bdunne @fbladilo
I tested it again ... httpd still fails coming up
it says:
httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 10 of /etc/httpd/conf.d/cfme-https-application.conf
2 things:

/etc/httpd/conf.d/cfme-https-application.conf - implies CFME and this should probably be manageiq as well

in this file () httpd tries to include 3 files (line 10) - cfme-redirects-ws, cfme-redirects-ui & cfme-redirects-websocket

there are still 3 files under /etc/httpd/conf.d/ which implies cfme (cfme-http.conf, cfme-https-application.conf & cfme-https.conf)

AFAIU all the files in upstream appliance mode should have a manageiq prefix ?

They should all have manageiq prefix now.  The majority of the changes went in yesterday in PR #7470 (and related PRs mentioned in that PR).  "cfme-https-application.conf" was renamed to manageiq-https-application.conf as well.

@bazulay @simaishi those files are auto-generated when evmserver starts up, as of my yesterday build (around noon CST) conf.d looked like this :
[root@daa39e8fd0e4 conf.d]# ls -la *.conf
-rw-r--r--. 1 root root  396 Dec  9 13:11 authnz_pam.conf
-rw-r--r--. 1 root root 2926 Nov 19 21:43 autoindex.conf
-rw-r--r--. 1 root root   98 Apr 18 21:33 cfme-balancer-ui.conf
-rw-r--r--. 1 root root  103 Apr 18 21:33 cfme-balancer-websocket.conf
-rw-r--r--. 1 root root   98 Apr 18 21:33 cfme-balancer-ws.conf
-rw-r--r--. 1 root root  596 Apr 18 20:41 cfme-http.conf
-rw-r--r--. 1 root root 1361 Apr 18 20:41 cfme-https-application.conf
-rw-r--r--. 1 root root  411 Apr 18 20:41 cfme-https.conf
-rw-r--r--. 1 root root  243 Mar  6  2015 intercept_form_submit.conf
-rw-r--r--. 1 root root  372 Nov 20 12:43 lookup_identity.conf
-rw-r--r--. 1 root root   79 Apr 18 20:41 ssl.conf
-rw-r--r--. 1 root root 1252 Nov 19 21:35 userdir.conf
-rw-r--r--. 1 root root  824 Nov 19 21:35 welcome.conf
And the appliance started HTTPD successfully.

@fbladilo That is correct, Apache will not start on its own.  As evmserverd starts up, it will start workers for web-ui, api, and websocket.  Each of those workers will register themselves with Apache by creating or updating the 3 missing files and then starting or reloading Apache.

#7470 was merged yesterday evening EDT and #8068 was merged this morning.  As of that merge, files that get auto-generated will have 'mangaeiq-' prefix in file names, and files we provide (in manageiq-appliance repo) were renamed to have 'manageiq'- prefix as well.
So if @bazulay still has "cfme-https-application.conf" (and not "manageiq-https-application.conf"), the might not be the latest code...

Just rebuilt the docker image against latest master with #7470 and #8068 merged, came up just fine :)
[root@c8c6c2498415 conf.d]# pidof httpd
959 957 916 915 914 913 912 911
[root@c8c6c2498415 conf.d]# ls -la manageiq-*
-rw-r--r--. 1 root root   98 Apr 19 15:46 manageiq-balancer-ui.conf
-rw-r--r--. 1 root root   63 Apr 19 15:46 manageiq-balancer-ui.conf_old
-rw-r--r--. 1 root root  103 Apr 19 15:46 manageiq-balancer-websocket.conf
-rw-r--r--. 1 root root   70 Apr 19 15:46 manageiq-balancer-websocket.conf_old
-rw-r--r--. 1 root root   98 Apr 19 15:46 manageiq-balancer-ws.conf
-rw-r--r--. 1 root root   63 Apr 19 15:46 manageiq-balancer-ws.conf_old
-rw-r--r--. 1 root root  612 Apr 19 14:42 manageiq-http.conf
-rw-r--r--. 1 root root 1377 Apr 19 14:42 manageiq-https-application.conf
-rw-r--r--. 1 root root  415 Apr 19 14:42 manageiq-https.conf
-rw-r--r--. 1 root root  403 Apr 19 15:45 manageiq-redirects-ui
-rw-r--r--. 1 root root  105 Apr 19 15:45 manageiq-redirects-websocket
-rw-r--r--. 1 root root   95 Apr 19 15:45 manageiq-redirects-ws
@simaishi @bazulay @bdunne @Fryguy

:+1: LGTM

@fbladilo @bdunne @Fryguy
I just verified it myself, all works well after #8068  was merged

@fbladilo @bazulay, I got a thumps up from @bdunne but do you want me to wait to merge to rmove the motd thing, or just merge now and you'll take care of that in a follow up?

@Fryguy from my side you can merge it now ...all the other changes are minor and can get in later

@Fryguy Yep I'm good to merge, we can send a cleanup with minor items later.


go: mark annotations and volumes as optional

The latest version of the specification (v1) allows for the .spec.versions[*].annotations and .spec.versions[*].volumes fields of ClusterWorkloadResourceMapping resources to be optional.  However, the exemplar go data structures require their existance when serializing/deserializing.
Update the canonical definition of ClusterWorkloadResourceMapping structs to be accurate.
Signed-off-by: Andy Sadler<EMAIL_ADDRESS>

@scothis Fixed.


⚠ CIOOS Pacific ERDDAP dataset ECCC_MSC_BUOYS has degraded performance

In dd47446, CIOOS Pacific ERDDAP dataset ECCC_MSC_BUOYS (https://data.cioospacific.ca/erddap/tabledap/ECCC_MSC_BUOYS.htmlTable?wmo_synop_id&time>now-3hours&distinct()) experienced degraded performance:

HTTP code: 503
Response time: 16447 ms

Resolved: CIOOS Pacific ERDDAP dataset ECCC_MSC_BUOYS performance has improved in 5af1696.


Release v0.0.48

https://github.com/kythe/kythe/releases/edit/untagged-c0f2f2f0f236accdd0b4
Fixes #4675

Thank you!


Demo 5.6.2 upgrade

Prepares the upgrade of the demo servers to the latest released OMERO components - see https://www.openmicroscopy.org/2020/07/16/omero-5-6-2.html
As discussed earlier with @mtbc @manics @will-moore, also includes an upgrade of the OMERO Ansible roles to their latest versions including the updates to the ome.postgresql variables across all production playbooks.

pub-omero/demo now upgraded with these changes. Proposing to merge so that upcoming server/web upgrades can consume the requirements changes.


PP-4976 Add validation for organisation address page

WHAT
Add post controller for the organisation page with server-side validation. Currently this will not submit the organisation details if validation is not successful.
Use error messages produced by the validation in the template, rather than error messages hardcoded in the template.
Co-authored-by: @SandorArpa

Nice one


[Feature Request] In Windows 10, show icon of application instead of the default file icon.

It would be super helpful if Zazu would display application icons in search results. Right now, I am only seeing the default file icon.
Expected Behavior

Search for 'Outlook 2016'
Outlook 2016 is displayed with icon

Actual Behavior

Search for 'Outlook 2016'
Outlook 2016 is displayed with default file icon

Steps to reproduce the behavior

Search for application on Windows 10

Versions

Zazu:

App Environment: production
App Version: 0.4.0
Electron Version: 1.3.13
Node Version: 6.5.0
Chrome Version: 52.0.2743.82

OS: Windows 10 Enterprise, Build 14393.693
GIT: N/A

Log:
https://gist.github.com/nalexander50/511d8e94b1f3857558a6c33422e58074
Image:
http://imgur.com/a/16ysR

I'd love to do this. We recently made the file-finder have os-specific adapters. Currently on mac has icons, but having a windows adapter is easily the next feature of this plugin.
Some of the core devs, including myself, are happy to pair on this feature with you if you want to give us some direction or take a stab at implementing it yourself.


Add aarch64 linux build of openj9+openjdk11

The aarch64 linux build of openj9+openjdk11 is wanted.
It can be built manually now using a cross-compiling environment by following the build instructions, and runs in the interpreter mode.

If OpenJ9 is supporting this upstream then we're happy to assist in getting this up and running.  I've put it in the Backlog as it needs volunteers

OpenJ9 is supporting this upstream.
FYI @sxa555 - I cc-ed you on a note from @knn-k so you have context.
We have also completed preliminary testing against developer builds.

@knn-k Can it be built natively instead of with a cross compiler? That would make our setup and implementation easier.

Unfortunately, no.  The build configuration for aarch64 in OpenJ9 assumes cross-compilation at this point.
I will take a look if I can change it for building natively.

Changes https://github.com/ibmruntimes/openj9-openjdk-jdk11/pull/149 and https://github.com/eclipse/openj9/pull/5321 should enable native compilation

Note, the build will run to completion using --with-openssl=system on Ubunt4un 16.04 with the libssl-dev package installed

Almost there - I've temporarily patched the machine to resolve https://github.com/eclipse/openj9/pull/5451 but once that's in I'll undo that but it's now live on https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-linux-aarch64-openj9/

Working other than the fact the build currently needs --disable-warnings-as-errors-openj9 as per https://github.com/eclipse/openj9/issues/4486 - am hoping we can use another option in production.

The "other option" is now submitted under https://github.com/eclipse/openj9/pull/5508
I have validated that the ar fix works


File glsl-packing.lisp no longer exists but still listed in system definition

The system definition in 3b-spirv.asd lists (:file "glsl-packing") but this file was removed two commits ago. The definition should be revised to reflect this.

fixed, thanks


chore(deps): switch from optimist to yargs

Fixes #529

@davedoesdev can you make a fork and update dependencies?
Since this repo seems to be no longer maintained and introduces a ton of security risks.
Thank you!

@navidmafi I have a copy of the latest and working version but I don't know if the author approved to create a new package

I probably won't get round to this for a week or two. @HakobiDev does your copy contain this PR?

I probably won't get round to this for a week or two. @HakobiDev does your copy contain this PR?

I added it in the past version but I decided to modify and update anything including removal of yargs package.

I'm running with "nw-builder": "davedoesdev/nw-builder" for now

@davedoesdev i know it's been a while but do you wanna give this a shot?

Closing this for now. It'll be easier for me to make these changes on the updated code.

I've updated this.
lint and test pass (for me locally at least)

I don't know why pnpm-lock.yaml was updated

LGTM, thanks!


Update getting-started.md

Added topic indicating the installation of react-native-cli for unexpected users

Closing this as I don't think we need this change?


Make sure we turn ambient pressure to an int.

I noticed that there was this feature to set the pressure for better results, and since I was using a CLUE, I figured I'd set it on startup. Of course, the BMP280 returns a float, not an int, so I got an error about trying to shift a float. This fixes the error, by turning whatever we're given in the setter of ambient_pressure into an int, so you can just:
# Tell it our ambient pressure on startup for best data
scd.ambient_pressure = clue.pressure

ping @caternuson

ping @caternuson

@tannewt yep. on it. just got one yesterday :)

@tannewt yep. on it. just got one yesterday :)

@rpavlik What about doing this in user code instead?
scd.ambient_pressure = int(clue.pressure)

This would help reinforce the fact that the setting really is only integer resolution:

It would also make things more symetric in terms of getting the same value back when you read scd.ambient_pressure.

@rpavlik What about doing this in user code instead?
scd.ambient_pressure = int(clue.pressure)

This would help reinforce the fact that the setting really is only integer resolution:

It would also make things more symetric in terms of getting the same value back when you read scd.ambient_pressure.

Actually, I'm going to be like a politician and flip-flip on this. I'm cool with it. I think the trade off of allowing simpler user code vs. the potential issues of the automagic behavior is minimal.
@rpavlik Want to do something similar for altitude while you're at it?

Actually, I'm going to be like a politician and flip-flip on this. I'm cool with it. I think the trade off of allowing simpler user code vs. the potential issues of the automagic behavior is minimal.
@rpavlik Want to do something similar for altitude while you're at it?

Ah, I hadn't thought of altitude since my thought process was literally "hey, I can have it compensate for pressure, this clue has a bmp280, I shall take the value from bmp280 and apply to scd30". Sure, I can get to that tonight probably.

Ah, I hadn't thought of altitude since my thought process was literally "hey, I can have it compensate for pressure, this clue has a bmp280, I shall take the value from bmp280 and apply to scd30". Sure, I can get to that tonight probably.

There you go!

There you go!

BTW, we probably want to bump major version soon on this because of the eCO2 -> CO2 rename?

BTW, we probably want to bump major version soon on this because of the eCO2 -> CO2 rename?

Looks good. Tested real quick on a MatrixPortal. The parameter is still eCO2 since this PR is based on branch forked without that merged in.
Adafruit CircuitPython 6.1.0 on 2021-01-21; Adafruit Matrix Portal M4 with samd51j19
>>> import board
>>> import adafruit_scd30
>>> scd30 = adafruit_scd30.SCD30(board.I2C())
>>> scd30.eCO2
755.951
>>> scd30.ambient_pressure
0
>>> scd30.ambient_pressure = 1010.5
>>> scd30.ambient_pressure
1010
>>> scd30.altitude
0
>>> scd30.altitude = 300.5
>>> scd30.altitude
300
>>> scd30.eCO2
779.802
>>>

Looks good. Tested real quick on a MatrixPortal. The parameter is still eCO2 since this PR is based on branch forked without that merged in.
Adafruit CircuitPython 6.1.0 on 2021-01-21; Adafruit Matrix Portal M4 with samd51j19
>>> import board
>>> import adafruit_scd30
>>> scd30 = adafruit_scd30.SCD30(board.I2C())
>>> scd30.eCO2
755.951
>>> scd30.ambient_pressure
0
>>> scd30.ambient_pressure = 1010.5
>>> scd30.ambient_pressure
1010
>>> scd30.altitude
0
>>> scd30.altitude = 300.5
>>> scd30.altitude
300
>>> scd30.eCO2
779.802
>>>

BTW, we probably want to bump major version soon on this because of the eCO2 -> CO2 rename?

Yep. Looks like that was done a couple of days ago with the 2.0.0 release:
https://github.com/adafruit/Adafruit_CircuitPython_SCD30/releases/tag/2.0.0

BTW, we probably want to bump major version soon on this because of the eCO2 -> CO2 rename?

Yep. Looks like that was done a couple of days ago with the 2.0.0 release:
https://github.com/adafruit/Adafruit_CircuitPython_SCD30/releases/tag/2.0.0

awesome thanks!

awesome thanks!


Hotfix for issue #3140

This is not the solution and not even a fix because if the client does not send any text and reason, text and reason are reset to an empty string. See my comment in #3140.


Support dynamic config update

Is your feature request related to a problem? Please describe.
DataPrepper doesn't support changing configuration dynamically. Any changes to the config requires the data prepper to be stopped/shutdown and restarted. This is not very convenient.
Describe the solution you'd like
In most of the cases we should be able to re-initialize dataprepper components (like source, processor, sink) with new config. If a new processor is added or an existing processor is deleted, it can be deleted without having to shutdown and restart DataPrepper.
There may be still some cases where dynamic reconfiguration is not possible, in which case shutdown and restart is the only option.
Here are some simple cases where shutdown/restart of the entire pipeline may not be necessary

Changing config option of a source or a sink or a processor. For example, max_retries retries options of OpenSearch Sink. We should be able change this value without having to cause any disruption to the pipeline operation
Changing _when condition of a processor. Since the condition is evaluated for each event, it should be easy to replace old condition with new condition without any disruption to the pipeline operation
Fixing grok pattern. This would require re-initializing grok processor object so that compileMatchPatterns is done again. This may disrupt the traffic a little because we need to pause the workers from consuming events from the buffer and then re-initialize the grok processor. This type of dynamic reconfiguration is more disruptive than the previous two examples but still much better option than shutting down the pipeline and restarting
In case of push based sources, it may not be possible to support dynamic reconfiguration. For example, changing max_message_size in http source configuration might not be possible to do dynamically because it would require temporarily stopping the http source. But this may result in http client getting 4xx/5xx errors. So, in this case, only option may be to shutdown and restart the DataPrepper
In case of pull based sources, it should be possible to change even source config changes as well.

Overall, the suggestion is to provide a new API to DataPrepperServer something like /update_config which sends a yaml file to the server. DataPrepper will do some validation on the yaml to see if the dynamic update can be performed. If the dynamic update cannot be performed, then rejection error should be returned. If it can be performed, then success is returned after performing the update. If some error occurs during the reconfiguration, a failure error should be returned and the pipeline config should be restored to previous configuration. It should not be partially updated.
Describe alternatives you've considered (Optional)
Additional context
Add any other context or screenshots about the feature request here.

I can look into it


[Feature Request]: adding a chatbot ✨

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
i want to add a chatbot which wil be tuned specifically to this website . @Trisha-tech can you pleae assign me this task.
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Is there an existing issue for this?

[x]  I have searched the existing issues

Feature Description
i want to add a chatbot which wil be tuned specifically to this website . @Trisha-tech can you pleae assign me this task.
Priority
High
Record

[x]  I have read the Contributing Guidelines
[x]  I'm a GSSOC'24 contributor
[x]  I have starred the repository

Hello @T-Rahul-prabhu-38 , Go for it
All the Best


kissanime bug

Describe the bug

I attempt to download naruto from kissanime and it fails misserbly. falls on its face even.
To reproduce

anime dl -q 720p https://kissanime.ru/Anime/Naruto-Shippuuden-Dub/ -e 459:472

LOG
https://pastebin.com/0gKSAEUJ

Hopefully this bug can be sorted out however i have a feeling its a issue with cfscrape

Do you have node.js installed? If not please install it. It is mentioned in
the install instructions.
On Sat, Apr 27, 2019, 1:09 PM popcorn9499<EMAIL_ADDRESS>wrote:

Describe the bug
I attempt to download naruto from kissanime and it fails misserbly. falls
on its face even.
To reproduce
anime dl -q 720p https://kissanime.ru/Anime/Naruto-Shippuuden-Dub/ -e 459:472
LOG
https://pastebin.com/0gKSAEUJ
Hopefully this bug can be sorted out however i have a feeling its a
issue with cfscrape
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vn-ki/anime-downloader/issues/179, or mute the thread
https://github.com/notifications/unsubscribe-auth/AHT34EB7A7ZH6J2XNFRDXR3PSP7LJANCNFSM4HI3VWAA
.

I have verified and yes i have nodejs installed
Version 11.14.0

kissanime bug.txt
i cant download any anime on kissanime

i cant download any anime in kissanime but works fine on other websites like animepahe
Plzz help
kissanime bug.txt

This is probably the issue with cfscrape. They are fixing it.

cfscrape seems to of fixed the issue with cloudflare. I will close as my issue has been resolved


Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/singuliere/.cache/go-build"
GOENV="/home/singuliere/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/singuliere/.go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/singuliere/.go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.18"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2335311840=/tmp/go-build -gno-record-gcc-switches"

What did you do?
package main

import (
	"fmt"
	"os/exec"
	"syscall"
	"time"
)

func main() {
	c := exec.Command(ctx, "/bin/bash", "-c", `echo "sleep 100000" | bash`)
	c.SysProcAttr = &syscall.SysProcAttr{Setpgid: true}
	c.Start()
	fmt.Println("running err = ", c.Process.Pid)
	time.Sleep(5 * time.Second)
	syscall.Kill(-c.Process.Pid, syscall.SIGKILL)
	fmt.Println("run err = ", c.Wait())
}

What did you expect to see?
Because of the negative argument to syscall.Kill I was expecting all children of the processgroup to be killed, as per https://man7.org/linux/man-pages/man2/kill.2.html
What did you see instead?
The argument of syscall.Kill is converted into an unsigned integer instead of being passed as a negative number and only the immediate child is killed, not the entire process group. Which pretty much defeats the purpose of creating a process group in this particular case.

@ianlancetaylor I was a little too quick when making my tests it seems... sorry for the noise. It works as advertised.


There appears to be no way to secure against http:// calls with L7

... so no way to deploy a production (secure) web service (in this case CI) using L7?
Is that a known limitation of L7?

There is a way. It requires that you block them completely though, currently a redirect is not available.
https://github.com/kubernetes/contrib/tree/master/ingress/controllers/gce#blocking-http

I fail at reading.
Thank you so much for taking the time to point this out!!!


Adding identical overload introduces implicit any error

TypeScript Version:  2.1.4 and 2.0 at least
Code
interface Console {
  // uncomment this:
  // error(message?: any, ...optionalParams: any[]): void;
}

console.error = function(message) {};

Expected behavior:
Code is either legal or illegal, regardless of whether the marked line is uncommented.
Actual behavior:
With --noImplicitAny, the code is accepted before and rejected after uncommenting the line:
foo.ts(2,26): error TS7006: Parameter 'message' implicitly has an 'any' type.

The overload of console.error here appears to have an identical type signature to the one in the TS standard library.
(This came up in a larger program, where @types/node brings in this additional Console definition.)

the code is legal. the parameter implicitly gets an any as it is type. the issue is if there are more than one overload that are applicable, the compiler does not know which one to use for contextual type. since the function has no type annotations on the parameters, the compiler gives it an implicit any. the flag --noImplicitAny requires the compiler to warn every time it does that.

more info at https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#implicit-any-error-raised-for-un-annotated-callback-arguments-with-no-matching-overload-arguments

I think I understand.  But the intention of the node d.ts is to define the function if it's not already present.  Maybe the true bug is that the identical signatures are treated as separate overloads?


urlopen error [SSL: CERTIFICATE_VERIFY_FAILED]

<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1124)>
This error was returned when using the sample code

It was caused by your local environment, please check your openssl is configured correctly.


Enable ORCID integration

To-do list for enabling ORCID:

[x] Reach out to get ORCID API access for main deployment (and ask about future deployments)
[x] Allow ORCID in place where GitHub is currently allowed
[x] Make sure GitHub + ORCID identities are connected
[x] Add UI route for logging in via ORCID or GitHub

Closed by #693


Smith normal form does not work correctly.

Context
I created a matrix of entries listed below.

While calculating Smith normal form of it, something does not work as intended.

Explanation of printed values
On left side there are rows (columns) that are being added to other rows (columns).
On right side there are rows (columns) that have their values added from previous ones.
First iteration of loop consist of one addition of rows and two additions of columns, and those were done correctly.
The bug appeared while calculating first addition of rows during second loop. The method tried to add columns using method for adding rows, which ended up raising an IndexError.
Logs.

We should modify the algorithm so it resembles Gaussian elimination. By doing so, not only the method will be faster, but also the bug would be avoided.


enable GitHub Actions CI

Hey @sullis!
Thanks for the PR!
At the moment, some of our tests depend on knowing if they're being run in CI or not. I know specifically of JUnitHTMLReportTest, but there might be more.
Could you adapt these tests to Github Actions CI?


[5.7] Let Collection’s when(), unless() match their BuildQuery counterparts

Fixes #23394 by using the same method signature as the when() and unless() methods as the BuildsQueries trait

Removing the callable type hint on the $default would make it seem like the function supports scalar default values, which isn't the case. Couldn't you add the typehints to the BuildQueries instead?

@sisve That's actually the opposite of what I want. Having no typehints allows me to have the following code:
public function doThingsWithACallback($callback = null)
{
	$collection = $this->getStuff();
	return $collection->when($callback !== null, $callback);
}

Without this change I'd have to add an extra check:
public function doThingsWithACallback($callback = null)
{
	$collection = $this->getStuff();

	if ($callback === null) {
		return $collection;
	}

	return $collection->when(true, $callback);
}

What you describe could be solved with a nullable typehint ?callable and wouldn't require us to completely remove them.

@sisve That, I did not know! Seems like I'm still learning about the new PHP language features. Will change both then, Collection and BuildsQueries, as soon as I got the time.

Your code doesn't work. If the callback is null you will get an error in the when function because it will try to invoke null as a function:
collect([1, 2, 3])->when(true, null);


service: prevent creating a request if invalid restrictions

Community selection modal checks if the community is restricted and disables it if the record is public
closes https://github.com/inveniosoftware/invenio-app-rdm/issues/2384

@jrcastro2 can you put a screenshot to see how is visually the change?

@jrcastro2 can you put a screenshot to see how is visually the change?

Yes, sorry forgot to add them! Here they are:


About the highlights in CNN/DM datasets

If I understand correctly, according to the paper, you use a greedy selection to choose the oracle summaries (according to the rouge score), and use the oracle summaries in the following training, I want to know if the rouge score in the selection of oracle summary is calculated between highlights and every sentence？and if the process of choosing oracle summary according to rouge score is the only place that uses the highlights data, I mean, the highlights from the CNN/DM datasets will not join the following training？

But when looking at the code, I saw him use the Bertdecoder with these highlights when it comes to the abstractive methods


Expose ESLint '--fix' functionality via Node.js API

Right now, this is only an option from the command line.

Related: https://github.com/zeke/standard-markdown/pull/4#issuecomment-239009780

PR out here: https://github.com/Flet/standard-engine/pull/119/files


what is mean error 85 in fish shell ? thx

what is mean error 85 in fish shell ? thx
root@C /u/bin# ldid
exec: Failed to execute process '/usr/bin/ldid', unknown error number 85
root@C /u/bin [1]# whoami
exec: Failed to execute process '/usr/bin/whoami', unknown error number 85
root@C /u/bin [1]#

the executable has no valid code signature


[ Calendar DatePicker ] [ HC ] Style updates (remainder x2)

Updating brushes for CalendarDatePicker and regular DatePicker (since I started on it only to realize it was the control that didn't need the HC changes, but since it was already translated into direct 8 HC brushes I'm including it anyway).

/azp run

/azp run


I cannot run python2.7 adb.zip shell on my Ubuntu 14.04

$ python2.7 adb.zip shell ls
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "adb.zip/main.py", line 178, in
File "adb.zip/main.py", line 174, in main
File "adb.zip/adb/common_cli.py", line 150, in StartCli
File "adb.zip/adb/adb_commands.py", line 75, in ConnectDevice
File "adb.zip/adb/common.py", line 208, in FindAndOpen
File "adb.zip/adb/common.py", line 122, in Open
File "build/bdist.linux-x86_64/egg/usb1.py", line 1162, in claimInterface
File "build/bdist.linux-x86_64/egg/usb1.py", line 121, in mayRaiseUSBError
File "build/bdist.linux-x86_64/egg/usb1.py", line 117, in raiseUSBError
usb1.USBErrorBusy: LIBUSB_ERROR_BUSY [-6

This error typically happens when your user doesn't have access to the
device. Does adb from Android work?
On Jul 26, 2016 2:24 AM, "caiyesd"<EMAIL_ADDRESS>wrote:

$ python2.7 adb.zip shell ls
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in
run_module_as_main "_main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in
run_code exec code in run_globals File "adb.zip/_main.py", line 178,
in
File "adb.zip/main.py", line 174, in main
File "adb.zip/adb/common_cli.py", line 150, in StartCli
File "adb.zip/adb/adb_commands.py", line 75, in ConnectDevice
File "adb.zip/adb/common.py", line 208, in FindAndOpen
File "adb.zip/adb/common.py", line 122, in Open
File "build/bdist.linux-x86_64/egg/usb1.py", line 1162, in claimInterface
File "build/bdist.linux-x86_64/egg/usb1.py", line 121, in mayRaiseUSBError
File "build/bdist.linux-x86_64/egg/usb1.py", line 117, in raiseUSBError
usb1.USBErrorBusy: LIBUSB_ERROR_BUSY [-6
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/python-adb/issues/26, or mute the thread
https://github.com/notifications/unsubscribe-auth/AASrtA-dF9bEa6GEnJ10g4yZk5IE8no-ks5qZdJagaJpZM4JU82J
.

@fahhem Yes. The adb from Android SDK works.
jiangxin@JX-PC:~/Local/github/python-adb$ python2.7 adb.zip shell ls
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "adb.zip/main.py", line 178, in
File "adb.zip/main.py", line 174, in main
File "adb.zip/adb/common_cli.py", line 150, in StartCli
File "adb.zip/adb/adb_commands.py", line 75, in ConnectDevice
File "adb.zip/adb/common.py", line 208, in FindAndOpen
File "adb.zip/adb/common.py", line 122, in Open
File "build/bdist.linux-x86_64/egg/usb1.py", line 1162, in claimInterface
File "build/bdist.linux-x86_64/egg/usb1.py", line 121, in mayRaiseUSBError
File "build/bdist.linux-x86_64/egg/usb1.py", line 117, in raiseUSBError
usb1.USBErrorBusy: LIBUSB_ERROR_BUSY [-6]
jiangxin@JX-PC:~/Local/github/python-adb$ adb shell ls
acct
cache
charger
config
d
data
default.prop
dev
etc
file_contexts
firmware
fstab.hammerhead
init
init.environ.rc
init.hammerhead.diag.rc
init.hammerhead.rc
init.hammerhead.usb.rc
init.rc
init.trace.rc
init.usb.configfs.rc
init.usb.rc
init.zygote32.rc
mnt
oem
persist
proc
property_contexts
res
root
sbin
sdcard
seapp_contexts
selinux_version
sepolicy
service_contexts
storage
sys
system
ueventd.hammerhead.rc
ueventd.rc
vendor

Ah, I see, you have the Android adb running in the background :)
Run adb kill-server then you should be able to use adb.zip!

Great! thanks a lot.

Hi Fahhem.
I am runing this command in ubuntu 16.x 64 bits :
python2 adb.zip shell ls /sdcard
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "adb.zip/main.py", line 178, in
File "adb.zip/main.py", line 174, in main
File "adb.zip/adb/common_cli.py", line 150, in StartCli
File "adb.zip/adb/adb_commands.py", line 76, in ConnectDevice
File "adb.zip/adb/adb_commands.py", line 99, in Connect
File "adb.zip/adb/adb_protocol.py", line 283, in Connect
File "adb.zip/adb/adb_protocol.py", line 241, in Read
File "adb.zip/adb/adb_protocol.py", line 189, in CalculateChecksum
TypeError: ord() expected string of length 1, but int found
I am using python 2.7.12, any help?
Thank you in advance.

Sorry about the delay on this project, I haven't had a system with an ADB device I could use this all with in a while. I've just pushed a commit to fix this problem in particular.


unpackerr.log permission

Hello,
I see in my environment (unraid) that the unpackerr.log is saved with permission 700. It would be great if we could set a variable to change these value for something else.
Also, I tried using the variable GUID/GID PUID/UID to change the user and group of the docker but it doesn't work, it always save as root.root, which prevent reading the log file except if I'm root.
Thank you

I tried using the variable GUID/GID PUID/UID to change the user and group

The Go Lift container does not use environment variable to set the uid and gid. Just pass --user uid:gid to docker run when you start the container. Explained here: https://unpackerr.zip/docs/install/unraid#permissions

Ah great, sorry it seems I skipped that in the doc. Working great!