text:
Added support for 'encoding' in bag.from_textfiles

When using dask bag to process some text data, I noticed that using UTF-8 encoded input files made the library crash with the ubiquitous UnicodeDecodeError since bytes.decode() was using the default ascii codec in the _chunk_read_file method.
I thus added the possibility to pass 'encoding' as a parameter to the function, solving the issue. I set default value as 'utf-8' but I could modify if there is a better suggestion.

Seems like I went a bit too fast and some tests are still failing. I will fix that!

This looks good.  It would be good to add a test to demonstrate that this works on user-supplied encodings.  This should be added in dask/bag/tests/test_bag.py

Great! Thanks for feedback. Indeed your suggestion is much cleaner and is actually the reason why the tests are failing I'm suspecting. Didn't have much time to investigate it yesterday, but let me clean that up today and push again today.

I have added encoding support to to_textfiles as well, and created test_from_filenames_encoding case using Chinese characters and GB18030 encoding.
That specific case is still not passing due to the fact that when chunkbytes is not specified, we don't go through the _chunk_read_file method. So far I haven't had success figuring out how to implement the same functionality for that case, keep looking...

Hrm, arguably we should be decoding byte strings coming off of from_filenames when we don't use chunkbytes.  One could make a little function and then wrap it around the call to myopen.
def decode_sequence(encoding, seq):
    for item in seq:
        seq.decode(encoding)

(myopen, fn) -> (decode_sequence, encoding, (myopen, fn))

It might be nice to measure if this slows down performance measurably.

This particular implementation still leaves me with a 'NoneType' object is not iterable error (I tried adding checks on seq and item just out of curiosity, but result is the same). At this point I'm still not familiar enough with all the logic to find a solution quickly, maybe you can help me shed some light on this.

Yeah, sorry, my little function was wrong in a couple of ways.  Edited.  Hopefully it makes more sense now

Yep, this did the trick! Should've thought about using yield. Anyways, also had to modify test cases for compressed files, to add the decoding step in the manually created task lists.
I also had to enforce binary read mode when opening compressed text files (adding "rb" option to myopen), to ensure py2/3 compatibility.

Just added proper logic and testing for custom encoding when using to_textfiles. I had to switch to codecs.open instead of the barebones open function to enforce encoding. To my knowledge it does not affect anything.
Everything seems to be good to go, if you can have a look and confirm it is up to standards. Thanks!

This looks good to me.  Merging soon if no other comments.

Thanks @fortiema !  This is in.

Great, cheers!

Heh, and if you're looking around for other projects.  dask.dataframe's treatment of encodings could probably use a careful eye.  In particular https://github.com/blaze/dask/issues/606  :)

Sure thing, let me have a look as soon as I have some free time. Probably gonna end up needing it sooner than later, this is the joys of having to work with Chinese :P

authors: fortiema mrocklin

repo: ContinuumIO/dask


text:
SAS7BDAT backend

Following this conversation, it appears that sas7bdat now supports Python 3. This leverages the latest package, which can read compressed and uncompressed data. Some notes:
Since sas7bdat doesn’t write files, I’m not sure how to do the test data, other than put it in the repo, which seems odd
I don’t have a sense about cost weights. The conversions are unlikely to be a “middle step” though so it probably doesn’t matter.
This can get better if I get access to data that is more than either ‘string’ or ‘numeric’ types
Renaming sql_csv.py:excute_copy -> execute_copy causes an error, so I changed it to a (hopefully) meaningful name, just not the same name as the decorator

This looks pretty slick.
Into has gotten smarter in recent months, so I've marked a couple of functions that probably no longer need to exist.  Otherwise things look nice.
Regarding test data.  Is there any way to use sas7bdat to create SAS files that we could use for testing?

We'll also need to import it as is done here https://github.com/ContinuumIO/into/blob/master/into/init.py#L17-L20
and add sas7bdat to .travis.yml

Do you know how we would create an sas file from any sort of object (e.g. a Pandas DataFrame?)

No, but @jaredhobbs might know how to create such a SAS file.

It would save us from having to hold on to binary data in the repository.  It would also be nice to craft particular datasets to test certain things.

Unfortunately, the sas7bdat library is read-only. The format is closed and the only way we're able to read the data is through reverse engineering the format. While this seems to work ok for reading, there are still a lot of holes in the format that are not fully understood. Unless sas opens the format or someone can provide the missing information on the spec, there won't be any write support.

Good to know.  Thanks for the work that's already there and for chiming in.

This work revealed the following issue (and subsequent fix):
https://bitbucket.org/jaredhobbs/sas7bdat/pull-request/5/unicode-fix-for-python-3/diff

Thanks for the fix. I merged the change and released v2.0.3

same behavior in Python 2.7 and 3.x now. Work arounds for Python 2.6.

Awesome.  Sorry to leave this lingering.  My bandwidth has been severely limited the last couple of days.  Should definitely have some time on Monday to finish this up.

@mrocklin only question I had was on the way I worked around Python 2.6. Happy to get any other feedback here too.

I also removed the use of setting skip_header.  This seemed a bit invasive.  This did require a few changes upstream though.  Work here https://bitbucket.org/jaredhobbs/sas7bdat/pull-request/6/python-26-compatibility-and-iterator-fix/diff
Last time around @jaredhobbs was pretty speedy about merging and updating.  Here's hoping for a repeat performance :)
@talumbau I'll push my changes to fork and issue another PR.

Looks like @jaredhobbs has merged and updated PyPI.  I'm good to merge with the changes in my PR to @talumbau .  Are you ok with those changes?  If so I'll go ahead and merge both into master.

I agree with the changes and thanks for the 2.6 fixes. Also thanks @jaredhobbs for the quick merge!

This is in.  Thanks all.

source: gharchive/pull-request

authors: jaredhobbs mrocklin talumbau

repo: ContinuumIO/into

license_type: permissive

license_source: github-api


text:
I am able to Send Note to Myself on Send Note button

Put a check that the user to whom the note is to be sent is not the same

assigned to @JainendraDwivedi

@me-abhinav-1001 sir, I linked a PR.

@me-abhinav-1001 sir, I linked a PR.

@JainendraDwivedi Yeah the PR has been merged sorry for the delay

source: gharchive/issue

repo: ContriHUB/Sticky-Notes

license: MIT


text:
React-player forces global Promise to es6-promise

I use the great https://github.com/este/este boilerplate, which relies on the global promise being Bluebird. However importing react-player changes that to es6-promise.
Could react-player be changed so that it doesn't affect the global Promise?

Hey @sedubois what errors are you getting? I'm assuming that moving to a proper webpack polyfill will solve your issue but I'm just curious.

I'm not terribly familiar with polyfills, here's what I did: https://github.com/belongapp/belong/commit/3897f6c9d97213a60f170026101816c71dfae51b
If I don't add that code in configureBluebird.js, then an unrelated issue arises in the browser: finally undefined in https://github.com/belongapp/belong/blob/master/src/common/app/actions.js#L21, because an es6-promise is thrown instead of bluebird (and finally is only in bluebird API).

Ah I see now. I think the right thing to do is to remove the import line, move the polyfills to the webpack config and simply add a note to the readme telling devs to roll their own polyfill to support older browsers.

Apparently the use of babel-loader means webpack.ProvidePlugin can't be used

This is interesting. I have tested a promise and fetch polyfill using ProvidePlugin like so and it seems to work ok.

@sedubois for your use case, perhaps check out babel-plugin-transform-promise-to-bluebird. From this discussion.

Thanks. I moved to another stack and this might not apply anymore.

No problem. I think your point still stands and that the package should let developers choose to apply their own promise polyfill for older browsers.

Yes! Shall I reopen?

authors: CookPete sedubois

repo: CookPete/react-player


text:
Using Bottleneck features

In the hparams file you have mentioned that use_memory_bottleneck=True,# False baseline. You have indicated that for training a baseline we should set it to false there by resulting in repetition of axillary features to every spectrogram frame. Just wanted to be sure if i need to set to false for baseline training? Thanks for the help.

False would match original tacotron2.
The feature is meant to decrease VRAM usage by mixing the speaker embeddings and torchMoji embeddings in the encoder section of the model and decreasing the dimension of the input to the decoder.

Thanks for the comment. Will keep it true.

authors: CookiePPP kannadaraj

repo: CookiePPP/cookietts


text:
⚠ Samsung has degraded performance

In 0db0a72, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3463 ms

Resolved: Samsung performance has improved in 3267d3b.

repo: CoopPlayzz/Webstatus-electronicbrands


text:
⚠ Samsung has degraded performance

In 6307310, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2872 ms

Resolved: Samsung performance has improved in 3c2d073.


text:
⚠ Fortnite has degraded performance

In dbf15d2, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1397 ms

Resolved: Fortnite performance has improved in 9da775d.

repo: CoopPlayzz/Webstatus-games


text:
Unity keeps crashing - workaround

It's been an issue for some time in which the Unity Editor will randomly crash when using the plugin.

we're still encountering crashes occasionally, usually after a code recompile when Unity attempts to refresh plugins

It seems the plugin gets initialised when you play a Chroma enabled scene in the editor, but stopping the scene will not uninitialise it as the application doesn't actually quit.
As a workaround, and possibly the only solution to the problem, is to manually unitialise onApplicationQuit.
    void OnApplicationQuit()
    {
        Chroma.Instance.Uninitialize();
    }

I'll try and see if the Unity engineers can look into it further, but may require sending them hardware.

I'll close this as the listed workaround seems simple enough to implement. If there's any new info on this, feel free to re-open.

authors: Sharparam njbmartin

repo: CoraleStudios/Colore

license: mit

license_source: bigquery


text:
Support non-disjoint classes in FightingWords

The modal application of the Fighting Words method is to compare two disjoint sets of texts to see which words are characteristic of each. However, the fact that the sets should be disjoint is neither specified in ConvoKit's documentation nor imposed in the paper (Monroe et al (2008) p. 385). But it is implied in the code at the beginning of FightingWords.fit():
        class1, class2 = [], []
        for obj in corpus.iter_objs(self.obj_type, selector):
            if class1_func(obj):
                class1.append(obj)
            elif class2_func(obj):
                class2.append(obj)

where corpus components are classified by means of two provided functions. This leads to the error ValueError: class2_func returned 0 valid corpus components if class2 is a subset of class1 (and undocumented behavior if the converse). But this is a useful case when we're comparing more than two sets of texts in a "one-vs-all" manner.
So if I'm understanding correctly, it might make sense to replace the elif statement here with a plain if.

Good catch. I think this was a condition we specification we imposed because it helped catch cases of overlaps. Though you're right that FightingWords does not require that the two sets of texts be disjoint -- this is often how it's used in practice to evaluate linguistic patterns in two different communities.
That being said, the lack of commutativity you pointed out is problematic...I'm okay with making this change and having users decide for themselves whether they want disjoint sets of texts.
Will make the change tomorrow. LMK if you have any thoughts @cristiandnm

Great catch!  I agree we should let the user decide.  We could throw a
warning if the two sets are overlapping to help the user realize that this
is a non-standard use
On Sat, Dec 10, 2022 at 09:38 Caleb Chiam @.***> wrote:

Good catch. I think this was a condition we specification we imposed
because it helped catch cases of overlaps. Though you're right that
FightingWords does not require that the two sets of texts be disjoint --
this is often how it's used in practice to evaluate linguistic patterns in
two different communities.
That being said, the lack of commutativity you pointed out is
problematic...I'm okay with making this change and having users decide for
themselves whether they want disjoint sets of texts.
Will make the change tomorrow. LMK if you have any thoughts @cristiandnm
https://github.com/cristiandnm
—
Reply to this email directly, view it on GitHub
https://github.com/CornellNLP/ConvoKit/issues/188#issuecomment-1345256055,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCMFE4NAQ5XAYTPCRVIJBLWMR2SVANCNFSM6AAAAAASZXEUB4
.
You are receiving this because you were mentioned.Message ID:
@.***>

authors: amackcrane calebchiam cristiandnm

repo: CornellNLP/ConvoKit


text:
🛑 athonitetestimony.com is down

In de1c3e7, athonitetestimony.com (https://athonitetestimony.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: athonitetestimony.com is back up in 8bb5ab3.

repo: CortexNetwork/uptime


text:
Third Community Call

Following #161 and #178
Next call will be at Tue Apr 7th at 10am CEST (0800 UTC,1:30pm India, 5pm Korea). The time is selected to be accessible to European and Asian-based projects. We will alternate times, every 4 weeks at this time, and every 4 weeks (with 2 week offset), at a more US-friendly time - 6pm CET.
Agenda:

[ ] CosmWasm 0.8 update
[ ] Closing DoS attacks
[ ] IBC / Games of Zones
[ ] Project Sustainability Plans
[ ] Dev Academy Proposal
[ ] Open Q&A

Zoom link: https://zoom.us/j/627731807?pwd=aHlGZzBKUUsxd0hrdURUY2wrR2poUT09
(This is same for all meetings at Asia-friendly times)

The call was a success with 17 participants.
A recording is available at: https://vimeo.com/404945719

repo: CosmWasm/cosmwasm


text:
made every instance of CosmWasm used in .go files cosmwasm.

This makes CosmWasm lowercase in .go files becasue having CosmWasm in the module path can cause trouble.

The canonical repo name was uppercase for some time now, and I did have to update a bunch of go.mod at the beginning but haven't had issues since that.
https://github.com/BurntSushi/toml is a commonly used go package that also has uppercase imports, so this should work. I will look into the starport issue to better understand

Closing this as the upstream issue was closed as well

authors: ethanfrey faddat

repo: CosmWasm/go-cosmwasm


text:
Update vector_tile.py

Thank you for submitting your PR. Please read the template below, fill it out as appropriate, and make additional changes to your code as needed. Please feel free to submit your PR even if it doesn't satisfy all of the requirements below - simply prepend [WIP] to the PR title until it is ready for review by a maintainer. If you need assistance or review from a maintainer, add the label Status: Help Needed or Status: Review Needed respectively. After review, a maintainer will add the label Status: Revision Needed if further work is required for the PR to be merged.
Description
Presently vector_tile breaks if feeding list of sublists containing extents of tiles.  Added an isinstance to handle this.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected - these changes will not be merged until major releases!)

How Has This Been Tested?
Please describe tests that you added to the pytest codebase (if applicable).
Checklist:

[X] My PR has a descriptive title
[X] My code follows PEP8
[X] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new errors
[ ] I have added tests that prove my fix is effective or that my feature works
[x] My PR passes Travis CI tests
[ ] My PR does not reduce coverage in Codecov

If your PR does not fulfill all of the requirements in the checklist above, that's OK! Just prepend [WIP] to the PR title until they are all satisfied. If you need help, @-mention a maintainer and/or add the Status: Help Needed label.

Oh, one more thing on this: Can you add an entry to the CHANGELOG.md file to indicate what you fixed? I'm just trying to get in the habit of updating that to make things easier to track as more people start working on the project.

authors: jshermeyer nrweir

repo: CosmiQ/solaris


text:
Lazy loading implemented

Description

Added lazy import of Components
Added a Loading component so that it can be used anywhere in the code
Removed the initial timeout of 2000ms. Instead, lazy loading will take care of the initial loading.

Fixes #144
Checklist

[x] Code follows the established coding style guidelines

@thestarsahil Could you please review this pr?

repo: Counselllor/Counsellor-Web


text:
[Sdk 954] More refactoring

modules init logic updated
modules consent check logic updated

needs to be redone

authors: ArtursKadikis ZahidZafar

repo: Countly/countly-sdk-java


text:
CASMPET-4277: Switch from keycloak-gatekeeper to oauth2-proxy

This commit includes the following JIRAs:

CASMPET-4714: Update keycloak-installer to reflect new chart setup. (keycloak-setup creates the oauth2-proxy client)
CASMPET-5158: Release keycloak-installer for CSM 1.2 (Releases CASMPET-4714 so the oauth2-proxy client will exist)
CASMPET-5156: Stop deploying keycloak-gatekeeper objects (switch to this version of cray-keycloak-gatekeeeper in csm manifest)
CASMPET-5154: Generate cookie secret and pass to oauth2-proxy
CASMPET-5155: Another oauth2-proxy-ingress for another interface (oauth2-proxy bi-can)
CASMPET-5169: oauth2-proxy v7.1.3 image has several vulnerabilites

While there's still a cray-keycloak-gatekeeper chart it doesn't deploy
any K8s objects anymore. Helm cleans the up the objects on upgrade to
make room for the oauth2-proxy objects. The keycloak-gatekeeper image
is no longer used.
The randstr generator is enhanced to allow it to generate a cookie
value that's valid for the oauth2-proxy.
See https://oauth2-proxy.github.io/oauth2-proxy/docs/configuration/overview/ ,
"Generating a Cookie Secret" in the "Bash" tab. This is used to
generate SealedSecrets used by the cray-oauth2-proxies chart.
the cray-keycloak chart no longer creates the oauth2-proxy client
(added recently to 1.2 only), it now creates 3 oauth2-proxy-*
clients, one for each interface (this is to support Bi-CAN).

I've tried out the customizations.yaml changes on virtual shasta as best as I can.

repo: Cray-HPE/csm


text:
CASMCMS-8532: Update BOS for actual state cleanup operator fix (1.4)

Summary and Scope
Updates BOS to pull in a fix for the actual state cleanup operator, which was trying a PATCH operation with an invalid field.
Issues and Related PRs

Resolves CASMCMS-8532

Testing
Tested on:

Mug

Test description:
Validated the operator was correctly patching state.
Risks and Mitigations
None
Pull Request Checklist

[X] Version number(s) incremented, if applicable
[X] Copyrights updated
[X] License file intact
[X] Target branch correct
[X] CHANGELOG.md updated
[X] Testing is appropriate and complete, if applicable
[X] HPC Product Announcement prepared, if applicable

I think this PR is superseded by my BOS PR: https://github.com/Cray-HPE/csm/pull/2406

Another PR already bumped this to 2.0.21 (https://github.com/Cray-HPE/csm/pull/2406/files).  Closing this PR as it looks like these changes were already incorporated.

authors: gbaker-hpe mharding-hpe rbak-hpe


text:
App crashes when adding label in very specific circumstance

:writing_hand: Describe the bug
If I try to add a label to a habit that doesn't already have one, To Don't crashes.
:bomb: Steps to reproduce

Don't create any labels after installing the app.
Make a habit.
Create a label.
Try adding the new label to the habit.
Sad face as app crashes.

:wrench: Expected behavior
The label should be added. If this can't be done, prevent creating habits until a label exists.
:iphone: Tech info

Device: Samsung A20
OS: 10
App Version: 1.0 beta

May you please check if the bug is gone with v1.1, @xander-page? It might be fixed already. 😀
But @arafaatqureshi will check it again because he will have access to a Samsung A20 in a few days. 👌

@xander-page, does this still occur in v1. 3?

Please re-open if this issue is not solved. It looks fine on the devices I used for testing.

authors: CrazyMarvin xander-page

repo: Crazy-Marvin/ToDont


text:
🛑 sneak.page is down

In 6c7ac2b, sneak.page (https://sneak.page) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sneak.page is back up in 84256b7 after 8 minutes.

repo: Crazy-Marvin/upptime


text:
🛑 sneak.page is down

In 007d1f4, sneak.page (https://sneak.page) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sneak.page is back up in 1a5612a after 22 minutes.


text:
🛑 sneak.page is down

In f4556e8, sneak.page (https://sneak.page) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sneak.page is back up in 6b54647 after 39 minutes.


text:
Add all team members to the website

If they have a LinkedIn, you can get the title, photo and degree name from there else ask them for it

@caitlin-mcdougall Irina sent a pull request the other day and now everyone is up. Can you confirm if everyone's there?

Is this complete? Can I close the issue?

authors: GaganSD martinstarkov


text:
Unable to launch game

Using the Java 1.8 version of the mod along with the fabric API the game is unable to boot
// There are four lights!

Time: 13/03/21 4:21 PM
Description: Initializing game

java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'create'!
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:53)
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:36)
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointClient.start(EntrypointClient.java:32)
	at net.minecraft.class_310.<init>(class_310.java:437)
	at net.minecraft.client.main.Main.main(Main.java:177)
	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:497)
	at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226)
	at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:139)
	at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:27)
Caused by: java.lang.NoClassDefFoundError: me/shedaniel/autoconfig/ConfigData
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:163)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at com.simibubi.create.Create.onInitialize(Create.java:44)
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointClient$$Lambda$2205/1495413647.accept(Unknown Source)
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50)
	... 11 more
Caused by: java.lang.ClassNotFoundException: me.shedaniel.autoconfig.ConfigData
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:168)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 19 more

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Stacktrace:
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:53)
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:36)
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointClient.start(EntrypointClient.java:32)
	at net.minecraft.class_310.<init>(class_310.java:437)

-- Initialization --
Details:
Stacktrace:
	at net.minecraft.client.main.Main.main(Main.java:177)
	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:497)
	at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226)
	at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:139)
	at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:27)

-- System Details --
Details:
	Minecraft Version: 1.16.5
	Minecraft Version ID: 1.16.5
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_51, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 553954576 bytes (528 MB) / 2013265920 bytes (1920 MB) up to 2147483648 bytes (2048 MB)
	CPUs: 4
	JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
	Fabric Mods:
		advanced_runtime_resource_pack: Runtime Resource Pack 0.3.7
		create: Create Fabric 0.1.0
		fabric: Fabric API 0.32.0+1.16
		fabric-api-base: Fabric API Base 0.2.1+9354966b7d
		fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.0.0+dc716ea17d
		fabric-biome-api-v1: Fabric Biome API (v1) 3.1.1+ca58154a7d
		fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.5+ca58154a7d
		fabric-command-api-v1: Fabric Command API (v1) 1.1.0+f9b3753b7d
		fabric-commands-v0: Fabric Commands (v0) 0.2.2+ca58154a7d
		fabric-containers-v0: Fabric Containers (v0) 0.1.11+9354966b7d
		fabric-content-registries-v0: Fabric Content Registries (v0) 0.2.1+ca58154a7d
		fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.3+ca58154a7d
		fabric-dimensions-v1: fabric-dimensions-v1 2.0.6+9354966b7d
		fabric-entity-events-v1: Fabric Entity Events (v1) 1.0.3+ca58154a7d
		fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.2+ca58154a7d
		fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.1+ca58154a7d
		fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.6+ca58154a7d
		fabric-item-api-v1: Fabric Item API (v1) 1.2.1+ca58154a7d
		fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.3+ca58154a7d
		fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.4+9354966b7d
		fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.1+ca58154a7d
		fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.2.1+ca58154a7d
		fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.2+ca58154a7d
		fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.3+ca58154a7d
		fabric-models-v0: Fabric Models (v0) 0.2.1+ca58154a7d
		fabric-networking-api-v1: Fabric Networking API (v1) 1.0.1+ca58154a7d
		fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.8+ca58154a7d
		fabric-networking-v0: Fabric Networking (v0) 0.3.2+ca58154a7d
		fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.9.4+9354966b7d
		fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.2+ca58154a7d
		fabric-particles-v1: Fabric Particles (v1) 0.2.4+ca58154a7d
		fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.4+ca58154a7d
		fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.1+ca58154a7d
		fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.4+ca58154a7d
		fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 2.2.1+ca58154a7d
		fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.5+ca58154a7d
		fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.13+ca58154a7d
		fabric-rendering-v0: Fabric Rendering (v0) 1.1.2+ca58154a7d
		fabric-rendering-v1: Fabric Rendering (v1) 1.5.1+ca58154a7d
		fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.2+ca58154a7d
		fabric-screen-api-v1: Fabric Screen API (v1) 1.0.0+c045166c7d
		fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.5+9354966b7d
		fabric-structure-api-v1: Fabric Structure API (v1) 1.1.4+ca58154a7d
		fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.1.1+ca58154a7d
		fabric-textures-v0: Fabric Textures (v0) 1.0.6+ca58154a7d
		fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.6+ca58154a7d
		fabricloader: Fabric Loader 0.11.1
		java: Java HotSpot(TM) 64-Bit Server VM 8
		minecraft: Minecraft 1.16.5
	Launched Version: fabric-loader-0.11.1-1.16.5
	Backend library: LWJGL version 3.2.2 build 10
	Backend API: NO CONTEXT
	GL Caps:
	Using VBOs: Yes
	Is Modded: Definitely; Client brand changed to 'fabric'
	Type: Client (map_client.txt)
	CPU: <unknown>

Create Fabric depends on AutoConfig (part of Cloth Config), but we forgot to specify it as a dependency, so it crashed instead (we'll fix this soon). If you install one of the newer versions of Cloth Config it should launch, but generally the mod is not at the point of being playable yet.

repo: Create-Fabric/Create-Fabric


text:
Sass variables should be namespaced

Your Sass variables aren't namespaced, which makes integration a little harder into existing projects. I personally added a mdp- prefix to the variables for my use case, but you shouldn't feel constrained by that.

Thanks, done!

authors: CreaturesInUnitards isiahmeadows

repo: CreaturesInUnitards/mithril-datepicker


text:
Tank should need 10 wheels to craft

The model has 10 wheels

Good observation I guess... but crafting table is limited to 9 slots??? I mean it is meant to be implied, the three on the bottom aren't one wheel each... they are plural for a reason. The TEXTURE is just one wheel. Is that okay?

Ok but... You could make a recipe asking for 5 wheels and 4 other things, and that makes 1 belt and you need 2 to make tank

authors: Crescentine Samisaprogrammer

repo: Crescentine/Tank-Mod


text:
Windows warns about running scaffolding.exe

Environment:
Windows 10
Steps to reproduce:
Download latest scaffolding.exe
Double-click scaffolding.exe
Result:

Windows Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk.

You have to click "More info" and "Run away" to run the exe.

This is partly impossible to fix. Windows Defender uses multiple sources to determine if an app is unrecognized, including if it is signed (possible to fix) and global usage statistics (which will be hard).
I will close this with the wontfix-label as a signed executable will only get us so far.

authors: Arthyon HenningKlokkeraasen

license: unlicense


text:
IPv4 addressing

MicroByte Title: IPv4 addressing
Domain:
Networking
Scope of learning for learners:
Learning about classfull and classless IP addressing
Activities:
Conversion from dotted decimal format to binary and vice-versa, finding network mask,identifying different classes of IP addresses etc

Kindly use bullet points. Makes it more readable.

authors: Ak-Shaw Anjalikamath

repo: Crio-Bytes/Networking


text:
🛑 cris book is down

In 571edd6, cris book (http://cristo.top/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cris book is back up in a1f50ff after 49 minutes.

repo: CristoMonte/uptime-demo


text:
🛑 cris book is down

In 0bc0d80, cris book (http://cristo.top/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cris book is back up in 676fa46 after 12 minutes.


text:
http: ^0.13.3 - Version solving failed

I'm using flutter_plugin_pdf_viewer: ^1.0.7
But when flutter pub get
Error occurs
So, because app depends on both http ^0.13.3 and flutter_plugin_pdf_viewer ^1.0.7, version solving failed.
pub get failed (1; So, because app depends on both http ^0.13.3 and flutter_plugin_pdf_viewer ^1.0.7, version solving failed.)
exit code 1

This repositrory is not maintained rn. Try alternatives.

This repositrory is not maintained rn. Try alternatives.

Any alternatives you can recommend?

I've cloned it here

authors: TiagoDelatorre gegobyte jawadsahil


text:
FMFR-708 - Add the ability to upload the supplier data

Create and add new columns
Make adjustments to show the uploads
Add upload of the files
Add uploads into the importer
Add the file importer for MC
Remove uneeded workers and tasks
Add importer with progress bar
Add checking of the files when uploaded
Use different validations depending on the date
Update the copy to show the current published data
Update the show page for published files
Update the show page and in progress page
Update how we collect errors for the supplier
Show the errors if the upload fails
Update the import process
Add tests for admin upload model
Add tests for the uploads helper
Add tests within the uploads controller
Add template files for download
Add tests for checking the files
Complete the tests for the import of the files
Add tests for MCF3
Add authorisation for downloading the files
Refactor file processor
Refactor the files checker
Change to different approach

nice demo

authors: Chee-Ng tim-s-ccs


text:
Systemnodes die without logs

Which version of Crown are you using? (QT or Daemon) Please include the version number.
v0.12.5.3
I didn't have such problems on previous release.
Last logs from SN

System log

I don't know how to debug more...

@skironDotNet Is this still an issue with 0.13.4?

No, all stable since the release. Thanks!

authors: defunctec skironDotNet

repo: Crowndev/crown-core


text:
Update README.md

Add my name/link

@UchihaCFC ya está solucionado un conflicto que habia en el archivo, se puede validar el Merge ya?

Gracias @aesthezel pon el rol en Notion también porfa

Ya está, David Pino aparezco en la tabla.


text:
Several instances with singleSelection=true break

If we have several instances of the dropdown in the same component with singleSelection=true we always get an empty list from all those dropdowns even after selecting a result. It works well and as expected for dropdowns in the same component but without singleSelection=true.

working as expected. See example http://localhost:4200/#/multipledropdowns and add the single selection setting

authors: CuppaLabs Shemahmforash


text:
Lint fix

Related Issues
Fixes #.
Summary
Change the single quotes to escaped double quotes:
- "prettier --write '.{js,json,md}` ... "
+ "prettier --write \".{js,json,md}\" ..."

Check List

[ ] yarn run prettier for formatting code and docs

Changing from ' to \" should be fine.
What OS are you using?
Does yarn run eslint work?
Feel free to open a new PR to the upstream repo.

Changing from ' to \" should be fine. What OS are you using? Does yarn run eslint work?
Feel free to open a new PR to the upstream repo.

this is pretty much the same error prettier was throwing before.
 ~#@❯  yarn run eslint     ❮
yarn run v1.22.19
warning ..\..\..\package.json: No license field
$ eslint --fix '*.{js,json}' '{src,tests}/**/*.{ts,tsx}'

Oops! Something went wrong! :(

ESLint: 8.22.0

No files matching the pattern "'*.{js,json}'" were found.
Please check for typing mistakes in the pattern.

error Command failed with exit code 2.

I changed eslint in the same way:
-    "eslint": "eslint --fix '*.{js,json}' '{src,tests}/**/*.{ts,tsx}'",
+    "eslint": "eslint --fix \"*.{js,json}\" \"{src,tests}/**/*.{ts,tsx}\"",

there is an error which I did not get with prettier:
 ~#@❯  yarn run eslint     ❮  2s 95ms 
yarn run v1.22.19
warning ..\..\..\package.json: No license field
$ eslint --fix "*.{js,json}" "{src,tests}/**/*.{ts,tsx}"

Oops! Something went wrong! :(

ESLint: 8.22.0

ESLint couldn't find the config "react-app" to extend from. Please check that the name of the config is correct.

The config "react-app" was referenced from the config file in "myPC\zustand\examples\package.json".

If you still have problems, please stop by https://eslint.org/chat/help to chat with the team.

error Command failed with exit code 2.

authors: Cuppachino dai-shi

repo: Cuppachino/zustand


text:
JoinRoom Page as JoinRoom.jsx

Created up a create JoinRoom Page

@thecuriousteam

repo: Curious-Ecosystem/Curious-Connect


text:
🛑 网页部作业一（镜像）corex.se is down

In 055cab6, 网页部作业一（镜像）corex.se (http://网页部作业.corex.se) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 网页部作业一（镜像）corex.se is back up in 24be77d after 9 minutes.

repo: Cutiei/Uptime


text:
pub.dev analysis issue

pub.dev has an analysis issue for the project so we got a low score.
Not sure what I need to do to fix that, help will be welcomed.
https://pub.dev/packages/tizen_api

Done :)


text:
Issues validating

I tried validating if svg could be a child of label and the page seems to error out. I get a warning saying "Some values from parameters were not found" and the webpage shows skeleton components. I tried using Vivaldi (Chrome) and Firefox and got the same results.
If I change the child to something like p or button, the validation works. So it seems to be choking on svg?

I bumped into a similar problem trying to validate svg as child of button. The issue seems to be using svg indeed

authors: Tolomeo zarahzachz


text:
Question about test order

This code references placing real orders if the test order does not throw:
https://github.com/CyberPunkMetalHead/Binance-volatility-trading-bot/blob/172cc44e33078f9fd33de3a7bace60f1fa8725a0/Binance Detect Moonings.py#L223-L238
In my test runs the throw crashes the app, is this expected behavior? I wouldn't expect to handle this code with a uncaught exception but instead log the exception
e.g.
if TESTNET:
    # create test order before pushing an actual order
    try:
        test_order = client.create_test_order(symbol=coin, side='BUY', type='MARKET', quantity=volume[coin])

    except Exception as e:
        print(f'An error occurred placing the test order {e}')

    #try to create a real order if the test orders did not raise an exception
    try:
        buy_limit = client.create_order(
            symbol = coin,
            side = 'BUY',
            type = 'MARKET',
            quantity = volume[coin]
        )

     # error handling here in case position cannot be placed
      except Exception as e:
          print(e)

bump

@O-Mutt This still happening?

No response. If happening. I need to know the exception please.

authors: O-Mutt djhashh getsec


text:
Binary Upload issue

I'm having a hard time uploading this binary to the API via the Python Client and I'm not sure what is causing it.  I've gotten other files to upload fine.  Can you give it a test and see if you get the same issue?  https://www.virustotal.com/gui/file/0daf9641eeae88c5fcaea19894407d0673c07198376d84dc6955de2fc689ddef

I tried as hard as I could to make this crash but couldn't. I tried with the the path, the file handle and the content. Never could make it crash.
In [17]: al_client.ingest(path='0daf9641eeae88c5fcaea19894407d0673c07198376d84dc6955de2fc689ddef')
Out[17]: {'ingest_id': '4GDY3Jqw09TAbihkagxAHL'}

In [18]: al_client.ingest(fh=open('0daf9641eeae88c5fcaea19894407d0673c07198376d84dc6955de2fc689ddef', 'rb'))
Out[18]: {'ingest_id': '3O66gnqqKVotbEjBILALoh'}

In [19]: al_client.ingest(content=open('0daf9641eeae88c5fcaea19894407d0673c07198376d84dc6955de2fc689ddef', 'rb').read())
Out[19]: {'ingest_id': '28qDpdJmdNwSgLuvjYvVXy'}

In [20]: al_client.submit(content=open('0daf9641eeae88c5fcaea19894407d0673c07198376d84dc6955de2fc689ddef', 'rb').read())
Out[20]:
{'archive_ts': None,
 'classification': 'TLP:W',
 'error_count': 0,
 'errors': [],
 'expiry_ts': '2022-11-16T18:36:02.435099Z',
 'file_count': 1,
 'files': [{'name': '0daf9641eeae88c5fcaea19894407d0673c07198376d84dc6955de2fc689ddef',
   'sha256': '0daf9641eeae88c5fcaea19894407d0673c07198376d84dc6955de2fc689ddef',
   'size': 6962837}],
 'max_score': 0,
 'metadata': {},
 'params': {'auto_archive': False,
  'classification': 'TLP:W',
  'deep_scan': True,
  'description': 'Inspection of file: 0daf9641eeae88c5fcaea19894407d0673c07198376d84dc6955de2fc689ddef',
  'generate_alert': False,
  'groups': ['USERS'],
  'ignore_cache': True,
  'ignore_dynamic_recursion_prevention': False,
  'ignore_filtering': False,
  'ignore_size': False,
  'initial_data': None,
  'malicious': False,
  'max_extracted': 500,
  'max_supplementary': 500,
  'never_drop': False,
  'priority': 1000,
  'profile': False,
  'psid': None,
  'quota_item': True,
  'service_spec': {},
  'services': {'excluded': [],
   'rescan': [],
   'resubmit': [],
   'runtime_excluded': [],
   'selected': ['Static Analysis']},
  'submitter': 'admin',
  'ttl': 30,
  'type': 'USER'},
 'results': [],
 'scan_key': None,
 'sid': '4iAgzsB6XbI7E37PUbYPOi',
 'state': 'submitted',
 'times': {'completed': None, 'submitted': '2022-10-17T18:36:02.592239Z'},
 'verdict': {'malicious': [], 'non_malicious': []}}

In [21]: al_client.submit(fh=open('0daf9641eeae88c5fcaea19894407d0673c07198376d84dc6955de2fc689ddef', 'rb'))
Out[21]:
{'archive_ts': None,
 'classification': 'TLP:W',
 'error_count': 0,
 'errors': [],
 'expiry_ts': '2022-11-16T18:36:11.580617Z',
 'file_count': 1,
 'files': [{'name': '0daf9641eeae88c5fcaea19894407d0673c07198376d84dc6955de2fc689ddef',
   'sha256': '0daf9641eeae88c5fcaea19894407d0673c07198376d84dc6955de2fc689ddef',
   'size': 6962837}],
 'max_score': 0,
 'metadata': {},
 'params': {'auto_archive': False,
  'classification': 'TLP:W',
  'deep_scan': True,
  'description': 'Inspection of file: 0daf9641eeae88c5fcaea19894407d0673c07198376d84dc6955de2fc689ddef',
  'generate_alert': False,
  'groups': ['USERS'],
  'ignore_cache': True,
  'ignore_dynamic_recursion_prevention': False,
  'ignore_filtering': False,
  'ignore_size': False,
  'initial_data': None,
  'malicious': False,
  'max_extracted': 500,
  'max_supplementary': 500,
  'never_drop': False,
  'priority': 1000,
  'profile': False,
  'psid': None,
  'quota_item': True,
  'service_spec': {},
  'services': {'excluded': [],
   'rescan': [],
   'resubmit': [],
   'runtime_excluded': [],
   'selected': ['Static Analysis']},
  'submitter': 'admin',
  'ttl': 30,
  'type': 'USER'},
 'results': [],
 'scan_key': None,
 'sid': '5bS5BvAP2Uu82d5tSUy9SI',
 'state': 'submitted',
 'times': {'completed': None, 'submitted': '2022-10-17T18:36:11.769336Z'},
 'verdict': {'malicious': [], 'non_malicious': []}}

In [22]: al_client.submit(path='0daf9641eeae88c5fcaea19894407d0673c07198376d84dc6955de2fc689ddef')
Out[22]:
{'archive_ts': None,
 'classification': 'TLP:W',
 'error_count': 0,
 'errors': [],
 'expiry_ts': '2022-11-16T18:36:20.271851Z',
 'file_count': 1,
 'files': [{'name': '0daf9641eeae88c5fcaea19894407d0673c07198376d84dc6955de2fc689ddef',
   'sha256': '0daf9641eeae88c5fcaea19894407d0673c07198376d84dc6955de2fc689ddef',
   'size': 6962837}],
 'max_score': 0,
 'metadata': {},
 'params': {'auto_archive': False,
  'classification': 'TLP:W',
  'deep_scan': True,
  'description': 'Inspection of file: 0daf9641eeae88c5fcaea19894407d0673c07198376d84dc6955de2fc689ddef',
  'generate_alert': False,
  'groups': ['USERS'],
  'ignore_cache': True,
  'ignore_dynamic_recursion_prevention': False,
  'ignore_filtering': False,
  'ignore_size': False,
  'initial_data': None,
  'malicious': False,
  'max_extracted': 500,
  'max_supplementary': 500,
  'never_drop': False,
  'priority': 1000,
  'profile': False,
  'psid': None,
  'quota_item': True,
  'service_spec': {},
  'services': {'excluded': [],
   'rescan': [],
   'resubmit': [],
   'runtime_excluded': [],
   'selected': ['Static Analysis']},
  'submitter': 'admin',
  'ttl': 30,
  'type': 'USER'},
 'results': [],
 'scan_key': None,
 'sid': '57tqmEmGoYJWUNiydJqEPD',
 'state': 'submitted',
 'times': {'completed': None, 'submitted': '2022-10-17T18:36:20.455677Z'},
 'verdict': {'malicious': [], 'non_malicious': []}}

After doing more testing (network sniffing, application monitoring), the file is being uploaded to the nginx container, but with an "empty" MIME encoded file. No drops, missing pkts, etc.  The UI container never gets the file, but does get the POST minus the file. My guess is that when the nginx is failing to store/save the uploaded file correctly and then it goes to upload it to the ui container, it sends the empty file.

For future users that might hit this issue, the problem was I was using the timeout at client creation.  When you build the AssemblyLine client get_client there is an option for timeout. Since my VPN goes down once it awhile, I was happy to see that as I thought it was a timeout for connecting / authenticating to the server / non-responsive connections (the requests package raises an exception if no bytes have been received or sent on the underlying socket). However, that is not how AssemblyLine works at the time of this writing. It applies that timeout to ALL sessions, active or not, including uploads! I had the timeout set to 10 seconds and thus we have the answer to the partial file upload which nginx would hand off to the UI as empty.

authors: cccs-sgaron eljeffeg


text:
🛑 Cyberflix Main Site is down

In e7b890a, Cyberflix Main Site (https://www.cyberflix.io) was down:

HTTP code: 526
Response time: 71 ms

Resolved: Cyberflix Main Site is back up in 6486cee.

repo: Cyberflix-Media/Cyberflix-Status


text:
[Discussion] Use git submodule to fetch valid and invalid CycloneDX BOM tests files from the github.com/cyclonedx/specification repo

As of today, I noticed cyclonedx-go/testdata only provides valid-* sample test BOM files in XML and JSON. It provides no  invalid-* files, and no protobuf files.
$ git clone https://github.com/CycloneDX/cyclonedx-go.git
$ cd cyclonedx-go/testdata
$ broot --cmd ":pt"

cyclonedx/cyclonedx-go/testdata
 ├──snapshots …
 ├──valid-annotation.json
 ├──valid-annotation.xml
 ├──valid-assembly.json
 ├──valid-assembly.xml
 ├──valid-bom.json
 ├──valid-bom.xml
 ├──valid-component-hashes.json
 ├──valid-component-hashes.xml
 ├──valid-component-omniborId.json
 ├──valid-component-omniborId.xml
 ├──valid-component-ref.json
 ├──valid-component-ref.xml
[...]

And files are not sorted by CycloneDX specification version, which makes it
harder to list and to maintain.
But I noticed the github.com/CycloneDX/specification repository provides both
valid-* and invalid-* BOM sample files in XML, JSON and PROTOBUF formats.
These files are useful to tests implementation of the CycloneDX, such as
github.com/CycloneDX/cyclonedx-go.
$ git clone https://github.com/CycloneDX/specification.git
$ cd specification/tools/src/test/resources
$ broot --cmd ":pt"    # https://dystroy.org/broot/documentation/usage/#export-a-tree

cyclonedx/specification/tools/src/test/resources
 ├──1.0
 │  └──2 unlisted
 ├──1.1
 │  ├──invalid-component-ref-1.1.xml
 │  ├──invalid-component-type-1.1.xml
 │  ├──invalid-empty-component-1.1.xml
 │  ├──invalid-hash-alg-1.1.xml
 │  ├──invalid-hash-md5-1.1.xml
 │  ├──valid-bom-1.1.xml
 │  └──23 unlisted
 ├──1.2
 │  ├──invalid-bomformat-1.2.json
 │  ├──invalid-component-ref-1.2.json
 │  ├──invalid-component-ref-1.2.xml
 │  ├──invalid-component-swid-1.2.json
 │  ├──invalid-component-swid-1.2.xml
 │  ├──valid-assembly-1.2.json
 │  ├──valid-assembly-1.2.xml
 │  └──82 unlisted
 ├──1.3
 │  ├──invalid-bomformat-1.3.json
 │  ├──invalid-component-ref-1.3.json
 │  ├──invalid-component-ref-1.3.xml
 │  ├──invalid-component-swid-1.3.json
 │  ├──valid-assembly-1.3.json
 │  ├──valid-assembly-1.3.xml
 │  └──122 unlisted
 ├──1.4
 │  ├──invalid-bomformat-1.4.json
 │  ├──invalid-component-ref-1.4.json
 │  ├──invalid-component-ref-1.4.xml
 │  ├──invalid-component-swid-1.4.json
 │  ├──valid-assembly-1.4.json
 │  └──129 unlisted
 ├──1.5
 │  ├──invalid-bomformat-1.5.json
 │  ├──invalid-component-ref-1.5.json
 │  ├──invalid-component-ref-1.5.xml
 │  ├──invalid-component-swid-1.5.json
 │  ├──valid-annotation-1.5.json
 │  ├──valid-annotation-1.5.xml
 │  ├──valid-annotation-1.5.textproto
 │  └──149 unlisted
 ├──1.6
 │  ├──invalid-bomformat-1.6.json
 │  ├──invalid-component-ref-1.6.json
 │  ├──invalid-component-ref-1.6.xml
 │  ├──invalid-component-swid-1.6.json
 │  ├──valid-component-hashes-1.6.json
 │  ├──valid-component-hashes-1.6.xml
 │  ├──valid-component-ref-1.6.textproto
 │  └──178 unlisted
 └──ext
    ├──invalid-depgraph-1.0.xml
    ├──valid-component-depgraph-1.0.xml
    └──valid-depgraph-1.0.xml

I suggest using a git submodule to fetch tests files from the CycloneDX specification repository.
git clone https://github.com/CycloneDX/cyclonedx-go
cd cyclonedx-go
git submodule add -f https://github.com/CycloneDX/specification specification

This would give access to the full list of valid-* and invalid-* BOMs files
in *.xml, *.json and *.textproto with no efforts.
This would be available at this path:
cyclonedx-go/specification/tools/src/test/resources.
And if there are tests files dedicated to one particular language (Go, python, or Java),
then either keep a folder for custom test files, or contribute to the tests files in the
CycloneDX/specification repo.
All CycloneDX Implementation Python, Golang, Java could do the same
The same principle could be applied to any CycloneDX implementation:

github.com/CycloneDX/cyclonedx-go
github.com/CycloneDX/cyclonedx-core-java
github.com/CycloneDX/cyclonedx-python-lib

                    ┌────────────────────────────────────────────────────┐
                    │  github.com/CycloneDX/specification commit 59e7d88 │
                    │      └── tools/src/test/resources (local)          │
                    └─────┬─────────────────┬───────────────────┬────────┘
                          │                 │                   │
                 fetch submodule    fetch submodule      fetch submodule
                          │                 │                   │
 ┌────────────────────────▼───────────────┐ │                   │
 │ github.com/CycloneDX/cyclonedx-go      │ │                   │
 │ └── specification @59e7d88 (submodule) │ │                   │
 └────────────────────────────────────────┘ │                   │
                                            │                   │
                  ┌─────────────────────────▼────────────────┐  │
                  │ github.com/CycloneDX/cyclonedx-core-java │  │
                  │  └── specification @59e7d88 (submodule)  │  │
                  └──────────────────────────────────────────┘  │
                                                                │
                                ┌───────────────────────────────▼──────────┐
                                │github.com/CycloneDX/cyclonedx-python-lib │
                                │   └── specification @59e7d88 (submodule) │
                                └──────────────────────────────────────────┘

Use the git submodule for Schema Files as well?
Once the git submodules for CycloneDX/specification are available in both
cyclonedx-go, cyclonedx-core-java and cyclonedx-python-lib to fetch
test files, this could also be used for fetching schema files (JSON Schema,
XSD and protobuf).
This would prevent issues such as this one where I noticed CycloneDX schema
files are different from one CycloneDX implementation to another.
https://github.com/CycloneDX/specification/pull/479#issuecomment-2180940956

Note: I start this discussion for the cyclonedx-go project. But we could
open the same discussion in others CycloneDX implementations (python and
java).

CC @jkowalleck & @nscuro who helped me figure out how to explain this idea :smile:

@Nicolas-Peiffer Do you know how well Git submodules play with Go modules? For example, consider we want to embed schema files from the submodule via //go:embed. Will consumers of cyclonedx-go still be able to use the library (because Go automatically clones submodules), or will this cause issues (because Go doesn't automatically clone submodules)?

@nscuro you make a very good point that I completely missed. Thank you very much for this :+1:  .
Indeed, after a quick search with ChatGPT4 and the web, I came to the conclusion that GoLang packages on Github.com does not support git submodules natively.
There is an open issue since 2016 somehow similar to this topic:
https://github.com/golang/go/issues/17522
And the workarounds based on git clone --recurse-submodules [...] are not satisfactory, since they are not supported by go install and go get.
Fetching files and commit them instead of using a submodule?
I think the only viable short term solution (outside of patching GoLang to add support for git submodules) it to mimic what is already done on the python implementation:

test files: https://github.com/CycloneDX/cyclonedx-python-lib/tree/main/tests/_data/schemaTestData

fetching tests files from github.com/CycloneDX/specification with a bash script tests/_data/schemaTestData/fetch.sh ;
adding complementary tests files under tests/_data/own;

schema: https://github.com/CycloneDX/cyclonedx-python-lib/tree/main/cyclonedx/schema/_res

What do you think?

authors: Nicolas-Peiffer nscuro

repo: CycloneDX/cyclonedx-go


text:
[TRACK] reserved but unpublished TL-Namespace taxonomies

This issue's purpose is to track the efforts of documenting Top-Level namespaces.
This very ticket text is intended to change over time, to reflect an up-to-date status report.

still open
actins taken

amazon
requested an update via https://github.com/CycloneDX/cyclonedx-property-taxonomy/pull/58#issuecomment-2517425744/https://github.com/CycloneDX/cyclonedx-property-taxonomy/issues/57#issuecomment-2517428063 -- answer: https://github.com/CycloneDX/cyclonedx-property-taxonomy/issues/109#issuecomment-2517501790 & PR https://github.com/CycloneDX/cyclonedx-property-taxonomy/pull/110

aquasecurity

bsi
requested an update via https://github.com/CycloneDX/cyclonedx-property-taxonomy/pull/103#issuecomment-2485476507 -- WIP

bytetrail

contact-software

dependency-track
Asked @nscuro to publish/link a docs-space that reflects this. -- WIP

fortify

grype

ibm

medical-aegis

recon

scribe

servicenow

stackable

syft
requested an update via https://github.com/anchore/syft/pull/849#issuecomment-2517447184. requested the docs via https://github.com/anchore/syft/issues/3497

tern

Amazon Inspector taxonomy documentation is available here - https://docs.aws.amazon.com/inspector/latest/user/cyclonedx-namespace.html
I am not sure if the namespace is used anywhere else at Amazon, but I don't expect it is.

Amazon Inspector taxonomy documentation is available here - https://docs.aws.amazon.com/inspector/latest/user/cyclonedx-namespace.html I am not sure if the namespace is used anywhere else at Amazon, but I don't expect it is.

Thank you for the quick update, @jcburgo . Is there any root-level documentation, one level above the amazon:inspector?

Not that I am aware of.

@jkowalleck I really have no idea what a "published doc-space" is. Can you provide me references for what you are asking for?

see https://github.com/CycloneDX/cyclonedx-property-taxonomy/issues/34#issuecomment-2523523130

authors: jcburgo jkowalleck

repo: CycloneDX/cyclonedx-property-taxonomy


text:
关于嵌套的问题.

我的布局时一个NestedScrollview里面有多个RecyclerView:
1.recyclerview设置高度wrap_content之后,里面的条目有的时候加载出一部分,有的时候全部可以加载出来,有的时候一条都不加载,我设置高度为一个较大的固定值之后,发现都显示出来了,应该是加载过程中,还没有完全算出recyclerview的高度就执行完毕了.因为数据的size是不固定的,所以高度必须wrap_content,不知该如何解决.
2.某一个recyclerview里面的子条目是上方一个Imageview,下方一个横向滚动的recyclerview,高度自适应也有问题.而且横向滚动的recyclerview里面的条目图片能够正常加载,但下面的两个textview无法加载出来.使用显示布局边界发现有展示两个textview,但数据没有加载.

这个和adapter有什么关系？

不好意思,我关了.是我自己的原因.

repo: CymChad/BaseRecyclerViewAdapterHelper


text:
🛑 Servicio de impuestos interno is down

In 8de7e30, Servicio de impuestos interno (https://homer.sii.cl) was down:

HTTP code: 403
Response time: 306 ms

Resolved: Servicio de impuestos interno is back up in 487a201 after 1 hour, 52 minutes.

repo: CymaSuite/upptime


text:
🛑 Servicio de impuestos interno is down

In 3e6f348, Servicio de impuestos interno (https://homer.sii.cl) was down:

HTTP code: 403
Response time: 443 ms

Resolved: Servicio de impuestos interno is back up in 40ce687 after 1 hour, 10 minutes.


text:
🛑 Sitio Web Oficial Cymasuite is down

In ab7171b, Sitio Web Oficial Cymasuite (https://www.cymasuite.com) was down:

HTTP code: 504
Response time: 10165 ms

Resolved: Sitio Web Oficial Cymasuite is back up in 26688a1 after 1 hour, 55 minutes.


text:
table header with link is ugly

https://cyrusyip.org/zh-cn/post/2022/11/22/cache-rss-with-cloudflare/

.post .post-content>table th a {
    color: white;
}

you can modify the stylesheet like this.

@Sinofine Thanks for your code. I will see how to fix this issue.

Fixed.

authors: CyrusYip Sinofine

repo: CyrusYip/cyrusyip-blog


text:
add link to IDEs page

I believe that finding an IDE is an important part of getting started with D, and it should be listed on the Getting Started page.

:+1:

Though I hope this doesn't create the impression that D is tied to IDEs (technically, like VB, or ideologically, like Java).

I suppose it could be changed to:
"Choose an IDE (optional).
$(LI $(LINK2 http://wiki.dlang.org/IDEs, $(B Choose)) an IDE (optional).)

That or "Choose an IDE, or set up your favorite editor" OSLT. Though most editors have basic D support built-in.

Ok, that sounds better. How about this?
$(LI Choose an $(LINK2 http://wiki.dlang.org/IDEs, $(B IDE)) or set up your favorite $(LINK2 http://wiki.dlang.org/Editors, $(B Editor)).
)

Editor should not be capitalized but other than that, LGTM.  This link should have been there before, as others have noted.

@joakim-noah It seems all the links are capitalized:
"The Books listed on the Wiki."
"Read the official Language"
I don't think "Books" or "Language" should be capitalized either, but I think I like the current style.

Ah, yes, none should be capitalized, but it appears the original author chose to emphasize the links further by capitalizing them.  In that case, this pull follows the prevailing style and is fine.

@joakim-noah indeed.

So... is this waiting for approval from someone specific?

ping?

Maybe @CyberShadow forgot to merge?

authors: CyberShadow bitwise-github joakim-noah


text:
Issue 14549 - isVirtualMethod does not work well with Github DMD

https://issues.dlang.org/show_bug.cgi?id=14549
This PR also changes issue 7815 case invalid. see the explanation in test code (or commit log).

Can we please stop with the endless refactoring? It makes changes difficult to review, forces rebasing of uncommitted pulls, and makes it hard to compare different versions of the source code.

Sorry for my incremental changes, it's supplemental of #3400.
A compile bug fix is equivalent with dmd code cleaning to me.
I believe that if compiler code is not enough consistency, it would appear as a bug. Today's code cleaning is same with the preparation of future bug fix.
Therefore if we don't want to kill dmd, we cannot stop the endless refactoring.
Furthermore, it's becoming more difficult to spent my time for dmd than before. So I'd like to make dmd source code as clean as I believe for future dmd committers.

Can we please stop with the endless refactoring? It makes changes difficult to review, forces rebasing of uncommitted pulls, and makes it hard to compare different versions of the source code.

On the other hand, do you want to remain the only compiler contributor should Kenji leave, because the code is a giant impenetrable mess of cryptic undocumented identifiers?
Every time I tried to contribute to DMD, I burned out very quickly because of how needlessly complicated the code is. I think refactoring to make the code more readable and comprehensible is very worthwhile.

A few considerations from one not actively involved with the compiler codebase:

Refactorings add burden on the reviewers. Since @WalterBright, @9rnsr. @yebblies and a couple others most often end up reviewing each other's code, it's reasonable to give them leeway in working out what is reasonable for everyone.

Refactorings should be non-controversial in value added (as opposed to e.g. adaptation across styles of coding). (I'm not sure whether this is the case with this or other refactorings.)

The entire reasoning along "This refactoring comes from a contributor we can't afford to lose, therefore must be accepted" is fallacious.

@klickverbot's remark is moot because the fix is not under discussion.

Refactorings make it difficult to pinpoint regressions because lockstep changes to compiler, runtime, and stdlib make it difficult to use the ilk of git bisect or dustmite. This is a tooling issue that ideally would be resolved.

The way I see it if a coworker's refactorings add too much work for me thus preventing me from working more on other things, it's entirely reasonable for me to ask him/her to be more selective about such, and it's equally reasonable for them to mind the request. I shouldn't refrain from mentioning such in fear that they'd leave the team or company.

Refactorings make it difficult to pinpoint regressions because lockstep changes to compiler, runtime, and stdlib make it difficult to use the ilk of git bisect or dustmite. This is a tooling issue that ideally would be resolved.

Huh?

Although the refactorings are in separate commits, which is good, they are still packaged together with critical bug fixes. Non-trivial refactorings should be in separate PRs and judged on their own merits. This would resolve @klickverbot 's issue.

It makes life easier for the reviewers if refactorings are put in different pull requests to functional changes, but apart from that I don't mind refactoring that produces even a small improvement to consistency or maintainability.  It isn't always possible, and it isn't always worth the trouble to split them out.
The main thing that putting refactorings in separate commits doesn't solve is that they pollutes the 'Files Changed' diff, which is the most convenient tool for PR review.

[it] forces rebasing of uncommitted pulls

As Kenji is by far the one most affected by refactoring breaking pull requests, if he feels it's worthwhile then it probably is.

Refactorings make it difficult to pinpoint regressions because lockstep changes to compiler, runtime, and stdlib make it difficult to use the ilk of git bisect or dustmite. This is a tooling issue that ideally would be resolved.

@andralex That has nothing to do with internal dmd refactorings, it only with happens ABI changes.  And there is tooling that resolves it.

Regression fixes also should not include refactorings, because updating 2.067 should just have fixes.

Yes, please keep REG fixes as simple as possible. Ideally refactor after the fix, not before.

I removed commits for code cleanup in order to concentrate on bug fix.

Refactorings add burden on the reviewers.

It makes life easier for the reviewers if refactorings are put in different pull requests to functional changes,

Yes, please keep REG fixes as simple as possible. Ideally refactor after the fix, not before.

I would like to point out that, from a utilitarian perspective (counting total effort expended), it is often much easier for reviewers to simply look at individual commits' diffs, than it is for contributors to split their changes into separate refactoring and non-refactoring pull requests, because some fixes are easier after refactoring.

The main thing that putting refactorings in separate commits doesn't solve is that they pollutes the 'Files Changed' diff, which is the most convenient tool for PR review.

If I write a userscript that makes it easier to view each commit's individual diff, will people use it?

If I write a userscript that makes it easier to view each commit's individual diff, will people use it?

Viewing each commit's diff is easy, it's excluding a single refactoring commit from the total diff that's needed.

Viewing each commit's diff is easy, it's excluding a single refactoring commit from the total diff that's needed.

That doesn't make sense to me, if each commit is a logical self-contained change then looking at the patch one commit at a time should be simpler (plus commit messages help). But if that is what you really want, GitHub allows viewing the diff of any commit range, so a userscript that allows selecting two commits to diff, MediaWiki-style, is also possible.

That doesn't make sense to me, if each commit is a logical self-contained change then looking at the patch one commit at a time should be simpler (plus commit messages help). But if that is what you really want, GitHub allows viewing the diff of any commit range, so a userscript that allows selecting two commits to diff, MediaWiki-style, is also possible.

Commit 1: Do half of the things
Commit 2: Refactor
Commit 3: Do the other half
What I want to see is the total set of changes, without the fluff.  Viewing each commit separately means I need to keep the track of everything in my head.

Commit 1: Do half of the things
Commit 2: Refactor
Commit 3: Do the other half

Yes, I realize that's the problem with my suggestion. No need to rub it in my face, I'm just trying to make the situation better. Now, how often does this happen in practice? Maybe we can agree to simply not do this, instead of forbidding mixing refactoring with non-refactoring changes altogether?

I removed commits for code cleanup in order to concentrate on bug fix.

@9rnsr: thanks!!

Auto-merge toggled on

I agree, thanks Kenji! You da man.

Causes a regression: https://issues.dlang.org/show_bug.cgi?id=14883

@WalterBright I commented in bugzilla ticket how the behavior difference is happened. To me, the 2.068 behavior is more natural. I'd like to hear your opinion.

authors: 9rnsr CyberShadow WalterBright andralex tramker yebblies

repo: D-Programming-Language/dmd


text:
Remove redundant x86 vararg implementation

The core.vararg implementation is redundant with, and inferior to the core.stdc.stdarg version, as it doesn't contain the typeinfo based va_arg.

Thanks!

repo: D-Programming-Language/druntime


text:
add more itertools: cartesianPower, combinations, combinationsRepeat

As you might have realized I started to enjoy D and come from a Python background (sorry about the contribution "spam"), so I missed some functionality from Python's itertools in Phobos.
This adds a couple of useful combinatoric generators. They are all lazy and provide a length.
product: Cartesian product of r with repetitions.
For example "AB".combinationsRepeat(2).arrayreturns["AA", "AB", "BA", "BB"]`.
This is different to cartesianProduct in setopts as it allows repeats and avoids to duplicates the input range.
combinations: All k-combinations of r with repetitions.
For example "AB".combinations(2).arrayreturns["AB"]`.
combinationsRepeat: All k-combinations of r with repetitions.
For example "AB".combinationsRepeat(2).arrayreturns["AA", "AB", "BB"]`.
There is also a version which combines the three generators in one struct with statics ifs if you prefer this.

I forgot: I didn't know where to put binomial, actually I was quite surprised it wasn't there. Would std.math be a suitable place?

@BBasile thanks for reviewing my code - I will try harder next time to stick to the coding style ;-)
Updates

its now in "all allman"
tests are in pure nothrow @safe - I replace to!(dchar[]) with a couple of  postfix d s instead
added unittests for binomial

IMO, product is a poor choice of name, especially since we already have cartesianProduct (does product mean a different kind of product?).  Maybe cartesianPower might be better? See also: https://issues.dlang.org/show_bug.cgi?id=7128

@quickfur

IMO, product is a poor choice of name, especially since we already have cartesianProduct (does
product mean a different kind of product?)

I renamed it to cartesianPower and changed the documentation accordingly.
Moreover I also added the methods to the index header ;-)

this is public and writable - not good

I also added a wrapper around empty for the existing permutation method.
Moreover I updated the code in regards to all your concerns (@andralex) - sorry about violating the code style.
I will try to be better next time ;-)

Also, I'd like more in terms of motivation. From the few people who need Cartesian products at all, a fraction would need the power of a range, and those could write 'cartesianProduct(r, r, r)`. True, that can't be done if the exponent is a variable. But how often does that happen?

At least for my use cases it is nearly always an variable.
I can argue that at least product is part of Python's core itertools, and for itertools.product one finds 118,373 matches on github. I guess the usage is even higher because - just product is valid too in python if correctly imported.

Does anyone know why autotester is failing randomly with this message?

make[1]: Leaving directory `/home/braddr/sandbox/at-client/pull-1978040-Linux_32_64/phobos'
timed out after 3600 seconds, step failed

@braddr ?

Updates:

I added a lot of comments to the sometimes hard to understand popFront's method (all 3)
I made front private and added a getter function
I added many more unittests for combinations and combinationsRepeat -> it really turned out there was an edge case not covered in combinationsRepeat (when repeat was > number of elements)

ping @andralex - what is your opinion on this addition? What is blocking this PR?

Please just use attribute inference. Explicit attributes are nice for documentation but we don't generally document range primitives.

Something learnt - thanks for the hint!

but it's good practice in general to operate lazily when possible:

Done for all tests :)

The array literal causes another GC allocation which prevents @nogc, so include at least one unit test that tests @nogc by allocating the array statically:

I am not quite sure whether @nogc will work out-of-the-box, as the state array is allocated depending on the length of k/repeat (permutations does the same).
However I removed all .array calls on Indexed, so we now every return element is of type Indexed!(Range, size_t[]) and thus I had to use equal!equal for the tests - afaik alias doesn't work in unittests?

I don't think we need to store this - just do return _r.indexed(_state); in front.

Updated.

Can this be omitted by using return _pos == _max_states; in empty?

Initially I wanted to avoid that, because it's a comparison more. However the code looks much cleaner now :)

Just move the calculation from length to the constructor

Removed _isNrStatesComputed and changed save  to copy the calculated props.

Since _state is bidirectional, which is propagated by indexed, it seems like CartesianPower should also be bidirectional?

Yes it wouldn't be that difficult to add another state parameter and pos counter that traverses in the opposite direction. However will is this be useful for users, so that it justifies the overhead?

Since _state is bidirectional, which is propagated by indexed, it seems like CartesianPower should also be bidirectional?

@JakobOvrum I addded bidirectional support for CartesianPower - so that it's pro/cons can be better discussed. It should be easy to add the same to permutations, combinations and combinationsRepeat if wanted.

The length must shrink as the range is consumed from the front or back; it doesn't seem to do that and it's not tested

Great point!

it's probably better to cache this as a local variable in the constructor and pop* functions respectively instead of as a field

This feels a bit unnatural to me, but done ;-)
@JakobOvrum I covered also all other points and now I feel very ashamed that I made such a poor PR.
@9il If I read the documentation correctly std.math is only for elementary operations, so only std.numeric is left?

@9il If I read the documentation correctly std.math is only for elementary operations, so only std.numeric is left?

Yes. In the same time, would you mind to place this functions to mir instead? std.numeric should will be deprecated in the future. We should think about new sci.* part of Phobos.

ping pong @andralex for general feedback on inclusion (see my reasoning above).

I'm no math guy but is there really no way to do these in constant space?

I'm no math guy but is there really no way to do these in constant space?

AFAIK having this state array (aka pools) is the most common way to do this - have a look at the implementation in Python:
Allocation: https://github.com/python/cpython/blob/520c7a75f1a600b3b3a57ced782dfd046ddff678/Modules/itertoolsmodule.c#L2041
Iteration: https://github.com/python/cpython/blob/520c7a75f1a600b3b3a57ced782dfd046ddff678/Modules/itertoolsmodule.c#L2161
(all other comments are addressed & updated)

Could someone add the @andralex label? Thankls ;-)

Please add algorithms complexity overview

@greenify We need an experiments with this functions before including them to Phobos.
Please include all this functions to your Mir PR, update module name with mir.combinatorics (or another name, not stat), fix issues with binomial I have listed here, and close this PR.

In addition, it is possible to compute FP binomial value with minimal rounding error using precise summation algorithm.

Please include all this functions to your Mir PR, update module name with mir.combinatorics (or another name, not stat), fix issues with binomial I have listed here, and close this PR.

Done - even though I would prefer to have these iteration  algorithms in std.algorithm.iteration eventually ;-)

Update: 15 days and a lot of review & help (thanks so much @9il) later - an initial version of combinatorics is now part of mir. It now supports @nogc via the Allocator API.
See combinatorics at mir

authors: 9il JakobOvrum greenify quickfur wilzbach

repo: D-Programming-Language/phobos


text:
🛑 Vagonmaster is down

In c5d9b1f, Vagonmaster (https://vagonmaster.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Vagonmaster is back up in 8a0af0c after 5 minutes.


text:
js-routes is a problem

This dependency cannot be upgraded, and it's unclear what function it serves. Either try to refactor this library out of DARIA or get it upgraded to the latest version.

I'm giving up on this. I don't know nearly enough about webpacker or our asset pipeline generally. See https://github.com/DARIAEngineering/dcaf_case_management/pull/2392 for what I've tried so far.

we fixed this (by removing js-routes)

authors: colinxfleming xmunoz


text:
Missing GROUP_BY support in Multisearch requests

Can support for group_by parameter in multisearch requests be implemented?

I was also trying to get grouped results. You can do something like this:
var query = new GroupedSearchParameters("search term", "query_field", "GROUP_BY_FIELD"); # GROUP_BY_FIELD must be a facet field
var searchResult = await client.SearchGrouped<Product>("collection_name", query);
foreach (var result in searchResult.GroupedHits)
{
    foreach (var resultHit in result.Hits)
    {
        Console.WriteLine(resultHit.Document.Id + ": " + resultHit.Document.Title);
    }
}

Just for clarification: ideally it should be flexible to support making both - regular and grouped requests in the same scope of multisearch.
Thanks!

@Spaggel I need not only grouped results, but also make a couple of other ones in the scope of a single multisearch request.
See: https://typesense.org/docs/27.0/api/federated-multi-search.html

@jarto666 is this what you're looking for? https://github.com/DAXGRID/typesense-dotnet#multi-search-documents

@Spaggel Yes, but current MultiSearchParameters implementation does not support GroupBy

@runeanielsen I wanted to create a PR for you to review and give your thoughts on the implementation, but seems like I need specific permissions for this.
So, we could add those to MultiSearchParameters or try to inherit those 3 from GroupedSearchParameters (notice group_missing_values which is also missing from current codebase). Though, inheritance would also require revision of GroupedSearchParameters constructors, since groupBy in this case would become optional.
`
[JsonPropertyName("group_by")]
public string GroupBy { get; set; }
[JsonPropertyName("group_limit")]
public int? GroupLimit { get; set; }
[JsonPropertyName("group_missing_values")]
public bool? GroupMissingValues { get; set; }
`
And this would allow us to simply extend MultiSearchResult with GroupedHits:
`
public record MultiSearchResult
{
[JsonPropertyName("facet_counts")]
public IReadOnlyList? FacetCounts { get; init; }
[JsonPropertyName("found")]
public int? Found { get; init; }

[JsonPropertyName("hits")]
public IReadOnlyList<Hit<T>>? Hits { get; init; }

[JsonPropertyName("grouped_hits")]
public IReadOnlyList<GroupedHit<T>> GroupedHits { get; init; }

`
Not the cleanest solution architecturally, the main issue with those parameters duplication, but up for you to consider it. Tested and it's working.
Thanks!

@jarto666 I've released a new version (7.19.0). Thank you for you contribution. :)
// Rune

authors: Spaggel jarto666 runeanielsen

repo: DAXGRID/typesense-dotnet


text:
Need fix JSON lang jp

Mod Version
3.2.1
Game Version
1.18.6
OS
Linux
Play mode
Singleplayer
Problem
https://github.com/DArkHekRoMaNT/StoneQuarry/blob/master/Assets/stonequarry/lang/ja.json#L2-L5
Interferes with Weblate with import for translation.
For example: https://github.com/SpearAndFang/wildfarmingrevival/commit/88ad379c58a62437c2d3576ae08c7431dbe882c8#diff-3c250e2dc24e2893a07f3492464f894d9fd32f5012270a4ccfe0ad9be9014ff6L2-L5
Logs
No response
Mods
No response
Screenshots
No response

What? What does this have to do with Weblate? And why don't you just delete it?
I'm sorry, but I'm not ready to support many translation sites, it will be chaos. I take translations from here or they send them to me via PM. But, most likely, I will take exclusively from Crowdin when I automate this

And Macoto Hino fixed it in the latest version. But I still don't understand why you need Weblate. This may be a good option, but not when there are two of them

I want to be able to update all repositories in my Weblate with one click and quickly translate and send you PRs.
I personally maintain my own instance for translations and send to developers myself. I only require to fix such errors in JSON.

And Macoto Hino fixed it in the latest version.

Hmm, problem solved then.

authors: CakesTwix DArkHekRoMaNT

repo: DArkHekRoMaNT/StoneQuarry


text:
feature - attribute names first in row literals

Currently the only literal syntax D4 provides for row values is row { v1 name1, v2 name2, ... } while row type declarations have the format row { name1 : type1, name2 : type2, ... }.
I request a new feature such that D4 also supports having the attribute names on the left in row value literals as well, for example row { name1 : v1, name2 : v2, ... }.
Practically speaking, human readable data formats or source code representing name-value pairs are much easier to read when the names come first / on the left, especially when those may have multiple levels of nesting.
This feature would gain consistency with a majority of other languages and formats, including JSON and XML and C# and many others whose syntax for name-value pairs has the name first.
This feature would also boost internal consistency for D4 itself, such that the name comes first both in row literals and in row type declarations.
It appears that D4 already has a pattern to distinguish names on the left vs on the right, such that a colon is between the pair when it is on the left, while there is no colon when the name is on the right.
Given that, AFAIK, there isn't a lexical context where both a row literal and a type declaration could both appear, context should then tell the parser whether a row { foo : bar } is a row literal or a row type declaration.  If that isn't the case, we could come up with another syntax to avoid ambiguity, but the key feature is that the name appears on the left.
Optionally, other areas of syntax that have the name on the right could also gain an alternative where it is on the left, but the row literals are the most important.
Thank you in advance.

This is rather minor syntactic nitpick, but I guess it's worthwhile to change. I'd rather use = instead of : in a row expression. So the type of a row is { label : type, ... }, but the term of that type is { label = X }, where X is of type type.

Well the main detail of importance as far as I'm concerned is that name-value pairs have the name on the left; what symbols if any go between them is of lesser concern.  Aesthetically, I think using colons to separate all name value pairs of every kind that are declarational in nature is best.  See also that colons are popular for this usage in a wide variety of languages, including AFAIK JSON, C#, Java, Python, and more; I believe colons are the single most popular defacto standard out there.  Idomatically it also makes sense since a colon is a pair of dots which symbolizes a pair of things.

authors: ashalkhakov duncand

repo: DBCG/Dataphor


text:
Textable persist test

I rule and have completed some work on Case Manager that's ready for review!
(brief, plain english overview of your changes here)
This pull request makes the following changes:

(your change here)
(another change here)
(etc)

(If there are changes to the views, please include a screenshot so we know what to look for!)
It relates to the following issue #s:

Fixes #X
Bumps #Y

@Kevin-Wei basically wound up the systemtest change into #1522 . Gonna close for that reason, but please do let me know if there's anything with the user_lock_status tests.  🐱

No worries. 👍

authors: Kevin-Wei colinxfleming


text:
Ligatures are seen as Clivis'

When we have an isolated ligature, infoBox identifies it as being a clivis (two descending neumes).

refer to #190

refer to #190


text:
Add ADR about the application architecture

Context
This PR adds an ADR where we describe why we'll build this service as a monolith. I've tried to keep it short and sweet, because going into full detail about this would probably require writing one or more books.
Guidance to review
👉 Rendered version
Does it make sense? Do we need to add some detail?
Link to Trello card
https://trello.com/c/VEdNe7Zf/1018-design-the-initial-architecture-for-the-application

:+1:

authors: duncanjbrown tijmenb


text:
[900] Only return non discarded sites for a course

Context
https://trello.com/c/V6Mm4POW/900-issue-with-location-1n1
Discarded sites were still appearing under the course's details page. Eg "Hanson Academy" is discarded but still appears here https://www2.publish-teacher-training-courses.service.gov.uk/publish/organisations/1N1/2022/courses/238T/details.
Changes proposed in this pull request

Only return non discarded sites for a course

Guidance to review
Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

 Issue with location (1N1)

repo: DFE-Digital/teacher-training-api


text:
Job summary page

This PR adds a new step (Job summary) to the hiring staff 'Create a job' journey
TODO

[x] Pre-populate about_school field in job summary form with About School data
[x] Refactor .yml files to wrap after 120 characters
[x] Refactor user input sanitization
[x] Product/UX review
[ ] Code review

Jira ticket URL
TEVA-542
Figma for design
Changes in this PR

Rename job_description column to job_summary on the vacancies table and allow it to be NULL
Add about_school column to the vacancies table
Add Job Summary step to the 'Create a job' journey

Screenshots of UI changes

Next steps

Show about_school field on the vacancy in the school overview section that jobseekers see

Is the reason we are adding a new column about_school (rather than use vacancy.school.description) so that it can vary by vacancy?

Is the reason we are adding a new column about_school (rather than use vacancy.school.description) so that it can vary by vacancy?

Yes

massive pull request, maybe unavoidable dunno, but maybe a code smell that tasks could be broken down more? tests look comprehensive , good work

not specifically about this PR, but for discussion, do we have a team GIT methodolgy/workflow/approach - was going to bring this up in retro. for instance in this PR and git history ive seen overall, a bit of interactive rebasing to merge or fixup some commits might be a good idea as its quite verbose

authors: alexbowen cpjmcquillan david-mears-dfe

repo: DFE-Digital/teacher-vacancy-service


text:
Rocket.Chat instructions doesn't work anymore

Not sure what went wrong here. I was running rocket.chat when suddenly the server stopped. Tried running "sudo sh init.sh" to check status / restart it but received error message "sh: 0: Can't open init.sh". Restarted device and tried again but receive the same error message.
Thank you.

Still unsure what happened. Removed DPlatform-ShellCore folder and curl'd it again ran sudo sh init.sh and it opened fine. Had to re-install (actually install, uninstall, install) Rocket.Chat to get it working again.

Rocket Chat have been recently released to 0.40.x that have moved to meteor 1.4 and thus now use node.js 4.5 and drop node.js 0.10.x.
I will update to the new instuctions really soon.

Tell me if you still continue to experience issues, thank you!

Removed everything and did clean install of it all again. Unfortunately the issue persists. Rocket.Chat installs OK and shows up fine in htop but get 'can not connect' error when trying to access the webpage. Noticed by doing systemctl status a few times that Rocket.Chat seems to be restarting every four minutes or so. Could it potentially be stopping / getting dropped due to lack of available RAM? Also have kodi, plex, and btsync running on same device and with those running alongside Rocket.Chat the RAM usage is pretty much a constant 100%. Since it originally worked for a couple of hours I am wondering if that was just luck when one of the other programs were not hogging as much RAM.

Just stopped all other services and problem persists unfortunately.

It can be a RAM fully used and/or a memory leak, or maybe something else.
You can watch the RAM status with free -m, start Rocke.Chat and watch again and again to see how it evolve.
If you can connect to Rocket.Chat web UI even a second this will a not an installation or network problem.
Note that I've keeped Node.js 6.0 and choose to don't install and use the supported Node.js 4.5 because it appears to work. It could be that eventually.

repo: DFabric/DPlatform-ShellCore


text:
Myself

重新整理，简化代码

疯狂merge自己的pr，给力

authors: leftstick shibd


text:
[Bug]: Windows HDR开关无法长期生效（仅第一次打开时生效）

检查清单

[X] 我已阅读 Snap Hutao 文档中的常见问题和常见程序异常，我的问题没有在文档中得到解答
[X] 我知道文档站的导航栏中有搜索功能，且已经搜索过相关关键词
[X] 我的问题不是已完成的问题也不是一个别人已发布的重复的问题

Windows 版本
22631.3007
Snap Hutao 版本
1.9.5.0
设备 ID
A2025760328284AF45975203C39E0691
问题分类
游戏启动器
发生了什么？
Windows HDR开关，打开后，会添加相关注册表键值并设置为1。运行过一次游戏后，注册表相关键值会被设置为0。
此时胡桃工具箱里开关还是显示打开。
并且，重新开关选项时，注册表相关键值也不会变动。
你期望发生的行为？
希望：

在相关键值被游戏重置时，能检测并显示当前状态。
或：在打开胡桃工具箱时，能根据当前开关重新设置注册表键值。
或：至少在重新开关选项时，能重新设置注册表键值。

最后一步

[X] 我认为上述的描述已经足以详细，以允许开发人员能复现该问题

注册表写入会在启动游戏时执行，请在通过胡桃启动游戏后再检查注册表。

此开关与注册表内当前键值无关，开关打开后，胡桃会在每一次启动游戏时设置键值

此开关与注册表内当前键值无关，开关打开后，胡桃会在每一次启动游戏时设置键值

我是使用其他启动器（即胡桃工具箱用于时长统计的Starward），该启动器暂未提供HDR相关设置，所以我希望用胡桃工具箱来开启相关设置，但是继续使用其他启动器启动。

对不起不不可以

我是使用其他启动器（即胡桃工具箱用于时长统计的Starward），该启动器暂未提供HDR相关设置，所以我希望用胡桃工具箱来开启相关设置，但是继续使用其他启动器启动。

@Scighost 你的用户来我这拉...

authors: Lightczx qakcn qhy040404


text:
🛑 DHBW VS Internal API is down

In 1c414f9, DHBW VS Internal API ($DHBW_VS_INTERNAL_API_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DHBW VS Internal API is back up in 03b5343.

repo: DHBW-VS/upptime


text:
Finalizing Workshop landing page design

It looks like the DHRIFT workshop landing page / front matter isn't quite customized like the schematics in Figma yet. For example, see: https://app.dhrift.org/dynamic/?user=dhri-curriculum&repo=workshops&file=command-line&instUser=dhri-curriculum&instRepo=dhrift-site-template
and compare with the layout in the figma design schematics:
https://www.figma.com/design/2wEkr2VWmFeR1Fokajlf3k/DHRIFT---Design-System-(Partner-Shared)?node-id=3795-4473&t=9BepUIv9FDyPDtHh-0
In particular, the workshop landing page doesn't have all of the frontmatter information on the front matter page (see, for example that the designer's layout has an area for Facilitators, Authors, Editors, Readings, Resources, etc. in a side bar. There's also indenting to the learning objective bullets (along with solid style bullets) and also indented and bulleted goals.

indented bullets added

authors: lmrhody szweibel

repo: DHRI-Curriculum/DHRIFT


text:
File / Folder Info Dialog Does Not Have OK / Cancel / Return Buttons

Your only option to get back to the main UI is with the browser's back button...

Back button added to the profile page.

authors: chexare ryanspletzer

repo: DICE-UNC/irods-cloud-browser


text:
Random sampler of verbs under Segmenter

As a development feature of the statement segmentor, introduce a special functionality: instead of fully covering the selected span (or complete full-text, rather, in this case?), sample the verbs in the span in the same way as we did it for gold-standard person matching dataframes, and create statements in the current T (typically whole register) only around these randomly sampled verbs. Let the user to either receive a given % of verbs and thus statements (after the infinitive + definite verb correction, typically for modals), or a given absolute number. Default = %. In T statement lists generated by such a procedure, randomize the order of statements, but add also their anchors in the usual way as Statement segmentor does (incl. with user's confirmation) and this order of anchors in text will allow us later to find the order of appearance if needed.
This sample, after manual annotation, will then be able to serve as randomly sampled gold standard data and training data for that Resource (and beyond), e.g.:

classification of trial vs. non-trial statements;
tree-bank, i.e. syntactic annotation;
decisions on temporal and spatial reference points;
decisions on IDs to be matched (esp. Persons).

Make the function a little "hidden" - not really hidden, but avoid misclicking on it, it has only special uses.
Use Gideon's already-existing for gold-standard dataframes.

Moving to an earlier milestone, we will need earlier.

repo: DISSINET/InkVisitor


text:
Frequency of toast notification in joystick onMove() method

The toast notification in the onMove() method of the joystick in MainActivity is reposted every time the joystick is moved. The onMove() can happen a large number of times before the end-user lets go of the joystick. This means that the toast message prompting the user to connect the car before using the joystick is printed too many times (should only be once), and remains on screen for ages.
This should be considered a bug, even though the system it is technically doing exactly what we told it to.
If it can be fixed, that would be nice :)

I agree. I don't know if it work that I put switch case inside if else statements. I mean, if (!carIsConnected) {
pleaseConnectCar();
} else { switch case 1, switch case 2.... }}

@ZJW-92 , it won't work because everything is still within a method that activates on move screen touch. So the toast will be displayed multiplied by the on move time.


text:
Include warning not working

Hey @cube5 ! I tried putting the includes in the hints but I can't seem to get them to work.. Can you help me out? Thanks!

Learned how to do it!
{% include note.html title="Title" text="and text" %}


text:
Issue in resizing a window

HI, SIR, I AM HAVING A SMALL PROBLEM MY PAGES OF FRAMES OR FORMS REMAIN ON THE SAME SIZE AS THEY WERE BEFORE ON RESTORE DOWNSTATE WHEN I MAXIMIZE THE WINDOW ALL COMPONENTS REMAIN AS SAME SIZE THEY DO NOT GET ENLARGED WHEN I MAXIMIZE A WINDOW.

In one picture you can see my window is not full and all the components are well managed but in the second picture you can see I maximize the window the components are stuck on top how can I make them responsive so that when I try to maximize the window all the components will spread on the full page?

When you design there component in netbeans and use free design layout or group layout you will have this option to resize component to horizontal and vertical
This free design layout we set to jpanel

this we set the resize option to jtable

authors: CodingSkys DJ-Raven

repo: DJ-Raven/flatlaf-dashboard


text:
Bootstrapping of Devise forms

bootstrapped forgotten password, invitation, sign in and create account forms per #558.
converted ariatiseForm for ES6
consolidated all old views/devise JS files into a single devise.js
created stub ariatiseFormSpec.js
created passwordHelper.js to handle the addition of the 'Show password' checkboxes and the password-password_confirmation match validation

Submitted to wrong branch. closing this one out

repo: DMPRoadmap/roadmap


text:
arm_clang build for spdm-emu

Signed-off-by: Wenxing Hou wenxing.hou@intel.com
The patch has passed the windows/linux build.
1. windows build
For win+aarch64+mbedtls:

For win+arm+mbedtls:

For win+aarch64+openssl:

For win+arm+openssl:

2. linux build
For linux+aarch64+mbedtls:

For linux+arm+mbedtls:

For linux+aarch64+openssl:

For linux+arm+openssl:

You may skip the spdm_emu build in CMakeList.
    if(NOT TOOLCHAIN STREQUAL "ARM_CLANG")
    ADD_SUBDIRECTORY(spdm_emu/spdm_requester_emu)
    ADD_SUBDIRECTORY(spdm_emu/spdm_responder_emu)
    ADD_SUBDIRECTORY(${COMMON_TEST_FRAMEWORK_DIR}/library/common_test_utility_lib out/common_test_utility_lib.out)
    ADD_SUBDIRECTORY(${SPDM_RESPONDER_VALIDATOR_DIR}/library/spdm_responder_conformance_test_lib out/spdm_responder_conformance_test_lib.out)
    ADD_SUBDIRECTORY(spdm_emu/spdm_device_validator_sample)
    ADD_SUBDIRECTORY(spdm_emu/spdm_device_attester_sample)
    endif()

repo: DMTF/spdm-emu


text:
Install.ascx missing

Install Visualizer and Install Addon give error; DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/DesktopModules/Admin/Extensions/Install.ascx' does not exist

Could not reproduce


text:
Add New not working!

the add new button not working allowing to viewing the data only

Done!

repo: DS-Media-Group/DSMG-Input-Backend


text:
MolDepictor repo not available

The proposed repo at https://github.com/DS4SD/MolDepictor/ is not publicly available.
Without its installation, the run.sh script fails with:
Traceback (most recent call last):
File "/home/hanzlika/Desktop/MolGrapher/molgrapher/scripts/annotate/predict_molgrapher.py", line 19, in
from molgrapher.models.graph_recognizer import GraphRecognizer
File "/home/hanzlika/Desktop/MolGrapher/molgrapher/models/graph_recognizer.py", line 15, in
from molgrapher.models.keypoint_detector import KeypointDetector
File "/home/hanzlika/Desktop/MolGrapher/molgrapher/models/keypoint_detector.py", line 13, in
from molgrapher.utils.utils_dataset import get_bond_size
File "/home/hanzlika/Desktop/MolGrapher/molgrapher/utils/utils_dataset.py", line 19, in
from mol_depict.utils.utils_image import resize_image
ModuleNotFoundError: No module named 'mol_depict'
Is it possible that MolDepictor is still private?

Hello!
Yes, it was still private. Now, you should be able to access it: https://github.com/DS4SD/MolDepictor/
Best,
Lucas


text:
ViewPger2+Fragment切换时，PanelSwitchLayout中布局不显示

在直播场景中，使用ViewPager2+Fragment（一共三个Fragment），通过上下滑动实现三个直播间的切换，在Fragment中使用PanelSwitchLayout，用于管理直播间底部的EditText和其他按钮，上下滑动切换Fragment时，一切正常，但是若在某个Fragment中选中输入框弹起/隐藏软键盘后，再切换到其他Fragment时，其他Fragment中的PanelSwitchLayout中的按钮都会不显示，在HONOR X10/realme/oppo等手机上都有这种情况
正常情况：

异常情况：

上面是ViewPager2竖直滑动，将orientation属性改为横向后，不会出现上面的异常情况

我下载了PanelSwitchLayout的Demo，添加了一个使用ViewPager2的Activity，ViewPager2加载三个Demo中的ChatFragment，方向为垂直，ChatFragment未作修改，上下切换时，只有第一个ChatFragment中有数据和布局，后面两个只有标题栏 ，ViewPager2换成横向时，就是正常的

你好，这个应用场景我们还没有兼容过，我们会考虑在后续的版本中逐渐完善这些场景

最新demo中提交了ViewPager、ViewPager2的用例，可以参考下对应的实现。需要注意的是Fragment在切换的时候，会在合适的生命周期中初始化 / 回收 PanelSwitchLayout的监听器

authors: HeroZ-Dodge mengyuqiang

repo: DSAppTeam/PanelSwitchHelper


text:
Create WebScraper.py

Can be used as a web scraper from a .csv file on certain sites

@AM1CODES Approved.

authors: JackJJCodes TheGuyDangerous

repo: DSCVITBHOPAL/ML-Reserve


text:
Pnpm

pnpm
What solution does this PR provide?
Switches package management from yarn to pnpm for frontend and serverless.
Also modified the dlp-cli so that it uses pnpm instead of yarn. Also add a --yarn flag in case if anyone is in the process of transitioning from yarn to pnpm.
Also modified node build check workflow to use pnpm instead of yarn.
Testing Methodology
Everything was able to be installed via pnpm.
Any other considerations
https://github.com/DSGT-DLP/dlp-cli/pull/11

@dwu359 can you add an explanation in the github issue (or pr) for why we want to use pnpm over yarn? have we ensured that pnpm can still install any node dependency we want to use in the future (at least for 90+% of our potential  usecases).

@dwu359 can you add an explanation in the github issue (or pr) for why we want to use pnpm over yarn? have we ensured that pnpm can still install any node dependency we want to use in the future (at least for 90+% of our potential usecases).

From what I've read, pnpm is slightly faster than yarn berry and uses up less space than yarn because it utilizes symlinks instead of directly copying packages. That did seem the case for my machine, but I'll need other ppl to try it out also if that is the case. Pnpm was able to install basically anything that I threw at it, since it installs from the npm registry.

Actually if you look at the build times for https://github.com/DSGT-DLP/Deep-Learning-Playground/actions/workflows/node.js.yml, it does seem to be about 20s faster

Works on my laptop

repo: DSGT-DLP/Deep-Learning-Playground


text:
🛑 Fakultas Kedokteran Gigi is down

In ec70b1f, Fakultas Kedokteran Gigi (https://dent.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Kedokteran Gigi is back up in b2cb8a5 after 4 minutes.