[GMRT Bug] Fonts fail to load

Hi!
I tried to build my game that uses Scribble with the new GMRT (VM) runtime, and when the game started it threw this error:
Warning: no handler found for chunk with ID: STRG
ScribbleDX: Welcome to Scribble Deluxe by Juju Adams! This is version 9.3.1, 2024-09-11
ScribbleDX: Verbose mode is off, set SCRIBBLE_VERBOSE to <true> to see more information
ScribbleDX: handle_parse() not available
ScribbleDX: ReferenceError: sdfEnabled is not defined
Scribble Deluxe 9.3.1: There was an error whilst reading "font_console"
          Please reimport the font into GameMaker and reset character ranges
          If this issue persists, please report it
Unhandled exception Error : ScribbleDX:
There was an error whilst reading "font_console"
Please reimport the font into GameMaker and reset character ranges
If this issue persists, please report it

Not sure what the issue is here exactly.

Looks like GMRT is missing some functionality when compared to 2024.8.
GMRT isn't remotely close to being ready for serious testing. If you'd like to expedite a solution then you should report this bug to YYG. When GMRT is further along I'll do some testing.

Looks like GMRT is missing some functionality when compared to 2024.8.
GMRT isn't remotely close to being ready for serious testing. If you'd like to expedite a solution then you should report this bug to YYG. When GMRT is further along I'll do some testing.

I'd like a solution, but the problem is it doesn't provide any logs even when SCRIBBLE_VERBOSE is true.

The code is open source. If you want a solution fast then you are responsible for finding that solution which, in this case, means talking to YYG.

You can report missing functions to YYG, there's chance they would give priority for missing ones in that case.


Automated cherry pick of #1773: Pin the scheduler-plugins version

What this PR does / why we need it:
Cherry-pick of #1773 on v1.6-release.
Which issue(s) this PR fixes (optional, in Fixes #<issue number>, #<issue number>, ... format, will close the issue(s) when PR gets merged):
Fixes #
Checklist:

[ ] Docs included if any changes are user facing

/assign @johnugeorge

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.2%) to 39.616%

Files with Coverage Reduction
New Missed Lines
%

pkg/controller.v1/mpi/mpijob_controller.go
5
77.35%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
2743

Relevant Lines:
6924

💛  - Coveralls

/lgtm
/approve


Convert UTF8 encoded passwords to ISO-8859-1 for |R = 6| encryption (issue 6010)

For passwords where the encoding already is correct, the conversion is a no-op.
Also, since encodeURIComponent might throw, we need to make sure that we handle that case too.
Fixes #6010.

/botio-linux preview

/botio test

/botio test

According to https://docs.google.com/spreadsheets/d/1Bg3eSe5cGSZJy-4k4j2KV_3hS0uhNtx6Xz3OV3JcncA/edit?pli=1#gid=0, this could also be useful for revision === 4, or am I missing something?

this could also be useful for revision === 4, or am I missing something?

The only viewer that does that in PDF Viewer in Chrome. The Adobe Reader does not do conversion for revision = 4.

Fair enough. Otherwise that can be done later if there are concrete issues for that. Thanks.

Desarrolladores y líderes de Mozilla, que son travestis culo!
Alguien debe colgar ustedes para arriba en sus propias bolas y dejar que su perro muerda su caricatura de una polla!
Posteriormente deben ponerlo tiempo que sea necesario por la garganta hasta que traga a sí mismos en el suicidio!
Ustedes Mozilla está ... Estúpido de mierda coños!
Developers and leaders of Mozilla, which are shemales ass!

They should then put it long as needed by the throat until he swallows themselves in suicide!
You Mozilla is...

Thank you for the fix.


Serialization of array of not same model items

When trying to serialize json string that contains array of elements that have a different model, serialization throws first time it encounters a different type for the same key. Simplified example of my situation is below:
[
  {
    "id": 0,
    "name": "adsad"
  },
  {
    "id": "123",
    "name": "aawew"
  }
]

Is there a way to parse such json string?

There is no problem with this. This program parses your input and prints it:
#include "json.hpp"
#include <iostream>

using json =  nlohmann::json;

int main() {
    std::string text = R"([
    {
        "id": 0,
        "name": "adsad"
    },
    {
        "id": "123",
        "name": "aawew"
    }
    ])";

    json j = json::parse(text);

    std::cout << std::setw(2) << j << std::endl;
}

Output:
[
  {
    "id": 0,
    "name": "adsad"
  },
  {
    "id": "123",
    "name": "aawew"
  }
]

What is your error message?

So I've solved this issue now. I was getting the error in from_json method that converts that json to my model class.
class Model {
    int id;
    std::string name;
}

Solution was pretty straightforward once I found out that I can check the type of data that lies in json type on runtime with this simple function:
int getInt(const json& value) {
    return value.is_string() ? std::stoi(value.get<std::string>()) : value.get<int>();
}

So because I know that the value for id should be int but is sometimes saved as a string I just call this function when reading the value in `from_json` function.


Update versions

Hi !
I've just upgraded dependencies version,
Thanks for your work btw ;)

@freandre Thanks for the PR! :heart: I appreciate your willingness to help, but I think it's best to not exclude older versions of elixir for now. Most of the other package version updates are possible without changing mix.exs so I left that the way it is. I also recently changed the json dependency from poison to jason and relaxed the httpoison dependency so it's possible to update that as well. I hope that eases most of the pain I was unintentionally causing people.

Hi @edennis, thanks for your legit feedback. Great news to switch to jason, i guess that less dependencies will help .
Fiddling a bit with your library, i also noticed that numbers are used on AddOrder signature. Considering Kraken decimal precision as well as float notorious imprecision, would'nt it be better to use a decimal or even a string for volume price etc....
Again, thanks for your work

@freandre That's a very legitimate gripe! Most clients seem to use strings to avoid the problem with floats. Would you mind opening an issue for that?

Sure no problem


Update atom to get fix for parsedeps command. Added additional unit test

Fixes #1171
With this PR, the number of internal modules incorrectly identified as external pypi packages will reduce. Some people might view this change as breaking.

numpy v2 bom
Internal modules such as genapi is no longer present in the generated bom.


[Feature] Support RCS

Basically the title, additionally to SMS support RCS messages.
I'm only looking into sending text messages, but via RCS; so nothing fancy like pictures or other media.

I second this.

Related: https://github.com/Hirohumi/rust-rcs-client


unable to send mail while ticket generating or updated

that is my setting.py configuration
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER =<EMAIL_ADDRESS>EMAIL_HOST_PASSWORD = 'xxxxx'
#Port for TLS
EMAIL_PORT = 587

Add this setting for use with GMAIL
EMAIL_USE_TLS = True

You might also need to activate third party mail acces thru your GMAIL account

POP Download:
Learn more

Status: POP is enabled for all mail that has arrived since 1/22/08
Enable POP for all mail (even mail that's already been downloaded)
Enable POP for mail that arrives from now on
Disable POP

When messages are accessed with POP

Configure your email client (e.g. Outlook, Eudora, Netscape Mail)
Configuration instructions
IMAP Access:
(access Gmail from other clients using IMAP)
Learn more
Status: IMAP is enabled
Enable IMAP
Disable IMAP

When I mark a message in IMAP as deleted:
Auto-Expunge on - Immediately update the server. (default)
Auto-Expunge off - Wait for the client to update the server.
When a message is marked as deleted and expunged from the last visible IMAP folder:
Archive the message (default)
Move the message to the Trash
Immediately delete the message forever
Folder Size Limits
Do not limit the number of messages in an IMAP folder (default)
Limit IMAP folders to contain no more than this many messages
Configure your email client (e.g. Outlook, Thunderbird, iPhone)
Configuration instructions

but same issue occur

From a previous issue with same problem
https://github.com/rossp/django-helpdesk/issues/312

Run the shell
python manage.py shell
from django.core.mail import EmailMultiAlternatives
from django.conf import settings
sender = settings.DEFAULT_FROM_EMAIL
subject = 'Test email'
recipient =<EMAIL_ADDRESS>sender =<EMAIL_ADDRESS>body = 'This is the email body'
msg = EmailMultiAlternatives(subject, body, sender, [recipient,])
msg.send(fail_silently=False)

This is how I got mine working, it should help you figure out where it is broken

thank a lot for solution but error occurs
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/django/core/mail/message.py", line 303, in send
return self.get_connection(fail_silently).send_messages([self])
File "/usr/local/lib/python2.7/dist-packages/django/core/mail/backends/smtp.py", line 100, in send_messages
new_conn_created = self.open()
File "/usr/local/lib/python2.7/dist-packages/django/core/mail/backends/smtp.py", line 67, in open
self.connection.login(self.username, self.password)
File "/usr/lib/python2.7/smtplib.py", line 615, in login
raise SMTPAuthenticationError(code, resp)
SMTPAuthenticationError: (534, '5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbtMB\n5.7.14 lmDRwskyn4DaXdY1pta5oS1UN0qWOMqNXfKz38FFLoIfhkf7C7HyAD2de6iq_kte1h_hPB\n5.7.14 PnNIobzGq7_O8jQooKPcnLLpol5K7Sgq2V-unxdvbFUfCm8rnsTL9woV2ML7Us7hkUbDRn\n5.7.14 8TPcUMR7fQapKJwn4dIP7YaJdbH1RtuMDYJLvyclcWt7g99PN82guM5sY_CkcqSbwIYgwu\n5.7.14 8EmVcO8NQcE3qEdAhCZbBl3RNzfw> Please log in via your web browser and\n5.7.14 then try again.\n5.7.14  Learn more at\n5.7.14  https://support.google.com/mail/answer/78754 sg4sm102692pac.48 - gsmtp')

your answer is in the message....
SMTPAuthenticationError
see
https://support.google.com/mail/answer/78754
for solution

thank for quick reply and i configured less security devices and test mail works but mail unable to send mail via updation and view the ticket

This appears to be an issue with Gmail (specifically, with your Gmail account or with your Python configuration to email through Gmail) and is not specific to django-helpdesk. As per issue #312 you can manually try to send email and take note of the error messages provided.
I don't want to discourage participation in open source software however we cannot provide a high level of support (especially relating to third party services) as volunteers. django-helpdesk is a beta-quality product and although it works well for some people, it might need a bit more hands-on work to set up and to maintain on an ongoing basis. This is unfortunate but it is a reality for this project at this time.
If you encounter any further issues that are specific to django-helpdesk please log them, however this item does not currently appear to fall into that category.


Merging doesn't finish

Windows 10, using Alchemy version 0.5.0
When I drag and drop some files (.png) into the application, fill in a title, and click the start button, the 'in progress' screen is shown, and it stays on there. No pdf is produced and there is no way to cancel it.
Additionally, it seems it's not possible to exit the application at any point. I'm forced to end all Electron processes in task manager.

@ericadamski do you have access to a Windows computer to test this case out on?

@mfix22 I am sorry but I do not 😞 This is just a windows issue?

No, we don't for 0.5.1, but you could build and run the project pretty easily if you clone this repo, and then run yarn && yarn build && yarn start

Aight, I'll give it a spin

@mfix22 I tried it (kinda forgot so it took a bit long, sorry 😛) and unfortunately, the latest build loses focus and minimizes to the task bar, as soon as a click anywhere outside the app window. Hence I can't actually drag any files onto it.
The option to close the app is also missing here btw.

Could it be a difference on how menu bar applications work on Windows machines?

Could it be a difference on how menu bar applications work on Windows machines?
Could be! I am not sure 😬

It does work a bit differently than OSX or Linux, yeah. There are the normal buttons that indicated any open applications. But also, at the right there are small icons for notifications and apps that run in the background, and that's where the Alchemy icon is shown. You can't open this by dragging a file over that, I'm afraid.

Hello,
I'm on Windows 10, downloaded the latest verison. Sorry, no idea what version because the download site contains no information and neither does this github site (that I can see easily).
Drag a simple file, click merge, and all I get is 'Converting'. There is no config I can see to add logging, there is no log file, just nothing.
This is 2 years since the original post, so I guess this software is not updated or supported anymore?

@chucklepie Thanks for brining this up!
I unfortunately do not have access to a Windows machine to test this out. Can you attach a video recording of the error happening? Maybe I can figure out some issues from there.

Nothing happens, literally, it just says converting and does nothing. No
need for a video.
If there was a logger added to the code it might help...
On Wed, 19 Feb 2020, 14:36 Eric Adamski<EMAIL_ADDRESS>wrote:

@chucklepie https://github.com/chucklepie Thanks for brining this up!
I unfortunately do not have access to a Windows machine to test this out.
Can you attach a video recording of the error happening? Maybe I can figure
out some issues from there.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dawnlabs/alchemy/issues/53?email_source=notifications&email_token=ADCERRJFFHLQDXOOF3NMK5DRDU7VBA5CNFSM4GBUGUP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMIDJ4I#issuecomment-588264689,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCERRPLMYS4KCG7J2MSSJLRDU7VBANCNFSM4GBUGUPQ
.

Same for me, Windows 10:

Start the app, click the icon in tray to open window
Drag and drop files, click 'Merge'
Result:
It starts converting and never finishes

Same for me too, Windows 10:
it's converting forever

It sounds like @DLandDS and @PentagramPro and @chucklepie are seeing more than I am in terms of the UI. Here is what I experienced in Windows 10:

The window loses focus and minimizes the second you try to drag any kind of file, and does not re-appear when you drag the file over the icon in the taskbar. Many people have reported this. However, a workaround I have found (and this is actually kind of difficult) is to start dragging the file, use the CTRL+SHIFT+8 shortcut built-in to Alchemy to toggle the window, and finally drop the file.
I don't get any kind of menu, options, or messages anywhere; not by clicking the icon, right-clicking, not in the console - nowhere.
HOWEVER, it does successfully convert the file for me. I don't get any kind of options what it converts to, but I successfully dropped a PNG from my desktop and ended up with a converted PDF on my desktop. I assume PDF must be the default option or something, I wouldn't know because I see literally nothing else but the icon in the taskbar and the Dropzone window when I toggle it by left-clicking the icon or by using the keyboard shortcut I mentioned above.

To get the build working at all, I was forced to update the execa dependency from<EMAIL_ADDRESS>in package.json to<EMAIL_ADDRESS>I was getting some type of filesystem-related async error that I can't quite recall at the moment, and searching for that error suggested execa was the culprit, and it was. I also can't recall if this caused the built to fail, or if it caused the start to fail, sorry for the keeping track of that, but I could reproduce if needed.
As soon as I get some free time I'll take a video of what I do and what I don't see in hopes that someone might have some suggestions.
It seems pretty clear to me that in order to get Alchemy functioning in Windows as well as it does in OSX, there are going to need to be some pretty big changes that apply only to the win32 process.platform, and that a lot of the changes are likely to be visual, as Windows just doesn't support the ability to drag a file on top of an icon to feed it to that application, and because dragging a file on top of an icon does not toggle the visibility of the window.
I don't currently know enough about Electron to make these specific changes myself right now, but I'll be looking into it as time allows.

@binlabs You can fix your issue #1 by commenting out line this line in main.js
mb.on('focus-lost', () => mb.hideWindow());
unfortunately I am currently just getting a blank white screen when I open the app. I updated execa as well. I'm trying to play with the source code to see if I can fix the app (0.50 release) not being able to convert on windows.

Hey folks, I appreciate all your discussion around this issue, but I have to say that I no longer have time to support this project (thus https://github.com/dawnlabs/alchemy/issues/32).
Would be happy to help merge in PRs, etc, and even support a new version with all our dependencies upgraded and polished, but I won't have any time to actively work on this project 😞


Renamed Example and Test Scenes to be more descriptive.

fixes https://github.com/Microsoft/HoloToolkit-Unity/issues/270

Not sure how there's a conflict without file changes, but okay. haha.

@jwittner  or @NeerajW could you guys tell me what the conflict is exactly so I can fix?  Thanks.

Perhaps delete the old Main.unity and its meta file?
Also ensure you have the latest Sync in your fork.

Yup. Nothing to compare.

good call.


Code coverage improvement

Improved code coverage to 85.39%.

@veskoo93 Closing this, see the other PE I created with your changes in it, which i just approved.


Shows css errors for scss in vue files but its not a lint error

I'm running ESLint + Vetur and nothing else.
Running eslint myfile.vue on command lint does not produce any errors, but I see red underlines when creating nested classes using lang="scss"
<style lang="scss">
What seems incorrect is that I don't get errors when running the eslint command, but I do with the plugin.

 the command tool, but I do in the editor.
When the ESlint plugin is disabled, the red error underlines go away when Vetur says enabled. When both plugins are disabled, the errors come back which makes sense since vscode does not know how to lint scss inside vue files

closing out, likely issue with Vetur


desktop api?

Anything other than JS for  a desktop/installed-app on windows, linux, or Mac OS?  I'd love to create some command line tools to interact with my connected d5.....
Also it seems particularly problematic for commandline tools work with oauth...  All of your examples require having webserver to act as an intermediary for the oauth workflow, which would make sense for a web app, or a mobile app that speaks to a web backend.    It makes much less sense for a desktop app...
What would be even more nice is an app that could connect directly to the neato robot over the local lan, so that both the desktop app and the robot could operate in offline mode - e.g. in the face of no-internet connectivity...  Any chance of apis for such operation?

Thank you for your feedback. We are considering options that would facilitate this.

I, and others, would love to see this. Especially those of us using home assistant and/or openhab.

I've been tying to wrap up the API myself for my own desktop/mobile application usage but the API documentation is one of the worst i've dealt with.  Even eBay's monster beyond monster sized API is easier to use.
I'd like to see someone actually go and revamp the documentation to clean up some of the missing bits or parts that don't seem complete.
I can do some of the OAuth stuff but beyond that, it seems things are not complete and I have to revert to SDK's here to rip out what I need and rewrite.


Updating to have predict_untrained function

The existing code does not allow training on a large set of points and then predicting which clusters new points would be assigned to. The new function allows predicting the cluster centers of new points that are outside of the original training.
If I'm not mistaken, the scikitlearn does this automatically with the predict function. However, I can see why your code does not do that, so an additional function seems reasonable. Here, "predict_untrained" is the name chosen, since I think that is reasonably clear.
Edit: I decided I liked predict_untrained and changed the function name to that on my end.

Hi, thanks for your interest in k-means-constrained! 😁
Can you please elaborate on what your trying to do as the current predict method does allow you to assign unseen data to the clusters? For example:
from k_means_constrained import KMeansConstrained
import numpy as np

# Original training data
X1 = np.array([[1, 2], [1, 4], [1, 0],
                [4, 2], [4, 4], [4, 0]])
clf = KMeansConstrained(
     n_clusters=2,
     size_min=2,
     size_max=5,
     random_state=0
 )
clf.fit_predict(X1)

# Assign to original training data plus unseen data
X2 = np.array([[6, 7], [8, 9], [10, 11], [12, 13]])
clf.fit_predict(X2)

Thanks for checking what I'm trying to do! Unless I am mistaken, with KmeansConstrained, there is no function that will allow prediction without refitting. Your current example still does the refitting. For my application (using a conventional personal computer) that fitting can take >1 hour.  So it's useful to have a prediction function that is separate from the fitting, after initial training. From the source code, I did not see anything like that in KmeansConstrained.  I think that in the regular kmeans from sklearn, the predict function works similarly to what I made, though perhaps more efficiently. I made a separate function because I didn't want to interfere with your code.

Hi,
The KMeansConstrained.predict method does just that. It assigns the new data-points to the old centroids (cluster centres) - it doesn't re-fit the centroids.  Here is an example:
from k_means_constrained import KMeansConstrained
import numpy as np

# Fir clf to `X1` data to create centroids
X1 = np.array([[1, 2], [1, 4], [1, 0],
                [4, 2], [4, 4], [4, 0]])
clf = KMeansConstrained(
     n_clusters=2,
     size_min=2,
     size_max=5,
     random_state=0
 )
clf.fit_predict(X1)
centroids = clf.cluster_centers_[:]

# Assign new unseen data (X2) to centroids fitted with X1
X2 = np.array([[6, 7], [8, 9], [10, 11], [12, 13]])
clf.predict(X2)

# Assert that centroids (cluster centres) haven't changed
assert (clf.cluster_centers_ == centroids).all()

So by using predict you don't refit the model. Is this what you mean by refitting?
(Sorry my example in the previous post wasn't helpful so I've removed it)

In my case, I was "fitting" on 50,000 points, with min and max of 200 and 500 for example. Then tried to predict a couple of points.
When I tried my example, I found a few things:
(1) These lines of code gave errors:
    # Check size min and max
    if not ((size_min >= 0) and (size_min <= n_samples)
            and (size_max >= 0) and (size_max <= n_samples)):
        raise ValueError("size_min and size_max must be a positive number smaller "
                         "than the number of data points or `None`")
    if size_max < size_min:
        raise ValueError("size_max must be larger than size_min")
    if size_min * n_clusters > n_samples:
        raise ValueError("The product of size_min and n_clusters cannot exceed the number of samples (X)")

My recollection is I tried leaving the min and max as None as well as feeding them, and that neither worked, but I could be remembering wrong. So I commented out those lines of code.
Then this line of code gave me trouble as well:
labels, inertia =
labels_constrained(X, self.cluster_centers, size_min, size_max, distances=distances)
That's why I tried to make an additional function. I'm sorry that I don't have a minimal example to provide, my example is in the middle of some other code.  I suppose it wouldn't be very hard to make a minimal example with randomly populated arrays, but unfortunately I'm very behind and have moved to the next stage of what I'm working on. I might be open to making a minimal example after I'm past my 'deadline', and also it is possible that I made some kind of user error.

Ok, I have a sort-of minimal example but I'm using a dill pickled version of the cluster object because it took 5 hours to train.
To run this:  If you use pip install PEUQSE[complete]  you will get the dill pickle dependencies.  Alternatively, you could probably install dill and change the code in clustering.py to undill pickle the object without using the PEUQSE function to do so, but that would be more work than just installing PEUQSE[complete] .
Attached is the dill file and a run file, along with my modified k_means_constrained_.py file.  For my own records... I have made this in a directory called 14b_minimal on my computer.
minimal_example.zip
If you run clustering.py right now, the predict_untrained function being used will work. If you try to change that to use the regular "predict" (near the bottom of the cluster.py file), you will get an error. I have shown this by putting a call to predict at the bottom. I was unable to edit the predict function in a way to avoid the error. I thought about introducing some complicated logic into predict, but decided it was better to just make a new function (at least as an intermediate-term solution).

Hi @AdityaSavara,
Sorry but for me to be able to diagnose the issue you will need to make a minimal work example. This should only be a few lines of code and a very small number of data points.
Thanks,
Josh

I am closing this due to inactivity. Feel free to reopen it if you wish


Better Design on Entry Page

Make better design on entry page by moving the current score display
below the judging controls (it was previously above) and forcing judges
to click to reveal a programs current score so as to help avoid a
possible source of bias.

Awesome, thanks for the PR.


Remove 'invalid' focus styles from focused input fields

When input fields are focused and invalid, they shouldn't have red focus styles (red border or focus ring). This PR removes those styles from various input fields.
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

Open stories at Form -> validationState: invalid and Form -> validationState: invalid, isQuiet: true
Focus on input fields and verify that focus rings and borders are no longer red

🧢 Your Project:

Did you close the other PR?

Yep, I started over from main and it was easier than the resolving merge conflicts in our css


Upload file via HTTP

Hello all. Congrats for amazing project!
I need to know how i do one file upload with HTML form and save the file in my backend with crow.
Thanks.

Currently crow cannot handle multipart data. We need to modify crow itself or to write a middleware for uploading a file.

What would be nice is to at least have a stream for POSTs so larger multipart forms can be handled without having to deal with unnecessarily large strings for large file uploads.  At that point, something like MPFDParser could, to an extent, be a drop-in for a multipart form parser.

@ipkn Could we at least get what I described in the interim?  Reason in being is, if someone really wanted to, they could just post a multi-gigabyte form to crow and crow's memory usage would reflect it, potentially resulting in denial of service attacks.  A stream would make it much more manageable in these situations.

@Geenz I agree that the streaming is necessary, but it would be big changes to crow. How can we write a handler for the stream? How do middlewares handle such cases? What changes need to Connection class to support stream?
I was thinking about these questions so I forgot to answer. (I want to reuse the stream system for user handlers.) Simply, writing core module for uploading file (with the streaming support) is an easier way. Many other frameworks works this way.
When the file uploading feature is implemented, it should limit the file length to avoid dos attack.

Hey, this feature is available?

is crow support file upload?

http://www.treefrogframework.org/ this cpp mvc framework support json return and file upload


Sorting not working for search API

The "sort" parameter in the search API is not working. Also reported in CHEF-2121.
This is causing Chef Manage(opscode/chef#2279) and 'knife search' commands to display unsorted lists. Here are some "knife search" results to show the issue:
[apop@mymac chef-repo]$ knife search role "*:*" --id-only --sort asc -VV
...
DEBUG: Initiating GET to https://api.opscode.com/organizations/ap-org1/search/role?q=*%253A*&sort=asc&start=0&rows=1000
...
3 items found

windows_web
linux_base
windows_base

Same unsorted list returned with these commands:
knife search role "*:*" --id-only --sort name
knife search role "*:*" --id-only --sort name+desc
knife search role "*:*" --id-only --sort "name desc"
knife search role "*:*" --id-only --sort ascending
knife search role "*:*" --id-only --sort asc
knife search role "*:*" --sort asc
knife search role "*:*" --sort description

In combination with https://github.com/chef/chef-manage-issues/issues/12

At this point, we're going to have to classify this as a feature and not a bug. The server-side sorting feature has been non-functional since sometime in 2010.
When this feature was working, the Chef Server was storing the flattened-and-expanded node object data as individual fields within Solr. The number of fields in Solr quickly expanded to over a milliion based on all the key combinations of all the nodes on the server, and search times suffered drastically. Solr behaves best when the number of fields is kept low (at the time benchmark comparisons were going up to 32 fields).
To improve (really, unbreak) the search performance on large Chef Server installs, we combined all of the flatten-and-expanded node keys into a content field in Solr. We do special search query transformation to convert a key:val Lucene query to something along the lines of content:__key__%SEP%__val__.
Since all of the node-related keys are merged into the content field in Solr, we can't actually tell Solr what fields to sort on when returning query results.
Without significant changes and / or new APIs in the Chef Server, we have two options (neither of them particularly great) for obtaining sorted search results: server-side and client-side:
server-side:
With the architecture described above, to obtain sorted results from the server, we'd have to first query Solr for all of the results matching a query, obtain the gzipped node JSON from PostgreSQL for all the results, parse the JSON, and sort based on the arbitrary key passed in by the user.
This would be fine for small result sets, but for large installs this quickly balloons the memory usage of the Chef Server.
client-side:
All of the same memory usage issues apply here, but you also are hindered by the fact that you'd have to stream all of the data to the client in order to sort, meaning it would be infeasible to combine sorting with limits.

Perhaps we should open an issue with the client to remove the sort parameter in the DSL methods and the options in the CLI tool, so people don't get confused.

:+1: to that, @stevendanna. Also paging @smith to this thread.

Without significant changes and / or new APIs in the Chef Server

I'd be interested to hear what kind of things we're talking about here. Since we're talking about the way the data is stored and queried, "significant" sounds pretty significant.

server-side:
With the architecture described above, to obtain sorted results from the server, we'd have to first query Solr for all of the results matching a query, obtain the gzipped node JSON from PostgreSQL for all the results, parse the JSON, and sort based on the arbitrary key passed in by the user.

This would be fine for small result sets, but for large installs this quickly balloons the memory usage of the Chef Server.

Would we be able to mitigate or make feasible any of this by exploring some kind of SAX-like JSON streaming parser (to keep the memory usage low) or some of the postgres functions for manipulating JSON on the way out of the server?

client-side:
All of the same memory usage issues apply here, but you also are hindered by the fact that you'd have to stream all of the data to the client in order to sort, meaning it would be infeasible to combine sorting with limits.

We could figure out ways to allow sorting only after all rows had been loaded in memory, but that wouldn't survive a page refresh and would present tricky UI design challenges.

Perhaps we should open an issue with the client to remove the sort parameter in the DSL methods and the options in the CLI tool, so people don't get confused.

I'm ok with that, but as long as there are search results displayed in a table with headings, users will click the headings and want it to sort when the headings are clicked, because that's what people expect. They will not stop asking for this feature so long as things are in a table with headings.
Would it be possible to have some kind of preconfigured white-list of key/paths where we make sorting possible and only allow those (configured in chef-server.rb)? Just throwing out ideas at this point.
I'm open to not supporting sorting, but at this point I think the user who is caused the most pain by this might be support, since they have to keep fielding requests about it.

In 2015, unsorted lists are not acceptable in my opinion. Look at the products we use on a daily basics, how many give us unsorted lists?
It's one of those hard right things we need to prioritize and implement.

If we limited what you could sort on, could we potentially use PostgreSQL cursors (http://www.postgresql.org/docs/9.2/static/plpgsql-cursors.html) to do sorted, paginated results without blowing up memory?

I don't really know how much relevance has to a realistic solution to this problem, but I'd like to note that https://github.com/jcreedcmu/psql-gunzip-test is a proof-of-concept that does allow ordering-by and postgresql-indexing on the json fields that are stored gzipped in serialized_object columns. e.g. I can get
SELECT name FROM nodes ORDER BY (gunzip(serialized_object)::json->'normal'->>'foo'); and
CREATE INDEX ON nodes ((gunzip(serialized_object)::json->'normal'->>'foo')); to work on a ubuntu 12.04 vm after doing a chef server omnibus build with postgresql upgraded from 9.2 to 9.3 so that the JSON access functions exist.

Storing the json data gzipped is kind of silly anyway, because PostgreSQL will already compress column values automatically.

@petere I think I was just reading about this yesterday. Does this page describe the compression you are talking about?
http://www.postgresql.org/docs/9.2/static/storage-toast.html

@petere Very much agree.
The compression is an artifact from when we supported mysql as well. We wanted to maintain a sql model containing the least common denominator between the two, and it was easier at the time to own the compression ourselves than to model the differences between how postgres and mysql managed things. It doesn't make much sense now.
Going forward we should stop compressing things on the erlang side; it doesn't add any value and closes off cool things like JSONB.

I opened up #225 to separately address erlang-side compression, since that can be done independently of whatever solution we arrive at here.

Related question: Putting search results aside, what's the difficulty of sorting results on the /nodes, /cookbooks, /roles, /environments, etc. endpoints?

@charlesjohnson since they only return ids (aside from cookbooks, which have the most recent version I think), I'm guessing you would just need to add an ORDER BY and possibly an index along with it. That's just my guess though.

+1 for this bug.
As a Chef user this unsorted lists issue is my one gripe with the product. Would really love a solution for this guys!

What does it even mean to sort the results server-side on, e.g. /nodes, if what's being returned is unconditionally a JSON map of all the nodes? I thought the issue of sorting was meaningful for the search endpoint because it's paginated.

is there any way I can help to move this forward?

Any work around for this? Its very painful to search for every role you want to add.

Please make the chef server web UI lists sortable


Autostart please

Check out #113, or use the search function in the issues tab of this repository to look through any of the other auto-start related issues. Likely, your exact questions have already been answered.


Remove unneeded @disable clear now that clear is removed from object.di

Do we need to stagger this by one release, or is it OK to remove it now?

@quickfur it is no longer needed. Druntime has now removed the clear function. What the @disable clear did was to prevent you from doing appender.clear() and what it was really doing is calling destroy(appender), not what you want to do.
See here: https://github.com/D-Programming-Language/phobos/pull/3129
No API changes are happening here. Appender!(someImmutableType[]).clear didn't work before, and won't work after.

Fair enough.

Auto-merge toggled on


Slet-Tail / Phi problems

For the term
typecheck_hs_from_string_detailed("function testScale(b, xs)
          (dim, _) = size(xs)
          count = 0
       #  for i in 1:dim
                x = b * xs[1,:]
                cx = clip(L2,x)
                if cx == x
                    count = count + 1
                end
        #  end
          count
       end

       ")

we get an error:
                          -----------------------------------
                          Term before mutation elaboration:
                          FLet testScale =
                            Lam ([b :- Any, xs :- Any])
                            (
                              TLet [dim :- Any, _ :- Any] = Size (xs)
                              SLet count :- Any = 0.0
                              SLet x :- Any = * [b, Row (xs, 1.0)]
                              SLet cx :- Any = ClipM (Clip(L2), x)
                              Phi (== [cx, x])
                              (
                                MutLet{PureLet}   SLet count :- Any = + [count, 1.0]
                                  DefaultRet (count)
                                  count
                              )
                              (
                                count
                              )
                            )
Encountered error: While demutating, the following error was encountered:
 Found a pure term in a place where it does not have any effects.

The full term is:
# ---------------------------
# type: Pure UserValue
SLet count :- Any = + [count, 1.0]
DefaultRet (count)
# ------------
# rest:
count

Other variants:
typecheck_hs_from_string_detailed("function testScale(b, xs)
        (dim, _) = size(xs)
        count = 0
        for i in 1:dim
                x = b * xs[1,:]
                cx = clip(L2,x)
                if cx == x
                    count = count + 1
                else
                    count
                end
         end
       end

       ")

typecheck_hs_from_string_detailed("function testScale(b, xs)
        (dim, _) = size(xs)
        count = 0
        # for i in 1:dim
                x = b * xs[1,:]
                cx = clip(L2,x)
                if cx == x
                    count = count + 1
                else
                    count
                end
         # end
       end

       ")

An example which strangely works is:
function count(f:: Function, d::Matrix) :: Priv()
          (dim, _) = size(d)
          counter = 0
          for i in 1:dim
             dd = d[i,:]
             if f(dd) == 1
                 counter = counter + 1
             end
             # counter # **EDIT** This line should not be there
           end
       counter
       end

The code which created this bug does no longer exist. Since #189 parsing and demutation uses procedural terms.
The main example from which these examples derive is
typecheck_hs_from_string_detailed("function testScale(b, xs)
          (dim, _) = size(xs)
          count = 0
          for i in 1:dim
                x = b * xs[1,:]
                cx = clip(L2,x)
                if cx == x
                    count = count + 1
                else
                    count = clone(count) # NOTE this line
                end
          end
          count
       end
       ")

and checks correctly. a structurally similar example is to be found in #174. Thus this issue is not needed anymore.


small translation

remove extra space in fr message
translate japaneese comment in last commit

hope you're also ok to translate the japanese comment in that part of the code to match the remaining
Best regards


pilot-4-blogpost

Hello folks! Happy new year !
This post is ready for review 👍

We probably won't publish this one until end of January.  We have an EOY council blog post as well as as a admiral 1.0 that need to go out first.
However, @pharmaverse/commswg is there anyone with some bandwidth to help review in the meantime?

Hello, end of January sounds okay, I guess this could go well with the submission of the first part of Pilot 4 to FDA by the R Consortium.

Hello,
Is there any update on the review timeline for this post?
Thanks!

Hi Ismael!!
Apologies and thank you for the poke!!  I will review today and we can put out on Thursday.

omg this is so cool - I mesmerized by the possibilities.  I didn't really catch any grammar or syntax issues just some linking and explanations.

Hi @bms63 , we've implemented the changes. please could you take a look?

LGTM!!  Many thanks for putting this together!!  There are some spelling mistakes.  I will fix these in another PR.

Hi @bms63 , thank you so much and happy to help with correcting the spelling errors please.

Hey all - post is live.  A couple of formatting issues are amiss (the package table and the bolding in middle of post)
https://pharmaverse.github.io/blog/posts/2024-02-01_containers_webassembly_submission/containers_and_webassembly_submissions.html
Do you mind fixing please?
I will make a post on slack and LinkedIn soon.

@bms63
Just maintaining this thread. I've updated the table and text and created another pull request with the changes please. Hopefully it renders properly this time 🙏🏾: https://github.com/pharmaverse/blog/pull/109/commits/77962a6e1b8133e7ba0b5d6398889488edc251e0


Product not currently supported

What issue do you have? Please be as thorough and explicit as possible.
I configured a Govee light strip (H6107) using the Govee Home app.
I then installed the homebridge-govee plugin and after restarting the service I have the following error in the logs :
[LED Strip] is not currently supported, do create a Github issue with the following info:
{"device":"40:48:0C:F2:92:47:2E:DE","deviceName":"LED Strip","model":"H6107","httpInfo":{"groupId":0,"device":"40:48:0C:F2:92:47:2E:DE","sku":"H6107","spec":"","versionHard":"1.00.01","versionSoft":"1.01.20","deviceName":"LED Strip","deviceExt":{"deviceSettings":"{"bleName":"ihoment_H6107_D127","ic":0,"sku":"H6107","device":"40480cf292472ede","deviceName":"LED Strip","versionHard":"1.00.01","versionSoft":"1.01.20"}","lastDeviceData":"{"online":false}","extResources":"{"skuUrl":"","headOnImg":"","headOffImg":"","ext":"","ic":0}"},"goodsType":0},"isAPIDevice":false}
Details of your setup.

Do you use (1) Homebridge UI-X (2) Homebridge CLI or (3) HOOBS?
I am using Homebridge UI-X

Which version of Homebridge/HOOBS do you have?
I have Homebridge v1.4.0 (HAP v0.10.0)

Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.
I am running it on Microsoft Windows 10 Professionnel with Node.js version 16.14.2 and NPM version 8.5.0

Which version of this plugin (homebridge-govee) do you have? Has the issue started since upgrading from a previous version?
I have the version v4.30.3 of the plugin and I didn't upgrade it as I just install it.

Which Govee devices do you have that are causing issues? Please include product models if applicable.
Govee RGB LED light strip H6107

Please paste any relevant logs below.

[16/04/2022, 12:40:12] Homebridge v1.4.0 (HAP v0.10.0) (Homebridge 0B28) is running on port 51159.
[16/04/2022, 12:40:12] [Govee] Login successful.
[16/04/2022, 12:40:13] [Govee] Bluetooth hardware and packages found successfully.
[16/04/2022, 12:40:13] [Govee] [LED Strip] is not currently supported, do create a Github issue with the following info:
{"device":"40:48:0C:F2:92:47:2E:DE","deviceName":"LED Strip","model":"H6107","httpInfo":{"groupId":0,"device":"40:48:0C:F2:92:47:2E:DE","sku":"H6107","spec":"","versionHard":"1.00.01","versionSoft":"1.01.20","deviceName":"LED Strip","deviceExt":{"deviceSettings":"{\"bleName\":\"ihoment_H6107_D127\",\"ic\":0,\"sku\":\"H6107\",\"device\":\"40480cf292472ede\",\"deviceName\":\"LED Strip\",\"versionHard\":\"1.00.01\",\"versionSoft\":\"1.01.20\"}","lastDeviceData":"{\"online\":false}","extResources":"{\"skuUrl\":\"\",\"headOnImg\":\"\",\"headOffImg\":\"\",\"ext\":\"\",\"ic\":0}"},"goodsType":0},"isAPIDevice":false}
[16/04/2022, 12:40:13] [Govee] [noble] stateChange: poweredOff.
[16/04/2022, 12:40:15] [Govee] ✓ Setup complete. Thanks for using this plugin, I hope you find it helpful!

Hi @tkvy4
Can you update to the beta version of the plugin? This device should then show as supported!

Hello @bwp91,
Thanks ! Updating to the beta version fixed the issue.
My device is now supported and I can see it added to Apple Home app.
However, I am facing another issue.
Please find the logs below :
[16/04/2022, 17:06:11] [Govee] Login successful. [16/04/2022, 17:06:12] [Govee] Bluetooth hardware and packages found successfully. [16/04/2022, 17:06:12] [Govee] [LED Strip] initialising with options {"adaptiveLightingShift":0,"bluetooth":"enabled","brightnessStep":1,"logging":"debug"}. [16/04/2022, 17:06:12] [Govee] [LED Strip] initialised with id [40:48:0C:F2:92:47:2E:DE] [H6107]. [16/04/2022, 17:06:12] [Govee] [noble] stateChange: poweredOff. [16/04/2022, 17:06:14] [Govee] ✓ Setup complete. Don't forget to ☆ this plugin on GitHub if you're finding it useful! [16/04/2022, 17:11:02] [Govee] [LED Strip] not sending AWS update as not available or enabled. [16/04/2022, 17:11:02] [Govee] [LED Strip] could not be updated as BLE adapter not in correct state [poweredOff] at BluetoothLED.updateDevice (C:\Users\Kevin\AppData\Roaming\npm\node_modules\homebridge-govee\lib\connection\ble.js:140:13). [16/04/2022, 17:11:02] [Govee] [LED Strip] not sending AWS update as not available or enabled. [16/04/2022, 17:11:02] [Govee] [LED Strip] could not be updated as BLE adapter not in correct state [poweredOff] at BluetoothLED.updateDevice (C:\Users\Kevin\AppData\Roaming\npm\node_modules\homebridge-govee\lib\connection\ble.js:140:13).
I understand that the state needs to be poweredOn but how do I change it ?
Thanks !

The plugin using bluetooth hasn’t really been tested with windows (i don’t have access to one).
But there are instructions here for getting the bluetooth to work on windows, i’m not sure how simple/complicated it is:
https://github.com/abandonware/noble#windows


sdm-cportal outside of sdm

Hi, Benn -- I hope this finds you well
I have been tinkering with sdm-cportal and have made a few adjustements, namely I have edited the links and HTTPServer to use port 9090 instead of 80 (since I already have a web-server bound to port 80, 8080, and 8888).
With those adjustments, most of the captive portal works.
I am able to "Start the captive portal" and fill in the form successfully.
'testinputs' returns success.
However, when I attempt the next step, I find that sdm-cportal depends on an sdm configuration file, /etc/sdm/local-1piboot.conf
I wanted to bring this to your attention since I know it was a goal of sdm-cportal to be usable outside of sdm, though it seems there is a small dependency issue.
Looking at that file, however, everything is commented out, so I'm going to see what happens if I just touch that file and try again.
Below is the Python traceback for the issue
----------------------------------------
Exception occurred during processing of request from ('<IP_ADDRESS>', 60992)
Traceback (most recent call last):
  File "/usr/lib/python3.9/socketserver.py", line 316, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib/python3.9/socketserver.py", line 347, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python3.9/socketserver.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/home/pi/./sdm/sdm-cportal", line 231, in __init__
    super().__init__(*args, **kwargs)
  File "/usr/lib/python3.9/socketserver.py", line 720, in __init__
    self.handle()
  File "/usr/lib/python3.9/http/server.py", line 427, in handle
    self.handle_one_request()
  File "/usr/lib/python3.9/http/server.py", line 415, in handle_one_request
    method()
  File "/home/pi/./sdm/sdm-cportal", line 364, in do_GET
    self._setstop(pd, False)
  File "/home/pi/./sdm/sdm-cportal", line 268, in _setstop
    writel10n(pd, self.pd.keymap, self.pd.locale, self.pd.timezone)
  File "/home/pi/./sdm/sdm-cportal", line 225, in writel10n
    with open("/etc/{}/local-1piboot.conf".format(pd.facname), 'w') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/etc/sdm/local-1piboot.conf'
----------------------------------------

Update:
sudo mkdir /etc/sdm
sudo touch /etc/sdm/local-1piboot.conf

fixed the issue

Ugh. Will have a look at it after I get done chasing what appears to be a surprise error message when using --shrink on Bullseye.
In the meantime, your workaround is good.

Good luck with you hunting!! Bullseye is still seeing significant changes daily -- mtfbwy

Just looked at the code.
It's structured such that you either have to specify an --l10nhandler script, or cportal will try to write to the sdm file hierarchy.
If you don't care about the values for L10N, you can use --l10nhandler /dev/null, as the code neither checks nor reports errors from the --l10nhandler script.

Fixed and tested.


Reduce log level from info to debug

...to avoid polluting the logs of apps using JinjaX.
With JinjaX 0.25, logging from JinjaX started showing up whenever
we ran any command related to our Django project, including python manage.py shell.
It is of course possible to get rid of this using our own log setup, but I
believe the correct solution is for JinjaX to keep all non-critical logging on
the debug level.

Thank you


feat: add webp image support and parent as a variable name

Spotted that webp wasn't in image support, so I added it :D
(cf https://help.obsidian.md/Advanced+topics/Accepted+file+formats)
I also simplified some expression

I want to add that your plugin is very cool. I hope my PRs and suggestions are not considered as spam.
I dreamed of your plugin a lot, because I have a lot of attachments and it's a mess to use with Obsidian. Your plugin will change my way to handle these :)

I want to add that your plugin is very cool. I hope my PRs and suggestions are not considered as spam. I dreamed of your plugin a lot, because I have a lot of attachments and it's a mess to use with Obsidian. Your plugin will change my way to handle these :)

Thk for your PR first!
I have a little busy these day, and don't' worry about that your PR will be considered spam.
And I will review your code today

Can you check the changes ? :D


Update superagent and add caching back

This PR makes a few changes to get things production ready again:

Updates superagent and supertest to the latest versions
Adds superagent-cache to manage caching (default off for dev, default on for production)
Adds argument to use the cache (for use when in dev mode)
Adds back the /flush POST route for flushing the cache

The value here comes from not having to maintain our own caching approach and from the available cache types that superagent-cache supports (including redis and memcached), giving us flexibility to more easily adapt if we find it necessary.

FYI, I have rebased this onto PR #30. So I'll hold off merging this until that one is reviewed and merged. No other changes at this time.


Accepting subscription id as deployment parameter

Additions

Currently, only subscription name could be used to select a subscription.

Made changes to accept both subscription name and subscription ID as input from user.

Trimming extra empty spaces from user entered text i.e. subscription Name/ID and Location Name.

Testing
initial testing done

This should take care of #86, where we had duplicate subscription names and user was blocked without the ability to pass subscription id as user input.


Roll Flutter Engine from 5a824e22deb2 to 6dc91bff96a5 (1 revision)

https://github.com/flutter/engine/compare/5a824e22deb2...6dc91bff96a5
2024-04-09<EMAIL_ADDRESS>Roll Dart SDK from 78174b41ab0f to 7a5e410f982e (1 revision) (flutter/engine#51980)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Keyboard not showing up

Describe your bug here.
Bassically in any editor we use the keyboard for type song names spritesheet names but keyboard now showing (dialogue editor works) but fix this
Crash Log or logcat logs (if existing)
No response
Are you modding a build from source or with Lua?
I am not modding
What is your build target?
Android
Did you edit anything in this build? If so, mention or summarize your changes.
No

duplicate of https://github.com/MobilePorting/FNF-PsychEngine-Mobile/issues/58

duplicate of #58

LMFAO. He is 11 years old :skull:


AcceptanceTest TokenCreate is Consistently Failing

Description
When running the test: acceptancetest:tokencreate
The following error is happening, all the time:
1) RPC Server Acceptance Tests
       Acceptance tests
         @tokencreate HTS Precompile Token Create Acceptance Tests
           "before all" hook for "should associate to a token":
     Error: invalid value for value.hash (Cannot read properties of null (reading 'hash')) (value=null, code=BAD_DATA, version=6.8.1)
      at makeError (packages/server/node_modules/ethers/src.ts/utils/errors.ts:694:21)
      at assert (packages/server/node_modules/ethers/src.ts/utils/errors.ts:715:25)
      at /home/runner/work/hedera-json-rpc-relay/hedera-json-rpc-relay/packages/server/node_modules/ethers/src.ts/providers/format.ts:58:23
      at formatBlock (packages/server/node_modules/ethers/src.ts/providers/format.ts:129:20)
      at JsonRpcProvider._wrapBlock (packages/server/node_modules/ethers/src.ts/providers/abstract-provider.ts:629:37)
      at getFeeDataFunc (packages/server/node_modules/ethers/src.ts/providers/abstract-provider.ts:914:32)
      at processTicksAndRejections (node:internal/process/task_queues:95:5)
      at JsonRpcProvider.getFeeData (packages/server/node_modules/ethers/src.ts/providers/abstract-provider.ts:931:16)
      at Wallet.populateTransaction (packages/server/node_modules/ethers/src.ts/providers/abstract-signer.ts:144:29)
      at Wallet.sendTransaction (packages/server/node_modules/ethers/src.ts/providers/abstract-signer.ts:232:21)
      at ContractFactory.deploy (packages/server/node_modules/ethers/src.ts/contract/factory.ts:111:24)

Steps to reproduce
Run:
npm run acceptancetest:tokencreate
Additional context
No response
Hedera network
other
Version
v0.36.0
Operating system
None


Avatar: remove no-used css-property

Please make sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

With 'display: block', vertical-align should not be used.


cljs.core/-, all arguments must be numbers in focus.cljc

In a project built with shadow-cljs I get this noise whenever my project is compiled:
------ WARNING #1 --------------------------------------------------------------
 File: zprint/focus.cljc:100:47
--------------------------------------------------------------------------------
  97 |         #_(println "range-ssv: start:" start "nwpath:" nwpath)
  98 |         start (skip-whitespace-ssv ssv start)
  99 |         ssv-next (next-ssv ssv start)
 100 |         end (if (and ssv-next (not= start 0)) (dec ssv-next) (dec (count ssv)))]
-----------------------------------------------------^--------------------------
 cljs.core/-, all arguments must be numbers, got [#{nil clj-nil} number] instead
--------------------------------------------------------------------------------
 101 |     #_(println "range-ssv:" [start end])
 102 |     [start end]))
--------------------------------------------------------------------------------

I'm using version 0.4.13.

I find this very strange.  From what you are saying, this is a compile time problem -- which makes sense, as it can't be a run-time problem -- the (and ssv-next (not= start 0)) will ensure that the (dec ssv-next) will never be called if ssv-next is nil.  So, this looks like some kind of static analysis that is telling us that ssv-next could be nil.  Which it clearly can -- nil is a valid return from next-ssv.
I have managed to reproduce this.  This behavior appeared between Clojurescript 1.10.339 and 1.10.439.  I can reproduce it with figwheel as well as shadow-cljs.
It is hard for me to believe:

That this is the only place in my code where a numeric function is protected from a nil value by being wrapped in an if function.
That this is actually supposed to be disallowed, or even warned about.

Indeed, the announcement for Clojurescript 1.10.439 mentions this issue here as an improvement.  But it seems a bit aggressive to me in this case.  I suspect I can recast this code to work around this warning behavior.  But this is certainly not what I would expect to see.
Thank you for alerting me to this.

Does seem aggressive with the obvious and condition around it. Seems like the type inference isn't capable of narrowing assertions within the conditional branch.
It doesn't affect functionality, but it does create noise during compilation with the warning so a workaround would be much appreciated.


Wagtail cannot install on some RHEL6-based OSes

Because of Wagtail's dependency on libsass, it's impossible to install Wagtail on any OS derived from the base install of Red Hat Enterprise Linux 6. RHEL6 comes with GCC 4.4, which libsass cannot compile on.
I learned this the hard way when trying to use my code shop's chef cookbooks to install Wagtail onto a CentOS 6 vagrant. After many hours of frustration and research, we finally discovered that it's possible to install GCC 4.8 into CentOS 6 by using RPMs from Scientific Linux, but it was a huge hurdle that really should not have been necessary.
Is there anything that can be done about this? We don't use Sass, which made this especially annoying. Could there possibly be a way to install Wagtail without libsass? Issue #35 may be related, since it talks about compiling the existing sass in the repo to CSS for each release.

Thanks for raising this, @coredumperror. We're aware that libsass is an annoyance for some users - although we hadn't realised that it was so complicated on RHEL installs - and we've decided on a compile-on-release approach which is outlined here:
https://github.com/torchbox/wagtail/issues/35#issuecomment-78029863
@gasman is looking into the specifics and we'd like to get a good solution in the next release if possible. In the meantime, @salvadormrf and other users have workarounds which they may be able to share.

I don't understand, you put two options: non-comiled sass files and compile sass files?
I try much, much time for install libsass in webfaction and the end i could did it :D

Also, RHEL6 uses Python 2.6 (which is no longer supported by Wagtail from 1.0).

Ah, good to know. I wasn't aware that Python 2.6 support was being dropped.
Makes sense, though, considering that Django just dropped support for it.

Wagtail no longer depends on libsass as of version 1.0.


The type or namespace BaseColorBinder could not be found

Hi there,
I am unable to extend BaseColorBinder and get a missing assembly reference. I have tried both "using Unity.Theme.Binders" as well as adding my script to the "Unity.Theme.Binders" namespace.
Am I missing something or is there an issue with this?
Cheers,
Cody

Hi,
It sounds like you have a script in your Assembly definition. If so, you just need to add Unity.Theme as a reference to your Assembly definition.


Doesn't export full notebook

Other users on youtube are also having this issue. It's on the last few pages, where it doesn't print everything.
However, I don't believe it's fully your fault. If I try to print out of the browser, the same problem happens (and with ugly print). I don't know

Have you used any plots just before the problem starts to appear? If yes what kinds of plots?
If you are comfortable with it, could you share the notebook?

Yes. Here's the file (I'll delete it once this issue is resolved):
Just put it on google colab
file.zip

Hi! I ran it on colab after passing the exact file name with underscores.
It gave me the pdf file for all content as expected.
Could you maybe share your pdf file?
C_Exemplos_Recursivos_e_iterativos.pdf

Today I had the same issue and I managed to address it by:

Cloning the ipynb file into the "Colab Notebooks" directory.
Changing the name of the file in order to transform all whitespaces into underscores (normalization of the file's name).

After these steps, one must just change the code section related to the conversion to PDF, specifying the file's name and then execute it. Easy peasy 👍


Adopt Hilt 2.41

Fix build failure from #21.

@Goooler Thanks, I'll take a look tonight.  I'm trying to get CI builds to catch this sort of thing and actually publish releases to play store.


After setting custom scrollbar style, my scrollbar disappears

Followed the guidelines described elsewhere and inserted the following in styles.less to ensure my scrollbar is always visible and larger than the default skinny little gray thing. The following is as described at https://discuss.atom.io/t/change-the-color-and-width-of-editors-sidebar/18545 :
// style scrollbar
.scrollbars-visible-always {
/deep/ ::-webkit-scrollbar {
width: 20px;
height: 20px;

&-track {
  border: 0px;
  border-radius: 0px;
  background-color: rgb(100, 100, 100) !important;
}

&-thumb {
  background-color: rgb(205, 100, 31) !important;
  border: 1px;
  border-radius: 1px;
}}}

When I put the above in styles.less and save it, the scrollbar temporarily shows up, but then disappears when I leave Atom, or switch to a new tab within Atom.  Switching to safe mode doesn't change anything. Strangely, hitting ctrl-\ a few times sometimes helps for a little while (this toggles tree view).
When I delete the above style for my scrollbar, the little skinny gray default scrollbar shows just fine. I'd love to have my big thick scrollbar work all the time!
My version information:
Atom    : 1.25.1
Electron: 1.7.11
Chrome  : 58.0.3029.110
Node    : 7.9.0

Related issue:
https://github.com/atom/atom/issues/15107

Thanks for taking the time to contribute!
We noticed that this is a duplicate of https://github.com/atom/atom/issues/17002. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.

Thanks sorry I missed that one.


Working DDP for linear systems - [merged]

In GitLab by @cmastalli on Jul 4, 2018, 18:24
Merges CM-devel -> master
This PR contains major core improvement of the DDP, I briefly describe them:

Common abstraction for terminal and running cost functions.
Data creation for a stack of terminal and running cost functions.
Function for computing all quantities in the cost and dynamics abstract classes.
Coding a Tassa's regularization and line search.
Creating a spring-mass system for DDP unit-testing.
Adding asserts for critical components.
Numerical differentiation abstraction.
Data structure and numerical differentiation for classical and diffeomorphic systems.
Unit-test for DDP with linear system (i.e. spring mass).
Unit-test for quadratic cost functions and its derivatives.
Unit-test for numerical differentiation.
Extended, but no finished, documentation of core classes.

@nmansard, @jcarpent and @rbudhira please take time for reviewing these core changes. There is still a lot of to be done but it's time to have some loop closure. Just to quickly mention, this is a short TODO:

Using the integrator class for integrating the derivatives of dynamics and cost functions.
Adding the manipulation problem, and potentially a sort of unit-test.
Adding the improved version of the regularization and line search.
Adding the locomotion problem?

In GitLab by @cmastalli on Jul 27, 2018, 13:03
added 1 commit
0932f6a1 - [doc] Reviewed the documentation and made the systems complain with 80 character ruler
Compare with previous version

In GitLab by @cmastalli on Jul 27, 2018, 13:29
added 1 commit
fab40c28 - [misc] Further cosmetic improvements
Compare with previous version

In GitLab by @cmastalli on Jul 27, 2018, 13:30
assigned to @cmastalli

In GitLab by @cmastalli on Jul 27, 2018, 13:31
It improves the documentation and make the code complains with 80 character ruler

In GitLab by @cmastalli on Jul 27, 2018, 13:31
closed

In GitLab by @cmastalli on Jul 27, 2018, 13:31
reopened

In GitLab by @cmastalli on Jul 27, 2018, 13:31
merged

In GitLab by @cmastalli on Jul 27, 2018, 13:31
mentioned in commit e9583510ae63a327d644ac3d152032d0c27c3ca1


"This application doesn't use a correct manifest..."

For some reason, I use your tutorial and cmake file but get the warning in the title. I'm using mingw GCC and I'm hoping maybe you can shed some light on this issue. Thank you!

Unfortunately, I don't use mingw. The supported compiler on Windows is MSVC. If you could investigate the issue, that would be great.


Nonbreaking pieces of #8155

lgtm.

Should I merge this instead of #8155? Or just merge it first?

@bgrant0607 merge this first. I will then rebase #8155.

The prometheus example is still subtly broken because kubectl proxy doesn't proxy the /metrics endpoint. I would like to fix that a follow-up.

LGTM

The prometheus example is still subtly broken because kubectl proxy doesn't proxy the /metrics endpoint. I would like to fix that in a follow-up.

Folllow-up in #9233


move default_args into kwargs

Description
When using default argument for on_error_callback functions, it is not executed, because its in a sub-dictionary in kwargs.

Small update to fix a bug where when using on_failure_callback in the default_args, callbacks for dbt tests that fail won't be executed.

added a test case for this

Oh, my mistake ... I mean on_failure_callback 😳
https://airflow.apache.org/docs/apache-airflow/stable/administration-and-deployment/logging-monitoring/callbacks.html


Release candidate

Utilizing this branch to clean up and vet out and remaining tasks before releasing 1.0.0.
TODO:

[ ] Figure out what we want/need to do?
[ ] Fill out this TODO list?
[ ] @shilpam: currently the tests James wrote fall, I think the defaultProp is not transferring correctly. Want to take a look?

@jameswomack @shilpam @kmudrick

Adding Travis sooner than later would probably help us out :)

There's a Babel transpilation error in build/Localization
/Users/jwomack/Projects/github/jameswomack/react-localize/build/Localization.js:56
    return localize(messages, key, values, defaultValue);
           ^

TypeError: localize is not a function
    at localize (/Users/jwomack/Projects/github/jameswomack/react-localize/build/Localization.js:56:12)
    at run (/Users/jwomack/Projects/github/jameswomack/react-localize/tests.js:9:20)
    at /Users/jwomack/Projects/github/jameswomack/react-localize/node_modules/puny/index.js:14:16
    at Array.forEach (native)
    at run (/Users/jwomack/Projects/github/jameswomack/react-localize/node_modules/puny/index.js:11:9)
    at Object.<anonymous> (/Users/jwomack/Projects/github/jameswomack/react-localize/tests.js:7:1)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)


Make pathsInDAG walk all possible paths

This is gated on clarification of the intent of pathsInDAG.
This changes pathsInDAG to walk every possible path from a root to all reachable nodes. The old version, defining visited-ness by instance definition, would only return paths for all nodes that have unique instance definitions.
I think this is what it's supposed to be doing (based on the comment), but I need the above-mentioned clarification of intent.
See: https://github.com/freechipsproject/firrtl/issues/654#issuecomment-328889277.

You are right, this is a bug! Thanks for finding this. The intent is to have it enumerate all paths, even in non-trees.
However, the bug is not that each node is visited only once -- visiting each node once is sufficient to get every path. The problem is that the queue order must be a valid linearization; I was sloppy and used a greedier ordering without thinking properly. Unfortunately, the visited logic produces a valid linearization for some non-tree graphs, which hid the bug in my (limited) testing of pathsInDAG on non-trees.
I updated the PR to incorporate that change (visiting only once, but using the correct linearization order) since it will dramatically reduce the asymptotic worst-case runtime. Would you mind testing my fix?

This is working for me! (Tested as producing the expected hierarchy for my incomplete wiring transform experiments).
Thanks for fixing the issue with the asymptotic complexity. My approach seemed inefficient, but I couldn't properly describe "an instance should only be visited once it's parents have been visited", i.e., topologically sorted, until you pointed this out. The hard refresher on graph theory continues...
Fine to merge on my end.


[Feature Request] azure openai support

https://techcommunity.microsoft.com/t5/startups-at-microsoft/migrating-from-openai-to-azure-openai/ba-p/3989463
Azure's OpenAI usage is slightly different than OpenAI's. It's better to support them both.

hello, how to use Azure's OpenAI in this project?Are there any steps that can be taught?

@ZJJHYM you just need to use openai's extension, and set path/vendor/base_uri properties


Autorest Regen Preview to 3.0.0-alpha.20230827.1 by Pan Shao from refs/pull/3671/head

Triggered from https://github.com/Azure/autorest.csharp/pull/3671

API change check
API changes are not detected in this pull request.


Confirm that ksonnet-lib generation works for Kubernetes 1.9

Currently 1.7 and 1.8 are supported. 1.7 -> 1.8 required more work due to a significant K8s API change, it's entirely possible that 1.8 -> 1.9 requires little to no work.
But we should def confirm this!

1.9 will be supported in the 0.9 release


test_convolution_format_any failed

Hi, I just installed MKL-DNN on KNL but the test_convolution_format_any didn't pass, any ideas what went wrong?
(py27) linpengt@knl-desk:~/workspace/cgt/mkl-dnn/build$  CC=icc CXX=icpc cmake .. &&  make -j

(py27) linpengt@knl-desk:~/workspace/cgt/mkl-dnn/build$ OMP_NUM_THREADS=60 make -j test
Running tests...
Test project /home/linpengt/workspace/cgt/mkl-dnn/build
      Start  1: simple-net-c
 1/22 Test  #1: simple-net-c ..........................   Passed    2.92 sec
      Start  2: simple-net-cpp
 2/22 Test  #2: simple-net-cpp ........................   Passed    4.56 sec
      Start  3: api-c
 3/22 Test  #3: api-c .................................   Passed    0.11 sec
      Start  4: test_c_symbols-c
 4/22 Test  #4: test_c_symbols-c ......................   Passed    0.01 sec
      Start  5: test_sum
 5/22 Test  #5: test_sum ..............................   Passed    0.17 sec
      Start  6: test_reorder
 6/22 Test  #6: test_reorder ..........................   Passed    0.86 sec
      Start  7: test_concat
 7/22 Test  #7: test_concat ...........................   Passed    0.10 sec
      Start  8: test_softmax_forward
 8/22 Test  #8: test_softmax_forward ..................   Passed    6.53 sec
      Start  9: test_relu
 9/22 Test  #9: test_relu .............................   Passed    0.72 sec
      Start 10: test_lrn_forward
10/22 Test #10: test_lrn_forward ......................   Passed    1.37 sec
      Start 11: test_lrn_backward
11/22 Test #11: test_lrn_backward .....................   Passed    2.99 sec
      Start 12: test_pooling_forward
12/22 Test #12: test_pooling_forward ..................   Passed    0.41 sec
      Start 13: test_pooling_backward
13/22 Test #13: test_pooling_backward .................   Passed    0.60 sec
      Start 14: test_batch_normalization
14/22 Test #14: test_batch_normalization ..............   Passed   11.43 sec
      Start 15: test_inner_product_forward
15/22 Test #15: test_inner_product_forward ............   Passed    0.26 sec
      Start 16: test_inner_product_backward_data
16/22 Test #16: test_inner_product_backward_data ......   Passed    0.12 sec
      Start 17: test_inner_product_backward_weights
17/22 Test #17: test_inner_product_backward_weights ...   Passed    0.11 sec
      Start 18: test_convolution_format_any
18/22 Test #18: test_convolution_format_any ...........***Failed    0.02 sec
      Start 19: test_convolution_forward

19/22 Test #19: test_convolution_forward ..............   Passed  366.04 sec
      Start 20: test_convolution_relu_forward

Thanks for reporting this. I've reproduced the issue and we will work on this.

That is just test_convolution_format_any problem when this test still expects 8-elements data formats on KNL instead of 16-elements formats.

Hi @skazakov1, just to make sure, the result is correct, but just the test is broken?

Yes, exactly. Results are correct.

Issue in tests is addressed with 3eed2c1b9ea08460cfdf2904fee11d9b32ecf7dc.


refactor: upgrade to @udecode/plate-*

Upgrading the latest slate plugins (now called Plate) to pull the new bugfixes (some of them are relevant to us e.g. not being able to delete elements on select + delete or backspace)
Mostly find and replace but came across typing issues that I needed to skip for now.
It's failing with Cannot find module 'react/jsx-runtime'. I'm suspecting it needs React v17. We are on 16 😞

@z0al we'll likely have problems embedding this in other applications that are not using react 16 :/

Yeah, true @cribbles . However, I checked all of our plate-* and slate-react packages and they all require React v16.8.0 or higher. So we should be Ok. Still can't figure why we get the error though.


How to specify nested required in definitions

Problem statement
Parent:
  default: {"child": {}}
  required: ???
  properties:
    child:
      $ref: '#/definitions/Child'
Child:
  default: {"key": "value"}
  required: [ "key" ]

This fails with error:
- definitions.Parent.child.key in body is required

How do we fill in the required block in the Parent? "child.key" does not work
Swagger specification
Steps to reproduce
Environment
swagger version: x.x.x
go version: x.x.x
OS:

I'm not sure if there's a better way, but I got it to work by setting the in the Parent
required: [ "child" ]

This then in turn satisfies the requirement that "child" is a default that requires "key"

Actually, that didn't work, it turns out I accidentally had the required commented out. Any thoughts?

it should work like that but you have it. You may even remove the default value for child.
Parent:
  required: [ "child" ]
  properties:
    child:
      $ref: '#/definitions/Child'
Child:
  default: {"key": "value"}
  required: [ "key" ]

hmm it only seem like it works if i set it all the way in the default:
Parent:
  default: {"child": { "key": "value" }}
  properties:
    child:
      $ref: '#/definitions/Child'
Child:
  default: {"key": "value"}
  required: [ "key" ]
`
This is the only way i could get it to work. Also, setting required in Parent didn't seem necessary with the above. However, setting the default in Child was necessary.

However, I was actually just aiming to set the zero values and it seems "x-nullable" fits the bill there. And x-nullable doesn't have this baggage that "required" does.

Are all the various flags documented somewhere? or is there a part of the code that is a good reference for this?

so you are trying to avoid the error message and you want the properties to just use the zero values?
In that case you don't need the required at all.
They are all explained here: http://swagger.io/specification/

But if I don't set "x-nullable" then won't the "omitempty" in the struct remove the field when marshalling the json if it's the zero value?
For example if the default for an int is 1, if it is input as 0, then won't the default will kick in and set it to 1 (the default)?

yes that's true, that's why we have a x-isnullable

Ok, I think I've got it sorted out now, thanks.


[9.x] Allow injecting tagged instances via attribute

This PR add the Tagged attribute which can be added to a constructor argument that is explicitly typehinted as iterable, this way tagged servives can be required without having to explicitly create a custom binding.

Heya. I don't feel like we should complicate things here. I'm not sure why this is an improvement over a custom binding.

It allows one to omit having to maintain the custom binding when for example the dependencies change and with the attribute the configuration of the service is all within one file, at least this part of the configuration. I feel like creating the custom binding is a bit of boilerplate code that can be omitted by using the attribute.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


XMLA DELETE Command has invalid namespace

The defined XMLA DELETE command has an invalid namespace. When we run the below command, it fails:
Existing XMLA DELETE:

DatabaseID```

Fails with this error:
Executing the query ...
The Delete element at line 8, column 27 (namespace https://schemas.microsoft.com/analysisservices/2003/engine) cannot appear under Envelope/Body/Execute/Command.
Updated XMLA DELETE Command:

DatabaseID```

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


Possibility to pass a function as title or label.

The main goal of this request is to be able to use vue-i18n in any table header.

i18n is an independent function and it has nothing to do with Datatable

https://github.com/OneWayTech/simplest-i18n

Sorry, I mentioned the i18n to give as an example of use. In fact the great benefit is if you have an external source to set your titles, they are no longer static, since use title as a string generates a static string.

it always has a translation map...

so you dont really need to integrate Datatable with i18n


Fix: "Detected non-unique repository identifiers"

I'm not familiar with Ruby but it seems like there is mistake in if condition, which causes error during plugin settings update.

Duplicated by #745


[docs] add bundle and upgrade docs

cc @mkonicek @frantic
I added a note on the upgrading page about the upgrade command not being available yet. We should remove this after next week's release.

react-native upgrade sounds amazing :+1:

Awesome! Feel free to edit docs directly on github, people can always tweak them later.


cleaning up excluded_subclassOf axioms

delete all excluded_subclassOf axioms without provenance because the purpose of the excluded_subClassOf was to keep the provenance of superclass assertions (https://mondo.readthedocs.io/en/latest/editors-guide/g-logical-axioms/#excluded-subclassof)

some of these may come back with the synchronization

because I added the majority of the excluded_subclassOf axioms, Nico and I are adding my ORCID as the source to the existing excluded_subclassOf axioms, related to https://github.com/monarch-initiative/mondo/issues/7101

cc @matentzn

@matentzn do we still need to do the first bullet - delete all excluded_subclassOf axioms without provenance?
Or are there no longer any excluded_subclassOf axioms without provenance?
If that is the case, this can be closed then, yeah?

Yes, can be closed. This issue is addressed.


Bug fix in memory measurement

Some NULL checks added without which we may have segmentation faults.

LGTM! Merging.

+1

Have merged the branch but not reflected in github.


Brew upgrade ran from another app error: undefined method `exitstatus' for nil

brew doctor output
Your system is ready to brew.

Verification

[X] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update twice and am still able to reproduce my issue.
[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output
HOMEBREW_VERSION: 4.4.3
ORIGIN: https://github.com/Homebrew/brew
HEAD: 91f3671b16fe62121364c465c14e0dfd088d7ead
Last commit: 7 days ago
Core tap JSON: 03 Nov 20:34 UTC
Core cask tap JSON: 03 Nov 20:34 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 3.3.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/bin/ruby
CPU: octa-core 64-bit arm_blizzard_avalanche
Clang: 16.0.0 build 1600
Git: 2.39.5 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.1-arm64
CLT: <IP_ADDRESS>.1.1729049160
Xcode: 16.1
Rosetta 2: false

What were you trying to do (and why)?
I have a brew widget in my Sketchybar setup. What is important: when I click on widget icon, it attempts to run command
brew update && brew upgrade
And errors out. Note: if I run this command via terminal, it works normally.
Here's my widget code:
#!/bin/zsh

# Load global styles, colors and icons
source "$CONFIG_DIR/globalstyles.sh"

brew=(
  "${notification_defaults[@]}"
  icon=$ICON_PACKAGE
  script="$PLUGIN_DIR/brew.sh"
  click_script="brew update && brew upgrade"
)

sketchybar --add item  brew right            \
           --set       brew "${brew[@]}"

What happened (include all command output)?
Error output:
==> Updating Homebrew...
Already up-to-date.
==> Upgrading 1 outdated package:
icu4c@76 76.1 -> 76.1_1
==> Downloading https://ghcr.io/v2/homebrew/core/icu4c/76
Error: undefined method `exitstatus' for nil
/opt/homebrew/Library/Homebrew/system_command.rb:388:in `initialize'
/opt/homebrew/Library/Homebrew/system_command.rb:74:in `new'
/opt/homebrew/Library/Homebrew/system_command.rb:74:in `run!'
/opt/homebrew/Library/Homebrew/system_command.rb:40:in `run'
/opt/homebrew/Library/Homebrew/system_command.rb:25:in `system_command'
/opt/homebrew/Library/Homebrew/utils/curl.rb:158:in `curl_with_workarounds'
/opt/homebrew/Library/Homebrew/utils/curl.rb:233:in `curl_output'
/opt/homebrew/Library/Homebrew/download_strategy.rb:580:in `curl_output'
/opt/homebrew/Library/Homebrew/utils/curl.rb:509:in `curl_version'
/opt/homebrew/Library/Homebrew/utils/curl.rb:239:in `curl_headers'
/opt/homebrew/Library/Homebrew/utils/curl.rb:207:in `curl_download'
/opt/homebrew/Library/Homebrew/download_strategy.rb:546:in `_curl_download'
/opt/homebrew/Library/Homebrew/download_strategy.rb:542:in `_fetch'
/opt/homebrew/Library/Homebrew/download_strategy.rb:428:in `fetch'
/opt/homebrew/Library/Homebrew/downloadable.rb:103:in `fetch'
/opt/homebrew/Library/Homebrew/resource.rb:155:in `fetch'
/opt/homebrew/Library/Homebrew/software_spec.rb:417:in `fetch_tab'
/opt/homebrew/Library/Homebrew/formula.rb:3173:in `fetch_bottle_tab'
/opt/homebrew/Library/Homebrew/formula_installer.rb:1289:in `fetch_bottle_tab'
/opt/homebrew/Library/Homebrew/formula_installer.rb:573:in `compute_dependencies'
/opt/homebrew/Library/Homebrew/formula_installer.rb:277:in `verify_deps_exist'
/opt/homebrew/Library/Homebrew/formula_installer.rb:264:in `prelude'
/opt/homebrew/Library/Homebrew/upgrade.rb:71:in `block in upgrade_formulae'
/opt/homebrew/Library/Homebrew/upgrade.rb:52:in `each'
/opt/homebrew/Library/Homebrew/upgrade.rb:52:in `filter_map'
/opt/homebrew/Library/Homebrew/upgrade.rb:52:in `upgrade_formulae'
/opt/homebrew/Library/Homebrew/cmd/upgrade.rb:219:in `upgrade_outdated_formulae'
/opt/homebrew/Library/Homebrew/cmd/upgrade.rb:136:in `run'
/opt/homebrew/Library/Homebrew/brew.rb:94:in `<main>'
Please report this issue:
  https://docs.brew.sh/Troubleshooting

I tried to apply the fix from Common Issues page but "$(brew --repository)/Library/Contributions/examples" directory doesn't exist on my system.
I also uninstalled and reinstalled brew, and the issue persists.
OS: MacOs 15.1
Shell: zsh 5.9 (arm64-apple-darwin24.0)
Sketchybar: v2.21.0
What did you expect to happen?
Update brew and upgrade brew normally.
Step-by-step reproduction instructions (by running brew commands)
Run `brew update && brew upgrade` via Sketchybar

Try changing your click script to:
brew shellenv; brew update && brew upgrade

and see if it helps.

This seems to be an issue with your setup rather than an issue with brew.
Please use the discussions page if you need more help with this.

@gromgit thanks but unfortunately that didn't work. @carlocab I'll create a new discussion, thanks for the pointer.


fix(index.ts): add missing underscore import

Proposed Changes
React-vapor isn't usable in conjunction with create-react-app in its current state. It seems that underscore needs to be implicitly imported.
You can try it out here

Acceptance Criteria

[ ] The proposed changes are covered by unit tests
[ ] The potential breaking changes are clearly identified
[ ] README.md is adjusted to reflect the proposed changes (if relevant)

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1319   +/-   ##
=======================================
  Coverage   99.45%   99.45%
=======================================
  Files         365      365
  Lines        9173     9173
  Branches     2165     2165
=======================================
  Hits         9123     9123
  Misses         50       50

Continue to review full report at Codecov.

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


feat: improving  tls flow

Motivation
I'm writing an article on how easy it's suppose to be to setup TLS/SSL with ScyllaDB and one of the examples which I want to add is using JS. ATM the driver only support the Certificate without Keys/Truststore and this pull request adds this specific support.
// Before
const cluster = new Cluster({
    nodes,
    ssl: {
        caFilepath: "/your/path/to/certificates/client_truststore.pem",
        verifyMode: VerifyMode.Peer,
    }
});

// After
const cluster = new Cluster({
    nodes,
    ssl: {
        enabled: true, // Feature Flag
        truststoreFilepath: "/your/path/to/certificates/client_cert.pem", // Added field
        privateKeyFilepath: "/your/path/to/certificates/client_key.pem", // Added field
        caFilepath: "/your/path/to/certificates/client_truststore.pem",
        verifyMode: VerifyMode.Peer,
    }
});

IMHO I don't know if this feature flag is useful, but at least for me seems more like a easy way to turn it on/off. So, please let me know your thoughts on that.

[!TIP]
You can test with this sample by running make setup and then pointing your keys absolute path at the SSL object. Also, don't forget to switch your port to 9142 at the connection string.

Changes

[x] TLS/SSL with Keystore and Private Keys
[x] Feature flag to enable/disable SSL.
[x] Simple example on how to use it.

Thank you again for your contribution @DanielHe4rt, as soon as the article is published it will for sure be incorporated in the docs as a guide here too :wink:.
Cheers,
Daniel Boll. :flower_playing_cards:


Assembly without coverage

Hi,
following a conversion during a conference a few weeks ago, I used this tool to identify some misassemblies in my metaMDBG assemblies, and found some examples of weird cases where the genome is covered by 0 read (minimap2 mapping). One example here:

I compare results with hifiasm and metaMDBG shows a lot more cases (using 6 samples), however, it seems that still impacts a very low % of the total assembly (<0.1%):

Top plot is the cumulative length (bp) of regions with 0 coverage for each sample.
Funny enough, while hifiasm is doing better for 5 samples, there is one that has a lot of similar regions. However, it seems that those regions are found on the border of the assembly only, while for metaMDBG it can be found in the middle of a contig (like the screenshot).
I was wonder why you think this might happen. One could assume mapping errors but this seems a bit odd.
Thanks,
JS

Hi,
Thanks for your feedback. It's not mapping issue, this is definitely missassemblies.
I'm going to check if I can fix them easily, or maybe fix them as a post-processing step.


Fixed created value on scheduling event series

The values of start date field and created field are synchronized. All changes of start date value will trigger an update of created value. Also on upload or schedule event. But on schedule of multible events the created value is not set correctly. It stick at first start date on all events.

This synchronises the behaviour for all events after the first event when scheduling multiple events.  Matches behaviour for single and multi event schedules.
CC @karendolan


Pattern to store embedding to Postgres as vector store

A pattern that demonstrates, storing text as embedded values in a vector store and  using this for RAG to retrieve relevant information will be a useful pattern to have. This will be a common use case in Q&A and slo when it comes to summarizing large corpus

Closing this; please refer to the latest bedrock workshop update and reopen if still relevant


Moved to 4.0.0-SNAPSHOT

Hey @belaban !
Please take a look at proposed changes in versioning.
Release repositories don't accept SNAPSHOTs by default and vice versa - snapshot repositories don't accept releases. Working on SNAPSHOT on daily basis will protect us from releasing artifacts by a mistake. Also this change is needed by CI SNAPSHOT job.
Thanks
Sebastian

Absolutely not what ?

Needs to follow the https://developer.jboss.org/wiki/JBossProjectVersioning

@slaskawi @rhusar What's the URL for uploading of snapshots ? And do you have the relevant section in settings.xml ?

@belaban Here it is - JBoss SNAPSHOT repository: https://repository.jboss.org/nexus/content/repositories/snapshots/

@rhusar: the qualifier is optional

Hmm, reading the doc it should actually be 4.0.0.SNAPSHOT, not 4.0.0-SNAPSHOT (dot rather than hyphen)...

OK, changed version to 3.6.4-SNAPSHOT.
@slaskawi : how do I release a snapshot ? mvn deploy ? Does maven see that the version is a snapshot and therefore releases the snapshot to jboss-snapshots-repository instead of jboss-releases-repository ?

how do I release a snapshot ?

It is differentiated automatically but the deploy plugin. If your project version ends with SNAPSHOT and you execute mvn deploy, artifacts will be deployed to your snapshot repository in xml emelent <snapshotRepository/>.

@rhusar: the qualifier is optional

Have you looked at the "Current Release Version Conventions (including qualifiers) - Post January 8, 2010" section? It doesn't really seem to be optional..

Hmm, reading the doc it should actually be 4.0.0.SNAPSHOT, not 4.0.0-SNAPSHOT (dot rather than hyphen)...

Hm, not really, since -SNAPSHOT is really just a maven concept. I am not if it must be a hyphen, but that is the convention in maven world that can break some tools...


MetadataParserException (MetadataParserException : error during the parsing of "storage/emulated/0/Music/اسم عربي.mp3" FormatException: Invalid number (at character 1)

Please add support for Arabic song names!

Hi!
Could you give me a sample please? I don't know if the error is the metadata parsing or just the filename

Sorry, turns out it wasn't caused by the Arabic filename; I tried with another Arabic filename and it worked.
But still, I tried another song (English filename) and got the same exception (shown below), both songs -that caused this exception- were mp3's.
MetadataParserException (MetadataParserException : error during the parsing of "storage/emulated/0/Music/02 Goodbye Nostalgia.mp3" FormatException: Invalid number (at character 1)
I also was experimenting with other songs and found this:
Exception has occurred. MetadataParserException (MetadataParserException : error during the parsing of "storage/emulated/0/Music/07 Neutral Milk Hotel - Communist Daughter.mp3" No available parser for this file. Please raise an issue in Github)
I uploaded both songs to Google Drive so you can reproduce.

For the song Goodbye Nostalgia, it's a bug yes. I'll publish a bug fix during this week. In short, it was trying to convert the null character \0 to a number and obviously, it's not possible.
The second song from your drive is working correctly but it's not the same song than your error. Could you upload the one with the error?


Add parsing of zoneinfo

Originally requested here https://github.com/prometheus/node_exporter/issues/641 I adopted the @knweiss implementation in
https://github.com/knweiss/node_exporter/commit/5d9da788bed667a31f4eb6afe34b87947555f9b4 for procfs
Signed-off-by: Christoph Maser<EMAIL_ADDRESS>

Nice!

@pgier thaks for the feedback


Turbo stream source

Improve test coverage for streams over SSE
Add a <form> element to the src/tests/fixtures/stream.html file so
that tests can exercise receiving <turbo-stream> elements
asynchronously over an EventSource instance that polls for Server-sent
Events.
Extend the src/tests/server.ts to account for the Accept: text/event-stream requests that are made by browsers via the new EventSource(...) instance.
Introduce <turbo-stream-source>
Closes https://github.com/hotwired/turbo/issues/413
The <turbo-stream-source> element accepts a [src] attribute, and
uses that to connect Turbo to poll for streams published on the server
side.
When the element is connected to the document, the stream source is
connected. When the element is disconnected, the stream is disconnected.
When declared with an ws:// or wss:// URL, the underlying Stream
Source will be a WebSocket instance. Otherwise, the connection is
through an EventSource.
Since the document's <head> is persistent across navigations, the
<turbo-stream-source> is meant to be mounted within the <body>
element.
Typical full page navigations driven by Turbo will result in the
<body> being discarded and replaced with the resulting document. It's
the server's responsibility to ensure that the element is present on
each page that requires streaming.

Great!
I am not sure about the head / body assertion being made, nor the assumption about full page updates by Turbo (I certainly would never do that).

This is great, @seanpdoyle, we just need to pair it up with the existing tag that was put in turbo-rails. Or rather, make turbo-rails use this more generic approach directly.

Ah, yes, fair enough. This is mostly then for use outside of Rails. Which is fine.

There's a few lint errors, if you want to sort.