Show Call Hierarchy should work for R

Currently, "Show Call Hierarchy" (Shift+Alt+H) does not work for R.
Do you have any plan to support this feature?
Many thanks!

The Call Hierarchy feature requires R code analysis. It is better implemented in languageserver which does the actual R code analysis.


Clean up some tests

When using mocha's with parameter matcher, you should not use assertions inside the block, but return true or false.
Using uninitialized instance variables has different effect in different ruby versions. Make sure @options is set before using it in @gateway.verify(@credit_card, @options) calls.

Currently, these issues do not make the test suit fail due to the magic Ruby + mocha + test-unit/minitest version combination, but it fails when I change those.
@Shopify/payments @ntalbott for review

:hatched_chick:


Update Cloud Run service to better map to v2 TF

Description
Fixes #238
Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.
Checklist

[ ] Added steps to reproduce the changes in this pull request
[ ] Added relevant testing in this pull request
[ ] Please merge this PR for me once it is approved.

Scaling example looks like it's moved
https://cloud.google.com/run/docs/reference/rest/v2/RevisionScaling
{
"minInstanceCount": integer,
"maxInstanceCount": integer
}
(I could be misreading the documentation) But that could be handled in a separate PR to add.

Merging this to solve build issues (#238). Annotation restoration moved to #257


Fix import error from  deprecation in transformers

The top_k_top_p_filtering() method will be deprecated (i.e. removed) from transformers >= 4.39 and the simplest solution is to copy the method directly into trl
Closes #1409

Thanks so much @lewtun ! It says:
ImportError: cannot import name 'TopKLogitsWarper' from 'transformers.generation_utils' (/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/transformers/generation_utils.py)

Do we need to guard the import for transformers main that have TopKLogitsWarper ?

Both logits processors are present as far back as our min required transformers version (v31.0): https://huggingface.co/docs/transformers/v4.31.0/en/internal/generation_utils#transformers.TopPLogitsWarper
The new import path should work across all of them I think!

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Thanks so much @lewtun ! It says:
ImportError: cannot import name 'TopKLogitsWarper' from 'transformers.generation_utils' (/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/transformers/generation_utils.py)

Do we need to guard the import for transformers main that have TopKLogitsWarper ?

Hello!My transformer version is 4.39.0.dev0  and occur this error ,but when I check the source code,I found nothing ?...Confused about that.

Thanks so much @lewtun ! It says:
ImportError: cannot import name 'TopKLogitsWarper' from 'transformers.generation_utils' (/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/transformers/generation_utils.py)

Do we need to guard the import for transformers main that have TopKLogitsWarper ?

Both logits processors are present as far back as our min required transformers version (v31.0): https://huggingface.co/docs/transformers/v4.31.0/en/internal/generation_utils#transformers.TopPLogitsWarper
The new import path should work across all of them I think!

I wonder the statement is
from transformers.generation import TopKLogitsWarper, TopPLogitsWarper
I check the source code updated in trl .


Added SurroundingSimilarity() and type of the same name. Fixes #49

This change is

Codecov Report

Merging #58 into master will increase coverage by 1.41%.
The diff coverage is 93.33%.

@@            Coverage Diff             @@
##           master      #58      +/-   ##
==========================================
+ Coverage   88.25%   89.66%   +1.41%
==========================================
  Files          20       20
  Lines         783      813      +30
==========================================
+ Hits          691      729      +38
+ Misses         84       74      -10
- Partials        8       10       +2

Impacted Files
Coverage Δ

individual_node.go
94% <100%> (+9.07%)
:arrow_up:

family_node.go
88.23% <66.66%> (-4.63%)
:arrow_down:

Continue to review full report at Codecov.

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


Cannot connect to runtime process (reason: getaddrinfo ENOTFOUND localhost undefined:32974)

VSCode Version: 1.8.1
OS Version: 10.11.6

Steps to Reproduce:
I am not sure how I got into this state but I am not able to run my electron app anymore. I tried restarting VSCode and also restarting my computer but it didn't help.
Any help will be appreciated.

Closing as we haven't heard back, but happy to reopen if you have more details to share. Happy coding!


Add web support for setSourceBytes

Checklist

[X] I made sure that the issue I am raising doesn't already exist

Use case / Problem
Flutter web app uses AudioPlayers to play audio data byte responses from a cloud service
Proposal / Solution
A very simple implements of setSourceBytes on Web, it works well.
Future<void> setSourceBytes(List<dynamic> bytes) async {
  final audioBlobUrl = Url.createObjectUrlFromBlob(
    Blob([bytes], "audio/mpeg"),
  );
  await audioPlayer.setSourceUrl(audioBlobUrl);
}

Need to delete the url when no longger use
Url.revokeObjectUrl(audioBlobUrl);

Example Code
No response
Affected platforms
web
Platform details
No response
Audio Files/URLs/Sources
No response
Mockups
No response
Related issues / more information
No response
Working on PR
no way

Closing in favor of #1670 and #1269. Please bring up your ideas and benefits there. Thank you ;D


Replace Just the Docs with MkDocs

MkDocs has a large catalogue of plugins, including for generating API docs and using Jupyter notebooks, so it may be a better bet for the future than Just the Docs, which doesn't seem to have any plugins and has a smaller community of developers.
Another advantage is that MkDocs doesn't require ruby, gems and Jekyll. It's all Python to generate static sites. Makes it easier for others to contribute.
I do prefer the font, buttons and admonitions (callouts) of Just the Docs, but we can style MkDocs later if we want. (I used the material theme.)
I've converted our docs to MkDocs, just minor changes: blank lines before lists, indent by 4 always, change the syntax for call outs. I've added a dark theme and the current algoesup.py docstrings.
To see the resulting static pages, run pip install -r requirements.txt to pick up the new packages and then mkdocs serve. Let me know what you think.

Found this plugin for mkdocs to open external links (and PDFs) in new tabs, which might be useful for our docs. We could either add it as dependency, or borrow some of the code (with attribution) and hardwire it into the project.

The notebooks are now rendered as part of the docs, which is more environmentally friendly than rendering on demand on nbviewer or GH. You will have to re-run pip to pickup the two new mkdocs plugins.
I've experimented with integrating the TOC of each page within the navigation panel, to save space for smaller screens, but I think it can get a bit confusing. Reverted to separate nav and TOC panels. Made nav panel fixed (no collapsing headings). I also tried sections in the header, but then you always have to scroll to the top of the page to go to a different section. I think the current configuration is the easiest to go directly from any page to any other page.
Please do check things and, if everything's OK, do squash and merge. Thanks.

@mwermelinger The .github/workflows/pages.yml is still set up for jekyll. We can delete this right?

Anyway, I guess that can all be sorted when you deploy the site. The notebooks seem to render nicely and no problems anywhere else AFAIK. I will go ahead and with the squash and merge now.


List of Bugs I found playing with a friend in multiplayer

[ ] Vents spawn in the middle of rooms/detached from walls
[x] Adult Wanderers spawn on top of you, and can kill you basically instantly
[x] Adult Wanderers have no spawning sound (not sure if intended), they also don't seem to make any noise at all other than a whining noise (once they kill you, could be confusing the noise w/ something else)
[x] Trying to exit the facility through the main entrance takes a lot of attempts, as in it won't let you leave the facility when interacting with the door until after usually a few attemps
[x] Entering the fire exit sometimes spawns you outside the facility, I don't know if it spawned me next to the fire exit
https://drive.google.com/file/d/1nG6K7lVYYTbYyTeJPYzcpFkjeWPnk9x7/view?usp=sharing

[x] Eye Security Desync, on my screen my friend was scanned and was being shot by the beam. On his screen it had no blue scanner, wasn't moving, not staring at him, and was shooting no beam.

went ahead and converted this to checklist format to make it easier to track

not really sure wether or not its on our end but it took a very long time to load and we kept freezing (basically my teamate saw me in a slidshow and i saw him in a slideshow)
other than the actual other players i didnt experience any bugs

not really sure wether or not its on our end but it took a very long time to load and we kept freezing (basically my teamate saw me in a slidshow and i saw him in a slideshow) other than the actual other players i didnt experience any bugs

The long loading times are expected due to the volume of new content and size of the dungeon; however, the large amount of lag was likely due to an... accident... with the Wanderer's code. This'll be addressed by 0.8


scrython keyerror: 'mana_cost'

well i made script who search inside file txt and put price, set_name, mana_cost
but values mana_cost crash my script and put keyerror depeending of cards
str(card["mana_cost"])
coul you tell me the good code for all cards pass without error**
thank all

The only place that a card doesn't readily have a mana_cost key is if that card has multiple faces. In which case you can find that card in card_faces.
The relevant methods are mana_cost() and card_faces()

Si i write
Str(card_faces['mana_cost'])
It s good?

so friend,i test it with 2 arguments card and card_faces
it's work for lt card but i don't understand we have problem with card "fury", that not work
`1 fury
4 Bloodstained Mire
3 Copperline Gorge
3 Mountain
3 Stomping Ground
4 Wooded Foothills
4 Blazing Rootwalla
4 Burning Inquiry
3 Cathartic Reunion
4 Dragon's Rage Channeler
4 Flameblade Adept
4 Goblin Lore
4 Hollow One
4 Lightning Bolt
3 Ox of Agonas
4 Street Wraith
1 Tarfire
4 Vengevine
Sideboard:
2 Ancient Grudge
3 Blood Moon
2 Foundation Breaker
2 Lightning Axe
2 Seasoned Pyromancer
2 Tormod's Crypt
`
remove fury that work perfect

Sorry I haven't kept up with this thread.
If a card does not have a card_faces key in the response object then the card_faces() method will throw a key error.
Please read the documentation thoroughly and I'm sure you'll find your answer there. Closing this issue.


Roadblock crashes when saving

Expected Behavior
Success!
Actual Behavior
Console log:
ℹ   Running 2 post-processing tasks
💾   Exporting statistics as json to /data
ℹ   Roadblock processing complete
(node:4025) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_CALLBACK]: Callback must be a funcn
at maybeCallback (fs.js:129:9)
at Object.writeFile (fs.js:1156:14)
at saveToFile (/usr/local/lib/node_modules/@zalando/roadblock/export/client.js:11:6)
at ExportClient.export (/usr/local/lib/node_modules/@zalando/roadblock/export/client.js:39:5)
(node:4025) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either)
(node:4025) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, p.
Steps to Reproduce the Problem

Run roadblock
Wait for it to finish downloading
💥

Specifications

Version: latest on npm
Platform: Mac OS X

$ npm --version
6.4.1

Hey @ruphy - could you share the roadblock.json config (without tokens etc) So I can see what it attempts to run

Seems like this might be due to a missing github token in the configuration, or that the token does not have the right access, ensure it has acccess to the orgs you want to query and that it has permission to access repo, repo:status, public_repo, read:org, read:user, read:discussion

Hi,
I double-checked the permissions and confirm they are correct.
Here's the file:
{
    "github": {
        "token": "***"
    },
    "tasks": [
        "pre/*",
        "org/*",
        "repo/releases",
        "post/*"
    ],
    "orgs": [
        "italia"
    ]
}

I created a directory, no meaningful change.
However, I see this line:
  💾   Exporting statistics as json to /data

is it simply possible that /data is simply not writable by the roadblock user?

Two more pieces of debug information:

I tried to chown /data to the current user (it was an old MongoDB installation), no change in behiavor
I do find a roadblock.sqlite in the current directory which seems to contain most of the downloaded data

Updated master and npm with improved token validation and error feedback during data collection - should give you better hints at what is wrong - if everything runs smoothly the end result will be a sqlite file with all the data which you can then query

I updated roadblock to latest npm version (1.1.0): I confirm I find a roadblock.sqlite file at the end of the run which contains most (all?) of the data but there's still the same error before exiting:
 ℹ   Roadblock processing complete
(node:32294) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
    at maybeCallback (fs.js:129:9)
    at Object.writeFile (fs.js:1156:14)
    at saveToFile (/usr/local/lib/node_modules/@zalando/roadblock/export/client.js:11:6)
    at ExportClient.export (/usr/local/lib/node_modules/@zalando/roadblock/export/client.js:39:5)
(node:32294) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:32294) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

...at this point I am wondering if it's only a silent mistake?


Hi

Hi friend, could you rate my repositories and I'll rate yours at the same time? Thanks!

Sure! I'll rate yours repositories!

Hi friend, could you rate my repositories and I'll rate yours at the same time? Thanks!

Sure! I'll rate yours repositories!


mime: BEncoding and QEncoding don't respect the 76 character line limit in RFC2047

As a continuation of Issue #12300, mime: BEncoding and QEncoding don't respect the 76 character line limit in RFC2047.
Here is the relevant part from Section 2 of RFC2047. (emphasis mine)

An 'encoded-word' may not be more than 75 characters long, including
'charset', 'encoding', 'encoded-text', and delimiters.  If it is
desirable to encode more text than will fit in an 'encoded-word' of
75 characters, multiple 'encoded-word's (separated by CRLF SPACE) may
be used.
While there is no limit to the length of a multiple-line header
field, each line of a header field that contains one or more
'encoded-word's is limited to 76 characters.

What version of Go are you using (go version)?
1.8
What operating system and processor architecture are you using (go env)?
set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=E:\gowork
set GORACE=
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\graj04\AppData\Local\Temp\go-build930053034=/tmp/go-build -gno-record-gcc-switches
set CXX=g++
set CGO_ENABLED=1
What did you do?
https://play.golang.org/p/vO6pcZgesh
What did you expect to see?
=?utf-8?q?=C2=A1Hola,_se=C3=B1or_this_is_to_see_what_happens_if_the_test_?=
 =?utf-8?q?is_really_long._ltkhetslk_lskthe_lt_slkth_sekltse_ltksht_lskejt?=
 =?utf-8?q?_lsht_lsht_lht_lht_lsht_lhtlshtlsetlksje_tlsejt_lksetlkse_tlkse?=
 =?utf-8?q?_tlkst_lkstlkst_lskht_lstlsht_lshtlshtlshtslhtlshtlstle_tlse_tl?=
 =?utf-8?q?se_tlkse_tlkse_tlse_tlst_lsetlstlset_setsle_tlset_lst_lset_lskt?=
 =?utf-8?q?_alkthalkht_alkth_aeklth_aeslth_aeslth_eajraoiflanvwoalnwoaiehf?=
 =?utf-8?q?_awesi_leahr_aflhf_awelh_aweh_awelh_wahwe_!?=

What did you see instead?
=?utf-8?q?=C2=A1Hola,_se=C3=B1or_this_is_to_see_what_happens_if_the_test_?= =?utf-8?q?is_really_long._ltkhetslk_lskthe_lt_slkth_sekltse_ltksht_lskejt?= =?utf-8?q?_lsht_lsht_lht_lht_lsht_lhtlshtlsetlksje_tlsejt_lksetlkse_tlkse?= =?utf-8?q?_tlkst_lkstlkst_lskht_lstlsht_lshtlshtlshtslhtlshtlstle_tlse_tl?= =?utf-8?q?se_tlkse_tlkse_tlse_tlst_lsetlstlset_setsle_tlset_lst_lset_lskt?= =?utf-8?q?_alkthalkht_alkth_aeklth_aeslth_aeslth_eajraoiflanvwoalnwoaiehf?= =?utf-8?q?_awesi_leahr_aflhf_awelh_aweh_awelh_wahwe_!?=

Looking at this a little more, it looks like it might just be changing this line from buf.WriteByte(' ') to buf.WriteString("\r\n ")

Oh, in that case I think this is working as intended. I don't think we want to start returning newlines here. We already broke it up into chunks so another layer can wrap it on the whitespace when putting it into a format requiring short lines.

@alexcesaro, thoughts?

This should be reopened. It is waiting on developer feedback.

Cc @alexcesaro @bradfitz

Reopening, but I don't think we can change the behavior here.
We could document it, and/or we could add a new method to do the newline behavior perhaps.

@bradfitz As far as what these encoders should do, I would think it would depend on if they are trying to implement RFC2047 or just be a QEncoder and BEncoder. I would think if they are just being a Q/BEncoder then they wouldn't add the spaces to break the encoded text into chunks and add "=?utf-8?q?=", etc. If they are trying to implement RFC2047, then they should break into chunks, line wrap, etc. Right now I think it is straddling the line.

@bradfitz It looks like @alexcesaro may not be responding. Is this waiting on him or can someone else provide feedback on my previous comment?


Firebase secure deployment support

This package is awesome! My only problem was that I need to persist the data with firebase, but I can't push my firestore-key.json file to GitHub for security.
This PR uses the method from this blog post to read the firebase credentials from st.secrets in addition to directly from firestore-key.json

[x] Adds support for using firebase to persist analytics securely when deployed through Streamlit Cloud or self hosting
[x] Added to documentation on usage inside README.md
[x] Tested locally with my firebase credentials

Link to Streamlit discussion on this PR

Resolves Issue #29

@jrieke Let me know if you need me to update anything or have questions !

Would be really nice if this PR would be merged at some point...

I would also like a solution of this kind

FYI this PR was integrated into version 0.7.0 of streamlit-analytics2 downstream fork (latest version 0.7.7 at time of writing)


Change audio volume

Is there a way to adjust the volume without going through ffmpeg? I want to change volume while playing audio

@LmanTW  - In SDL2.0 there is no codec, mixer or anything like that, its only a low level x-platform api access to the audio device. In the example ffmpeg is providing all the higher level codec and mixing.
It would be possible to create a sdl-mixer binding to replace using ffmpeg, but I'm not sure @kmamal would want to add/bundle those bindings into this project.

@LmanTW changing the volume of audio means simply multiplying each sample with the desired volume (so to raise the volume by 50% you would multiply each sample by 1.5). You do this multiplication after you have gotten the samples from ffmpeg, but before passing the data to enqueue(). The modified example would look like:
let index = 0
while (index < buffer.length) {
	const sample = audioInstance.readSample(buffer, index)
	index = audioInstance.writeSample(buffer, sample * 1.5, index)
}

audioInstance.enqueue(buffer)
audioInstance.play()

This will take care of making a one-off adjustment to the entire audio's volume level. From your description it sounds like you want to have a volume slider in your application and adjust audio levels dynamically? That would take a bit more code to achieve. The main problem is that once you pass data to enqueue() it can no longer be modified. If you enqueue 1 minute of audio then that's what you'll be hearing for the next minute, unless you call clearQueue(). What you want is to break up the audio into chunks and then progressively feed it to the instance in real time as the queued level runs low. Here's some code that could do that:
const numChunkSamples = audioInstance.buffered * channels
const numChunkBytes = numChunkSamples * audioInstance.bytesPerSample
let remaining = buffer

const interval = setInterval(() => {
	if (audioInstance.queued > numChunkBytes) { return }

	const chunk = remaining.slice(0, numChunkBytes)
	if (chunk.length === 0) {
		clearInterval(interval)
		return
	}

	// Adjust volume of chunk here

	audioInstance.enqueue(chunk)
	remaining = remaining.slice(numChunkBytes)
}, 0)

audioInstance.play()

Also keep in mind that adjusting the volume of audio can result in clipping if your sample values go above the maxSampleValue of the instance.

cool!
But why is the audio choppy when I use this code to test

@LmanTW Audio crackling and popping happens when there is a sudden change in the audio level. This usually happens for one of two reasons:

Buffer underrun. This one happens when you are not feeding data fast enough to the instance. Without any new data, the driver will just insert zeroes, which is probably a huge difference from the existing audio level. It looks kinda like this:

  |<-------------buffer1-------------->|<--gap-->|<-----buffer2----->

+1|****                         *******
  |    ***                   ***                  ***
  |       *                 *                        *
 0|--------*---------------*-----------***********----*--------------
  |         *             *                            *
  |          ***       ***                              ***       ***
-1|             *******                                    *******

Notice the big "cliffs" when the gap starts and ends. This is what causes the audible crackling. To avoid this make sure you are calling enqueue() before audioInstance.queued runs out.

Abrupt transition. This one can happen when you have large changes from one buffer to the next. For example this could happen when you adjust the volume rapidly and the consecutive buffers have large volume differences. It can also happen when you suddenly stop one audio source and abruptly switch to another. It looks kinda like this:

  |<-------------buffer1-------------->|<----------buffer2--------->

+1|****                         *******
  |    ***                   ***           *       *       *       *
  |       *                 *             * *     * *     * *     *
 0|--------*---------------*-------------*---*---*---*---*---*---*--
  |         *             *             *     * *     * *     * *
  |          ***       ***             *       *       *       *
-1|             *******

Again notice the abrupt change in audio level when switching from the sine wave to the saw wave. This causes crackling same asa bove.
Without seeing your code it's hard to tell what exactly is causing the problem. The example code I posted above did not cause crackling for me but then again I didn't test it too hard. If you need hep you can always upload your code to a repo and let me have a look at it.

cool! thx

Closing this as completed. Let me know if I should reopen it.


Add reading streams from media to FileLoader and MediaService

1. Why is this change necessary?
When you want to access the filesystem and need to process big files, you want a stream and not a string.
2. What does this change do, exactly?
Expose stream related methods from the flysystem API.
3. Describe each step to reproduce the issue or behaviour.

Make a file download for private media
Request a file that is bigger in size than your allowed php memory limit
php-fpm wins "best titanic impression" contest

4. Checklist

[ ] I have written tests and verified that they fail without my change
[ ] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

I added a test to the FileLoader as the media service just passes it through. I also added a changelog and rebased.
I was the first writing FileLoader tests?!

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-21711
Please use this issue to track the state of your pull request.

Thank you a lot for fixing it before I noticed ☺


Minor code formatting

Hello Kirill.
Thanks for PR.
I can't merge the PR in current state:

It contain binary file - the binary will difficult to merge and it will always "old", without good release history.
For binary distribution I think about autorelease binaries, based on https://github.com/WolframResearch/WL-FunctionCompile-CI-Template for auto-publish binaries by commit or "by button".

The package will contains other functions too. I don't know common name for it, but FindFacesWithImageRotations will be not very good for extend the library. At begins it will different functions for my project: find faces, show interface elements for select photos and names, import/expord faces and photos data with dabases/json, etc.
May be I will rename it in feature, when understand better structure of functions of it.

I see about examples in README and move FindFacesWithImageRotations to other file with name import only to init.m.
I will some improve to package.


Needs a refresh

No menton of Kubernetes/AKS and still mentioning Cloud Services makes this page feel rather outdated. Going forward I'm not even sure if we'll be positioning Service Fabric as general choice either

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b5f74487-a688-9808-d4d2-4ea565b50c1d
Version Independent ID: c8fdca07-2ae6-4dbb-aee1-5333f03d163d
Content: Compare App Service, VM, Service Fabric, and Cloud Services - Azure
Content Source: articles/app-service/overview-compare.md
Service: app-service-web
GitHub Login: @cephalin
Microsoft Alias: cephalin

@benc-uk Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@benc-uk we're now redirecting this page to an all-up decision tree, so deleting this legacy article. #please-close


Custom icon directory not being respected

Housekeeping

[X] I'm sure this issue is not a duplicate

Information:
I have followed the guide posted at https://github.com/vscode-icons/vscode-icons/wiki/Custom and reviewed https://github.com/vscode-icons/vscode-icons/wiki/FineTuning. I have explicitly told the extension where my folder is but the icon is empty. Upon review, it is attempting to load the file from the extension's directory.
Edit: I noticed the folder wasn't in the User folder. I've fixed that but the issue persists.

Debugging Information
VSCode Information
Version: 1.91.0 (user setup)
Commit: ea1445cc7016315d0f5728f8e8b12a45dc0a7286
Date: 2024-07-01T18:52:22.949Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.22621

Extension version: v12.8.0

I've tried the steps in https://github.com/vscode-icons/vscode-icons/issues/3518 but there was nothing new.

After reading https://github.com/vscode-icons/vscode-icons/issues/3194 and looking at the Medium article, my mistake was that I set the folder to the folder with icons itself, not the parent folder of the folder with the icons.


Add dependency badge for Pipenv applications [GithubPipenv]

I recently published https://github.com/metabolize/rq-dashboard-on-heroku and want to add badges to show the locked version of Python and rq-dashboard, the main dependency it’s wrapping.
This is along the lines of #2259, which was for package.json-based applications, and also included some discussion of a Python application that used requirements.txt. It’s useful for showing the pinned version of any dependency in a Python application that uses a lockfile.
In the future, as an alternative to reading Pipfile.lock, I could see expanding this to read Pipfile. However for my purposes I prefer to show the locked dependency, since that’s the version that a user of my package would actually get if they ran it on Heroku.

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @paulmelnikow!

  Generated by :no_entry_sign: dangerJS against a5000b35784c61145bbecf86f425f7704992e779

It seems like if the default branch name is not master than the badge option with no branch specified fails. I'm assuming that's why there is a second option with the branch name, but is there a simple way to make it so the default branch is used on the badge with no branch name specified?

Hi @h1nk, thanks for the question. I just dug into this for a minute and while I think we can fetch repo contents from the default branch using the API, those queries are only used when you self-host with your own GitHub credentials. On the production server we fetch repo contents using raw.githubusercontent.com URLs which as far as I can tell need the branch hard-coded (i.e. you can't ask for the default branch).
We do have a lot of API quota at our disposal so if pulling content from the default branch seems important, we could drop this quota optimization and always use the API. It'd also simplify the code which is a plus.

I think the badges that already have options to specify branch names explicitly should probably be kept for user who wish to use them, but it would definitely be great to see automatic default branch detection for the badges with no branch name specified if it doesn't incur a significant API quota penalty and isn't too problematic to change in the codebase.
I'd love to hear some input from others about whether this would be a good or bad addition. :)

Probably not blocking this, and it's not the only badge affected. Would you mind opening a new issue to discuss it?
I left this open for a few days in case @chris48s wanted to take another pass but I think I'll go ahead and merge.


More robust parallel directory and file removal

Follow-up to PR ( https://github.com/nanshe-org/nanshe_workflow/pull/145 ).
Makes some adjustments to the parallel directory and file removal strategy added in PR ( https://github.com/nanshe-org/nanshe_workflow/pull/145 ). This should make it work a bit smoother on NFS should it be needed. Improves the robustness of removal in two ways. First handles the case where directories and/or files may not have been fully cleaned up in a step or at the end by cleaning them up in the task or taking a second serial pass at the end. Second handles the case that the file or directory to remove is already gone and suppress the corresponding error when it pops up (though re-raises all other errors). Through this combination, the parallel removal process should be more robust to NFS being slow and make sure that the removal is completed regardless.

After a recent experience with NFS, seems like this will definitely be necessary. In particular saw file removal fail because a file was already gone and saw the removal of the old Zarr directory not complete. So good that we had this waiting in the wings.
Tacked on another change to allow the Zipped Zarr to be used immediately after Zipping completes instead of waiting for removal of the Zarr Directory to complete. Still can't technically use this in our setup because. However this way if removal fails and we don't want to bother waiting for it, we can jump right into the next step and take care of things manually if needed.

Proceeded cleanly through one deletion using this. So looks like it is working thus far. :)


Add jsx, ts, and tsx for sourcemap generation

Fixes https://github.com/webpack/webpack.js.org/issues/151
What kind of change does this PR introduce?
bugfix
Did you add tests for your changes?
Nope T_T
If relevant, link to documentation update:
https://github.com/webpack/webpack.js.org/issues/151
Summary

Does this PR introduce a breaking change?
I don't think so
Other information
This PR solves when entries for jsx / ts / tsx would not generate sourcemaps

This should be solved in karma-webpack. karma-webpack uses input filename as output filename, which causes this weird behavior. Instead output filename should always be a Javascript file. Compiling a.ts to a.ts is incorrect as the output code is javascript. karma-webpack should use a.ts.js instead, by appending .js to the input filename.

@sokra actually this pr is for https://github.com/facebookincubator/create-react-app/issues/1593 , https://github.com/webpack/webpack.js.org/issues/151 is just another similar issue i've found in this repo


[LinalgExt] Do not decompose attention op with manual analysis.

We should rely on the bufferization analysis to eliminate buffers for us, but not pull in the logic manually. It is dangerous especially if the upstream logics change.
Fixes https://github.com/openxla/iree/issues/16421

I think this is wrong. It was
      %22 = linalg.generic {indexing_maps = [affine_map<(d0) -> (d0)>, affine_map<(d0) -> (d0)>], iterator_types = ["parallel"]} ins(%20 : tensor<128xf32>) outs(%arg4 : tensor<128xf32>) {
      ^bb0(%in: f32, %out: f32):
        %29 = arith.subf %out, %in : f32
        %30 = math.exp2 %29 : f32
        linalg.yield %30 : f32
      } -> tensor<128xf32>

We should pass arg4 as inputs because of %29 = arith.subf %out, %in : f32. It used the previous result to update the value. If I updated it to below, I hit the same failure. Let's revert this for now because it is introducing numerical issues.
        %25 = tensor.empty() : tensor<64xf32>
        %26 = linalg.generic {indexing_maps = [affine_map<(d0) -> (d0)>, affine_map<(d0) -> (d0)>, affine_map<(d0) -> (d0)>], iterator_types = ["parallel"]} ins(%23, %arg4 : tensor<64xf32>, tensor<64xf32>) outs(%25 : tensor<64xf32>) {
        ^bb0(%in: f32, %in_7: f32, %out: f32):
          %31 = arith.subf %in_7, %in : f32
          %32 = math.exp2 %31 : f32
          linalg.yield %32 : f32
        } -> tensor<64xf32>

I think this is wrong. It was
      %22 = linalg.generic {indexing_maps = [affine_map<(d0) -> (d0)>, affine_map<(d0) -> (d0)>], iterator_types = ["parallel"]} ins(%20 : tensor<128xf32>) outs(%arg4 : tensor<128xf32>) {
      ^bb0(%in: f32, %out: f32):
        %29 = arith.subf %out, %in : f32
        %30 = math.exp2 %29 : f32
        linalg.yield %30 : f32
      } -> tensor<128xf32>

We should pass arg4 as inputs because of %29 = arith.subf %out, %in : f32. It used the previous result to update the value. If I updated it to below, I hit the same failure. Let's revert this for now because it is introducing numerical issues.
        %25 = tensor.empty() : tensor<64xf32>
        %26 = linalg.generic {indexing_maps = [affine_map<(d0) -> (d0)>, affine_map<(d0) -> (d0)>, affine_map<(d0) -> (d0)>], iterator_types = ["parallel"]} ins(%23, %arg4 : tensor<64xf32>, tensor<64xf32>) outs(%25 : tensor<64xf32>) {
        ^bb0(%in: f32, %in_7: f32, %out: f32):
          %31 = arith.subf %in_7, %in : f32
          %32 = math.exp2 %31 : f32
          linalg.yield %32 : f32
        } -> tensor<64xf32>

Oh, ok good find. I wasnt paying attention to that.


Fix encoding to 'UTF-8' in check_output decode.

As title.
Fixes #2924

Codecov Report

Merging #2932 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #2932   +/-   ##
=======================================
  Coverage   85.84%   85.84%
=======================================
  Files         326      326
  Lines       68311    68311
  Branches     7721     7721
=======================================
  Hits        58640    58640
  Misses       8430     8430
  Partials     1241     1241

Looks good to me, and passes all the CI tests.

Thanks! That fixed it. :)


Update kmesh image

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:
Sorry this is introduced by mistake
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

/lgtm
/approve


DiagnosticService for Staging observations

We currently have:
LaboratoryObservationTopic.DiagnosticService is #laboratory

The determination of the TNM classification is made by a clinician, and cannot be unequivocally connected to a particular lab result, right? I'm not sure what the right diagnostic service is for this scenario.
Context: I'm reviewing the existing local codes assigned to LaboratoryObservationTopicDiagnosticService to align with the FHIR DiagnosticServiceSections value set.

Good point.  The TNM classification is made by the clinician however based on sources that could be clinical, patholological, and by exam so it could be many services.  Perhaps #exam would have been a better choice over laboratory.  Feel free to change it to that instead.

DiagnosticService has 0..* cardinality, so we can simply delete where it doesn't make sense. However, note that using the LaboratoryObservation applies the constraints of LaboratoryObservationTopic:
Element:		LaboratoryObservationTopic
Based on:	ObservationTopic
Description:	"The topic composition for laboratory observations. A specimen is required, anatomical location is excluded (since the specimen indicates the collection body site). Also includes a diagnostic service (indicating the type of laboratory), not present in general observations."
	1..1	ref(Specimen)
	0..0	AnatomicalLocation  // AnatomicalLocation is where the Specimen was collected
		Category is OBSCAT#laboratory
	0..*	DiagnosticService

Since it seems you're inclined to use OBSCAT#exam for stating elements, I would say you want to use another class. The only thing LaboratoryObservation guives you is a mandatory Specimen. Take a look at cimi_statement.txt to see what fits best.

Reviewed with @markkramerus and an authoring change of the EntryElement to based on Observation allowed for a change of the category to any of the hl7 observation category options (like exam).

This will be released on the next pull request.


dnm: toast hidden behind safari search bar

Closes
✅ Pull Request Checklist:

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

📝 Test Instructions:

🧢 Your Project:

closing bc can't reproduce. mainly created this pr just so i could have a build i could share. will reopen if i need to update build.


Firestore not working in Production

Angular: 7.3.9
Firebase: 5.11.1
AngularFire: 5.2.1
How to reproduce these conditions
inject AngularFirestore into constructor
follow instructions to pull items from db
Run in dev
Find it works.
push to production
get error: Uncaught (in promise): TypeError: _I(...).firestore is not a function
Expected behavior
Items should be pulled from database in production as it does in dev.
Issue only seems to present itself in production
Actual behavior
Error preventing the proper loading of angular site.
I have done Everything everyone has said in a similar post but to no avail. I had it working in production just last week on my surface pro but moving to my PC has apparently broken it. the main class where I handle the code has not changed

the class in the above screenshot is the central part of my repository. All code derives from that, should they want to access the database.

Rolled back to AngularFire v5.1.3 which fixed issue. I must have accidentally upgraded.

Rolled back to AngularFire v5.1.3 which fixed issue. I must have accidentally upgraded.

@Emxm3
This is still an issue with Angular 8 and @angular/fire 5.2.1
I don't think that reverting to previous version solves this issue...

I'm using angular 7.3.9 for this project. Reverting to the previous version resolved my issue and is now in production.

Just import AngularFirestoreModule, ad it will fix it;  I'm using angular 8
imports     : [
BrowserModule,
BrowserAnimationsModule,
HttpClientModule,
RouterModule.forRoot(appRoutes),
ToastrModule.forRoot(),
TranslateModule.forRoot(),
    // Material moment date module
    MatMomentDateModule,

    // Material
    MatButtonModule,
    MatIconModule,

    // Fuse modules
    FuseModule.forRoot(fuseConfig),
    FuseProgressBarModule,
    FuseSharedModule,
    FuseSidebarModule,
    FuseThemeOptionsModule,

    // App modules
    LayoutModule,
    AuthModule,
    UserInfoModule,
    ConnectionsModule,

     // firebase
     AngularFireModule.initializeApp(environment.firebaseConfig),
     AngularFirestoreModule,
     AngularFireDatabaseModule,
     AngularFireAuthModule,
     DynamicProfileModule
],


Add 1.10 and rc to tested versions

As the title says, essentially the same changes as https://github.com/QEDjl-project/QEDprocesses.jl/pull/71 but for QEDevents.jl

Should be good to merge @szabo137

I would like to merge this after the refactoring is finished.


Add a way to define rollback changesets

Great tool but it would be useful to have a way to define rollbacks to changesets programmatically.

mongodb is a no-transactional db. This feature would be to complicated for such simple tool.

Well, this changed with MongoDB 4.0.
Are you interested in a PR for supporting this feature?


fix(dates): don't forward mantine props

This stops forwarding the props to the Mantine component 🤔


Swap out reference implementation for Haxe

[x] Merge husl-haxe into this repo
[ ] Update JavaScript build chain
[ ] Update Travis CI build
[ ] Update READMEs
[ ] Push out new JavaScript build
[ ] Merge into master

Oh, by the way, so you're dropping the haxelib library idea?

No, still doing it. Just made a new issue: https://github.com/husl-colors/husl/issues/30


Add read_file macro method

Check the diff for the docs.
The rationale for introducing this is that:

Embedding resources has already popped up several times, either here in github or talking with others personally.
One can currently use cat filename.txt but that's not portable, and one has to redirect errors to avoid getting a compilation error.
read_file returns nil if the file doesn't exist. With that, one can choose to deal with nil at compile time or runtime.
It should be a bit faster because an external process doesn't need to be started

This works for text files, but one can also use it for binary data: simply call to_slice afterwards to get the bytes (though we probably need a literal for binary data, but that's another issue)
Actually, it doesn't work for binary files because the string won't be able to be embedded at all. We could probably add a read_binary_file later, if we really want to do that.
Fixes #1649 and #2751

Forgot to mention that this works more or less like the system call: one has to use __DIR__ to get a file relative to the file where the macro is defined. But I think that's OK.

Nim is another language that has this feature: https://github.com/nim-lang/Nim/blob/master/lib/system.nim#L3262 , and the reason is embedding resources too.

To be honest I'm not sure we should do this before it works for any kind of data. Returning Slice(UInt8) should be the general case, not the special case. Either variant should return a pointer into the data section of the generated binary, so I don't think this can be a macro that just returns any kind of literal.

https://github.com/graphitemaster/incbin shows an interesting approach, but sadly LLVM says no:
asm(%(
.section .rodata
.global gBlobData
.type gBlobData, @object
.balign 16
gBlobData:
.incbin "hello.cr"
.global gBlobEnd
.type gBlobEnd, @object
.balign 1
gBlobEnd:
.byte 1
.global gBlobSize
.type gBlobSize, @object
.balign 16
gBlobSize:
.int gBlobEnd - gBlobData
))

lib LibEmbed
  $gBlobData : LibC::Char*
  $gBlobSize : LibC::UInt
end

pp LibEmbed.gBlobSize
pp LibEmbed.gBlobData
blob = Slice.new(LibEmbed.gBlobData, 1)
pp blob

LLVM ERROR: Cannot represent a difference across sections

Bump.

Just use {{ `cat file.txt` }}

Great preparation for Windows support.

@asterite And what about reasons you've given in point #2?

@Sija With ifdef one can create a version for Windows if that matters. Adding this makes the language more complex, and it feels like a hack (we can't keep adding macro methods forever)

@asterite I think you meant if flag?(:windows), ifdef was removed in v0.20.0.

Any chance of this or something similar being revived? It'd be nice to have a platform independent/shell-free way to embed data in a macro.

You might want to take a look at schovi/baked_file_system.

Thanks @straight-shoota! I saw that in #1649 too. I'd love to see this become part of the language at some point, but baked_file_system is good for now :smile:

Could this PR be revaluated once more? @asterite come to your senses, please! ;)

@jhass the reason LLVM will complain is that asm() at the top level is still inline asm in that it's inside a method. This should be doable if global/module level ASM was implemented.

Cool, so let's do that!


Minor consistency issue in example location name

I assume that "brooklyn" should be there instead of "new york", since both the original and the rewritten example queries mention "brooklyn".

Thanks @radu-gheorghe


api: Remove encoding of string in update_user endpoint.

Remove unnecessary json_validator for full_name parameter.
Update frontend to pass the right parameter.
Update documentation and note the change.

Fixes #18409.

Testing plan:
GIFs or screenshots:

This looks like it needs some debugging; the CI failure is real.


Make the grammar PCRE compatible

This pull request changes 1 regular expressions in an attempt to make the grammar PCRE-compatible. While Sublime Text uses an Oniguruma engine, github.com (which rely on this grammar for Zephir highlighting) uses a PCRE-based engine. The two engines interpret \h differently, and only Oniguruma engines support implicit count modifiers ({,n}).

Thank you


Laravel db:seed specify class

Hello.
I am wondering is there any command that can execute db:seed while specifying the class?
In Laravel we can achieve like this:
php artisan db:seed --class=SettingsTableSeeder

Expected Deployer command:
dep db:seed --class=SettingsTableSeeder

I go through laravel.php recipe and did not found related to my problem.
Regards

How about writing your own task based upon the native artisan:db:seed from Deployer?
You may try using options to specify the class:
Using input options
Arguments might work as well, but I'm not sure whether they will be supported in the future.

Ahh thank you! Almost forgot the input options.


ANMS_EXP_DAP_005 (ARIs) Sorting and Information

It was noted when sort is executed on a column without data is selected, the table was still sorted.  It is not clear what column is used.
It was also noted the ARIs panel lacks an 'information' icon informing the user of the purpose of the panel.

Duplicate of Issue 99

duplicate of 99


Fix to Bug 64480

Description
User defined variables in the config element is duplicated in the Jmeter-5.3
The root cause of that is the introduction of clearing border function in HTTPArgumentsPanel
Motivation and Context
This will resolve the duplicated entry of User defined variables in the config element
https://bz.apache.org/bugzilla/show_bug.cgi?id=64480
How Has This Been Tested?
Tested a patch locally.. All test passed and the duplicated entry has been removed. no other functionality brroken

Thanks for contribution.
Note that issue had been fixed before by:
https://github.com/apache/jmeter/commit/a0e132e59c820858225e58a5e6f1f091c60f100d
Regards


Remove AM and IG config from the initializer repository.

The initializer repo should just contain the go code that will deploy config. The config should live in it's own git repository. This way it will be easier for customers to just take the config indeplendently of the initializer.
Separation of concerns.

Change the approach from cloning code in github to try and build the container with the code from another repo in it via github action for building container & dockerfile


Pretrained model is valid only for english speechs?

if there is another speech but not with English, we must train model again?  thanks.

Yes, but loading the English weights might be quite useful as we investigated in this work: https://arxiv.org/abs/1712.06340

What sampling rate and other voice params should the audio be (in other language) to get a result on pretrained weights?
I tried using pretrained weights and the enhanced audio file is blank.


Revert "Periodically update pod status from kubelet."

Reverts GoogleCloudPlatform/kubernetes#5205
Apart from the deadlock fixed in #5540 this PR is breaks something else (e.g. scheduler hangs on binding).

cc @vmarmol

Since the original PR broke e2e tests, I'm going to merge this PR now.

Confirmed that reverting this PR fixed e2e tests on jenkins.
@fgrzadkowski is currently working on fixing the problems with the original PR and resend it for review.

Thanks for catching and reverting!


Platform Agnostic Filepath

Uses Path.DirectorySeparatorChar instead of @"\" to allow the mod to work on non Win32 platforms, such as MacOS and Linux.

will check out the fix and possibly apply it to LowTierMinos.

We're making it out of -force-d3d11 with this one


Search OCLC numbers

Extend service to search OCLC ids, replacing the (defunct) getVoyRec 035A field.

@tampakis these are searchable now, correct?

In the catalog, yes.


BUG] Segmentation fault at 0x00000000000001e0 in IO_Event_Selector_mark

Found another crash that's different from the two previous ones. (NB this is with io-event 1.7.1, no idea if it's fixed in 1.7.2 yet).
-- C level backtrace information -------------------------------------------
/usr/local/ruby/lib/libruby.so.3.4(rb_print_backtrace+0x14) [0x7b5bbbbd2f81] /tmp/ruby-build/ruby-3.4.0-preview2/vm_dump.c:822
/usr/local/ruby/lib/libruby.so.3.4(rb_vm_bugreport) /tmp/ruby-build/ruby-3.4.0-preview2/vm_dump.c:1151
/usr/local/ruby/lib/libruby.so.3.4(rb_bug_for_fatal_signal+0x104) [0x7b5bbb9ba794] /tmp/ruby-build/ruby-3.4.0-preview2/error.c:1107
/usr/local/ruby/lib/libruby.so.3.4(sigsegv+0x46) [0x7b5bbbb15ca6] /tmp/ruby-build/ruby-3.4.0-preview2/signal.c:930
/lib/x86_64-linux-gnu/libc.so.6(0x7b5bbb4d4520) [0x7b5bbb4d4520]
/usr/local/ruby/lib/libruby.so.3.4(RVALUE_MARKED+0x8) [0x7b5bbb9e5928] gc/default.c:1167
/usr/local/ruby/lib/libruby.so.3.4(gc_mark_set) gc/default.c:4372
/usr/local/ruby/lib/libruby.so.3.4(gc_mark) gc/default.c:4431
/usr/local/ruby/lib/libruby.so.3.4(rb_gc_impl_mark) gc/default.c:4496
/usr/local/ruby/lib/libruby.so.3.4(gc_mark_internal) /tmp/ruby-build/ruby-3.4.0-preview2/gc.c:2062
/usr/local/ruby/lib/libruby.so.3.4(gc_mark_internal) /tmp/ruby-build/ruby-3.4.0-preview2/gc.c:2060
/usr/local/ruby/lib/libruby.so.3.4(rb_gc_mark_movable) /tmp/ruby-build/ruby-3.4.0-preview2/gc.c:2068
/artifacts/bundle/ruby/3.4.0+0/gems/io-event-1.7.1/lib/IO_Event.so(IO_Event_Selector_mark+0x28) [0x7b5b8de5b529] ./io/event/selector/selector.h:123
/artifacts/bundle/ruby/3.4.0+0/gems/io-event-1.7.1/lib/IO_Event.so(IO_Event_Selector_EPoll_Type_mark) ./io/event/selector/epoll.c:108
/usr/local/ruby/lib/libruby.so.3.4(gc_mark_children+0x19) [0x7b5bbb9e896f] gc/default.c:4629
/usr/local/ruby/lib/libruby.so.3.4(gc_mark_stacked_objects) gc/default.c:4650
/usr/local/ruby/lib/libruby.so.3.4(gc_mark_stacked_objects_all) gc/default.c:4688
/usr/local/ruby/lib/libruby.so.3.4(gc_marks_rest) gc/default.c:5708
/usr/local/ruby/lib/libruby.so.3.4(gc_marking_exit+0x0) [0x7b5bbb9eae99] gc/default.c:5822
/usr/local/ruby/lib/libruby.so.3.4(gc_marks) gc/default.c:5833
/usr/local/ruby/lib/libruby.so.3.4(gc_start) gc/default.c:6469
/usr/local/ruby/lib/libruby.so.3.4(heap_prepare+0x2c) [0x7b5bbb9ec398] gc/default.c:2102
/usr/local/ruby/lib/libruby.so.3.4(heap_next_free_page) gc/default.c:2308
/usr/local/ruby/lib/libruby.so.3.4(newobj_cache_miss) gc/default.c:2416
/usr/local/ruby/lib/libruby.so.3.4(newobj_alloc+0xf) [0x7b5bbb9ed637] gc/default.c:2440
/usr/local/ruby/lib/libruby.so.3.4(rb_gc_impl_new_obj) gc/default.c:2523
/usr/local/ruby/lib/libruby.so.3.4(newobj_of) /tmp/ruby-build/ruby-3.4.0-preview2/gc.c:891

Thanks for the report. The issue comes from this line:
https://github.com/socketry/io-event/blob/50f15b40eac9f534a6e1c7d210255efeed356396/ext/io/event/selector/selector.h#L123
Looks like we are trying to mark a fiber that doesn't exist any more.

I've released v1.7.3 with a possible fix for this.

@casperisfine any more crashes?

I haven't seen any in a week, but I also haven't had the chance to upgrade to 1.7.3 yet. So it seems relatively rare.
I think we can assume it's fixed, I'll reopen if I see it again on 1.7.3

Thanks so much for your help analyzing the issues and fixing the bugs!


adding nodes per js

I want to add nodes per js.
I found this fiddle but it doesn't work anymore
https://jsfiddle.net/3q9Ma/223/
when I go through the code with the debugger
if(!this.check("create_node", node, par, pos)) {
				this.settings.core.error.call(this, this._data.core.last_error);
				return false;
			}

I'm calling
jst.create_node(jst.get_selected()[0])

Set core.check_callback to true. As stated in the docs - unless this is set all structure modifications are prevented.


.validation file for Trufflesuite.Ganache may need to be removed

It seems like the folder doesn't contain a package and only the .validation file is there.
https://github.com/microsoft/winget-pkgs/tree/master/manifests/t/Trufflesuite/Ganache

I think they moved it to a different repo, that's why it was no longer being updated.


Prompt for administrator login when opening user management

Currently, when opening user management as an Administrator without having previously entered your administrator password in the tutor overview, all requests for the user list will fail because your session is not authenticated with the administrator password yet.
Really it should ask for your password by default when you haven't yet provided it, just as in the tutor view.

I think this is a feature request and not a bug, because the current architecture "password promt only on dashboard page" works :)

I think this is a feature request and not a bug, because the current architecture "password promt only on dashboard page" works :)

True, but at the same time this feature missing breaks the administrator user list by default. So while the feature itself works as expected it causes an issue in other places


A Modern Website made using GSAP library

#3 too-good-co-clone

Can you explain what you've done here ?
and the USP of this code ??

What Have I used?
-> Here, I have used a GSAP (GreenSock Animation Platform) .
What is USP of this contribution?
-> As we know, most modern websites have at least some animation that can be performed using CSS. But Here I have used Gsap to perform the same animation including smooth scrolling(such as Locomotive.js).


Feature: Destructured imports in variable declarations, Refactor parser with Babel type guards

Love this project, and having a ton of fun going through the code!
!! Edited !!
1) Features

Newly supports a subset of require() syntax

DOES support object destructuring with alias assignment

e.g. const { foo: alias, bar } = require("./module")

DOES support array destructuring

e.g. const [foo, bar] = require("./module")

DOES NOT support namespaces and member expressions

e.g. const foo = require("./module"); ... ; <foo.component />;

Newly supports a subset of variable declaration imports

DOES support object destructuring with alias assignment, and array destructuring
(no actual use cases, but intermediate step towards fully supporting dynamic imports)

e.g. const { foo: alias, bar } = import("./module")
e.g. const [foo, bar] = import("./module")

DOES NOT support await expressions, .then() chains, or Promise.resolve() calls for dynamic imports

e.g. const foo = await import("./module")
e.g. import("./module").then(mod => mod.loadPage())
e.g. const foo = Promise.resolve(import("./module"))

2) SaplingParser

Extensive rewrites in .getImports(), .findVarDecImports() methods.
Explicit checks with strong typing for all possible variations in import statements.
Passes all previously written tests.
Readability, modularity, extensibility improvements.

3) Proposals: ComponentTree, TreeItem

These class object implementations are tentative proofs of concept.

update: files not intended for merging removed as of 3db3d7b to avoid confusion.

Seems advisable to decouple tree state data/methods from parsing logic

MVC: Model - data objects, Controller - parser, View - webview.
vscode-treeview's TreeDataProvider/TreeItem APIs.
The parser could be made into a static class with only .parse() exposed as public

TreeItems only contain pointers to self, children, parent, ancestors, while node objects are kept in a normalized data store in ComponentTree.

Currently a breaking change. Vscode messaging and webview would need to be refactored (useMemo, useContext?).
Rapid sequential access to nodes: adds an optimized alternative to current non-tail-recursive traversal method.
Should make implementing features that either affect all nodes at once or require access to heavily nested nodes more straightforward and performant.

e.g. Expand/Collapse all

4) Linter config revamp

Stronger typing and stricter checks.
Promotes best practices.
Relaxed strict mode in typescript compiler due to implicit 'any' type used in .parseLazyLoading() (previously .findVarDecImports()).

Water for the tree :)

Please do not merge yet! Found a bug with expand toggle and bold active file behavior. Will update after investigation.
I haven't made any changes in webview for this PR, so shouldn't take too long to track down.

Converted to draft because I found a bug with expand toggle and bold active file behavior. Will update after investigation.
I haven't made any changes in webview for this PR, so shouldn't take too long to track down.

Closing to reopen after rebasing to dev and isolating webview updates for separate PR.


chore: add a migration command to create needed proposal drafts

Description :sparkles:
Tool to create missing proposal drafts for older applications.
Test

have some old applications or create with python manage.py seed --number=10
git checkout main && git pull
migrate by restarting backend docker container
run python manage.py create-proposal-drafts
you can re-run command by removing created rows from bf_applications_decision_proposal_draft table

APPLICANT branch is deployed to platta: https://helsinkilisa-ui-pr2931.dev.hel.ninja :rocket::rocket::rocket:

HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr2931.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://helsinkilisa-ui-handler-pr2931.dev.hel.ninja :laughing::tada::tada::tada:

TestCafe result is success for https://helsinkilisa-ui-pr2931.dev.hel.ninja :laughing::tada::tada::tada:


Fix bug: on even number of slides in center mode, extra slide gets active

Applied the patch from @weberml2 https://github.com/weberml2/slick/commit/1b29b453388afa9ea2275d71ab5909dac4dc3c82 to latest version.
See https://github.com/kenwheeler/slick/issues/1571
Would be great if you could apply this pull request in your next version.

this is issue is really frustrating when trying to adjust the sliders appearance for different responsive widths.
I vote to get this merged!


Suppose i have one initiative in which Deny,Audit and AuditifNotexists effects are there for policies.How to pass in assignment_effect in assignment.org??

Issue Template
Prerequisites

[x] I am running the latest version
[x] I checked the documentation and found no answer
[x] I checked to make sure that this issue has not already been filed

Context

Module Version:
Terraform Version:
AzureRM Provider Version:

Expected Behavior

Current Behavior

Possible Solution

Failure Information (for bugs)

Steps to Reproduce

Failure Logs

@Nikhleshk as mentioned in the main repository readme:

If any two member_definition_ids contain the same parameters then they will be merged() by this module, in most cases this is beneficial but if unique values are required it may be best practice to set unique keys such as [parameters('whitelist_resources_effect')] instead of [parameters('effect')].

Do you mean changing the parameter name in the policy definitions?
If that's not what you mean, and there is a way to map parameters in the policy definition to parameters in each individual policy then can you provide an example in your readme or in the examples section?

Do you mean changing the parameter name in the policy definitions?

In short, yes. If mixed values are required during assignment it would be best practice to change the parameter name within each definition such as "whitelist_resources_effect" instead of "effect"

@timwebster9

Do you mean changing the parameter name in the policy definitions?

In short, yes. If mixed values are required during assignment it would be best practice to change the parameter name within each definition such as "whitelist_resources_effect" instead of "effect"

hmm actually I'd say it's pretty much a requirement to be able to map custom parameters in the initiative definition.  We use a lot of built-in policies that we can't change the parameter names for.  I know that creating a custom version of the policy is an option, but we've moved away from doing that.

We are also mixing built-in and custom definitions in the 1 initiative because it often makes sense to not duplicate what is already available in Azure. I was able to update the initiative module in this repo to have 'unique-ness' for each parameter reference within the policy definition reference.
Basically using format() to combine the parameter name with the policy definition's reference ID to produce a string which prevents definitions with the same parameter names (effect is a common example) from being combined and producing an error when the parameter's allowed values are different (DINE vs Modify, etc). I'm sure there's better/more elegant ways to do this 😄
  dynamic policy_definition_reference {
    for_each = [for d in var.member_definitions : {
      id         = d.id
      ref_id     = substr(title(replace(d.name, "/-|_|\\s/", " ")), 0, 64)
      parameters = jsondecode(d.parameters)
      groups     = []
    }]

    content {
      policy_definition_id = policy_definition_reference.value.id
      reference_id         = replace(policy_definition_reference.value.ref_id, "/\\s/", "")
      parameter_values = jsonencode({
        for k in keys(policy_definition_reference.value.parameters) :
        k => { value = "[parameters('${format("%s_%s", k, replace(policy_definition_reference.value.ref_id, "/\\s/", ""))}')]" }
      })
      policy_group_names = policy_definition_reference.value.groups
    }
  }

The remaining uplift to do (which I haven't figured out how) is for the initiative's local parameters to do something similar as above.
parameters = jsonencode(local.parameters) #Need to uplift so parameter name is unique for each definition and includes the definition reference ID in the parameter name.


fix: missing media type in DocumentMeta

What is it?

[ ] Feature / enhancement
[ ] Bug
[x] Docs / tests / types / typos

Description
fix #4220
Use cases and why
see #4220
Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation (N/A)
[ ] Added new tests to cover the fix / functionality (N/A)

will need to run:
pnpm api.update

since the public API changed!

Thank you very much!!


Add agent coordinator worker for amazon ssa support

Add a new worker call AgentCoordinatorWork for Amazon SSA support. This PR depends on https://github.com/ManageIQ/manageiq-providers-amazon/pull/318

@roliveri @jerryk55 Please review.


--jspath or --path support for retireJS

Is your feature request related to a problem? Please describe.
The CLI version of RetireJS implements these parameters, and I am currently working on a project which does not have a package.json, or package-lock.json, the dependencies are all in a folder. In my testing, RetireJS can scan filenames and comments of the JS dependencies, and outputs appropriate vulnerable dependencies.
Describe the solution you'd like
It would be very helpful if the --jsPath or --path parameters of retireJs are supported.
Describe alternatives you've considered
None yet.
Additional context
Dependency-check logs read: "Finished RetireJS Analysis (0 seconds)" There are no logs that indicate that there are no package.json or package-lock.json in the project.

The ODC implementation of RetireJS does not use the package.json or package-lock.json. The RetireJS implementation within ODC only covers the client side JS. The node.js scanner of Retire.JS has not been implemented yet.

thanks for clarifying, setting the scanSet parameter in dependencyCheck worked as well.


Repixelatedmc Overworld V3650

Changed Rotation to lower ram pressure
Cherry Blossom changes with
Sakura violet/red tree distribution changes

Note: Magical forest isnt active my friend did a whoopsie that caused all our progress to be gone for the day so yea.

could you edit landchance nexdoor ? its set to 1 but idk how to revert it at this point


CHMOD making incorrect permissions

Hi Guys, firstly I'd like to say awesome job getting bash and Ubuntu working in win 10, BUT  I seem to have an issue.
When I am, trying to set the permissions on a file using chmod it doesn't set the permissions as intended.

Your Windows build number:  (Type ver at a Windows Command Prompt)
10.0.15063

What you're doing and what's happening:  (Copy&paste specific commands and their output, or include screen shots)

I created a sample.txt file
set 755 permissions on sample.txt file: 'chmod 755 sample.txt'
ls -all to see permissions
set 400 permissions on sample.txt file: 'chmod 400 sample.txt'
ls -all to see permissions.

Then I did a compare doing the same on a true Ubuntu install and you can clearly see permission changes don't match.
Bash CLI

TRUE Ubuntu OS 17.x

PLEASE LOOK INTO THIS AS IT DROVE ME NUTS TRYING TO WORK THIS OUT as it caused a problem trying to ssh with private key files that were NOT permissioned as -r-------- when using the BASH on ubuntu in win10.
Keep up the development team !!!!

What's wrong / what should be happening instead:
Permissions should be changed correctly

Strace of the failing command, if applicable:  (If <cmd> is failing, then run strace -o strace.txt -ff <cmd>, and post the strace.txt output here)
Command doesn't fail as such just doesnt do what it is supposed to

@GFRoSTY - DrvFS, i.e., under /mnt/<drive>/<dir>, does not have permissions that same as linux. So, just cd ~ before chmod.

Hi sunjoong
I did cd ~ and then tested again and it now chmod 400 gives the correct permissions so I'll keep any eye out to make sure for true linux VoIFS mode when needed
Thanks


Moved FramesPanel to Java.

It doesn't compile for me without these changes.
This class moving was performed after consulting with Kotlin team.

May be the problem is that I'm using JDK 1.7, but I'm not quite sure.

Can you please move cosmetic changes (like Kotlin API migrations) into a separate PR, so that we can see the code breaking the compilation?

Yes, I'll do it in a minute.


CORS error when uploading via S3 file adapter

Environment Setup
Parse Server running on AWS elastic beanstalk with configured S3 files adapter.
  ...
  filesAdapter: new S3Adapter(
    "****",
    "****",
    "my-bucket",
    {
      bucketPrefix: "files/",
      directAccess: true
    }
  )
  ...

Steps to reproduce
Using the JS SDK from an external Website to upload an Image:
  var parseFile = new Parse.File(name, file, type);
  parseFile.save().then(function() {
  ...

Logs/Trace
Error in chrome:
XMLHttpRequest cannot load http://myelasticbeanstalkURL.com/parse/files/RNLDeC7GCT.png. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http:/myexternalURL.com' is therefore not allowed access.

I believe the issue is what Parse is trying to solve in this thread [https://github.com/ParsePlatform/parse-server-example/issues/53].
BTW, please show how you made it if you succeed to upload file with S3. Thanks!

Fixed with #876

I'm still getting this issue when using the S3Adapter.
No 'Access-Control-Allow-Origin' header is present on the requested resource.
This is only a problem when saving files, all other requests are fine.

What call are you issuing&

Client code:
var myFile = new Parse.File('photo.jpg', bytes);
myFile.save().then(function() {
    myObject.set('image', myFile);
    myObject.save();
});

General:
Request URL:https://myapp.herokuapp.com/parse/classes/myClass/Ym40Fke4m5
Request Method:POST
Status Code:503 Service Unavailable
Remote Address:<IP_ADDRESS>:443

Request headers:
Accept:*/*
Accept-Encoding:gzip, deflate
Accept-Language:en-US,en;q=0.8,fr;q=0.6
Connection:keep-alive
Content-Length:541
Content-Type:text/plain
Host:myapp.herokuapp.com
Origin:http://localhost:8000
Referer:http://localhost:8000/myPage.html
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36
x-ijt:p3b2a2fs5qoldcphug0cstd1m9

Response headers:
Cache-Control:no-cache, no-store
Connection:keep-alive
Content-Length:484
Content-Type:text/html; charset=utf-8
Date:Wed, 25 May 2016 20:49:02 GMT
Server:Cowboy

Request payload:
_ApplicationId: "(censored)"
_ClientVersion:"js1.6.14"
_InstallationId:"(censored)"
_JavaScriptKey:"(censored)"
_method:"PUT"

(All my object attributes)
[...]

Error log:
XMLHttpRequest cannot load https://myapp.herokuapp.com/parse/classes/myClass/Ym40Fke4m5. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8000' is therefore not allowed access. The response had HTTP status code 503.

The same request will work fine if I run Parse Server locally.


e2e flakey test - should become Unhealthy, then transition to Healthy and then Unhealthy again

The e2e test "should become Unhealthy, then transition to Healthy and then Unhealthy again" occassionally fails. Some occurences:

https://github.com/PlayFab/thundernetes/runs/7504251233?check_suite_focus=true
https://github.com/PlayFab/thundernetes/runs/7503967025?check_suite_focus=true
https://github.com/PlayFab/thundernetes/runs/7476483200?check_suite_focus=true

We should understand why and fix it.

This might be fixed by #352, let's keep :eyes: on it


Document local usage

How to use on local machine?
Stripped down Julia intro?

Current README is written generally enough for use on PACE or local machine.


cl22: Fix resource leak in SVM test  The buffer was never unmapped.

no fix only on cl22_trunk branch

PR merged, closing.


FindIgnOGRE2: prefer versioned component libraries

Both ogre1.9 and ogre2.1 install component libraries named
libOgreOverlay. For ogre1.9, an unversioned symbolic link is
installed directly into the lib folder, while in our debian
libogre-2.1-dev and brew ogre2.1 packages, an unversioned symbolic
link is installed in lib/OGRE-2.1.
This find module uses find_library to find Ogre component libraries
with HINTS pointing to the lib/OGRE-2.1 subfolder, which is helful
but limited because the CMAKE_PREFIX_PATH is searched before
the HINTS. When building ignition-rendering with homebrew, the
CMAKE_PREFIX_PATH may include /usr/local, which causes the
libOgreOverlay library from ogre1.9 to be found before the
version from ogre2.1.
On macOS, the following are in /usr/local/lib:
/usr/local/lib/libOgreOverlay.1.9.0.dylib
/usr/local/lib/libOgreOverlay.2.1.0.dylib
/usr/local/lib/libOgreOverlay.dylib (sym-link to 1.9.0)

This causes find_library to prefer a library name with the version
appended before the suffix, while still accepting unversioned names
if a versioned name is not found.
I believe this will fix https://github.com/ignitionrobotics/ign-sensors/issues/62

As it happens, the problem is reproducible in Linux if you build ign-rendering with CMAKE_PREFIX_PATH=/usr and have both versions of ogre installed.

the changed code is in a if (NOT WIN32) block, so I don't think it's urgent to test on windows, though it would be good to test in a colcon workspace on both Linux and macOS

here's a yaml workspace file if you want to test with a colcon workspace (remember to set CMAKE_PREFIX_PATH=/usr/local on macOS to reproduce the problematic homebrew configuration, or CMAKE_PREFIX_PATH=/usr on Linux):

https://raw.githubusercontent.com/ignition-tooling/gazebodistro/d35e21a2400f745c672db5e99bd42e1b9e29a4d6/ign-sensors4.yaml

to test on macOS, checkout the following branch and brew install ignition-rendering4:

https://github.com/osrf/homebrew-simulation/compare/find_ogre2_overlay_brew

use otool -L /usr/local/lib/libignition-rendering4-ogre2.dylib  | grep Overlay to confirm which library is linked
it would be nice if I could configure a CI job to run these tests, but I don't think we currently have that capability

I did some tests with the scpeters:find_ogre2_overlay_brew in a colcon workspace. I found that With CMAKE_PREFIX_PATH set to /usr, I noticed libOgreOverlay.so is missing when I do ldd. Maybe I'm doing something different?
Here's the cmd I used:
colcon build --merge-install  --cmake-args -DCMAKE_PREFIX_PATH=/usr --packages-up-to ignition-rendering4

My ldd result:
ldd ./install/lib/libignition-rendering4-ogre2.so | grep Ogre
	libOgreMain.so.2.1.0 => /usr/lib/x86_64-linux-gnu/libOgreMain.so.2.1.0 (0x00007f8b6d86c000)
	libOgreHlmsPbs.so.2.1.0 => /usr/lib/x86_64-linux-gnu/libOgreHlmsPbs.so.2.1.0 (0x00007f8b6ca9c000)
	libOgreHlmsUnlit.so.2.1.0 => /usr/lib/x86_64-linux-gnu/libOgreHlmsUnlit.so.2.1.0 (0x00007f8b6c87c000)

But if I build everything without setting CMAKE_PREFIX_PATH, I do see libOgreOverlay linked properly:
ldd ./install/lib/libignition-rendering4-ogre2.so | grep Ogre
	libOgreMain.so.2.1.0 => /usr/lib/x86_64-linux-gnu/libOgreMain.so.2.1.0 (0x00007f7de9191000)
	libOgreHlmsPbs.so.2.1.0 => /usr/lib/x86_64-linux-gnu/libOgreHlmsPbs.so.2.1.0 (0x00007f7de8386000)
	libOgreHlmsUnlit.so.2.1.0 => /usr/lib/x86_64-linux-gnu/libOgreHlmsUnlit.so.2.1.0 (0x00007f7de8166000)
	libOgreOverlay.so.2.1.0 => /usr/lib/x86_64-linux-gnu/libOgreOverlay.so.2.1.0 (0x00007f7de7f06000)

I did some tests with the scpeters:find_ogre2_overlay_brew branch in a colcon workspace. I found that With CMAKE_PREFIX_PATH set to /usr, I noticed libOgreOverlay.so is missing when I do ldd. Maybe I'm doing something different?
Here's the cmd I used:
colcon build --merge-install  --cmake-args -DCMAKE_PREFIX_PATH=/usr --packages-up-to ignition-rendering4

My ldd result:
ldd ./install/lib/libignition-rendering4-ogre2.so | grep Ogre
	libOgreMain.so.2.1.0 => /usr/lib/x86_64-linux-gnu/libOgreMain.so.2.1.0 (0x00007f8b6d86c000)
	libOgreHlmsPbs.so.2.1.0 => /usr/lib/x86_64-linux-gnu/libOgreHlmsPbs.so.2.1.0 (0x00007f8b6ca9c000)
	libOgreHlmsUnlit.so.2.1.0 => /usr/lib/x86_64-linux-gnu/libOgreHlmsUnlit.so.2.1.0 (0x00007f8b6c87c000)

But if I build everything without setting CMAKE_PREFIX_PATH, I do see libOgreOverlay linked properly:
ldd ./install/lib/libignition-rendering4-ogre2.so | grep Ogre
	libOgreMain.so.2.1.0 => /usr/lib/x86_64-linux-gnu/libOgreMain.so.2.1.0 (0x00007f7de9191000)
	libOgreHlmsPbs.so.2.1.0 => /usr/lib/x86_64-linux-gnu/libOgreHlmsPbs.so.2.1.0 (0x00007f7de8386000)
	libOgreHlmsUnlit.so.2.1.0 => /usr/lib/x86_64-linux-gnu/libOgreHlmsUnlit.so.2.1.0 (0x00007f7de8166000)
	libOgreOverlay.so.2.1.0 => /usr/lib/x86_64-linux-gnu/libOgreOverlay.so.2.1.0 (0x00007f7de7f06000)

yeah, for Linux I basically confirmed that the bug is reproducible, but I don't have a fix for it. it seems to be unable to find libOgreOverlay in either case when CMAKE_PREFIX_PATH=/usr. I can try to fix that too, but I think it's less urgent than the fix for macOS since we have working debs on Linux, but our homebrew bottles are broken.
I'll look into this further, but I think there's value in merging this even without fixing Linux

I think we could first call find_library with NO_CMAKE_ENVIRONMENT_PATH so that the HINTS would be preferred first and then call it a second time without that option. My priority with this PR isn't to fix Linux, but rather to fix macOS since our bottles are currently broken. I'll open an issue describing the problem on Linux

My priority with this PR isn't to fix Linux, but rather to fix macOS since our bottles are currently broken. I'll open an issue describing the problem on Linux

sounds good!

I'll open an issue describing the problem on Linux

I filed https://github.com/ignitionrobotics/ign-cmake/issues/126 to document the problem on Linux


iOS 9.3 奔溃 Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Cell must be registered to table view for identifier

iOS 9.3 奔溃 Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Cell must be registered to table view for identifier
在其他系统上都没问题呀

see #284


Add support for SceneReference type properties in Unity Events in inspector

While this is minor and can be easily worked around, I did notice that when you create a method like this one
public void LoadSceneAdditive(SceneReference sceneReference)
{
      if (sceneReference.State == SceneReferenceState.Unsafe)
      {
            Debug.LogError($"scene reference is unsafe!: {sceneReference.UnsafeReason}");
            return;
      }

      SceneManager.LoadSceneAsync(sceneReference.BuildIndex, LoadSceneMode.Additive);
}

then in the inspector for something like a button, it doesn't show up when registering it for a unity event

again, this is a very minor issue as it's straightforward to work around with a separate script that can sit on each button to hold the ScreenReference but it would be a nice QOL thing to have added

That's interesting, I would expect it to work. I'll take a look.

I probably should have mentioned, I am on Unity Version 2023.2.14f1

It turns out this is a limitation of UnityEvent. It supports predefined (static) calls with primitive arguments, and arguments of type UnityEngine.Object. Since SceneReference is none of those, it can only be used with dynamic calls.

I have an idea. We will see how it goes.

I implemented a workaround in #102. It will be included in the next release.

Included in 4.1.0.


Problem with recompiling LaTeX-PDFs

A brief description
When compiling a LaTeX that has previously already been compiled, the pdflatex-command won't work. That means that I have to remove the file every time. Witch is not only time consuming, it also makes the referencing system in LaTeX practicly impossible to use.

Expected results
The pdf and log-files should be regenerated

Actual results (with terminal output if applicable)
The LaTeX compiler asks me to change the name of the file I'm trying to generate:
Jesper@MSI:/mnt/d/skola/LinjärAlgebraOchFunktionslära/LinjärAlgebra/test$ pdflatex LinjärAlgebra2016-11-14.tex                                                                                This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)                                                                                restricted \write18 enabled.                                                                                entering extended mode                                                                                (./LinjärAlgebra2016-11-14.tex                                                                                LaTeX2e <2011/06/27>                                                                                Babel <3.9h> and hyphenation patterns for 2 languages loaded.                                                                                (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls                                                                                Document Class: article 2007/10/19 v1.4h Standard LaTeX document class                                                                                (/usr/share/texlive/texmf-dist/tex/latex/base/size12.clo))                                                                                (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty                                                                                (/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def                                                                                (/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu)                                                                                (/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu)                                                                                (/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu)))                                                                                (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty                                                                                For additional information on amsmath, use the ?' option.                                                                                (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty                                                                                (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty))                                                                                (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty)                                                                                (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty))                                                                                (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty                                                                                (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty))                                                                                (/usr/share/texlive/texmf-dist/tex/latex/tools/bm.sty)                                                                                (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty                                                                                (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)                                                                                (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty                                                                                (/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)                                                                                (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)                                                                                (/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def                                                                                (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty)                                                                                (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))                                                                                (/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty                                                                                (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg))                                                                                (./LinjärAlgebra2016-11-14.aux)                                                                                (/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii                                                                                [Loading MPS to PDF converter (version 2006.09.02).]                                                                                ) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty                                                                                (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty)                                                                                (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty))                                                                                (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty                                                                                (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty                                                                                (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))                                                                                (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty                                                                                (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty                                                                                (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty)))                                                                                (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))                                                                                (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd)                                                                                (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd)                                                                                ! I can't write on file LinjärAlgebra2016-11-14.pdf'.                                                                                (Press Enter to retry, or Control-D to exit; default file extension is .pdf')                                                                                Please type another file name for output:       `

Your Windows build number
143993447

Steps / All commands required to reproduce the error from a brand new installation

install the texbase-package
create a compilable .tex-file
pdflatex filename.tex
pdflatex filename.tex

Strace of the failing command
There where hundreds of lines, it would probably take me half an hour or so to copy the entire output.

Required packages and commands to install
to get the compiler:
sudo apt-get install texlive-latex-base

See our contributing instructions for assistance.

FWIW, I've been using pdflatex under WSL and haven't seen anything like this. Maybe something on the Windows side (AV? file sync?) is grabbing a lock on the file right after it is closed (the first time), and preventing it from being opened a second time? Maybe you have an ACL problem?
I suggest trying in a different directory. If all else fails, you might be able to compile on VolFs (e.g. /home/...) and then copy the pdf back over to /mnt when you're done.

You should probably either use MikTeX to compile directly from Windows, or copy your source files to the linux home through Bash on Windows.
As the name of the folder suggests, /mnt/c is «mounted» as a separate partition in the Linux subsystem and it is not guaranteed you have all the writing permissions on that mounted disk.
Also, avoid directly accessing Linux folders from Windows as doing changes from Windows may break the Ubuntu-on-Windows filesystem.

Much has changed since 2016, please open a new issue if you continue to have issues on newer Windows builds.


Issues after 10.15.4 update-Netflix does not run on safari.

Netflix does not run on safari.
But on Chrome, Netflix is running normally.

Probably need to update WG.

Please test https://github.com/osy86/HaC-Mini/pull/222

@shian15810 and @osy86: #222 is not solving the Netflix issue with Safari #219.

As a note, updating WhateverGreen to the latest version is not solving this issue.


RPC error 403 / 410

i always get the rpc statuts client error 403 when using -r https://ssc-dao.genesysgo.net
and error 410 when using main Solana rpc
any idea ?

Both these endpoints block getProgramAccounts calls to the token-metadata program, which is required for the snapshot commands. GenesysGo has given me a way around that via authentication but I haven't had time to try it out or integrate it into Metaboss. You can try using another RPC provider in the meantime. QuickNode works well for me.


Login failed due to out of date version of instagram

2017-10-31 19:51:09.639  INFO 27143 --- [pool-1-thread-1] Reading InstagramLoginResult from {"message": "Your version of Instagram is out of date. Please upgrade your app to log in to Instagram.", "status": "fail", "error_type": "needs_upgrade"}
2017-10-31 19:51:10.186  INFO 27143 --- [pool-1-thread-1] InstagramReques : Reading InstagramSearchUsernameResult from {"message": "login_required", "logout_reason": 2, "status": "fail"}

Weird, it's still working for me. Anyway will look into upgrade the headers soon.

@brunocvcunha strange, working for me now as well.


coda client set-snark-work-fee Cost setting does not take effect

Start with coda daemon, then execute the command coda client set-snark-work-fee 0.1 to adjust the cost online
After an hour, check the browser and find that snark Jobs  Fees Earned is still 0.01
coda daemon -generate-genesis-proof true -peer-list ~/peers.txt -run-snark-worker "pubkey" -snark-worker-fee 0.01
This should not happen, this value is less than 0.1, my node should not do this work

@sundafa this is not a bug and is related to how snark work is selected, added to the snark pool, and then purchased.
By default, pending snark work is chosen at random (you may also set -work-selection seq). You are competing with others and only the cheapest snark work is added to the snark pool, and that work is later purchased by block producers. So it's possible your fee is too expensive to even make it into the pool.
Also, there is a specific order of work to be included by the block producer so there can be a significant delay between getting your work into the snark pool and it is purchased.

Or maybe I misread and you are saying that the "old" fee was used for new jobs. If so, the work was completed and added to the pool and then included much later (after you had changed the fee).

@garethtdavies
addr https://minaexplorer.com/wallet/B62qs2kyJGgHFpxCapwudYFa8Beu2pKUNTKzDtYj3psYStmdqhn9FD2
name windows | Nodeasy#4629
Transaction link:
https://minaexplorer.com/block/3NKREhxnsN3NrTqQv7ca3YiPGU6wqhSRKJjq5wuQEKtyFhxHxwsD
https://minaexplorer.com/block/3NKdWajXA7StH4wfmNZCBeHRrhfdoptAKCUdvRaEsHwgSL9PXrnN
I set up 3 snark nodes this time, After I changed the snark fees to 1, I waited a few minutes before sending the transaction
I set the starting transaction fee to 1, and then 1.01, but I found that my snark node did not mine these fees and only mine other transactions of 0.01

@sundafa this isn't how it works. Block producers add transactions to a transaction queue known as the scan state and then purchase an offsetting amount of snark work from the snark pool. This work from the snark pool corresponds to transactions added by prior block producers. You do not snark your own transactions.

I understand what you mean, but all my transactions have been robbed by official nodes, which makes me feel strange
You can look at the snark part of this transaction
https://minaexplorer.com/block/3NKLnD2RLXD1GsrsFtndxP9vzMNbAGmDu31kdpt12bWdEQ51CC69

I don't understand, what is wrong with this block? You paid a fee of 1.01 and most of that went to the block producer?

Can i talk to you on discord, my addr windows | Nodeasy#4629

@garethtdavies I still have some problems. I got 12 fees at this address, But the SNARK Jobs on the left does not have this address, this address is not working
Where did this fee go?

@sundafa that address created the block. The block producer gets the coinbase plus any difference between transaction fees minus the fees paid to snark workers.

@garethtdavies Seems to understand.
Block producers will choose Snarkers themselves to maximize their own profits.

But I still don’t know whether the 12 fee in the above figure is to choose official node snark to reduce costs or not to execute snark.  Because there is no snark work record on the official address.
Will block producers choose their own snarkers, no matter how much the cost is, because the cost to snark will be returned to themselves?

The first question guess:  In other words, because there are workers with the lowest snark, they use low fees to process transactions with high fees, which leads to more benefits for themselves


Small Button

Hello, I have seen in the documentation https://d1a3f4spazzrp4.cloudfront.net/uberex/Uber_API_Design_Guidelines_20160329.pdf that a small button can be created. How could I do that?
Thanks for your help

Hi @Victorgf87 currently we do not provide a version of that small button. But you could subclass the LoginButton to create something based on that design

Thank you, @jbrophy17 , I will try to do that 👍
Sorry for the delay, I was very busy :)


Added zh-TW Locale

Thanks for the translation!
There are at least our installer strings that should also be translated, see Languages/ and Default.isl in  WPFSKillTree\Tools\isetup\ (you can find presets at http://www.jrsoftware.org/files/istrans/), and you can add the translation to WPFSKillTree/release.iss:Languages. I'm not sure if that's all that is required to make translations work, though.

I had tested this file and worked when putted it under Locale/. The program will automate select zh-TW Messages.po file.

Yes, with the portable version. But most people install the program using the installer, which also has messages that can be translated (those are only a few additional lines if you use a preset for the common InnoSetup messages).


[Firebase Messaging] Method getToken() doesn't generate a new token after delete the actual token using deleteToken()

The method getToken() doesn't generate a new token after delete the actual token using deleteToken().
Steps to reproduce:

Generate a new token.
Delete the token.
Generate a new token.
Check if the first and the second are diferent.

Minimal code to reproduce the bug:
import "dart:async";

import "package:firebase_messaging/firebase_messaging.dart";
import "package:flutter/cupertino.dart";

void main() async {

  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp();

  var firstToken = await firebaseMessaging.getToken();
  await firebaseMessaging.deleteToken();
  var secondToken = await Dao.firebaseMessaging.getToken();

  assert(firstToken != secondToken);
}

Hi @yamauchieduardo
Please provide your flutter doctor -v and flutter pub deps -- --style=compact.
I'm not seeing this issue on the latest firebase_messaging: ^9.0.0.
Thank you


RaSCSI file handling improvments

Hard Disk Images: "Apple" hard disk images must be named ".hda" (lower case). This should be opened up a little more to accept .HDA and potentially .img files.
CD-ROM images: CD rom images MUST be named ".iso". This should be expanded to allow for .ISO and also .toast or .TOAST.

It looks like rasctl.cpp was updated to use xstrcasecmp(ext, "hda") for the different extension, so I think the case sensitivity is sorted.

As of b32f324 it's also possible to use CD ROM images with at least .toast and .img file extensions that I have tested.

Tested with 8a3642b -- it's possible to attach images with file endings such as HDA, TOAST, and ISO, in addition to the lower case variants.


Fix for CDPD-11918:

Fix for CDPD-11918
Have tuned following tez configs in DE templates for 7.2.1 & 7.2.2 :-
tez.grouping.split-wave=1.4
tez.grouping.min-size=268435456
tez.grouping.max-size=268435456
These changes are also required for AutoScale.
Testing done:

Have created a DE cluster using a modified 7.2.2 template that includes above mentioned tez config changes. Cluster creation was successful on AWS using m5d.2xl instance types.
Ran some hive queries successfully.

@rbalamohan @sidseth @cegganesh84 One of you pls approve this.

The integration test will not succeed even if re-triggered. Posted a message about it in CB slack channel.

You can merge the PR. We will need to fix the removed Docker image problem.

Should we change this only for 7.2.2, and let it go through the test cycle?

This is already on DWX and stable, so I think changing in 7.2.1 template should not be a problem. cc @rbalamohan

retest this please

Will repost a new patch only for 7.2.2 DE templates under CB-2.28.0 branch


Added podspec

@alvaromb Is it possible to merge and release this in the near future?
Other popular packages like react-native-camera and react-native-fast-image also have those.
This would make it much easier to integrate this project into an already existing iOS project that uses cocoapods.
Also the recommended way (for already existing apps) of react-native is to use cocoapods for dependency management (https://facebook.github.io/react-native/docs/integration-with-existing-apps.html).

So it would be nice to update README.md to show what should be add in podfile


Add StateRestoreListener customization.

Would you consider StateRestoreListener customization through StreamsBuilderFactoryBean? So it can be passed via KafkaStreams#setGlobalStateRestoreListener. Extending the factory bean does not work because KafkaStreams has private access.
Maybe a better solution would be providing an interface like KafkaStreamsCustomizer such that;
StateListener, UncaughtExceptionHandler, cleanupOnStart and cleanupOnStop can be configured through.

Works either way for me.
I even think that both: setStateRestoreListener() and KafkaStreamsCustomizer are good candidates for improvement.
Contribution is welcome!

Signed CLA