Training Hyper-parameter

How did you set the training hyper-parameters(lr, lr_decay, max_iter...) and how to find out which is the best step when testing? (I think that the hyper-parameters you set are pretty well  and they play an important role in the final result.)
Looking forward to your reply.

Hi SherlockHolmes221:
As for the hyper-parameters, we conduct the sequential grid search for hyper-parameters on V-COCO val set. Once the hyper-parameters fixed, we select the last checkpoints to evaluate the test set.

Thanks a lot


New coding standard

Usage of the newly introduced zendframework/zend-coding-standard for CS checks.

@Koopzington I think you should rebase it and change target to develop.
@Ocramius would you like to merge it for 3.2.0 release?

Yes, this should target develop: can also be merged then.
@Koopzington sorry for not noticing it upfront

@Koopzington @Ocramius I've rebased this PR and created #120 with target to develop.

Handled in #120


like to have more district-wise report

like to have more district-wise report
currently it sow only a few
eg: Dakshina Kammada has may district inside it
we need to report more granular level

We hardly get details at a city or locality level. So, this is currently out of scope.


Duplicate Hubhop Events

Describe the bug
The Hubhop file "msfs2020_eventids.cip" and also the   "events.txt" in the Community\mobiflight-event-module\modules folder both contain duplicate entries (currently 25 as at 15 January) as follows:
(my strings below for ease of reading are "Group :: Event")
Aerosoft/CRJ<PHONE_NUMBER>/Avionics :: ASCRJ_ECAM_AICE
Aerosoft/CRJ<PHONE_NUMBER>/Avionics :: ASCRJ_ECAM_CAS
Aerosoft/CRJ<PHONE_NUMBER>/Avionics :: ASCRJ_ECAM_DOORS
Aerosoft/CRJ<PHONE_NUMBER>/Avionics :: ASCRJ_ECAM_DOWN
Aerosoft/CRJ<PHONE_NUMBER>/Avionics :: ASCRJ_ECAM_ELEC
Aerosoft/CRJ<PHONE_NUMBER>/Avionics :: ASCRJ_ECAM_FCTL
Aerosoft/CRJ<PHONE_NUMBER>/Avionics :: ASCRJ_ECAM_FUEL
Aerosoft/CRJ<PHONE_NUMBER>/Avionics :: ASCRJ_ECAM_HYD
Aerosoft/CRJ<PHONE_NUMBER>/Avionics :: ASCRJ_ECAM_MENU
Aerosoft/CRJ<PHONE_NUMBER>/Avionics :: ASCRJ_ECAM_SEL
Aerosoft/CRJ<PHONE_NUMBER>/Avionics :: ASCRJ_ECAM_STAT
Aerosoft/CRJ<PHONE_NUMBER>/Avionics :: ASCRJ_ECAM_UP
Aerosoft/CRJ<PHONE_NUMBER>/Flight Instrumentation :: ASCRJ_LSP_BRG1
Aerosoft/CRJ<PHONE_NUMBER>/Flight Instrumentation :: ASCRJ_LSP_BRG2
Aerosoft/CRJ<PHONE_NUMBER>/Flight Instrumentation :: ASCRJ_LSP_RDR
Aerosoft/CRJ<PHONE_NUMBER>/Flight Instrumentation :: ASCRJ_LSP_SEL
Aerosoft/CRJ<PHONE_NUMBER>/Flight Instrumentation :: ASCRJ_LSP_SPEED_MODE
Aerosoft/CRJ<PHONE_NUMBER>/Flight Instrumentation :: ASCRJ_LSP_SPEED_SEL
Aerosoft/CRJ<PHONE_NUMBER>/Flight Instrumentation :: ASCRJ_LSP_SPEED_SEL
Aerosoft/CRJ<PHONE_NUMBER>/Flight Instrumentation :: ASCRJ_LSP_SPEED_SEL
Fly By Wire/A320/Lights :: ANN_LT_BRT
Fly By Wire/A320/Lights :: ANN_LT_DIM
Fly By Wire/A320/Lights :: ANN_LT_TEST
Microsoft/Generic/Unsorted :: ATC_MENU_8
PMDG/DC-6/Autopilot :: PMDGDC6_AP_ALT_HOLD_TOGGLE
loadEventPresets() in SimConnectCache.cs does not check for duplicates, so the Events dictionary carries these duplicate entries.
Steps To Reproduce
Download the files!
Expected behavior
No duplicates
Actual behavior
Duplicates exist
Details
Additional context
Suggested fix (easy):
Wrap a check for duplicates in the 2 lines in SimConnectCache.cs which currently read:
    Events[GroupKey].Add(new Tuple<string, uint>(cols[0], EventIdx++));

.....  to read as follows:

 if (!Events[GroupKey].Exists((tup) => tup.Item1 == cols[0]))
        {
            Events[GroupKey].Add(new Tuple<string, uint>(cols[0], EventIdx++));
        }

This is now deprecated with Release 9.3 because we dont care about label names anymore.


ITLB passthrough should use VPN, not PPN

https://github.com/black-parrot/pre-alpha-release/blob/61aba7899652ed70d17dc95c2c8c651ac48aec75/bp_fe/src/v/bp_fe_itlb.v#L44
paddr should be sign extended version of vaddr
Related, the input and output ports vaddr_i and vaddr_miss_o should be vaddr_width, not eaddr_width

Fixed a ways back


⬆  Bump main to 13.0.0~pre1

Part of https://github.com/gazebo-tooling/release-tools/issues/578

Examples were already done, added the changelog entry in 2ec75af076fbb8eae3f87645805336d6cff0cfb4


[Task] Support link to FAQ from Dubbo logger

Related issue #10154
Status: to be planned
Background: The Logger abstraction layer that Dubbo relies on provides log output capability, but most of the exception logs do not have troubleshooting instructions, so users cannot handle the exception after seeing the exception.
Solution: By improving the FAQ and other documents in the official documents, when the Dubbo log framework outputs abnormality, it will also output the corresponding official website description link, so as to guide users to conduct independent investigation.

@AlbumenJ please assign this to me

This feature has been supported now


Version 0.3.0 Design Considerations

As noted in #33 there are a few things that would be great to be considered for a version 0.3.0.
This issue should function to spark a discussion between @searchy2 and the community, which things could be improved.

As there are way more intelligent people than me, I'd like to invite them to voice their ideas, too.
Especially named here are: @rydmike (creator of Flexfold), @ResoCoder (created the video tutorial)
(Feel free to tag other people, which you like to voice their opinion, too.)

First Design Proposal for ResponsiveWrapper.builder:
Create value unions for specific width ranges (as in #33)
The Constructor then accept these as breakpoints (without defined behavior), and in a second step a defaultBehavior can be defined. optional would be ResponsiveTargetPlatform specific behavior. This would allow for scaling to be allowed on android and ios and disabled on every other.
Summary:

[ ] value unions instead of strings
[ ] breakpoint ranges for more understandable sizing behavior
[ ] decoupling of sizing behavior from breakpoints, by using defaultBehavior and customPlatformBehavior

Context for the original conversation: #33

What do you think about the idea of removing breakpoints and instead have breakpoint segments that allow you to control the behavior instead?
For example, instead of setting a breakpoint at 480, you would instead specify the behavior from 480 - 779.
I'm considering making this change because it would allow the removal of the complex segments algorithm and simply usage. So instead of having to understand how the library works, developers would be able to specify EXACTLY what happens at each segment. This would also enable support of per platform, per page, and even per widget settings.
I'd love to hear your thoughts and continue this discussion under a new issue.

The syntax for breakpoints would change to something like this:

ResponsiveBreakpoint(start: 0, end: 420, behavior: ResponsiveBehavior.autoscale, platform: [Platform.android, Platform.iOS], tag: "MOBILE_SMALL", orientation: [Orientation.landscape]);

I would argue for something like this:
breakPoints: [ // seperate breakpoints from ResponsiveBehavior logic
 ResponsiveBreakpoint(start: 0, end: 420, tag: MOBILE),
 ResponsiveBreakpoint(start: 421, end: 700, tag: TABLET),
],
defaultBehavior: <String, ResponsiveBehavior>{
  MOBILE: ResponsiveBehavior.autoscale(1, 1.5), // custom define how much the end scale value should be
  TABLET: ResponsiveBehavior.resize,
},
iosBehavior: {
  MOBILE: ResponsiveBehavior.resize,
  TABLET: ResponsiveBehavior.resize,
},

(for simplicity I did not include landscape features


Facebook SDK needs update for IOS 14

Hi,
I integrated Appsflyer but somehow I'm getting error about old version of FB SDK and
Report
Plugin Version
6.3.20
On what Platform are you having the issue?
IOS
What did you do?
running All necessary installation steps and connecting Appsflyer to FB pixel
What did you expect to happen?
it should tell me that it is old version
What happened instead?
FB tells me that I use old version
Please provide any other relevant information.

closing because this error disappeared


what is the negative sample in trainMode = 1?

In trainMode = 1, input is like
page_1 page_2 ... page_M
so what is the negative sample to compute tripleloss?
I am so confused about it.

@ledw Thank you so much!


Hamburger menu not security aware

Hi Vincent!
In v0.8 you were so kind to add the following:

The hamburger menu is now selectable as a component on page 0. Can be controled for conditions or authorization schemes.

As of release v0.9.6 the following change was done:

Page 0 no longer requires the hamburger menu, it is now computed

Now if there are 0 menu item the hamburger icon will still show:

If you can help me fix it I would be very happy :-)

Hi Mark,
I totally understand. Just got back from vacation, so before we try anything, have you resolved this temporarily somehow?
I will absolutely make it so the hamburger menu doesn't appear if there is 0 menu entry.

Unfortunately not yet, no.


no wiki, poor documentation, little community

Hi, i have big pain to find any didactic and useful information around lgi and also goo canvas and all that is over.
Can you link some nice references to help dev users to win a bit of time to learn how to use this ?
Maybe there is  something usefull to do on this point, i really would like to help on that, but... i feel myself locked and stick with my miss-understanding of lgi, and GooCanvas and GTK and Cairo all around.
I just arrived with help to build 3 rectangle's shapes and handle mouse event (and, because of big help, if not, i would never be able in this year to just do that, even if i know to use other GUI, not only wrappers around also) then build a collid test who miserably failed because of, i think, a bad event managment (not from lgi, but from myself, because i not really understand what i have to do to fix the problem as long as the lgi and gtk and cairo and goo canvas doc is poor and example also with mouse event and canvas especialy).
What do you think about that ? Any plan to ask dev to help make something useful for information around ?

Well... I am not quite sure how I can help you. You mentioned these lbibraries:

lgi: https://github.com/pavouk/lgi/tree/master/docs
GooCanvas: https://developer.gnome.org/goocanvas/stable/ (found via google for "GooCanvas API documentation")
GTK: https://developer.gnome.org/gtk3/stable/ (found via google for "GTK API documentation")
cairo: https://www.cairographics.org/documentation/

I never used GooCanvas, buts its docs even start with an introduction with some examples.
Could you perhaps ask some more concrete question? Or is the above already helpful? If not, what is missing?

Thank you for your quick answer.
Precisely, what's missing i think is a real documentation who explain what is GTK objects, Cairo objetcs, Glib, and so on... what are they doing and how they are working together. So it should be not only lgi specific question, but it would be positive to get this somewhere if not everywhere (i mean oficialy at any point).
Also, look at the API, it is better than nothing, but clearly there is many methods who are poor description if nothing (and specialy about there arguments that for some of them i can loose hours to find what is it and how can i get it, like a "canvas context" for example).
If you think documentation is nice and enough, just close and delete my question. At this point i feel like it is an evidence that GTK and wrapper around has not enough clear and quality documentation to help new dev user with that (i do compared with Qt, can you have a look at the Qt doc to compare please ? you will see better what i mean).
thank you again.

I am not sure how I can help you, so... uhm...
cairo just does drawing. Like "draw a line in red from (50, 30) to (100, 20)". GTK does "window stuff", like open a window with this button placed like this etc. GTK uses cairo for drawing. GLib is "low level system stuff" and datastructures. For example, it implements things like a list of objects (LinkedList in Java or std::vector in C++ (yes, I know that a vector is not a linked list, but you get the idea)).
I do not know what GooCanvas does, but it looks like it simplifies drawing widgets with GTK/cairo.
With GTK, you have to be able to redraw your whole widget all the time. Everything that is visible can get lost (for $REASONS) and needs to be redrawn. With GooCanvas, you can place a circle at some specific coordinates and that circle stays there and is automatically redrawn when needed.
Personally, I do not have much clue about GTK/GLib/... and never used them much, but I have more or less success with navigating the references.
Oh one important ingredient is GObject. This is another library (that uses GLib, I think...). It implements an object system. In C++ you would call this class. But it supports GObject introspection. For example "dear object, which properties do you have?". This basically makes the API documentations machine-readable. LGI is short for Lua GObject Introspection. It uses this machine readable API documentation and makes the API accessible to Lua. Similar projects exists for lots of programming languages: https://gi.readthedocs.io/en/latest/users.html
Good luck and feel free to ask some questions.

ho, i see in the sample directory the gtk-demo/main.lua who seems to me very nice to show some minimal uses of lgi... that is nice and help me a lot.


Added miscellaneous improvements to the "Building a Quantum Dot Model" tutorial

@iinfant76 is this ready to be merged?


pyspark and spark-submit not work inside containers

Hey,
I try to run pyspark and spark-submit, but there is something wrong with python.
So i got this :
root@sparkmaster:/tmp/test_spark# spark-submit count.py
Exception in thread "main" java.io.IOException: Cannot run program "python": error=2, No such file or directory
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
    at org.apache.spark.deploy.PythonRunner$.main(PythonRunner.scala:82)
    at org.apache.spark.deploy.PythonRunner.main(PythonRunner.scala)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:731)
    at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181)
    at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206)
    at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121)
    at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Caused by: java.io.IOException: error=2, No such file or directory
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:248)
    at java.lang.ProcessImpl.start(ProcessImpl.java:134)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
    ... 11 more

When i try to run python only i got this error :
root@sparkmaster:/tmp/test_spark# python
bash: python: command not found

root@sparkmaster:/tmp/test_spark# pyspark
env: python: No such file or directory

Do you have any idea ?
Thank you

Hi @adanba,
We recently pushed a new version of the image and, among other things, we included Python 2 and Python 3. Please try to run your script with the new image. If this issue is not fixed please reopen it and we will look into it as soon as possible.
Thank you for your feedback, we really appreciate it.

Thank you @fjhoelsg its work for me.
Good Job!
I try it with sparklyr package (RStudio), it's work right.

Hi I am getting a similar error.


Tell Jekyll to auto-compile SCSS for us

Tell Jekyll to auto-compile SCSS for us
There's no more need for sass --watch since Jekyll does that for us now.
We need dummy front-matter in main.scss so Jekyll compiles it.
We need to tell Jekyll where to find partials (in /stylesheets) because it
defaults to /_sass.
Asset docs: http://jekyllrb.com/docs/assets/

This seems fine, but Travis failed (not sure if that matters here)

Travis does not matter.


Lack of accessibility

The standard ComboBox from Vaadin works as follows:

When the textbox is focused, it's content is selected. A screenreader reads the selected text
When an element from the suggestion popup is selected (highlighted), the textbox's content is immediately updated with the selected element. A screenreader observes the change and reads it.

As the ComboBoxMulitselect works different by design, a screenreader is stranded. I find the following behaviour useful:

When the user navigates using the arrow keys, the screenreader should read the element form the suggetion popup and it's activation state
The screenreader reads the element's position in the suggention popup ("entry 4 of 20").

Unfortunately, Jaws reads aria-setsize and aria-posinset only if they are set in an element with role="listitem", whereas the aria specs allows role="option", too. And I have to use the latter role in order to use aria-checked on the td element. Setting aria-activedescendant to the checkbox instead of the td element is not an option, as this leads to focused checkboxes and a broken styling.
I've done some first work in my branch Barrierefreiheit. What do you think?

In case of a discussion: I'm afk 'till next week, so please bear with me.

I will look into this next week once youre so we can talk about this. Sounds very interesting. Is your pull request completly implementing the feature?

Yes, from my side, this feature is implemented. The only reason I haven't formulated this as a PR is to be able to do a rebase / squash on my branch in case further changes are arising from this thread.
To get a better impression, I'm attaching two screencasts, in which you see and hear (in German) the behaviour of NVDA (wich is reading the entry's position in contrast to Jaws) before and after the proposed changes: current state.zip, with enhanced acccessibility support.zip

looks good to me :) very interesting.
Seemed kind of easy to implement, what is the difference to the libraries from gwt.aria?
If you want you can make this a pull request :)

I don't know the gwt-aria-classes in detail, I'm using them only to prevent String-based calls like getElement().setPropertyString("aria-label", ...) or getElement().setAttribute("aria-checked", "true"). As far as I saw in other people's code, statements like State.CHECKED.set(menuItem.getElement(), CheckedValue.TRUE) seem to be the gwt-way to do aria-stuff.
The pull request is on its way :-)

I will build this into a version for vaadin repository in the next days.
Thanks :)


Put Bucket Versioning

AWS s3api allows enable/suspend bucket versioning. Currently, I am using s3s-fs to perform local simulation, and I found the s3s-fs does not support put_bucket_versioning. Since all the buckets are stored as a file locally, I am confused how to achieve this functionality?

Simulating all S3 functionality needs a great architecture and lots of work. The internal metadata part of s3s-fs is naive. So it's relatively difficult to add some APIs beyond the basic ones. We may refactor s3s-fs in the future.

Get it, thanks!


Check for empty string and catch Key Error

This project was very helpful to me, thank you! Here is a small bug fix that I hope could be helpful.

Thanks for the fix! I didn't notice those keyErrors.


What's the Play about?
In this project, I will be developing a live chat app using firebase as backend with full authentication system
User can signIn using there google accounts and can have real time chats with other users(Just like youtube live chats).
What ReactJS concept will be used to create this play?
Hooks:-I will be using Hooks like useState, useNavigate, useEffect.
Components:- To make code easy to study, I will be dividing my application in few components
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Looking forward to it.


TypeError: jhipsterFunc.addJavaScriptToIndex is not a function

Entity audit doesn't work with actual github version of JHipster. It throws TypeError: jhipsterFunc.addJavaScriptToIndex is not a function here and here because this function
was removed from JHipster. It has to be replaced with jhipsterFunc.template.

Are you sure you are using Jhipster release version as master will not work
On 23 Mar 2016 19:33, "Andrii Shakhov"<EMAIL_ADDRESS>wrote:

Entity audit doesn't work with actual github version of JHipster. It
throws TypeError: jhipsterFunc.addJavaScriptToIndex is not a function
because this function
was removed
https://github.com/jhipster/generator-jhipster/commit/26c3f2ceea9c760e81c30b4154cd80625aa15309
from JHipster. It has to be replaced with jhipsterFunc.template.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/hipster-labs/generator-jhipster-entity-audit/issues/27

I think you are using master, I havent update this repo for master yet

Are you sure you are using Jhipster release version as master will not work
Entity audit doesn't work with actual github version of JHipster
Yep.


Update children when a parent is updated

Describe the bug
Extension don't respect the rule when need to close the childs
To Reproduce
Create a rule when close a parent then the children close too;

Expected behavior
When I close the parent it children closed too
What version are you on:
Extension Version:1.2.4 | Module Version:1.2.0
Additional context

If I understand you correctly, the issue is that when you close a parent, you want the children to be close too?
This is currently not a feature as the extension only works upward in the hierarchy, and not downwards. If you closed a Task, then the extension would be able to close the parent elements that was User Story and Feature. However, closing a User Story will not close the Tasks underneath it.
I am currently working on some changes in the rule engine due to #44 , so I can see if this is possible to integrate.

Hi @joachimdalen, did you see if this is possible to integrate?

Hi there, sorry for the late reply!
I looked into this and will add it to the backlog. The entire extension is written with the concept of working from the child to the parent, not the other way.  Implementing the wanted changes will require pretty large rewrites as both the rule engine and admin interface will need major rewrites. It will also introduce some complexity related to parent processing, children lookup and recursion.
Adding this to the V2 milestone, but that does not currently have any timeline. If I can figure out a way to solve this without a rewrite, I will move the timeline closer.


[WebView] Navigating back after a redirect with JS enabled doesn't work and simply reloads the redirect

Description
When JS is enabled and we load a redirect URL, it becomes impossible to navigate back since tapping back simply reloads the redirect URL. The behavior is different in a regular webview and navigating back after loading a redirect URL works.
Steps to reproduce

Clone https://github.com/tfcporciuncula/accompanist-webview-issue, which has a webview that loads a redirect URL
Run the app and try to navigate back, observe you can't back out of the webview
Comment out Accompanist's webview and uncomment the regular webview, run the app again, and observe navigating back works

Expected behavior
Accompanist's webview behaves like a regular webview, where navigating back after a redirect works instead of reloading the redirect.
Additional context
N/A

Right after I opened this I saw https://github.com/google/accompanist/pull/1398 😅
Tested on the latest version and it's all fine there. I apologize for not checking before opening the issue 🦆

I'm glad to hear it worked!


issue with a node view

Hello!
Thx for the great lib!
How do i set a node an option that it has children even if it doesn't right now, but it'll be loaded after i click on the node or the arrow beside.

children:true


How to get the community gallery image's Security type and Accelerated networking from python sdk

I can't get the Security type and Accelerated networking from below returned value image, is any way to achieve this?
image = compute_client.community_gallery_images.get(location='eastus', public_gallery_name='gallery name', gallery_image_name='image name'

Thanks for the feedback, we’ll investigate asap.

Hi @LiliDeng , if Accelerated networking or Security type has a non-default value, then you could find them in the property image.features.
if image.features:
    print([(feature.name, feature.value) for feature in image.features])

Hi @LiliDeng , if Accelerated networking or Security type has a non-default value(disabled&standard), then you could find them in the property image.features.
if image.features:
    print([(feature.name, feature.value) for feature in image.features])

thanks!


Feature Request: Separate AIC files per character

Considering it is possible to swap out all or individual AIV files for just one AI character, and this way combine different sets of AIVs, it would be nice to be able to separate AIC settings per character as well - either by having a separate AIC file per character, or possibly by extracting entries from multiple full AIC files, but only for the respective characters as specified in a patcher menu. I'd strongly suggest just using 1 AIC file per character, though.
That way, you can easily exchange a single character's AIC file without having to bother with fiddling around with some more complicated patcher UI for mixing parts of larger files (which also would have to be created in the first place), don't have to bother with including AIC data for other unrelated characters, have no more searching for the desired character in the long list every time you want to edit that character, etc.

That's already possible. You can check multiple .aics in the UCP to loard/overwrite single characters. Load order is bottom to top (so the top ones will always overwrite the ones below)

Interesting... good to know, thanks!


Common monitoring

I guess we should have clean interface in monitoring: it should send monitoring data to monitoring sender and alerts to alert sender. Another package should aggregate the monitoring messages.


Update supportedruntime-element.md

Summary
Add quotes around runtime values.

Why would we add quotes? That seems odd to me. The quotes might be there for two reasons:

Demonstrate that the data is a string.
Convenience for copy pasting it into XML

I'd suggest that the first goal isn't necessary and if it is, we can describe this in a different way. Given that the quotes might already be in a target XML file, I'd suggest that the second goal is questionable.
Thoughts

Yes, the quotes seem odd indeed, but the neighbour lines have the quotes already. Would you prefer me to remove the quotes from the whole table?

Yes, the quotes seem odd indeed, but the neighbour lines have the quotes already. Would you prefer me to remove the quotes from the whole table?

That's my feeling. It would be good to hear an opinion from someone else.


For 19.04, how can we go without glee-dev?

For 19.04, how can we go without glee-dev?  There is no gfootball-engine as requested when running the experiments in the instructions for the code.  What's up?

Have you tried this hack: https://askubuntu.com/a/1151135 ? Please let me know if this works for you.
Additionally, you can always install through the docker (as in readme).

Actually, Glee is not really needed by the environment. We have a change which needs to be pushed which removes this dependency. In the meantime you can modify opengl_renderer3d.hpp by removing #include <GLee.h> and replacing GLfloat -> float, GLint -> int.

Thank you!

Release 1.5 doesn't not depend on the Glee anymore.


[bulk] Validation: communication-identity and communication-phonenumbers

Docs Build status updates of commit a2f7368:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/latest/communication-identity-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/communication-identity-readme.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 11, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'communication'.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.
Line 19, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/communication-services/' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit acab17f:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/latest/communication-identity-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/communication-phonenumbers-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/communication-identity-readme.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 11, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'communication'.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.
Line 19, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/communication-services/' will be broken in isolated environments. Replace with a relative link.

docs-ref-services/latest/communication-phonenumbers-readme.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.
Line 21, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/communication-services/' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit e44fb0c:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/latest/communication-identity-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/communication-phonenumbers-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/communication-identity-readme.md

Line 2, Column 1: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.

docs-ref-services/latest/communication-phonenumbers-readme.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.
Line 21, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/communication-services/' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit e44fb0c:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/latest/communication-identity-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/communication-phonenumbers-readme.md
:warning:Warning
View (azure-java-stable)
Details

docs-ref-services/latest/communication-identity-readme.md

Line 2, Column 1: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.

docs-ref-services/latest/communication-phonenumbers-readme.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.
Line 21, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/communication-services/' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit e099fc9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/latest/communication-identity-readme.md
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-services/latest/communication-phonenumbers-readme.md
:white_check_mark:Succeeded
View (azure-java-stable)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Global effort to fix build validation errors
@JianpingChen
The Content & Learning team is fixing build validation errors on docs.microsoft.com for the rest of H2. This will eliminate potential accessibility, security, and usability issues. This PR includes only build validation fixes and does not change other content. Please review within five business days and merge or comment in the PR with any changes you’d like to see. Thank you!

Docs Build status updates of commit c004495:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/latest/communication-identity-readme.md
:bulb:Suggestion
View (azure-java-stable)
Details

docs-ref-services/latest/communication-phonenumbers-readme.md
:bulb:Suggestion
View (azure-java-stable)
Details

docs-ref-services/latest/communication-identity-readme.md

Line 18, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/communication-services/' will be broken in isolated environments. Replace with a relative link.
Line 26, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/java/azure/jdk/?view=azure-java-stable' will be broken in isolated environments. Replace with a relative link.
Line 26, Column 3: [Suggestion: preserve-view-not-set - See documentation] Did you mean to link to a specific version? It's usually better not to specify a version, so the link always goes to the canonical version. If you really need to link to a specific version, add &preserve-view=true to the URL: https://docs.microsoft.com/java/azure/jdk/?view=azure-java-stable. Otherwise, remove the view parameter.
Line 28, Column 54: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp' will be broken in isolated environments. Replace with a relative link.
Line 28, Column 208: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/powershell/module/az.communication/new-azcommunicationservice' will be broken in isolated environments. Replace with a relative link.

docs-ref-services/latest/communication-phonenumbers-readme.md

Line 20, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/communication-services/' will be broken in isolated environments. Replace with a relative link.
Line 26, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/java/azure/jdk/?view=azure-java-stable' will be broken in isolated environments. Replace with a relative link.
Line 26, Column 3: [Suggestion: preserve-view-not-set - See documentation] Did you mean to link to a specific version? It's usually better not to specify a version, so the link always goes to the canonical version. If you really need to link to a specific version, add &preserve-view=true to the URL: https://docs.microsoft.com/java/azure/jdk/?view=azure-java-stable. Otherwise, remove the view parameter.
Line 28, Column 63: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp' will be broken in isolated environments. Replace with a relative link.
Line 28, Column 217: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/powershell/module/az.communication/new-azcommunicationservice' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@JianpingChen
The Content & Learning team is fixing build validation errors on docs.microsoft.com for the rest of H2. This will eliminate potential accessibility, security, and usability issues. This PR includes only build validation fixes and does not change other content. Please review within five business days and merge or comment in the PR with any changes you’d like to see. Thank you!


Policheck Update - Oct 12 | Bulk Update

Fixes the following Policheck issue:
https://dev.azure.com/msft-skilling/learn-platform-policheck/_workitems/edit/115791

#sign-off This is a bulk update.

#sign-off

#sign-off This is a bulk update.


OpenAI API Request too large for gpt-3.5-turbo-instruct in organization

Describe the bug
ilab data generate --pipeline full --gpus 1 --num-cpus 16 --sdg-scale-factor 300 \
--endpoint-url https://api.openai.com/v1 --api-key **projectapikey**  \
--enable-serving-output --output-dir ./outputtest --model gpt-3.5-turbo-instruct \
--batch-size 0 --server-ctx-size 4096 --chunk-word-count 200

To Reproduce
  File "/home/itzuser/instructlab/venv/lib64/python3.11/site-packages/instructlab/sdg/pipeline.py", line 203, in _generate_single
    raise PipelineBlockError(
instructlab.sdg.pipeline.PipelineBlockError: PipelineBlockError(<class 'instructlab.sdg.llmblock.LLMBlock'>/gen_contexts): Error code: 429 - {'error': {'message': 'Request too large for gpt-3.5-turbo-instruct in organization org-pOOZZmC4ASqo2NMoLudceXRk on tokens per min (TPM): **Limit 90000, Requested 209665**. The input or output tokens must be reduced in order to run successfully. Visit https://platform.openai.com/account/rate-limits to learn more.', 'type': 'tokens', 'param': None, 'code': 'rate_limit_exceeded'}}

I tried different models and also other options, but the request is always higher than 90000 (I did not found anything how to reduce this)
Version
(venv) [itzuser@itzvsi-550001nu41-hsscbt6c router]$ ilab system info
sys.version: 3.11.2 (main, Jul 18 2024, 00:00:00) [GCC 11.3.1 20221121 (Red Hat 11.3.1-4)]
sys.platform: linux
os.name: posix
platform.release: 5.14.0-284.82.1.el9_2.x86_64
platform.machine: x86_64
platform.node: itzvsi-550001nu41-hsscbt6c
platform.python_version: 3.11.2
os-release.ID: rhel
os-release.VERSION_ID: 9.2
os-release.PRETTY_NAME: Red Hat Enterprise Linux 9.2 (Plow)
instructlab.version: 0.18.4
instructlab-dolomite.version: 0.1.1
instructlab-eval.version: 0.1.2
instructlab-quantize.version: 0.1.0
instructlab-schema.version: 0.3.1
instructlab-sdg.version: 0.2.7
instructlab-training.version: 0.4.2
torch.version: 2.3.1+cu121
torch.backends.cpu.capability: AVX512
torch.version.cuda: 12.1
torch.version.hip: None
torch.cuda.available: True
torch.backends.cuda.is_built: True
torch.backends.mps.is_built: False
torch.backends.mps.is_available: False
torch.cuda.bf16: True
torch.cuda.current.device: 0
torch.cuda.0.name: NVIDIA L4
torch.cuda.0.free: 21.9 GB
torch.cuda.0.total: 22.1 GB
torch.cuda.0.capability: 8.9 (see https://developer.nvidia.com/cuda-gpus#compute)
llama_cpp_python.version: 0.2.90
llama_cpp_python.supports_gpu_offload: True

maybe this will help
https://bit.ly/3TyLBMS
If you don't have the c compliator, install it.(gcc or clang)

maybe this will help
https://bit.ly/4gwC82r
you may need to install the c compiler

try this
https://bit.ly/4gwC82r
If you don't have the c compliator, install it.(gcc or clang)

@bbrowning @aakankshaduggal @khaledsulayman is this a different, yet endpoint-url related, issue than #2287 ?

Different, yes. It appears we generate payloads too large for gpt-3.5-turbo-instruct, or at least for this user's quota there. However, we also don't test SDG against that endpoint, so it's not a surprising outcome. I guess the question is do we want to keep a list of inference servers we're known to work with somewhere? That list would consist of specific verison ranges of vllm and llama-cpp-python today. Or, do we want to test and support other inference servers for the teacher models?


[NEW ALGORITHM] Longest Common Prefix Under Strings

Issue will be closed if:

You mention more than one algorithm. You can create a separate issue for each algorithm once the current one is completed.
You propose an algorithm that is already present or has been mentioned in a previous issue.
You create a new issue without completing your previous issue.

Note: These actions will be taken seriously. Failure to follow the guidelines may result in the immediate closure of your issue.

Name:
[Longest Common Prefix]
About:
This program finds the Longest Common Prefix (LCP) among an array of strings. It starts by assuming the first string as the prefix and iteratively compares it with each subsequent string, updating the prefix to the common portion. If no common prefix exists, it stops early. The program is useful for applications like string analysis, autocomplete systems, and pattern matching.
Input:
Enter the number of strings: 3
Enter the strings:
String 1: flower
String 2: flow
String 3: flight

Output:
The longest common prefix is: fl

Labels:
new algorithm, gssoc-ext, hacktoberfest, level1

Assignees:

[X] Contributor in GSSoC-ext
[X] Want to work on it

Hey can i work on this

assigned


Cannot find by vue cli service - This dependency was not found error

I got this log after I declare it to main.js
vue-cli-service]  WAIT  Compiling...1:11:39 AM [vue-cli-service] This dependency was not found: [vue-cli-service] * vue-3-sanitize in ./src/main.js [vue-cli-service] To install it, you can run: npm install --save vue-3-sanitize [vue-cli-service]  WAIT  Compiling...1:12:21 AM [vue-cli-service] This relative module was not found: [vue-cli-service] * ../node_modules/vue-3-sanitize in ./src/main.js
I installed it using
npm install --save vue-3-sanitize.

#2 fix

It will close after the author merge the pull request.

thanks!

the request has been merge.. now we can close it now..


⚠ Cioos Pacific CKAN has degraded performance

In 6cff9e4, Cioos Pacific CKAN (https://catalogue.cioospacific.ca) experienced degraded performance:

HTTP code: 200
Response time: 7348 ms

Resolved: Cioos Pacific CKAN performance has improved in 8ca4b6a after 11 minutes.


Toggling a CollapsingHeader in a ComboBox closes the whole ComboBox

Describe the bug
Putting a CollapsingHeader inside a ComboBox closes the ComboBox whenever you try to toggle the CollapsingHeader
To Reproduce
Steps to reproduce the behavior:

Create a ComboBox
Put a CollapsingHeader inside
Toggle the CollapsingHeader

egui::ComboBox::from_label("Version")
    .width(150.0)
    .selected_text(selected_version)
    .show_ui(ui, |ui| {
        egui::CollapsingHeader::new("Dev")
            .default_open(true)
            .show(ui, |ui| {
                for version in versions.iter() {
                    ui.selectable_value(&mut selected_version, &version, *version);
                }
            });
    });

Expected behavior
The CollapsingHeader should be able to open/close without the ComboBox closing
Screenshots

System
OS: Windows10 20H2

This also happens in menu bars, which is quite annoying to say the least.

Instead of "significant", what about a "used" flag set when some widget "uses" the event? The following widgets could read that used flag and act or not anyway. In this case, the click would close the combobox only if the click was not used by some inner widget.

After scouring for a while through the source code, I have a concrete proposal that expands on @msklywenn's idea. We could add a used attribute to the Ui type itself. We would add a chaining operator .used(self, bool) so that a user can manually set this attribute. And to avoid issues like this propping up, we could figure out reasonable defaults for every Widget (buttons are used, menus are not, etc.).
The value of this attribute would then be propagated through Response, and would be read by a ComboBox or a Menu to determine whether to close due to the Response returned by its controls.
If this seems like a reasonable proposal, then I'd be happy to help implement it.

So... what about this? Is my proposal a good idea? Are there any other ways we could get around this?

Perhaps this could be solved by re-implementing comboboxes using https://github.com/emilk/egui/pull/543

Just tried it, seems like it works :+1:

Should be very easy to use this for the ComboBox menu.. but that would mean we need to manually call ui.close_menu() to close the menu. Maybe this kind of defeats the purpose of ComboBox as opposed to a regular egui::menu? Maybe except for the arrow icon?

@vihdzp @msklywenn I also used a propagation system like this to cascade the close command through the menu hierarchy. You have to call a function though when you want the menu to close. But I could imagine widgets triggering this internally when some flag is set. you just need a Ui from the menu hierarchy, which can close all parent menus.


Expired deadline

Describe the bug/issue
The opportunity "Venkat Panchapakesan Memorial Scholarship" for 15th September, is an opportunity from 2019, and they don't seem to be taking applications anymore.

Thank you for bringing that to my attention, @abxhr ; I'll remove it.


Add missed public modifiers, fix warning

Checklist

[ ] New Extension
[ ] New Test
[ x] Changed more than one extension, but all changes are related to visibility modifiers
[ ] Trivial change (doesn't require changelog)

          2 Errors

:no_entry_sign:
Making non-trivial change requires changelog entry! Please, set trivial change or add entry to changelog.

:no_entry_sign:
Please, modify only one extension per pull request.

          1 Message

:book:
Executed 169 tests, with 0 failures (0 unexpected) in 4.852 (5.330) seconds

  Generated by :no_entry_sign: Danger

Codecov Report

Merging #406 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master     #406   +/-   ##
=======================================
  Coverage   39.83%   39.83%
=======================================
  Files          48       48
  Lines        2179     2179
=======================================
  Hits          868      868
  Misses       1311     1311

Impacted Files
Coverage Δ

Sources/StringExtensions.swift
80.88% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 25e9d61...4d00a68. Read the comment docs.

Erm, rebase not merge. And could you please squash the commits into one as well please ?

@Khalian what's the problem?

A rebase is a replay of your work on top of mainline. A merge is creating an extra commit which has two parents - the existing mainline head and the head of your branch.
In effect a merge commit defines "how" a change was arrived at. We already have that information in the PR. Hence it makes sense to only keep "what" changes went in, which is a rebase.


karma: 0.115 -> 0.118

Description of changes
This PR updates karma to its latest release: https://github.com/prymitive/karma/releases/tag/v0.118
I also added a version test and the mainProgram in meta.
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

[x] 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/)
23.11 Release Notes (or backporting 23.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

[x] Fits CONTRIBUTING.md.

I built this, and the command ran okay. I ran the service in a VM with alertmanager, and the UI loaded and seemed okay. I hadn't fully configured alertmanager, so I wasn't able to exercise the UI fully, but I think this is okay to merge.

0.120 was released


Multiple Submit buttons appear if down button is pressed multiple times after survey reaches the end.

To duplicate this bug, the user is required to answer the whole survey and once the last question is provided, the user will press the down button again, prompting multiple submit buttons to appear each time the down button is pressed again.

FIXED by Dante

Issue still persists, but this time it creates multiple cards for submit.
How to reproduce.

Finish the survey up until submit button appears.
Do not submit.
Reanswer any item.
Press down button again

Another card for submit shall appear which does the same thing as the old submit button from earlier.

Problem has been fixed.


Update pyproject.toml to automatically enable "Deploy as" option

I finally had a chance to look at pyproject.toml and noticed that there is no instruction to automatically copy jupyter-config/nbconfig/notebook.d/jupyter_to_medium.json into the local user directoryetc/jupyter/nbconfig/notebook.d during installation. This enables the "File -> Deploy as" dropdown menu option in the notebook.
Currently, users will need to run jupyter bundlerextension enable --py jupyter_to_medium._bundler --sys-prefix in order to get this option to appear.
With the old setup.py packaging scipt, this was accomplished through the use of data_files. See the examples in the Jupyter notebook documentation here.
Briefly looking at poetry, It doesn't appear that there is support for it. A long discussion can be seen here.
@spoorn created poeblix, a poetry plugin for this exact case.
Any thoughts @mjam03 ?

Hey,
Sorry for the long silence - just got round to checking this out this morning.
Yeah looks great - I'll go through at some point this week and:

implement this
update the package in general
see if there are any other issues I can solve quickly

Apologies for dropping the ball here - got busy with some other stuff. Time to give jupyter-to-medium some love.
Mark

I've gone through and updated the package dependencies to bring us into 2022/2023 - I've also just checked out the data_files idea and unfortunately poeblix won't work right out of the box.
Here we can see that it joins these paths and sticks 'data' in there so we can't construct that nice clean path to etc/jupyter/nbconfig/notebook.d:
https://github.com/spoorn/poeblix/blob/274c55aa4b85b8651ac31bc79fda67c3cd4e6c5e/src/poeblix/plugins.py#L178


Fix SilentLogger's apply method

In the class SilentLogger the apply method is written without parentheses. This leads to the following behaviour:
val type: SilentLogger.type = SilentLogger
val logger: SilentLogger[A] = SilentLogger.apply
// val logger2: SilentLogger[A] = SilentLogger() → does not compile

The last line is working when we add parentheses which is the content of the pull request.

@Andreas-Forster should this fix go into 0.15 or are you okay to have it on develop only?

@marcelluethi Would be great if this is possible.

Having it in 0.15 would be great for the tutorial


App harmonization - v1

Description
From phase A to B
Link to Harmonization planning

In the done column but not closed. Closing.


NCTL: missed upgrade scenarios

Changes:

Adds upgrade scenarios 4-7
Refactor of NCTL upgrade wrapper for CI to allow using upgrade scenarios in nightly run
Adds upgrade scenarios 4-7 to nightly runs
Adds new wrapper upgrade_from_stage_single_node.sh for upgrading nodes individually
Adds || true to supervisorctl command that recently switched to exiting 1 when nothing was available to shutdown
Adapts await_n_eras & await_n_blocks functions to optionally specify which node to query for consistency in tests

Scenario(s) TL;DR

10 nodes running
8 upgrade, 2 left behind stalled
2 left behind are later staged
2 nodes restarted
verify sucessful restart and syncing
NOTE: All 4 tests use this generally with just small modifications

2 binary upgrade scenarios
2 protocol upgrade scenarios

Tickets:

https://app.zenhub.com/workspaces/cn-sre-60d363546afb85000e491ff6/issues/casper-network/sre/112
https://app.zenhub.com/workspaces/engineering-60953fafb1945f0011a3592d/issues/casper-network/casper-node/1863
https://app.zenhub.com/workspaces/engineering-60953fafb1945f0011a3592d/issues/casper-network/casper-node/1864

Blocked by outcome(s) of:

https://app.zenhub.com/workspaces/engineering-60953fafb1945f0011a3592d/issues/casper-network/casper-node/2087
https://app.zenhub.com/workspaces/engineering-60953fafb1945f0011a3592d/issues/casper-network/governance/69

bors try

bors try

bors try

bors r+

bors try

bors r+


Merging Nested Paramters

It's possible to merge extra parameters with user generated ones like so:
 params.require(:post).permit([:title, :body]).merge(user: current_user)

It's also possible to include nested attributes like so:
 params.require(:post).permit([:title, :body, sections_attributes: [:title, :section_type]])

Now, what if I wanted to merge extra parameters into a nested model. I tried this:
params.require(:post).permit([:title, :body, sections_attributes: [:title, :section_type]]).merge(user: current_user, sections_attributes: [user: current_user])

But when I check the params with debugger afterwards, I find that user has overwritten the other section_attributes rather than merging with them. Is there a better way to approach this problem?

Use deep_merge http://apidock.com/rails/Hash/deep_merge


Bugfixes + toast message for recognized image

Hi! Thank you for the plugin.
I have noticed a few issues in plugin and the example provided when I tried to integrate it into my project:

Image DB file location obtained with systemTempDir.path is not correct. For me it resolves to  /data/user/0/com.peqas.arcorepluginexample/code_cache/image_database.imgdb while FlutterArcoreView searches for /data/user/0/com.peqas.arcorepluginexample/cache/image_database.imgdb
To fix this I used hardcoded path for now.

When the image is recognized by FlutterArcoreView  there is an exception in the logs:
E/FlutterArcoreView(27682): java.lang.RuntimeException: Methods marked with @UiThread must be executed on the main thread. Current thread: GLThread 1929 E/FlutterArcoreView(27682): 	at io.flutter.embedding.engine.FlutterJNI.ensureRunningOnMainThread(FlutterJNI.java:807) E/FlutterArcoreView(27682): 	at io.flutter.embedding.engine.FlutterJNI.dispatchPlatformMessage(FlutterJNI.java:697) E/FlutterArcoreView(27682): 	at io.flutter.embedding.engine.dart.DartMessenger.send(DartMessenger.java:80) E/FlutterArcoreView(27682): 	at io.flutter.embedding.engine.dart.DartExecutor.send(DartExecutor.java:187) E/FlutterArcoreView(27682): 	at io.flutter.view.FlutterNativeView.send(FlutterNativeView.java:128) E/FlutterArcoreView(27682): 	at io.flutter.plugin.common.MethodChannel.invokeMethod(MethodChannel.java:98) E/FlutterArcoreView(27682): 	at io.flutter.plugin.common.MethodChannel.invokeMethod(MethodChannel.java:84) E/FlutterArcoreView(27682): 	at com.peqas.arcoreplugin.FlutterArcoreView.recognizeImages(FlutterArcoreView.java:341) E/FlutterArcoreView(27682): 	at com.peqas.arcoreplugin.FlutterArcoreView.onDrawFrame(FlutterArcoreView.java:318) E/FlutterArcoreView(27682): 	at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1609) E/FlutterArcoreView(27682): 	at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1293)
After this my flutter image_recognized method is not called.
I guess methodChannel.invokeMethod has to be called from main thread in FlutterArcoreView.

Not  a bug but I have added a toast message for recognized image in the example so it is easier to follow without looking into logs

Hope this will be useful

awesome! thanks for the contribution :D


MULTIPART_FORM_DATA media type

Hi
I am trying to create a rest in Karavan (UI / VS code) (latest version) that can consume MULTIPART_FORM_DATA media type and upload an image but the body coming from the rest is always null and the headers are something like below :
{Accept=*/*, Accept-Encoding=gzip, deflate, br, CamelHttpMethod=POST, CamelHttpPath=/api/Profile/UploadPhoto,
CamelHttpQuery=null, CamelHttpRawQuery=null, CamelHttpUri=/api/Profile/UploadPhoto, CamelHttpUrl=http://<IP_ADDRESS>:8080/api/Profile/UploadPhoto, CamelVertxPlatformHttpLocalAddress=<IP_ADDRESS>:8080, CamelVertxPlatformHttpRemoteAddress=<IP_ADDRESS>:50538, Connection=keep-alive, Content-Length=152032, Content-Type=multipart/form-data; boundary=--------------------------487798220840317915313959, Host=<IP_ADDRESS>:8080, User-Agent=PostmanRuntime/7.36.1}

so I am not able to proccess it  so I can save it to a file later

I am also facing the same issue. Is it resolved?

@subham-s3b Unfortunately no  I had to change the content type to text/plain so I can work around this issue


Support receving health feedback

Ref: https://github.com/tikv/tikv/issues/16297

@crazycs520 PTAL

As I noticed that the interface compatibility problem of unistore can be workarounded by unistoreClientWrapper, It's actually not necessary to split into multiple PRs. cc @zyguan


Create Schedule Popup Inside a Modal

Hello,
So, I want to customize how we create the schedule.
Is it possible to make the create schedule popup inside modal?
This is the example, I got this by copy-paste the code from inspect element, so the dropdown and date picker is not working.

@fabiofahri I'm afraid you cannot set the arbitrary position where the popup appears through the option.
So, your approach is kind of the only way to implement a creation popup inside a modal.
What you need to know is that the default creation popup relies on tui-date-picker package. Otherwise, you need to implement your own date picker.
You can refer this source code.


Add unit to mig migration metric

Follow best practice of including unit on metrics per https://prometheus.io/docs/practices/naming/#metric-names

Requested review on metrics naming from @LiliC and @smarterclayton, arrived at cam_app_workload_migration_total for this metric name.
All future metrics for this project should be prefixed with cam_* and have some type of informative unit postfixed per the doc linked above.


Feature request: a Base32/64 (en/de)coder for 'crypto'

Thanks for the very rich SQLite extension set!
It would be great to have a base32 (and base64) converter (encoding and decoding) with the 'crypto' extension as an alternative to the hex function for producing output of the SHA functions that is both readable and as compact as possible (rfc4648). The filename-safe alternative (64) and the extended-hex alternative (32) might also fit some use cases.
Best, Erwin

Working on it.

btw in case you haven't seen, the SQLite team recently added these to their codebase, in case you want to adopt it
https://sqlite.org/src/file?name=ext/misc/base64.c
https://sqlite.org/src/file?name=ext/misc/base85.c
https://sqlite.org/src/file?name=ext/misc/basexx.c

Added encode and decode functions in 0.19.14:
select encode('hello', 'base32');
-- NBSWY3DP
select decode('NBSWY3DP', 'base32');
-- hello

select encode('hello', 'base64');
-- aGVsbG8=
select decode('aGVsbG8=', 'base64');
-- hello

@veermans please let me know if they fit your use cases.

Yes, works like a charm. Thanks!

Added three more algorithms — base85, hex and url — in 0.19.5. I think that's enough for now.


SpringBootApiGatewayRequestHandler - AWS HTTP GET method support

When using SpringBootApiGatewayRequestHandler with AWS - HTTP GET method throws exception "Cannot convert event".
This line fails as request body is null.
Object body = deserializeBody(event.getBody());
	protected Object convertEvent(APIGatewayProxyRequestEvent event) {
		Object body = deserializeBody(event.getBody());
		if (functionAcceptsMessage()) {
			return new GenericMessage<>(body, getHeaders(event));
		}
		else {
			return body;
		}
	}

So, you're saying that because of GET you don't have a body. If so what would we use to create Publisher.
Anyway, can you elaborate a bit on what you're trying to do . . .some code etc.

The queryParams map can be used as a default palyoad.
This is what we do in Spring Integration for the WebFluxInboundEndpoint:
return extractRequestBody(exchange)
		.doOnSubscribe(s -> this.activeCount.incrementAndGet())
		.switchIfEmpty(Mono.just(exchange.getRequest().getQueryParams()))
		.map(body -> new HttpEntity<>(body, exchange.getRequest().getHeaders()))
		.flatMap(entity -> buildMessage(entity, exchange))

Just an idea to consider...

Thanks @artembilan , and yes indeed we need to do something there, yet I am still waiting for @iwejay to communicate what was he trying to accomplish.

I've hit the same issue and looked at the upcoming 2.0.0.M3 which appears to have the same bug.  Using API Gateway with HTTP GET which results in a null body and ends up with a NPE when trying to be deserialized.  I believe @iwejay has provided enough info but I can too if needed, also thanks to @artembilan as well as @iwejay because that workaround worked for me too.

Given the age of this issue and the amount of new features and improvements that went into AWS adapter I am going to close this issue, but please feel free to raise a new one based on our current support.


Enable CA1032 rule

Change the action for CA1032 on the ruleset file to Error, and make the solution build

Looks like this issue can be closed.

Looks like this issue can be closed.

@kblok


Add default for lowercase, and ability to turn off lowercase if wanted

Having to do .toLowerCase() every time is very annoying, please fix this @dodo as similar to how you did with pretty.

+1

+1

+1

+1

+1

+1

+1

:+1:

+1

+1

+1

:+1:

+1

+1

+1

Seems like @dodo has vanished or is otherwise busy. I'll probably end up forking the project to implement my PR as well as a couple others.

@Zertz Do you have any plan to merge other PRs and publishing this?
seems that @dodo so busy to get the work done.
May we force then merge the possible PRs, and publish?

I merged @Zertz's PR and restricted the default to lower case only to rfc3986 mode, so the pretty mode stays case sensitive.
I also changed the option name to lower instead of lowercase.
Let me know when this is not working out for you.

Thanks @dodo !

Why do we still have Pretty Mode on?  The default should be the standard RFC3986.  Come on.

https://github.com/dodo/node-slug/blob/master/slug.js#L72-L74 Change this to RFC3986 please.

In the Readme you say it is RFC3986 which is so misleading too.

Can you please fix this?  The default should be RFC 3986... especially if you advertise it in the Readme as "respecting RFC 3986".  I have forked this and made it RFC compliant by default.  For anyone that wants this, please install it with npm install --save slug-rfc and that way we don't need to use forks.  When this package switches its default to RFC (if it does), then I will deprecate that package I made and delete my fork at https://github.com/niftylettuce/node-slug-rfc.

@niftylettuce see #71

@simison Why should I bother to use that, it has a completely unrelated name.  All I want is the default for this package to have the proper RFC advertised standards.  I've wanted this for probably like a year now if you look back at all the comments/issues I filed.  I already forked it and published an RFC compliant version myself.  And the documentation for that mollusc thing doesn't even say to npm install mollusc anywhere.  People aren't going to search on Google for NPM mollusc package.  They will search NPM RFC slug package or NPM slug.

Rant much. :)

@bcallaars petty comments not appreciated

@niftylettuce:

Why should I bother to use that, it has a completely unrelated name. All I want is the default for this package to have the proper RFC advertised standards

Me too. And I want is someone to maintain some package. ;-)

I already forked it and published an RFC compliant version myself.

Sure! That's cool. @Zertz seems to have a lot of enthusiasm, too. You guys should just put up an organisation and publish your RFC version under the name RFCSlug, niftySlug or something... :-)
I pinged in hopes that you'd talk with @Zertz about possibilities.

Aye aye! @simison I commented over in that issue you referenced and mentioned how I realized you were not the original OP author.  Maybe @Zertz just would want to use npm i --save slug-rfc instead.  It's a bit easier to remember and type haha.

@niftylettuce I'm sorry my efforts don't meet your expectations. I am working on this because I use node-slug a lot and the community has submitted many useful PR's, including yours. I am planning Node v6 compatibility, which is currently very hard because of the issue described in #70.
Also,

Slug, or land slug, is a common name for any apparently shell-less terrestrial gastropod mollusc.

It's nice @Zertz, it's not all about fame.

Don't let the naming stop you guys. :-)
BTW I settled for using https://github.com/pid/speakingurl myself for now — has anyone had look at it? Seems to be well maintained. (Ping @pid)

;-) pong

https://github.com/pid/speakingurl does the trick for me. I'm sure slug-rfc and mollusc work just as well, but downloads/day wins

downloads have nothing to do with functionality.

slug downloads:

speakingurl downloads:

it is pretty lame to not fix the #1 package in NPM for slugs, even having the reserved name slug as its package name...  this is not how our community should function.  So when someone new comes to the community, they have to look at 5 different packages all doing the same thing?  Why doesn't everyone just fork koa and express and rename them a hundred times for little use cases?

I am deprecating and removing my slug-rfc package from NPM and just going to use speakingurl.  I suggest that @dodo find contributors and be willing to accept contributors next time.  Thanks @pid for your work there, nice backup.

If that works for you, then by all means go for it :-)

@niftylettuce what I meant to say is that when three packages all have the functionality that I want, and one has orders of magnitude more downloads, I'll pick that one.


Have you evaluated the performance of the 3B model?

Hi, I am curious about the performance of your method on ESM-3B, but I did not see it mentioned in your paper or repo.

We conducted a brief evaluation of our ESM-2 model with 3B parameters and found that its performance was comparable to the 650M version.
Unless there's a specific reason you need to use the 3B model, we recommend defaulting to the 650M model.

@jozhang97  hi, what about the performance of you latest released model based in esmc 600M or 300M?

Hi,
Thanks for your interest.
We did not find substantial difference in performance. Here are the results on the contact prediction benchmark.

Method
Params
S
M
L

ESM2
650M
0.56
0.53
0.38

ESM-C
600M
0.56
0.56
0.41

ISM-C
600M
0.62
0.6
0.47

ISM
600M
0.62
0.59
0.49


fix: restart shell on broken pipe, handle composite expressions

Fixes https://github.com/ErikBjare/gptme/issues/69
Workaround for https://github.com/ErikBjare/gptme/issues/68

Codecov Report
Attention: 13 lines in your changes are missing coverage. Please review.

Comparison is base (209b623) 81.20% compared to head (307c648) 76.34%.

Files
Patch %
Lines

gptme/tools/shell.py
62.85%
13 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #70      +/-   ##
==========================================
- Coverage   81.20%   76.34%   -4.86%
==========================================
  Files          26       26
  Lines        1820     1852      +32
==========================================
- Hits         1478     1414      -64
- Misses        342      438      +96

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


test PR

using gil's PR to see if we get the same issue w/shippable

@galak : You're aware that the same issue happened with #19 (but apparently cleared itself), right?


Use Semantic Versioning

Please use Semantic Versioning. Examples on the PhosphorJS page are not working with the last release.
BTW, what is the right release to use with the examples? Are you planning to update them?

PhosphorJS does use semantic versioning.
The examples page is currently out of date and the multiple phosphor repositories have been re-organized into a single repo with multiple packages under the @phosphor namespace. The examples do work with the last version of the individual packages (i.e., phosphor-tabs, phosphor-messaging, etc.), so if you want to copy them verbatim, you can install those packages (e.g., npm install phosphor-tabs).
Because the current development effort has been primarily focused on reaching the 1.0 release, the documentation and examples page has fallen a little bit behind, but it will be updated soon. So you may be better off waiting for the official 1.0 release.

Thanks for the clarification, @afshin.
However, it appears that some classes haved changed. For instance, MenuItem does not exist anymore (it is now Menu.IItem, right?). Some classes are in other files too.
I coud not run the examples/menus, but I had only installed phosphor and tried to adapt the code. Is it necessary to install another package?

The current version of PhosphorJS is incompatible with the example code. The examples as they are currently written will only work with the older packages phosphor-menus, phosphor-tabs, etc.
So that code will need to be refactored a bit to work with the new version of PhosphorJS.
If you want an example that uses the newest version before waiting for the docs to be updated, you can check out the example in the repo

OK, thx.

Sorry, but I think this issue should not have being closed. Semantic versioning says:
Given a version number MAJOR.MINOR.PATCH, increment the:

MAJOR version when you make incompatible API changes,
MINOR version when you add functionality in a backwards-compatible manner, and
PATCH version when you make backwards-compatible bug fixes.

So if a incompatible API change made the examples stop working, the MAJOR version of PhosphorJS should have been increased, right? Otherwise, you are not using semantic versioning,

The examples do not use the phosphor package. So comparing versions between phosphor and phosphor-widget makes no sense. All of the various phosphor packages themselves (whether deprecated or not) follow semver.

The key being that the packages as installed on npm are following semantic versioning.  We have been iterating on the best approach for a library of this size.

Understood. I had supposed that the examples were using phosphor.

Also note that PhosphorJS currently advertises its version as 0.1.4 for the widgets package for example, and you link says:

Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.

That's why 1.0.0 will be a big step, since afterwards they should commit to the API as published.


DRAFT refactoring

I will create a proper ticket and update the PR title before removing the DRAFT status on this.
The application runs, but there is a problem with the management tests, and I have not manually tested the API functionality since halfway through these commits. There are also places where I may have guessed wrong.

"One minor comment over all, I'm noticing a difference in convention for namespacing. We have "EdFi.Ods.AdminApp" and "EdFi.Ods.Admin.Api" as root namespaces for these two products. I'm curious if we should consider "EdFi.Ods.AdminApi" as a root namespace to match with Admin App? I know mostly cosmetic however if doing a big refactor, now would be a good time to shift with the other changes."

The C# project is called EdFi.Ods.Admin.Api, so that is what the namespace should be. However, we can change the project and namespace to EdFi.Ods.AdminApi. I don't have a strong feeling either way. At this point changing it is a trivial effort.


Cannot trigger OpenCR sounds when publishing to /sound topic (ROS2 Humble)

ISSUE TEMPLATE ver. 0.4.0

Which TurtleBot3 platform do you use?

[ ] Burger
[x] Waffle
[ ] Waffle Pi

Which ROS is working with TurtleBot3?

[ ] ROS 1 Kinetic Kame
[ ] ROS 1 Melodic Morenia
[ ] ROS 1 Noetic Ninjemys
[ ] ROS 2 Dashing Diademata
[ ] ROS 2 Eloquent Elusor
[ ] ROS 2 Foxy Fitzroy
[x] ROS 2 Humble Hawksbill

Which SBC(Single Board Computer) is working on TurtleBot3?

[ ] Intel Joule 570x
[ ] Raspberry Pi 3B+
[ ] Raspberry Pi 4
[x] UP Squared

Which OS you installed on SBC?

[ ] Raspbian distributed by ROBOTIS
[ ] Ubuntu MATE (16.04/18.04/20.04)
[ ] Ubuntu preinstalled server (18.04/20.04)
[x] Ubuntu 22.04 Server

Which OS you installed on Remote PC?

[ ] Ubuntu 16.04 LTS (Xenial Xerus)
[ ] Ubuntu 18.04 LTS (Bionic Beaver)
[ ] Ubuntu 20.04 LTS (Focal Fossa)
[ ] Windows 10
[ ] MAC OS X (Specify version)
[x] Ubuntu 22.04 LTS (Jammy Jellyfish)

Specify the software and firmware version(Can be found from Bringup messages)

Software version: humble
Firmware version: latest ROS2 version

Specify the commands or instructions to reproduce the issue.
(All running on the SBC):

Launching the robot bringup:
ros2 launch turtlebot3_bringup robot.launch.py

Publishing messages to /sound to trigger sounds from the OpenCR:
ros2 topic pub /sound turtlebot3_msgs/msg/Sound "value: 1"

Copy and Paste the error messages on terminal.

No error messages, just nothing happens

Please describe the issue in detail.
On ROS1 Noetic it was possible to publish messages to the /sound topic to make the OpenCR play a handful of pre-configured sounds. This no longer seems to work with the same robot running ROS2 (Humble), and with the latest ROS2 firmware installed on the OpenCR. Sending messages to the topic (e.g. ros2 topic pub /sound turtlebot3_msgs/msg/Sound "value: 1") seem to have no effect.
On launching the robot bringup, I get a log message from the turtlebot3_node saying "Succeeded to create sound server" and I've confirmed that the topic is visible from a separate terminal when I run ros2 topic list. From a separate terminal I can echo the messages that I'm publishing on /sound (ros2 topic echo /sound) and can confirm that the messages are being published to the topic correctly. Other functionality on the robot works fine (teleoperation etc) and the OpenCR does play the 'doremi' noise on start up, therefore the buzzer is definitely working.
Has this functionality been removed? Or am I doing something wrong?

Hello @tom-howard
In the turtlebot3_node/src/devices/sound.cpp file, you'll notice that sound is managed as a service. After running the bringup on the TurtleBot, you can check if sound is working by entering the following command in the terminal:
ros2 service call /sound turtlebot3_msgs/srv/Sound "{value: 1}"

Please leave a comment if you encounter any other issues.
Thank you!

Ah, that works, thank you!


Fix wrong type on 'is_null'

Closes #385 .

Codecov Report

Merging #393 (b0dd378) into main (a2c1b9c) will not change coverage.
The diff coverage is 100.000%.

@@            Coverage Diff            @@
##              main      #393   +/-   ##
=========================================
  Coverage   96.517%   96.517%
=========================================
  Files           60        60
  Lines         3819      3819
=========================================
  Hits          3686      3686
  Misses         133       133

Impacted Files
Coverage Δ

src/adiar/zdd.h
100.000% <100.000%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Normalization for (Potentially) Multi-Name Lookup Operations: Begins With / Ends With / Contains

The current normalization assumes that all lookups are intended to be some form of an exact match lookup. Some dapps may also wish to build other forms of lookup operations, such as Begins With / Ends With / Contains. Ideally there can be a standardized way to normalize input for these types of queries too.
For example, some dapps might wish to allow a user to find all domains by queries like the following:

Begins With: "AbC"
Begins With: "AbC."
Begins With "AbC.DeF"
Ends With: "AbC"
Ends With: ".AbC"
Ends With "AbC.DeF"
Contains: "AbC"
Contains: ".AbC"
Contains: "AbC."
Contains: ".AbC."
Contains: "AbC.DeF"

In each case above, ideally there would be a standardized way to map from an input string to a normalized "name fragment", rather than a full normalized name.

For a valid implementation, I believe the following hack is a normalized fragment:
fragment.split('.').map(s => ens_normalize('aaa$'+s).slice(4)).join('.')

Emoji in a fragment must be valid.  For reference, each emoji part of a ZWJ emoji sequence (split on 200D) is also a valid emoji.
Both the haystack and needle should probably be in NFD form for best results.

I can add an appendix on string functions in the next update.
For a cleaner future solution, I'll expose the internal normalize function of @adraffy/ens_normalize.js which is effectively ens_normalize_fragment().

I added a short comment about normalized fragments to the ENSIP:
https://github.com/adraffy/ensip-norm/blob/201d440b42aebd64f037a6df112e4d8d975cb5c0/draft.md#normalized-fragments
In @adraffy/ens_normalize.js, I exposed ens_normalize_fragment().  I included some examples which test for containment using a fragment that doesn't normalize according to the full spec:
https://github.com/adraffy/ens-normalize.js/blob/cccde58eb49c895d34d5c64ac1d26b7fe764a9f4/test/fragment.js

I also exposed ens_normalize_post_check() which runs the positional rules on each label (underscore, adjacent combining marks, etc.)
ens_normalize(s) === ens_normalize_post_check(ens_normalize_fragment(s)) source


Initial loading for treegrid is not working

says Object doesn't support this property or method at line " $('.tree').treegrid();"

I need more information


ignore unused code

Hello.
At the moment Nuitka just takes the Python files, optimizes something, converts them to C and compiles them afterwards.
The problem is that Nuitka just converts the whole file. So unused variables, functions, classes and so on are simply compiled with.  Is it possible to do this so that Nuitka compiles only the required code parts?

There have been attempts to detect what modules are used while running the program.
Detected required code parts is rather hard. Nuitka currently doesn't do module level optimization yet, but once it does that, this might be achieved, but probably never perfectly, as it takes a whole program optimization to know what is used. There are e.g. programs that will import __main__ and use things from there. Any other module may still import your module and use what you consider unused on a module level.
However, I have plans to take PGO to a level where from example runs type information is taken, and unused things might be included in the module, but only as bytecode. This will be a while though, as we are still busy trying to get C types in code generation to be more than what they currently are.
Closing, as questions are once answered. The prong of action will be taken independently.


Wrong footnote numbering

Discussed in https://github.com/typst/typst/discussions/4611

Originally posted by arnold-c July 24, 2024
I'm very new to Typst and enjoying the relative ease as creating and editing templates, but I'm stuck trying to get footnotes to work correctly for an article template I'm creating. I've been modifying this template to add things like equal contribution footnotes and noticed that the numbering in the footnotes don't match numbering in the text. I suspect it's a scoping issue related to the for loop that cycles through all authors , but I'm not sure how to fix that issue. This issue persists in the rest of the document as well (see page 2)
One thought I had was to try and create a footnote numbering system that only provides one option, but while I could get that to work outside of a footnote call, it seems like the footnote function has some restrictions on the numbering system that can be implemented (see the end of page 2)
The document can be found here
Thanks!

See https://github.com/typst/typst/discussions/4611#discussioncomment-10246089


Use the latest Firefox version in Cypress tests

Description
Firefox 124 includes a change that broke Cypress, and we had to pin Firefox on v123 to unblock our CI pipelines.
The Cypress team has addressed the issue, and the fix is now available in v13.7.1.
TODOs:

Upgrade Cypress to v13.7.1+
Revert https://github.com/freeCodeCamp/freeCodeCamp/pull/54154

Upgrade Cypress

Why not channel efforts into moving away to playwright?


When trying to add service data to 2nd notification the data gets removed after saving

Hi Niels,
I've just tried to add a HTML5 notification to my existing iOS notification.
However when adding the servicedata in the yaml editor in the same way you add extra data to the iOS notification the extra servicedata get's deleted again after clicking the save button.
This is the yaml I see when opening the editor:
name: Alarm Away Notify
modes:
  - armed_away
triggers:
  - state: triggered
actions:
  - service: notify.mobile_app_iphone_11_van_bob
    service_data:
      message: 'The alarm is triggered! Cause: {{open_sensors}}.'
      title: Alarm!
      data: &ref_0
        attachment:
          content-type: jpeg
        entity_id: camera.mycamera
        push:
          category: CAMERA
          sound:
            critical: 1
            name: US-EN-Alexa-Motion-Detected-Generic.wav
            volume: 1
  - service: notify.html5
    service_data:
      message: 'The alarm is triggered! Cause: {{open_sensors}}.'
      title: Alarm!
      data: *ref_0
area: '1611601388'

Then I change it to this (I purposely left the '&ref_0 and '*ref_0' parts in as I guessed these are related to your code):
name: Alarm Away Notify
modes:
  - armed_away
triggers:
  - state: triggered
actions:
  - service: notify.mobile_app_iphone_11_van_bob
    service_data:
      message: 'The alarm is triggered! Cause: {{open_sensors}}.'
      title: Alarm!
      data: &ref_0
        attachment:
          content-type: jpeg
        entity_id: camera.mycamera
        push:
          category: CAMERA
          sound:
            critical: 1
            name: US-EN-Alexa-Motion-Detected-Generic.wav
            volume: 1
  - service: notify.html5
    service_data:
      message: 'The alarm is triggered! Cause: {{open_sensors}}.'
      title: Alarm!
      data: *ref_0
        actions:
          - action: sound_alarm
            icon: "/static/icons/favicon-192x192.png"
            title: Sound alarm!
area: '1611601388'

Then after saving the above and reopening the editor I see this first part of code again with this part missing:
data:
  actions:
    - action: sound_alarm
      icon: "/static/icons/favicon-192x192.png"
      title: Sound alarm!

p.s.: when I remove the '&ref_0 and '*ref_0' parts the code gets removed aswell, also these parts of code get placed back automatically aswell.
p.p.s. love the new 1.5.0 layout and the area addition!

I must say I never tested this scenario, I never expected the actions to get mixed up.
I will try if I can reproduce it, because what you’re trying should just work.
The ref_0 pointers are not created by Alarmo anywhere. But they are allowed in yaml: https://support.atlassian.com/bitbucket-cloud/docs/yaml-anchors/

I must say I never tested this scenario, I never expected the actions to get mixed up.
I will try if I can reproduce it, because what you’re trying should just work.
The ref_0 pointers are not created by Alarmo anywhere. But they are allowed in yaml: https://support.atlassian.com/bitbucket-cloud/docs/yaml-anchors/

This problem should be solved with https://github.com/nielsfaber/alarmo/commit/b550f8df89a59ca2fb88b9e056fbcf8a70780045
It has to do with the fact that the UI editor only supports a single notification (which can be sent to multiple targets).
When you save the notification with 2 different notifications, it is stored correctly.
But as you edit this notification again (or even switch from yaml -> UI editor) all notifications would get overwritten by the first one.
The bottom line is: if you want to create multiple different notifications, stick to the yaml editor.
Your data should remain intact with the fix.

This problem should be solved with https://github.com/nielsfaber/alarmo/commit/b550f8df89a59ca2fb88b9e056fbcf8a70780045
It has to do with the fact that the UI editor only supports a single notification (which can be sent to multiple targets).
When you save the notification with 2 different notifications, it is stored correctly.
But as you edit this notification again (or even switch from yaml -> UI editor) all notifications would get overwritten by the first one.
The bottom line is: if you want to create multiple different notifications, stick to the yaml editor.
Your data should remain intact with the fix.

v1.5.2 is released which contains this fix.
Please test it and close the issue if the problem is resolved.

v1.5.2 is released which contains this fix.
Please test it and close the issue if the problem is resolved.

Works perfectly! Thanks

Works perfectly! Thanks


Restructuring Gradle Build Phase #1 - Getting it to build from the top without tests or OSGI

I think I now have the Gradle buidl where people can actually play with it seriously and find the gaps (issues) in the created JARs. Instead of soldiering on to get everything completed, I think early feedback would be much better. Feel free to ask me questions in Gitter or just add comments to this PR. For full details what is invovled it is worth reading the migration notes: https://github.com/ysb33r/ceylon/blob/gradle_build/gradle-migration.adoc.
Main features:

It builds from the top using ./gradlew build (I suggest using --daemon as a command-line switch as successive builds will speed up).
A major refactoring of settings.gradle to accommodate renaming every subproject's build.gradle to a name close to the name of the subproject. Normally I would not do this, but I think due to the number of subprojects it  brings more clarity.
Most of the subprojects are now pure Gradle. (A notable exception being language).
There is a buildSrc with some custom plugin code that I wrote to deal with the complexities of this project and to keep the build scripts as clean as possible.
To make migration easier, the build still reads common-build.properties and injects those values into a Geadle extension known as cbp. This means you can get hold of a property such as ceylon.version by simply referrign to cbp.'ceylon.version'.
Checksums and timestamping are handled via buildSrc
UTF-8 escaping is automatically handled via Gradle's processResources task. If it detects a *.utf8properties file it would automatically apply a Utf8Escape filter to the copy process.
There are two special Gradle script in the gradle folder. One of them is to handle all of the stuff necessary for building Java projects. The other is for wrapping Ant projects, whre migration cannot be completed as yet.

What's missing:

All tests have been disabled. Th next step would probably be to start working through the subprojects one-by-one enabling tests and see what fails.
It does not buils on Windows. I suspect these are relatively minor issues, but here is an example of a failure on Appveyor - https://ci.appveyor.com/project/ysb33r/ceylon/build/gradle_build 5/job/75u4apvinqeqdab8
None of the proxy-bundle stuff has been done.
None of the IDE plugins have been tested (or built for that matter).
Buildign it as a full distribution. I cannot think straight atm, but as I said I would rather get the feedback on the core binaries then get to fix stuff such as bundling later.

Can one of the admins verify this patch? (see README)

Awesome!


RC2 Localization throwing MissingManifestResourceException

I have created a simple console app here: https://github.com/GarageWeb/ResourceTest to demonstrate the issue.
This worked previously.

So, if I move the .resx files to the root of the project instead of in a sub-folder, it works as expected. I have tried every way to embed from a sub-folder and it no longer works. For now I will use this workaround, but I suspect this is a bug.

Same problem here...

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


R bindings

Just a note to let you know I've created bindings for R, modelled off your other bindings code.  It's under development atm (obviously given rlite is!).
Repo is here: https://github.com/richfitz/rrlite
Thanks for making this library: I've been hanging out for someone to do this, as I can think of so many places I could use it! :rocket:

:grinning: Cool. Linked in readme.


Cascading tests

It needs to be convenient to run all the tests in the riff repo from a single command.

Implemented by issue #375.


feat(nodebuilder): log node version on start

Closes #2382

Screenshot

lint but otherwise good.

Updated~

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9b2d82a) 51.30% compared to head (9ada596) 51.21%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3089      +/-   ##
==========================================
- Coverage   51.30%   51.21%   -0.10%
==========================================
  Files         177      177
  Lines       11139    11143       +4
==========================================
- Hits         5715     5707       -8
- Misses       4927     4937      +10
- Partials      497      499       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Issue in running the project

Hi I just downloaded this and imported it into eclipse, but when I try to run the basicExample.java I get,
Error while handshaking Server returned HTTP response code: 400 for URL: http://localhost:3000/socket.io/1/
Any suggestion?

Not behind proxy.
Node server is running on same port 3000(changed in both .js an .java)

I was getting at http://host:3000/socket.io/1/ a message of unknown transport. Seems to be a problem of compatibility with the server version of socket io and this client version.

Yes after some search i got the issue and got it working but will the project be supporting newer version? any idea?


Random Password Generator

Title:
Random Password Generator
Description:
A random password generator is a software program or hardware device that automatically generates a password.
Web stack:
Html,Css and Js
Screenshot(mandatory):

Are you contributing under any open-source program ?
OSEN

As a KWOC Contributor, I would like to work on this issue.

@ayann07 You can work on this issue
But first of ALL TRY TO RAISE A NEW ISSUE regarding this.

I have now raised a new issue.

You are already assigned


get helper silently fails to access number-like keyed items

I thought this was an issue with 'linked' Arrays, but it seems to be more complicated than that. See this twiddle:
export default Ember.Controller.extend({
  numbers:['1','2','3','4'],
  letters:{ '0':'a', '1':'b', '2':'c', '3':'d' }
});

{{#each numbers as | value index |}}
	{{my-component
  	number=value
    letter=(get letters index)
  }}
{{/each}}

The get helper is implemented in Ember itself (not HTMLBars), so this is likely an issue over there.

Oops! Thanks. I misread the test as the implementation :)


Support for RFC 7924/Transport Layer Security (TLS) Cached Information Extension

Hello!
I'd like to see support for RFC 7924 in OpenSSL.Anyone else working on this feature?

I'd also like to see this implemented, as it would be very useful for LTE NB-IoT cloud connected devices.

sure, it's a great feature, we need it too

It's not on the team's roadmap. PR's welcome :)

Is this still not on the roadmap?

I found this message about updating RFC 7924 for TLS 1.3<EMAIL_ADDRESS>Is that something that needs to be done before implementing this feature?


Bump version to 6.2.0

bump version to 6.2.0

Codecov Report

Merging #78 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #78   +/-   ##
=======================================
  Coverage   95.31%   95.31%
=======================================
  Files         306      306
  Lines        4119     4119
  Branches      496      496
=======================================
  Hits         3926     3926
  Misses        172      172
  Partials       21       21

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7843c76...32b860f. Read the comment docs.


selinux.py: Ignore both contexts for NetworkManager_dispatcher_t

Signed-off-by: David Galloway<EMAIL_ADDRESS>

@djgalloway does that mean it will ignore it when it's tcontext or scontext?

@djgalloway does that mean it will ignore it when it's tcontext or scontext?

Yeah, the task just checks for these strings in the logs and ignores the warnings if present


Resource aggregated

Resolve issue #378. The changes here will only keep charge in the resource level aggregated_usage.

Coverage decreased (-4.8%) to 86.767% when pulling c96f18aaaedc15891dbd8483821677c929948c18 on KRuelY:resourceAggregated into 7f4f7f84445263264c0a6f56c0660533b1581b36 on cloudfoundry-incubator:master.

Going to clean up the commits.