Option to override highlight.

Hi!
I was going to try to open a PR to enable this functionality, but i have 0 Lua experience and couldn't get the job done.
The option to be able to override some highlights is really nice, and the way other plugins achieve it seem pretty simple, although I do not really know how to approach this problem.
Note:
While on this topic of overriding, this came about because of the usage of the color blue for the variables and text. This does not seem like the intended behavior, and while investigating WIttyJudge's highlight definitions, I see that with the old Treesitter's highlight groups, he linked TSVariable = { link = 'Fg' }. With the new groups, becomes: TSVariable -> ["@variable"], and this colorscheme defines: ["@variable"] = { link = "Blue" }. Isn't this an error?

Hi @dot-1q , I wanted to offer such functionality for a while now. That was one of the reasons I did the refactor this week. It should make it quite trivial to add such an override. I will implement a way to do this in the coming days.
There are a few things to consider though. Since the highlight groups link to one another, changing individual groups can have an effect on quite a few things. I will try to think of a way to ensure such overrides affect as little as possible other values.
Regarding the link from WittyJudge, it is true that it used to link to Fg, but it seems there was a bug somewhere, because the colour scheme stayed quite stable since before I took over, so there was equal amounts of blue before already (at least if I remember properly).
Anyways, long story short: I will add such an option over the course of next week. I might mark it as experimental though, as I am guessing such overrides might break parts of the highlighting.

Hi @dot-1q I implemented something that should provide you with the desired features to customize the theme to your liking. I currently have it on the feat/custom branch. Do you want to try it out?
I will not merge this very soon, because I might first also want to test this myself a little, and potentially clean up the group linking (I will have to look at this in detail and decide if it makes sense). This might take me some time though, as I don't want to break anything. So if you want to use the feat/custom branch in the meantime, you could test if it works for you.

That is perfect!
I've tested here with the new feat/custom branch and I'm able to override the highlights groups to my liking.
I'll continue to use this feature and let you in this thread if I find anything that doesnt work as planned.
Thank you for this feature!


OctoberCMS 2.0 Compatibility

We use this plugin for several client blogs, and it looks like the markdown editor widget in OctoberCMS 2 changed to js rendering only. This is breaking compatibility with this plugin, are there any plans to update it to work with OctoberCMS 2?

Hi @abstracttechgroup
We have plans on improving the editing experience, in the meantime, in v1.5.4 of the blog plugin we've made it possible to activate the previous editor.
Navigate to the Settings to enable the Legacy Markdown Editor and this should continue to work normally for you:

Best regards


added test cases for display api

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines
Coverage Δ

flask_dollarbot/tests/test_display_api.py
96.42% <100.00%> (+2.48%)
:arrow_up:

... and 1 file with indirect coverage changes


145 stateless pagination

What
Enable 1.x style string parameter based paging for 2.x.
Why
Fixes #145. There is a use case for passing a String parameter out of the Java application and avoiding keeping any state. The 2.x style paging relied on keeping ViewResponse state.
How
Added new methods:

ViewResponse.getNextPageParameter()
ViewResponse.getPreviousPageParameter()
ViewRequest.getResponse(String parameter)

Under the covers this requires serialization to JSON of the PageMetadata and some ViewQueryParameters (startkey
 startkey_docid endkey
 endkey_docid descending
inclusive_end) followed by Base64 encoding into the parameter.
Testing
Added new stateless parameter to ViewPaginationTests.
Added new test for inclusiveEnd=false to ensure that works with all kinds of paging.
reviewer @brynh
reviewer @mikerhodes

Commit message for 75f99a4aaf03e1ef8fad961a72973fbd3e59d16f could say what documentation updates you made briefly.

Looks good to me: +1

+1.

Hi there
I just tried this out it is in line with what we need, thx for that
However there is a bug int he code
If I have this start key
["TENANT_0", 1, 1, "activity"]
then on page 2 it translates it to this start key
["TENANT_0", 1.0, 1.0, "activity", "Activity_012_3"]
notice the 1 has been converted to a 1.0
From the order point of view the key
["TENANT_0", 1.0, 1.0, "activity", "Activity_012_3"]
is before the initial start key
So page 2 is giving me the wrong results
Pls advise
thx
Benny


Getting error SFDX CLI not install even though it is installed

Issue Type: Bug
Hi Team,
I have installed SFDX CLI and also set the Path varibale in systeam however whenever i am trying to create Project using force:Create Project I am getting below error
'ForceCode: The SFDX CLI could not be found. Please download from'
Steps to reproduce
Open Comand Pellete
tyep Force:Create Project
Error pops up on the right side
VS Code version: Code 1.67.2 (c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5, 2022-05-17T18:15:52.058Z)
OS version: Windows_NT x64 6.2.9200
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (8 x 1800)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.88GB (5.83GB free)

Process Argv
--crash-reporter-id 1c3aac12-de6a-4a38-a468-fc144803b343

Screen Reader
no

VM
0%

Extensions (15)

Extension
Author (truncated)
Version

apex-pmd
chu
0.5.9

vscode-eslint
dba
2.2.2

prettier-vscode
esb
9.5.0

lana
Fin
1.4.2

forcecode
Joh
4.0.4

vscode-xml
red
0.20.0

salesforce-vscode-slds
sal
1.4.8

salesforcedx-vscode-apex
sal
54.15.0

salesforcedx-vscode-apex-debugger
sal
54.15.0

salesforcedx-vscode-apex-replay-debugger
sal
54.15.0

salesforcedx-vscode-core
sal
54.15.0

salesforcedx-vscode-expanded
sal
54.15.0

salesforcedx-vscode-lightning
sal
54.15.0

salesforcedx-vscode-lwc
sal
54.15.0

salesforcedx-vscode-visualforce
sal
54.15.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
vsclangdf:30486550

/causedByExtension
Please make sure that you have proper configuration of Salesforce extension(s) and if problem persists - report in extension's repo.

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines.
Happy Coding!


Add "Gone" format

From the content-store docs:

To represent content that is no longer available, the content store supports items with a format of "gone". These will cause a gone route to be setup in the router so that the item returns a 410 HTTP status.

This item is based on the redirect format.
This format will be used for testing the creation of gone routes for draft content-items in https://github.com/alphagov/collections-publisher/pull/138.
Related Trello: https://trello.com/c/ybdnGMhl

:+1: for intent


add AbstractObjectAssert#usingComparatorForFields(comparator, propert…

…iesOrFields) and AbstractObjectAssert#usingComparatorForType(comparator, class) (#585, #198)

@joel-costigliola I added AbstractObjectAssert#usingComparatorForType as a separate commit, so allow you to pick and choose. :)

Integrated, thanks for the good work.


Enhancement: log groups in perf events

In KarateAction.scala, when sending perf events, also send "session.groups" instead "List.empty".
I've just take a look at existing issues, and blame the relevant code, and does not see any contraindication.

@pcbue by any chance does this solve: https://stackoverflow.com/q/61753917/143475
in that case do consider posting an answer on stack overflow

@ptrthomas yes, indeed, the stackoverflow problem could be fixed with such "grouping" logic.
I've put an answer related to it.
Thx for the merge

@pcbue thanks for the contrib ! I'll keep this open until we release 1.0 so that it appears in the release notes

@pcbue one more thing, would you be able to paste a screenshot of a before and after your change ?
even better, if you can make a small change to the demo / example: https://github.com/intuit/karate/tree/develop/examples/gatling
and show how to use this inside an actual test, that would be great. once I understand this more, I can update the docs, and feel free to suggest changes as well to the readme.md

@ptrthomas if I run "examples-gatling" module, I obtain the following

If I make the following modification in "CatsKarateSimulation.scala"
--- CatsKarateSimulation.scala
+++ CatsKarateSimulation.scala
@@ -18,7 +18,9 @@
   protocol.nameResolver = (req, ctx) => req.getHeader("karate-name")

   val create = scenario("create").feed(feeder).exec(karateFeature("classpath:mock/cats-create.feature"))
-  val delete = scenario("delete").exec(karateFeature("classpath:mock/cats-delete.feature@name=delete"))
+  val delete = scenario("delete").group("Delete cats") {
+    exec(karateFeature("classpath:mock/cats-delete.feature@name=delete"))
+  }
   val custom = scenario("custom").exec(karateFeature("classpath:mock/custom-rpc.feature"))

   setUp(

and run the tests again, will leads to

Every "requests" performed in the feature scenario (and also "linked" sub-feature -- "called" -- as you can see) will appear in a separate group.
It also means that if a request X is performed in many group, it will be measured by Gatling locally to that group.
A final example coming from our own tests

2 different groups, executing nearly same requests, appears with their own metrics.
Hope it is clear

@pcbue thank you very much, this is really helpful 👍

@pcbue in case you use slack: https://twitter.com/KarateDSL/status/937271659785961477

1.0 released


Updating webapp authentication

Add security group restriction to whom can access the web application
Restrict access to the current tenant
Updated readme guidance to properly configure this configuration

@sebassem sorry for the delay, it´s a great improvement.


prepare the data error

"python -m neuralcoref.conllparser --path ./data/train/"  returns an error message "AttributeError: 'ConllDoc' object has no attribute '_extract_mentions'"
The traceback is as below,
🌋 Parsing utterances and filling docs
0it [00:00, ?it/s]
Traceback (most recent call last):
File ".../python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File ".../python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File ".../neuralcoref/neuralcoref/conllparser.py", line 711, in
CORPUS.read_corpus(args.path)
File ".../neuralcoref/neuralcoref/conllparser.py", line 618, in read_corpus
use_gold_mentions=self.use_gold_mentions)
File ".../neuralcoref/neuralcoref/conllparser.py", line 318, in add_conll_utterance
self._extract_mentions(parsed, len(self.utterances), self.n_sents, self.speakers[speaker_id])
Method _extract_mentions is missing from class ConllDoc or class Document

@thomwolf Any word on this? It seems to me that the method is missing from the code base.

Hi @LexieGrace ! No, this method is not in class ConllDoc or class Document. There are two relevant functions extract_mentions_spans and _extract_from_sent in document.py. I guess the code is refactorized and this method is no longer used.

Thanks for responding! I saw them. Currently using them for my mention extraction.
From: Wei Wei
Sent: Thursday, September 20, 2:11 PM
Subject: Re: [huggingface/neuralcoref] prepare the data error (#89)
To: huggingface/neuralcoref
Cc: LexieGrace, Mention
Hi @LexieGracehttps://github.com/LexieGrace ! No, this method is not in class ConllDoc or class Document. There are two relevant functions extract_mentions_spans and _extract_from_sent in document.py. I guess the code is refactorized and this method is no longer used.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/huggingface/neuralcoref/issues/89#issuecomment-423177352, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKF0Lfjfy-V1rLu7ypT6ZaTtEsmhboMFks5uc5P7gaJpZM4WcCbs.

Yes, the training code is currently being refactored to speed it up.
Work on progress on the develop branch

@thomwolf to get the training working right now, is there a single function I can use instead of _extract_mentions()?

any solution to the issue above?
I am facing the same issue

Yes, the training scripts are outdated. They are next on my to-do but I don't have an ETA yet.


CvMat initialisation

Found and updated 2 issues with CvMat

the initialise from 1d array was broken as it was trying to read the second dimention from the source.
Test:

  double[] line = new double[] { 1, 2, 3 };
  CvMat m1 = CvMat.FromArray(line);  // throw index out of bounds

convert a 2d array to managed scalar dimentions were reversed (works ok for square matrix).

CvMat m1 = new CvMat(3, 1, MatrixType.F64C1);
CvScalar[,] scalar = m.ToRectangularArray(); // throw index out of bounds

Thanks a lot! :+1:


Memdesc v3

This is the one I want to merge if nothing goes wrong:
Changes since v2 (#1909):

fixed comments from @vcgomes and @edersondisouza
uncrustified vector so semaphore stops bitching
added SOL_MEMDESC_TYPE_ENUMERATION
added sol_memdesc_set_as_int64() and sol_memdesc_set_as_uint64() to simplify writing to various integers sizes.
added description serialization

merged with proposed fixes.


About the pretrain weight that  in the train.py

Hello,
I want to train the model from scratch, so I run the train.py. but i figure out that it needs a .h5 file entitled "mask_rcnn_nuclei_new.h5" and i cannot find it anywhere and you do not put any link to your GitHub page. I will be grateful if you help with this.

Hi
the pretrained weights are here
https://www.dropbox.com/sh/3eldgvytfchm9gr/AAB6vzPaEf8buk81IRVNClUEa?dl=0
Please change the file name. to any of the modelweight.
you only need one to work.

@hftsai Thanks for your response. I have another question, out of the Usiigaci pretrain weight, could we use the pretrain weights of other models such as deepcell or other similar works.

No I don't believe so.
A model weight is very specific to a neural network architecture. If there is a change in the network architecture, differences in number of parameters changed, then the model weight is not something easily transferrable to my understanding.
Since this work is based on the mask rcnn implementation from Matterport, a pretrained model weight of this exact architecture is usable.

@hftsai Thank you so much for your response and consideration. I am so sorry that ask very question, But i have another important question about this Architecture. In the training of the dataset from scratch could we give the 16 bit images as input or this model just prepared for 8bit images? because the images that i want to import for training set is 16 bit.

@Ayanzadeh93  Hi
First, i would like to highly recommend against training from scratch. It will most certainly not work if you sample size is small. remember one of the drawback for the residual network (backbone in maskrcnn) is that it's very deep so it takes more time to train.
Note the raw images we feed for training in training data (raw.tif) they are 16bit (as originally outputted from nikon microscopes)
So yes, 16 bit is preferred.

I am really thankful for your consideration.

Sorry, I have another question, I prepared my dataset for training. Now, I am training my dataset with your pre-train dataset but in the trained_network directory, I have faced with lots of .h5 file and some folders that have the template like "cell20190210T1307". Hence, my question is that which of this .h5 files are my primary pretrain file for prediction in Inference.py

The model weights from each epoch is saved into hdf5 files (.h5). We are adding a function in the training script in future to select the best model weight based on accuracy and loss, but right now it hasn't been validated yet. But basically you can use the model weight from the last epoch.
These file names are automatically generated based on the finishing time of the epoch. You can rename it of course for later inference ease.
these are just for experiment tracking purposes.

@hftsai Thanks for your response, But i train the code (10 epoch for the training of the heads of network and 20 epochs for training all layers). My Training file contains 34 images that have an Instance aware ground truth. But I keep your input in the training steps to compare the results in the prediction I faced with very different result.  My question is that , is my dataset number for training is so low or there is another problem? As i understand, your input data are learned in earlier steps(in code head of network is set to 100 and all layer is set to 200). So in your viewpoint should i increase the epoch number to 100 or more or my problem is another things. I put the comparision of my input with your output results in determined epochs.

I see you're using the dataset from the celltrackingchallenge.
this kind of results happen when the training is not yet optimal, you should definitely train for more epoch and increase training sets as possible.
I stated in other threads that we started trying number of training data from 10 and increases from there. If the training data is too little it impacts the results quite a bit. (even for 50, it's still a small training dataset, and the results right now are ok, but from the preprint you can see there are definitely  room to improve).
note also... one thing i haven't figured out or actually test out is if you mix different sizes of input images. I supposed these U373Mg or U87Mg images form celltrackingchallenge is not 1024x1022. and of course the magnification is not the same.
Intuitively i think if the input images becomes diverse, the neural network needs much more data to train even if it's capable of it.
It is one of the reason i always only use the images from our own microscope and did not mix with other people's data.
Other groups using only their data, seems to work when they retrain the model.

Closing the issue as it was not updated for 14 days. Please start a new one if it persists.


Constructor Args Map Incorrect Columns When Using resultMap property

MyBatis version
3.4.4
tested with 3.4.2, 3.4.0 as well.
Database vendor and version
H2 version 1.4.193 (although this issue is not related to H2 per se)
Test case or example project
Please see self-contained maven project with the full regression test (5.8KB)
regression0.zip
Steps to reproduce
Create a constructor result map <arg/> or <idArg/> that references another POJO that has similarly named property to the one being mapped. See below (or attached regression test for full mapping):
<resultMap id="ParentResultMap" type="dto.Parent">
    <constructor>
        <!-- this property is named 'id' in the Parent class -->
        <arg column="p_id" javaType="java.lang.String" jdbcType="VARCHAR"/>
        <!-- ... more ... -->
    </constructor>
</resultMap>

<resultMap id="ChildResultMap" type="dto.Child">
    <constructor>
        <!-- this property is named 'id' in the Child class -->
       <idArg column="id" javaType="java.lang.String" jdbcType="VARCHAR"/>
        <!-- ... more ...-->
        <arg javaType="dto.Parent" resultMap="ParentResultMap"/>
    </constructor>
</resultMap>

public class Parent {
    private final String id;
    // ...
    public Parent(String id /*, ...*/) {
        this.id = id;
        //....
    }
   //...
}

public class Child {

    private final String id;
    //...
    private final Parent parent;

    public Child(String id, /*, ... */ Parent parent) {
        this.id = id;
        //...
        this.parent = parent;
    }
   //...
}

Expected result
Column p_id should map to Parent's constructor first argument. For the row returned below
ID, NAME, P_ID, P_NAME
10, Child Name, 11, Parent Name

Parent's id should be 11
Actual result
Column id is instead mapped to the Parent's constructor first argument. For the row shown above, Parent's id is instead 10
Workarounds

Rename properties so that names don't match between classes, or
Convert immutable classes to mutable with default constructor, getters and setters, then switch mapping to non-constructor mapping using <result/>.

This has to do with how mybatis allows both constructor mapping and post constructor setter mapping Which is useful for example for collections which constructor mapping does not currently support unless you use a sub select.
I'm trying to see how to 'disable' this behavior without breaking the post constructor property setting but for now you can also set the automappingbehavior (assuming that doesn't break other parts of your app)
configuration.setAutoMappingBehavior(AutoMappingBehavior.NONE);

Another workaround is autoMapping="false" on resultMap element as follow:
<resultMap id="ParentResultMap" type="dto.Parent" autoMapping="false">
    <!-- ... -->
</resultMap>

Ah yea thanks for the reminder @kazuki43zoo

tttt

automapping doesn't exist on the annotations yet. The solution propose by @kazuki43zoo only works for xml mapping or globally atm.


fix concept id comparison

I did the grunt work to replace the magic constants with LionCoreConstants.

Am I correct in understanding that the LionCoreConstants get registered with their IDs at one central place, rather than being added again and again “all over the place”?

Yes, that's the cornerstone of my fight against globals.


A unique constraint would be violated upon upsert

Describe the bug
Often seeing a unique constraint violation error when batching data using prisma.upsert(). After much testing it appears to be an issue with Prisma client.
Schema
type User {
    id: ID! @id(strategy: NONE)
   ...
}

Output of client with debug: true
{ Error: A unique constraint would be violated on User. Details: Field name = id
    at BatchedGraphQLClient.<anonymous> (/Users/joshhopkins/Projects/test/node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:77:35)
    at step (/Users/joshhopkins/Projects/test/node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:40:23)
    at Object.next (/Users/joshhopkins/Projects/test/node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:21:53)
    at fulfilled (/Users/joshhopkins/Projects/test/node_modules/http-link-dataloader/dist/src/BatchedGraphQLClient.js:12:58)
    at processTicksAndRejections (internal/process/next_tick.js:81:5) result: { data: null, errors: [ [Object] ], status: 200 } }

Versions (please complete the following information):

Connector: Postgres
Prisma Server: 1.34.1
prisma CLI: prisma/1.34.1 (darwin-x64) node-v11.7.0]
OS: MacOS 10.14.5

Hey, can you please provide me with a full reproduction?
Unable to reproduce with a minimal example.


ARM CLZ seems to cause invalid IL lifting

At address 0x22b20 there is a CLZ instruction, followed by a few other instructions which can be seen in the linear view. When switching to the graph view the instructions at 0x22b24 and 0x22b28 are lost, and 0x22b20 incorrectly points to 0x22b3c.

From what I can tell, the count leading zeros looks to be fixed now.


Using in TypeScript: "The 'highlight.js' library may need to update its package.json or typings"

I want to use this library from a Node TypeScript app. I need to use the library's types in my code. But when I do this, tsc compiler produces an error:
src/index.ts:1:22 - error TS7016: Could not find a declaration file for module 'highlight.js'. '/home/alexey/temp/2023-04-10_highlightjs-client/node_modules/highlight.js/es/index.js' implicitly has an 'any' type.
  There are types at '/home/alexey/temp/2023-04-10_highlightjs-client/node_modules/highlight.js/types/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'highlight.js' library may need to update its package.json or typings.

1 import { Mode } from "highlight.js";
                       ~~~~~~~~~~~~~~

Found 1 error in src/index.ts:1

My test project is the following:
src
└── index.ts
package.json
tsconfig.json

index.ts:
import { Mode } from "highlight.js";

export function fn(mode: Mode) {
}

package.json:
{
  "type": "module",
  "dependencies": {
    "highlight.js": "11.7.0",
    "typescript": "^5.0.4"
  }
}

tsconfig.json:
{
  "compilerOptions": {
    "module": "es2020",
    "moduleResolution": "nodenext",
    "noImplicitReturns": true,
    "noUnusedLocals": true,
    "outDir": "js",
    "sourceMap": true,
    "strict": true,
    "preserveConstEnums": true,
    "target": "ES2021"
  },

  "include": ["src/**/*"],
  "exclude": ["node_modules"]
}

This was apparently fixed in aa58ffa03e27297f9967d0db6f6848f1155b3f41

Lets test 11.8.0 then and see how it fares.

Anyone have anything to report?

Works alright with 11.8.0.


[SE-NNNN] Temporary uninitialized buffers

These changes add the ability to temporarily allocate buffers preferentially on the stack.
Pitch thread: https://forums.swift.org/t/pitch-temporary-uninitialized-buffers/48954
Evolution PR: https://github.com/apple/swift-evolution/pull/1379

Resolves rdar://76198203.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please clean test

Build failed
Swift Test OS X Platform
Git Sha - d33960386386929f871954271c79fe214d6b81f4

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

Please add some test cases under test/IRGen as well as test/stdlib.

Please add some test cases under test/IRGen as well as test/stdlib.

Yep, it's on my to-do list. :)

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

Rebased.
@swift-ci please smoke test

@swift-ci please smoke test

Makes sense @jckarter. This is something I'd add as a builtin and call inside the Swift implementation (defer { Builtin.stackDealloc(...) }), I take it?

Went ahead and inserted the relevant lifetime-end call via a second new builtin. I'm not seeing the stack region free up—I suspect I'm still holding it wrong.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please test

@rjmccall and I discussed off-GitHub and it seems like we'll need two IR builtins and a SIL builtin (that takes a closure), with Swift calling the SIL builtin and the SIL builtin ultimately calling the IR builtins.

This is using dynamic allocation and so needs to correctly interact with the alloc_stack stack at the SIL level. It's okay to test this out without that, but it should not be allowed to land until that issue is fixed.

After investigating, alloc_stack and dealloc_stack are inappropriate here because they handle the allocation and deallocation of single stack values, not buffers/sequences of them with potentially custom alignment.

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 9e9069deab24676175e439e578054c90bb789dfb

@swift-ci please test

@swift-ci please test

@swift-ci please test

Nit: Commit 5f9c1027 added a TemporaryStorageTest binary to the root of the repo.

Nit: Commit 5f9c102 added a TemporaryStorageTest binary to the root of the repo.

Weird, will delete.

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 695ed1c9a8efe5bd4053d04382a4dfaea4082bea

Build failed
Swift Test Linux Platform
Git Sha - 695ed1c9a8efe5bd4053d04382a4dfaea4082bea

@swift-ci please test

@swift-ci please smoke test

@swift-ci please smoke test

Build failed
Swift Test OS X Platform
Git Sha - 88cf233475528d77cefd139e203c96204445a867

Build failed
Swift Test Linux Platform
Git Sha - 47255af17a33042714b63082947add274e57b821

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 4b0926d5e39c79100a98a68450fb9278061590bb

Build failed
Swift Test Linux Platform
Git Sha - b0b23fa2644cf454db426460384bd5ad1e692f54

@swift-ci please test linux

@swift-ci please test

@swift-ci please smoke test

@swift-ci please smoke test


tfcompile  --target_triple="armv7em-none-eabi" calling wrong libraries

I found a bug inside tfcompile especially if your compiling for ARM embedded devices the  --target_triple="armv7em-none-eabi" is calling incorrect functions when compiling. This should be compatible with arm-none-eabi-gcc libraries and one example is libgcc.a in the none-eabi version it does not have a function called __multi3 however in every other version such as gnu and linux its availble. So when tfcompile generates the files the compiler can not find the function __multi3.
Is there a possible work around to this?
System information

OS Platform and Distribution ( Linux Ubuntu 18):
TensorFlow installed from (source):
TensorFlow version (1.5 > ):
Python version: 3.6
Bazel version (0.10 > ):
GCC/Compiler version (if compiling from source):

@DroneMesh
Please update the tensor flow version and details on platform, in case you encountered the issue while running code hsare a simple indented stand alone code such that we can replicate the issue faced or colab gist with code and error for su to analyse.

@Saduf2019 I am unable to update due to the nature of the project. The tfcompile is thinking I have long long int in my graphs when i don't. The project is very large and i will not be able to create a collab i wish a could.
is there a way to specify and limit the int types?

Solved it its a bug with LLVM


Compiled-in tiny xml

The supplied dynamic library has tiny xml compiled in. Tiny xml symbols are visible for the dynamic linker.
Thus, when a program links both tiny xml and sicks scan library. It may be, that the dynamic loader loads symbols from the sicks library. The program generally uses a tiny xml header whose declarations differ from the actually loaded code, leading to crashes.
I recommend hiding these (and possibly other transitively visible) symbols by means of linker options -fvisibilty=false or library version file

@thraen Many thanks for your hint! The linker-flag "-fvisibility=hidden" is added to CMakeLists.txt. Please update and rebuild.

Thanks for the quick response!
I have to admit, I never used the visibility flag myself. I bandaged the problem downstream with a versions file for now.
With -fvisbility=hidden, don't we have to specify which symbols we want to keep visible by annotating attribute ((visibility("default"))). Do I miss something?

In my understanding, linker flag "-fvisibility=hidden" covers functions from export, i.e. you can't dynamically load functions from a shared library. The executable sick_generic_caller is linked statically and not affected. Do you have some functions in mind, which you're specifically loading dynamically?

But I see your point. I'll remove the visibility flag for now. An API is planned for the next release. We will introduce the visibility-flag in that release.


[IR] Some maintenance in Transversers and util

Added hook to initialize attribute values in Transversers;
Refactored classes in util;
Removed useless type-class instances.

Also, I have an implementation of the append-based HList here: 2d9b4b9be8fdf60c6c601bcc8090c954e89433a8


Removed requirement of context containing trailing slash

This allows for specific services in a particular context to be overridden.

@KaseyPowers made some modifications in another pull request https://github.com/Availity/availity-ekko/pull/15.   Your code modifications were incorporated there.  You should now be able to npm install availity-ekko --save-dev to get your fixes.  Thanks!


feat: add event for prefiltered instance types

Fixes #N/A
Description
Creates an event any time a nodepool isn't considered because it has no instance types at the time of provisioning that can be used
How was this change tested?
make presubmit
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/lgtm

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

11 of 11 (100.0%)  changed or added relevant lines in 2 files are covered.
8 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.05%) to 81.147%

Files with Coverage Reduction
New Missed Lines
%

pkg/test/expectations/expectations.go
2
94.81%

pkg/scheduling/requirements.go
2
98.01%

pkg/controllers/disruption/consolidation.go
4
88.55%

Totals

Change from base Build<PHONE_NUMBER>9:
0.05%

Covered Lines:
9030

Relevant Lines:
11128

💛  - Coveralls

/lgtm


Images and layout is broken

I follow the steps in Production but the layout and images are broken. But the website itself is working.

same happened to me when following https://github.com/peatio/peatio/blob/master/doc/deploy-production-server.md
Did not happen when following https://github.com/peatio/peatio/blob/master/doc/setup-local-ubuntu.md
We were feeling very hopeful but this stopped us in our tracks...
Help please.

In the application.yml, you have to configure to Server static assets. Then everything will be fine.

Same problem here. Can the development version be used instead?

Development version it is then.

Hey Gensia,
I just received an email informing that someone had posted a message here. Sorry for not replying further. It's just that I've been caught up in trying to find another exchange solution, and in the mean time I've made efforts to becoming a coin pseudo-developer and mining pool installer.
Perhaps if you or someone help me and my people get an exchange up, we can supply you with cryptocoins to list, list yours on our exchange, and mining pools etc?
I'm open to ideas.


prettier, eslint, husky throughout the project

Enforce linting on PRs

@hkirat we can close this , or we need to add linting workflow


Fixing 'Back to top' button in footer

hovering of 'back to top' button is not proper. I can fix this. Kindly assign me .

Kindly assign me this issue!


[Persistence] fix broken tests - Issue #262

Description
This PR simply adds missing mock configuration for persistenceContextMock that were causing test failures
Issue
Fixes #262
Type of change
Please mark the relevant option(s):

[x] Bug fix
[x] Code health or cleanup

List of changes

Added mock config for StoreBlock()
Added mock config for InsertBlock()
Updated Makefile to run tests sequentially, the syntax was incorrect it's go test -p 1 not go test -p=1

Testing

[x] make develop_test
[x] LocalNet w/ all of the steps outlined in the README

Required Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have tested my changes using the available tooling
[x] I have updated the corresponding CHANGELOG

If Applicable Checklist

[x] I have updated the corresponding README(s); local and/or global
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added, or updated, mermaid.js diagrams in the corresponding README(s)
[x] I have added, or updated, documentation and mermaid.js diagrams in shared/docs/* if I updated shared/*README(s)

I put up the same fix for a review on Thursday: https://github.com/pokt-network/pocket/pull/259/files.
We can merge in both. We both have other related improvements.


⚠ Processors has degraded performance

In 50ffc59, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 68 ms

Resolved: Processors performance has improved in b2d2f18.


Add new sub-domains with AWS named server (NS)

Request from Naeem.

Hello Gabriel,
I am working with Eric to develop/migrate GSIP (https://geoconnex.ca/gsip/app/index.html) application to AWS and wanted to know if we can have a subdomain for our AWS networking and make an entry in the DNS provider for us:
LDRS.geoconnex.ca
I can provide you the NS records once I get confirmation from you.
Thanks

@denevers

After trying to find how it's being handled with EnomCentral, Naeem and me agreed to ask for support from their helpdesk.

This github repo is just for the code, not the infrastructure. I suggest you move this concern to internal gitlab.
Closing this ticket


[MODORDERS-706] Reopen order creates encumbrances

Purpose
MODORDERS-706 - Create encumbrances if needed when reopening an order
Approach

Added a new test to check encumbrances are created if missing when reopening an order.
Added a reusable feature to close an order (which has to remove compositePoLines because of MODORDERS-369).


add example with custom hooks with components

Not essential but this is what I did for my a project and I find it cleaner as you can use both hooks and components like that.

Not essential but this is what I did for my a project and I find it cleaner as you can use both hooks and components like that.

test

test


Consider Archiving Experimental Collections

TrieHard contains the following lookup implementations in TrieHard.Collections:

FlatTrie
IndirectTrie
RadixTree
SimpleTrie
UnsafeTrie

It may make sense to archive the implementations that do not provide any comparative advantage. This will lead to less code to maintain as changes to the IPrefixLookup interface are considered, and will reduce the size and surface area of the library as a NuGet package.
Here are my thoughts on the state of each.
FlatTrie
Out of the 'safe' tries, this is the second best performing one. Specialization of key searching by child count (an optimization that was applied to the Radix Tree) could also be applied to this trie and might make its performance compelling again. Because children are stored as arrays of primitives, there could also be opportunities to use SIMD/vector operations (though the MemoryExtensions binary search that is already in use performs pretty well). This trie also has very fast value counts and unordered iterations, as the values are stored in an Array/List. It theoretically supports single writer, multiple reader...but its concurrency support relies on an odd dedicated array swap space mechanic that is hard to understand and likely could never be expanded to a purely thread safe (multi reader/writer) approach without a lot of rework.
As for downsides, it uses a substantial amount of managed memory (14gb for 5 million sequential records). I think some of this extra memory bloat might come from using ArrayPoolList, which doubles its internal buffer everytime it needs to resize (meaning 1-5gb is likely allocated and unused). Those resizes are pretty expensive and the GC pause duration are also rough. I don't think the ArrayPool.Shared implementation will hold onto arrays over around 100,000 entries, which means we're paying the cost to rent and return arrays that are likely being dropped as the trie grows in size. These are fundamental issues with using 'big array' backing for the nodes.
Tentatively I'd like to keep the Flat Trie around for a short time to see if there are ways to make its existence compelling again. With SIMD searches and improvements to its memory usage, it might serve a purpose as a 'safe' trie for fixed or short keys (such as for storing IDs) or for smaller collections...but overall it has a lot of disadvantages to overcome and I think its likely this trie will be archived.
If this trie is archived, the 'SearchPage' method should be reviewed to see if it can be added to other tries or even to the IPrefixLookup interface. Its a form of skip/take.
IndirectTrie
This trie is an odd one. It has most of the same negatives as the FlatTrie, but mitigates memory usage issues a bit by using jagged arrays to store the struct nodes instead of large arrays, and each node only stores indirect locations to its parent, next sibling and first child.
This 'indirection' has a cost though. Conceptually its harder to navigate issues in this trie at runtime, as all relationships require lookups into a jagged array and because Nodes don't contain references to all of their children (which makes investigating ordering issues painful). It also takes a performance toll. This trie only performs better than the simple dictionary based tries.
The only idea worth saving from this trie is the 'CacheKey' concept. For tries that back a key's value location by a stable index into a value array (like the Flat and Unsafe tries), a token can be returned with a call that gives a readonly reference to that array index, allowing an API caller to poll for changes to the key's value in a way that is essentially free.
Radix Tree
Merging key values has a lot of benefits for memory usage and performance.
It currently has the best performance, likely the best concurrency support (single writer, multiple reader, based on a single atomic reference assignment) and is reasonably easy to diagnose and understand as code (having slightly more complicated logic for creating new nodes due to splitting logic). It does create slightly more garbage than some of the other tries as new nodes are added, but that is a necessary evil due to coordinating with the GC for safe concurrency updates.
This tree is the primary focus of the project currently for a safe and general purpose prefix lookup.
SimpleTrie
This trie is bland. It was implemented specifically to be unsurprising and  uninteresting and to match the recommendations that can easily be found on blog posts about prefix search data structures.
Its slow to search, uses excessive memory, and has no purpose except to serve as an example of how a naive/simple structure would compare. Its performance characteristics are almost exactly the same as the rmTrie that was added as an external library.
I think I will move the SimpleTrie into the 'Alternatives' project, and I might drop rmTrie. I did not add rmTrie in an attempt to make it look bad, but its comparison with the SimpleTrie is not doing it any favors.
UnsafeTrie
A trie that stores its data in unmanaged memory in a compact way. This has some compelling advantages for systems that want to avoid growing the number of objects in the heap ( to keep GC time shorter ) and keep allocation rate and total working set low.
The trie performs fairly well, and has room for a lot of optimizations. The code is difficult to diagnose and debug and the potential for memory leaks is high. Its also a 'Trie' and not a Radix Tree, so its memory usage can still be quite high overall for longer and random keys (using twice the memory of the Radix Tree for relatively short keys with repeated path data).
While it passes the unit tests for single writer, multi reader concurrency, I have concerns about its concurrency approach. This trie should be the second focus of the project. Being able to utilize unmanaged memory while remaining cross platform compatible might make it attractive for unusual targets, like game development. Its approach makes it less compelling for server usage, as its harder to provide guarantees about long term system stability and memory leaks.

959b9b0039f86864c212e0b543a2263e3a84746b
SimpleTrie was moved to TrieHard.Alternatives, but retained in benchmarks and tests.
rmTrie was removed from everywhere in the project.
FlatTrie was removed from all mentions in the documentation, but retained for experimentation within the project (it will likely be removed later though).


Graphviz DOT baser query plans

Output plans in Graphviz DOT format. Use colors to highlight slow nodes.

Example.

@jeenbroekstra @barthanssens what do you guys think of this?

Looks very, very nice !


Edit Topic/Item Dialogs have filled in subject, but show error "mandatory field!!" on submit

oberved multiple times on Firefox on Win7.
Maybe outdated FireFox - I will get version No.
=> Please investigate

Current Version of Firefox.

Could not be reprouced. We will reopen this issue if it occurs again.


Extract helpers

Changes:

Move helpers into a separate module and cover it with tests.
Add getType helper for assembling action type.
Extract getSelectorName and getActionCreatorName helpers.
Move esm wrapper from src/index.js to index.js.

Please resolve conflicts.

Conflicts resolved. 👌

Any chance to review this PR? 🙏 Thank you.


Added note for gateway name and port

As added in the part of creatig the transparant gateway. It needs to be clear that the gateway name needs to be the same all around and that it needs to be resolvable to an IP Address. And also it needs to be clear that when there is a firewall between the downstream device and the transparant gateway, the respective port needs to be open.

@gbbiotwesouth : Thanks for your contribution! The author, @kgremban, has been notified to review your proposed change.

@mrohera would you review this pull request?

Thanks @myagley. Since the downstream device line was already in the docs, I can take care of removing that in a separate PR.
@gbbiotwesouth can you remove the indent in line 40? I'm not sure that the note box will render correctly with the indent. Then I can approve this pull request.
Thank you.

Hi @kgremban - I removed the indent in line 40 and the note looks correct in GitHub preview. I'll go ahead and merge per your comments and indicated approval of the updates.


Unexpected uncaught exception passed to onError of runZonedGuarded() despite try/catch

Steps to Reproduce
Given the following complete minimal example run on Flutter 3.7.3 and Dart 2.19.2:

Code sample
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  runZonedGuarded(() {
    runApp(const MyApp());
  }, (error, stack) {
    print('onError: $error\n$stack');
  });
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override Widget build(BuildContext context) => const MaterialApp(home: MyHomePage());
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});
  @override State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  final http.Client _httpClient = http.Client();

  @override
  void initState() {
    super.initState();
    request().then((value) => print('then')).catchError((error) => print('catchError'));
  }

  Future<void> request() async {
    try {
      var request = http.Request('POST', Uri.parse('http://<IP_ADDRESS>'));
      await _httpClient.send(request);
    }
    catch (error) {
      print('catch: $error');
    }
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: const Center(
        child: Text('Push the button'),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () => _httpClient.close(), // this leads to the exceptions
        child: const Icon(Icons.add),
      ),
    );
  }
}

When the "+" button on the UI is pressed, a SocketException is both passed to the onError callback of the runZonedGuarded() and also the catch block of the HTTP request.
The console output is:
Restarted application in 720ms.
flutter: onError: SocketException: Connection attempt cancelled, host: <IP_ADDRESS>, port: 80
#0      _NativeSocket.startConnect (dart:io-patch/socket_patch.dart:694:35)
#1      _RawSocket.startConnect (dart:io-patch/socket_patch.dart:1855:26)
#2      RawSocket.startConnect (dart:io-patch/socket_patch.dart:27:23)
#3      Socket._startConnect (dart:io-patch/socket_patch.dart:2078:22)
#4      Socket.startConnect (dart:io/socket.dart:763:21)
#5      _ConnectionTarget.connect (dart:_http/http_impl.dart:2466:20)
#6      _HttpClient._getConnection.connect (dart:_http/http_impl.dart:2906:12)
#7      _HttpClient._getConnection (dart:_http/http_impl.dart:2911:12)
#8      _HttpClient._openUrl (dart:_http/http_impl.dart:2766:12)
#9      _HttpClient.openUrl (dart:_http/http_impl.dart:2604:7)
#10     IOClient.send
#11     _MyHomePageState.request
#12     _MyHomePageState.initState
#13     StatefulElement._firstBuild
#14     ComponentElement.mount
--- 8< ---
#384    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)<…>
flutter: catch: Connection attempt cancelled, host: <IP_ADDRESS>, port: 80
flutter: then

Expected results:

A single exception
The exception handled by the catch and not onError of runZonedGuarded()

Actual results:

Two exceptions
One exception in onError of runZonedGuarded() and one in catch

It's not clear to me if this is a bug or "as designed" behavior, but I found it surprising.
Questions

Why are two apparently identical exceptions raised rather than one? (The two exception objects have different identity hash codes, but otherwise appear equivalent.)
Why, if the exception passed to onError is considered uncaught, does the stack trace for that very exception clearly show the try/catch block as an ancestor?
How can I catch the uncaught exception? So that it can be dealt with at the call site and not be uncaught?

Notes

It's intentional for this demonstration that the HTTP request and subsequent client closure results in a SocketException. I'm not asking why this results in a SocketException. I'm asking why there are two exceptions, one of which is considered uncaught, despite the use of try/catch.
Originally posed as a question on stackoverflow (with no response).
Posting in the flutter repo and not dart-lang because the behavior described does not appear to occur when the call to WidgetsFlutterBinding.ensureInitialized() is commented out.
This behavior was observed on an iOS device.

I can reproduce the issue using the code sample provided above.
Labeling for further insight.

logs
without calling WidgetsFlutterBinding.ensureInitialized()
Launching lib/main.dart on M2007J20CG in debug mode...
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
Connecting to VM Service at ws://<IP_ADDRESS>:54145/YKzYPFUvE3Q=/ws
E/com.example.sa(19728): open libmigui.so failed! dlopen - dlopen failed: library "libmigui.so" not found
D/DecorView[](19728): onWindowFocusChanged hasWindowFocus true
D/MIUIInput(19728): [MotionEvent] ViewRootImpl windowName 'com.example.sam/com.example.sam.MainActivity', { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=815282959, downTime=815282959, phoneEventTime=07:38:46.312 } moveCount:0
D/MIUIInput(19728): [MotionEvent] ViewRootImpl windowName 'com.example.sam/com.example.sam.MainActivity', { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=815283045, downTime=815282959, phoneEventTime=07:38:46.398 } moveCount:10
I/flutter (19728): catch: Connection attempt cancelled, host: <IP_ADDRESS>, port: 80
I/flutter (19728): then

calling WidgetsFlutterBinding.ensureInitialized()
Launching lib/main.dart on M2007J20CG in debug mode...
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
Connecting to VM Service at ws://<IP_ADDRESS>:54292/ZTTSNyMD_WQ=/ws
E/com.example.sa(19929): open libmigui.so failed! dlopen - dlopen failed: library "libmigui.so" not found
D/DecorView[](19929): onWindowFocusChanged hasWindowFocus true
D/MIUIInput(19929): [MotionEvent] ViewRootImpl windowName 'com.example.sam/com.example.sam.MainActivity', { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=815337952, downTime=815337952, phoneEventTime=07:39:41.305 } moveCount:0
D/MIUIInput(19929): [MotionEvent] ViewRootImpl windowName 'com.example.sam/com.example.sam.MainActivity', { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=815338067, downTime=815337952, phoneEventTime=07:39:41.420 } moveCount:4
I/flutter (19929): onError: SocketException: Connection attempt cancelled, host: <IP_ADDRESS>, port: 80
I/flutter (19929): #0      _NativeSocket.startConnect (dart:io-patch/socket_patch.dart:689:35)
I/flutter (19929): #1      _RawSocket.startConnect (dart:io-patch/socket_patch.dart:1849:26)
I/flutter (19929): #2      RawSocket.startConnect (dart:io-patch/socket_patch.dart:27:23)
I/flutter (19929): #3      Socket._startConnect (dart:io-patch/socket_patch.dart:2072:22)
I/flutter (19929): #4      Socket.startConnect (dart:io/socket.dart:765:21)
I/flutter (19929): #5      _ConnectionTarget.connect (dart:_http/http_impl.dart:2478:20)
I/flutter (19929): #6      _HttpClient._getConnection.connect (dart:_http/http_impl.dart:2916:12)
I/flutter (19929): #7      _HttpClient._getConnection (dart:_http/http_impl.dart:2921:12)
I/flutter (19929): #8      _HttpClient._openUrl (dart:_http/http_impl.dart:2776:12)
I/flutter (19929): #9      _HttpClient.openUrl (dart:_http/http_impl.dart:2614:7)
I/flutter (19929): #10     IOClient.send
I/flutter (19929): #11     _MyHomePageState.request
I/flutter (19929): #12     _MyHomePageState.initState
I/flutter (19929): #13     StatefulElement._firstBuild (package:flutter/
I/flutter (19929): catch: Connection attempt cancelled, host: <IP_ADDRESS>, port: 80
I/flutter (19929): then

flutter doctor -v
[✓] Flutter (Channel stable, 3.7.5, on macOS 13.2.1 22D68 darwin-arm64, locale en-GB)
    • Flutter version 3.7.5 on channel stable at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c07f788888 (4 days ago), 2023-02-22 17:52:33 -0600
    • Engine revision 0f359063c4
    • Dart version 2.19.2
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[!] Android Studio (version 2022.1)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/221.6008.13.2211.9477386/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] IntelliJ IDEA Community Edition (version 2022.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.75.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[✓] Connected device (4 available)
    • M2007J20CG (mobile)    • adb-5dd3be00-17AYzd._adb-tls-connect._tcp. • android-arm64  • Android 12 (API 31)
    • iPhone 14 Pro (mobile) • 7256EA18-F2CB-4F96-9398-80DC7756A275       • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • macOS (desktop)        • macos                                      • darwin-arm64   • macOS 13.2.1 22D68 darwin-arm64
    • Chrome (web)           • chrome                                     • web-javascript • Google Chrome 110.0.5481.100

[!] HTTP Host Availability
    ✗ HTTP host "https://cocoapods.org/" is not reachable. Reason: Failed to connect to host in 10 seconds

! Doctor found issues in 3 categories.

[!] Flutter (Channel master, 3.8.0-16.0.pre.57, on macOS 13.2.1 22D68 darwin-arm64, locale en-GB)
    • Flutter version 3.8.0-16.0.pre.57 on channel master at /Users/nexus/dev/sdks/flutters
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 45723adf4d (3 hours ago), 2023-02-26 23:35:37 -0500
    • Engine revision 88b48c357b
    • Dart version 3.0.0 (build 3.0.0-275.0.dev)
    • DevTools version 2.22.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/221.6008.13.2211.9477386/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] Android Studio (version 2022.1)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/221.6008.13.2211.9477386/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] IntelliJ IDEA Community Edition (version 2022.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.75.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[✓] Connected device (5 available)
    • M2007J20CG (mobile)    • adb-5dd3be00-17AYzd._adb-tls-connect._tcp. • android-arm64  • Android 12 (API 31)
    • iPhone 14 Pro (mobile) • 7256EA18-F2CB-4F96-9398-80DC7756A275       • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • macOS (desktop)        • macos                                      • darwin-arm64   • macOS 13.2.1 22D68 darwin-arm64
    • Web Server (web)       • web-server                                 • web-javascript • Flutter Tools
    • Chrome (web)           • chrome                                     • web-javascript • Google Chrome 110.0.5481.100

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

This will work as intended if the call to WidgetsFlutterBinding.ensureInitialized() is moved into the function passed to runZonedGuarded.
The Flutter framework expects that the binding initialization and the call to runApp will happen in the same zone.  If binding initialization happens in a different zone, then callbacks set up by the binding will be associated with that zone.  Exceptions thrown within those callbacks could then be dispatched to that zone's uncaught exception handler, causing the results above.
See https://github.com/flutter/flutter/issues/94123

Thank you @jason-simmons, that discussion thread was quite enlightening.
It really would be fantastic if this was documented under WidgetsFlutterBinding.ensureInitialized(). And also if those caveats/subtleties of zones discussed were captured in the docs for zones.

We have a PR out to provide a better warning here: https://github.com/flutter/flutter/pull/117113
Closing this as duplicate of https://github.com/flutter/flutter/issues/94123.


wont open

it tells me I need to update and contact the developer.

This is because the builds of Nightfall that I distribute are not signed (signing requires paying to enroll in the Apple developer program).
See Apple Support: Open a Mac app from an unidentified developer


fix(test-utils): import jest.fn from @jest/globals

🔗 Linked issue
❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
This uses @jest/globals to import jest.fn from: https://jestjs.io/docs/api.
We might consider not adding as a dep given how heavy it is. wdyt @antfu?
📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Looks ok. Do we need to explicitly external it?

I've added to (optional) peerDeps - but again, happy if you have a different suggestion!


documentation (webhooks-callback-reply)

in documentation
(https://defstudio.github.io/telegraph/webhooks/callback-reply)
$this->reply('plapla')->send();  // error
$this->reply('plapla'); // ok

fixed


Remove names from cloudformation to allow resource replacement

This PR was successfully deployed to production by CircleCI build 314 at 2018-03-26 13:17 BST.


Update troubleshoot-ad-fs-sso-issue.md

Fixed misspelling for 'Federation.'
Pull request guidance
Thank you for submitting your contribution to our support content! Our team works closely with subject matter experts in CSS and PMs in the product group to review all content requests to ensure technical accuracy and the best customer experience. This process can sometimes take one or more days, so we greatly appreciate your patience.
We also need your help in order to process your request as soon as possible:

We won't act on your pull request (PR) until you type "#sign-off" in a new comment in your pull request (PR) to indicate that your changes are complete.

After you sign off in your PR, the article will be tech reviewed by the PM or SME if it has more than minor changes. Once the article is approved, it will undergo a final editing pass before being merged.

#sign-off

#sign-off


C#: No qualified names for local scope variables

Qualified names are meant to uniquely identify public elements, and therefor do not make sense for local scope variables. Performance report (internal link) reveals that performance is mostly unchanged.

My only slight reservation is that sometimes you'd want a way of saying "full name" of something, where getName() is too ambiguous to be useful, and getQualifiedName() fulfils this role. Perhaps we need to rationalise the get*Name() predicates somehow.

I discussed this with @jbj, and according to him, C/C++ also doesn't do qualified names for local scope variables. The only scenario where it might be useful, is for debugging, but I don't think that justifies computing the names every time we compute the recursive hasQualifiedName() predicate, and debugging can still easily be done (v.getCallable().getQualifiedName() + "." + v.getName()).

I would agree that from an efficiency perspective, excluding locals from getQualifiedName makes perfect sense.


Codelens support - function references

Hello
First I'd like to thank you for this project - this extension provides an awesome experience with elm and vscode! 👍
I'm pondering writing an extension for vscode that uses the codelens extension-api to add function stats on top of function-definitions - initially to show at a glance how many references any function has throughout it's project.
Would this kind of functionality be at home in this extension or should I approach it as a separate extension?

I'd be happy to include such feature here in this extension :)

alright - Is there any of your current modules that could help me search files for refs and defs for functions and keep these numbers up to date?

While you're at it, add function signatures (type information) to codelens as well. Ionide for F# does this and it's nice not having to type that definition just to remember it.

Got into it, but found discussions about implementing a language-server for Elm, which would be much better than my half-assed implementation - so decided to do other stuff. Sorry :)


chore(query): refactoring

:tada: This PR is included in version 1.0.0-alpha.1 :tada:
The release is available on:

GitHub release
v1.0.0-alpha.1

Your semantic-release bot :package::rocket:


Port to oci-spec 0.7

Now we can use a proper Digest type.

CI here can't succeed on semver-incompat bumps, though what I could do is prep the PR for ostree-rs-ext in advance, and point CI at it temporarily

CI here can't succeed on semver-incompat bumps, though what I could do is prep the PR for ostree-rs-ext in advance, and point CI at it temporarily

Yeah I was just looking into that.  Wrapping my head around the dependency graph of things in CI.  I started on porting ostree-rs-ext over to ocidir 0.3.0 which if I'm following is required to untangle all of this.

Ah ok I'd started looking at it too, what I have so far is
diff --git a/lib/Cargo.toml b/lib/Cargo.toml
index 0cce26e9..a00490d6 100644
--- a/lib/Cargo.toml
+++ b/lib/Cargo.toml
@@ -13,7 +13,7 @@ rust-version = "1.74.0"
 # Note that we re-export the oci-spec types
 # that are exported by this crate, so when bumping
 # semver here you must also bump our semver.
-containers-image-proxy = "0.6.0"
+containers-image-proxy = { path = "../../../containers/containers-image-proxy-rs" }
 # We re-export this library too.
 ostree = { features = ["v2022_6"], version = "0.19.0" }

@@ -36,7 +36,7 @@ once_cell = "1.9"
 libc = "0.2.92"
 libsystemd = "0.7.0"
 openssl = "0.10.33"
-ocidir = "0.2.0"
+ocidir = "0.3.0"
 pin-project = "1.0"
 regex = "1.5.4"
 rustix = { version = "0.38", features = ["fs", "process"] }
diff --git a/lib/src/cli.rs b/lib/src/cli.rs
index 6bbfcdf2..fcb1d977 100644
--- a/lib/src/cli.rs
+++ b/lib/src/cli.rs
@@ -594,7 +594,12 @@ pub fn layer_progress_format(p: &ImportProgress) -> String {
         ImportProgress::DerivedLayerCompleted(v) => (false, "layer", v),
     };
     // podman outputs 12 characters of digest, let's add 7 for `sha256:`.
-    let short_digest = layer.digest().chars().take(12 + 7).collect::<String>();
+    let short_digest = layer
+        .digest()
+        .digest()
+        .chars()
+        .take(12 + 7)
+        .collect::<String>();
     if starting {
         let size = glib::format_size(layer.size() as u64);
         format!("Fetching {s} {short_digest} ({size})")
@@ -934,7 +939,7 @@ async fn container_history(repo: &ostree::Repo, imgref: &ImageReference) -> Resu

         let mut remaining = width;

-        let digest = layer.digest().as_str();
+        let digest = layer.digest().digest();
         // Verify it's OK to slice, this should all be ASCII
         assert!(digest.chars().all(|c| c.is_ascii()));
         let digest_max = columns[0].1;
diff --git a/lib/src/container/encapsulate.rs b/lib/src/container/encapsulate.rs
index e7964fcf..d2b84ba2 100644
--- a/lib/src/container/encapsulate.rs
+++ b/lib/src/container/encapsulate.rs
@@ -151,7 +151,10 @@ pub(crate) fn export_chunked(

     // This label (mentioned above) points to the last layer that is part of
     // the ostree commit.
-    labels.insert(DIFFID_LABEL.into(), format!("sha256:{}", last_digest));
+    labels.insert(
+        DIFFID_LABEL.into(),
+        format!("sha256:{}", last_digest.digest()),
+    );
     Ok(())
 }

diff --git a/lib/src/container/mod.rs b/lib/src/container/mod.rs
index 3c7f2929..ea4f2255 100644
--- a/lib/src/container/mod.rs
+++ b/lib/src/container/mod.rs
@@ -341,12 +341,12 @@ impl<'a> ManifestDiff<'a> {
         let src_layers = src
             .layers()
             .iter()
-            .map(|l| (l.digest(), l))
+            .map(|l| (l.digest().digest(), l))
             .collect::<HashMap<_, _>>();
         let dest_layers = dest
             .layers()
             .iter()
-            .map(|l| (l.digest(), l))
+            .map(|l| (l.digest().digest(), l))
             .collect::<HashMap<_, _>>();
         let mut removed = Vec::new();
         let mut added = Vec::new();
@@ -355,13 +355,13 @@ impl<'a> ManifestDiff<'a> {
                 removed.push(descriptor);
             }
         }
-        removed.sort_by(|a, b| a.digest().cmp(b.digest()));
+        removed.sort_by(|a, b| a.digest().digest().cmp(b.digest().digest()));
         for (blobid, &descriptor) in dest_layers.iter() {
             if !src_layers.contains_key(blobid) {
                 added.push(descriptor);
             }
         }
-        added.sort_by(|a, b| a.digest().cmp(b.digest()));
+        added.sort_by(|a, b| a.digest().digest().cmp(b.digest().digest()));

         fn layersum<'a, I: Iterator<Item = &'a oci_spec::image::Descriptor>>(layers: I) -> u64 {
             layers.map(|layer| layer.size() as u64).sum()
diff --git a/lib/src/container/store.rs b/lib/src/container/store.rs
index 7f51e3f0..bed35703 100644
--- a/lib/src/container/store.rs
+++ b/lib/src/container/store.rs
@@ -21,7 +21,7 @@ use flate2::Compression;
 use fn_error_context::context;
 use futures_util::TryFutureExt;
 use oci_spec::image::{
-    self as oci_image, Arch, Descriptor, History, ImageConfiguration, ImageManifest,
+    self as oci_image, Arch, Descriptor, Digest, History, ImageConfiguration, ImageManifest,
 };
 use ostree::prelude::{Cast, FileEnumeratorExt, FileExt, ToVariant};
 use ostree::{gio, glib};
@@ -68,7 +68,7 @@ fn ref_for_blob_digest(d: &str) -> Result<String> {

 /// Convert e.g. sha256:12345... into `/ostree/container/blob/sha256_2B12345...`.
 fn ref_for_layer(l: &oci_image::Descriptor) -> Result<String> {
-    ref_for_blob_digest(l.digest().as_str())
+    ref_for_blob_digest(&l.digest().to_string())
 }

 /// Convert e.g. sha256:12345... into `/ostree/container/blob/sha256_2B12345...`.
@@ -199,18 +199,6 @@ pub struct ManifestLayerState {
     pub commit: Option<String>,
 }

-impl ManifestLayerState {
-    /// The cryptographic checksum.
-    pub fn digest(&self) -> &str {
-        self.layer.digest().as_str()
-    }
-
-    /// The (possibly compressed) size.
-    pub fn size(&self) -> u64 {
-        self.layer.size() as u64
-    }
-}
-
 /// Information about which layers need to be downloaded.
 #[derive(Debug)]
 pub struct PreparedImport {
@@ -286,7 +274,7 @@ impl PreparedImport {
                     if v.commit.is_some() {
                         (stored + 1, to_fetch, sz)
                     } else {
-                        (stored, to_fetch + 1, sz + v.size())
+                        (stored, to_fetch + 1, sz + v.layer.size())
                     }
                 });
         (to_fetch > 0).then(|| {
@@ -638,7 +626,7 @@ impl ImageImporter {
         }

         let (manifest_digest, manifest) = self.proxy.fetch_manifest(&self.proxy_img).await?;
-        let new_imageid = manifest.config().digest().as_str();
+        let new_imageid = manifest.config().digest();

         // Query for previous stored state

@@ -649,7 +637,7 @@ impl ImageImporter {
                     return Ok(PrepareResult::AlreadyPresent(previous_state));
                 }
                 // Failing that, if they have the same imageID, we're also done.
-                let previous_imageid = previous_state.manifest.config().digest().as_str();
+                let previous_imageid = previous_state.manifest.config().digest();
                 if previous_imageid == new_imageid {
                     return Ok(PrepareResult::AlreadyPresent(previous_state));
                 }

@jeckersb this is ready now, I pointed CI at your branch in https://github.com/ostreedev/ostree-rs-ext/pull/663
Then we can release this crate and change your PR to use the published crate, then when we publish ostree-rs-ext we can change this to reference the published version of that...


No module named 'pyabsa.functional'

Version
See the console output for PyABSA, Torch, Transformers Version
pyabsa=2.3.4, torch=2.2.0,transformer=4.29.0
Describe the bug
Hello, I tried to use a pre-trained model on jupyter, I put the pre-trained model in.ipynb_checkpoints files, but there were runtime error, thank you for your answers.
Code To Reproduce
from pyabsa import ABSADatasetList, available_checkpoints
from pyabsa import ATEPCCheckpointManager
aspect_extractor = ATEPCCheckpointManager.get_aspect_extractor(checkpoint='Chinese',
auto_device=False  # False means load model on CPU
)
[2024-02-17 09:55:41] (2.3.4) Fail to download checkpoints info from huggingface space, try to download from local
[2024-02-17 09:55:41] (2.3.4) No checkpoint found in Model Hub for task: Chinese
[2024-02-17 09:55:41] (2.3.4) Load aspect extractor from .ipynb_checkpoints\fast_lcf_atepc_Chinese_cdw_apcacc_96.09_apcf1_95.14_atef1_83.69
[2024-02-17 09:55:41] (2.3.4) config: .ipynb_checkpoints\fast_lcf_atepc_Chinese_cdw_apcacc_96.09_apcf1_95.14_atef1_83.69\fast_lcf_atepc.config
[2024-02-17 09:55:41] (2.3.4) state_dict: .ipynb_checkpoints\fast_lcf_atepc_Chinese_cdw_apcacc_96.09_apcf1_95.14_atef1_83.69\fast_lcf_atepc.state_dict
[2024-02-17 09:55:41] (2.3.4) model: None
[2024-02-17 09:55:41] (2.3.4) tokenizer: .ipynb_checkpoints\fast_lcf_atepc_Chinese_cdw_apcacc_96.09_apcf1_95.14_atef1_83.69\fast_lcf_atepc.tokenizer
ModuleNotFoundError                       Traceback (most recent call last)
File D:\anaconda\envs\absa\Lib\site-packages\pyabsa\tasks\AspectTermExtraction\prediction\aspect_extractor.py:83, in AspectExtractor.init(self, checkpoint, **kwargs)
82 with open(config_path, mode="rb") as f:
---> 83     self.config = pickle.load(f)
84     self.config.auto_device = kwargs.get("auto_device", True)
ModuleNotFoundError: No module named 'pyabsa.functional'
During handling of the above exception, another exception occurred:
RuntimeError                              Traceback (most recent call last)
Cell In[2], line 1
----> 1 aspect_extractor = ATEPCCheckpointManager.get_aspect_extractor(checkpoint='Chinese',
2                                    auto_device=False  # False means load model on CPU
3                                    )
File D:\anaconda\envs\absa\Lib\site-packages\pyabsa\framework\checkpoint_class\checkpoint_template.py:223, in ATEPCCheckpointManager.get_aspect_extractor(checkpoint, **kwargs)
210 @staticmethod
211 def get_aspect_extractor(
212     checkpoint: Union[str, Path] = None, **kwargs
213 ) -> "AspectExtractor":
214     """
215     Get an AspectExtractor object initialized with the given checkpoint for Aspect Term Extraction and Polarity Classification.
216
(...)
220     :return: An AspectExtractor object initialized with the given checkpoint.
221     """
--> 223     return AspectExtractor(
224         CheckpointManager().parse_checkpoint(
225             checkpoint, TaskCodeOption.Aspect_Term_Extraction_and_Classification
226         )
227     )
File D:\anaconda\envs\absa\Lib\site-packages\pyabsa\tasks\AspectTermExtraction\prediction\aspect_extractor.py:131, in AspectExtractor.init(self, checkpoint, **kwargs)
128                 self.tokenizer = pickle.load(f)
130 except Exception as e:
--> 131     raise RuntimeError(
132         "Exception: {} Fail to load the model from {}! ".format(
133             e, self.checkpoint
134         )
135     )
137 if not hasattr(ATEPCModelList, self.model.class.name):
138     raise KeyError(
139         "The checkpoint you are loading is not from any ATEPC model."
140     )
RuntimeError: Exception: No module named 'pyabsa.functional' Fail to load the model from .ipynb_checkpoints\fast_lcf_atepc_Chinese_cdw_apcacc_96.09_apcf1_95.14_atef1_83.69!

You are loading a outdated checkpoint, I will check the error later

Ok, thank you very much!

BTW, you can try multilingual checkpoint which should be fine

I try to use multilingual checkpoint ,but it still be wrong--"ModuleNotFoundError: No module named 'pyabsa.functional'"


Event graph breakpoints are hit while design time bindings are enabled

While design time bindings are enabled, there is a risk of the editor becoming unresponsive if a binding ends up calling a blueprint function that has a breakpoint set on it.
Steps to reproduce:

Create a new widget blueprint and open it
If not already enabled, click on Enable Design-Time Bindings
Create a blueprint function that accepts a bool parameter and prints the value to the screen
Place a breakpoint on the Print String node, and compile the blueprint
Create a binding with a Call a Function destination node, and set it to the blueprint function that was just created
Compile the blueprint, then click on the Designer button to return to the design view
Observe that the editor becomes mostly unresponsive, and that the following log is spammed:

Slate: Had to block on waiting for a draw buffer

Does the same thing happen with breakpoints in PreConstruct?

It's similar-but-different. After setting up the breakpoint and hitting compile, the editor gets stuck with a 'saving asset' progress bar displayed:

And in the debugger output, the following is logged right at the end:
[2023.10.21-19.33.22:220][932]LogBlueprintDebug: Warning: Hit breakpoint on node 'CallFunc_PrintString', from offset 10
[2023.10.21-19.33.22:220][932]LogBlueprintDebug:
Script call stack:
	Function /Game/Developers/Joel/IssueRepro.IssueRepro_C:PreConstruct
	Function /Game/Developers/Joel/IssueRepro.IssueRepro_C:ExecuteUbergraph_IssueRepro

[2023.10.21-19.33.22:223][932]LogSlate: Warning: Ignoring SetUserFocus because it's not an active modal Window (user 0 not set to SGraphPanel [SGraphEditorImpl.cpp(735)].

Doesn't look like Event Graph breakpoints from Bindings get hit at design time in 5.3 - PreConstruct breakpoints do, but can be stepped through without any issues.
As a workaround, you can disable design-time bindings in Editor Prefs to be able to get back into your BP to disable the breakpoint:


[Airbrake] [Production] Cannot read property 'isProxied' of undefined

Airbrake error: #7426
Airbrake project: datanator_frontend
Error type: TypeError
Error message: Cannot read property 'isProxied' of undefined
Where: <no information>
Occurred at: Aug 16, 2020 17:44:53 UTC
First seen at: Aug 16, 2020 17:44:53 UTC
Occurrences: 0 (0 since last deploy on Aug 04, 2020 16:43:45 UTC)
Severity: error
URL: https://datanator.info/metabolite/WJA-B/
File<EMAIL_ADDRESS>Backtrace:
https://datanator.info/static/node_modules/@bruit/component/dist/esm-es5/core-60c61d30.js:1436:in isProxied
https://datanator.info/static/node_modules/@bruit/component/dist/esm-es5/core-60c61d30.js:45:in call
https://datanator.info/static/node_modules/@bruit/component/dist/esm-es5/core-60c61d30.js:26:in
https://datanator.info/static/node_modules/@bruit/component/dist/esm-es5/core-60c61d30.js:17:in next

This error is due Bruit

Comment from Airbrake: Resolved error reoccurred.

This error is due to Bruit. I have muted the error.


Power Profile vpn server on Linux

Softether vpnserver easily consumes upwards of 10 watts at idle on recent (4.7) kernels and is one of the top power consumers.
Profile the binary for wake locks and other needless codes.

can you help with that?

Close due to inactivity.


[Bitrise] Use Xamarin Stack

Xamarin stack is MacOS with android SDK so should be quite good
I could test it this weekend :)

Tested and validated. Bitrise now generates a unique file designed for the Xamarin stack.


Produced energy

On the pump itself you can see how much produced energy and also how much consumption
Is it possible to create sensors for produced energy? That way we could create a sensor showing COP for the last month etc.. would be interesting statistics

I still haven't found a way to get the production data. So, either the gateway does not provide that information via local API or it is hidden.


Deploying / Exporting edge-ml models

After a model was trained the next step will be to give users the option to deploy the machine learning models on their platform. Therefore, we will add a "Deployment" tab in the left navigation bar.
Once you navigate to the deployment tab you can select a machine learning model that you would like to export from a dropdown list. Additionally, in the validation overview page we should add a button next to the "View" Button which says "deploy" which then takes you to the deployment tab.
Once the user has selected a model for deployment from the dropdown list the next step will be to select the platform to export to. Here my idea would be that we show multiple cards, each card representing a platform to export to. I think the way we could implement the export funactionality would be by adding an additional method to the model implementations https://github.com/edge-ml/ml/blob/master/app/models/edge_model.py
I.e., we have a list of possible platforms to support (python, c, etc.) and then the model API can give information about which platform it can be exported to. Then the API can be requested to return the export for a specific platform which is effectivley a zip file that includes: the required code to run the model + the model itself.
Some open questions are:

what will the user API look like: do they pass sensor values or features?

we have the edge-ml feature extraction library which will work in python and c so we could "ship" it with the code

if they pass sensor values, in which format? how do we know when we have collected enough samples?

i imagine we could have an internal timer in our library that knows the window size and then just computes the expected features after each window has passed and then also do the prediction? However this assumes that the sensor values arrive at the correct sampling rate and might have some other problems.

the implementations should build on top of the existing implementations of platform specific libraries. for the python library we could have a method that either pulls a model from the backend using the device API or can also load a dumped model (which would be the option when downloading the zip archive)


Cannot unmarshal string into Go struct field User.recent.user.fbid_v2 of type int64

VisitProfile method started returning an error a couple of hours ago, the api may have changed

what error has it been returning , also are you having any issues with insta.Login , i've noticed it's starting to just hang

Sorry, didn't paste full error, there it is:
Failed to get search history: json: cannot unmarshal string into Go struct field User.recent.user.fbid_v2 of type int64
And no, I didn't notice problem with insta.Login, but in common cases I use insta.Import instead of Login

I have also faced this issue with User Data Model

https://github.com/Davincible/goinsta/pull/43
This is working for me

#43 This is working for me

works for me too

@kttyt is the issue fully resolved now?

@kttyt is the issue fully resolved now?
yes, it's resolved


Questions on the Tables / Figures of the paper for comparisons

Hi,
Thanks again for this work and the awesome code / data release! We will be trying to compare with your tables so here a few queries to make sure we are doing things properly.
Our main source of hesitations comes from :

Does SDFNet denotes a method taking estimated depth as input or GT?
Throughout the paper, which version of Table's 6 background is used?

Here is my current understanding please correct me if you spot something wrong :

Fig 1 : SDFNet trained with estimated depth
Fig 2 : SDFNet trained with estimated depth
Fig 3 : SDFNet trained with ground-truth depth

Table 2 : GenRe

data. 3 categories for training / 10 for testing , using estimated depth to train/test
Table 3 : ShapeNet data. 13 categories for training / 42 for testing , renderings with 2 DoF, using estimated depth to train/test
Table 4 : ShapeNet data. 13 categories for training / 42 for testing , renderings with 3 DoF, using estimated depth to train/test
Table 5 : ShapeNet data. 13 categories for training / 42 for testing ,  using ground-truth depth to train/test
Table 6 : ShapeNet data. 13 categories for training and testing ,  using estimated and ground-truth depth to train/test

Some questions to make sure I understand :

Why doesn't SDFNet Orcl results in Table 6  appear in Table 5?
Why isn't SDFNet Est results in Table 6 the same as SDFNet  Est - Seen Classes in  Table 5?

Thank you so much for your precious help,
Thibault

Hi Thibault,
Thank you for your interest in our work.
Does SDFNet denotes a method taking estimated depth as input or GT?
In the paper, in sections 4.5 (table 5, figure 6) and 4.7 (table 7, figure 8) the models are trained entirely with GT 2.5D data. For the rest of the tables/figures, SDFNet/SDFNet Est means SDFNet with estimated 2.5D sketches.
Throughout the paper, which version of Table's 6 background is used?
We used LRBg rendering condition throughout the paper.
Table 2 : GenRe data. 3 categories for training / 10 for testing , using estimated depth to train/test   Table 3 : ShapeNet data. 13 categories for training / 42 for testing , renderings with 2 DoF, using estimated depth to train/test   Table 4 : ShapeNet data. 13 categories for training / 42 for testing , renderings with 3 DoF, using estimated depth to train/test   Table 5 : ShapeNet data. 13 categories for training / 42 for testing , using ground-truth depth to train/test   Table 6 : ShapeNet data. 13 categories for training and testing , using estimated and ground-truth depth to train/test
This looks correct to me.
Why doesn't SDFNet Orcl results in Table 6 appear in Table 5?
Thank you for spotting this ambiguity. In table 6, we evaluated on a smaller scale (100 objects per category) while in table 5 we evaluated on all objects
Why isn't SDFNet Est results in Table 6 the same as SDFNet Est - Seen Classes in Table 5?
In table 5, we used ground truth 2.5D sketches to train and evaluate. I think you probably meant table 4. The main difference between table 4 and 6 is that in table 4, the models were trained with data rendered with background and various lighting conditions while in table 6, we trained the models on the "basic" rendering condition and test on "basic" (first column) and LRBg rendering (second column) conditions.


Rename the assertSecondEqual utility method to assertInDelta

This PR renames the assertSecondEqual utility method to assertInDelta.

@armiol PTAL

@armiol PTAL

@armiol PTAL


Add Subnetworks ListUsable()

Follow up to #56
This is rebased so avoid the first commit for now as it's a dupe from the other branch.

/assign @bowei

/lgtm
/approve


Revisit BigchainDB configuration settings for deployment

Leave the default values and only mention values we need to override.
From PR #1418

Note: This is referring to the Kubernetes "Deployment" YAML file for BigchainDB. The only BigchainDB-related environment variables it needs to set are for the BigchainDB config settings that must be changed from their default values. For example, the BIGCHAINDB_BACKLOG_REASSIGN_DELAY can be left at its default value so it doesn't have to be in the YAML file.


doc: incorporate Go reference document changes for Alpha release

As discussed, feel free to ignore my comments that don't make sense in the Go style, and reject Hilary's suggestions in the doc so that we know which things aren't going to be implemented.


Fixed problems when MostVisitedPages Card is empty

Fixed 500 error when data in MostVisitedPages are empty.
Added No Data label  to Card when no data present.
Minified dist/js.

Screenshot with No Data Cards ? :)


Build a minimal wallet app to experiment with deep-linking

If we were to do this, we could have a new wallet/ dir, and use tasit-account and tasit-action from the Tasit SDK (and maybe tasit-contract-based-account depending on whether we're just testing deep-linking or reacting based on the deep-link data payloads in the way the Gnosis Safe might)

This will also help with testing detecting presence of a wallet app on the device from within a mobile dapp


Separate for loops for different types of files.

The recipes currently contain loops that operate over a range of file types (ex: {*.dll, *.so}). These either aren't supported in Thud or aren't supported on some systems. Unroll to loop through each file type.

Fixed in the latest.


Merge page-wrapping branch into master

Hi!
Do we need to keep master and page-wrapping branches separately? This creates a bit of overhead and given the state of this project I think we can directly merge into master.
Not critical! haha. But I want it to ask 😄
cc/ @tpreusse

Done


Maintenance of the Spiral example

Fix test case (added http scope)
Update packages
Added adapter check in config

Related issue: https://github.com/spiral/framework/issues/1148

@roxblnfk looks good. Really thank you for the merge request.
The CI is sadly a issue with Github and Secrets checking sadly always the previous commit out instead of the pushed one.


Code example for writing rdb file back to redis

Any code examples for writing rdb file back to redis?
I want to copy all keys from one cluster to another frequently (redis 2.8 on both ends,).
I am thinking of using

Backup local rdb snapshot
Parse rdb file using RedisReplicator
MSET ?

Hi @rrva
Sorry reply late. This is a bit complicated. But I will add a code example at dev branch today.
The pseudo code is like following.
public class Test {
    public static void main(String[] args) throws IOException, URISyntaxException {
        Replicator r = new RedisReplicator("redis://host:port");
        // Implement and register  MigrationRdbVisitor
        r.setRdbVisitor(new MigrationRdbVisitor());
        // Replace AbstractReplicator#builtInCommandParserRegister to your own implementation.
        // PingCommand is useless. do not override it.
        r.addCommandParser(CommandName.name("MSET"), new DefaultCommandParser());
        r.addCommandParser(CommandName.name("SET"), new DefaultCommandParser());
        r.addCommandParser(CommandName.name("DEL"), new DefaultCommandParser());
        ...

        r.addRdbListener(new RdbListener.Adaptor(){
            @Override
            public void handle(Replicator replicator, KeyValuePair<?> kv) {
                if (kv instanceof MigrationKeyValuePair) {
                    // Using restore command to reduce network traffic.
                    jedis.restore(kv.getRawKey(), kv.getExpiredMs(), kv.getValue());
                }
            }
        });
        r.addCommandListener(new CommandListener() {
            @Override
            public void handle(Replicator replicator, Command command) {
                if (command instanceof DefaultCommand) {
                    //convert command to jedis command.
                }
            }
        });
        r.open();
    }

    private static class MigrationRdbVisitor extends RdbVisitor {
        //TODO
    }

    private static class MigrationKeyValuePair extends KeyValuePair<byte[]> {
    }

    private static class DefaultCommandParser implements CommandParser<DefaultCommand>{

        @Override
        public DefaultCommand parse(Object[] command) {
            //TODO
        }
    }

    private static class DefaultCommand implements Command {
        //TODO
    }

Because jedis is not very efficient.  but as a example, That is enough.

@rrva pls refer to migration example
I will test this example later.

Thanks a lot!

I updated some files about this example. Pls be informed.


adds table of contents to all docs pages

Summary
closes https://github.com/paketo-buildpacks/paketo-website/issues/116

@kvedurmu I would only ask that you add back the title of the Configure Paketo Buildpacks page.

added it back @ForestEckhardt.


add label manpage and fix help

Signed-off-by: Ma Shimiao<EMAIL_ADDRESS>

LGTM

5de50e5 looks good to me.

LGTM


Cursor to ray example

Saw this subject poping up on the Discord recently. Since I've got it working for my game, I've wrote a little example + some explanation on this. 🙂

While this is useful, I think its probably a better fit for the Bevy Cookbook. With a few exceptions (like example games), I want Bevy examples to be minimal illustrations of specific bevy engine features. This is more of a "how to implement cursor to ray" in Bevy.
If Bevy ever gets a "cursor to ray" feature, then I'd want an example for it, but I think I want to avoid "how to implement X"-type examples as a general rule.
Would you mind moving this PR to the Bevy Cookbook instead?

Works great for me until I merge master into it! Some things have changed since then that need to be fixed.

Propably due to the introduction of GlobalTransform

Would you mind moving this PR to the Bevy Cookbook instead?

Will do!


Add a label to the "Add to Open Food Facts modal"

The line looks like a separator. Add a field title to make it clear where to type

@teolemon It would be great if you can share the translated version (English) of the above image.
Thanks.

@teolemon  Looks like I found it in https://github.com/openfoodfacts/openfoodfacts-androidapp/pull/1632 , this will help.

@pratyaksh1610 the issue is that there should be some label indicating what to put in that field

@VaiTon Thankyou for the clarification.
I would like to have some insight on the following,

The default size of TextView is 14sp so is there any particular dimens to use or I can adjust according to the screen, and I can see the text must be bold, and
The localised string should be translatable or not .

Thanks !

I would like to work on this issue.
Please assign this issue to me.
Thanks.

@pratyaksh1610

You can adjust accordingly. You don't even need to use bold if not necessary. Just post a screenshot with the PR so that we can see the result.
It should be localizable as it is a text that users will see.

Do not hesitate to ask if in doubt!

@VaiTon I have made a PR . Please review.
Thanks.


Use script mode in the cloud-event example

@ImJasonH

Changes

Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[ ] Includes tests (if functionality changed/added)
[ ] Includes docs (if user facing)
[ ] Commit messages follow commit message best practices

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes
Describe any user facing changes here, or delete this block.

Examples of user facing changes:
- API changes
- Bug fixes
- Any changes in behavior

/lgtm

/lgtm

/test pull-tekton-pipeline-integration-tests

/test pull-tekton-pipeline-integration-tests

/test pull-tekton-pipeline-integration-tests

I1115 15:16:48.884] ERROR: tests timed out
I1115 15:16:48.885] >> Checking test results for taskrun
I1115 15:16:49.719] ERROR: test poll-for-content-run=SucceededUnknown but should be succeededtrue
I1115 15:16:49.719] ERROR: one or more YAML tests failed

I1115 15:16:51.708]   spec:
I1115 15:16:51.709]     inputs: {}
I1115 15:16:51.709]     outputs:
I1115 15:16:51.709]       resources:
I1115 15:16:51.709]       - name: myimage
I1115 15:16:51.709]         resourceSpec:
I1115 15:16:51.710]           params:
I1115 15:16:51.710]           - name: url
I1115 15:16:51.710]             value: fake-registry/test/fake-image
I1115 15:16:51.710]           type: image
I1115 15:16:51.710]       - name: notification
I1115 15:16:51.711]         resourceSpec:
I1115 15:16:51.711]           params:
I1115 15:16:51.711]           - name: targetURI
I1115 15:16:51.711]             value: http://sink:8080
I1115 15:16:51.711]           type: cloudEvent
I1115 15:16:51.712]     podTemplate: {}
I1115 15:16:51.712]     serviceAccountName: ""
I1115 15:16:51.712]     taskRef:
I1115 15:16:51.712]       kind: Task
I1115 15:16:51.713]       name: send-cloud-event-task
I1115 15:16:51.713]     timeout: 1h0m0s
I1115 15:16:51.713]   status:
I1115 15:16:51.713]     cloudEvents:
I1115 15:16:51.713]     - status:
I1115 15:16:51.714]         condition: Failed
I1115 15:16:51.714]         message: "1 error occurred:\n\t* Post http://sink:8080: dial tcp: lookup sink
I1115 15:16:51.714]           on <IP_ADDRESS>:53: no such host\n\n"
I1115 15:16:51.714]         retryCount: 1

@dibyom yeah, a rebase should fix that race :sweat_smile:

Script mode has been added to the this test already in 1bfd9794422204f77d76f4c5a796824fa0cc21ae, so this can be closed.


[wip] Add support for request header parameters

Looks good. One small note is that added headers w/ a default may still cause backwards incompatibility depending on the json parser used... I've updated the tests on a local branch to get back to green. Alternative is to make headers optional - but I think given usage we know about, agree with making required w/ a default.
Next steps:

Update the apidoc spec itself: https://github.com/mbryzek/apidoc/pull/531
This PR w/ tests passing: https://github.com/mbryzek/apidoc-generator/pull/140

Possible for you to take a quick look at the above PRs?