feat: suppress deprecation warnings for getSubscribedEvents()

hi  @stof, could you merge it into a new TAG to fix the deprecated message?
thanks in advance and thanks for this bundle!

which deprecation warnings is this suppressing ?

Method "Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents()" might add "array" as a native return type declaration in the future. Do the same in implementation "Stof\DoctrineExtensionsBundle\EventListener\LoggerListener" now to avoid errors or add an explicit @return annotation to suppress this message.

This @inheritdoc will not remove that deprecation though. Only an explicit @return array will skip the warning.

Should i change it to @return array or
@return array<string, string|array{0: string, 1: int}|list<array{0: string, 1?: int}>>
?

array<string, string|array{0: string, 1: int}|list<array{0: string, 1?: int}>>

Seems unnecessarily complicated for a method meant to be used by Symfony and not really by other developers in their code. Symfony's documentation shows a simple array for this specific use case as well as for the vast majority of remaining examples.
Also, such level of details increases the chances of having to update the annotation if in the future the shape of the array changes.


Problems with authorization in Swagger

When I try to authorize in Swagger (on https://xx.yy.cloudapp.azure.com/api/docs), it returns me the following error:
Auth error
Error: Unauthorized, error: invalid_client, description: AADSTS700025: Client is public so neither 'client_assertion' nor 'client_secret' should be presented.
Trace ID: 2173d9cc-0c11-4e26-90ed-274df3709400
Correlation ID: 62009332-0d4d-4734-a283-e32edfe34c06
Timestamp: 2022-09-20 13:54:32Z

Do you please have any idea how to deal with that?

Are you adding something into the fields that isn't already populated? You should just be able to click Authorize, client_secret required.

Are you adding something into the fields that isn't already populated? You should just be able to click Authorize, client_secret required.

Unfortunately, that's exactly what I tried to do (I don't even know how to add anything there nor whether it is possible).

Ok, how did you set up your application registrations? Using make auth or manually?

@david-salac please let us know if you managed to resolve the issue.

Hi, yes, I used make auth - the thing is that it didn't generate a secret value for SWAGGER_UI_CLIENT_ID in the auth.env file (there is no SWAGGER_UI_CLIENT_SECRET variable - to be precise), so I had to add that secret manually (in Certificates & secrets tab). The problem is not solved - it still shows the same (I also generated a new 'clean' version of TRE to ensure no errors during the process might influence this issue, but it didn't help). Please, do you have any idea what to do?

I am experiencing the same on an install.  used make auth for the setup, swagger client ID was set (but no client secret).  Click on Auth, but keep getting the error that I do not have rights to perform any action.  Validated RBAC settings, still unable to move forward.

@daemel can you post the exact error message you get back or screenshot?
There should not be a client secret in the authorization dialog in the Swagger, however there should be in the auth.env file.

@david-salac you say:

so I had to add that secret manually (in Certificates & secrets tab)

You do not need to add a secret. Can you confirm again that a secret was not entered into the Authorize dialog and this error still appears. The only way I can get the same error is by entering a client secret (see below):

Thanks.

Oh dear me, you can leave that field blank ?!
Yes, now it works correctly - thank you.

Yes, it uses your AD account.
Will close the issue.

@daemel can you post the exact error message you get back or screenshot?
Edited: There should not be a client secret in the authorization dialog in the Swagger or the auth.env

Sorry but no - I have a limited budget so I am tearing envs down before starting a new one.  The only item I keep is auth.


Object possibly null in a callback function from a local variable defined inside a function

Bug Report

🔎 Search Terms
Object possibly null callback
Object possibly null function local

🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about functions and variables.
⏯ Playground Link

Playground link with relevant code
💻 Code

interface Item { name: string, finished: boolean }

let items: Array<Item> = []

function asyncFakeSend(cb: Function) {
  setTimeout(cb, 100)
}

function getLatestAndSend() {
  let found: Item | null = null

  for (let i = 0; i < items.length; i++) {
    if (!items[i].finished) {
      found = items[i]
      break
    }
  }

  if (!found) return

  asyncFakeSend(() => {
    found.finished = true
    getLatestAndSend()
  })
}

🙁 Actual behavior
Typescript thinks found variable inside the asyncFakeSend could be null even though I've already verified it is not with the above if statement and there is no possible way of re-assigning that variable in the function after the fact or at least in the above code sample.

🙂 Expected behavior
No errors.

🙁 Workaround
My coworker suggested I create a new variable from the found inside the function like so:
function getLatestAndSend() {
  let found: Item | null = null

  for (let i = 0; i < items.length; i++) {
    if (!items[i].finished) {
      found = items[i]
      break
    }
  }

  if (!found) return

  let foundToMakeTypeScriptHappy = found

  asyncFakeSend(() => {
    foundToMakeTypeScriptHappy .finished = true
    getLatestAndSend()
  })
}

But I've never been a fan of adding code noise that provides no functionality and only exists to make typescript happy. Especially when in above situation, found.finished can never be null (as far as I understood javascript).

Duplicate of #9998.

I saw that and I scrolled through the issue description but to me it didn't seem relevant to my issue as none of the examples seemed to relate to me (at least to me). Especially since on my end this feels like a bug rather than some logic problem. My bad.


Match bike images with reduced parametric data

Hello,
I'd like to use the bike images (folder: 'Segmented bike images/bikes/') along with some data from BIKED_reduced.csv. How can I match the images with the respective samples from the BIKED_reduced.csv? Can I match them by using the image names and the column 'Unnamed: 0' (which is some kind of index i suppose)? E.g.: 'bike (10).jpg' with data from the row where 'Unnamed: 0' is 10?. Is this assumption correct? Because there are ~250 images which names don't correspond to the values in column 'Unnamed: 0'.
I am also asking, because of your warning 'Warning: Images and processed parametric data do not contain the exact same set of models'.
Kind regards.

Thank you, much appreciated!
Lyleregenwetter @.***> schrieb am Mo., 28. Nov. 2022,
22:54:

That's correct, The indices currently don't correspond to the parametric
data. Unfortunately, I don't have the mapping from the segmented image
labels to the indices. This happened due to a bit of an oversight because
we generated the segmented images with a different pipeline. I'll circle
back to this in a couple days and regenerate the segmented images under the
same labeling scheme and update the dataset.
—
Reply to this email directly, view it on GitHub
https://github.com/Lyleregenwetter/BIKED/issues/1#issuecomment-1329805140,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALXOLFFNFBO7I2LTPMVNGRDWKUSYHANCNFSM6AAAAAASNY7UVQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hello @Lyleregenwetter any updates yet?

Yes, I have rewritten the code and am currently generating the images (approx 3000 of 4500 done). This should be finished by next week. Unfortunately I won't be able to release the pipeline at this time since an integral step is a modified version of the proprietary BikeCAD software.

Could you give an update when the image generation is finished?

Hi @lebeli,
Apologies for the dalay. I have updated the Dropbox with a new zip file, entitled Bikedv2. This contains svg and png files of the full bikes (all_XXXX.png) and components (component_XXXX).png. It is formatted slightly differently though. As requested, the numbers now correspond to the tabular data in BIKED (tabular data is unchanged from v1). Nonexistent components are simply included as a blank image. Any bike or component image that failed processing is omitted.
I am hoping the new format is just as user-friendly, but I am happy to reorganize things if you'd prefer. Please let me know if I can help with anything else. Here's the link.
https://www.dropbox.com/home/decode_lab/Datasets/Public Documents/BIKED %26 FRAMED Datasets

Thank you very much! In the old dataset there was a folder \Segmented bike images\bike with rectangular bike images. Any chance you have those, too? If not, how exactly did you generate these (positioning of the bike etc.)?

I did not generate these square images this time. Instead the all_XXXX bikes are the equivalent, content-wise. I believe you should be able to achieve the rectangular images through some cropping/resizing. I left them "raw" to give users more flexibility (and included the svgs in case users want to mess with the png conversion), however I am happy to do this cropping/rescaling if you'd like, since I can see that it may be convenient for people looking to quickly train CNN models.
Some notes:

All bikes are aligned with the bottom left corner of the frame.
Depending on the dimensions of the bike, the right edge of the bike may be aligned with the right edge of the image.
There are some weird bikes which may be too tall to fit in the frame should you choose to align the left and right edges of the bike to the edges of a square frame

Thank you very much for the insights of the process. I would appreciate it very much, if you could provide the rescaled images as well, since I can make sure that I can compare the results with the training (without labels) using your provided images.

I'm not sure how you wanted the images rescaled, but I created some square 1024x1024 images which are in the same folder. Hope this is what you needed.

I noticed, that in the square images the bikes are positioned in the bottom left corner, whereas in the original dataset, the bikes are centered in the square images. Would it be possible to provide images with centered bikes?

I can artificially position the bike closer to the center, but there will be a higher chance it clips the edge of the image. I can also re-scale the images so they fit in the center, but you will lose the 1:1 correspondence from pixel distance to real-world distance. It's hard for me to guess exactly what you need for your application, so I think it may be best for you to modify the images as you see fit.

So you would say for the purpose of training a CNN your given format is (best) suited?

I see, for a GAN, It would probably be best to rescale to the size of the bike so that the bike fills up the entire image

Filling up the entire image, i.e. both tires touch the side edge of the image as well as the bottom edge? And vertically the image is expanded (up) to fit a square?

I would have both tires touch the side edges, position the image at the bottom, and let it rise up a proportional distance in the image, to avoid distorting it.

I have generated an example image, is that how you would do it?

This issue can be closed, thank you very much for your help!

Thanks for your patience!


Use case: get similar task types

Suppose I want to solve the OpenML100, but not on CV tasks but on the holdout set. This is currently not (easily) supported

For now, this query kind of solves it, but it should be integrated in the API:
SELECT sd.task_id, d.id, ep.value, e.value FROM dataset_tag d LEFT JOIN task_inputs sd ON sd.value = d.id AND sd.input = "source_data" LEFT JOIN task_inputs ep ON ep.task_id = sd.task_id AND ep.input = "estimation_procedure" LEFT JOIN task_inputs e ON e.task_id = sd.task_id AND e.input = "evaluation_measure" WHERE d.tag = "OpenML100" AND ep.value = 6


More design clean up

Not an exhaustive list, and ideally as many actions as is feasible could be audited for UI/UX.

The links on notices are mis-styled/unstyled (possibly only if clicked, they look like the default browser color for :visited)
The status bar when publishing on lbry.tv is completely black
<p> spacing is still inconsistent, e.g. in popups
Outline styling issues. Seeing it in places where I would not expect it (e.g. the entirety of the nav dropdowns from the header seems to get it sometimes). It also doesn't interact well when adjacent to other items (see tip modal).
buttons on popup player too large (or icons too small)

Closing in favor of #3275


Build errors deploying to Heroku

discord.py library buildpack not loading on heroku

Issues with Procfile, temporarily deleted SRC dir.


Add instructions on how to use with Kubernetes.

cc @Carrotman42
Hey Kevin,
I added some instructions on how to use your proxy with Kubernetes. The main difference is that k8s disallows using the metadata server for auth, so we have to create a secret and mount it as a volume.
I had one question about the proxy container though, do you publish that anywhere other than the gcr.io/google_appengine namespace? We probably shouldn't document that since the App Engine team might change the naming. If not, we can just document how to build your own container.

The instructions are a nice touch, but I use CloudSQL with GKE/Kubernetes, and I don't need to supply credentials when using it from a Google Cloud Node.  When you created your GKE cluster, did you enable CloudSQL scopes/permissions? You won't have to provide GOOGLE_APPLICATION_CREDENTIALS if you enable the CloudSQL scope.  If you already created the cluster, I think you just have to modify the template.

Thanks for the info. It seems like the guidance is unclear on whether or not GKE clusters should be using credentials from the metadata server. This issue has some discussion:
https://github.com/kubernetes/kubernetes/issues/8512
I'll try to get some clarity on this and modify the docs to explain that you only need the credentials if your cluster doesn't have the scope already or if you're running off of GKE.

I personally think it would be a lot easier not having to manage secrets if the scope is enabled. This seems to be Google's preferred way here:
https://cloud.google.com/sql/docs/compute-engine-access#gce-connect-proxy
"Ensure that your Compute Engine instance has the sql-admin scope enabled."
"Your Compute Engine instance can be configured using Docker if needed.
Depending on how you will be connecting to your Compute Engine instance, you might need to enable some non-default scopes on the instance. Enabling scopes must be done at instance creation time, so make sure that you determine what scopes are needed for your instance before you create it. Learn more about scopes."

Here's some more guidance:
https://github.com/kubernetes/kubernetes/issues/8867
It seems like they want to eventually block access to the metadata server from the pod, which makes sense from a design perspective, mainly because credentials from the metadata server apply to the whole node, not just one pod.

Thanks for the post on the issue. I don't think Google wants to eliminate the automation of setting up of secrets through the metadata; it looks like they just want to control it on a per node or per pod basis? In any case, the issue is more than 10 months old. Are you reading this issue as Google wants to get rid of the "it just works" philosophy, or they want to give fine-grained access control over scopes?

Sorry, i had some reading comprehension issues on our original response :)
Here's the comment from 10 months ago that I was reading: ``We would want a way for different pods to have different sets of scopes, without restricting scheduling. So, we could not use the single service account attached to each node, which has all scopes on it. We would need to give tokens to the pod which were generated via some other mechanism. This could be some sort of multi-tenant version of metadata, as yet not designed or implemented. But it might work better to use the kubernetes 'secrets' and 'serviceAccounts' mechanisms.''
My interpretation of kubernetes/kubernetes#8867 from that comment is that they're just changing the way secrets are being shared. I'm sure the Google command utilities will be updated to "it just works" instead of forcing customers to change their setup to manually read credentials. Even if they block metadata, they could still pass the secrets using ENV variables for the pods to access. They would just need to modify GCP tools using the GCloud authorities libraries to auth using secrets being passed the new way?
In any case, the issue is months old. Do we know if there's been any update or momentum to secure the metadata service?

Got it. I am definitely not a Google employee, so it is good to have some internal insight. Just some random startup guy on the street!  I guess the cafeteria discussions in MTV have been pointing this way...
That's very interesting. So I've been provisioning a service account for my docker-compose development setup.  What I've been doing is setting the contents of the JSON credentials file as an ENV variable:
nginx:
  build: nginx
  ports:
    - "80:80"
    - "443:443"
  links:
    - app
    - middleware
  environment:
    - DNSDOCK_NAME=nginx
    - DNSDOCK_IMAGE=nginx
    - APP_HOST=http://app:3000/
    - MIDDLEWARE_HOST=http://middleware:9000/
    - "GOOGLE_SERVICE_ACCOUNT={ \"type\": \"service_account\", \"project_id\": \"XXXXXXXX\", \"private_key_id\": \"XXXXXXXXX\", \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nXXXXXXXXXXXXXXXX=\\n-----END PRIVATE KEY-----\\n\", \"client_email\"<EMAIL_ADDRESS>\"client_id\": \"XXXXXX\", \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\", \"token_uri\": \"https://accounts.google.com/o/oauth2/token\", \"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\", \"client_x509_cert_url\": \"https://www.googleapis.com/robot/v1/metadata/x509/XXXXX%40XXXXXXXX\" }"
    - DOWNLOAD_CERT=1

Then, in my Docker container, I have a bash script as my default CMD:
if [ -n "$GOOGLE_SERVICE_ACCOUNT" ] ; then
	echo "$GOOGLE_SERVICE_ACCOUNT" >/root/gcredentials.json
	gcloud auth activate-service-account --key-file=/root/gcredentials.json
fi

if [ -n "$DOWNLOAD_CERT" ] ; then
	if test -f "/etc/nginx/supersecret.crt"; then rm /etc/nginx/supersecret.crt;fi
	if test -f "/etc/nginx/supersecret.key"; then rm /etc/nginx/supersecret.key;fi

	gsutil cp gs://secrets/certs/supersecret.crt /etc/nginx/
	gsutil cp gs://secrets/certs/supersecret.key /etc/nginx/
fi

Apparently, the Google Application Default Credentials don't really work that well with the GCP command utilities... According to some Stack Overflow issues, GOOGLE_APPLICATION_CREDENTIALS is ignored by tools like gcloud or gsutil, and that I actually have to issue the activate-service-account command. Would you kindly let your colleagues know about that? :laughing:
If I understand you correctly, I should start modifying my GKE controllers to somehow pass service accounts into my containers, using the Kubernetes Secrets API or the ENV variable? Somehow I like using the ENV variable with passing secrets because it will be easier for me to test deployments locally (since I don't have a Kubernetes running on my laptop; just using docker-compose).  There doesn't seem to be any upside with security by using the Kubernetes API, since the pod can freely access the secrets volume?
Anyway, thanks for your thoughts.  Just some musings from a GKE customer.

Changed the docs to use the b.gcr.io/cloudsql-docker/gce-proxy image name.


[1.12.2] Futurepack Crash, Bumping from their Issue Tracker.

Mod Version:
DynamicSurroundings-1.12.2-<IP_ADDRESS>.jar
Futurepack-1.12.2-26.4.89.jar
Forge Version:
<IP_ADDRESS>60
Link to crash log:
pastebin
Description:
Crashes on load, apparently.
Modpack doesn't appear to be something available online.
I'm explicitly bumping this issue to Dynamic Surroundings since Futurepack announced their 1.12.2 version won't be receiving more updates. (I also want to see about adding Futurepack to my own modpack, however, I don't want to remove Dynamic Surroundings to accomplish that.)

Original Issue - https://github.com/mcenderdragon/Futurepack-API/issues/893#issue-1257669052


How to access status in child elements?

I would like to:

hide the delete button located in the header when the wrapper is collapsed (circled in blue)
show it when the wrapper is open

Below is my collapse group.
            v-collapse-group(:only-one-active="true")
                v-collapse-wrapper.collapsed(v-for="(item, id, index) in form.items")
                    div.card
                        div.card-header
                            h5(v-collapse-toggle="")
                                small
                                    span(class="fa fa-chevron-up fa-fw collapse-indicator")
                                    .
                                        {{ getCardTitle(item) }}
                                    a(href="#"
                                      class="btn btn-sm btn-danger float-right"
                                      @click.prevent="removeItem(item)")
                                        | Delete

How can I do that?

See #27 for a clean and non-breaking solution

Wondering is there's an update on this anywhere, or an example for providing an active class

Why hasn't this been merged in the main repo yet?
It's so sad to see that such a basic functionality is still missing.


Renamed 'Text Analytics' connector to 'Language Service'

Following up "Text Analytics" service rename and renaming connector display name (and some descriptions) accordingly.

Dear partner,
We apologize for the delay you might be experiencing while we are working on a high volume of connector requests. Rest assured that we are doing everything we can to address this volume. We are taking measures like improving our processes and hiring additional team members to guarantee resolving your connector requests in a timely manner.
Please let us know if you have any questions in the meantime.


Update GeoLite2-Country Databse

Updated:
2022-12-09

I am wondering why it is 75% smaller

@jaapmarcus - Is it confirmed to be working? I also wonder why the size is that much smaller.


merge-homebrew: Add --tap=user/repo option

brew doctor failed on TravisCI.
1.00s==> brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
  /opt/pyenv/shims/python3.6m-config
  /opt/pyenv/shims/python3-config
  /opt/pyenv/shims/python2-config
  /opt/pyenv/shims/python3.6-config
  /opt/pyenv/shims/python-config
  /opt/pyenv/shims/python2.7-config
  /home/travis/.phpenv/shims/php-config
  /usr/local/clang-5.0.0/bin/llvm-config
==> FAILED

https://travis-ci.org/Linuxbrew/homebrew-developer/jobs/437251676#L522

Sigh. Now it's macOS turn to be cranky.
==> brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: An outdated version (2.13.5) of Git was detected in your PATH.
Git 2.14.3 or newer is required for Homebrew.
Please upgrade:
  brew install git
==> FAILED

https://travis-ci.org/Linuxbrew/homebrew-developer/jobs/437286400#L1631


posting last written message with up arrow and enter writes something weird behind it

someone im in the same stream and discord with mentioned when hes on his chatty that when i write and post something the normal way, its ok.
but when i press the up arrow and enter to repeat that post, like "!join" for raffles, you can see something behind that in Chatty. i tested it too.
and when i copy everything out of Chatterino´s and twitch´s chat, i have a space then something, and another space behind it. you cant see the "something" but when you press the right arrow button, you see that it has a different spacing compared to a normal space.
chatterino: !join
right out of the twitch chat: !join
^this is what i get. idk if i can replicate it, for now it works, but lets see if it still works when i submit the issue ^^
you would have to copy and paste the whole thing from "!" to way after the "n" in a .txt or somewhere.
and: its only in some streams it seems.
and it was in one, and then after some time and a restart of chatterino, it was gone from it... but still in the others.
attaching a file of the chatty-log and -chat screens from the other person and me:

That's the built-in spam protection built into chatterino. It adds a braille character so users are able to achieve this without being stopped by twitch's duplicate message system.

For reference, it has been suggested to make the character configurable (or even toggleable altogether) in https://github.com/Chatterino/chatterino2/issues/1572.

For reference, it has been suggested to make the character configurable (or even toggleable altogether) in #1572.

so, is the development of Chatterino dead? because that was posted on 26 Feb, and is still open. or is the option already in, and they just didnt close the issue?

so, is the development of Chatterino dead? because that was posted on 26 Feb, and its still open.

At the time of writing, there are 341 open issues. This a volunteer project with maybe around 7 active contributors. Non-breaking issues get fixed when people feel like working on it. If you want this fixed ASAP, you can either

code it yourself, or
ask someone to do it for you.

or is the option already in, and they just didnt close the issue?

No, an option like this does not exist.

so, is the development of Chatterino dead? because that was posted on 26 Feb, and its still open.

At the time of writing, there are 341 open issues. This is a volunteer project with maybe around 7 active contributors. Non-breaking issues get fixed when people feel like working on it. If you want this fixed ASAP, you can either

code it yourself, or
ask someone to do it for you.

or is the option already in, and they just didnt close the issue?

No, an option like this does not exist.

ok, thank you for the answer!
who do i ask then? because i had way too many discussions with streamers and viewers about this now, and its getting on my nerves ;X
many of them use Chatty, and they can see that stuff, and then the streamers and/or their mods, ask themself what that sh... stuff is...
i now have an explanation for that, but still, a toggle would be nice! because i dont spam oO

who do i ask then?

Well, your best bet would be a software developer you know personally. Or you might be lucky and someone sees this thread and goes ahead to fix it.

and its getting on my nerves

I can understand the frustration but it is unfortunately a common problem among open-source projects with a large user base but few active contributors.

yeah, understandable, not hating against it, its just frustrating ^^
no, i dont know any, so i have to wait shrugs
as long as i can resolve it, and not get permabaned, its okay~ish.

As this is intended, this issue can probably be closed.

As this is intended, this issue can probably be closed.

it isnt. idk why they (you) think a spam friendly option that writes some random stuff behind yours without toggle is a good thing!
as long as it isnt a toggle, its an issue.
please read https://github.com/Chatterino/chatterino2/issues/1951#issuecomment-690367392 , then you can see that it is one, thank you! (im talking about bans, perma bans, in this comment btw. i know, i just lightly touched it, but i thought that this would be enough. not all streamers and mods are super into discussing external chat programs when they have many viewers, or arent as tech savy. didnt happen, but why should we tempt fate?)
i can understand the "we have not enough ppl, and too many problems" thing, but that does not change the fact that this is a problem, and should not be intended!
i have no problem waiting for an update that fixes said problem and than closing this.
so long, have a nice day!

This behaviour is intended. That character is U+E0000. It is invisible on most fonts, but its not a whitespace character, thus making it really useful for sending the same message twice. Also of note: bots use it to send someone's username but not ping them, by inserting it in the middle. If you want to change it or disable it you'd need to mess with TwitchIrcServer.cpp.

Also, as a kind of workaround (which I know is not perfect but it might save you some discussions):
When you press "Arrow Up" to bring up the last message, you can just backspace everything up to the last letter of your message. This should get rid of the invisible character.

As this is intended, this issue can probably be closed.

it isnt. idk why they (you) think a spam friendly option that writes some random stuff behind yours without toggle is a good thing!
as long as it isnt a toggle, its an issue.
please read #1951 (comment) , then you can see that it is one, thank you! (im talking about bans, perma bans, in this comment btw. i know, i just lightly touched it, but i thought that this would be enough. not all streamers and mods are super into discussing external chat programs when they have many viewers, or arent as tech savy. didnt happen, but why should we tempt fate?)
i can understand the "we have not enough ppl, and too many problems" thing, but that does not change the fact that this is a problem, and should not be intended!
i have no problem waiting for an update that fixes said problem and than closing this.
so long, have a nice day!

This feature is entirely intentional. So therefore the issue isn't an issue or bug at all. On the grounds that you want the option to disable, then it'd be a duplicate of https://github.com/Chatterino/chatterino2/issues/1572
If you want to implement it yourself, go right ahead. Nobody is being paid to develop chatterino, people implement things on the grounds that they want to implement it, not just because other people asked for it.
So once again: this issue can probably be closed.

Another thing you can do in the meanwhile is to put something like a dot or other small character behind your messages before sending them.

I commented on #1572 now, including that it should be possible to disable the alternate-message-invisible-character system.
With that, what you're asking is a duplicate of #1572 and discussion/other comments should be made in that issue instead. Thank you

Your concern is valid and I will add an option for the spam-protection later today. However, please for the future take note of a couple things concerning etiquette.

Be aware of how other people will perceive your messages. Some of the messages may come across as entitled and not respectful the project.
Especially implying that a project is "dead" is disrespectful. Even more so if you could figure out that it is not "dead" by checking the repository.
Start your sentences with a capital letter and don't start a new line after each sentence. This is not a personal chat but more akin to email discussions.


version 2.3.11 doesn't working with doctrine/common 2.4.2

Hi we are facing issue when using version 2.3.11 with doctrine/common 2.4.2.
When calling getNodesHierarchyQuery() of NestedTreeRepository It is not able to find QueryBuilder object on line. 198 in NestedTreeRepository $qb = $this->getQueryBuilder(); $qb->select('node')
It is throwing exception that calling of select() function on non-object. This should be fixed as soon as possible.

No one from community?

Works fine here. Could you maybe give a little bit more detail and/or some code examples?

Hi audriussagadinas, As I mentioned in my original comment,
When calling getNodesHierarchyQuery() of NestedTreeRepository It is not able to find QueryBuilder object on line. 198 in NestedTreeRepository $qb = $this->getQueryBuilder(); $qb->select('node')
It is throwing exception that calling of select() function on non-object. This should be fixed as soon as possible.

Tried to reproduce your issue again. Very rough "standalone" attempt can be found here.
composer update
vendor/bin/doctrine orm:schema-tool:update --force
php works.php

No issues.
Also tried to reproduce it in Symfony2 using https://github.com/stof/StofDoctrineExtensionsBundle. No issues either.

Also note the combination of library: version 2.3.11 with doctrine/common 2.4.2.

What combination of libraries works for You?
What about unit tests? Does any of them fail?

Hi audriussagadinas
Following combination is working for me.
    "php": ">=5.3.3",
    "symfony/symfony": "2.6.*",
    "doctrine/orm": "~2.2,>=2.2.3,<2.5",
    "doctrine/dbal": "<2.5",
    "doctrine/doctrine-bundle": "~1.2",
    "twig/extensions": "~1.0",
    "symfony/assetic-bundle": "~2.3",
    "symfony/swiftmailer-bundle": "~2.3",
    "symfony/monolog-bundle": "~2.4",
    "sensio/distribution-bundle": "~3.0,>=3.0.12",
    "sensio/framework-extra-bundle": "~3.0,>=3.0.2",
    "incenteev/composer-parameter-handler": "~2.0",
    "gedmo/doctrine-extensions": "2.3.9",

Whenever I try gedmo/doctrine-extensions 2.3.11 it fails.

$this->getQueryBuilder is a method of AbstractTreeRepository if you do not extend the nested tree repository, there won't be such method..


Add helpful methods to DataRequestResponse class

It is expected that the client will need to take a DataRequestResponse that is returned by the palisade service and create multiple of them where the Resource -> Connection details map contains only a subset of the Resources. By doing that you enable the client to define how to parallelise the requests for data across multiple processes/mappers/machines.

On hold until issue gh-48 is complete

As each data service will now only accept a single resource request at a time, there is no need to have a function that partitions the resources into a sensible split.


Research existing starter kits

I would like to do some basic research about other existing web starter kits:

Which ones are popular and why are they popular?
Are many starter kits aimed at a niche market or more generic?
How many rely on other web frameworks vs framework agnostic?

Some initial research into existing starter kits / boilerplates:

Kit
Technologies
Goals
Notes

Hackathon Starter
Node.js, Oauth, MongoDB, SMTP, reCAPTCHA, Express, Sass, testing
Hackathons, Web Apps,

React Starter Kit
React, SSR, Emotion.js, Linting, VSCode, GraphQL, Vite, Firestore, testing
Web Apps

Web Starter Kit
Sass, Service Worker, Gulp, performance testing
Performance, websites
No templating at all feels odd

React Redux Universal Hot Example
React, Redux, Node.js, Express, Webpack, testing

Not updated in a long time

Angular Webpack Starter
Angular, router, forms, testing, webpack, typescript
Web apps

React Slingshot
React, Redux, Sass, testing, linting
Web apps
Not updated in a long time

Vitesse
Vue, Vite, State management, Router, i18n, testing
Web apps
Recommends to use Nuxt now

NextJS Starter Boilerplate
Next.js, Typescript, tailwind, DB, ORM, testing, Auth, i18n
Web apps, developer experience
Really includes absolutely everything

Tailwind NextJS Starter Blog
Next.js, tailwind, Contentlayer
Blog, personal site

RESTful API Node Server Boilerplate
Node.js, Express, Mongoose, testing, linting
Rest API backend

Next.js Notion Starter Kit
Next.js, notion, analytics,
Blogging, personal sites

Tailwind Starter Kit
Tailwind, html / react / angular / vue
various copy and paste starters
Various example layouts built with Tailwind and various frameworks

Wave
PHP, Laravel, Auth, users, payment, Tailwind
SaaS

HTML5 Boilerplate
Gulp, testing, html
Closer to raw html, css & js setup
The OG

React Boilerplate
React, Redux, Styled components, testing,
Offline, developer experience
No updates in a long time

ASP.NET Boilerplate
ASP.NET, user management,
web apps,

Cookiecutter Django
django, python, bootstrap, mail, auth, DB

Vue Enterprise Boilerplate
Vue, typescript, testing,
web apps, enterprise

Next Enterprise
Next.js, tailwind, testing, storybook
web apps, enterprise

Open SaaS
React, Node.js, Wasp, astro, stripe, analytics, mail, tailwind, auth
SaaS, web apps


Add configuration example in README.md

This PR adds some configuration examples in the README.md.
The second chapter is how I use it as I'm using a non-standard cmake.buildDirectory location (not even in the workspace location) and makes vscode-clangd work out of the box on CMake projects without any per-project configuration, which is really great :).

The second chapter is how I use it as I'm using a non-standard cmake.buildDirectory location (not even in the workspace location)

I think consider the directory with compile_commands.json by cmake.buildDirectory, cmake.copyCompileCommands, --compile-commands-dir and clangd configurations will be better to disable usage compile_commands.json for this extension.
Also, about --query-driver - in most cases, this flag required when clangd cannot correct work with compiler from code model. I think we can use setting to automatically pass toolchains to clangd args/config, like --resource-dir

I think consider the directory with compile_commands.json by cmake.buildDirectory, cmake.copyCompileCommands, --compile-commands-dir and clangd configurations will be better to disable usage compile_commands.json for this extension.

I think I prefer only using LSP for now, it avoids having to add compile_commands.json in the .gitignore of every projects and it works sufficiently good for me.
But thanks, I might try that later if I encounter issues.

Also, about --query-driver - in most cases, this flag required when clangd cannot correct work with compiler from code model. I think we can use setting to automatically pass toolchains to clangd args/config, like --resource-dir

I don't think that's something vscode-clangd-cmake should hande, the option mostly exists for security reason (to avoid executing arbitrary executable in case of a malicious compile_commands.json).
But the way I use is mostly equivalent to any compiler for convenience. It is at least needed with the cross compiler I use (even if it is gcc based).
After discussion, maybe a change to the README.md is not really needed as these are mostly unrelated to this vscode extension?

After discussion, maybe a change to the README.md is not really needed as these are mostly unrelated to this vscode extension?

Yes, these settings recommendations are mostly about clangd extension


feat: add custom llvm build scripts without term info and zlib to reduce kclvm release size.

…lvm.

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

feat: add custom llvm build scripts without term info and zlib to reduce kclvm release size.

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[x] Other

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.988%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2300

Relevant Lines:
2614

💛  - Coveralls


Rewriters to move to Ada202x code

See https://blog.adacore.com/ada-202x-support-in-gnat
e.g. replace
for E of Some_Array loop
   if E /= 0 then
      Put_Line (E'Image);
   end if;
end loop;

by
for E of Some_Array when E /= 0 loop
   Put_Line (E'Image);
end loop;

Replace
for I in 1..N loop Append (V, I*2); end loop;

by
V = [for I in 1..N => I * 2];

Use reduce
Replace
declare
   sum : Integer := $S_Initial;
begin
   for E of $S_Container loop
        sum := sum + $S_Add;
   end loop;
   $M_Stmts;
end;

by
declare
   sum : Integer := [for E of $S_Container => $S_Add].Reduce ("+", $S_Initial);
begin
   $M_Stmts;
end;

And we even might check whether we can add the constant keyword to the declaration of sum


langium extract-types acts unexpectedly for multi-languages

When using langium extract-types (introduced in #754) on a grammar that is spread across different files, the type extraction does not work correctly. In fact, if no explicit types have been declared for the specified grammar file, only the lastly imported grammar file is taken into account by the langium-cli tool.
Note: I know the tool is not published/documented yet, and I have no need for a fix of the tool, but I wanted to share my findings with you anyway
Probably, the described behavior is caused by this line: https://github.com/langium/langium/blob/main/packages/langium-cli/src/generate.ts#L305
Langium version: v1.0.1
Package name: langium-cli
Steps To Reproduce

Create the multi-language depicted below
Run langium extract-types A.langium
Swap A's imports to B and C
Run langium extract-types A.langium again

Code
A.langium
grammar A

import "B"
import "C"

entry A: b=B c=C;

B.langium
import "terminals"

B: valB=ID;

C.langium
import "terminals"

C: valC=ID;

terminals.langium
terminal ID: /[_a-zA-Z][\w_]*/;

The current behavior
First generation
interface C {
    valC: string
}

Second generation (with swapped imports in A)
interface B {
    valB: string
}

The expected behavior
Either a correct typing file such as
interface A {
    b: B
    c: C
}

interface B {
    valB: string
}

interface C {
    valC: string
}

or one typing file for each grammar file (maybe configurable)
or just an error "multi-languages are not supported by extract-types"
(Interestingly, the type generation seems to work just fine for multi-languages with types that have already been declared)

Fixed on master


Utilize vegacapsule checkpoints into FE tests

The issue is about investigating if we can utilize vegacapsule checkpoints.

During the research we found out that checkpoints are not suitable for FE Token tests which we wanted improve at the first place. We will use functions that are available, as we were able to make them faster.


Email field on homepage is too small in column layout

Just to clarify, is this the issue that there's not enough space for the email placeholder text on the homepage when viewing in a narrow viewport?

Yep


Prometheus changes

Update cookbook with latest changes

This is blocked until the server changes are merged and released...

Have updated the docs - PTAL @eco-minio @nitisht

Server change has been merged. PTAL @nitisht @eco-minio

Addressed the comments @eco-minio


testcases.Console.Control[C|Z]: Increase timeout

Due to an OpenBMC Bug we're intermittently hitting a timeout on
ControlC/ControlZ Console tests. Work around this by doubling the
timeout. On my tests, each iteration takes between 60-140 seconds, so
the 5 iterations are taking a good 10 minutes to complete, also
generating a lot of debug logs.
But before the OpenBMC bug is fixes, it's better than failing and
re-trying the test.
Once this is fixed, we should put this back to a sane default (say 10
seconds?)
Signed-off-by: Klaus Heinrich Kiwi<EMAIL_ADDRESS>

retest this please


User-submitted data isn't being sanitized, leading to stored XSS

Hi,
Loving this shortnener and it's really helped with some projects I'm working on for work. When setting this up in my env, I noted that the application isn't escaping html special characters nor stripping tags within the shorten.php file. This lead to me being able carry our a stored XSS on my own shortener.
Test case:
By adding the following to a new url to shorten, arbitrary JavaScript will be executed when viewing created links: https://google.com"><script>alert(0)</script>
Affected Code (lines 112-114):
$url = $_POST['url'];
$comment = (!empty($_POST['comment'])) ? $_POST['comment'] : NULL;
$custom = (!empty($_POST['custom'])) ? $_POST['custom'] : NULL;

I appended htmlspecialchars and strip_tags to the variables being accepted, which let to arbitrary JavaScript no longer executing. I'm sure there is probably a better way to do this, however, it is a quick fix.
Fixed Code:
$url = htmlspecialchars(strip_tags($_POST['url']));
$comment = (!empty($_POST['comment'])) ? htmlspecialchars(strip_tags($_POST['comment'])) : NULL;
$custom = (!empty($_POST['custom'])) ? htmlspecialchars(strip_tags($_POST['custom'])) : NULL;

I am happy to fork and submit a PR if that's easier.
Thanks,
0x0Banana

Hi. Thank for the issue. It's really usefull
I'm not actually at home. I can merge a PR but not pushing code for thz next week.


pre tags with different languages

Is there something like this?

class Voila {
public:
  static const string VOILA = "Voila";
}

class Voila {
public:
  static const string VOILA = "Voila";
}

class Voila {
public:
  static const string VOILA = "Voila";
}

where different language highlighting is applied to different pre blocks?

nvm it's in the readme

9


[BUG] Roland-reported WDF_VIOLATION crash with MIDI 2.0 driver and Roland UM-One

Applies To
MIDI 2.0 USB Driver
Describe the bug
Roland reported green screen with UM-One MK2 when set to class-compliant mode.
Crash dumps sent separately in email.

I will be purchasing a UM-One to test with.

@AmeNote-Michael
You can reproduce the issue with the attached firmware on ProtoZOA.
UUT_Roland_Eval.zip

@AmenNote-Michael @m-komo
This may be a random bugcheck, or one related to Insider version. I just plugged in a UM-ONE mk2, set to tablet mode, assigned the attestation-signed driver, and no problem. I am on Windows 11 Insider Preview 26020.1000

@Psychlist1972 @AmeNote-Michael
The issue seems to be related to the Insider version.
I was using Windows 11 Insider Build 26016.1000 and faced the issue.
After updating the OS to Insider Build 26020.1000, now it works fine.
I will double check with both OS versions and update you all with a result.

@Psychlist1972 @AmeNote-Michael
I set up the new Insider Build 26020.1000 and verified.
Unfortunately, the issue could be reproduced several times.
The issue occurred when or after the device enters into the suspend state.
I would like to update steps to reproduce as below:

Open the Device Manager and show hidden devices.
If you can find "UM-ONE" devices under "Sound, video and game controllers", uninstall them.
Set the UM-ONE to class-compliant mode and attach it to the PC.
Open the Device Manager and double click "UM-ONE" under "Sound, video and game controllers".
Make sure the device is running with the in-box USB Audio driver (USBAUDIO.sys).
Update driver with the new USB MIDI 2.0 driver (USBMidi2.sys).
Wait for a while. Then the device entered into the suspend state.

The issue occurs just after the device enters into the suspend state.
If it does not happen in few minutes, please detach the device from the PC and repeat above steps.
I will share crash dumps in separate email.
Thank you.

@AmeNote-Michael
I wonder if this is related to the other power management event issues you were seeing. Worth discussing with Egidio if you're not already sure of the cause.
https://learn.microsoft.com/en-us/windows-hardware/drivers/wdf/pnp-and-power-management-callback-sequences

Note on my own primary PC, I have USB suspend and related power management turned off, so that may explain why the issue didn't crop up here.

Note on my own primary PC, I have USB suspend and related power management turned off, so that may explain why the issue didn't crop up here.

Pete, excellent point. That is probably why I am not seeing issue in my testing - because of my debugging sessions, I had turned them off - forgot to reenable for this test. Will try soon. Thanks.

I just approved Michael's PR. This should be fixed in the next attestation-signed driver.

@Psychlist1972 @AmeNote-Michael
The issue persists on DP5 service and driver.
I re-installed Windows 11 24H2 (26063.1) and then installed DP5 MIDI 2.0 service and driver.
I will share kernel dump separately. It indicates same issue I faced on DP4.

Arg1:<PHONE_NUMBER>00000d, A power IRP was received for the device but the IRP was not
requested by the device (the power policy owner). Possibly there
are multiple power policy owners. Only one driver in the stack can
be the power policy owner. A KMDF driver can change power policy
ownership by calling the DDI WdfDeviceInitSetPowerPolicyOwnership.

Tested on my Surface

Thanks @Psychlist1972 (Pete) - little bit of panic when I first read this in AM cause I really was at a lost at what it could have been.
Thanks for looking into this and submitting probable correction even though you are travelling this week. Much appreciated.

Plugged into my main dev PC. I have a female-female DIN adapter so it is a physical loopback.

Thanks @Psychlist1972 (Pete) - little bit of panic when I first read this in AM cause I really was at a lost at what it could have been.
Thanks for looking into this and submitting probable correction even though you are travelling this week. Much appreciated.

No worries. My mistake. I head to the airport shortly, so hoping this was my last build artifact problem. Not sure why I picked up the wrong version when building the release. :/
Luckily, when this ships in box, I'm not doing those builds :D

@AmeNote-Michael note: I did just get the WDF_VIOLATION when I plugged in a second MIDI 1.0 device and opened it for monitoring. The bugcheck happened as soon as I connected to it for input. In this case, it was an iConnectivity mio 1-in, 1-out interface cable. The UM-One was still connected so it's possible it was unrelated to the second device, but that's impossible for me to know here.
It's the same power management event issue. I'm running the correct driver version here.
WDF_VIOLATION (10d)
The Kernel-Mode Driver Framework was notified that Windows detected an error
in a framework-based driver. In general, the dump file will yield additional
information about the driver that caused this BugCheck.
Arguments:
Arg1:<PHONE_NUMBER>00000d, A power IRP was received for the device but the IRP was not
	requested by the device (the power policy owner). Possibly there
	are multiple power policy owners. Only one driver in the stack can
	be the power policy owner. A KMDF driver can change power policy
	ownership by calling the DDI WdfDeviceInitSetPowerPolicyOwnership.
Arg2: ffffd58e3d054330, Device object pointer.
Arg3: ffffd58e7fea4010, Power IRP.
Arg4: ffffd58e184cedc0, Reserved.

BUGCHECK_CODE:  10d
BUGCHECK_P1: d
BUGCHECK_P2: ffffd58e3d054330
BUGCHECK_P3: ffffd58e7fea4010
BUGCHECK_P4: ffffd58e184cedc0
FILE_IN_CAB:  MIO Open MEMORY.DMP
DUMP_FILE_ATTRIBUTES: 0x1800

I tried !devobj output to see if we can figure out which device, but this is all it reported:
0: kd> !devobj ffffd58e3d054330 f
Device object (ffffd58e3d054330) is for:
 00000543 \Driver\USBMidi2 DriverObject ffffd58e184cfe10
Current Irp 00000000 RefCount 0 Type 0000001d Flags 00002044
SecurityDescriptor ffffaf0d2effa6e0 DevExt ffffd58e2f5dbb30 DevObjExt ffffd58e3d0544a8
ExtensionFlags<PHONE_NUMBER>)
Characteristics (0x00000180)  FILE_AUTOGENERATED_DEVICE_NAME, FILE_DEVICE_SECURE_OPEN
AttachedDevice (Upper) ffffd58e8f76e6a0 \Driver\ksthunk
AttachedTo (Lower) ffffd58e743d22f0 \Driver\usbccgp
Device queue is not busy.

@Psychlist1972 is there a chance you loaded a cached version of old driver instead of new one for the mio?
You know, you would think I would have easy access to a mio - but alas I have it packed away somewhere :)

@Psychlist1972 is there a chance you loaded a cached version of old driver instead of new one for the mio?
You know, you would think I would have easy access to a mio - but alas I have it packed away somewhere :)

Seems unlikely, but anything is possible. I have not used the mio with the ACX driver on this PC at all, and I haven't had it plugged in here since before I moved to canary builds.

@AmeNote-Michael just tested again on my Surface
Plugged in mio, assigned driver, and sent/received messages. No problem. I left it open and monitoring.
Plugged in UM-One and assigned driver.
A few seconds later, I got the WDF_VIOLATION green screen.
It's possible this is something unique to the UM-One, or with having more than one MIDI 1.0 device connected. Unfortunately, I have a couple meetings now and then I head to airport, so I can't test any more this week.

@Psychlist1972 might have more to do with having two MIDI 1.0 devices. Thanks for test, I will try to reproduce.

@Psychlist1972 @AmeNote-Michael
The issue could be reproduced with the updated driver several times.
In all cases, crash dumps indicate the power IRP related error as below:
WDF_VIOLATION (10d)
The Kernel-Mode Driver Framework was notified that Windows detected an error
in a framework-based driver. In general, the dump file will yield additional
information about the driver that caused this BugCheck.
Arguments:
Arg1:<PHONE_NUMBER>00000d, A power IRP was received for the device but the IRP was not
	requested by the device (the power policy owner). Possibly there
	are multiple power policy owners. Only one driver in the stack can
	be the power policy owner. A KMDF driver can change power policy
	ownership by calling the DDI WdfDeviceInitSetPowerPolicyOwnership.
Arg2: ffff958a786bd810, Device object pointer.
Arg3: ffff958a780528a0, Power IRP.
Arg4: ffff958a74ecbdd0, Reserved.

The issue occurs not only with the Roland UM-ONE (USB MIDI 1.0 device), but also with the ProtoZOA (USB MIDI 2.0 device). So, the condition seems not be limited to "USB MIDI 1.0 device".
And in my case, issue occurred just after assigning the new driver to the device.
I'm not sure if it is the requisite condition.
But if you cannot reproduce the issue, please follow steps below:

Detach the target device and restart Windows.
Open the Device Manager and show hidden devices.
If you can see the target device under "Sound, video and game controllers", uninstall it with the "Attempt to remove the driver for this device" check-box on.
Attach the target device to the PC.
Open the Device Manager and double click the target device under "Sound, video and game controllers".
Make sure the device is running with the in-box USB Audio driver (USBAUDIO.sys).
Update driver with the latest USB MIDI 2.0 driver (USBMidi2.sys).
Wait for a while.
If the issue does not happen in few minutes, please detach the device from the PC and repeat all the above steps.

I tried the title issue with my PC as well.
Windows 11 Insider Preview 24H2 26063.1
MIDI Services Developer Preview 5 1.0.24066.2126
USBMIDI2_<IP_ADDRESS>
The result is the same, which may result in a green screen.
I tried it with the UM-ONE and the iConectiviry mio4.
In both cases, if I update the standard MIDI 1.0 driver to the MIDI 2.0 driver and wait for about 2 minutes from 30 seconds, I may get a green screen.
Enclose the memory dump files.
memorydump_um_one.txt
memorydump_mio4.txt

Issue related to invalid call during D0Exit routing. Resolved by removing D0Entry and D0Exit from driver as no longer needed in new architecture. Resolved in pull request #301

Re-opening until we ship to customers.

It was discovered that existing MIDI driver, USBAUDIO.sys, was not properly removing event registrations thus requiring a force unload to use new driver. To do this, when you update driver from USBAUDIO.sys to new USBMIDI2.sys driver, immediately after update unplug the USB MIDI 1.0 device from USB before green screen occurs (up to 30 second window). Then about 10 seconds after plug back in the USB MIDI 1.0 device. Verify through device manager and device details that the new USBMIDI2.sys driver is loaded for the device. It should operate fine from this point on.
You only have to do the unplug and replug when you update to new driver from original class driver. After avoiding the green screen, should be no issue to use device with new driver moving forward, even across multiple reboots and reloads.

This requires an updated USB MIDI 1.0 Class driver to go out via Windows servicing.

The fix is in current Insider builds.


test-cases: fix resource URLs and CSVW

CSVW url should be an actual IRI, not Literal
Relative URLs are removed for CSVW
Resources should properly resolve now as they have each their own unique URL per test-case

https://kg-construct.github.io/rml-resources/resources/rml-io/Friends.json is not available (on resources)
https://github.com/kg-construct/rml-io/blob/testcases-fix-73/test-cases/RMLSTC0004a/mapping.ttl The mapping refers to the namespace of DCAT and not that of CSVW. csvw:url has to be a string that is interpreted as a URI.


Fix: Create variant for source script directories to use for intellij/vscode integration

This avoid race condition when CreateTsConfig task would try to resolve dependencies and trigger NpmArtifactTransfomer that would end up reading corrupted file due to lack of task dependencies

👍


[TEST] Investigate the newly failed cypress test result on v1.4.0-head

What's the test to develop? Please describe
Coming from the recently cypress test result on latest v1.4.0-head Harvester on Master branch.

According to the harvester-cypress-test job #110 and checking the related test result:

We found 46 failed test cases

While compare with the test jobs #105 which was testing on the v1.3.2 release

We can find there is only 4 failed test in the test result

Thus we can assume maybe some changes introduced made this new failure happens
We need to check and investigate all the failed cypress test on the v1.4.0-head and trying to fix them.

New introduced Failed cypress test cases
UI url

Verify the Harvester UI URL (all)

Generate Support Bundle

Is required to input Description
should download successfully

Virtual Machine

Delete VM with exported image
Create a new VM and add Enable USB tablet option
Create a new VM and add Install guest agent option
Verify Booting in EFI mode checkbox
Create multiple instances of the vm with raw image
Create a VM to add user data
Create a new VM with Network Data from the form
Stop VM Negative
VM scheduling on Specific node
Create a vm with all the default values
Check VM creation without required-fields
Create VM with existing volume
Create VM use Halted (Run Strategy)
Delete VM with exported image

Image

Update image labels after deleting source VM
Create a ISO image via upload
Image naming with inline CSS
Create image from Volume

Network

Check create/delete network
Check network with DHCP
Check network with Manual Mode
Create Vlan1
Create Vlan2

VM Backup

Take a vm backup from vm
Restore new VM from vm backup
Restore New VM in another namespace from vm backup
Restore Existing VM from vm backup

VM Snapshot

Take a vm snapshot from vm
Restore New VM from vm snapshot
Restore Existing VM from vm snapshot

Storage Class

Create a storage class with change default values

VM template

template with EFI
Create a vm template with the required values
Delete VM template default version
Create vm using a template of non-default version

Settings

Update Overcommit configuration

Volume

Create volume root disk VM Image Form
Delete volume that was attached to VM but now is not
Support Volume Hot Unplug
Edit volume increase size via form

Update the latest v1.4.0-rc1 cypress test result on Jenkins Harvester cypress test job # 114
Based on  the fix on pull request https://github.com/TachunLin/harvester-tests/tree/cypress-140-string-fix
According to the corresponding cypress test report
Currently reduce the failed test from 46 to 9

List out the failed cypress test to further investigation:
UI url

Verify the Harvester UI URL (all)

Virtual Machine

VM scheduling on Specific node
Test Namespace filter

VM Snapshot

Take a vm snapshot from vm
Restore New VM from vm snapshot
Restore Existing VM from vm snapshot

Volume

Edit volume increase size via form

Settings

Update Overcommit configuration

Images

Upload several images and add related label, add filter according to test plan 1

Update latest the cypress test result on v1.4.0-rc5
Since the cypress_vm host machine have been migrated to the new lab and need to solve the network issues.
The cypress test was triggered from local to the remote kvm machines similar to the cypress_vm host.
According to the latest test result, we have 55 PASS, 22 FAIL and 4 Pending.

After the first trial to investigate and fix failure tests.
I have fixed the following test suites:

vmBackup.spec.ts

vmSnapshot.spec.ts

volumeSnapshot.spec.ts

rancher_integration.spec.ts

Now there should remain 9 failed test. I would continue to investigate and fix them in the next check.

After investigate and fix the cypress test script code.
I re-run those failed test suites and can PASS the following test scripts

hosts.spec.ts

Fix Check edit hosts, it's a flaky case of environment

image.spec.ts

Fix  Image filtering by labels, it's cypress code fix

virtual-machine.spec.ts

Fix `VM RunStategy Validation (Halted),  it's cypress code fix
Fix All Namespace filtering in VM list  it's cypress code fix

volumes.spec.ts

Fix Support Volume Hot Unplug
Fix Edit volume increase size via form

After the entire investigation.
Currently we only have 2 tests FAIL, 75 PASS and 4 Pending
The two remaining failed test cases are also exists on v1.4.0-rc1 run and before. They are known failed test

Generate Support Bundle - should download successfully

I tried manual test can download support bundle well, it should caused by cypress test code itseft

VM scheduling on specific node 2

It should be a flaky case coming from the test environment


Add info method to CPI

Hi - we noticed the CPI doesn't support the info endpoint that director is starting to use. Currently, the only use case of info right now is so director can ask which types of stemcells a CPI supports. When operators are utilizing multi-cpi support, we only want to give uploaded stemcells to CPIs which support them. When someone uploads a stemcell, director executes info and checks what formats are returned in the stemcell_formats value and checks if the stemcell tarball listed any of the same formats. When stemcell_formats is missing from CPI info or stemcell tarball, the create_stemcell call will be executed regardless (which is why it still continues to work when a single CPI is used).
The stemcell format convention is {iaas}-{image-format}. For example, to support your light stemcell, you probably want to be returning softlayer-light. And to support the original heavy stemcell, it might be softlayer-rawdisk (let us know if you need advice).
This may actually involve changes to how you build stemcells as well. It looks like your light stemcell tarballs don't include a stemcell_formats yet. Here's an example of what it might need to be updated with...
name: bosh-softlayer-xen-ubuntu-trusty-go_agent
version: 3445.7.1
bosh_protocol: 1
sha1: MTczNTIxNzo0ZWRjNDk2ZC0wY2MzLTQ5NWYtYjA4ZC1jMzgzMDQxMWI2OTjaOaPuXmtLDTJVv++VYBiQr9gHCQ==
operating_system: ubuntu-trusty
cloud_properties:
  ...
stemcell_formats:
- softlayer-light

Since your CPI is golang-based, you might want to take a look at this change to add support to the Google CPI. I think the changes should be fairly similar.
If you have any questions, feel free to ping us in #bosh or ask questions here and we'll be happy to help!
/cc @cppforlife

@dpb587-pivotal Thanks for the detailed info, we will address it in CPI ng and new stemcell.
/cc @EdwardStudy

it's implemented in CPI NG now.


ivariant filtering problem using 'tsv file' generated by 'ivar variant' command.

Description of the bug
For the variant filter, the command is given as below:
ivar filtervariants -t 0.5 -p P.test.filtered P1_S1.tsv P2_S2.tsv P3_S3.tsv
But, unfortunately getting the following error message:
Header format of P1_S1.tsv did not match! Please use files generated using "ivar variants" command.
Header format of P2_S2.tsv did not match! Please use files generated using "ivar variants" command.
Header format of P3_S3.tsv did not match! Please use files generated using "ivar variants" command.
Even the header formats are unique among the files. txt files have also been used to filter but encountered the same error message. What could be the problem and solution to resolve it? Thanks in advance.
Command used and terminal output
No response
Relevant files
P1_S1.csv
P2_S2.csv
P3_S3.csv
System information
No response

I have the exact same issue. I hope someone can help.

See https://github.com/andersen-lab/ivar/issues/178

@Alex-Vasile @mgaucoin @Moslemecoh can we close this issue as it seems to be an ivar issue and not a viralrecon issue?

can we close this issue as it seems to be an ivar issue and not a viralrecon issue?

That depends on your philosophy of how to handle this. I could see this either being closed and wait for iVar to get fixed and let the users handle the problem. Or this package handed the problem and a workaround to be implemented into that pipeline until iVar gets fixed.

viralrecon generates the .vcf file of that .tsv that is correctly formatted. As viralrecon does not use ivar filtervariants, I think it is something that iVar should get fixed, and viralrecon users might find a way to do that filter with the .vcf using bcftools or something like that.

@svarona thank you for your advice and apologies for posting on a different site. Please close this issue.

There is nothing to apology for! Hope this helps others to get to the problem! 😄


Simplified Mixed HMC code does not seem to be working

Hi, I tried your code for simplified Mixed HMC multiple times and I always get all the samples limited to just one of the four modes like this:

This is not the expected behavior, right?

I just tried cloning the repo and running the script. It is working as expected on my side. See the attached figure.
It's a simple script with minimal dependencies and I'm surprised it would give inconsistent results....I'm running with python 3.8.12, numpy 1.20.3 and numba 0.54.1. Not sure if it's related to package versions. Could you share your setup?

Hmm, that's strange. I'm using
Python 3.10.2
numpy 1.21.5
numba 0.55.0

I tried running the code on Google Colab and it works so it's definitely a problem with my setup, not with your code.

Glad to hear! And if you figure out the issue also let me know


Update gitversion config

@mattbrailsford not sure what this does, but I guess it is related to the master -> main branch naming? And it should be safe to merge since you use it is the Stripe payment provider repository.

Yea, these can just be merged in. I just updated them an submitted them as PRs


Get Author, Parody, and Character

What's the current sentiment on pulling these items from nHentai when specifying an ID? Currently trying to parse an ID database and would like to catalogue all the tags, not just Genre.

Hello @SakiSakiSakiSakiSaki. It going to be available in the next release. Thanks for waiting  (. ❛ ᴗ ❛.)


Feature/929 stansummary cli11

Submisison Checklist

[x] Run tests: ./runCmdStanTests.py src/test
[x] Declare copyright holder and open-source license: see below

Summary:
Replaced use of boost::program_options with lib CLI11,
which is a header-only C++11 library with appropriate open source license.
Intended Effect:
Pay down technical debt:

Simplify build process.   Library boost::program_options is a non-header only library,
it made the build process longer, greatly increased the amount of the console output,

Simplify makefiles

How to Verify:
Run unit tests
Side Effects:
NA
Documentation:
NA
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):  Columbia University
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

The only changes here are the library, right? So it's the same features as the existing stansummary, just different code?

correct - the CLI11 library is a better version of boost::program_options.   updated the code to use the library; changed the unit tests to match messages generated by CLI11.

hi Ben, thanks for the thorough arg checking - this code should be far more robust.
also extremely useful w/r/t this PR:  https://github.com/stan-dev/cmdstan/pull/925
there's a lot more checks that could/should be done for that PR, but it would be cool to get it in -
not sure I'll be able to get to it for this release.

hi Ben, thanks for the thorough arg checking - this code should be far more robust.
also extremely useful w/r/t this PR:  https://github.com/stan-dev/cmdstan/pull/925
there's a lot more checks that could/should be done for that PR, but it would be cool to get it in -
not sure I'll be able to get to it for this release.

@bbbales2 - ready for re-review

@bbbales2 - ready for re-review


Server side filter icon

Hello, can anyone to explain me how to show filter icon after my custom filter has been applied?
Thanks.

the method isFilterActive (on your filter icon) should return true or false. the grid makes the icon visible based on this. this assumes you are calling the filterChangedCallback() method correctly. see the docs for this.


Layout Suggestion for Macro Widget

Could the Macro widget be edited to save a little space.

I sujest moving the Add Macro to a function as a Cog or "+" on the top of the widget bar like the

How about keeping the Create Macro button and the total records at the same line?

This commit 77b563a7cb23b99ecef7354e07d06872524f9e63 adds support for remembering widget minimized state. Now you can minimize rarely used widgets to save more space on UI.

Fixed in v1.6.5

That works, is cleaner now.


Animation transform before rellax

Hi guys, I've encounter a problem in which I would like you to help me, I want to apply a parallax effect on certain elements but before that I've created and animation with tweenmax on those elements, I want them to apply that animation, which is a scale from 0 to 1, and then apply to  those very same element the parallax effect.
The problem is that rellax kills my previous animation (tweenmax) and use the transform3d inline with it. How could I apply both transforms so they can't have issues between them?.

No matter, I've found the solution, I apply a setTimeout for creating the rellax instance, so there could be time for the animation and afterwards create the rellax instance.


Hamburger component

#6   Burger menu nav.  Takes in props and switches between nav and X when clicked upon.

@K0LdW0rLd - excellent. It's huge but you know, we can deal with that later on. Nice on the conditional rendering stuff.


Module5: Set up

Setup Project
Requirements

add models
set up linters
add migrattions

highlights
RESOLVED

Hey @derrick1451 i. There is nothing else to say. Your project section is complete, And it looks amazaing if I say so myself. Great job 👏🏾


Scala 2.13 excluding scala-xml

With Scala 2.13, the libraries scala-xml, scala-parser-combinators and a few others are no longer included in the official distribution. If I add these libraries to my project as dependencies, sbt-assembly is excluding them in the function Assembly.isScalaLibraryFile.

I had forgotten this myself but https://github.com/sbt/sbt-assembly#excluding-scala-library-jars says:

To exclude Scala library (JARs that start with scala- and are included in the binary Scala distribution) to run with scala command,

so by that admission criteria, I agree with the expectation of this issue.


Hide quest from showing up when typing /quest

Where else have you looked for answers to this question?
the quest discord under community support a mod named Deadlykill sent me here for more help.
Share your question with as much detail as possible.
when typing /quest in chat it shows the available quest but I would like to hide them if possible.

This is not currently possible. If you would like to submit a new issue, please explain why someone would want this in greater detail under the "Suggest a feature" option.


[FLINK-1984] Integrate Flink with Apache Mesos (T1)

Part one ("T1") of Flink on Mesos.
Implemented Mesos AppMaster including:

runners for AppMaster and TaskManager
MesosFlinkResourceManager as a Mesos framework
ZK persistent storage for Mesos tasks
reusable scheduler actors for:

offer handling using Netflix Fenzo (LaunchCoordinator)
reconciliation (ReconciliationCoordinator)
task monitoring (TaskMonitor)
connection monitoring (ConnectionMonitor)

lightweight HTTP server to serve artifacts to the Mesos fetcher (ArtifactServer)
scenario-based logging for:

connectivity issues
offer handling (receive, process, decline, rescind, accept)

incorporated FLINK-4152, FLINK-3904, FLINK-4141, FLINK-3675, FLINK-4166

Docs aren't yet provided; to be provided when client changes come in.
Some information on the classes to help reviewers:

MesosFlinkResourceManager.   Few functions:
a. Register as a Mesos scheduler.   Obtain relevant config data (Mesos master URL, creds, etc) from MesosConfiguration class (as provided by the runner).
b. Use a SchedulerProxy as the callback handler to dispatch Mesos callbacks as Akka messages to the RM.  Route messages accordingly.
c. Handle worker callbacks from base class.   Planning activity occurs synchronously, to a persistent store called MesosWorkerStore, and mirrored to the workersInNew, workersInLaunch, etc that folks will recognize from the YARN implementation.
d. Route offer-related information (new workers, new resource offers) to the LaunchCoordinator, who responds with task launch commands contained in AcceptOffers.

LaunchCoordinator.   The coordinator is an FSM that manages the flow of offers, matching them against a task queue using the Fenzo optimizer.
a. The  GatheringOffers state is where the action happens, utilizing the state timeout mechanism to make periodic attempts to launch outstanding tasks.  Note that Fenzo can be tuned to make different tradeoffs about placement quality vs speed (future directions).
b. The launch coordinator is connection-aware, suspending itself when we lose connectivity to Mesos.
c. The launch coordinator is provided a Fenzo TaskRequest to describe the needed resources.   Once an offer is matched, the LaunchableTask interface facilitates generating the specific TaskInfo record to send to Mesos. LaunchableMesosWorker is the concrete class that generates the TaskInfo.

ReconciliationCoordinator.   Implements the reconciliation protocol described in the Mesos literature.  The TaskMonitor actor sends a Reconcile message to the coordinator whenever a task’s actual status is unknown (e.g. upon reconnection).

ConnectionMonitor.   Provides informative log messages related to the connection state.   Note that the Mesos-provided driver automatically handles reconnection.

TaskMonitor.  An FSM that tracks the lifecycle of a Mesos task.
a. Most state changes are due to plan changes or to actual status changes.
b. Use a state timeout to complain if a task is staging for too long.

MesosAppMasterRunner.  The main entrypoint for the AppMaster, which launches the JM, the RM, the artifact server, etc.
a. Prepare a TaskInfo template with common information needed to launch a TM.
b. Otherwise similar to the YARN runner.

MesosArtifactServer.  A simple HTTP server for serving artifacts to the Mesos fetcher, to launch the TM.   e.g flink.jar, flink-conf.yaml, krb5.keytab (future).

Note that the code in the scheduler package is designed to be generic, for reuse by the dispatcher (another Mesos framework) to be developed next.

@mxm I think this is ready for your review.

Awesome, thanks for that great contribution.
Give us a bit of time to look at it. Its a big chunk of code!
One thing I thought while glancing over this: We may want to do is to split up the library classpaths more fine grained. Not every application shout have Hadoop / YARN and Mesos and the http dispatcher code in the classpath at all times.
That should be a separate followup task, through. Its relevant for other components as well.

A high-level comment to reviewers, I strove to follow the YARN implementation closely, in anticipation of a future refactoring.   The runner and RM are prime examples where consistency was emphasized.

@EronWright Over time, we have started to place some more emphasis on some code style aspects (in anticipation of introducing a proper style/check at some point). That's why new stuff gets more style comments than some stuff that is already in place.

Great work @EronWright. Code quality, testing and extent of this PR is really impressive :-) I think you've nicely modularized the Mesos resource manager with the additional actors. This makes testing much nicer :-)
I only had some minor comments and questions for my own understanding. Tomorrow I want to try it out on a Mesos cluster to see how it works.
There is only one thing I'm wondering. Since we're also currently working on Flip-6 where we try to put a new RPC abstraction in place in order to eventually remove Akka and Scala from flink-runtime, I wanted to ask whether you think that the FSM actors could also be replaced (sometime in the future) by something else? I totally agree that they are a nice abstraction for Mesos and allow to express the logic succinctly.

Thank you for your work @EronWright.  Finally could go through the code. All in all, very impressive as the first step of the Mesos integration! I think this PR is in a mergeable state if some minor comments are addressed.
I'm not 100 % sure about all the additional actors yet. It seems like ReconciliationCoordinator, ConnectionMonitor, TaskMonitor could also easily be handled inside MesosFlinkResourceManager. In terms of modularity, I can see that having these run independently can give us a more flexible setup. Which of the actors do you plan to re-use in the next set of changes? Clearly, in terms of testability it comes in really handy.

Thanks for the review @tillrohrmann @mxm and @StephanEwen.    I'm addressing the feedback with a follow-up commit to be completed ASAP.

Let us know when you have made the last changes. I think we could then go ahead and merge this PR. I'm getting excited about this to be finally in the master :flushed:

@mxm ready

There are some compilation issues in the build logs:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/jenkins/jenkins-slave/workspace/flink-github-ci/flink-mesos/src/main/java/org/apache/flink/mesos/runtime/clusterframework/store/StandaloneMesosWorkerStore.java:[21,33] package com.google.common.collect does not exist
[ERROR] /home/jenkins/jenkins-slave/workspace/flink-github-ci/flink-mesos/src/main/java/org/apache/flink/mesos/runtime/clusterframework/store/StandaloneMesosWorkerStore.java:[65,24] cannot find symbol

Could you rebase to the latest master and also remove any merge commits? Thanks!

Fixing the errors and trying to rebase your changes on top of the latest master now.

Thank you so much for your contribution @EronWright! Looking forward to see the Mesos integration in Flink grow :)


plantuml-server 1.2021.12 -> 1.2022.2

Description of changes
Suplements https://github.com/NixOS/nixpkgs/pull/163416 in updating plantuml suite to consistent versions
Things done

Looks like CI is building it without issues, but i cannot build it locally.

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

There is some weird error on my local build:
plantuml-server> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ plantumlservlet ---
plantuml-server> [INFO] Changes detected - recompiling the module!
plantuml-server> [INFO] Compiling 18 source files to /build/source/target/classes
plantuml-server> [INFO] ------------------------------------------------------------------------
plantuml-server> [INFO] BUILD FAILURE
plantuml-server> [INFO] ------------------------------------------------------------------------
plantuml-server> [INFO] Total time:  1.490 s
plantuml-server> [INFO] Finished at: 2022-03-09T11:30:36Z
plantuml-server> [INFO] ------------------------------------------------------------------------
plantuml-server> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project plantumlservlet: Fatal error compiling: invalid target release: 11 -> [Help 1]
plantuml-server> [ERROR]
plantuml-server> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
plantuml-server> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
plantuml-server> [ERROR]
plantuml-server> [ERROR] For more information about the errors and possible solutions, please read the following articles:
plantuml-server> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
plantuml-server> timeout, restart maven to continue downloading

@nazarewk I encountered this problem as well when I tried to update this package. My workaround was to use a different jdk jdk17_headless https://github.com/NixOS/nixpkgs/pull/159063. I didn't go through with it since the output hash of deps kept changing.

How about changing in the nativeBuildInputs:  jdk8_headless in jdk17_headless ? Can you give it a try ?
Also, is there any kind of documentation that says what is the required version of the JDK for this?

Also, is there any kind of documentation that says what is the required version of the JDK for this?

Looks like it requires JDK 11+ and Maven 3.0.2+ https://github.com/plantuml/plantuml-server/blob/0330b7c4a20292082465c021ec415cc013167998/README.md?plain=1#L27-L30

@truh @drupol looks like it works with jdk17_headless, but just like truh said, the output is not stable

Why not using jdk11?

Why not using jdk11?

This is the same for jdk11_headless

Why not using jdk11?

This is the same for jdk11_headless

Then maybe we should open an issue upstream ?

I mean the output is unstable for both jdk11_headless and jdk17_headless

Looks like timestamps in output *.war are differing:
nazarewk@nazarewk-krul /tmp/plantuml-server % ls -la
total 38560
drwxr-xr-x  4 nazarewk users      120 Mar 10 11:39 .
drwxrwxrwt 27 root     root       780 Mar 10 11:38 ..
drwxr-xr-x  5 nazarewk users      200 Mar 10 11:40 plantuml-1
-r--r--r--  1 nazarewk users 19740424 Mar 10 11:34 plantuml-1.war
drwxr-xr-x  5 nazarewk users      200 Mar 10 11:40 plantuml-2
-r--r--r--  1 nazarewk users 19740424 Mar 10 11:36 plantuml-2.war
nazarewk@nazarewk-krul /tmp/plantuml-server % ls -la plantuml-1
total 20
drwxr-xr-x 5 nazarewk users  200 Mar 10 11:40 .
drwxr-xr-x 4 nazarewk users  120 Mar 10 11:39 ..
-rw-r--r-- 1 nazarewk users 1884 Mar 10 10:05 error.jsp
-rw-r--r-- 1 nazarewk users 1150 Mar 10 10:05 favicon.ico
-rw-r--r-- 1 nazarewk users  123 Mar 10 10:05 footer.jspf
-rw-r--r-- 1 nazarewk users 3870 Mar 10 10:05 index.jsp
drwxr-xr-x 3 nazarewk users   80 Mar 10 11:40 META-INF
-rw-r--r-- 1 nazarewk users  947 Mar 10 10:05 plantuml.css
drwxr-xr-x 2 nazarewk users  120 Mar 10 10:05 resource
drwxr-xr-x 4 nazarewk users  100 Mar 10 10:05 WEB-INF
nazarewk@nazarewk-krul /tmp/plantuml-server % ls -la plantuml-2
total 20
drwxr-xr-x 5 nazarewk users  200 Mar 10 11:40 .
drwxr-xr-x 4 nazarewk users  120 Mar 10 11:39 ..
-rw-r--r-- 1 nazarewk users 1884 Mar 10 10:36 error.jsp
-rw-r--r-- 1 nazarewk users 1150 Mar 10 10:36 favicon.ico
-rw-r--r-- 1 nazarewk users  123 Mar 10 10:36 footer.jspf
-rw-r--r-- 1 nazarewk users 3870 Mar 10 10:36 index.jsp
drwxr-xr-x 3 nazarewk users   80 Mar 10 11:40 META-INF
-rw-r--r-- 1 nazarewk users  947 Mar 10 10:36 plantuml.css
drwxr-xr-x 2 nazarewk users  120 Mar 10 10:36 resource
drwxr-xr-x 4 nazarewk users  100 Mar 10 10:36 WEB-INF
nazarewk@nazarewk-krul /tmp/plantuml-server % diff -r plantuml-*
diff: extra operand 'plantuml-2'
diff: Try 'diff --help' for more information.
2 nazarewk@nazarewk-krul /tmp/plantuml-server % diff -r plantuml-{1,2}

Looks like there is reproducible-build-maven-plugin, but i have no clue whether it's possible or how to apply it to this use case https://zlika.github.io/reproducible-build-maven-plugin/

FYI: -Dproject.build.outputTimestamp=0 to mvn package was enough to trigger reproducible builds as per https://maven.apache.org/guides/mini/guide-reproducible-builds.html#how-to-test-my-maven-build-reproducibility

Has this been tested if so I will merge

looks like this actually doesn't work yet due to switching from javax to jakarta and Jetty not keeping up with it:

https://plantuml.com/server
https://webtide.com/renaming-from-javax-to-jakarta/

I did a little bit of testing. When I started the service from this branch SVG generation didn't work. I was able to fix the problem by replacing jdk17_headless with jdk in nixos/modules/services/web-apps/plantuml-server.nix.

I have tested it with jdk by reconstructing the commandline from services.plantuml-server, I'm on flake based system and those instructions above to spawn a VM gave me very weird results (it had GDM and hostname the same as my host system).

This broke the build on Hydra, I think: https://hydra.nixos.org/eval/1748939?filter=plantuml#tabs-now-fail

This broke the build on Hydra, I think: hydra.nixos.org/eval/1748939?filter=plantuml#tabs-now-fail

Any idea what is wrong? I have trouble pinpointing the issue (responsible logs or anything)

Locally I'm getting
hash mismatch in fixed-output derivation '/nix/store/7wvrgia71mrr658rpxak3dw6aszqid0b-plantuml-server-1.2022.2-deps':
  wanted: sha256:1042nkxic732ppjma2lc894c8812h4js8dijm73k05v3gq2q45q2
  got:    sha256:1vc2j6xk1csagbsx15qdgxsglhmm75rsj8npjf19qj0i8k8jd46y
cannot build derivation '/nix/store/mllvsyizjl5frnwpsic5gp1msivxz0n5-plantuml-server-1.2022.2.drv': 1 dependencies couldn't be built

what system are you on?

x86_64 NixOS.  This build was nix build -f. plantuml-server on commit c0ede2616 specifically.

It works just fine for me on the same system using nix build '.#plantuml-server' and fad085c08f97ff526cda9bcfb83c6c00291c66fd

@nazarewk did it rebuild the deps for you or were the deps still in your nix store?

I've sha256-3pAm0UQRSJyCk9ciqXM5tUL6dH8Nl9D1ekqzMLuRgu0= on 2 conscutive rebuild with nix-collect-garbage -d in between, which is not what was in the PR.
Might be that dependencies are not pinned in plantuml-server and get different results in different times?

I think it's likely that the maven artifacts in the repository are mutable.

Maybe it would be better to just download the war file from the Github release and call it a day.


index is not automatically regenerated

when changing the title or the abstract of the md file

added dependencies in bake process. wait to find cases not covered as new issues. 0.1.5.


Added support for GuixSD

Added support for GuixSD, this includes:

Added detection for Guix package manager
New ASCII for GuixSD (I'm sure this can be reworked.)

Actually, don't merge it just yet -- I'll reopen this when I figure out how to detect GuixSD version (they don't conform to the usual standards)

Since there's no other way to detect if a distro is GuixSD other than detecting if guix command exists, I think this will do.
Unless you have anything more to say, then I'll squash this up before ready to merge.


ramfetch: 1.1.0 -> 1.1.0a

Description of changes
The old repository owner deleted their account and the repository was deleted. This change updates the repository to a copy.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

@bobby285271
Ah yes I seem to have missed that. Thank you.


merge package template from arlac77/npm-package-template

package.json

chore(engines): update<EMAIL_ADDRESS>from template

.travis.yml

chore(travis): remove node versions 8.10
chore(travis): add node versions 8.11

:tada: This PR is included in version 2.19.15 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Enhance the token authentication converter to accept the custom jwt granted authorities converter

Description
Fixes https://github.com/Azure/azure-sdk-for-java/issues/28665
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
spring-cloud-azure-autoconfigure

@stliu ， please help review the API changes in this PR, thanks~

/check-enforcer override

Move the design doc to wiki page https://github.com/Azure/azure-sdk-for-java/wiki/Design-for-Enhance-AAD-token-authentication-converter-to-customized-granted-authorities-converter


more intelligent deletion sequence

at some point in time it wont be enough to delete objects sequenced by type
instead do where-used and delete where possible

eg. nested structures via .INCLUDE


warmRuntimeCache() and cacheRevisionedAssets()

[Feedback from @prateekbh] It's not clear that cacheRevisionedAssets() adds routes for this. It's also not clear that warmRuntimeCache() requires routes to be defined as none of the demo's include it.
Naming is also not clear.

Was there any feedback from Ewa on either of these methods? My two cents are that the names definitely don't capture route generation or necessity. cacheRevisionedAssetsAndScaffold(), cacheRevisionedAssetsAndAddRoutes()? These start to get a little verbose. Would it make sense for cacheRevisionedAssets() to not add routes and instead defer to a separate method to add routes directly? This loses a user convenience but might be more clear.

@prateekbh and @devnook do you have any comments on this?
Feels a bit verbose to have:
self.goog.swlib.cacheRevisionedAssets(self.__cacheList);
self.goog.swlib.addRevisionedAssetsRoute();

Was also kicking around the idea of a catchall route (IF the router allows the request to fall through if it doesn't match - which I don't think it does).
self.goog.swlib.cacheRevisionedAssets(self.__cacheList);
self.goog.swlib.router.registerRoute('*', self.goog.swlib.cacheOnly());

We ended up dropping warmRuntimeCache because it just caused confusion :(


Only ipv6 network, there is no way to connect to the server, the server's ipv6 is normal.

Only ipv6 network, there is no way to connect to the server, the server's ipv6 is normal thx.

we'd need some more information regarding your setup. Feel free to reopen with more information


Ensure that all existing code handles cases of missing data with graceful partial failure

Essentially, avoid the same situation we ran into with weirdly missing data from the stats file.

@roclark I took a look at this yesterday and didn't see anything, expect for maybe in the brw_stats parser. Can you double check that and, if you think there's no problem, close out this issue? Specific line to start at (I think): https://github.com/HewlettPackard/lustre_exporter/blob/master/sources/procfs.go#L455

We are good on BRW stats due to how the metrics are written (we get all or nothing). Since the metricMap is allocated at the top of the function where we actually parse data, there isn't a concern about accessing invalid memory.


Allow costomizing extractor responses

Hello,
Currently the library always returns a specified set of responses on errors. We can see it here  and here.
In some cases the users may want to modify the returned values e.g. to implement RFC 7807. The library should possibly allow this kind of use-case the same way as the axum Json extractor allows to specify a rejection response.
@maxcountryman any thoughts?

Agree. We should support this.
I'd welcome contributions to this end.

With v0.7.0 we take a different approach and I think this is no longer a problem.

I believe so, but we should probably use this task to create an example how to do it.


[Feature Request] Upstream failover and Upstream IP.

I run doh-server on my server under two domains. My server is proxied by cloudflare, so I have 3 IPs for each domain, plus the servers real IP address.
I've configured doh-client locally with the two domains, and added the six cloudflare IPs to my /etc/hosts file. Now, here is the problem. Sometimes, a cloudflare IP will become unstable with massive packet drops, causing the doh-client to timeout and return an empty response. We need the client to try again with either a different upstream or a different IP (if one exists) for the same domain.
I suggest adding the ability to specify the upstream IP address alongside the domain, thus eliminating the need to add them to the hosts file. This should allow us to add multiple entries for the same domain. In addition, when the first query fails I'd like to see a failover to the next upstream server. A maximum_failover setting could be introduced and/or an individual upstream timeout (with the current timeout setting acting as a global timeout).
Please note, I live in China which has recently blocked all DNS-over-TLS. Regular DNS53 IPs get blocked for a short time if I query banned domains (youtube/facebook etc). I cannot risk using my servers real IP, and must proxy it with cloudfare, out of the chance it will get blocked by the GFW. Currently dns-over-https is the only software I've found that actually works. But every time one of my IPs becomes unstable I have to edit the hosts file and restart services.
I would offer a pull request myself, but I unfortunately know nothing about the GO language.

Actually this is the exact problem I have observed on my lab environment in China.
I have made various attempts through the years trying to fix this.
But the HTTP/2.0 protocol stack of Go is so complicated that I can not completely solve the problem without introducing new bugs.
(sigh...)
If you are really good at DIY, you might want to run a HAProxy / Nginx at your local computer.
Connect HAProxy / Nginx to Cloudflare, and connect doh-client to it.
Since DoH is standard HTTPS, it will work for sure.
It's just you will need to run a lot of software and consume more RAM.

The problem is: if a single HTTP/2.0 connection to the server fails, my code detects it and tries to start a new connection, but the Go standard library did not detect this connection failure and still tries to reuse the existing connection pool.
This way, even if I let it resolve to a different address, the new connection still cannot make through.

Please note, I live in China which has recently blocked all DNS-over-TLS.

Yeah. That's why I never recommend DoT: they are doomed to get blocked from day one.

Yeah. That's why I never recommend DoT: they are doomed to get blocked from day one.

It really surprised me the other day when my ISP blocked it. Was quite a hassle trying to fix the problem when standard DNS53 returned funky results. Over HTTPS is a much more stealthier approach, but there too few clients and those I have found are poorly implemented.
I've just setup dnscrypt-proxy with 6 sdns:// URIs for each of my IPs. I'll give it a test for a few days. doh-server on the other end has been working flawlessly.
IMHO, the internet as it stands right now needs a complete overhaul.