MIDI files problem

I downloaded a few midi files from internet but I get this error:
"Track 1 should not contain set_tempo"

Sorry about that, I had to create my own midi parser (midiconnector.py) because of python 3 compatibility issues. The one I have done is really basic so it only support certain type of midi files.

Hey ..i make it like this....first i download a piano midi..usually they have 2 channel tracks ..i copy the second one into the first so its only one channel...then i export ....than import this in the software GnMidi ...after import i convert it to ASCII text...the text  i save and open with notepad...than i erase the tempo marks and other stuff like its in the example midis that come with the code...than i save...put it back in GnMidi...convert the text back to midi ..and than i save midi and put it in data/midi and than the music generater will load it =) ..i know thats alot work ..but it works!

What kind of midi files should I look for? It always tells me SMTPE timecode not supported. Thanks.

Hello guys, I copied the "basic_rnn_joplin.mid" from docs/midi to data/midi, and also downloaded a few midi data in the same folder, but when I run "main.py", the error looked like this:
`Welcome to DeepMusic v0.1 !
TensorFlow detected: v1.1.0
Current parameters:
glob_step: 0
keep_all: False
dataset_tag: ragtimemusic
sample_length: 40
hidden_size: 512
num_layers: 2
target_weights: linear
scheduled_sampling: none
batch_size: 64
save_every: 1000
ratio_dataset: 0.9
testing_curve: 10
batch_builder: relative
learning_rate: cst
enco_cell: identity
deco_cell: lstm
loop_processing: sample_softmax
Training samples not found. Creating dataset from the songs...
Raw songs not found. Extracting from midi files...
Traceback (most recent call last):
File "main.py", line 29, in
composer.main()
File "/home/kl/code/music/MusicGenerator/deepmusic/composer.py", line 160, in main
self.music_data = MusicData(self.args)
File "/home/kl/code/music/MusicGenerator/deepmusic/musicdata.py", line 64, in init
self._restore_dataset()
File "/home/kl/code/music/MusicGenerator/deepmusic/musicdata.py", line 118, in _restore_dataset
self._create_raw_songs()
File "/home/kl/code/music/MusicGenerator/deepmusic/musicdata.py", line 169, in _create_raw_songs
midi_files = [os.path.join(midi_dir, f) for f in os.listdir(midi_dir) if f.endswith(self.FILE_EXT)]
FileNotFoundError: [Errno 2] No such file or directory: '/home/kl/code/music/MusicGenerator/data/midi/ragtimemusic'
`
I really wonder why is that? Which folder is correct for midi training data? Thanks a lot:-)

I am having the similar troubles. I see @Conchylicultor intimated that Python3 in particular still has massive ground to cover when it comes to reliable dependencies for interpreting MIDI. @Eumi I see you've figured out a way to exclude SMPTE Timecode from the MIDI file on Windows through a manual process. @Conchylicultor how can one exclude SMPTE Timecode from original MIDI files on Mac? The ones I render from any one of my DAWS encodes MIDI with that information by default. I'm so close to reaching @Eumi's solution! Many thanks for everyone's contributions thus far. It's been a tremendous help!
Cheers :)

@Eumi I ended up running GnMidi successfully as well and was able to exclude all timecode syntax. Now main.py recognizes original MIDI files. Looking forward to someone making epic updates to MIDI capabilities soon so we all don't have to go through this trouble. @Conchylicultor this is still epic. Thanks for sharing your explorations!

@littlethunder I do have the same problem,
If you find any solution please let me know
Thank's In Advance

@Conchylicultor Could you please release your midi dataset? Several datasets published on the Internet is not suitable for the midi processor.

@li-yuntao I'm sorry but I don't have the midi I downloaded anymore. I should also warn you that he current version of the code won't produce any good results. It was some failed experiment that I tried about changing the note representation.


chore: release 1.11.1

:robot: I have created a release beep boop
1.11.1 (2024-09-20)
Bug Fixes

bigquery: goqu dialect is not registered (#190) (40c292b)

Miscellaneous

deps: bump github.com/aws/aws-sdk-go-v2/config from 1.27.27 to 1.27.35 (#193) (62eafea)
deps: bump github.com/rudderlabs/rudder-go-kit from 0.40.0 to 0.42.0 (#185) (b14ede5)
deps: bump google.golang.org/api from 0.197.0 to 0.198.0 (#192) (753c456)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/rudderlabs/sqlconnect-go/releases/tag/v1.11.1 :sunflower:


Make content_id a required field and update coming soon format

Makes content_id required for all formats
Adds a links hash for the coming soon format

@jamiecobbett updated.


Option for removing Finnean's "Brilliant Energy" enchant

Finnean's upgrades includes "Brilliant Energy" enchant. Since most of the mobs high AC stems from high natural armor and/or dex, this enchant is borderline useless. What's worse, it makes it completely useless vs undead, constructs and the like, so now you have to micromanage even more.
So I'm requesting a feature, where you can just tick off a box "Brilliant Energy be gone", or something like that, and if ticked off, it's gone (or replaced with Ghost Touch as it starts out being).
It's a somewhat weird request, but god damn, does it annoy me they did him so dirty.

seems like something that could be fixed by just making custom loot for free with enchant, but i dont know if there are any specific finean type effects from wielding him.


Removed substraction of score from the end result

Based on the discussions on r/Saliens discord it seems to be completely fine not to substract the score, therefore reaching full 2400 for Difficulty 3, as scores of 2400 happens naturally in game as well.

Yeah, I noticed during legit gameplay that score has some deviation. Blaming Javascript ticks


Explore if Tchap Web v2 is compatible with mainlining

Regressions

[x] #295
[x] #296
[x] #297

API Changes

[x] #298
[x] #294
[x] #293
[x] #299
[x] #300

source:  https://docs.google.com/document/d/1vzjZgauLAMvsjVUdxLnqYkqf2GHKZcQupooEVutfmVA/edit?pli=1#heading=h.hl9xdcqvj2py

https://github.com/tchapgouv/tchap-web/issues/285

At this moment, the mainlining is a transition version meaning the former APIs and newer APIs are available.
We could apply the following migration strategy for the client :

Resolves the Regression issues : #296 and #297
Perform Tests against :

the version "v1.2" (mainlining version)
the version "r0.6.0" (current version)

Build a new version of tchap-web-v2
Release tchap-web-v2 to : dev, preprod, prod
Focus on tchap-web-v4

Benefits :

Upgrade to v1.2(mainlining) can happen independently
API Changes issues will be resolved in tchap-web-v4 directly instead of spending effort of fixing issues. in tchap-web-v2

Participant to this discussion : @celiacheff , @guillaumevillemont , @jdauphant , @mcalinghee

Test performed on dev with mainlining version : https://www.tchap.incubateur.net  :white_check_mark:

Looking up a user
Inviting an external user
Account Registration
Sign-in
Sending message


Hearts in Playlist/Album view missalligned

Ok so techinally from a CSS point of view, this is alligned. However from just looking at it its not alligned.

i find it aligned... idk where else to place it

if anything, AM web looks more misaligned

Yeah, I get why the heart is there, but it's not right.


move config.json

move config to new folder /config/

to be closed, duplication of the application


Update chiseltest to 5.0.1

About this PR
📦 Updates edu.berkeley.cs:chiseltest from 5.0.0 to 5.0.1
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (5.0.0).
You might want to review and update them manually.
build.sbt

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "edu.berkeley.cs", artifactId = "chiseltest" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "edu.berkeley.cs", artifactId = "chiseltest" }
}]

labels: test-library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

別のコミットでアップデートするのでクローズ


Aircraft tails are shown ahead, and proportional to speed

If you watch this, you'll notice the "tails" show ahead and are proportional to speed.

This is kind of a large UI change: @glangford @tedrek, thoughts?

This is kind of a large UI change: @glangford @tedrek, thoughts?

For sure it is more correct to have the pointer ahead to emulate real world displays. The video above is from a North American high altitude display (FL240 +). Here is a lower level altitude example (Eurocontrol) that shows the same idea:
https://www.youtube.com/watch?v=w4BOiwqSoB4
In terms of actual game play, it helps to confirm current heading without having to click on the aircraft, and I think people will adjust to it quickly. I ran the show-tail-ahead branch and it worked well for me. :+1:


Change RightPanel spacing for schema imports only

Discussed in https://github.com/rohit-gohri/redocusaurus/discussions/165

Originally posted by erodewald April  5, 2022
The default theme of redoc has a lot of spacing built in, but when I include a schema import with the example enabled, there's too little horizontal space, which results in a lot of scrolling in my example.
I was hoping that I could pass in some additional props into the React component, but it seems to have no effect.
<ApiSchema
	id="diagnostics"
	example
	pointer="#/components/schemas/DiagnosticLifecycleEvent"
	exampleRef="#/components/examples/simulatedLifecycleEvent"
        theme={{spacing:{unit:0}}}                                   <!-- attempt 1 -->
        options={{theme:{spacing:{unit:0,sectionHorizontal:20}}}}    <!-- attempt 2 -->
/>

I'm using the following line as a clue that this is possible:
https://github.com/rohit-gohri/redocusaurus/blob/c5e55d56a025e04a57fd16e25f7fddd5010e6f51/packages/docusaurus-theme-redoc/src/theme/ApiSchema/ApiSchema.tsx#L42
Along with this from redocly, which seems to correlate:
https://github.com/Redocly/redoc/blob/a160498089a44ebf540745b55fbaf18a54eb9d88/src/components/SchemaDefinition/SchemaDefinition.tsx?ts=2#L86
I am probably way off, let me know if you have any ideas.

I am facing the same issue while attempting to pass the schemaExpansionLevel option to an <ApiSchema> component.
Do you have any idea how to achieve this either for a single instance or globally? The redocly.yaml config file does not seem to work either for <ApiSchema> components :(


Does flashinfer support float datatype?

The examples are all tensors of half() type. I wonder if flashinfer supports fp32 dtype?

I got the same question. I am instantiate the SinglePrefillWithKVCacheDispatched function, but found that it has static_assert(sizeof(DTypeIn) == 2); check. @yzh119 Does this for some implementation consideration?

The decode attention operators support fp32, we just need to add fp32 to this macro:
https://github.com/flashinfer-ai/flashinfer/blob/5a38066f171a6c6932fe73693f161e14614e1eea/python/csrc/pytorch_extension_utils.h#L36-L51
For prefill/append attention, it's a little bit tricky, because many instructions such as ldmatrix (https://docs.nvidia.com/cuda/parallel-thread-execution/#warp-level-matrix-instructions-ldmatrix) only supports 16bits, which makes it non-trivial to load fp32 tiles (especially the transposed load) from shared memory to registers. An option is to convert fp32 input to bf16 and use bf16 prefill attention kernels, we can design an api that accepts bf16/fp16 input and returns fp32 output in flashinfer.

The decode attention operators support fp32, we just need to add fp32 to this macro:
https://github.com/flashinfer-ai/flashinfer/blob/5a38066f171a6c6932fe73693f161e14614e1eea/python/csrc/pytorch_extension_utils.h#L36-L51
For prefill/append attention, it's a little bit tricky, because many instructions such as ldmatrix (https://docs.nvidia.com/cuda/parallel-thread-execution/#warp-level-matrix-instructions-ldmatrix) only supports 16bits, which makes it non-trivial to load fp32 tiles (especially the transposed load) from shared memory to registers. An option is to convert fp32 input to bf16 and use bf16 prefill attention kernels, we can design an api that accepts bf16/fp16 input and returns fp32 output in flashinfer.

Got it, It looks tricky indeed. Thanks for your kind reply. I think the support of fp32 output sounds great and helpful!


Add View Designer reference

Added a link to View Designer so the reader can read and learn more about the concept.

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

#sign-off


Add Porter to the list

Hello, we build a service called Porter which collects hacker news submissions, filters out open source related news and sends out daily digest to developers. It might be quite relevant to the daily digest topic.
We also have a explore page which lists all new repos submitted to hacker news. That's where I found this repo :)

Hello! I didn't know Porter. Already started using it, and it's great!
I have added it to the list. :shipit:


Consider moving paths into a separate module

We should consider moving path.js into a separate module to be update in one place and used where we need it
Because here is how the following dependency tree looks like:

lib
depends on path

dext
✓

dext-core-utils
✓

dext-cli
✓

lib
depends on dext-core-utils

dext
╳

dext-cli
✓

lib
depends on dext-cli

dext
╳

dext-core-utils
╳

Alternative
Another option is remove path from dext and have dext-core-utils as a dependency even on production build

Another option is remove path from dext and have dext-core-utils as a dependency even on production build

This would be the best option since we'll most likely incorporate the core utils functions to modify config within the Dext app itself eventually either through a core plugin or some sort of system prefs window.

Closing this since I consider this question resolved


Get the PID

Hello @peppeocchi.
Nice tool! Anyway, on my implementation requires to get the PID from the job execution. My approach was from http://php.net/manual/en/function.exec.php#88704.
For a while, I have forked your repo https://github.com/YucaApp/php-cron-scheduler/commit/7ad080100dbae2c9196720f1e16c54ec5ec7deb0. I'm happy to create a PR for that if you think that is good for other users to use it, or probably you have a better approach for this?
Thanks.

Hi @adarmanto thanks for your comment, PRs are always welcome :)
If it doesn't break any other part of the system I'd be happy to merge it!

Done #53 :)

@peppeocchi, would be great if you can merge it!

so, in my testing the PID file the scheduler creates is its own PID
$command = "($php_bin $file | tee -a $log) > /dev/null 2>&1 & echo $!";
The $! will equate to itself the spawned process will be this PID + 1, or the next available PID, at least in my local machine.
I have resorted to modifying the target script to run its own PID creation file and have the it check its newly created file to see if its own PIDs line up.

https://github.com/adamz01h/php-cron-scheduler
I have implemented using a PID written to the lock file to check running processes. If the spawned PID does not match the script that its running it will assume it died and spin up a new instance.


Add 'company' field in UI , on the User Profile page

related to the task created by @pmuir :
https://github.com/almighty/almighty-core/issues/1052

And also add to the analytics service - https://github.com/fabric8io/fabric8-ui/blob/master/src/app/shared/analytics.service.ts#L170 add a new trait called 'company'

This is related to #358

Added to update profile page. See https://github.com/fabric8io/fabric8-ui/pull/1263.
Will update profile page, next.

The latest profile page is available in prod.


Show if firmware version is up to date

We should add an info to the diagnostics page whether the hotspot is up-to-date or not.
Ideally we should add an info if the hotspot is currently updating or add an indicator if the hotspot is stuck in an update.

Guess this is also related to what we discussed about a proper changelog too.
Maybe the status you mention could be reflected in the "all ok" status - i.e. if it's having issues updating it shows an error rather than all ok.
The updating / stuck in update thing I'm not sure we can do directly with polling some info on the device itself or whether it would need some kind of handler to communicate with balena directly. Need to check that

Think we might be able to use the balena supervisor api on the device for the update check
https://www.balena.io/docs/reference/supervisor/supervisor-api/#get-v1device

That looks great! I have noticed a few hotspots now that were fully updated but showing as Downloaded - Exited. These hotspots were online and keeping up with the sync but not participating in PoC at all. A reboot resolved the issue


There was a gaming site called nosteam or something like that

I remember back in the day there was a gaming site called nosteam or something like that.
I can't remember the URL, are you familiar with that website? if so - why it's not added to the list?

This is not a piracy support repository or anything like that. And it is not added here because you forgot the name and didn't add it.
This is not even my list, I'm just maintaining it. Literally, the first line of the repo clarifies that.


Vue version, TypeError: Cannot destructure property 'title' of 'document.getElementById(...)' as it is null.

Sometime we received this error:
index.esm.js:20 Uncaught (in promise) TypeError: Cannot destructure property 'title' of 'document.getElementById(...)' as it is null.
Screenshots

Desktop (please complete the following information):

OS: macOS
Browser chrome
Version @iframe-resizer/vue: ^5.1.0

Our code:
  <div class="my-12 sm:my-14" v-if="product.tilda && i18n(product.tilda)">
    <IframeResizer
        :src="i18n(product.tilda)"
        class="w-full"
    />
  </div>

That's strange the error suggests the iframe is missing from the page. Anyway I've changed how I check iframe.title and added a check that the iframe is actually there, so this should hopefully be fixed in v5.1.2. which has just been published.
If it is still an issue, can you please make me a test page, as I'm unable to repro this.
I'm new to Vue, so would love any feedback on how you think the Vue component could be improved.

thanks @davidjbradshaw ! you are awesome

I'm still a bit confused by this, as you got that error 27 times, but that code is only called when you load a page into the iframe.
Does your site use a lot of pages in the iframe? Or is maybe Vue doing something I'm not expecting?

no, I load only 1 page in iframe


⚠ File access has degraded performance

In b6c5d0c, File access (https://fyle.uk/file/fish) experienced degraded performance:

HTTP code: 200
Response time: 2307 ms

Resolved: File access performance has improved in f5dc053 after 10 minutes.


Fix for MySQL ANSI compliance issue with order by clause and MySQL 5.7

After upgrading to MySQL 5.7 on Ubuntu 16.04.1 LTS, the datasource for navigation stopped working with this error:
Expression #1 of ORDER BY clause is not in SELECT list, references column 'symphony.s.sortorder' which is not in SELECT list; this is incompatible with DISTINCT
The attached code makes the SQL compliant and fixes the issue.   This is my first pull request so I hope I have done it correctly.  It is against 2.7.x as I am using PHP 7.

Merged as c913fd12 Thanks!


Add Bootstrapping service

FEATURE REQUEST

Is there an open issue addressing this request? If it does, please add a "+1" reaction to the
existing issue, otherwise proceed to step 2.
No.

Describe the feature you are requesting, as well as the possible use case(s) for it.
Bootstrap service will provide initial Thing configuration. Besides this initial configuration, bootstrap service provides simple access control over Things. It’s possible to add or remove Thing to/from the whitelist in order to enable or disable message exchange for it. Initial BS endpoint will be provided in the Thing during the manufacturing process. Provisioning a new Thing is as simple as sending correspoinding data to this service. Once Thing is active, it’s aware only of the existence of that BS endpoint, so it sends a request for initial config to BS service. Once the Thing is bootstrapped, it’s possible to add it to the whitelist, so that it can exchange messages using Mainflux. Bootstrapping does not implicitly whitelist the Thing, so it has to be done manually. Thing configuration includes a list of Channels the Thing is connected to, so whitelisting is basically connecting and disconnecting the Thing to/from them. These Channels need to be preprovisioned.

Indicate the importance of this feature to you (must-have, should-have, nice-to-have).
This is should-have feature.

Quick question: Should we call this service bootstraping service or onboarding service?
Regarding the security of this process we must also ensure the authenticity of the sent bootstraping (onboarding) request and the thing it self. We must be sure that each request comes from a known thing. Even though the requests will be approved by an administrator (the whole responsibility is pushed to the user) we must add some security mechanisms to strengthen the security of this service in order to avoid its misuse.

@chombium I agree with you. In fact, I think that we can completely remove this self-bootstrapping section for two reasons: it brings really nothing and it breaks the basic idea of the service.

It does nothing useful because the flow will be pretty much the same and eventually will include administrator adding (updating, in this specific case) Thing on the service side, so no visible benefits here. Also, this introduces possible security issues.
It breaks service idea because the idea is simple: if you want a Thing to be able to bootstrap itself, you need to provision it on the Bootstrap service side.
The administrator can always check logs for the unknown Things that attempted to bootstrap and provision those on the bootstrap service side.

@chombium I've removed self-bootstrapping section, it's a really bad idea.

@dusanb94 the self-bootstrapping is not bad it's actually a great idea, but it takes a big effort to do it right in terms of security, so that we can make sure that the thing is the thing it "pretends"/"shows" to be.
We could eventually build something similar an account activation url when you register to some service. We would say that for each thing we'll have a separate activation url or token which will be "flashed" on the device in a secure environment and if something goes wrong with the thing (get's stolen or compromised) , the admin will deactivate the url/token.
The proper thing to do though would be to enable and build something like Intel SDO or some kind of hardware authentication on the thing it self something like Microchip's ATECC508A or ATECC608A. The proper and secure implementation depends on the capabilities of the things themselves as well.
The self-bootstrapping an interesting thing to play with ;)

@chombium Of course, self-bootstrapping would be a perfect solution, but I think that this should be discussed in a separate issue. It's much more complex than it initially looks like and the flow is really not much different than this usual bootstrapping flow.


bot doesnt play all music on the queue

as the title say , the bot only play the first music then stop  even there's ppl in vc

Hey there, that's odd, it probably requires an update on the ytdl and discordjs dependencies. In any case, I'm planning on working on this bot once my semester ends cause I barely have any time. Sorry for any inconvenience.

hey @moonstar-x how is your semester going?
and when would it ends?

Hey there, I should be free to work on this the next week. Sorry for any inconvenience!

Hello there you guys, I have finally opened some time in my schedule to work on this and got to update some of the aspects of this bot.
Please update your bot with git pull origin master or by redownloading the zip of the master branch. Make sure you remove the node-modules folder and re-run npm install since most of the packages used have been replaced. Also, check your settings.json since owner_id is no longer required and a new parameter shuffle has been added.
The bug described on this issue should be fixed in the newest version. I await your input after updating your bots so I can close this issue. Thanks for your patience and sorry for any inconvenience.

I have this problem also. It would also play the same song twice at times.

Hey there, do you have any console logs that you can share? It would help me identify what the problem could be.

Sorry I don't. I have to change hosting platforms currently so I can't provide any at the moment

Weird, I tried it out today with a queue that has only 2 songs and they both play successfully.
(5:29:50 PM) - [INFO] -  Connected to Discord! - Ready.
(5:29:50 PM) - [INFO] -  Joined 🎶 [Radio Disney] 🎶 in Greencoast Gaming.
(5:29:50 PM) - [INFO] -  Presence updated to: ◼ Nothing to play
(5:29:54 PM) - [INFO] -  Music has been resumed. Playing The Chainsmokers - Closer (Video) ft. Halsey for 1 user(s) in 🎶 [Radio Disney] 🎶.
(5:29:54 PM) - [INFO] -  Presence updated to: ► The Chainsmokers - Closer (Video) ft. Halsey
(5:34:03 PM) - [INFO] -  Presence updated to: ► Dreamcatcher (드림캐쳐) - YOU AND I
(5:37:20 PM) - [INFO] -  Presence updated to: ► The Chainsmokers - Closer (Video) ft. Halsey
(5:41:29 PM) - [INFO] -  Presence updated to: ► Dreamcatcher (드림캐쳐) - YOU AND I

Maybe it's something with ytdl, maybe the video that you guys are trying to play is incorrect, or the links in the queue file are incorrect. Make sure all your links start with https:// and are from youtube.com and not from youtu.be.

Closed due to inactivity.


Add phone number to contact page

Story
Add phone number so people can call Biblio on https://biblio.ugent.be/contact
Screenshot

Implementation suggestion

09 264 95 72

oops

Anniek mentioned she did not remember this; and she was fine trying it out and seeing whether people would still be misdirected, or if it is correct now. Is this okay to try it, or would we rather not take the risk to repeat the same problem?


Parser doesn't seem to handle generic TS types

Hello
It looks like the file parsed used for this lib does not correctly handle TS generic types, at least for the Request object.
I have the following function signature for one of my endpoints:
export async function createBoard(req: Request<{id: string}, {}, CreateBoard>, res: MyResponse) {
 /* ... */
}

and my configuration comments are ignored for this specific endpoint. Removing the generic type, thus using
export async function createBoard(req: Request, res: MyResponse) {
 /* ... */
}

works just fine.

Hi @ZRunner! Thank you for opening the issue.
I'll try to fix this as soon as possible. Any news, I'll post it here.

Using unknown or any solved the problem
export async function createBoard(req: Request<{id: string}, unknown, CreateBoard>, res: MyResponse) {  /* ... */ }

From what I can see, Request<{id: string}, unknown, CreateBoard> doesn't fix the issue but Request<any, unknown, CreateBoard> does. Which requires loosing quite a bit of information :/
@davibaltar do you have any approximate ETA for the fix of this issue? Or is the project discontinued?

Hi @ZRunner! No, I haven't. The project was not discontinued, but I had to slow it down due to other commitments. Any news I'll post it here. But this may take some time yet unfortunately.


No module named commandlineapp

After trying both python setup.py build and python setup.py install I get an error about commandlineapp not existing.
Is there something I could be missing trying to run this?

[Sorry for the delay, I've been on vacation.]As the description says this is just a mirror, and therefore not an active project.> After trying both python setup.py build and python setup.py install I get an error about commandlineapp not existing.> > Is there something I could be missing trying to run this?shell-doctest comes from the dark ages, and doesn't handle its dependencies in the modern way.  You can either exchange the distutils setup for setuptools in setup.py, or manually install the dependencies listed in setup.py.Honestly, I'd recommend using something else anyway.  A quick poll in the office says cram is popular for similar tasks, and I'm only using shell-doctest on a remaining few legacy projects myself.


Feat: : Update Storybook to v8.1

Describe your changes
Ran the npx storybook@latest upgrade command and followed the instructions tu update the files
Checklist

[x] I performed a self review of my code
[x] I ensured that everything is written in English
[x] I tested the feature or fix on my local environment
[x] I ran the pnpm storybook command and everything is working

You did not push the lockfile


Setup: Fix password indicator progress

With Bootstrap alpha 6, the progress changed:
http://v4-alpha.getbootstrap.com/components/progress/
It should look like this:

Fixed while you were creating the issue


doris/be/lib/doris_be: cannot execute binary file

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
doris 2.0.2
macos 14.1 (23B74)
jdk1.8
What's Wrong?
I download the apache-doris-2.0.2-bin-x64.tar.gz from the latest binary version of Doris .I execute the command be/bin/start_be.sh --daemon.Then be/log/be.out show be/lib/doris_be: cannot execute binary file.I can not start  be server.
What You Expected?
I just want be server to start.
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

This is for linux, so you should compile it by yourself.

This is for linux, so you should compile it by yourself.

thx


The fields property doesn't work with nested fields

Describe the bug
For example wanting to retrieve the field ent1.prop1 with the FindOne option creates a wrong query (it has support for nested fields as it does not turn ent1.prop1 into e0.ent1.prop1 which happens when you dont specify anything before the dot).
It will create this query which does not work.
select `e0`.`id`, `ent1`.`prop1` from `ent0` as `e0` where `e0`.`id` = 9 and `e0`.`prop2` = 73 limit 1
Is it possible to have that option work the same way as the FilterQuery does?

What exactly are you doing? Please add a code snippet.

Is this what you are talking about?
const ret = await em.findOne(Entity1, 1, { fields: ['ent1.prop1'] });

If so, I am not planing to support this kind of auto-joining for fields, at least not in near future. The way it works now is to fire one query for each entity, so it would still mean firing 2 queries which is definitely what you want.
Feature like this might be available once we have (optional) fetch joining implemented with result set mapper/hydrator that could handle such response.

Sorry for the delay but that is exactly what I mean. Understandable that you are not supporting it, thank you for the response.

Ok closing this now. Obvious workaround to achieve this is to use the query builder and map data to entities manually, something like this should work:
const qb = em.createQueryBuilder(Entity0, 'ent0');
qb.select(['ent0.*', 'ent1.prop1']).leftJoin('ent0.ent1').where({ id: 1 });
const res = await qb.execute('get'); // get the first row of raw data
const ent0 = em.map(Entity0, res); // create instance of Entity0, with reference to Entity1 under `ent1` property
ent0.ent1.prop1 = res.ent1.prop1; // or you could do `wrap(ent0.ent1).assign({ ... });` to assign multiple properties in one step

Not tested, but generally this is how you could do it. You could also remove the left join and populate ent1 manually by calling another em.findOne where you can use the fields option (which would result in 2 queries as opposed to the previous example):
const ent0 = await em.findOne(Entity0, 1); // this should also create reference of Entity1 under ent1 property
const ent1 = await em.findOne(Entity1, ent0.ent1.id, { fields: ['prop1'] }); // thanks to identity map, `ent0.ent1 === ent1`

@B4nan I'd like to revisit this as I'm running into a similar issue here. I'm using mikro-orm with a GraphQL server. Using the Book->Author example I have a GraphQL query that looks like this:
{
    getAllBooks() {
        id,
        title,
        publishYear,
        author {
            id,
            firstName,
            lastName
        }
}

Right now I can do this:
const books = await bookRepo.find({}, { populate: ["author"], fields: ["id", "title", "publishYear", "author"]});

This works, but it's over-fetching fields for Authors that are not needed because the second query to fetch the related authors selects *. It would be EXCELLENT if I could use the fields property to also define the fields I'd like selected on the author relationship.
I'd love to do something like this:
const books = await bookRepo.find({}, { populate: ["author"], fields: ["id", "title", "publishYear", "author.id", "author.firstName", "author.lastName"]});

Dot notation seems like a natural fit and could be parsed relatively easily assuming you have access to that property when you generate the related queries.
Admittedly I haven't looked at the code yet, but if this seems feasible to you I'd be happy to put together a PR.
Thoughts?

Let's reopen this, I feel like the time for features like this has finally come.
@chrisbrantley sorry for the late response, if you are still willing to give it a try, feel free to do so!


Pre-compile functions?

Is there a simple way to pre-compile certain functions, and then repeatedly call them with different parameters?
I suppose constantly re-running textual scripts also work, but the parsing work will be duplicated each time...

https://github.com/jonathandturner/rhai/pull/97


Bug with tuple element cardinality.

Consider the following:
scope> WITH
......     MODULE test,
......     letter := {'A', 'B'},
......     tup := (
......         letter,
......         (
......             SELECT User
......             FILTER .name[0] = letter
......         )
......     )
...... SELECT _ := tup.1 {
......     name,
......     l := tup.0,
...... }
...... ORDER BY .name;
......
{Object { name: 'Alice', l: {'A'} }, Object { name: 'Bob', l: {'B'} }

(see test_edgeql_scope_tuple_13)
The goal here is to re-package the tuple elements such that one of them becomes a computable in the shape of the other.
The first question is: is this even legal? It intuitively makes sense, but technically it looks as if two different prefixes tup.1 and tup.0 are combined in a way that would be definitely illegal if they were regular paths like Foo.bar1 and Foo.bar0. I would argue that this should be legal because the . in tuple dereferencing is not really a path, but is more akin to [...] index access. So there's no violation of the common path prefix rule. More pragmatically, making it hard to repackage tuples makes tuples less useful.
The reason why I came up with this example of tuple usage is #743. Basically, it's an attempt to rewrite a FOR in terms of tuples. Although I agree with the point that the additional clauses are ambiguous when used with FOR and they cause problems, it means that if I want to order my FOR computable (because I'll use it in output) I need to jump through hoops. See test_edgeql_for_in_computable_01 (which works) and test_edgeql_for_in_computable_02 (which doesn't work) in #832 . Correlating link props and link targets is one of good examples why we even need a FOR.

Fixed in https://github.com/edgedb/edgedb/commit/9011c8213260366491b60c11896613637cc920fe


[BEAM-14009] Set 'sdk_harness_container_images' property for Dataflow Prime - Python SDK

Without this Dataflow Prime jobs use the deprecated 'worker_harness_container_image' option during container setup.
This will also enable the new artifact service by default for Prime jobs (already the default for jobs that use 'use_runner_v2' experiment).
Also enables a number of tests for both 'use_runner_v2' experiment and 'enable_prime' option.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

cc: @ihji

Run Portable_Python PreCommit

Will hold this off till a Dataflow service change is fully deployed: https://github.com/apache/beam/pull/16981#discussion_r821974742

@kennknowles we can set this property for all Dataflow jobs now. PTAL.

Thanks.


Feature Request: Make edit end smart enough to detect changes

Sometimes I use start/end to review a file and ultimately not make changes. But once the file is re-encrypted I'm asked to commit the changes even if nothing changed. Possible to make closing out a file smart enough to know if something was modified?

IMHO, this would be a lot harder than it sounds and not necessarily worth doing within blackbox - and it would be better do encrypt single files as they are altered.
While it would be easy to track if a file were changed via a datastore of md5 values of the enrolled files, a re-encryption of the file is needed if any of the gpg keys were changed.  For that feature request to work properly, blackbox_edit_end would need to track both file changes and keyring changes.  The work needed on the keyring would be a lot more complex.


Fix pretty much everything

Lastfm why must you do this to me
Breaking changes has caused issues with several endpoints.
Fix it and make sure it doesn't happen again.
Will probably be 2.0.0

Change has been rolled back, now transformed to safeguarding
Will probably still make this breaking

Being worked on in v2 branch.


Cannot install with build args while UV can

I originally had this as a discussion but as UV works it seems like a valid issue.
I need llama-cpp-python with cuda, according the installation docs I need to run CMAKE_ARGS="-DGGML_CUDA=on" pip install llama-cpp-python
I've tried CMAKE_ARGS="-DGGML_CUDA=on" rye add llama-cpp-python and this doesn't work, I've also tried setting export CMAKE_ARGS=-DGGML_CUDA=on and including this in a .env file and then running rye add llama-cpp-python. All of these approaches give me the CPU only version
However, this works
rye add pip
source .venv/bin/activate
CMAKE_ARGS="-DGGML_CUDA=on" pip install llama-cpp-python

Also this works
rye add uv
CMAKE_ARGS="-DGGML_CUDA=on" uv pip install llama-cpp-python

Originally posted by @this-josh in https://github.com/astral-sh/rye/discussions/1270

A similar question was asked by @Fissium in https://github.com/astral-sh/rye/discussions/469

export FORCE_CMAKE="1" CMAKE_ARGS="-DGGML_CUDA=ON -DCMAKE_CXX_COMPILER=/usr/bin/g++-12"
uv clean llama-cpp-python
rye add llama-cpp-python

Explanation:
FORCE_CMAKE="1": Ensures that CMake is re-run even if existing build files are present, which is necessary when changing compiler settings.
CMAKE_ARGS="-DGGML_CUDA=ON -DCMAKE_CXX_COMPILER=/usr/bin/g++-12":
-DGGML_CUDA=ON: Enables CUDA support in the build process.
-DCMAKE_CXX_COMPILER=/usr/bin/g++-12: Explicitly sets the C++ compiler to g++-12. This is required because your version of nvcc doesn't fully support GCC 13 yet, and you need to use the older g++-12 for compatibility.
Note:  The NVCC_PREPEND_FLAGS approach is not the most reliable way to set the host compiler in newer CUDA versions.  Directly setting CMAKE_CXX_COMPILER is the preferred method.
➜ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Wed_Aug_14_10:10:22_PDT_2024
Cuda compilation tools, release 12.6, V12.6.68
Build cuda_12.6.r12.6/compiler.34714021_0

gcc version :
➜ gcc --version
gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

cmake version :
➜ cmake --version
cmake version 3.28.3


Fix typo in ResolutionRequest help

This PR fixes a small typo in an error message thrown by the packager.

This isn't a typo; since the options to rm can be in any order -rf or -fr... But I do agree that this doesn't follow the convention of rm -rf


NZSL-81 package and info endpoints

Copy the package and info endpoints from Global Signbank and adjust to work for NZSL.
Visually the current results match the responses from Global Signbank.
No usable tests have been available to copy over and due to time constraints they have not been included in this PR.

@nora-ns looks like this is good for you to land and let the client know


Add ability to dryrun to AsheAutomation

It would be very useful if AsheAutomation had a mode that does not actually invoke the LLM, but instead:

checks out the target projects
runs specimin to set up the call to the LLM
uses the "testing" mode in #28 to mock the call to the LLM, so that we don't actually spend $$

This mode will be very useful for testing that Ashe/AsheAutomation work well, and also allow us to detect any bugs in specimin on programs that we're interested in. More broadly, it'll be useful to users so that they can be confident that a run of ASHE will get to the stage where calls to the LLM (which cost money) will actually be useful.

Completed with #32. Closing issues.


Unable to hit catch within chain

Version: 6.7.0
I'm currently mixing SwiftyStoreKit and PromiseKit in order to handle in-app purchases, the problem/issue I'm having is that within the chain of promises if I throw an error within one of them the catch block isn't being executed/hit when the reject() function is called.
To how I'm chaining these promises, you can see this below.
     firstly {
        IAPViewModel.retrieveIAPProducts()
     }.then { products in
        IAPViewModel.purchase(products[1])
     }.ensure {
        // This is to silence the warning of values being unused
        _ = IAPViewModel.validatePurchases()
     }.catch { error in
        UIAlertController.show(message: "Error - \(error._code): \(error.localizedDescription)")
     }

An example of a function that's wrapped around a Promise, the best example is probably my purchase function since users can hit cancel and this will throw an error. See below.
static func purchase(_ product: SKProduct) -> Promise<Void> {

    let loftyLoadingViewContentModel =  LoftyLoadingViewContentModel(title: "Purchasing".uppercased(), message: "We’re currently processing your\nrequest, for your subscription.")
    UIApplication.topViewController()?.showLoadingView(.popOverScreen, loftyLoadingViewContentModel)

    return Promise { seal in

        SwiftyStoreKit.purchaseProduct(product) { purchaseResult in

            switch purchaseResult {
            case .success(let product):
                if product.needsFinishTransaction {
                    SwiftyStoreKit.finishTransaction(product.transaction)
                }
                seal.fulfill()
                log.info("Purchase Success: \(product.productId)")
            case .error(let error):
                UIApplication.topViewController()?.removeLoadingView()
                seal.reject(error)
            }
        }
    }
}

I have put a breakpoint in and the error case is being hit when I touch cancel, but this then doesn't trigger the catch block back within the chain of Promises. I can't seem to put my finger on why.

Probably: https://github.com/mxcl/PromiseKit/blob/master/Documentation/CommonPatterns.md#cancellation

@mxcl So am I wrong in assuming that reject will call the catch block? And instead it should be an cancellation, since all the other examples i’ve saw use the same sort of pattern that i’ve provided in the question

Calling reject will eventually always call a catch block provided that the catch is part of the same promise chain, unless it is a cancellation error (unless you disable this behavior, see the documentation).
As the documentation says catch(policy: .allErrrors) will also handle cancellation errors.

@mxcl Ahhh ok thanks for clearing that up, closing this now.


Added vue-js-dropdown

Hey guys added https://github.com/euvl/vue-js-dropdown
Also not quite sure if i have to create a new section for it (Dropdown) or "Menu" is okay?


Investigate why we can't decrypt sessions on Wireshark

{Chrome,Firefox}/{nginx,apache} DH

This is now resolved. We can see plaintext - compressed text - chunked text - ciphertext and the compression analysis of the compressed text.


split into two pipelines for manual trigger

split into 2 different pipelines so we can manually trigger the azure pipeline

/azp run pr-e2e-azure

/azp run pr-e2e-azure

/azp run pr-e2e-azure


hcq spec

Thinking of making something like HCQ Spec (set of commands in queues and features to be implemented to make it compatible with HCQGraph, copy_from_disk). Qcom should support this too, but some little tweaks for UnifiedMemory (like as_buffer implementation).

Looking good. Hopefully this refactor is pretty easy to confirm it's correct with the tests. If there's anywhere the tests pass that doesn't work on the real device, we should figure out how to improve the tests.


LOG-5048: disable histogram when query results are metrics

This PR disables and hides the histogram when results are metrics

/cherry-pick release-5.8

/lgtm


Bottom Bar Beautification + Tweaks

Made adjustments to bottom bar formatting to prevent text jitter.  Also changed the maximum value for displayed times from over 9000 (!!!! lol)  to over 24 hours, in order to conserve space and make it more readable.
I also rewrote combine.sh so it combines source files in the correct order.
WHAT! NINE-THOUSAND!

I dunno if I agree on removing the over 9000 part =p.  I am a DBZ fan if you have not figured it out, lol.  I'll take a look in a bit (hopefully).

The main reason I changed it was times with four digit days were really long strings.  But yeah love the dbz reference :)

Yay version change.  Killing this pull for now.

You didn't need to do that, as I may be able to use some of the code.  I'll still take a look after I fix it for the new version.

it was mostly just formatting anyway.  nothing backend.  i'll make a new pull on dev after the main changes are in.

I mean I can do all the minor fixes since I'm changing the code for the new version anyway.  I must say that I will probably still leave 9000 there, or at least make it an option (that is default =p).

sure, reopening it on dev for ya then

Okay thanks!  I'll take a look and if it's minor, I'll add them =D.


Addition of NLLoss and its variant

@vroulet  I was thinking that addition of NLLoss (https://pytorch.org/docs/stable/generated/torch.nn.NLLLoss.html), PoissonNLLLoss(https://pytorch.org/docs/stable/generated/torch.nn.PoissonNLLLoss.html) and GaussianNLLLoss(https://pytorch.org/docs/stable/generated/torch.nn.GaussianNLLLoss.html) in this library will be useful.

Hello @Saanidhyavats,
It makes sense indeed. Would you like to contribute to such a PR?
Make sure to take a look at the other losses to see some template and also to see if these losses could be instantiated through other losses (I don't think so from a quick look but better to verify thoroughly).

Sure I will create a PR for this


Build fails on Linux Mint 20

Build script fails to find libusb, but libusb-dev and libusb-1.0 are installed from default repository,  both /usr/bin/libusb-config and /usr/lib/x86_64-linux-gnu/pkgconfig/libusb.pc are present. This affects installation of popular crates such as cargo-flash.
The current workaround is to manually download/compile/install libusb from github.com/libusb.
thread 'main' panicked at 'Unable to find libusb-1.0: "`\"pkg-config\" \"--libs\" \"--cflags\" \"libusb-1.0\"` did not exit successfully: exit code: 1\n--- stderr\nPackage libusb-1.0 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libusb-1.0.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'libusb-1.0\' found\n"', /home/apg/.cargo/registry/src/github.com-1ecc6299db9ec823/hidapi-1.2.5/build.rs:65:60
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

# apt list libusb-dev libusb-1.0-0
Listing... Done
libusb-1.0-0/focal,now 2:1.0.23-2build1 amd64 [installed]
libusb-1.0-0/focal,now 2:1.0.23-2build1 i386 [installed,automatic]
libusb-dev/focal,now 2:0.1.12-32 amd64 [installed]
libusb-dev/focal 2:0.1.12-32 i386

You have to install libusb-1.0.0-dev as well.

The proper package name is apparently libusb-1.0-0-dev, which is somewhat confusing and I think should be mentioned in installation instructions. README's for cargo-flash etc. tell just to  apt install libusb-dev, which is apparently not enough.
# apt install libusb-1.0.0-dev
...
E: Unable to locate package libusb-1.0.0-dev

# apt-get install libusb-1.0.0-dev
...
Note, selecting 'libusb-1.0-0-dev' for regex 'libusb-1.0.0-dev'
The following additional packages will be installed:
  libusb-1.0-doc
The following NEW packages will be installed:
  libusb-1.0-0-dev libusb-1.0-doc

Maybe create an issue in cargo-flash for updating the README with libusb-1.0.0-dev?


Fix new custom location feature

Fix for last PR.
Sorry, it seems I hadn't tested enough : the logs were saved without context.location key. So the webPanel can't showing file infos.

I merge cause it's a fix :blush:


Issues on Medium links in Search

Have you checked that your issue isn't already filed?

[X] I read through FAQ and searched through the past issues, none of which addressed my issue.
[X] Yes, I have checked that this issue isn't already filed.

Bug description
Medium links in Search redirects to asset file instead of Medium and may be duplicated
How to reproduce the bug
Steps to reproduce:

Use the template and add Medium link through _config.yml
Launch the site, and use the search function to search for the post

Expected output:

Link in search will redirect to the actual medium post, e.g. medium.com/user/medium-title
Each medium post will be shown exactly once (no duplicates)

Actual output:

Link in search will redirect to the actual medium post, e.g. example.github.io/medium-year/medium-title
A medium post may be shown twice (duplicated)

What operating system are you using?
Not applicable (e.g. you're using GitHub Pages or other hosting)
Where are you seeing the problem on?
Deployed site
More info
Related to the question #2464
Example output:

I'm unfamiliar with Jekyll, but from what I've tested out, it seems that the duplicate issue originates in search.liquid looping over both site.collections and site.posts.
https://github.com/alshedivat/al-folio/blob/afc56cc9877d08506e83c6568fe6ae8f2867d508/_includes/scripts/search.liquid#L75-L86
https://github.com/alshedivat/al-folio/blob/afc56cc9877d08506e83c6568fe6ae8f2867d508/_includes/scripts/search.liquid#L87-L106
The cause seems to be due posts are also considered as collections. I'm not sure how to see exactly what site contains, but I assumed so because looking at external_posts.rb, posts are added into collections.
https://github.com/alshedivat/al-folio/blob/afc56cc9877d08506e83c6568fe6ae8f2867d508/_plugins/external-posts.rb#L44-L57
Additionally, the function create_document in external_posts.rb doesn't seem to define the url as the external url and instead stores it in redirect. Since in search.liquid the url is used instead of redirect, search doesn't work as expected.

Hope this helps. Let me know if there's anything I can assist to fix (not sure about how best to approach). Thanks!

Thanks!


CryoEngines and related extras

This should be getting to the end of these. Moves to self hosting and adds a previously un-indexed mod.

#rebuild

Looks good now. Thanks for another update!


Win 64 installer does not launch

What did I do
Download and run
.
What happened
Wheel goes around 3 x, then nothing
No error.
Expected
The 32-bit version installs and runs
Environment

OS:  Win 11
MQTTX version, v1.9.1

More detail
No log since no run
Nothing for screenshot

Hi, @Dan-Essin. Thank you for reporting this issue. We apologize for the trouble caused. Based on your description, it seems the 64-bit version of MQTTX is not functioning properly on your Windows 11 system after installation. This could be due to a compatibility problem with the newer Windows version.
Here are a few things we would suggest to troubleshoot and fix this issue:

Please double-check if you have downloaded the correct 64-bit version that matches your Windows 11 system. If not, please re-download the correct version and try re-installing it.
Please check if permission issues could prevent the application from launching. You may need to run the installer/application with admin privileges.
Please also check if any antivirus software or firewalls could be blocking the application. You may need to disable them to allow the installation/launching temporarily.
As the 32-bit version is working, you can continue using that as an alternative for now. We will work to investigate and fix the compatibility issues with the 64-bit version.
Please provide any error logs, crash reports, or screenshots to help us further troubleshoot and debug the issue.
We sincerely apologize for the trouble. Please let us know if you have any other questions or concerns. We will continue improving MQTTX compatibility and stability on Windows platforms.

Hi, thank you for reporting this issue. If there are no further issues, I will close this issue.


Support multiples messages

I guess we can do that by using \n to separate message in content:.

Content will not display \n as new line from content, for this we use \00000a as described here http://stackoverflow.com/questions/9062988/newline-character-sequence-in-css-content-property

If that's already supported that's cool !


Feature Request: Add Status Badge support

It would be great to add Status Badge support so that JX3 users could add Build Status Shield.IO badges to their GitHub repos.
Example:

In JX2, Status Badge support could be added via The Jenkins X Status Badge App. Unfortunately, this app does not work with JX3.

@jstrachan Suggested I post this Feature Request in the jenkins-x/jx-pipelines-visualizer. - Slack thread

good idea, shouldn't be too hard to implement. the old code is here: https://github.com/jenkins-x/status-badge


Remove q from calibrations.py

Qubits from engine have not had the 'q' prefix
in a while.  Removing this prefix check from the
calibration code.

Fixes #2963

Also I cannot resist.  "There is no q in calibrations".


Neoforge 1.21.1 not correctly syncing animations with server.

I was playtesting the plugin to make sure the procedures worked correctly on forge and Neoforge.
Once I got to Neoforge the animation would play on my client, but didn't show on the other and instead showed on the other client's player.
I don't know if this is a me issue or a plugin bug, I am new here so I will not be surprised if this is invalid.

No one gonna comment?

This repository must be dead


[Bug] be crash

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
1.1.3
What's Wrong?
*** SIGSEGV address not mapped to object (@0x9) received by PID 20571 (TID 0x7f1ba73d4700) from PID 9; stack trace: ***
0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /mnt/disk2/ygl/code/github/apache-doris/be/src/common/signal_handler.h:420
1# 0x00007F1BBE192400 in /lib64/libc.so.6
2# doris::vectorized::ColumnDictionary::convert_to_predicate_column_if_dictionary() at /mnt/disk2/ygl/code/github/apache-doris/be/src/vec/columns/column_dictionary.h:272
3# doris::vectorized::ColumnNullable::convert_to_predicate_column_if_dictionary() at /mnt/disk2/ygl/code/github/apache-doris/be/src/vec/columns/column_nullable.h:273
4# doris::segment_v2::BinaryDictPageDecoder::next_batch(unsigned long*, COWdoris::vectorized::IColumn::mutable_ptrdoris::vectorized::IColumn&) at /mnt/disk2/ygl/code/github/apache-doris/be/src/olap/rowset/segment_v2/binary_dict_page.cpp:237
5# doris::segment_v2::FileColumnIterator::next_batch(unsigned long*, COWdoris::vectorized::IColumn::mutable_ptrdoris::vectorized::IColumn&, bool*) at /mnt/disk2/ygl/code/github/apache-doris/be/src/olap/rowset/segment_v2/column_reader.cpp:629
6# doris::segment_v2::SegmentIterator::_read_columns_by_index(unsigned int, unsigned int&, bool) at /mnt/disk2/ygl/code/github/apache-doris/be/src/olap/rowset/segment_v2/segment_iterator.cpp:808
7# doris::segment_v2::SegmentIterator::next_batch(doris::vectorized::Block*) at /mnt/disk2/ygl/code/github/apache-doris/be/src/olap/rowset/segment_v2/segment_iterator.cpp:955
8# doris::vectorized::VUnionIterator::next_batch(doris::vectorized::Block*) at /mnt/disk2/ygl/code/github/apache-doris/be/src/vec/olap/vgeneric_iterators.cpp:443
9# doris::BetaRowsetReader::next_block(doris::vectorized::Block*) at /mnt/disk2/ygl/code/github/apache-doris/be/src/olap/rowset/beta_rowset_reader.cpp:204
10# doris::vectorized::VCollectIterator::Level0Iterator::next(doris::vectorized::Block*) at /mnt/disk2/ygl/code/github/apache-doris/be/src/vec/olap/vcollect_iterator.cpp:235
11# doris::vectorized::VCollectIterator::Level1Iterator::next(doris::vectorized::Block*) at /mnt/disk2/ygl/code/github/apache-doris/be/src/vec/olap/vcollect_iterator.cpp:294
12# doris::vectorized::BlockReader::_direct_next_block(doris::vectorized::Block*, doris::MemPool*, doris::ObjectPool*, bool*) at /mnt/disk2/ygl/code/github/apache-doris/be/src/vec/olap/block_reader.cpp:177
13# doris::vectorized::VOlapScanner::get_block(doris::RuntimeState*, doris::vectorized::Block*, bool*) at /mnt/disk2/ygl/code/github/apache-doris/be/src/vec/exec/volap_scanner.cpp:53
14# doris::vectorized::VOlapScanNode::scanner_thread(doris::vectorized::VOlapScanner*) at /mnt/disk2/ygl/code/github/apache-doris/be/src/vec/exec/volap_scan_node.cpp:227
15# doris::PriorityWorkStealingThreadPool::work_thread(int) at /mnt/disk2/ygl/code/github/apache-doris/be/src/util/priority_work_stealing_thread_pool.hpp:135
16# execute_native_thread_routine in /opt/doris/be/lib/doris_be
17# start_thread in /lib64/libpthread.so.0
18# clone in /lib64/libc.so.6
What You Expected?
1
How to Reproduce?
varchar类型的排序字段，有null数据时，按照条件过滤触发BUG。
比如说receiving_scan_time是排序字段，varchar类型，按照条件receiving_scan_time > '2022-10-26' 过滤时be会crash
Anything Else?
1
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

I briefly reproduced your scene, but there was no be crash. Could you please describe your usage in detail, such as providing scheme and query

same sql，sometimes success，sometimes crash。
table：
CREATE TABLE dwd_xx_order_df_test
(
shop_id              bigint(20) NULL COMMENT "id",
receiving_scan_time  varchar(32) NULL COMMENT "时间",
order_no             varchar(32) NULL COMMENT "x",
order_details_id     varchar(32) NULL COMMENT "x",
is_anti_spam         int(11) NULL COMMENT "x",
item_id              bigint(20) NULL COMMENT "x",
status               int(11) NULL COMMENT "x",
receiving_scan_flag  int(11) NULL COMMENT "x",
user_id              bigint(20) NULL COMMENT "x",
mobile               varchar(255) NULL COMMENT "x",
address text NULL COMMENT "x",
vid text NULL COMMENT "x",
vcid                 bigint(20) NULL COMMENT "x",
tcid                 bigint(20) NULL COMMENT "x",
item_num             bigint(20) NULL COMMENT "x",
purchase_price       double NULL COMMENT "x",
total_amount         double NULL COMMENT "x",
tid                  bigint(20) NULL COMMENT "x",
is_lack              int(11) NULL COMMENT "x",
city_market_id       bigint(20) NULL COMMENT "x",
is_same_city         int(11) NULL COMMENT "x",
product_label_status int(11) NULL COMMENT "x",
qc_status            int(11) NULL COMMENT "x",
create_time          varchar(32) NULL COMMENT "x",
pay_time             varchar(32) NULL COMMENT "x",
dt                   varchar(32) NULL COMMENT "x"
) ENGINE=OLAP
DUPLICATE KEY(shop_id, receiving_scan_time)
COMMENT "OLAP"
DISTRIBUTED BY HASH(shop_id) BUCKETS 5
PROPERTIES (
"replication_allocation" = "tag.location.default: 1",
"in_memory" = "false",
"storage_format" = "V2"
);
query sql：
select shop_id,
receiving_scan_time,
order_no,
order_details_id,
case when product_label_status = 9 then '是' else '否' end     as is_cancel,
case
when is_anti_spam = 0 then '非作弊'
when is_anti_spam = 1 then '作弊1'
when is_anti_spam = 2 then '作弊2'
when is_anti_spam = 3 then '作弊3' end                     as is_anti_spam,
item_id,
case when status = 0 then 'off' when status = 1 then 'on' end as status,
receiving_scan_flag,
user_id,
mobile,
address,
vid,
vcid,
tcid,
item_num,
purchase_price,
total_amount,
tid,
is_lack,
city_market_id,
is_same_city,
product_label_status,
qc_status,
create_time,
pay_time,
dt
from dwd_old_order_df_test
where receiving_scan_time >= '2022-10-01';

I briefly reproduced your scene, but there was no be crash. Could you please describe your usage in detail, such as providing scheme and query

when i change  field “receiving_scan_time“ from varchar to date，and set default value.  so far not crash

Hello, I reproduced according to the scheme and query you provided. I randomly created about 50,000 pieces of data, including NULL, but I am sorry that I still have not reproduced your situation. We have repaired similar situations before. Please check #11967, and then I also want to confirm whether your version is 1.1.3 downloaded from the official website. If you are willing to communicate with me in detail, you can add WeChat: zyk815574403,thanks.


Add contrib CI for space_huggingface_hub

Related to https://github.com/explosion/spacy-huggingface-hub/pull/14 (cc @osanseviero @adrianeboyd).
spacy-huggingface-hub has a single feature (push model to hub) which is untested so far. Let's add it to our Contrib CI to prevent future breaking changes. To be more precise, we might break an api somewhere in the future but at least we will detect it enough in advance. Test is run with the latest dev version of huggingface_hub and breaks on any FutureWarning that is raised. If we encounter a bug, we would report it on https://github.com/explosion/spacy-huggingface-hub.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


ArmoRM-Llama3-8B-v0.1's tokenizer is different from Meta-Llama-3-8B-Instruct's

Could you give more details?

https://huggingface.co/RLHFlow/ArmoRM-Llama3-8B-v0.1/blob/main/tokenizer.json and
https://huggingface.co/meta-llama/Meta-Llama-3-8B/blob/main/tokenizer.json
are different.

diff result:
2309,2317d2308
<     },
<     {
<       "id": 128256,
<       "content": "[PAD]",
<       "single_word": false,
<       "lstrip": false,
<       "rstrip": false,
<       "normalized": false,
<       "special": true
2341,2344c2332,2394
<     "type": "ByteLevel",
<     "add_prefix_space": true,
<     "trim_offsets": false,
<     "use_regex": true

"type": "Sequence",
"processors": [
  {
    "type": "ByteLevel",
    "add_prefix_space": true,
    "trim_offsets": false,
    "use_regex": true
  },
  {
    "type": "TemplateProcessing",
    "single": [
      {
        "SpecialToken": {
          "id": "<|begin_of_text|>",
          "type_id": 0
        }
      },
      {
        "Sequence": {
          "id": "A",
          "type_id": 0
        }
      }
    ],
    "pair": [
      {
        "SpecialToken": {
          "id": "<|begin_of_text|>",
          "type_id": 0
        }
      },
      {
        "Sequence": {
          "id": "A",
          "type_id": 0
        }
      },
      {
        "SpecialToken": {
          "id": "<|begin_of_text|>",
          "type_id": 1
        }
      },
      {
        "Sequence": {
          "id": "B",
          "type_id": 1
        }
      }
    ],
    "special_tokens": {
      "<|begin_of_text|>": {
        "id": "<|begin_of_text|>",
        "ids": [
          128000
        ],
        "tokens": [
          "<|begin_of_text|>"
        ]
      }
    }
  }
]

2360c2410
<     "ignore_merges": false,

"ignore_merges": true,

The base model is https://huggingface.co/sfairXC/FsfairX-LLaMA3-RM-v0.1 and we adopted its tokenizer.
Maybe @hendrydong can answer this question.

I think the main reason is that we added a special token for padding. Just like  https://github.com/RLHFlow/RLHF-Reward-Modeling/blob/86e08cde705e3743962254993152d181bbf12e3d/bradley-terry-rm/llama3_8B_rm.py#L113
tokenizer.add_special_tokens({'pad_token': '[PAD]'}). Using eos for padding may cause some issues for multi-round conversations.

from transformers import AutoTokenizer

t = AutoTokenizer.from_pretrained("Meta-Llama-3-8B-Instruct")
t1 = AutoTokenizer.from_pretrained("ArmoRM-Llama3-8B-v0.1-old")
r = "<|end_of_text|> thỏa"
r0 = t.encode(r, add_special_tokens=False)
r1 = t1.encode(r, add_special_tokens=False)
r0, r1

([128001, 121167], [128001, 270, 86242, 64])

Hi, I think this is because that early versions of tokenizer does not support some features, e.g., "ignore_merges", which has also been mentioned other repos (https://huggingface.co/meta-llama/Meta-Llama-3-70B-Instruct/discussions/21 and
https://github.com/huggingface/tokenizers/issues/1537).
Note that this does not influence the encoder-decoder process.  For example, t.decode(r0) == t1.decode(r1) == t.decode(r1) == t1.decode(r0) is True. Only for some rare tokens, it may have some impacts. It should be okay for general usecases.


Fix Zed release

/crates/gpui/src/element.rs:132:57
    |
132 |     fn render(&mut self, cx: &mut ViewContext<Self>) -> impl IntoElement;
    |                                                         ^^^^^^^^^^^^^^^^
    |

A number of errors when running cargo run dev, assuming because the zed package is pulled from GitHub master

No this is an unsupported rust version. There has been another issue with this same error.

See #2

I didn't check the Cargo.toml, cheers!


Update loss.py

I wonder if it is possible to convert the zero vectors in the matrix to one vectors? To avoid NaN loss, add the following two lines of code. I'm testing this modified model to see if it works. As a newbie to deep learning, please forgive me if my question is naive. thank you very much for your help!🙏

Last Night I try to delete the lable_scale and I found it works also well , but the loss is big , so I think if  turning zero vectro into One vetcor is ok

    def forward(self, logits, z, labels):
        if self.multiclass:
            if not self.onehot:
                labels = F.one_hot(labels, logits.size(1))
            labels = labels.float()

            margin_logits = self.compute_margin_logits(logits, labels)

            # label smoothing
            log_logits = F.log_softmax(margin_logits, dim=1)
            # if there are some Zero Vector in Matrix
            A = ((labels==0).sum(dim=1) == labels.shape[1])
            labels[A==True] = 1
            labels_scaled = labels / labels.sum(dim=1, keepdim=True)
            loss = - (labels_scaled * log_logits).sum(dim=1)
            loss = loss.mean()

I will continue to add the report later . I want to make a comparison between these two changes

I found that It has a better performance than just delete label_scale .


Electrum Server Review

Users report several minor issues with the electrum client which we are not able to reproduce effectively:

[x] defaults to blockstream instead of bullbitcoin
[x] Panic Exception at random points of operation requiring clicking Save in Settings-Electrum Server to fix
The Panic Exception can be watched for in our error handlers and internally reset the client.

Closing this as specific points have issues open.


bin/dev causing `setupterm': The terminfo database could not be found. (Reline::Terminfo::TerminfoError)

bin/dev or overmind works fine without rails and sidekiq but give below error once rails or sidekiq is called only with bullet train. Working fine with other apps. App was created on June 1st 2022.
➜ env | grep TERM
TERM=xterm-256color
COLORTERM=truecolor
TERM_PROGRAM=Hyper
TERM_PROGRAM_VERSION=3.2.3
TERMINFO=/usr/share/terminfo

 resolveDir Documents/projects//app/javascript/controllers
js      | path ./**/*_controller.js
web  | .rvm/gems/ruby-3.1.2/gems/reline-0.3.1/lib/reline/terminfo.rb:108:in `setupterm': The terminfo database could not be found. (Reline::Terminfo::TerminfoError)

Hello @harssh, since you closed the issue were you able to solve this one? If so, posting the fix would be a great help!

@gazayas  I closed it because I moved away from BT to some other platform. But later on I found the solution too so missed mentioning here.
echo 'set -g default-terminal "screen-256color' >> ~/.tmux.conf
Solved it for me.

@harssh I see, thanks!


Project is not buildable

Building on Windows. There are some failing tests (see attached build log for details). Project builds fine with -DskipTests.
build.log

Probably a path escape or substitution issue. Can you provide a fix ?

Unfortunately I have other things to do (like manage you folks). :)
We need to find someone from the team who can fix it.

Hmm, If you have cycles to mess with the site generator, I don't see why you can't fix this.


Fold kubeVersion schema into kubeVersionedConfig.

A customer suggested the previous organization contained one too many levels of redirection, leading to confusion, and upset. They were right.

Another benefit of this is the autogenerated documentation becomes clearer as well.

Lgtm

Also:   java.io.IOException: Pipe not connected Putting this one back thru the wringer.

Also:   java.io.IOException: Pipe not connected again, this time during GKE. AWS passed just fine.


updated message archive ui

Description
updated message archive ui
References

#0000

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@0ea045b). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #453   +/-   ##
=======================================
  Coverage        ?   69.14%
=======================================
  Files           ?        9
  Lines           ?      188
  Branches        ?       19
=======================================
  Hits            ?      130
  Misses          ?       53
  Partials        ?        5

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Add deposit instructions on the homepage.

closed by https://github.com/tnbCrow/Crow-Bot-Website/commit/f97b2178b0e035ea237e47bc01d84c176ddc790c


Not Auto FullScreen

OS：Windows 10
Development platform：Android
React Native ： 0.39.2
Date：2016/12/28
File location：
node_modules\react-native-youtube\RCTYouTube\src\main\java\com\inprogress\reactnativeyoutube\YouTubePlayerController.java
@Override
    public void onInitializationSuccess(YouTubePlayer.Provider provider, YouTubePlayer youTubePlayer, boolean wasRestored) {
        if (!wasRestored) {
            mYouTubePlayer = youTubePlayer;
            mYouTubePlayer.setPlayerStateChangeListener(this);
            mYouTubePlayer.setPlaybackEventListener(this);

            mYouTubePlayer.setFullscreen( false ); //Modify it here

            updateControls();
            mYouTubeView.playerViewDidBecomeReady();
            setLoaded(true);
            if (videoId != null && isPlay()) {
                startVideo();
                mYouTubePlayer.setFullscreen(false);
            }
        }
    }

While this does fix the auto loading into full screen and then the snap back to portrait orientation the video plays but only shows a black box...that is until the devices is switched to landscape and then back. any ideas why that might be?

Solved in v1
Next time suggest a PR


Discovering refactoring opportunities in cascading style sheets

Paper link: http://dl.acm.org/citation.cfm?id=2635879

Title : Discovering Refactoring Opportunities in Cascading Style Sheets
Authors : Davood Mazinanian, Nikolaos Tsantalis, Ali Mesbah
Email : {d_mazina<EMAIL_ADDRESS><EMAIL_ADDRESS>Website : http://users.encs.concordia.ca/~d_mazina/papers/FSE'14/
Link To Dataset : http://users.encs.concordia.ca/~d_mazina/papers/FSE'14/FSE'14-crawled.7z
BibTex :
@inproceedings{Mazinanian:2014:DRO:2635868.2635879,
author = {Mazinanian, Davood and Tsantalis, Nikolaos and Mesbah, Ali},
title = {Discovering Refactoring Opportunities in Cascading Style Sheets},
booktitle = {Proceedings of the 22Nd ACM SIGSOFT International Symposium on Foundations of Software Engineering},
series = {FSE 2014},
year = {2014},
isbn = {978-1-4503-3056-5},
location = {Hong Kong, China},
pages = {496--506},
numpages = {11},
url = {http://doi.acm.org/10.1145/2635868.2635879},
doi = {10.1145/2635868.2635879},
acmid = {2635879},
publisher = {ACM},
address = {New York, NY, USA},
keywords = {Cascading style sheets, duplication, refactoring},
}
Overview : Contains  CSS code and this link which indicates different measures for CSS datasets.
Promise Repo Category : Code Analysis

Added as refactorcss, data being uploaded.

Data uploaded, authors emailed.


Initial development

This is a script which parses a gff file (refseq) and a tsv containing HGNC_ids and associated annotation. Using this it produced a bed file which is collapses of all the transcripts which match the HGNC ids and an igv html report of the bed file for viewing.

Uses gff2pandas.py which has been modified to work with dtypes.
igv_report.py is used for calling create_report from igv_reports to create the the html report of the bed file.
gene_annotation2bed.py in the main script to run containing the required functions to extract the relevant transcripts and merge overlapping regions in the bed file.

Still to develop:

Adding columns to html report by using a tsv file + add bed file as additional track with track config.
Add more tests particularly for edge cases.
Add handling of transcripts as input.
Creating a vcf for testing with VEP.

This change is

Additional to do:
Write Readme explaining the scripts and requirements.txt.


lflags don't get applied to libs

For whatever reason, redub doesn't seem to apply lflags for projects with targetType "library".
Here I attach a very simple project as an example:
nuklear_test.zip
For security reasons I did not attach the libmything.a library file, as it's a binary. To create the libmythin.a you can go to nuklear_test/mything/lib/ and run make in there, or just create your own ;) .
I get the following error when compiling.
[ vabenil@arch-pc: /nuklear_test ]$ redub -f -v
Parsing /nuklear_test/dub.json at /nuklear_test with : -c
Added project nuklear_test to memory cache.
Parsing /nuklear_test/mything/dub.json at /nuklear_test/mything with : -c
Dependencies resolved in 0 ms for "debug" using /usr/bin/dmd [linux-x86_64]
Project nuklear_test is fully parallelizable! Will build everything at the same time
Built: mything. Took 46ms

        /usr/bin/dmd '-color=on' -op -debug -g '-version=Have_mything' -I/nuklear_test/mything/source /nuklear_test/mything/source/mything.d -lib -od/tmp/.redub -of/nuklear_test/mything/libmything.a

Built: nuklear_test. Took 51ms

        /usr/bin/dmd '-color=on' -op -debug -g '-version=Have_mything' '-version=Have_nuklear_test' -I/nuklear_test/source -I/nuklear_test/mything/source /nuklear_test/source/app.d -c -od/tmp/.redub -of/nuklear_test/nuklear_test.o

Linking Error at "nuklear_test".
        Redub v1.7.9
        dmd 2.109.1
        Failed with flags:

        /usr/bin/dmd -of/nuklear_test/nuklear_test /nuklear_test/nuklear_test.o -g /nuklear_test/mything/libmything.a
                  :
        /usr/bin/ld: /nuklear_test/nuklear_test.o: in function `_Dmain':
/nuklear_test/source/app.d:5:(.text._Dmain[_Dmain]+0xa): undefined reference to `foo'
collect2: error: ld returned 1 exit status
Error: undefined reference to `foo`
       referenced from `_Dmain`
       perhaps a library needs to be added with the `-L` flag or `pragma(lib, ...)`
Error: linker exited with status 1
       cc /nuklear_test/nuklear_test.o -o /nuklear_test/nuklear_test -g -m64 -Xlinker --export-dynamic /nuklear_test/mything/libmything.a -L/usr/lib -Xlinker -Bstatic -lphobos2 -Xlinker -Bdynamic -lpthread -lm -lrt -ldl

Warning: If you think this is a bug on redub, do test with dub, if it works, do file an issue at https://github.com/MrcSnm/redub/issues/new/choose
object.Exception@source/redub/api.d(136): Build failure
----------------
source/redub/api.d:136 [0x576eb1005f86]
source/app.d:76 [0x576eb10073c7]
source/app.d:69 [0x576eb1007115]
??:? void rt.dmain2._d_run_main2(char[][], ulong, extern (C) int function(char[][])*).runAll() [0x76203cfaa06c]
??:? _d_run_main2 [0x76203cfa9e86]
??:? _d_run_main [0x76203cfa9cdc]
??:? [0x76203cccfc87]
??:? __libc_start_main [0x76203cccfd4b]
??:? [0x576eb0fc3e34]

If you pay attention, the flag -lmything is nowhere.
This compiles normally via dub.
My setup is Arch Linux, and redub is version 1.7.9.
P.S. You probably want a test to catch this one

Can I see the dub output?

Sure. Paths are different because I removed my home path in the first example for simplicity sake.
dub output:
[ vabenil@arch-pc: sync/D/nuklear_test ]$ dub -v
Note: Failed to determine version of package nuklear_test at .. Assuming ~master.
  Version selection for dependency mything (mything) of nuklear_test is missing.
  Adding local mything in /home/vabenil/MEGA/sync/D/nuklear_test/mything
Note: Failed to determine version of package mything at .. Assuming ~master.
  Found dependency mything @./mything
Generating using build
Configuring dependent nuklear_test, deps:"mything"
  Configuring dependent mything, deps:
    Starting Performing "debug" build using /usr/bin/dmd for x86_64.
  Up-to-date mything ~master: target for configuration [library] is up to date.
Using existing build in /home/vabenil/.dub/cache/mything/~master/build/library-debug-mUm__ujiaQ42jYdB6j-FpQ.
Copying target from /home/vabenil/.dub/cache/mything/~master/build/library-debug-mUm__ujiaQ42jYdB6j-FpQ/libmything.a to /home/vabenil/MEGA/sync/D/nuklear_test/mything
File /home/vabenil/MEGA/sync/D/nuklear_test/dub.selections.json doesn't exist, triggering rebuild.
    Building nuklear_test ~master: building configuration [application]
[cwd=/home/vabenil/MEGA/sync/D/nuklear_test] /usr/bin/dmd -debug -g -w -version=Have_nuklear_test -version=Have_mything -Isource/ -Imything/source/ source/app.d -c -of/home/vabenil/.dub
/cache/nuklear_test/~master/build/application-debug-rhX1mGA1VRt2BfjEX-h9Dw/nuklear_test.o -vcolumns
     Linking nuklear_test
[cwd=/home/vabenil/MEGA/sync/D/nuklear_test] /usr/bin/dmd -of/home/vabenil/.dub/cache/nuklear_test/~master/build/application-debug-rhX1mGA1VRt2BfjEX-h9Dw/nuklear_test /home/vabenil/.dub
/cache/nuklear_test/~master/build/application-debug-rhX1mGA1VRt2BfjEX-h9Dw/nuklear_test.o ../../../../.dub/cache/mything/~master/build/library-debug-mUm__ujiaQ42jYdB6j-FpQ/libmything.a
-L--no-as-needed -L-L/home/vabenil/MEGA/sync/D/nuklear_test/mything/lib -L-lmything -g
Copying target from /home/vabenil/.dub/cache/nuklear_test/~master/build/application-debug-rhX1mGA1VRt2BfjEX-h9Dw/nuklear_test to /home/vabenil/MEGA/sync/D/nuklear_test
    Finished To force a rebuild of up-to-date targets, run again with --force
     Running nuklear_test
foo 5!

Oh do test it with --force plz

[ vabenil@arch-pc: sync/D/nuklear_test ]$ dub -f -v
Note: Failed to determine version of package nuklear_test at .. Assuming ~master.
  Version selection for dependency mything (mything) of nuklear_test is missing.
  Adding local mything in /home/vabenil/MEGA/sync/D/nuklear_test/mything
Note: Failed to determine version of package mything at .. Assuming ~master.
  Found dependency mything @./mything
Generating using build
Configuring dependent nuklear_test, deps:"mything"
  Configuring dependent mything, deps:
    Starting Performing "debug" build using /usr/bin/dmd for x86_64.
    Building mything ~master: building configuration [library]
[cwd=/home/vabenil/MEGA/sync/D/nuklear_test] /usr/bin/dmd -debug -g -w -version=Have_mything -Imything/source/ mything/source/mything.d -L-L/home/vabenil/MEGA/sync/D/nuklear_test/mythin
g/lib -L-lmything -lib -of/home/vabenil/.dub/cache/mything/~master/build/library-debug-mUm__ujiaQ42jYdB6j-FpQ/libmything.a -vcolumns
Copying target from /home/vabenil/.dub/cache/mything/~master/build/library-debug-mUm__ujiaQ42jYdB6j-FpQ/libmything.a to /home/vabenil/MEGA/sync/D/nuklear_test/mything
    Building nuklear_test ~master: building configuration [application]
[cwd=/home/vabenil/MEGA/sync/D/nuklear_test] /usr/bin/dmd -debug -g -w -version=Have_nuklear_test -version=Have_mything -Isource/ -Imything/source/ source/app.d -c -of/home/vabenil/.dub
/cache/nuklear_test/~master/build/application-debug-rhX1mGA1VRt2BfjEX-h9Dw/nuklear_test.o -vcolumns
     Linking nuklear_test
[cwd=/home/vabenil/MEGA/sync/D/nuklear_test] /usr/bin/dmd -of/home/vabenil/.dub/cache/nuklear_test/~master/build/application-debug-rhX1mGA1VRt2BfjEX-h9Dw/nuklear_test /home/vabenil/.dub
/cache/nuklear_test/~master/build/application-debug-rhX1mGA1VRt2BfjEX-h9Dw/nuklear_test.o ../../../../.dub/cache/mything/~master/build/library-debug-mUm__ujiaQ42jYdB6j-FpQ/libmything.a
-L--no-as-needed -L-L/home/vabenil/MEGA/sync/D/nuklear_test/mything/lib -L-lmything -g
Copying target from /home/vabenil/.dub/cache/nuklear_test/~master/build/application-debug-rhX1mGA1VRt2BfjEX-h9Dw/nuklear_test to /home/vabenil/MEGA/sync/D/nuklear_test
     Running nuklear_test
foo 5!

Okay I got the problem now, the lflags doesn't appear to be transferring from leaf to root which causes the problem:
FIY: -L-Lmything and -lmything at the build command is a NO-OP thing, the problem is on the linking line which is not including the LFLAGS

The issue might be fixed by v1.7.10


Improve yadcf example

Current coverage is 93.68% (diff: 100%)

Merging #79 into master will not change coverage

@@             master        #79   diff @@
==========================================
  Files             1          1
  Lines           190        190
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            178        178
  Misses           12         12
  Partials          0          0

Powered by Codecov. Last update fc93722...62cdadd

4 commits but only 1 file changed ?

Yeah, I messed up a bit. I'll squash the PR


index out of bounds on running spin cloud apps info <APP>

$ spin --version
spin 2.3.1 (22c2ac5 2024-03-07)
$ spin clouds --version
spin-cloud 0.7.0 (0519939 2024-01-31)

$ spin cloud apps info site
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', src/commands/apps.rs:107:23
stack backtrace:
   0:        0x10f9e91b3 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h574028a0687b01b1
   1:        0x10fa0d5eb - core::fmt::write::hc3a291ca045d4386
   2:        0x10f9e4648 - std::io::Write::write_fmt::hce33c3aef899c477
   3:        0x10f9e8faa - std::sys_common::backtrace::print::hec404ce64d885bc1
   4:        0x10f9eaa15 - std::panicking::default_hook::{{closure}}::hb702376be934f723
   5:        0x10f9ea81f - std::panicking::default_hook::he55b66a35bee68d8
   6:        0x10f9eaeb3 - std::panicking::rust_panic_with_hook::hcabbae61abda3f7a
   7:        0x10f9eadd3 - std::panicking::begin_panic_handler::{{closure}}::hb0d2e10207b82ddc
   8:        0x10f9e95b9 - std::sys_common::backtrace::__rust_end_short_backtrace::h3fbd78d34f010841
   9:        0x10f9eab0d - _rust_begin_unwind
  10:        0x10fa44d43 - core::panicking::panic_fmt::heecc6c3994a0556d
  11:        0x10fa44e96 - core::panicking::panic_bounds_check::h8344f24acc965f7a
  12:        0x10f315f60 - cloud_plugin::commands::apps::domains_current_and_in_progress::hd4e7090418a2a8cb
  13:        0x10f3e0248 - cloud_plugin::main::{{closure}}::ha3ce8fe3f1720ae7
  14:        0x10f39a6f0 - tokio::runtime::park::CachedParkThread::block_on::h99a5869f2881176f
  15:        0x10f2488ab - tokio::runtime::context::runtime::enter_runtime::h2e5a02e4f3903e89
  16:        0x10f28ddbf - tokio::runtime::runtime::Runtime::block_on::hde5100de5a40de57
  17:        0x10f317a17 - cloud_plugin::main::hb35521563f24e276
  18:        0x10f3828a6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h9bc2a3fbef9e8503
  19:        0x10f3829b1 - std::rt::lang_start::{{closure}}::h1532a215728f63ce
  20:        0x10f9ddc7a - std::rt::lang_start_internal::h35bfd4814712c868
  21:        0x10f317afc - _main

Thanks for filing.  I can repro this on at least one of my apps as well.  Definitely appears to be domain-related (looking at cloud_plugin::commands::apps::domains_current_and_in_progress::hd4e7090418a2a8cb from the stack trace).  In fact, it has been awhile since I last deployed/configured this app, but I believe I did at one point configure a custom domain, or had attempted configuration of one.

That implies there are no channels for the app - I thought there was always exactly one channel.  @bacongobbler any idea why that might be?

I thought there was always exactly one channel

This used to be the case. Nowadays apps are created without a channel.
Looks like spin cloud apps info relies on the app having at least one channel to fetch the "app subdomain". This can now be fetched through the subdomain field. #185 addresses this.
I'll go check and see if there are other locations in the cloud plugin that are still relying on one channel being required.

I checked and this appears to be the only location requiring the use of channels.
Thanks for identifying this issue, @dfntlynotjorn!

We've pushed a fix and released it under v0.7.1. You can fetch the latest release by using spin plugins update && spin plugins upgrade.
Thanks again for the report!


[dunfell] flutter-pi can't find libapp.so or assets.

flutter-pi gives an error, as it can't find libapp.so:
Could not find "libapp.so" file inside "/usr/share/my_app", which is required for release and profile mode.

Note that this is because libapp.so is in /usr/share/my_app/lib/, and flutter-pi tries to find it in /usr/share/my_app/
If I pass /usr/share/my_app/lib/ to flutter-pi, it finds the library, but won't find the assets.
If I copy libapp.so to /usr/share/my_app/, then the app can't find assets. It expects them in /usr/share/my_app/assets/, but they are actually in /usr/share/my_app/flutter_assets/assets/
(This worked previously)

I may have been using an outdated flutter-pi, so closing for now.


Generate SBOM files for Dep

Summary

This upgrades the buildpack to API v0.7 and changes its approach to SBOM accordingly.
Resolves #256
Checklist

[x] I have viewed, signed, and submitted the Contributor License Agreement.
[x] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[x] I have added an integration test, if necessary.
[ ] I have reviewed the styleguide for guidance on my code quality.
[x] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

Technically, this change is backward-compatible. Marking as a minor bump for now.

Marking as semver:major since we bump the buildpack API version (see semver RFC), but I think technically this change is fully backward compatible.


pkg/epoch: extract parsing SOURCE_DATE_EPOCH to a function

related: https://github.com/docker/buildx/pull/1908

pkg/epoch: replace some fmt.Sprintfs with strconv
Teeny-tiny optimizations:
BenchmarkSprintf-10       37735996    32.31  ns/op  0 B/op  0 allocs/op
BenchmarkItoa-10         591945836     2.031 ns/op  0 B/op  0 allocs/op
BenchmarkFormatUint-10   593701444     2.014 ns/op  0 B/op  0 allocs/op

pkg/epoch: fix tests on macOS
These tests were failing on my macOS; could be the precision issue (like on
Windows), or just because they're "too fast".
=== RUN   TestSourceDateEpoch/WithoutSourceDateEpoch
    epoch_test.go:51:
            Error Trace:	/Users/thajeztah/go/src/github.com/containerd/containerd/pkg/epoch/epoch_test.go:51
            Error:      	Should be true
            Test:       	TestSourceDateEpoch/WithoutSourceDateEpoch
            Messages:   	now: 2023-06-23 11:47:09.93118 +0000 UTC, v: 2023-06-23 11:47:09.93118 +0000 UTC

This patch:

updates the rightAfter utility to allow the timestamps to be "equal"
updates the asserts to provide some details about the timestamps
uses UTC for the value we're comparing to, to match the timestamps
that are generated.

pkg/epoch: extract parsing SOURCE_DATE_EPOCH to a function
This introduces a ParseSourceDateEpoch function, which can be used
to parse "SOURCE_DATE_EPOCH" values for situations where those
values are not passed through an env-var (or the env-var has been
read through other means).

/cc @crazy-max


ZW095 Aeon Labs Home Energy Meter - Gen 5 topics

I have tried using the 3 phase "ZW095 Aeon Labs Home Energy Meter - Gen 5"
There are so many topics discovered, some are not easy to identify by name.
Also there is a missing command for resetting the accumulated values.
It can be seen from https://github.com/zwave-js/zwave-js-ui/issues/232 image posted.
I am currently using OH Zwave binding and it is much more intuitive to identify the topics and configure parameters.
Is there a way to make this device configured parameters more friendly?

Also coming from OH so I'll interject some comments. First there is still an issue with the HA configs in OH regarding jinjava that are still being worked. You might run into OH log WARN messages until it is resolved. Second the HA configuration topics are new and there are some things being discussed to provide simplier options. Right no using zwave-js-ui 9.8 you can disable all of them and just enable the topics you are linking to OH items.  Configuration items are rarely changed, and you can use the Configuration table in zwave-js-ui instead of using a channel.  Lastly the meter reset is in the Meter section on zwave-js-ui for the node.  There is no channel, but possibly could be configured via custom code.

Thanks @apella12 for the help with OH/discovery issues 🙏🏼