Abstract class vs Interface

Hi, I’m a bit confused about the difference between abstract classes and interfaces. When do I use abstract classes?

hii, for abstract class:  you can have both concrete and abstract methods. normally i use abstract class as my parent class so i will have child classes that extend from the parent abstract class. the child classes that extend from the parent abstract class will have to inherit all the abstract methods from the abstract parent class and implement them (concrete methods in child class)
for interface: you only can have abstract methods and all classes implementing the interface need to inherit the methods in the interface

i feel like abstract classes are useful when attributes need to be shared across multiple methods, while interfaces are suitable for when attributes are not needed in the method's implementation, or if only that 1 method needs the attribute

I would say interfaces is more general then abstract classes. Hence, for abstract class if you know some classes have some same attributes and same method implementations but a few different method implementations , then can create an abstract class with the same methods and attributes, then put the methods that have different implementations as an abstract method. I would use interfaces if some classes need to be classified under the same thing for polymorphism, but the attributes and all method implementations are different, then i would use interfaces.

usually, abstract classes are useful when you want a common implementation for all the child classes, along with common attributes, whereas for interfaces they are abstract by default. interfaces are especially useful for multiple in heritance, (class implements i1, i2..) as each child class can only extend one superclass

abstract classes are like half finished classes with certain variables and methods, while interfaces are like classes with certain methods that you have to fill in yourself

as mentioned in lecture, interfaces act as contracts - it just indicates that a class which implements the interface WILL have the defined method in the interface.
an abstract method allows you to also define method headers like an interface, but you can also write the entire implementation of the class which can be used by the classes extending the abstract method.
abstract method is a combination of an interface and parent class.

Abstract classes provide a way to define common behavior and state along with abstract methods, while interfaces define contracts for behavior without any implementation details and allow multiple inheritance of type.

Abstract methods (those only with method names) can be provided as long as you declare them as being abstract.  Use extends when you want to use polymorphism (as it is a class). Multiple inheritance is not allowed.
It is also possible to provide implementation of methods in abstract class, but not in interface. Use implements for interface, and multiple inheritance is allowed for interfaces.

abstract class can have constructs and have defined methods, but interfaces can only specify what methods its implementors have, so as someone mentioned earlier abstract classes are mostly less general than interfaces

can declare attributes and define constructs in abstract class, but for interface it only states what methods must be implemented

for abstract class, you can write out entire methods that subclasses will inherit, but you can also declare the method as public abstract, and then define it in the subclass that extends the abstract class.
For interfaces, only the names of the methods are specified, and classes that implement the interface must contain those methods

Abstract classes are classes where you generally can have both attributes and methods. However, you cannot instantiate an abstract class. And interfaces generally only have methods and the methods in interfaces are of abstract type, hence you will have to implement the respective methods in the sub-types of the interfaces. You also can't instantiate an interface.

Abstract classes can have common methods defined and implemented for all the subclasses implementing it but interface only allows methods to be defined within it without being implemented

Interfaces only have abstract methods, and a class can inherit from multiple interfaces
Abstract classes have both abstract and concrete methods but a class can only inherit from 1 abstract class
As mentioned earlier, interfaces are more general which makes it suitable to implement if u want to define a contract between multiple unrelated classes that implement the methods independently

i use abstract when there is both similar attributes/concrete methods for subclasses and also abstract methods to define. its like a mix of superclass & interface to me. interface is when there is only a common method signature/abstract methods between classes

Abstract classes provide a way to define common behaviour and state for subclasses, while interfaces define contracts that classes can implement. Another main difference is that abstract classes still have a constructor but interfaces only contains methods which are like contracts.

Use abstract classes when you want to share code among several closely related classes; they allow you to define some common functionality (with or without implementation) and force subclasses to implement specific abstract methods. Interfaces, on the other hand, are used to specify a contract for what a class can do, without specifying how it does it.

Interfaces are restricted to purely methods, but abstract classes can include properties & constructors

Technically speaking, you can stick to just using interfaces for all of your code. However, AbstractClasses are useful if a lot of your classes share the same chunk of code. If you use AbstractClasses, you would only need to write this chunk of code once and it will be consistent throughout for all child classes. This reduces chances of errors as you only have to type it once. Take note, you extend both an abstract class and a class. You only implement an interface.


Design System > Scrolling Issues

Design System > Scrolling Issues
1.After scrolling to right side the next columns are visible at left side
2.Is there any option if we can fit the columns in 1 screen without horizontal scroll

Design System > Scrolling Issues
1.After scrolling to right side the next columns are visible at left side -  done PR raised
link : https://github.com/Wai-Technologies/raaghu-react/pull/693
2.Is there any option if we can fit the columns in 1 screen without horizontal scroll - not possible because if I add fit columns in 1 screen then need to add tooltip and also data not visible propeerly

Fixed on stage


NullPointerException on close active task

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] puppy => You're not submitting a puppy. I already have one and he's adorable

What is the current behavior?
NullPointerException on close task with or without creation of feature.

Is this a bug? Sorry about that. If so give me explicit details how to reproduce:

Open IntelliJ
Start task with or without "Create feature" checked in Gitflow section
Close active task (with shortcut or Tool -> Tasks & Context -> Close active Task)
The panel not open and Exception is thrown (Stack trace is below)

What is the expected behavior?
Close active task for open new.

What is the motivation / use case for changing the behavior?

Please tell me about your environment:

Gitflow4idea version: <IP_ADDRESS>

Gitflow version: 0.4.1

IntelliJ Help -> about > click copy icon and paste here. Should look like this:

  PhpStorm 2018.1
  Build #PS-181.4203.565, built on March 28, 2018
  Licensed to Consulting Convergence & System SA / David Wittwer
  Subscription is active until May 7, 2018
  JRE: 1.8.0_152-release-1136-b20 x86_64
  JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
  macOS 10.13.3

java.lang.NullPointerException
	at gitflow.ui.GitflowCloseTaskPanel.<init>(GitflowCloseTaskPanel.java:64)
	at gitflow.ui.GitflowTaskDialogPanelProvider.getCloseTaskPanel(GitflowTaskDialogPanelProvider.java:41)
	at com.intellij.tasks.ui.TaskDialogPanelProvider.lambda$getCloseTaskPanels$1(TaskDialogPanelProvider.java:44)
	at com.intellij.util.containers.ContainerUtil.mapNotNull(ContainerUtil.java:1925)
	at com.intellij.util.containers.ContainerUtil.mapNotNull(ContainerUtil.java:1874)
	at com.intellij.tasks.ui.TaskDialogPanelProvider.getCloseTaskPanels(TaskDialogPanelProvider.java:43)
	at com.intellij.tasks.actions.CloseTaskDialog.<init>(CloseTaskDialog.java:92)
	at com.intellij.tasks.actions.CloseTaskAction.actionPerformed(CloseTaskAction.java:39)
	at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:220)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:237)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:576)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:625)
	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:195)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:624)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.d(IdeKeyEventDispatcher.java:479)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:213)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:738)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:434)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Hi, just for more precision.
If I finish feature with Gitflow menu on bottom right, everything works fine.
The exception append only on closing task.
Thanks

Confirmed this bug also.
PhpStorm 2018.1.1
Build #PS-181.4445.72, built on April 9, 2018
Licensed to Ioannis Feidaros
Subscription is active until November 6, 2018
JRE: 1.8.0_152-release-1136-b27 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.13.0-38-generic

Confirmed.
PhpStorm 2018.1.3
Build #PS-181.4892.97, built on May 9, 2018
Licensed to Scott Limmer
Subscription is active until January 7, 2019
For educational use only.
JRE: 1.8.0_152-release-1136-b38 amd64
JVM: OpenJDK 64-Bit Server VM by Sun Microsystems Inc.
Windows 10 10.0

Confirmed.
Android Studio 3.2 Canary 15
Build #AI-181.46<IP_ADDRESS>73949, built on May 11, 2018
JRE: 1.8.0_152-release-1136-b02 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.5

Confirmed.
PhpStorm 2018.1.4
Build #PS-181.5087.24, built on May 18, 2018
Licensed to Thomas Donahue
You have a perpetual fallback license for this version
Subscription is active until May 4, 2019
JRE: 1.8.0_152-release-1136-b39 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.4

Confirmed.
IntelliJ IDEA 2018.1.5 (Ultimate Edition)
Build #IU-181.5281.24, built on June 12, 2018
Licensed to Patrick Grupp
Subscription is active until October 23, 2018
JRE: 1.8.0_152-release-1136-b39 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.5

I've been investigating a bit. This seems to be happening because of an option not being set, but where to set it, I'm not sure:
In the above mentioned line this is actually null: GitflowConfigurable.getOptionTextString(project, "HOTFIX_customHotfixCommitMessage") but the .replace("%name%", branchName) is called on it anyway. So I was able to fix this probably. But ran into another issue with the GitflowState being corrupted/out of sync thus not showing the correct options, when closing the task anyway. I'll keep you posted and come up with a pull request, if I succeed.
Cheers :)

Try to enable "Use custom hotfix commit message" checkbox in settings. This fixed the problem for me.


Fix llvm for BPF builds

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[ ] Ready to merge

Summary
Commit 5b511cf removed BPF from list of target-to-build, re-add it.
Upgrade xdp-tools to 1.4.2 that officially supports clang 17.x
Change Log
xdp-tools build recently started failing with the following error:
time="2024-02-05T04:34:56Z" level=debug msg="/usr/bin/llc -march=bpf -filetype=obj -o xsk_def_xdp_prog_5.3.o xsk_def_xdp_prog_5.3.ll"
time="2024-02-05T04:34:56Z" level=debug msg="/usr/bin/llc: error: invalid target 'bpf'."
time="2024-02-05T04:34:56Z" level=debug msg="make[2]: *** [Makefile:139: xsk_def_xdp_prog_5.3.o] Error 1"
Commit 5b511cf removed BPF from list of target-to-build.
This breaks packages like xdp-tools that use BPF targets.
This patch re-adds the support for BPF in llvm.
For good measure upgrade xdp-tools from 1.4.1 -> 1.4.2 (latest) that includes support for clang-17.
Does this affect the toolchain?
NO
Associated issues
Links to CVEs
Test Methodology
BuddyBuild: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=498853&view=results

Related PR:

https://github.com/microsoft/CBL-Mariner/pull/7589


[TextField] Use aria-hidden on required asterisk

Fix #20740

[x] I have followed (at least) the PR section of the contributing guide.

@alorek It's a great first pull request on Material-UI 👌🏻. Thank you for working on it!


Prevent multiple instances from running

It would be nice if NitroShare presented a warning that indicated another instance was running if that was the case. Although subsequent instances will display an error about not being able to bind to the transfer port, the application will still run.

It should be possible to solve this and facilitate authentication with the local API at the same time by creating some sort of token upon startup that only other local applications can access. The presence of the token would suggest that another instance is already running.

The local API should make this trivial. An additional route (something to the effect of /ping) can be used to see if NitroShare is running and if so, refuse to start.

https://doc.qt.io/archives/qtopia4.3/qtopiadesktop/qtsingleapplication.html
https://github.com/qtproject/qt-solutions/tree/master/qtsingleapplication


[Feature] Support retries in workflow step

Is your feature request related to a problem? Please describe.

For a failed step, we can add retries to let the users control the max retry times like:
steps:
   - name: a
      retry:
         times: 5
         interval: 30s

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Has this problem been solved? If not and @fourierr doesn't have the time to do it, maybe I can take on this work.

Hi, @YTGhost
The issue is not solved yet, you can checkout the code here: https://github.com/kubevela/workflow


Better UX for tree detail action buttons, since they feel laggy

Liking or adopting a tree feels confusing since there seems to be a delay between clicking on a button and when it appears enabled (colored in)
One option is to optimistically change the styles of the button upon clicking. If the action does not successfully complete on the backend, then revert the action on the front-end, showing some sort of message pop-up notifying the user that the action failed.

Hi @mwpark2014, can you assign me

@mwpark2014 this is also part of the redesign with ticket #283

Good call out @ri0nardo
@Elham-EN are you interested in working on the much bigger redesign project? I wouldn't want to duplicate your work if you resolve this bug right before we redesign this component

@ri0nardo I don't see the adopt or like buttons in the Tree Details component. Are these buttons just gone in the new design?

@mwpark2014 thanks for mentioning that. I was going for a minimal route, but there isn't enough context for users to understand.
i change the icons. It starts with changing the name of the tree (more of giving the tree a nickname to customize the experience), favorite a tree with a star, then the plant icon is adopt. We can add text below. Or if you have other suggestions then we can consider that.

Aha! Thanks @ri0nardo. I think it actually looks great. I just missed it because I wasn't looking for those new icons. I'll leave a small comment in the figma.
Okay, @Elham-EN it looks like there's quite some work in implementing the redesign of this component, but that shouldn't be included in the scope of this ticket since it might take a while.
Let's go with:

Confirm that you can repro the problem of laggy buttons

Add in optimistic front-end changes with revert if backend request fails

Optionally swap out the like and adop icons with the new icon images

I think your problem is very similar to the app i currently working on. For example let's say in the sign up page, when you create an account by submitting the form, and it will take some time for the backend to create the new user and add to the database (in this example you are using a Firebase services: Auth & Firestore DB). So what i am trying to say is that, when you click the button, it won't take you to a different page instantly, because there will be some delay and from the end user you need to give some kind of indicator that can let them know i will take a few second for the operation to complete and just in case if the operation failed we can notify the user by use Toast component.
If this is what you want, i can help you with that.

@mwpark2014 would this be a duplicate ticket now since I opened this one? https://github.com/waterthetrees/wtt_front/issues/556
It does not include this section:

Let's go with:

Confirm that you can repro the problem of laggy buttons

Add in optimistic front-end changes with revert if backend request fails

Optionally swap out the like and adop icons with the new icon images

@mwpark2014 would this be a duplicate ticket now since I opened this one? #556
It does not include this section:

Let's go with:

Confirm that you can repro the problem of laggy buttons
Add in optimistic front-end changes with revert if backend request fails

"Optimistic front-end changes with revert if backend request fails" is the main point of this ticket, which is interesting from a technical perspective. You can feel free to mention it in #556, but please keep this ticket open as a separate task, since there are separate considerations necessary to make this behavior happen.

I think your problem is very similar to the app i currently working on. For example let's say in the sign up page, when you create an account by submitting the form, and it will take some time for the backend to create the new user and add to the database (in this example you are using a Firebase services: Auth & Firestore DB). So what i am trying to say is that, when you click the button, it won't take you to a different page instantly, because there will be some delay and from the end user you need to give some kind of indicator that can let them know i will take a few second for the operation to complete and just in case if the operation failed we can notify the user by use Toast component.
If this is what you want, i can help you with that.

I didn't see this response before @Elham-EN, but feel free to assign the ticket to yourself.


Broken link to Deoxy

https://github.com/torchhound/warren/blob/master/deoxy.org should be deoxy.org

Thank you very much, it has been taken care of.


Is it possible to generate graphic elements with coords without saving the images into storage

I am trying to crop the images from the pdf by using the coords attributes inside the graphic elements but it looks like the graphic elements won't be generated unless pdfAssetPath  in org/grobid/core/engines/config/GrobidAnalysisConfig.java is being set is it possible not to extract those images into the storge and be able to get their coords in the pdf?

It looks like the images are being copied from the temp dir to pdfAssetPath so I don't think the pdfAssetPath needed to be set to be able to generate graphic elements with coords. can this be considered as a bug since the code does not generate graphic elements unless pdfAssetPath is set?

Hello @ehapmgs !
You are right, if the asset path is not defined, the embedded graphics are not extracted and not referenced in the TEI with their coordinates. It's not very clear why we would like to crop these embedded graphics from the PDF while they can be extracted in a more "original" format by Grobid upstream.
Now to be honest I don't know anymore what to do with these graphics embedded in the PDF... the feature is still there, but I am really not sure if it's of any real use.
A few years ago I thought it would be nice to extract them and reference them in the figures where they appear. However, they are not always usable - we can have hundred/thousand of embedded graphics in one pdf. It's hard to manage in general (in particular the SVG) and can lead to errors. We might rather want to crop the figure or figure content, which would ensure than we have a global graphic element, and not hundred of pieces as it could be the case. So my question would be: would you not prefer to use the bounding box coordinates associated to the figure element for the crop rather than the ones of the embedded graphics?

Hey @kermitt2
The coords that are associated with the figure element seems a bit different when the pdfAssetPath set vs not set
When pdfAssetPath is set they are pointing to the graphic element that would be useful to my use case

otherwise, it looks like they are pointing to the caption of the figure or the text around the image itself

Am I missing something?

You're not missing anything, this is exactly how expected.

It's not very clear why we would like to crop these embedded graphics from the PDF while they can be extracted in a more "original" format by Grobid upstream.

So I don't really understand your use case... if you want the graphic elements and you can get them as extracted from the PDF without bothering with a crop, why not setting pdfAssetPath?

We probably want to have the coordinates at figure level for the global figure zone and the coordinates for the figure content (the graphics) in an element under
? So independently from pdfAssetPath and graphic elements as external file, correct ?

Sorry I got confused a bit, the coords associated with the ‘figure’ element what they are really pointing at?, in the first screenshot there is only one coords and it is pointing to the image inside the figure
but in the second screenshot where the ‘pdfAssetPath’ is not set there is a set of coordinates pointing to different lines of the figure caption but not the image, how I can crop the image itself in this case and why the coordinates have changed when the ‘pdfAssetPath’ is set vs when it is null

I would say in principle the coordinates of
 are the bounding boxes of all contained elements.
In the second case, the graphic element is not available so the area misses that part. Without pdfAssetPath  graphic elements are not available apparently, so it may be a problem or a limitation of the call to pdfalto.
In the first case, indeed selecting only graphic element for coordinates is not consistent and we should have a composition of the bounding boxes with the graphic element and the captions/figure title rather that selecting just the graphic element. I don't remember why only the graphic element coordinates are used at figure level, agree that's a bug !

I pushed a quick fix for the first case in branch fix-#710, but overall it looks working very badly (I mean the recognition of figures in general) and the url attributes for the <graphic> are not working any more apparently (they should point to actual file under the local asset directory where the resulting XML is produced).
All the figure and table recognition would need some more work and attention, and probably all the "assets" part being deprecated to just rely on crop directly on the PDF.

I've worked a bit on this again - this is mainly a regression problem in pdfalto as compared to pdf2xml, and we should have something closer to what is expected now:

the graphics elements attached to figures are present with coordinates (coordinates are always added currently for the different <graphics>)

                Figure 3 :
                3
                <figDesc>Figure 3: Augmented PDF using the Softcite text mining tool: mentions of software and their attributes are display on top of the PDF as HTML dynamic layout, via the standard PDF.js library (left part). The user can interact directly in situ with the annotations, opening info boxes with Wikidata disambiguated information and local consolidated bibliographical reference relevant to the software.</figDesc>
                <graphic coords="9,317.96,86.60,246.75,221.90" type="bitmap" />

path to external svg and png files when extracted have been corrected:

                Figure 1 :
                1
                <figDesc>Figure 1: Overview of the Softcite software extraction pipeline. Blue boxes represent the main processing components, and ovals the different data results.</figDesc>
                <graphic url="qUQH5GGp99.lxml_data/image-1.png" coords="4,53.80,86.60,247.50,288.90" type="bitmap" />

when coordinates are generated for figure/table, we have the global figure area coordinates (including graphics, caption, figure title) at the
 element and the coordinates of the graphic element

                Fig 2 .
                2
                <figDesc>Fig 2. Inhibition on LAMP assays by chitosan. Observed LAMP threshold times for EF samples containing varying concentrations of chitosan (0, 0.01, 0.1, 1 g L -1 ). Chitosan completely inhibited LAMP at concentrations above 1 g L -1 . Each data point represents the mean threshold time (t T ) from (n = 3) LAMP assays. Treatments significantly different than control (0 g L -1 chitosan, green dot) are indicated by asterisk (* p<0.05) Error bars are standard errors of the mean. https://doi.org/10.1371/journal.pone.0244956.g002</figDesc>
                <graphic coords="8,159.48,78.01,416.47,310.28" type="bitmap" />

I've added the figure reference/crop in the PDF annotation demo in the console, to better visualize the extracted figures. There's much more work needed on this, even just to get it working again at the level it was working in the past (the version used at ResearchGate).

It works with table too:

Sorry the shitty auto-close strikes again ;)

@ehapmgs no you don't need to set pdfAssetPath. The graphics coordinates are available also when images are not extracted. Normally it works with SVG too (with actual coordinates, not page size).

I tested the latest master version, seems figure coords are only returned in /api/referenceAnnotations

It looks good for me with the TEI results too:

Seems an error case related to https://github.com/kermitt2/grobid/issues/787
I was testing the graphic output using that paper.

Hello Kermitt,
What do I see here? Can I convert a PDF to TEI and show the results like this?
Converting text and images with Grobid works great but for tables not so much, if I can show them like that (image?) it would be really helpful.
Jacob

It works with table too:

Yes you can get the coordinates of the figure and table "areas" with @coords on
 as indicated above in the resulting TEI. You can also get these coordinates in JSON with the service /api/referenceAnnotations https://grobid.readthedocs.io/en/latest/Grobid-service/#apireferenceannotations (you get all the reference markers coordinates and the "objects" they reference, including tables). The demo you see (the Grobid console) uses the JSON answer with coordinates and simply make a crop on the displayed PDF (several PDF libraries can do that).
@kermitt2
Hello, thank you for your work, I have a question, I enter this article, in the article Figure 4 Figure 5 are all such figures,

however, the coords of Figure in the result returned by grobid is 3 coordinates, what does this mean?

By the way, what is the difference between the coords of graphic and the coords of figures?
thanks a lot for your reply.

Just a quick question, how would one go about extracting all the figures' graphics coordinates assuming you're using the Grobid docker image and python client? I'm able to get ~4-5 figures to attach graphic coordinates out of 30 in a document. A lot of the time the XML generated doesn't even include graphics.


Error in example: [!] Unable to find a specification for FlipperKit (= 0.93.0)

Describe the Bug
For the example, when running pod install in the ios folder i get an error
[!] Unable to find a specification for `FlipperKit (= 0.93.0)`

Steps To Reproduce
git clone git@github.com:DoubleSymmetry/react-native-track-player.git
cd react-native-track-player/example
yarn install
cd ios
pod install

Environment Info:
react-native-track-player: 2.1.2

System:
    OS: macOS 11.6
    CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
    Memory: 220.54 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 16.11.1 - /usr/local/bin/node
    Yarn: 1.7.0 - /usr/local/bin/yarn
    npm: 8.0.0 - /usr/local/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.11.2 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
    Android SDK: Not Found
  IDEs:
    Android Studio: Not Found
    Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
  Languages:
    Java: 10.0.2 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.65.1 => 0.65.1
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

How I can Help
What I'm going to try and do is see if I can remove FlipperKit as a dependency.
We'll see how that goes. If you have any insight on how to get it done quickly, I'm interested.
just did pod repo update, we'll see how that goes

pod repo update seemed to do the trick


crash when using latest epgsql branch

latest epgsl app seems to crash when the association ID is inserted

bug report issued to epgsql project, workaround is to change "character" fields to "character varying"

character fields has been changed to character varying as final solution. Bug report to epgsql project will continue as separate issue


Moving to an organization

I think it's time for pnpm to graduate into its own organization. The problem is @pnpm is taken, and there's no way to contact the organization maintainer.
@pnpm, if you're hearing this, mind if you send me an email? My email address is in my GitHub profile.
In any case, here are other ideas for org names, let me know what you think:

github.com/pnpm/pnpm
github.com/pnpm-js/pnpm
github.com/pnpm-install/pnpm

pnpmjs is also available. Many projects use org names like this: gulpjs, gruntjs, etc.

can you ask @github to let you use @pnpm org? from my point of view, its squatted dead and empty org right now

Just sent them a support ticket, we'll see if there's any movement on there in the next few days.

We're in luck, here we go!

To do:

[x] Create organization (done!)
[ ] Actually move the repo an organization
-[ ] Move http://ricostacruz.com/pnpm/ to pnpm.github.io (actually, does anyone even care about this site?)
[ ] Update docs (eg, vs-npm.md has a reference to rstacruz/pnpm)
[ ] Update package.json with new URL

Awesome! I've accepted the invite.
I kinda like the site-documentation. But I would probably create a bigger README, with Table of Contents. Most of the people will just open the README and won't click on any links.
What will be the organization image?

What will be the organization image?

¯\(ツ)/¯

Nice logo!
Super stoked to see pnpm evolving with such pace!

What about a twitter account for pnpm?

Feel free to make one, I don't have time to man it :P
Rico Sta. Cruz  ·  @rstacruz  ·  ricostacruz.com
On Aug 30 2016, at 4:57 pm, Zoltan Kochan<EMAIL_ADDRESS>wrote:

What about a twitter account for pnpm?

--
You are receiving this because you authored the thread.
Reply to this email directly, [view it on GitHub](https://github.com/rstacruz/
pnpm/issues/329#issuecomment-243376337&r=cmVwbHkrMDAwMTIyOTFjZjI3ZWE5MjEwOTcyN
jhhMmQ3YzcyNjlmYTg3MDEwODMwNjEyYzg1OTJjZjAwMDAwMDAxMTNkZDBjNzI5MmExNjljZTBhNWJ
iYzU1QHJlcGx5LmdpdGh1Yi5jb20=), or [mute the
thread](https://github.com/notifications/unsubscribe-auth/AAEike62fERg94BxGrC9
R_nr9a0KOyyaks5qk_BygaJpZM4JvhBD&r=cmVwbHkrMDAwMTIyOTFjZjI3ZWE5MjEwOTcyNjhhMmQ
3YzcyNjlmYTg3MDEwODMwNjEyYzg1OTJjZjAwMDAwMDAxMTNkZDBjNzI5MmExNjljZTBhNWJiYzU1Q
HJlcGx5LmdpdGh1Yi5jb20=).![](https://github.com/notifications/beacon
/AAEikZa4_54JBQPUgqQldyNS248H-q9Rks5qk_BygaJpZM4JvhBD.gif)

ok, I've created pnpmjs. I'll send you the credentials via gitter.
I'll be posting notifications about new releases and retweeting mentions about pnpm, maybe some articles about pnpm if there will be any.

@rstacruz could you move us to the org? :smile:
We almost have all the features for v1

Move http://ricostacruz.com/pnpm/ to pnpm.github.io (actually, does anyone even care about this site?)

I think we can live without the website at least for now. It doesn't seem to have SEO value anyway

@rstacruz could you please make me admin in the pnpm organization? I'd like to transfer some of my packages related to pnpm there. Also I'd like to create a custom website for pnpm. Without admin role, I can't configure stuff properly.

btw, i think i have benchmarking part of the site completed


Assorted compliance-service test fixes

These fixes are from #595 but are not specific to the changes on that branch.
Signed-off-by: Alex Pop<EMAIL_ADDRESS>

yey, they are in master, thank you!


Prettier might be broken when developing locally

Automatic formatting seems to have been broken.

Never mind... The issue was on my machine. 🙈


✨[FEATURE]: add Bidirectional Dijikstra

🌟 Feature Overview
add Bidirectional Dijikstra_
📝 Additional Details
A variant of Dijkstra’s that runs the search from both the source and the target node simultaneously, potentially reducing computation time for large graphs.

Don't spam repo


Testimonial

Yo. Testimonial tweak I'd prefer. 👍
(And I think Pablo's tweet is super fun, and yeah I'm super-invested in helping this thing motor, but end of the day it's a kennethreitz™ project.)

:sparkles: :cake: :sparkles:


Remove deviceKID arg from mdServerTlfStorage

This is redundant, since the branch ID is already passed
in. I just forgot to remove it.

Looks good to me, thanks!


Added Jackson Annotation driven deserialization.

Added custom deserializers for swagger polymorphic types (Property, Parameter, Model and SecuritySchemeDefinition). These will work with Jackson Annotation without requiring any object mapper configuration.
NOTE: After adding these annotations to Swagger Models (Paramter, Model, Property and SecuritySchemeDefinition), some test cases in Swagger-core are failing. As i don't have experience in scala i haven't fixed those test cases.

@gdilipkumar - a few thoughts:

I'm not really sure what problem you're trying to solve with this PR.
PRs need to be made against the develop_2.0 branch.
We will not accept PRs that are not well tested, and not ones that break existing tests. You will have to fix those if you want the PR to be merged.

Problem Statement:
In our product we are depending only on Swagger-models. While processing models Jackson Object Mapper can't deserialize Polymorphic types like Property, Parameter and Model. For models like Parameter we can use in built Jackson feature (@JsonTypeInfo and @JsonSubTypes) but it had serialization bug (Id property duplicated) and for other models we don't have discriminator to decide.
To solve this problem we have two options:
i. We have to create CustomDeserializer and configure Object mapper to resolve polymorphic sub types. "Swagger-core" using this approach. Problem is additional configuration required wherever we needed. In our case we are having different object mappers for different purposes.
ii. Annotation + Custom Type Resolver (My Approach): With this approach we don't need any configuration. Here i created custom type resolver and configured using Annotations.

I properly tested my changes and added required junit test cases.

Existing test cases failing because it was dependent on custom configuration after adding my changes those custom deserializers won't work, sub type already resolved with Annotation. Hence those test cases can be removed.

If your ok with my feature i'll push my changes to develop_2.0 branch.

Let me know if you found any problems in changes.

Thank you for the explanation.
However, I still fail to see what you're trying to do here and how you're using the swagger-models project. We have the swagger-parser which does exactly that, deserializes Swagger definitions into the Swagger objects (and you probably want to use that).
Disregarding the deserialization process you added (which I didn't dive into, though noticed you chose to ignore the default value for some reason), some of the test samples are invalid and wrong. Also, the tests don't include any negative use cases. We have yet to decide which Java testing framework we're going to migrate to, so would much rather receive the tests in Scala like the others. Obviously, we cannot have a failing build and will not accept anything that breaks the build. Looking at the some of the failing tests, this is not a matter of deleting the tests but actual output that's wrong.
Furthermore, it appears that there are some deviations from our coding standards as well. This PR is big and would take a while to review, and it looks like some thing in it are wrong. It would have helped if you provided comments (on the commits, specific lines of code, not in code itself) as to why you did what you did. As it stands, I'm not sure when we'll be able to review it.


Fix namespace for ArrayRules class

As mentioned in issue #4 it is not possible to use rules with the BelongsToManyField. This is due to an incorrect namespace for the ArrayRules class. This pr fixes the namespace.

@OsTheNeo Could you please merge this :)


Create style guide

[x] Add /style page
[x] Add link to footer
[x] Design (@lukefretwell)
[ ] Editorial (@rebeccawoodbury)

@rebeccawoodbury you want to handle the editorial part?
https://proudlyservingbook.com/style/

@lukefretwell started a draft editorial style guide in the working doc. thoughts?


monophony: 2.9.0 -> 2.11.0

please add backport release-24.05 label
https://gitlab.com/zehkira/monophony/-/releases/v2.11.0
dropped nuitka, requires pip to build
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I don't seem to get it working...

works fine here...


MLIR: TF-OPT build fails for tensorflow 2.10, 2.14

Issue type
Build/Install
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.10, 2.14
Custom code
Yes
OS platform and distribution
Ubuntu 22.04
Mobile device
No response
Python version
3.10
Bazel version
5.1.1
GCC/compiler version
gcc-11, clang-14
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
tf-opt build fails. It fails to download some of the files and throws java.io.FileNotFoundException and then after a while it just shows the build failed error.
I am using bazelisk for bazel version management and the version being used for tf branch rc2.10 is 5.1.1.
Python version is 3.10 .
Standalone code to reproduce the issue
LLVM_SRC=... # this the path to the LLVM local source directory you intend to use.
LLVM_BAZEL_OVERLAY=${LLVM_SRC}/bazel # Note: this can be anywhere
mkdir -p ${LLVM_BAZEL_OVERLAY}
# This will symlink your LLVM sources with the BUILD files to be usable by Bazel.
python ${LLVM_SRC}/utils/bazel/overlay_directories.py \
    --src ${LLVM_SRC} \
    --overlay ${LLVM_SRC}/utils/bazel/llvm-project-overlay/ \
    --target ${LLVM_BAZEL_OVERLAY}
touch ${LLVM_BAZEL_OVERLAY}/BUILD.bazel ${LLVM_BAZEL_OVERLAY}/WORKSPACE
# The complete list is "AArch64", "AMDGPU", "ARM", "NVPTX", "PowerPC", "RISCV", "SystemZ", "X86"
echo 'llvm_targets = ["X86"]' > ${LLVM_BAZEL_OVERLAY}/llvm/targets.bzl

Then I run the bazel command:
bazel build --override_repository=llvm-project=$LLVM_BAZEL_OVERLAY \
  -c opt tensorflow/compiler/mlir:tf-opt

### Relevant log output

```shell
Expected the build process to complete and build tf-opt target. Here is the error log:

bazel build --override_repository=llvm-project=$LLVM_BAZEL_OVERLAY \
  -c opt tensorflow/compiler/mlir:tf-opt
2023/11/17 14:51:11 Downloading https://releases.bazel.build/5.1.1/release/bazel-5.1.1-linux-x86_64...
Downloading: 49 MB out of 49 MB (100%)
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=1 --terminal_columns=133
INFO: Reading rc options for 'build' from /home/rashik/Documents/onnx-mlir/virtual_env/tf2onnx-env/tensorflow/.bazelrc:
  Inherited 'common' options: --experimental_repo_remote_exec
INFO: Reading rc options for 'build' from /home/rashik/Documents/onnx-mlir/virtual_env/tf2onnx-env/tensorflow/.bazelrc:
  'build' options: --define framework_shared_object=true --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone -c opt --announce_rc --define=grpc_no_ares=true --noincompatible_remove_legacy_whole_archive --enable_platform_specific_config --define=with_xla_support=true --config=short_logs --config=v2 --define=no_aws_support=true --define=no_hdfs_support=true --experimental_cc_shared_library --experimental_link_static_libraries_once=false --deleted_packages=tensorflow/compiler/mlir/tfrt,tensorflow/compiler/mlir/tfrt/benchmarks,tensorflow/compiler/mlir/tfrt/jit/python_binding,tensorflow/compiler/mlir/tfrt/jit/transforms,tensorflow/compiler/mlir/tfrt/python_tests,tensorflow/compiler/mlir/tfrt/tests,tensorflow/compiler/mlir/tfrt/tests/ir,tensorflow/compiler/mlir/tfrt/tests/analysis,tensorflow/compiler/mlir/tfrt/tests/jit,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_tfrt,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_jitrt,tensorflow/compiler/mlir/tfrt/tests/tf_to_corert,tensorflow/compiler/mlir/tfrt/tests/tf_to_tfrt_data,tensorflow/compiler/mlir/tfrt/tests/saved_model,tensorflow/compiler/mlir/tfrt/transforms/lhlo_gpu_to_tfrt_gpu,tensorflow/core/runtime_fallback,tensorflow/core/runtime_fallback/conversion,tensorflow/core/runtime_fallback/kernel,tensorflow/core/runtime_fallback/opdefs,tensorflow/core/runtime_fallback/runtime,tensorflow/core/runtime_fallback/util,tensorflow/core/tfrt/common,tensorflow/core/tfrt/eager,tensorflow/core/tfrt/eager/backends/cpu,tensorflow/core/tfrt/eager/backends/gpu,tensorflow/core/tfrt/eager/core_runtime,tensorflow/core/tfrt/eager/cpp_tests/core_runtime,tensorflow/core/tfrt/gpu,tensorflow/core/tfrt/run_handler_thread_pool,tensorflow/core/tfrt/runtime,tensorflow/core/tfrt/saved_model,tensorflow/core/tfrt/graph_executor,tensorflow/core/tfrt/saved_model/tests,tensorflow/core/tfrt/tpu,tensorflow/core/tfrt/utils
INFO: Found applicable config definition build:short_logs in file /home/rashik/Documents/onnx-mlir/virtual_env/tf2onnx-env/tensorflow/.bazelrc: --output_filter=DONT_MATCH_ANYTHING
INFO: Found applicable config definition build:v2 in file /home/rashik/Documents/onnx-mlir/virtual_env/tf2onnx-env/tensorflow/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1
INFO: Found applicable config definition build:linux in file /home/rashik/Documents/onnx-mlir/virtual_env/tf2onnx-env/tensorflow/.bazelrc: --copt=-w --host_copt=-w --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --config=dynamic_kernels --distinct_host_configuration=false --experimental_guard_against_concurrent_changes
INFO: Found applicable config definition build:dynamic_kernels in file /home/rashik/Documents/onnx-mlir/virtual_env/tf2onnx-env/tensorflow/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/6ca793b5d862ef6c50f242d77a811f06cce9b60a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/0538e5431afdb1fa05bdcedf70ee502ccfcd112a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
ERROR: Skipping 'tensorflow/compiler/mlir:tf-opt': no such package 'tensorflow/compiler/mlir/tensorflow/compiler/mlir': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.
 - /home/rashik/Documents/onnx-mlir/virtual_env/tf2onnx-env/tensorflow/tensorflow/compiler/mlir/tensorflow/compiler/mlir
WARNING: Target pattern parsing failed.
ERROR: no such package 'tensorflow/compiler/mlir/tensorflow/compiler/mlir': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.
 - /home/rashik/Documents/onnx-mlir/virtual_env/tf2onnx-env/tensorflow/tensorflow/compiler/mlir/tensorflow/compiler/mlir
INFO: Elapsed time: 37.349s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)

Hi @monowaranjum ,
Could you please check these instructions to build with MLIR.
You need to add a BUILD.bazel  file in the LLVM directory like below which seems causing the issue.
LLVM_SRC=... # this the path to the LLVM local source directory you intend to use.
touch ${LLVM_SRC}/BUILD.bazel ${LLVM_SRC}/WORKSPACE

bazel build --override_repository="llvm-raw=${LLVM_SRC}" -c opt tensorflow/compiler/mlir:tf-opt

Hi, I tried your recommended solution. I could not get it to work. It only worked when I removed the bazel overlay. The command that worked for me was: bazel build -c opt <build target>.


Ask for confirmation upon change of status

 Ask for confirmation when changing the status of an article : validation of submission, validation of decision (reject, revise, recommend), cancel, set to not considered -->“Are you sure you want to make this change?” with 2 possibilities “Yes” and “No”.


Improve Github continuous integration

In a previous pull request regarding removing Newgrounds code, I missed a couple of imports, and it wasn't noticed because Github CI has always failed.
I have been investigating this issue and believe the problem was caused by dependencies not being updated properly in the past. My plan is to make a pull request which not only resolves this issue (thus making the master build succeed) but also adds new CI actions for Linux and HTML5 to ensure all code submitted succeeds on multiple platforms.

Resolved by #2229.


Karate 0.9.5 : Not able to call feature file using dynamic path consisting of variable and feature file

Trying to execute following steps
    * def commonPath = 'common/'
    * def respCall = call read('#(commonPath)' + 'library.feature@createUser')

Calling library.feature file from Scenario in users.feature throws an Javascript error as
[ERROR] testAll[2][1]  Time elapsed: 1.266 s  <<< FAILURE!
org.opentest4j.AssertionFailedError:
users.feature:12 - javascript evaluation failed: + 'library.feature@createUser'), <eval>:1:30 Expected ; but found )
+ 'library.feature@createUser')
                              ^ in <eval> at line number 1 at column number 30

Command to execute test using attached project:
mvn clean test
poc-karate-debug.zip

I have validated using develop branch and it's working fine with following syntax.
* def respCall = call read(commonPath + 'library.feature@createUser')

@workwithprashant thanks, I will keep it open till a major version release

0.9.6 released


relações sintáticas

Existem poucas mas algumas relações na Wordnet que não são entre synsets. Um exemplo:
http://logics.emap.fgv.br:10035/repositories/wn30#node/<http://arademaker.github.com/wn30/schema/antonymOf>
No SOLR agora não temos estas relações, mas para as conferências de adjetivos, seria interessante termos os antônimos, por exemplo. Temos que pensar como adicionar estas relações nos docs do SOLR e como apresentar estas relações na interface.
Vide http://www.w3.org/TR/wordnet-rdf/
derivationallyRelated	WordSense	WordSense	der
antonymOf	WordSense	WordSense	ant
seeAlso	WordSense	WordSense	sa
participleOf	WordSense	WordSense	ppl

Vide http://wordnet.princeton.edu/wordnet/man/wndb.5WN.html
The source/target field distinguishes lexical and semantic pointers. It is a four byte field, containing two two-digit hexadecimal integers. The first two digits indicates the word number in the current (source) synset, the last two digits indicate the word number in the target synset. A value of 0000 means that pointer_symbol represents a semantic relation between the current (source) synset and the target synset indicated by synset_offset .
A lexical relation between two words in different synsets is represented by non-zero values in the source and target word numbers. The first and last two bytes of this field indicate the word numbers in the source and target synsets, respectively, between which the relation holds. Word numbers are assigned to the word fields in a synset, from left to right, beginning with 1 .
See wninput(5WN) for a list of pointer_symbol s, and semantic and lexical pointer classifications.
Vide http://wordnet.princeton.edu/wordnet/man/wninput.5WN.html
Pointers are used to represent the relations between the words in one synset and another. Semantic pointers represent relations between word meanings, and therefore pertain to all of the words in the source and target synsets. Lexical pointers represent relations between word forms, and pertain only to specific words in the source and target synsets. The following pointer types are usually used to indicate lexical relations: Antonym, Pertainym, Participle, Also See, Derivationally Related. The remaining pointer types are generally used to represent semantic relations.

per @vcvpaiva's request.
add morphosemantic relations, described here https://wordnet.princeton.edu/wordnet/download/standoff/
copy/paste:
Morphosemantic Database
Links among noun and verb synsets containing words that share an underlying meaning and are derivationally related. The morphosemantic database (semantic relations between morphologically related nouns and verbs) for WordNet3.0 contains derivational links connecting noun and verb senses, e.g., employment#n1-employ#v2. morphosemantic-links.xls repeats these links, but also give the semantic type of the relationship. The database uses 14 semantic relations, as listed in the README file, and can be downloaded from http://wordnetcode.princeton.edu/standoff-files/morphosemantic-links.xls.


Code generation fails if schema file directory is symbolic linked

Hi, I'm interested in trying this tool.
But I found a problem about symbolic link. 👀
(This situation is a simplified version of monorepo with pnpm.)
Directory structure
.
├── api
│   └── schema.graphql
├── graphql.config.yaml
├── node_modules
│   └── api -> ../api # symbolic link
└── query.graphql

graphql.config.yaml
schema: node_modules/api/schema.graphql # doesn't work
# schema: api/schema.graphql # works
documents: query.graphql
extensions:
  nitrogql:
    generate:
      schemaOutput: "./generated/schema.ts"

query.graphql
query Ping {
  ping
}

schema.graphql
type Query {
  ping: String!
}

command
npx<EMAIL_ADDRESS>generate

Found 1 error in operations:
/Users/user/nitro-repro-simple/query.graphql:1:1
query Ping {
^
Type 'Query' is not defined
  ping
}

Error in command 'generate':

Thanks for the report! I can reproduce the issue. Investigating now :eyes:

📝 Memo: Node's path_filestat_get returns 76 (notcapable) for node_modules/api

https://github.com/nodejs/node/issues/49107
Probable I need to implement an alternative WASI implementation for this. 🥲

Thanks for investigating!
I'll watch for the node's issue. 👀

@konomae Thank you for your patience! This should be fixed in v1.0.0-beta.7.

Thanks for fixing this!


Set versions in .cabal files to 1.0.0

stack2nix fails, you probably want to synchronize with cardano-sl-1.0


Add new sample app for Java Spring using Tomcat Buildpack

Adds a new sample project for Java using Spring and Maven and
includes necessary configuration and executables

I tried to build the Jar file myself, but maven failed to build it. I was at least able to create something after adding <sourceDirectory>${project.basedir}/src/app</sourceDirectory> to the build section. Maybe we can have a look at this tomorrow.

I tried to build the Jar file myself, but maven failed to build it. I was at least able to create something after adding <sourceDirectory>${project.basedir}/src/app</sourceDirectory> to the build section. Maybe we can have a look at this tomorrow.

I tried it again on my own system and everything worked fine. Nevertheless I added the sourceDirectory Attribute and it also created new configurations files in pom.xml - Can you please test again if it workes now?


New Feature - Integrate with vs-repeat

would it be possible at all to have some integration with the vs-repeat directive?

@fourgates it would be great if this was made easy. In any case, I managed to do it the following way (excuse me for sharing Pug code instead of HTML):
.container
  .list-group(
    sv-on-sort="$ctrl_.sectionSlideMoved($indexFrom, $indexTo)"
    sv-part="$vs_collection"
    sv-root
    vs-repeat="{scrollParent: '.container'}"
  )
    .list-group-item(
      ng-repeat="item in $ctrl_.items track by item.id"
      sv-element="{containment: '.list-group'}"
    )

Notice that A) I've used $ctrl_ as the controller name (controllerAs component param) since $ctrl is overriden by angular-sortable-view, and B) sv-part="$vs_collection" instead of $ctrl_.items. $vs_collection is the reduced subset of items that are actually displayed.
I hope it helps, it worked for me.


Algebraic Identities added

Added all the important algebraic identities under the linear algebra section

Kindly update your code, as outdated codebase is creating problems

@RaveenaBhasin

Kindly update your code, as outdated codebase is creating problems

I didn't understood meaning of  Outdated code. Please explain.

How I have to update my code?

Reclone

I have to reclone and make the PR again right?

Yes

also, for your recent PR do the same, as when PR's got merged new features added into the project, so you need to always keep your codebase updated.

@sairish2001 my code is completely updated could you please check the PR#284


OrbitView: allow pan instead of rotate for the 'panmove' event

Target Use case
I would like the ability to have OrbitView's panmove event to behave similarly to the MapView, where panning is the default action, and rotating is the alternate action (shift/ctrl/alt key).
Proposed feature
In controller.js, add an additional flag for invertPanRotate just like invertPan. To achieve the target use case, one can subclass OrbitViewController and set these flags to manipulate panmove and panrotate directions.
To Do List

[ ] Add label and assign to milestone
[ ] Coding
[ ] Doc update
[ ] What’s new update
[ ] Test

It seems that this can already be accomplished by seeting this.invertPan = true and overriding _onPanRotate:
_onPanRotate(event) {
    if (!this.dragRotate) {
      return false;
    }
    return this._onPanRotateMap(event);
  }

So, closing this issue. Keeping the PR open so the flag is not used for _onPanRotate.


Can't see symbol file in the AppCenter under /Distribute/Release. This is possible in HockeyApp next to the apk.

What App Center service does this affect?
In the view Distribute/Releases it is not possible to download the symbol file. That is possible in HockeyApp.
Describe the bug
The symbol file is needed to be uploaded to Google Play Console when releasing, in order to get get better stacktraces from obfuscated code.
To Reproduce
Steps to reproduce the behavior:

Go to 'Distribute/Releases'
Click on a specific release
Now it is not possible to download symbol file.

Expected behavior
Have the possibilty to download symbol file.
Screenshots

Desktop (please complete the following information):
chrome browser

@mikaelengver For Android apps, this should be possible, it will just be in the "Diagnostics" section. Have you checked under https://appcenter.ms/users/larsa71/apps/Fotbollskanalen/crashes/mappings ?

Thanks @lumaxis


Remove unessecary utils from smart contracts lib

https://github.com/vegaprotocol/frontend-monorepo/tree/master/libs/smart-contracts/src/utils
Has a bunch of utility functions that are available natively in ethers, we should use these rather than maintaining our own.

https://docs.ethers.io/v5/api/utils/bytes/#utils-hexlify


Build Android

[mediapipe@746b7acba3f4 ~]$ python build.py build --android arm64 -vv
INFO (build.py): Building protobuf sources...
DEBUG (build.py): Running bazel build -c opt --verbose_failures //mediapipe_api:mediapipe_proto_srcs
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/tensorflow/runtime/archive/44c890cd46fd9aad2b3bf4b13c5f36d8cff795c3.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
DEBUG: /home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'rules_python' because it already exists.
DEBUG: /home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: /home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: /home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: /home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'bazel_skylib' because it already exists.
DEBUG: /home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'pybind11' because it already exists.
DEBUG: /home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software.
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1564776078 -0400"
DEBUG: Repository rules_python instantiated at:
/home/mediapipe/WORKSPACE:35:23: in
/home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/rules_pkg/deps.bzl:33:10: in rules_pkg_dependencies
/home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/bazel_tools/tools/build_defs/repo/utils.bzl:201:18: in maybe
Repository rule git_repository defined at:
/home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in
INFO: SHA256 (https://github.com/bazelbuild/rules_cc/archive/main.zip) =<PHONE_NUMBER>629e6377abdfd04681ddeeb0cc3db13b9d2ff81bf46700cb4529f7
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3839996049629e6377abdfd04681ddeeb0cc3db13b9d2ff81bf46700cb4529f7"
DEBUG: Repository rules_cc instantiated at:
/home/mediapipe/WORKSPACE:78:13: in
Repository rule http_archive defined at:
/home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
INFO: Repository local_execution_config_python instantiated at:
/home/mediapipe/WORKSPACE:450:14: in
/home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/org_tensorflow/tensorflow/workspace2.bzl:1087:19: in workspace
/home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/org_tensorflow/tensorflow/workspace2.bzl:85:27: in _tf_toolchains
/home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/tf_toolchains/toolchains/remote_config/configs.bzl:6:28: in initialize_rbe_configs
/home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/tf_toolchains/toolchains/remote_config/rbe_config.bzl:158:27: in _tensorflow_local_config
Repository rule local_python_configure defined at:
/home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/org_tensorflow/third_party/py/python_configure.bzl:275:41: in
ERROR: An error occurred during the fetch of repository 'local_execution_config_python':
Traceback (most recent call last):
File "/home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/org_tensorflow/third_party/py/python_configure.bzl", line 212, column 41, in _create_local_python_repository
python_include = _get_python_include(repository_ctx, python_bin)
File "/home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/org_tensorflow/third_party/py/python_configure.bzl", line 152, column 21, in _get_python_include
result = execute(
File "/home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/org_tensorflow/third_party/remote_config/common.bzl", line 230, column 13, in execute
fail(
Error in fail: Problem getting python include path.
:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
Is the Python binary path set up right? (See ./configure or PYTHON_BIN_PATH.) Is distutils installed?
ERROR: Error fetching repository: Traceback (most recent call last):
File "/home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/org_tensorflow/third_party/py/python_configure.bzl", line 212, column 41, in _create_local_python_repository
python_include = _get_python_include(repository_ctx, python_bin)
File "/home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/org_tensorflow/third_party/py/python_configure.bzl", line 152, column 21, in _get_python_include
result = execute(
File "/home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/org_tensorflow/third_party/remote_config/common.bzl", line 230, column 13, in execute
fail(
Error in fail: Problem getting python include path.
:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
Is the Python binary path set up right? (See ./configure or PYTHON_BIN_PATH.) Is distutils installed?
ERROR: Analysis of target '//mediapipe_api:mediapipe_proto_srcs' failed; build aborted: Problem getting python include path.
:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
Is the Python binary path set up right? (See ./configure or PYTHON_BIN_PATH.) Is distutils installed?
INFO: Elapsed time: 629.834s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (24 packages loaded, 22 targets configured)
currently loading: @com_google_mediapipe//mediapipe/framework ... (6 packages)
Fetching @com_google_protobuf; fetching 12s
Fetching ...otobuf; Extracting /home/mediapipe/.cache/bazel/_bazel_mediapipe/6c11c387a04fa8f17c87a5c6db6ee555/external/com_google_protobuf/temp7541798433513162635
/v3.11.4.tar.gz 6s
Traceback (most recent call last):
File "/home/mediapipe/build.py", line 392, in
Argument().command().run()
File "/home/mediapipe/build.py", line 109, in run
self._run_command(self._build_proto_srcs_commands())
File "/home/mediapipe/build.py", line 51, in _run_command
return subprocess.run(command_list, check=True)
File "/usr/lib/python3.10/subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', 'build', '-c', 'opt', '--verbose_failures', '//mediapipe_api:mediapipe_proto_srcs']' returned non-zero exit status 1.

Pull the latest version (>= v0.8.2) or use python 3.9.x.


Is it stable for production

Hi, I really appreciate having such a great library, I was just wondering if it's stable enough for production. Have you used this library in any applications already released on app stores?

Thanks for the appreciation of this project.
This project contains four implementations, reflect, APT, KSP and KCP. So which one are you interested in?
It is stable enough for cases with simple types but not easy to cover all cases with collection types. You can check the test cases to see how it works.
Besides that, it is not adopted to the latest Kotlin versions and especially not easy for the KCP implementation...


Fix product assertion that is part of payload according to the spec

Description
Fix product assertion that is part of payload according to the spec
Motivation

Workflow

⚠⚠ Create your PR as draft
Follow the style guidelines of this project (See how to easily lint the code)
Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
Mark it as ready for review

Once your PR is reviewed, you can merge it! :heart:
Reviewer checklist

[ ] Check what scenarios are modified. If needed, add the relevant label (run-parametric-scenario, run-profiling-scenario...). If this PR modifies any system-tests internal, then add the run-all-scenarios label (more info).
[ ] CI is green

[ ] If not, failing jobs are not related to this change (and you are 100% sure about this statement)

[ ] if any of build-some-image label is present

is the image labl have been updated ?
just before merging, locally build and push the image to hub.docker.com

[ ] if a scenario is added (or removed), add (or remove) it in system-test-dasboard nightly

You can update your branch to fix some of the python issues (it's not related to your PR)


Create data model Pull request

In this project, I generated migration files to build the schema. The following are the changes:

Created and run the necessary migration files.
Table and column names match the ERD diagram.

note: photo for users table is linked to an image.

Foreign keys should be included.

In posts table the column holding the foreign key to the users table is named author_id

All columns that are foreign keys have a corresponding index.

Thanks for approving my PR! 😊


[FEATURE] Add Integration tests for SDK Client

Is your feature request related to a problem?
We should be able to spin up opensearch nodes and make a request call to create an Index on OpenSearch end.
What solution would you like?
A clear and concise description of what you want to happen.
What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.
Do you have any additional context?
Add any other context or screenshots about the feature request here.

Why just create an index?  Shouldn't an IT test all the functionality of an extension (e.g., register API, register named writeables, etc.)?

I've banged my head against the wall with multiple approaches here and am struggling.
We need three threads/processes to make this work:

One thread starting up the extension and binding to a custom port
One thread starting up OpenSearch and initializing the extension(s)
One thread to execute REST requests and test for expected responses

I've managed to get the thread startup and sequencing generally working inside one JVM but am getting conflicts with Java SecurityManager running simultaneously in the two subprocesses.   I've managed to get some functionality going calling external command lines from within Java but that's encountering some configuration setting issues (that I think I can eventually resolve, but it feels really hack-ey doing command lines from inside Java).
I think a fully integrated IT capability requires a lot more functionality and think @joshpalis work on #78 may be a prerequisite.
Given the command-line nature I think creating a bash script (and running via GHA) may be a good short-term solution to maintain code quality while waiting on a longer built-in Java solution.


Log Analytics Solution Import Error

When attempting to import the .OMSView solution files, through the View Designer in the Azure portal (not the "classic" OMS portal), the error "Please provide a valid View file" is received.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1fcfaf5b-78ea-ac05-bebe-806430114ca9
Version Independent ID: a6264958-2d6d-2059-d78a-0fba7a7fda7d
Content: How to install and use the Log Analytics views for Azure Active Directory (preview)
Content Source: articles/active-directory/reports-monitoring/howto-install-use-log-analytics-views.md
Service: active-directory
GitHub Login: @priyamohanram
Microsoft Alias: priyamo

test

test2

@AErmie Thank you for the detailed feedback. We are actively investigating and will get back to you soon.

@AErmie I can repro what you are facing. I am assigning this issue to content author to check and clarify on the documented steps. Thanks.

@AErmie I am able repro this issue by following the documented steps. I am assigning this issue to content author to verify steps and help with clarification on it.

@AErmie : Thanks for reporting the issue! I have passed this information on to the product team for further investigation. Stay tuned for updates.
@MohitGargMSFT : This is not a doc enhancement, it's a product issue. Please re-tag as appropriate. Thanks!
#in-progress

@AErmie: Thanks for your patience! The problem might be due to an incorrect download from the GitHub repository. The easiest way would be to go to the main repository, select Clone or download -> Download zip, extract it and use the views from the Log Analytics views folder. I will update the documentation to be more explicit about these download steps. Please feel free to open a new issue if you have any further questions. Thanks!
#please-close


Double dialog when opening a window for non-trusted domains

Testing #121763
The first dialog should be enough?

Same as https://github.com/microsoft/vscode/issues/122324
If the browser blocked it, then we show the dialog. So it is not enough.
As for how the external website handles the open button, maybe @JacksonKearl can shed some light since I think he owns this

Assuming you clicked "open" in the first dialog? That would result in a call to each of your registered external openers to see if they support opening the link, and only after all those async calls finish we try to open it with the default opener. If the async calls take too long the browser will give the warning. This does seem to be the same as #122324, cc @mjbvz / @jrieken .

So closing this as duplicate of that issue
@mjbvz @JacksonKearl  please let me know if you would like me to keep this issue open so we have this tracking also in the VS Code repository


[MASTER]Rollback store cleanup to drain way

We found sometimes that the group maven-metadata not updated in time,
which should be caused by the async way of the metadata cleanup. So
should rollback to old drain/synchronized way to let it update in time.

Oops, didn't see this until now. I've already cherry-picked it across. Sorry for the confusion.


Move /controllers to app, remove app/lib/Sage in readme

Aligns readme.md with the relocation of controllers in #1954 and #1959, and reflects the removal of app/lib/Sage in #1919.

thanks!


Dump a list of all linked classes

Hi, I am not having a specific problem but our codebase is getting rather big (10mb fastOptJS) and I'm starting to look at ways to trim things down.  One thing I was thinking about was basically making sure I am not including classes that I wouldn't expect to be including.
In the same way webpack can dump a set of the dependencies it includes during the building process, it would be nice to be able to get some visibility around linked classes with scalajs.
Has anyone done any work on exposing either low level primitives or some ideas about how one would go about exposing this?

What about
$ grep '^function \$c\_' project-fastopt.js | cut -c 13- | sed 's/() {$//'

?

@dispalt You may want to try source-code-mapper. See more at https://youtu.be/zU5_jXaM2Zs?t=2035

That looks really interesting. Where can we find this source-code-mapper
tool? Google yields nothing.
On Wed, 6 Feb 2019 at 07:36, Ramnivas Laddad<EMAIL_ADDRESS>wrote:

@dispalt https://github.com/dispalt You may want to try
source-code-mapper. See more at https://youtu.be/zU5_jXaM2Zs?t=2035
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/scala-js/scala-js/issues/3556#issuecomment-460793784,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMYtw2catNLYNsSmEOJxK5NAiMLXWbzks5vKetqgaJpZM4agM3u
.

Oops. I got the name wrong. Here it is: https://www.npmjs.com/package/source-map-explorer

@ramnivas thanks a bunch looks like a decent solution!

Seems like this is addressed.


Fix SWA GitHub App Grant documentation

The previous message was confusing about which settings we should go.
Changed the direction to tell it's related to your personal settings,
and not the repository one.

@cmaneu : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Pushing it to internal repo.


Honour PreferHostingUrls

Addresses #1575.
We want to override the endpoints configured in the listen options when PreferHostingUrls is set to true with the addresses in the IServerAddressesFeature if it's not empty.


How to erase rewrites from the runtime?

In Formality, the identity type and the rewrite (transp) operation are, like all other datatypes, implemented using self types:
// The Equal datatype.
T Equal <A: Type> (a: A) ~ (b: A)
| to                     ~ (a);

// If a == b, then, P(a) implies P(b)
Equal.rewrite<A: Type, a: A, b: A, P: A -> Type>(e: Equal(A,a,b), x: P(a)): P(b)
  case e:
  | x;
  : P(e.b);

The problem is that, since, inside Equal.rewrite, e is used in a computational position, it appears at runtime. That means equality proofs and casts can't be completely erased from runtime as would be desired. How can this problem be avoided?

I think in Coq there is a separate Prop universe for proof irrelevant (erasable) propositions. So maybe you could also have an universe for those, such that Equal(A,a,b) : Prop.
Another approach would be primitive or user-defined rewrite rules, so that Equal.rewrite(e, x) ~> x. Though I guess that will make type preservation (aka subject reduction) fail.
Note that it's only type-safe to erase proofs if the type theory is consistent. Else I could just proof A = B with an infinite loop and then cast A to B freely (if the proof was erased). So the proof cannot be erased so that if you have an invalid proof A = B then at least you will get an infinite loop when you try to cast A to B.
See this stackoverflow question for a nice answer.


Exporting environment variables for next pipeline steps

The documentation for buildkite-agent env set says:

Sets environment variables in the current job execution environment. Changes to the job environment variables only apply to subsequent phases of the job. This command cannot unset Buildkite read-only variables.

However if I try to env set I get:
Could not create Job API client: BUILDKITE_AGENT_JOB_API_SOCKET empty or undefined
This command can only be used from hooks or plugins running under a job executor where the "job-api" experiment is enabled.

Is the doc wrong/misleading, or am I doing it wrong?
Full example and more details here: https://stackoverflow.com/questions/76733433/buildkite-set-environment-variables-for-downstream-steps
Using buildkite-agent version 3.49.0, build 6166

Hey @mprimi,
I think the documentation could be clearer, and the situation is not particularly easy to explain, but I'll try.
buildkite-agent env set relies on the job-api experiment, i.e. you need to pass --experiment job-api to buildkite-agent start, or add experiment=job-api in your buildkite-agent.conf.
But before you enable that, we should explain what it is for:
Using the local job API is one of two ways to pass environment variables between phases of a job.
So it is possible to pass variables from, say, a pre-command hook to the command that way.
Looking at your StackOverflow question, and I'm guessing a bit here, but it looks like you're trying to use FOO within the same phase, i.e. it looks like you want to interpolate $FOO into .buildkite/pipeline.matrix.yml.
Unfortunately the local job API can't modify the environment of the script after it's started - that's a constraint imposed by the operating system.
But it doesn't need to do that. The command or commands run within a shell, typically Bash. If you want the env var to be usable by the subsequent commands in the same script (you want $FOO to be visible to buildkite-agent pipeline upload ...), then you should export the variable instead:
- command: |
    export FOO="$(buildkite-agent meta-data get foo_param)"
    echo "FOO = $FOO"
    buildkite-agent pipeline upload .buildkite/pipeline.matrix.yml

Thank you @DrJosh9000
Confirmed that the error is due to an attempt to use the jobs API which was disabled. Error goes away after enabling it.
Confirmed that using the job API does indeed not propagate the environment to the following steps (your comment makes sense about the two being in the same phase)
Confirmed export does the trick, with one caveat:
In the pipeline uploaded on the last line, I can say echo "FOO = $FOO" and it will work (my original ask)
However your code snippet requires one escape in order to print $FOO. i.e.:
    export FOO="$(buildkite-agent meta-data get foo_param)"
    echo "FOO = $$FOO" # Note the double dollar sign

Thank you very much for your help


Create a testing branch for GCP 8.0

Create a branch to test a prerelease version integrating the upstream major version bump

Added to epic https://github.com/pulumi/pulumi-gcp/issues/2290

Draft pull request is here: https://github.com/pulumi/pulumi-gcp/pull/2355

Closed via https://github.com/pulumi/pulumi-gcp/pull/2355.


Mobile Responsive

Is there any way to make the blog mobile responsive. Thank You

Yes, currently can use your own styles.
But I got your point, it would be great to have default layout responsive as well. Thanks for the report!


[GLUTEN-6612] Fix ParquetFileFormat issue caused by the setting of local property isNativeApplicable

What changes were proposed in this pull request?

Fix typo: isNativeAppliable -> isNativeApplicable.
Use == for null-safe comparing the value of local properties.
Remove the check of this local property in supportBatch method. supportBatch is only called in read path, which shouldn't be impacted by that property used for native write.
Reset local properties used for native write before next setting.

Fix https://github.com/apache/incubator-gluten/issues/6612, which shows inconsistent query behavior caused by historical property setting.
How was this patch tested?
CI/local test.

The implementation for inferSchema has code like if (xxx && false). I will confirm with this code's author to see whether we can remove it in another pr.

The implementation for inferSchema has code like if (xxx && false). I will confirm with this code's author to see whether we can remove it in another pr.

Let's add comments in code once you get it. We should avoid such use.


Ability to paginate between archives

Feature request: The ability to paginate between different archives, that is to browse back/forward between years/months/days/tags/categories. I suspect this would be a feature reliant on jekyll-paginate, so not sure if this feature should be there or here. But anyway, noted here for reference.

Has this FR got any recent insights? It'd be nice to be able to paginate archive pages - they're getting too long.


Page says needs HL2 OS, but has info for both HL1 and HL2

Hello ASA Docs folks,
I was looking at this page for HoloLens and was confused be a piece of info. I saw "You need a HoloLens device on which developer mode enabled. Windows 10 May 2020 Update ", which would be Windows Holographic, version 2004. That is a HL2 build, which would imply that HL1 isn't supported.
Later on the page there's some information for how to deploy to HL1 devices (see info about x86 vs ARM) including a screenshot.
Is there some limitation to ASA on HL1 devices, or a feature that only works in Windows Holographic 2004?
Thanks for the clarifications.
-Evan (from HoloLens Docs)

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 123315ce-4945-a613-4cb6-cbfe22ef9d42
Version Independent ID: 17ef871c-3aa5-f67b-5c97-fcce3fb7df85
Content: Quickstart: Create a HoloLens app with Unity - Azure Spatial Anchors
Content Source: articles/spatial-anchors/quickstarts/get-started-unity-hololens.md
Service: azure-spatial-anchors
GitHub Login: @msftradford
Microsoft Alias: parkerra

Thanks for raising this issue Evan. ASA does support HL1 and HL2 devices. We created a bug (34246893) to track the issue on our side. We will post on this thread once the documentation is fixed.


Refactor Commit struct

Yeah the Commit struct itself is a little weird. This function only makes it possible to remove the pub on path. The entire thing needs to be rewritten.
Unfortunately #[cfg(test)] doesn't work because this is the library and that's not built with -cfg test.
Originally posted by @franziskuskiefer in https://github.com/openmls/openmls/pull/230#discussion_r531036308

Closing this. There isn't enough information to act on and it's probably outdated.


Allow adding multiple frames with drag and drop

This is a partial solution to issue number #285.
When dropping multiple images it creates a new frame for each one. It works great when all images are the same size and within the size of the piskel document. When the images aren't the size of the document they are positioned in the same way as single image import.
It might be nice to allow multiple image import using the import button but that would be a separate feature. This would be a big time saver for myself, please try it out and let mew know if I should change anything.

This change is

That looks good!
Makes me think we should make the drag and drop more discoverable. Maybe we should have a bit of text in "Import" panel explaining that if you want to insert images in your current animation, you can simply dndrop them.
FYI I'm working on a new version of the import, that will allow you to merge your imports with your current sprite (taking care of resizing if needed). When it's ready we could plug it with the FileDropperService.
I'll test quickly but the code change looks good.

Sounds good! Our workflow includes several tools and these type of features will make it easier for us to move our images between Piskel and other tools.

Works great! Thanks @zoeesilcock


Value of null

Hello,
I have this code :
Meteor.publishComposite('devisListAll', function (query, options, limit) {
    options.limit = limit;
    query = query || {};
    return {
        find: function () {
            return Devis.find(query, options);
        },
        children: [
            {
                find: function (devis) {
                    console.log(Client.find({code: devis.codeClient}, {fields: {nom: 1, code: 1}}).fetch());
                    return Client.find({code: devis.codeClient}, {fields: {nom: 1, code: 1}});
                }
            }
        ]
    };
});

And I have this error :
Exception in queued task: TypeError: Cannot call method 'valueOf' of null
     at [object Object].get (packages/reywood_publish-composite/packages/reywood_publish-composite.js:208:1)
    at [object Object].has (packages/reywood_publish-composite/packages/reywood_publish-composite.js:218:1)
    at Object.added (packages/reywood_publish-composite/packages/reywood_publish-composite.js:67:1)
    at [object Object].observeChangesCallbacks.added (packages/minimongo/observe.js:153:1)
     at self.applyChange.added (packages/minimongo/observe.js:53:1)
    at packages/mongo/observe_multiplex.js:183:1
     at Array.forEach (packages/es5-shim/.npm/package/node_modules/es5-shim/es5-shim.js:417:1)
     at Function._.each._.forEach (packages/underscore/underscore.js:105:1)
     at Object.task (packages/mongo/observe_multiplex.js:177:1)
     at [object Object]._.extend._run (packages/meteor/fiber_helpers.js:147:1)

I don't know why, I test Devis.find() return I have data and same with Client.find(), I have data.

I'm not near a computer right now, but off the top of my head, it looks like you're returning documents that don't have an _id field.

Yes, I add _id for Devis and Client but I have the same error.

I've looked at the code, and the only way this happens is if the _id field has a value of null. Note that this is different than the document not having an _id field.

I search in mongo and I find one document with null _id. Thanks for your help.


Improve validation output in elyra-pipeline CLI

What changes were proposed in this pull request?
This PR:

improves visualization of pipeline validation results
simplifies existing code to reduce maintenance efforts
updates pipeline validation messages for clarity (wording, punctuation, etc)
adds incorrect property value to validation issue payload to aid with troubleshooting
fixes validation bugs

The proposed output introduces a new generic message display "pattern", comprising

[validation-issue-severity] - always displayed
[node-label] - displayed if applicable and available
[property-name] - displayed if applicable and available
 - <validation-message-text> - always displayed

Messages are sorted by severity (error > warning > ...), enabling the user to quickly locate issues that cause the operation to be aborted.
For clarity each component could be prefixed, but that would result in a lot more "static" output.
Example output without prefixes:
$ elyra-pipeline submit a-circle.pipeline --runtime-config my_airflow_test_instance

────────────────────────────────────────────────────────────────
 Elyra Pipeline Submission
────────────────────────────────────────────────────────────────

Validating pipeline...

[Error][i depend on you][runtime_image] - Required property value is missing.
[Error][you depend on me][env_vars] - Property has an improperly formatted env variable key value pair. The current property value is 'what up'.
[Error][hello.ipynb][runtime_image] - Required property value is missing.
[Error][labeled-notebook-nod][env_vars] - Property has an improperly formatted env variable key value pair. The current property value is 'humpty goes dumpty'.
[Error] - The pipeline contains a circular dependency between nodes. Nodes: 'you depend on me', 'i depend on you'
[Warning][i depend on you][label] - The node label contains characters that may be replaced by the runtime service. Node labels should start with lower case alphanumeric and contain only lower case alphanumeric, underscores, dots, and dashes. The current property value is 'i depend on you'.
[Warning][you depend on me][label] - The node label contains characters that may be replaced by the runtime service. Node labels should start with lower case alphanumeric and contain only lower case alphanumeric, underscores, dots, and dashes. The current property value is 'you depend on me'.
[Warning][hello.ipynb] - Node is not connected to any other node.
[Warning][labeled-notebook-nod] - Node is not connected to any other node.

Example output with prefixes:
$ elyra-pipeline submit a-circle.pipeline --runtime-config my_airflow_test_instance
────────────────────────────────────────────────────────────────
 Elyra Pipeline Submission
────────────────────────────────────────────────────────────────
Validating pipeline...

[Error][node: i depend on you][property:runtime_image] - Required property value is missing.
[Error][node: you depend on me][property: env_vars] - Property has an improperly formatted env variable key value pair. The current property value is 'what up'.

How was this pull request tested?

Reviewed output for the following scenarios

[ ] validation output (no errors or warnings) run command

[ ] validation output (errors but no warnings) run command

[ ] validation output (warnings only) run command

[ ] validation output (no errors or warnings) submit command

[ ] validation output (errors but no warnings) submit command

[ ] validation output (warnings only) submit command

[ ] verify that validation changes don't break VPE output

Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

There is a known issue related to custom component validation that is not handled by this PR. For example,
$ elyra-pipeline submit custom-not-found.pipeline --runtime-config my_kubeflow_test_instance

────────────────────────────────────────────────────────────────
 Elyra Pipeline Submission
────────────────────────────────────────────────────────────────

Validating pipeline...
Traceback (most recent call last):
  File "/opt/anaconda3/envs/pr2070/bin/elyra-pipeline", line 8, in <module>
    sys.exit(pipeline())
  File "/opt/anaconda3/envs/pr2070/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/opt/anaconda3/envs/pr2070/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/opt/anaconda3/envs/pr2070/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/anaconda3/envs/pr2070/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/anaconda3/envs/pr2070/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/opt/anaconda3/envs/pr2070/lib/python3.7/site-packages/elyra/cli/pipeline_app.py", line 278, in submit
    _validate_pipeline_definition(pipeline_definition)
  File "/opt/anaconda3/envs/pr2070/lib/python3.7/site-packages/elyra/cli/pipeline_app.py", line 198, in _validate_pipeline_definition
    PipelineValidationManager.instance().validate(pipeline=pipeline_definition))
  File "/opt/anaconda3/envs/pr2070/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
    return future.result()
  File "/opt/anaconda3/envs/pr2070/lib/python3.7/site-packages/elyra/pipeline/validate.py", line 123, in validate
    pipeline_execution=pipeline_execution)
  File "/opt/anaconda3/envs/pr2070/lib/python3.7/site-packages/elyra/pipeline/validate.py", line 300, in _validate_node_properties
    property_dict['current_parameters'].keys()))
KeyError: 'current_parameters'


Unable to access Setting::get() in config/app.php

Hello,
If we dump Setting::get(); in routes it works all fine. However, when we try to use these configs in config files published we are unable to do that.
Throws:
Fatal error: Class 'Setting' not found in /Users/username/Sites/laravel/config/stream-laravel.php on line 15

You have to import the full namespace
<?php
namespace xxxxxxxx;
use Thetispro\Setting\Setting;
 …
$mySetting=Setting::get(…);

OR

use  \ that will specify that the name is required from the global space even in the context of the namespace

$mySetting=\Setting::get(…);


Ready for branch protection?

Matt (@mborland) CI is running green and well these days. I would suggest putting branch protectin on the repo. Thoughts?

This is what I have right now:

Are there more that you normally have?

Are there more that you normally have?

Yes. I believe (hope) we are talking about the same thing.

In the search field of the graphic I've posted, you can enter by search string ALL lf the jobs running on the GHA CI runners. It can be quite laborious to identify each job since we use a lot of test matrices. But basically, you put in a string and the matching jobs come down in a combo box. You then select each GHA CI job and include them as required checks.

I also have force push disabled for everyone including admins

I also have force push disabled for everyone including admins

Correct. I also go that way. Agreed.

Are there more that you normally have?

Yes. I believe (hope) we are talking about the same thing.

In the search field of the graphic I've posted, you can enter by search string ALL lf the jobs running on the GHA CI runners. It can be quite laborious to identify each job since we use a lot of test matrices. But basically, you put in a string and the matching jobs come down in a combo box. You then select each GHA CI job and include them as required checks.

They should all be marked as required now.

They should all be marked as required now.

Looks good cycling in my PR. Thanks Matt (@mborland).
It sure is tough finding them all in that combo box. I also usually forget to add the new ones as we add/remove required tests in CI. But it works really well once the CI stabilizes...

Fixed by #67