latency benchmark?

I have tried running the model on A100 but the latency I recorded is around 2.5 secs for a simple text like "Hello, am I working?".
I have used the code snippet provided in the docs. Here is the reference:
from outetts.v0_1.interface import InterfaceHF, InterfaceGGUF

# Initialize the interface with the Hugging Face model
interface = InterfaceHF("OuteAI/OuteTTS-0.1-350M")

# Or initialize the interface with a GGUF model
# interface = InterfaceGGUF("path/to/model.gguf")

# Generate TTS output
# Without a speaker reference, the model generates speech with random speaker characteristics
output = interface.generate(
    text="Hello, am I working?",
    temperature=0.1,
    repetition_penalty=1.1,
    max_lenght=4096
)

# Play the generated audio
output.play()

# Save the generated audio to a file
output.save("output.wav")

The above mentioned 2.5 secs was the time for interface.generate and no other steps included.
Is this model really this slow, or is there some mistake?

It is surely slow. But seems fine as a rudimentary model that can run locally and has a but of quality.

This might be related to #26. You can try the suggestions mentioned there. For better performance, you could also check out the llama.cpp and exllamav2 implementations.


feelinglucky broken (affects !mdn and !g)

Here's the error:
TypeError: Cannot read property 'results' of null
    at IncomingMessage.<anonymous> (/home/node/lib/feelinglucky/index.js:19:44)
    at IncomingMessage.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:920:16
    at process._tickCallback (node.js:415:13)

Here's the error:

{"responseData": null, "responseDetails": "The Google Web Search API is no longer available. Please migrate to the Google Custom Search API (https://developers.google.com/custom-search/)", "responseStatus": 403}

https://news.ycombinator.com/item?id=11625633 :frowning:
We either need to reverse engineer the google.com internal JS API (used by https://www.google.com/#q=test) or resort to scraping HTML.

Maybe useful https://support.google.com/customsearch/answer/2631040?hl=en

I don't think that provides a JSON API though, so we may still need to scrape that to extract the relevant content.

I read some API docs, they have a JSON API

MDN could maybe be fixed using https://developer.mozilla.org/en-US/docs/MDN/Contribute/Tools/Search

Feeling Ducky!
:grin:
Created a replacement. Works the same Googles Lucky Search used to.
Greetz!
Pull Request here:
#60


forc-deploy cli tests should not coincide with local wallet instances while running cargo test locally

TL;DR: We need to make sure wallet instantiation is done at some tmp folder and cleared after the test.
related to #5482. Since tests are trying to deploy a contract, forc-deploy tries to look for local wallet in the default path. This is problematic because if a sway repo contributor has a forc-wallet installed at that path, the tests are stopped and vault password is asked to them. This caused me to miss couple of issues in the test suite because I thought the tests were passing. Instead tests were hanging as they were asking for my local forc-wallet password. This problem do not occur in CI environment as the environment is fresh and do not have any wallet installed. So rather than trying to unlock existing wallet, forc-deploy creates a new one in the default path which is killed before next run.

Closed in favor of #6283


Power button doesn't work to wake device

Using a Nord N10 5G. Power button works fine to lock and for power menu, but only when Pixelify is on, power button no longer wakes device and I have to use double tap to wake. Using v2.02.

Same deal with my OnePlus 8 Pro on OOS 10.5.13

Tried 2.1-beta6
https://www.pling.com/p/1825201/

Tried 2.1-beta6
https://www.pling.com/p/1825201/

Does beta 6 work? I will try later

I tried it and the power button is still an issue. I still have to double tap the screen to turn it on.

Yup I just checked, it doesn't work 😢

Also having this issue. For some reason when the device is sleeping I can open the power menu...


Question about latest version of todoist for windows

It seems the new version of Todoist for Windows is basically a browser for the todoist site and also lacks the global shortcut for "add task." Would this workaround be compatible with the new version as well?

@dylan-k Thanks a lot for your interest in my workaround. Sadly the workaround does not seem to work with the new Todoist app. I created the new AHK key that works with the new app. I will release it under version 2.0 later this week. You can already replace the code in the Todoist_global_shortcuts.ahk script with the code below to get it to work.
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

;!
SetTitleMatchMode, 2 ; IfWinExist settings
DetectHiddenWindows, On

;----------TODOIST global shortcuts WIN10 workaround----------
; *Created on 25/03/2021 by Rick Staa - Version 1.0.0*
;
; This AutoHotkey script adds global TODOIST shortcuts to WIN 10
;     - alt+ctrl+a (Add new task)
;     - alt+ctrl+t (open todoist)
;
; For questions, issues and suggestions go to: https://rickstaa.github.io/Todoist_Global_Shortcuts_WIN10/
;
;--INSTRUCTIONS--
; 1. Download AutoHotkey from https://autohotkey.com/
; 2. Install AutoHotkey
; 3. Download the Workaround.
; 4. Unzip the Workaround file
; 5. Go to Todoist_Global_Shortcuts_WIN10\TODOIST_AHK
; 6. Drag the "WinStoreAppLinks" folder into the "Program Files Shortcut"
; 7. Drag the "Todoist_global_Shortcuts.ahk" file into the "Startup Folder Shortcut
;
;--NOTES--
; Make sure AutoHotkey is running on startup

Process, Exist, Todoist.exe
IfWinNotExist, ahk_exe Todoist.exeþ
{
    Run, shell:AppsFolder\com.todoist
    return
}
else
{
    IfWinActive, %Title%
        WinMinimize, %Title%
    else
        Run, shell:AppsFolder\com.todoist
}
return

; Open todoist and add task shortcut
!^a::

Process, Exist, Todoist.exe
IfWinNotExist, ahk_exe Todoist.exe
{
        RunWait, shell:AppsFolder\com.todoist
		sleep, WaitTime ; Waits for Todoist to load
	    WinActivate, %Title%
		{
			send, {q}
			return
		}
}
else
{
    IfWinActive, %Title%
        WinMinimize, %Title%
    else
        Run, shell:AppsFolder\com.todoist
		sleep, WaitTime ; Waits for Todoist to load
	    WinActivate, %Title%
		{
			send, {q}
			return
		}
}
return

@dylan-k I just released the new updated version as v2.0.0. I tested it on my pc, and it works as expected. Let me know if you have any other problems.


Readme update and toolset fix

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Quotes are converted to html characters when editing

When I tried to open message with quotes for edit, then quotes in message are converted to html characters.
Original mesage

Edit mode

Now we replace HTML entities in UI, but @umputun, I'm not sure that it's a good idea, because someone can post an example of code with HTML entities inside, and we will replace them, because it's hard to recognise where we need to replace them and where we don't.
So, maybe you should change some settings of sanitizer on backend, to prevent converting symbols like quotes to HTML entities.

@igoradamenko Can you temporary store original message before replacing? It helps to keep possibility to edit and show replaced symbols. Also, nobody can inject html code.

Nobody can inject HTML code, it's right. But someone can post something like this: https://remark42.com/demo/#remark42__comment-d7b6426c-3bf0-45ab-b626-0a5daa39df21. And they will get space instead of   when they wants to edit:

But I don't understand the first part of your message. What do you mean “temporary store before replacing”?

I think, "temporary store original message on UI side" is about the comment UI shows locally. I guess UI makes "fake comment" without hitting the server and don't put original to orig field? I don't really understand the goal but it sounds like a way to get potential XSS if any other part of UI will try to show this locally saved orig.

I just mean that UI should use original message for edit (message without replaced of HTML entities).
So I don't understand why that issue required of backend developing.

UI uses orig filed for edit, and this field sanitized by backend. So, for UI there is no place to get "message without replaced of HTML entities".

@umputun, but what about saving original message? I mean, why is it impossible to save orig as it comes from user? Why do you think that we need to sanitize this part of message? If someone wants to send message like this:
evil <script>alert('message');</script>

why can't we save it? I mean, UI doesn't evaluate this code, it doesn't paste it to DOM. It only uses orig as a string in textarea value. So I don't see any possible attack with this field. But maybe I'm wrong about it.
So I think we don't need this line: https://github.com/umputun/remark/blob/67baf50b6e641c9910296c067ed63e246f7881d0/app/store/comment.go#L99. We need to sanitize text field only.

My reasoning is this - currently, there is no way server can store and return potentially dangerous code. If we allow such input and someday we have an alternative UI implementation, this implementation will have to be aware of the danger and deal with this on frontend side. Even with our implementation such orig may leak into rendering by accident and cause nasty XSS.
I think the way you addressed it on UI side with unescaping is the better way. Yeah, some extra code involved and some potential extensibility limited, but to me, it feels like a good trade-off.

OK, I got it. Let's close the issue in this case :-)


⚠ Bofrost.es has degraded performance

In 3898545, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1555 ms

Resolved: Bofrost.es performance has improved in 9f41520 after 16 minutes.


Fix loop exception detection for animation in a library

Found this minor bug; using a prefix for a loop exception breaks when the animation is in a library (i.e. attack/_a). The substring logic uses the full animation name (anim_name) rather than the base animation name (animation_name), so the name gets reverted to full name, creating an invalid animation.
Haven't had a chance to fully test it, but I applied this patch for my project and so far it's working well.

Oh. Good catch. Thanks @poohcom1


BUG: Giving clues to watson adds to the step count

I went to Watson with an elite clue (which he already had one), an easy, medium and hard.
I gave watson the 3 clues he didn't have and the elite clue step counter shown by the plugin went up
I received a master and then gave him the elite clue, the master clue step counter of the plugin went up by 1
I haven't received another elite clue yet, but I'm assuming when I get it, the plugin will show me it had steps completed because of what happened at Watson.
When I right click "check steps" on the master clue, it reset back to 0

Can confirm giving clues to Watson does increase often times increase the step count. I always receive master clues with 2-3 steps completed from him according to the plugin, and untouched clues in my bank also have several completed steps according to the plugin.

Oh, that is a case I did not think about.
Thanks for reporting, I'll work on a fix soon :)
The master clue starting on 2 - 3 makes sense from my code, but the elite incrementing is wierd.

Hi I hate to bother you, love the plugin, but find this to be a very annoying feature.
any chance a fix could be made?

I recently got back into the game, and I'll try to fix this. Hopefully done during the weekend

The plugin is updated, the issue should be fixed. Let me know if there are still issues!


B+ Tree TODOs

B+ Tree DS in Haskell

Much of it has been done today.
TODO:

Resolving TODOs written in code. Mostly in finding correct position to insert values
findKey operation : easy
add exports in modules
test with warp

Correct position to insert ✓
findKey ✓

add exports in modules of BPT ✓
test with warp (get and post) ✓


fix gateway branch name validation

Codecov Report

Merging #1024 (28efa7b) into master (d8f2060) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1024   +/-   ##
=======================================
  Coverage   46.24%   46.24%
=======================================
  Files         152      152
  Lines       12315    12315
=======================================
  Hits         5695     5695
  Misses       5895     5895
  Partials      725      725

Impacted Files
Coverage Δ

catalog/mvcc/cataloger_create_repository.go
59.25% <0.00%> (-3.71%)
:arrow_down:

catalog/mvcc/cataloger_create_branch.go
84.61% <0.00%> (+3.07%)
:arrow_up:

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 d8f2060...28efa7b. Read the comment docs.


Switch to filename for source of trush of nickname

closing because we modify the standard https://github.com/massalabs/massa-standards/pull/50


Unable to install bdshare using pip

I receive this error in my terminal when I input the command to install:
mehedino@Mehedis-MacBook-Air ~ % pip install bdshare
Collecting bdshare
Using cached bdshare-0.3.1.tar.gz (9.5 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/private/var/folders/xm/8ry6wwvs46j571rz9wjfrmyh0000gn/T/pip-install-w8uyijj8/bdshare_d15ac9ca74284ed092dc03a6ce97d804/setup.py", line 8, in
with open('CHANGELOG.md') as history_file:
FileNotFoundError: [Errno 2] No such file or directory: 'CHANGELOG.md'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

fixed on 2d76972


[UI] The Catalog Description not looks good

Current Behavior

Certainly, addressing the concerns about the Catalog Description Page and its formatting in a best manner is important to encourage improvements.
Desired Behavior

Maybe we can format the description in a good manner and fix formating issue
Screenshots/Logs

Hi can i work on this?

@shiivamtaneja  you can work on this.

hey @leecalcote  can you please assign me this issue.

Hi @shiivamtaneja, I think if you are working on the UI of this page, this tag with "deployment" would be better in white similar to the rest of the page, as all the call-to-action buttons follow that trend.

@leecalcote  @ritiksaxena124 what do you suggest?

Hey @Akshun-01 I haven't yet started working on this issue; I'm still awaiting confirmation from the maintainers to assign the issue to me so that i can start the work.
Yeah I also think the "development" tag could be updated like it is in the ss below. That way, it will fit the theme better as a whole.

Actually these are published through a github action from meshery cloud . Fixing directly from this repo wont solve the problem .😅

So what do you suggest? @Ghat0tkach

This is not a appropriate issue, this thing should be resolved from github work flow. Lets close this


how to deploy localhost?

Running   seems to do the trick for me

thanks, so easy for setting and run testing, wonderful project

That worked for me, thank you!

Cool.


Release 2.18

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/kind api-change
/kind bug
/kind cleanup
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

already merged 2.18 offline/locally. will check again.


STL Export ASCII

I reverted the .gitIgnore file changes.
I think this is correct. >_<

wait whoa, so this was correct?
How would I test it on my end, I could never get it to come up on any of my builds... If I can connect this blank then I can start flying on contributions.

It did :)
the best way is to create a sample code in localdev and use vsCode to debug it

it will soon be available in the PG

hmmm, Odd I thought I tried it in the localdev and was getting no response from it... I must have been over looking something.

yeah I end up having some issues with it recently. @sebavan  will check why soon :)


Add support for older node versions

Add support for older Node.js versions to avoid failures similar to

https://travis-ci.org/steelbrain/intentions/jobs/150741259
https://travis-ci.org/steelbrain/intentions/jobs/150741261

Both use APM's bundled Node.js versions that consumers can't easily change, changing this module is a good direction IMHO :)

Use<EMAIL_ADDRESS>if you want support for older versions.

@SamVerschueren I like how you closed it without even a discussion that changing just a few chars saves you from modifying your CI script for each project that has a deep dependency on strip-bom and reinstall the 2.0 version.
cc @sindresorhus

@SamVerschueren Using<EMAIL_ADDRESS>makes analysis tools unhappy:
@steelbrain You might want to look at stripbom, which is compatible all the way back to<EMAIL_ADDRESS>:)

@alexindigo Thanks man, but my packages are not using this package directly. This package is just a deep dependency, and the only dependency that fails :(
I cannot change deep dependencies, and even for changing their versions I'll have to do something like
rm -rf node_modules/strip-bom
npm install<EMAIL_ADDRESS>
instead of just changing the syntax to es2015 compatible :\ which even in chars diff is less than the commands 😕

Sorry, didn't meant to be rude. I see that it's ESLint whose failing. It was reported in the ESLint repository here. From that conversation:

ESLint v3.0.0 now requires Node.js 4 or higher. Going forward, our plan is always to support the LTS version of Node.js and periodically end-of-life support for older Node.js versions. As both Node.js v0.10 and v0.12 will be out of maintenance mode at the end of 2016, we hope that this change won’t affect too many users.
If you still need ESLint to run on Node.js < 4, then we recommend staying with ESLint v2.13.1 until you are ready to upgrade your Node.js version.

We are upgrading all the libraries and start dropping support for Node.js <4. It is defined in package.json as well and packages that use<EMAIL_ADDRESS>are (and should be) targetting Node.js >= 4 as well. See the discussion in the ESLint repository.
These are just my words (and thoughts) off course. I'm sure @sindresorhus will chime in on the discussion.

Yeah, deep dependencies are pain. Good luck here.

What @SamVerschueren said. You're barking up the wrong tree. ESLint is the one that decided to drop Node.js 0.10/0.12 support and upgrade to v3 of this module.


Input and Outputs of a Basic Wire Connection from Verilog-to-BLIF Output Are Reversed after 'opt_clean' pass

Note upfront: I'm not sure if this is actually a bug, so I've put what I expect and then actually get below. I'd appreciate any insight into what I'm misunderstanding or doing wrong if in fact it is not a bug. Thank you very much.
Steps to reproduce the issue

Unzip the attached files
Run yosys -s simple.ys
Observe the simple.blif and simple-back-from-yosys.v files based on the expected and actual behavior sections below.

Expected behavior
When I generate a .blif file from a Verilog file, I expect the directions of the connections to be the same as in the original Verilog file, in particular for output/input ports.
For example, given this very simple Verilog file:
module simple(outer);
   wire inner;
   output outer;

   assign outer = inner;
endmodule

after I run the following Yosys script:
read_verilog simple.v
hierarchy -check -top simple
proc
opt_expr; opt_merge; opt_muxtree; opt_reduce; opt_merge
opt_rmdff
dump
opt_clean
dump
opt_expr
write_blif -gates simple.blif
write_verilog simple-back-from-yosys.v

I would expect to get the following .blif file:
# Generated by Yosys 0.9+2406 (git sha1 2d573a0f, gcc 7.5.0-3ubuntu1~18.04 -fPIC -Os)

.model simple
.inputs
.outputs outer
.names $false
.names $true
1
.names $undef
.names inner outer
1 1
.end

Actual behavior
When I generate a .blif file from the above Verilog file using the above script, I actually get
# Generated by Yosys 0.9+2406 (git sha1 07eecff9, gcc 7.5.0-3ubuntu1~18.04 -fPIC -Os)

.model simple
.inputs
.outputs outer
.names $false
.names $true
1
.names $undef
.names outer inner
1 1
.end

In particular, the 3rd-to-last line .names outer inner is different.
More Information
I included the dump command before and after opt_clean in the above Yosys script to show where I think the possible problem (if this is determined to be a problem) is occurring.
The dump before opt_clean:
9. Executing OPT_RMDFF pass (remove dff with constant values).

autoidx 1

attribute \top 1
attribute \src "simple.v:1.1-6.10"
module \simple

  attribute \src "simple.v:3.11-3.16"
  wire output 1 \outer

  attribute \src "simple.v:2.9-2.14"
  wire \inner

  connect \outer \inner
end

the dump after opt_clean:
10. Executing OPT_CLEAN pass (remove unused cells and wires).
Finding unused cells or wires in module \simple..

autoidx 1

attribute \top 1
attribute \src "simple.v:1.1-6.10"
module \simple

  attribute \src "simple.v:2.9-2.14"
  wire \inner

  attribute \src "simple.v:3.11-3.16"
  wire output 1 \outer

  connect \inner \outer
end

(the difference is in the second-to-last lines, in the connect command).
Additionally, this is effecting the Verilog output; the following is what I get:
/* Generated by Yosys 0.9+2406 (git sha1 2d573a0f, gcc 7.5.0-3ubuntu1~18.04 -fPIC -Os) */

(* top =  1  *)
(* src = "simple.v:1.1-6.10" *)
module simple(outer);
  (* src = "simple.v:2.9-2.14" *)
  wire inner;
  (* src = "simple.v:3.11-3.16" *)
  output outer;
  assign inner = outer;
endmodule

(again, I would expect the second-to-last line to be assign outer = inner;)
A Less Trivial/Real-World Example
The above Verilog file was the smallest I could make that would exhibit what I think is a problem. However, I initially encountered this with a less trivial set of Verilog files found here.
To run them

Unzip the folder
Run yosys -s yosys_v2b.ys
Observe that in line 508 of the resulting bsg_fifo_1r1w_small_unhardened.blif, ready_o is the input to this net and ready_lo is the output, while in the original Verilog, ready_lo is in the input and ready_o is the output.

Note that this Yosys script has additional optimizations and passes and still has the purported error.

This is because opt_clean attempts to remove "alias names" - where more than one name applies to the same wire - out of any active paths to simplify the design, while still preserving the aliases as "dangling" connections.
Visualise this with the following example:
module top(input a, output q);
wire b = !a;
assign q = b;
endmodule

Before opt_clean, the assignment is in the cone of q:

After opt_clean, the assignment is optimised out, and an alias for b added to q instead, effectively reversing the assignment here too:

Hopefully, this clears up a bit what is going on and the rationale behind it. I would consider this intended behaviour of opt_clean/clean- which is an important part of any flow for multiple reasons - rather than a bug.


skiaChart legend custom fontFamily not work but  other rn normal component works

setOption not work about legend fontFamily, it is a custom load font

assets: ['./src/assets/fonts/D-DIN-Bold.ttf'] in react-native.config.js

legend: {
        textStyle: {
          fontFamily: 'D-DIN-Bold',

other works example code in style, both yet works on android and ios

  xxxStyle: {
    fontFamily: 'D-DIN-Bold',
  },

version

"@shopify/react-native-skia": "^0.1.213"
"@wuba/react-native-echarts": "^1.2.3"
"echarts": "^5.4.3"

@krmao I am pretty sure this is an issue with Skia itself. I have reported that here:
https://github.com/Shopify/react-native-skia/issues/1894

@Jakub-Plan-d-k Thank you for your dedicated response, which has helped me understand the key information. Fortunately, this issue did not block my work. I will close this issue and keep watching. Thanks again!


Removed background image

I understand you want to advertise your product, but I find the background to be quite distracting (especially when using a dark theme).
When not using a background and a background color I find the player to be much more pleasing to the eyes.

Agreed, this is much better. Thanks!


Explore Tailwind CSS

Tailwind is a different approach to styling and class names that we might want to try, similar to Bootstrap in its lack of semantic classes. I'm curious what this would look like and which of the several React Native implementations we might try, so the assignment here is to try a few and re-style the login view to see how it looks and feels.

Closed in https://github.com/inaturalist/iNaturalistReactNative/pull/185


containerd.toml version 2 support

As containerd config default produce containerd.toml version 2 for latest containerd, so README.md should include how to set nydus working env for containerd.toml version 2

Why this was closed? It sounds reasonable.


How does this library compare to unstated-next ?

@jamiebuilds's unstated-next library seems to address similar use-cases as this library: the ability to have multiple values inside a context object and to have control over which of those values trigger a re-render.
What are the pros and cons of the approach taken by this library vs. unstated-next?

@justingrant The way unstate-next suggests is a pure React way: Create multiple contexts. I don't think they have multiple values inside a single context. Where do you find that description?
Even if there is a library that keeps several values in multiple/single context, there's a use case where selector works better. Selector interface is very powerful, and it can do something like this:
const isYoung = useContextSelector(ctx, s => s.person.age < 10); // it won't trigger a re-render if `age` is changed from `5` to `6`.

@dai-shi - I was thinking of the way that you can put multiple methods and/or properties into an unstated-next Container.  Like this:
function useCoordinates() {
  const [x, setX] = useState(0);
  const [y, setY] = useState(0);
  const getRadius = useCallback(() => Math.sqrt(x*x + y*y),
    [x, y]
   );
  const set = useCallback((newX, newY) => {
    setX(newX);
    setY(newY);
  }, [x, y]);
  return ({
    x,
    setX,
    y,
    setY,
    set,
    getRadius,
  });
}
export const FooContainer = createContainer(useFoo);

But I think I also see what you mean, because in my example above there's not a good way to say "only re-render if x changes but not if y changes. Is that the essence of the difference that you mean?

@justingrant Yes, in your example, if x changes and y doesn't change, a component that only use y will also re-render.
useContextSelector solves it with a proper selector.
useTrackedState in react-tracked solves it without any selector.
I can create some examples if you like.


Cannot read property 'indexOf' of undefined

Looks like a problem parsing the powershell output. The error occurred just after Upgrading npm in C:\Program Files\nodejs appeared in the powershell window.
Upgrade did complete successfully.
Upgrading.. \

C:\Users\btp\AppData\Roaming\npm\node_modules\npm-windows-upgrade\bin\npm-windows-upgrade:65
        } else if (output[output.length - 1].indexOf('All done!') > -1) {
                                            ^
TypeError: Cannot read property 'indexOf' of undefined
    at C:\Users\btp\AppData\Roaming\npm\node_modules\npm-windows-upgrade\bin\npm-windows-upgrade:65:45
    at ChildProcess.<anonymous> (C:\Users\btp\AppData\Roaming\npm\node_modules\npm-windows-upgrade\bin\npm-windows-upg
rade:29:9)
    at ChildProcess.emit (events.js:110:17)
    at Process.ChildProcess._handle.onexit (child_process.js:1074:12)

I am getting this on Windows 8.1 trying to upgrade a custom portable install of npm.

Thanks for continued reports - with the thousands of configurations (Windows/Node/npm/Installation/x64 vs x86), I can really use these.
I pushed an update that fixes this error. That being said, what is undefined here is the output of the updater PS1 script - which doesn't exactly mean great things.


fix(lark): not compare verification token if undefined

fix koishijs/koishi#1067

Codecov Report

Merging #99 (889c594) into master (95122d9) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##           master      #99   +/-   ##
=======================================
  Coverage   82.14%   82.14%
=======================================
  Files           1        1
  Lines         420      420
  Branches       86       86
=======================================
  Hits          345      345
  Misses         75       75

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

如果没有 token 岂不是就没有鉴权了？

Unfortunately, there's only "challenge" message and "interactive card action" message would be sent with the token that can be verified.

是说其他事件都可以被伪造吗

是说其他事件都可以被伪造吗

Yes, but there is encryptKey that can be a security guard for them.


Add installation instructions

Hey there! Saw the installation were missing on the README.

@d70-t, any thoughts on this?

I've had a look into the CI errors above. The are seemingly related to updates to common IPFS servers which had not yet been accounted for in the code. I've added a few updates to the current main. If you'd merge or rebase, the errors should go away.

Thanks for jumping in!

I guess the official way of installing would be to install the latest released version via pypi, thus just using the package name in the command. Your suggestion would install the current (maybe unreleased) main branch.

Agree!

I've added a few updates to the current main. If you'd merge or rebase, the errors should go away.

:heavy_check_mark:

Thanks for updating! 🎉


TxnResponse issue

Filter statement in the 3 getXXXResponse() methods of TxnResponse class should be using == operator instead of !=
Currently these 3 method won't work as expected
I can submit a pull request if needed

@ehubin  good catch!

@fanminshi you are welcome ;-)


[CS] Drop dead-code

Consequently, "increase" code coverage %

Coverage increased (+0.06%) to 98.442% when pulling ff75d3e55b03e25232cf8816fb1c2a913953a6a4 on sfgeorge:feature/drop-dead-code into faa625e6d45227e2c97ac08216e812975693412e on adhearsion:develop.

@benlangfeld Is it okay to merge this?

Coverage increased (+0.06%) to 98.442% when pulling f9101cfa82626123a2b0fa4093e70ef41ec00e13 on sfgeorge:feature/drop-dead-code into e2fc590d6bfd8dbdf96a8833b077f88700aba926 on adhearsion:develop.


Migrate to new OpenEye charging engine

The February toolkit release uses OEAssignCharges and OEAssignPartialCharges is basically deprecated (see https://docs.eyesopen.com/toolkits/python/quacpactk/OEProtonFunctions/OEAssignCharges.html#OEProton::OEAssignCharges) so we should migrate at some point.

After discussion with Christopher Bayly, we should migrate to the new charging engine, OEAssignCharges, everywhere EXCEPT in SMIRNOFF forcefields (because it does not yet expose partial bond orders). Usage will basically be the same, though it implements the latest charge ELF procedure so its performance should be more reliable.
HOWEVER, there is one extension of the charging protocol that he recommends. Specifically, the normal (small) RMSD threshold for omega is still recommended as long as the maximum number of conformers (maxconfs) is not reached. But when maxconfs is hit, what will happen is that omega will begin to prune the least favorable conformers in order to maintain only maxconfs; with a low RMSD threshold this can result in a gradual loss of diversity of the conformers and thus correspondingly worse performance for the charge calculations.
Thus, Chris's recommendation was this: Whenever maxconfs is hit, increase the RMSD threshold for conformer generation until maxconfs is no longer hit. This will ensure that conformers are diverse for very flexible molecules, while still using the recommended low RMSD threshold for relatively rigid molecules.


⚠ Bofrost.de has degraded performance

In cd1dea7, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1507 ms

Resolved: Bofrost.de performance has improved in bb5453a after 11 minutes.


utf-8 accented characters

there are some strange behaviors in xrdp sessions with utf-8 accented character:
in vi for sample, when typing an accented character like 'é', a space is add after and some time when delete it, a '�' replace it.
other sample: google chrome don't like 'Téléchargements' folder for downloads, it create an other directory: 'T?l?chargements' and can't open file downloaded in directory.
is there a way to handle correctly utf-8 accented characters in xrdp sessions?

This should all be sorted since #2794


bg not showing up in the bg list

i tried to add my bg, so i coded it like the top. but when i compiled it, the bg didnt show up on the list

You might need to hard code that in

You might need to hard code that in

how do i do it then?

dude add it in the 'stageList.txt' stoopid

dude add it in the 'stageList.txt' stoopid

oh sry i didnt even think about it ;3;

dude add it in the 'stageList.txt' stoopid

oh sry i didnt even think about it ;3;

:dies_of_cringe:

it works, but the character positions are kinda off. so i tried coding in the position things
but now this happened

nvm, i tried using boyfriend. x, boyfriend.y, gf.x and gf,y and it worked lol

ok, now i tried to reposition them, but they just wont move to the correct spot. they will just end up at the bottom
how do i fix this

keep trying changing the boyfriend.setposition but just try the y which is the level of height in which the character is.
Sussy Baka

now i tried to change the bg to my bg
but it just showed up as the stage

now i tried to change the bg to my bg
but it just showed up as the stage

stages were unhardcoded to put them into charts.

now i tried to change the bg to my bg
but it just showed up as the stage

stages were unhardcoded to put them into charts.

what should i do then


Tutorial

In pegasus_analysis.ipynb:

Resolve the weird double-stars appearing along with the content in red:

If you cannot make the content both in red and in bold, then making it just in red is okay.
Correct the two references (I highlighted them in red circles):

Which version of umap-learn was installed in the conda environment running this notebook? If it's not v0.5.2, please upgrade it to this version and rerun the notebook.
In the line below, change name from "result.zarr.zip" to "MantonBM_result.zarr.zip" to be consistent with the other notebooks, and remove the inline comment:

In plotting_tutorial.ipynb:

Remove the lines in red highlight block. The gender attribute should already exist in the input data:

In doublet_detection.ipynb:

Why does it have the following lines at the end of the file? Looks like a cached output. You may need to rerun the notebook to remove it.

In batch_correction.ipynb:

Correct the description paragraph below the performance plot to make it consistent with the plot:

In regress_out.ipynb:

No Line 4. You need to rerun the notebook to correct the line numbering.

In pegasus_analysis.ipynb:

Resolve the weird double-stars appearing along with the content in red:

If you cannot make the content both in red and in bold, then making it just in red is okay. * Correct the two references (I highlighted them in red circles):

Which version of umap-learn was installed in the conda environment running this notebook? If it's not v0.5.2, please upgrade it to this version and rerun the notebook. * In the line below, change name from "result.zarr.zip" to "MantonBM_result.zarr.zip" to be consistent with the other notebooks, and remove the inline comment:

(jupyter_pegasus) rocherr@rocherr-RKML7L pegasus % pip list| grep umap
umap-learn            0.5.2


CLI: func run failed with 'Append access can be requested only in write-only mode.'

Ran into below when trying to func run <funcname>.
Unhandled Exception: System.AggregateException: One or more errors occurred.
---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.ArgumentException: Append access can be requested only in write-only mode.
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.IO.Abstractions.FileWrapper.Open(String path, FileMode mode, FileAccess access, FileShare share)
   at WebJobs.Script.Cli.Common.FileTracer..ctor(TraceLevel level, String filePath)
   at WebJobs.Script.Cli.DependencyResolver.ResolveTraceWriter(TraceLevel info, String logFile)
   at WebJobs.Script.Cli.Verbs.BaseVerb.EnsureTracer()
   at WebJobs.Script.Cli.Verbs.BaseVerb.set_LogFile(String value)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
   at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index)
   at NCli.ConsoleApp.Parse()
   at NCli.ConsoleApp.RunAsync[T](String[] args, IDependencyResolver dependencyResolver)
   at NCli.ConsoleApp.<>c__DisplayClass1_0`1.<Run>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at NCli.ConsoleApp.Run[T](String[] args, IDependencyResolver dependencyResolver)
   at WebJobs.Script.Cli.Program.Main(String[] args)

Experiencing the same thing.

@ahmelsayed - can you please look at this and see if it's still relevant

Fixed? Maybe, probably. I don't think it's still relevant


Customise heading levels?

Hi @matthiask.
Sometimes (maybe) five levels of headings is more than one needs. Sometimes (maybe) you want to allow (say) h2-h5 but not h1.
Would it be possible to allow customisation there? (Beyond removing heading from types entirely.)
Thanks.

Hi @carltongibson
I agree! The schema doesn't constrain heading levels much currently and I think I'd like to keep it that way:
https://github.com/ProseMirror/prosemirror-schema-basic/blob/4e358f5443f15abe09406c9327e35aa9e3c1bf8c/src/schema-basic.ts#L42-L54
I'm working on the editor right now (for other reasons) and I have submitted a PR here:
https://github.com/matthiask/django-prose-editor/pull/13
Would that address your issue?

Would that address your issue?

I think that would be more than fine! Just controlling the menu is sufficient for real-world cases I think! 💃

Thanks! I'll upload a release today or tomorrow.


Deserialization error when using Load(STREAM)

Hi Seth,
I'm getting an exception when trying to deserialize from a stream. Please check.
The error and the code are attached below
ERROR:
Unhandled Exception: System.InvalidOperationException: There is an error in XML
document (0, 0). ---> System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderDecisi
onTreeModel.Read1_DecisionTreeModel()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, St
ring encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at numl.Supervised.Model.Load(Stream stream) in c:\projects\numl\numl\Supervi
sed\Model.cs:line 82
at numl.Supervised.DecisionTree.DecisionTreeModel.Load(Stream stream) in c:\p
rojects\numl\numl\Supervised\DecisionTree\DecisionTreeModel.cs:line 72
class Program
{
    static void Main(string[] args)
    {
        var data = new List<MyData>();
        for (var i = 0; i < 1000; i++)
        {
            data.Add(new MyData { Prop1 = i, Prop2 = i + 1, Prop3 = i + 2, Result = i % 2 == 0 });
        }
        var d = Descriptor.Create<MyData>();
        var g = new DecisionTreeGenerator(d);
        g.SetHint(false);
        var learningModel = Learner.Learn(data, 0.80, 1000, g);
        Console.WriteLine(learningModel);

        string modelXml;
        using (var ms = new MemoryStream())
        {
            learningModel.Model.Save(ms);
            ms.Position = 0;
            using (var reader = new StreamReader(ms, Encoding.Unicode))
            {
                modelXml = reader.ReadToEnd();
            }
        }

        // now read
        var m = new DecisionTreeModel();
        using (var stream = new MemoryStream())
        {
            using (var sr = new StreamWriter(stream, Encoding.Unicode))
            {
                sr.Write(modelXml);
                stream.Position = 0;
                // THIS GIVES AN ERROR
                m = (DecisionTreeModel)m.Load(stream);
            }
        }

    }
}

public class MyData
{
    [Feature]
    public double Prop1 { get; set; }
    [Feature]
    public double Prop2 { get; set; }
    [Feature]
    public double Prop3 { get; set; }
    [Label]
    public bool Result { get; set; }
}

Uh oh - I will make sure to add a test for this to see what is going on.

Seems like the serialization is completely remodeled since this issue was created. But the answer is to leave out the Encoding.Unicode for the StreamReader / StreamWriter and it works. Probably time to close this issue.

Yes - we've gone the way of json as opposed to xml. We are putting the finishing touches on it right now

I will close this - it should work.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-source-version-target/pull/63 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-source-version-target.git

Docs Build status updates of commit 8ca757d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

versioningArchiveSourceFolder/TOC.yml
:white_check_mark:Succeeded
View (sql-server-2014 || azuresqldb-current || azuresqldb-mi-current || azure-sqldw-latest || >= aps-pdw-2016 || >= sql-server-2016 || >= sql-server-linux-2017 || sql-server-previousversions || sqlallproducts-allversions)

versioningArchiveSourceFolder/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 8ca757d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

versioningArchiveSourceFolder/TOC.yml
:white_check_mark:Succeeded
View (sql-server-2014 || azuresqldb-current || azuresqldb-mi-current || azure-sqldw-latest || >= aps-pdw-2016 || >= sql-server-2016 || >= sql-server-linux-2017 || sql-server-previousversions || sqlallproducts-allversions)

versioningArchiveSourceFolder/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


[Allure plugin] Add/update to allure2

Hi,
we want to use this attachments api for screen-diff-plugin with turn on overlay diff for every step:
allure.attachment('screen diff', screenDiffJson, {
   contentType: 'application/vnd.allure.image.diff',
   fileExtension: 'json'
})

(PR with added API here: https://github.com/allure-framework/allure-js/pull/221)
In codeceptjs repository is actually used very old package version from this repo: https://github.com/allure-framework/allure-js-commons with version
"allure-js-commons": "^1.3.2",

which should be deprecated and code is moved here to another repo: https://github.com/allure-framework/allure-js  (latest version 2.0.0-beta.9)
I got info from Allure site, reports actually looks like this:
imagediff.zip
(Just unzip, go to folder and run allure serve .)

+1

use enableScreenshotDiffPlugin
https://codecept.io/plugins/#allure

@Vorobeyko no way. Error for code above
Error processing suite.after event: Error: attribute value for name 'type' should be a primitive (string, number, boolean, null, or undefined)

Can you send your config file please?

exports.config = {     tests: './user-scenario/**/*.test.ts',     output: '../../.codeceptjs-output',     plugins: {         screenshotOnFail: {             enabled: true,             fullPageScreenshots: true,         },         allure: {             enableScreenshotDiffPlugin: true,             enabled: true,             outputDir: '.codeceptjs-output/allure-report',         },     },     helpers: {         Playwright: {             url: 'http://localhost:9999',             waitForTimeout: 8000,             waitForAction: 200,             show: !!process.env.VISUAL,             keepCookies: false,             restart: true,             windowSize: '1650x1080',             browser: 'chromium',             chromium: {                 args: [                     '--window-size=1650,1080',                     '--disable-dev-shm-usage',                 ],                 defaultViewport: {                     width: 1650,                     height: 1080,                 },                 executablePath: process.env.CHROMIUM_PATH,             },         },         FileSystem: {},     },     include: {         I: './settings/steps.ts',     },     bootstrap: null,     mocha: {},     name: 'e2e-tests',     require: ['ts-node/register', 'tsconfig-paths/register'], };

exports.config = {
    tests: './user-scenario/**/*.test.ts',
    output: '../../.codeceptjs-output',
    plugins: {
        screenshotOnFail: {
            enabled: true,
            fullPageScreenshots: true,
        },
        allure: {
            enableScreenshotDiffPlugin: true,
            enabled: true,            outputDir: '.codeceptjs-output/allure-report',
        },
    },
    helpers: {
        Playwright: {
            url: 'http://localhost:9999',
            waitForTimeout: 8000,
            waitForAction: 200,
            show: !!process.env.VISUAL,
            keepCookies: false,
            restart: true,
            windowSize: '1650x1080',
            browser: 'chromium',
            chromium: {
                args: [
                    '--window-size=1650,1080',
                    '--disable-dev-shm-usage',
                ],
                defaultViewport: {
                    width: 1650,
                    height: 1080,
                },
                executablePath: process.env.CHROMIUM_PATH,
            },
        },
        FileSystem: {},
    },
    include: {
        I: './settings/steps.ts',
    },
    bootstrap: null,
    mocha: {},
    name: 'e2e-tests',
    require: ['ts-node/register', 'tsconfig-paths/register'],
};

Hi everybody.
I'm talking behalf of patrjam.
We definitely using the flag in the config for the enableScreenshotDiffPlugin option. The problem is it simply does not work. It seems to us the codeceptjs allure plugin is still using allure v1 format for the report. But the screenshot diff plugin in allure dashboard (at least according to the code) seems to consume the allure v2 report. I guess as patrjam mentioned in the description the whole report system must be upgraded from the allure v1 to allure v2. Otherwise the screenshot diff plugin will not work as expected anymore.
If you compare the report placed in the imagediff.zip archive file, you can see the generated report for the allure framework looks completely different (because it's the v2). The codeceptjs allure plugin generates still reports in the v1.
Let me know if we should provide more clarification.

For completely information, allure1 has different approach and also different type of format than allure2. Old format for allure1 was xml and for new allure2 is json

@patrjam, do you have based on the current codeceptjs v3.0.6 with allure-commandline v2.13.8, possible to use the json raw test result?


[nightly] Syntactically invalid declaration files emitted under extremely specific conditions

🔎 Search Terms
declaration syntax invalid comment docstring
🕗 Version & Regression Information

Bisected this to https://github.com/microsoft/TypeScript/commit/2b4e7e34e7a40fe0d886aec6f799954420f2ac0c cc @dragomirtitian @weswigham

⏯ Playground Link
https://www.typescriptlang.org/dev/bug-workbench/?target=7&composite=true&ts=5.6.0-dev.20240608#code/PTAEAEGMHsFsAdoGcCWAXApgLlGgTgK4YBQIES+KkaO+RpY4AJhpADYCGeHaK0AdrUIky4JAAtoAdwCisdA3KTZ8tJiYAxFG2ygOAOib60SYovAAzbRn4dYugyeIoE0PGlABvUACNoADwwmACEA0ABfUAs8OFAAIn1gP0CQgLiAbjMMf0R3UBh+ClAAfVAAXl8AoND-TMUAQQ8UfhZ-UAAOAGZSACoe4lAe0CkeAZ7gM1ErHVt7HGTqgMNjU2zcjxZ2Lgx8gSKF1P8cF3WACgSktIBKfRqAHk8B0GeD49d3c8TkuJv7-gJYD4MHgAHyZcJg55Q6Ew2HQsgAPQAKuIUEhQGiMS1sh1OljcKj0dMSOZibNdMllk41m4NqxOHgdlskOj7kiQV4ns8AG4cNhEHBIzLQgoUQjUNynXn83RIq7g4g0vKbBk7CwEfjUPj8Sr+O7sqV8gWgOU4Nlg4hAA
💻 Code
// @composite: true
// @strict: true
// @declaration: true
// @showEmit
// @showEmittedFile: a.d.ts

// @filename: a.ts
import { boxedBox } from "./boxedBox";

export const _ = boxedBox;

// At index 83
/**
 * wat
 */

// @filename: boxedBox.d.ts
export declare const boxedBox: import("./box").Box<{
    boxed: import("./box").Box<number>;
}>;                        // ^This is index 83 in this file

// @filename: box.d.ts
export declare class Box<T> {
    value: T;
    constructor(value: T);
}
export declare function box<T>(value: T): Box<T>;

🙁 Actual behavior
a.d.ts is emitted as
export declare const _: import("./box").Box<{
    boxed: import("./box").Box /**
     * wat
     */<number>;
}>;
/**
 * wat
 */

🙂 Expected behavior
a.d.ts is emitted as
export declare const _: import("./box").Box<{
    boxed: import("./box").Box<number>;
}>;
/**
 * wat
 */

Additional information about the issue
Given the extremely specific conditions under which this bug arises, somehow we hit the lottery by encountering it. Basically what I observed is that there is a point where this code is reached:
https://github.com/microsoft/TypeScript/blob/d8086f14b6b97c0df34a0cc2f56d4b5926a0c299/src/compiler/emitter.ts#L5715-L5728
in the following state:

node refers to Box, the one that's part of import("./box").Box that comes just before the syntax error.
getSourceFileOfNode(node) evaluates to the b.d.ts which is different from currentSourceFile, which is a.ts
We use node.pos and node.end to figure out which comment range to get the comment from. But these indexes are relative to b.d.ts, not a.ts! So we attempt to look for a comment in a.ts. Most of the time no comment would be found at these positions in a.ts, but by sheer luck, there happens to be a comment in a.ts starting right at node.end!

Imagine our surprise when my teammate's compilation started failing after touching a completely different part of a different file. They were just unlucky enough to have shifted a token into the exact right spot to surface the bug.

This sounds similar to  which was supposed to have been fixed by https://github.com/microsoft/TypeScript/pull/58706


RadioGroup Validation using @Checked

Hello,
would be nice if also RadioGroups would be validated by annotation @Checked.

Works, can you recheck?

Already fixed, same as #78

Sorry, mis-used the framework. It works now. However, how to set encoding für @Checked(message?

Do you mean string resources?

Ok, that was a bit too brief..sorry.
I have something linke this: @Checked(message = "öäüß")
Instead of the characters there are only questionmarks in the Toast output.
Btw.: Is there a way to reference string resources and assign them to message like this or maybe similar to?:
@Checked(message = @string/myStringMessage)

Use the messageResId attribute instead of message

oops I should have seen that...perfect..thanks.


error 403

I get a 403 error on every stream.
I'm using a basic example.

same problem

Today I get 403 error
Error: Request failed with status code 403

I got axios error with url
https://tiktok.isaackogan.com/webcast/fetch/?room_id=...
But it works fine at local. May be this website received too many requests from my server and block it for security reason...

same :|

any solution?


fix: #1371 tab component not showing on mobile screen size

changed table border radius to match tab component
ref: #1371

Hi Jota, I merged the pr in the theme repo, and published the v1.8.7, do you mind update the version in our FAM repo as well, thanks!!


P002116-1286: Added documentation for dashboard introduction

Thank you @sjimenez77  for pointing out the typos. Corrected them and merging.


async_hub fails

Context
Raspberry Pi4B
Linux RPi4-Alpha 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux
iotedge 1.4.16
Python 3.9.2
pip 23.2.1 from /usr/local/lib/python3.9/dist-packages/pip (python 3.9)
Package             Version
------------------- ---------
azure-iot-device    2.12.0
certifi             2020.6.20
chardet             4.0.0
colorzero           1.1
deprecation         2.1.0
distro              1.5.0
gpiozero            1.6.2
idna                2.10
janus               1.0.0
numpy               1.19.5
packaging           23.2
paho-mqtt           1.6.1
picamera2           0.3.12
pidng               4.0.9
piexif              1.1.3
Pillow              8.1.2
pip                 23.2.1
PySocks             1.7.1
python-apt          2.2.1
python-prctl        1.7
requests            2.25.1
requests-unixsocket 0.3.0
RPi.GPIO            0.7.0
setuptools          52.0.0
simplejpeg          1.6.4
six                 1.16.0
spidev              3.5
ssh-import-id       5.10
toml                0.10.1
typing_extensions   4.8.0
urllib3             1.26.5
v4l2-python3        0.3.2
wheel               0.34.2

Description of the issue
With Edge agents halted sudo iotedge system stop this sample works launched from the command line.
Tested by this command in cloudshell: az iot hub invoke-device-method --device-id "Alpha" --hub-name "hub2" --method-name "method1"
With the Edge agent restored (either reboot or sudo iotedge config apply -c '/etc/aziot/config.toml'), similar code based on this sample never triggers the on_method_request_received call_back.
There are no errors in the logs, however the cloudshell command fails with
Error occurred in request., ReadTimeout: HTTPSConnectionPool(host='edge2.azure-devices.net', port=443): Read timed out. (read timeout=30)
There are no errors in  sudo iotedge check --verbose
The container successfully writes to the logs - which correctly show in Azure Portal "Troubleshooting'.

Command used to create the container:
sudo docker build --rm -f "./modules/App/Dockerfile.arm64v8" -t iotedge.azurecr.io/app:2<IP_ADDRESS>.10-arm64 "./modules/App/"
Code sample exhibiting the issue
A simplification of this sample
import asyncio
import sys
import signal
import threading
from azure.iot.device.aio import IoTHubModuleClient
from datetime import datetime

# Event indicating client stop
stop_event = threading.Event()

def create_client():
    client = IoTHubModuleClient.create_from_edge_environment()

    # Define behavior for receiving methods
    async def method_handler(method_request):
        print("method request received: {}".format(method_request.name))
        method_response = MethodResponse.create_from_method_request(method_request, 400, None)
        await client.send_method_response(method_response)

    # set the received data handlers on the client
    client.on_method_request_received = method_handler

    return client

async def run_sample(client):
    await client.connect()
    while not stop_event.is_set():
        now = datetime.now()
        current_time = now.strftime("%H:%M:%S")
        print(current_time, "   heartbeat")

        await asyncio.sleep(15)

def main():
    if not sys.version >= "3.5.3":
        raise Exception( "The sample requires python 3.5.3+. Current version of Python: %s" % sys.version )
    print ( "IoT Hub Client for Python" )

    # NOTE: Client is implicitly connected due to the handler being set on it
    client = create_client()

    # Define a handler to cleanup when module is is terminated by Edge
    def module_termination_handler(signal, frame):
        print ("IoTHubClient sample stopped by Edge")
        stop_event.set()

    # Set the Edge termination handler
    signal.signal(signal.SIGTERM, module_termination_handler)

    # Run the sample
    loop = asyncio.get_event_loop()
    try:
        loop.run_until_complete(run_sample(client))
    except Exception as e:
        print("Unexpected error %s " % e)
        raise
    finally:
        print("Shutting down IoT Hub Client...")
        loop.run_until_complete(client.shutdown())
        loop.close()

if __name__ == "__main__":
    main()

Console log of the issue
No error in the log

Note: the device appears to have the latest versions installed

This seems to imply that running as a container cannot work since Docker already has the connection
https://github.com/Azure/azure-iot-sdk-python/issues/445#issuecomment-579489769

the docker container for your module probably has a process that's has it's own network connection for the module

Apparently, the simulated sensor also implements the Direct method. (line 84)
This is failing too.
The container is successfully running and telemetry is received in Azure IoT Hub. Module twin is processed successfully.

When 'reset' is sent to the device another line should appear in the log: "Received direct...".
This fails to appear, and the message times out.

For reference, this is the code that show process the Direct request.


fix: change callback method to allow other sign in method

fix #248

Hello! Thank you for opening this PR! I'll review this soon :)

Sorry for being slow to review this.
We should probably write some test for it, so these things don't need manual check. I'll try to put some time into it this weekend.

Thank you for your contribution! 🙏


ci: Use pointer workflows to preserve run date

Due to GH API limitation workflow is unable to fetch info about itself. Dates of previous runs are used in scripts. An empty array is returned instead.
As a workaround to overcome those limitations two new workflows are introduced.
Their intention is "just to be triggered" and therefore preserve the date which is used in dependencies and IT workflows.
Test Plan

How do we know the code works?

There is no easy way to test the implementation. This PR introduced 2 new workflows which can be triggered after the merge to master.

recheck

recheck

Our CI is going to be a complicated system. I am not talking only about the impact of this PR. So you know what I mean. Will be helpful to have a documentation page for each workflow, with the described purpose and results.

good point maybe let's create ticket for it

Our CI is going to be a complicated system. I am not talking only about the impact of this PR. So you know what I mean. Will be helpful to have a documentation page for each workflow, with the described purpose and results.

good point maybe let's create ticket for it


SOLR-16393: Migrate alias-deletion to JAX-RS

https://issues.apache.org/jira/browse/SOLR-16393
Description
Solr is in the process of migrating its v2 APIs over to a JAX-RS framework. This gives us a more feature-rich framework for expressing APIs, makes it easier for the APIs themselves to be more REST-ful and standardized, and also makes it easier for Solr to integrate with tooling such as OpenAPI, which can be used to autogenerate client bindings for a variety of different languages.
But many non-JAX-RS APIs remain.
Solution
This commit migrates the "delete alias" API to the JAX-RS framework.
It also makes a few cosmetic changes to the v2 API to bring it closer into line with the more REST-ful design we're targeting for v2.  Alias deletion now uses the API:
DELETE /api/aliases/aliasName

Tests
Existing alias tests continue to pass.
Checklist
Please review the following and check all that apply:

[x] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[x] I have created a Jira issue and added the issue ID to my pull request title.
[x] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[x] I have developed this patch against the main branch.
[x] I have run ./gradlew check.
[ ] I have added tests for my changes.
[x] I have added documentation for the Reference Guide

I've added some unit tests to cover the testing gap.  Thought I'd done that earlier, my mistake.

Also are we adding upgrade notes info for V2 API changes, or just CHANGES.txt entries?

I've been sticking to CHANGES.txt entries up to this point whenever a v2 API is added or modified.  I hadn't done upgrade notes, primarily because of the evolving nature of the v2 APIs.  I don't have a strong opinion either way there - I'd be happy to add an upgrade note that aggregates a lot of the CHANGES.txt entries, if you think that'd be valuable to folks?

Nah, that sounds good to me!


Openshift deployment?

Does anybody have openshift deployment strategy?

@IzaGz Not at the moment :) Would you like to add a PR for that?

I'm trying now... tell you guys after done.

So, @ZeroCho, how's it going?

We're cleaning up issues on the project and since this is an old issue we're closing it.
If you still experience this or have an issue, please comment here or open a new one.
In case you're speaking about dockerizing the project then please check https://github.com/reactGo/reactGo/issues/631 for an example.


feat(source-jira): add fivetran converter

Closes #16

This is a tricky one @marcosmarxm. Kindly review carefully ✌

Thanks Tope!


[BUG]: [Search functionality not working in Documents tab for Judge and Court Staff user role | dpg-dev]

Describe the bug
Search functionality not working in Documents tab for Judge and Court Staff user role.
To Reproduce
Steps to reproduce the behavior:

Go to litigent -> file a case
Go to judge
Click on documents tab -> search
See error

Expected behavior
Search functionality should work in Documents tab for Judge and Court Staff user role.
Screenshots
https://jam.dev/c/63525e88-d2b3-49f6-a9d2-68de45294bd8

Tested in UAT env, parties/ owner search functionality not working as expected.
https://jam.dev/c/3344b31b-0439-417c-bb73-e9171d893524
cc : @Ramu-kandimalla @rajeshcherukumalli


zetz support / reusability as C library

Hi,
i was wondering what's needed to use this outside of rust,
specifically in zetz ,  but other non-rust projects such as IDEs could benefit
the library first approach is great, and would make this very reusable. since rust has its own incompatible ABI unfortunately to make it work outside of rust, you'd have to add an extra standard ABI layer. Would that be something you'd be willing to maintain on top?

I personally have any interest in maintaining that. There is a reason we all want to use Rust and I have zero interest in pushing C any further.
If someone else wants to take care of this, I accept any PR with C bindings, I take no issue with that. Just maintaining it myself is not worth my time.
But as I can see, zetz is written in Rust. I don't see why you couldn't just use the probe-rs crate as is?
I am already thinking of how we could make probe-rs useable from the outside. And I am thinking of a Server which you can control via let's say JSON (or whatever it is) commands. That way, we don't have to carry a fragile C API and are also directly compatible with any language that can open a Socket and serialize/deserialize JSON.
The ITM tracer and the VSCode plugin are already implemented like that.

Ok that's unfortunate


fix: build the configured manifest file instead of the one from the URI

fix for #1700
Accordingly to @sarahmaddox this is a copy-paste error .

This change is

/ok-to-test
/lgtm
/approve
Thanks @portellaa


How to solve the defects found in 1.0.1 in the next version

CH

文件传输时进度显示问题：该问题由'\b'符号导致，对于某些不能兼容'\b'的命令行，您可以通过设置参数“file.progress.event”为“logger”，这将会为进度条启动日志打印模式，能够兼容各类命令行。
文件传输时百分号问题：该问题由百分号位置错误导致，对总体不会有影响，新版本将会修正此错误。

EN

Progress display problem during file transfer: This problem is caused by the ' b' symbol. For some command lines that are not compatible with ' b', you can set the parameter "file. progress. event" to "logger", which will start the log printing mode for the progress bar, which is compatible with various command lines.

The percentage problem during file transfer: This problem is caused by the error of the percentage position, which will not affect the overall situation. The new version will correct this error.

If there are errors found later, they will continue to be added here until the new version is released!!!!
Next version: 1.0.2

新版本已于今日发布到maven，您可以通过，maven获取仓库，也可以等待新版本的包！
The new version has been released to maven today. You can get the warehouse through maven or wait for the package of the new version!


Redirect not followed and outputs header

Thank you for your script.
Unless I missed something, the current implementation

outputs the header of the http response,
does not follow redirect (302), so the actual file is not downloaded.

By replacing the -i switch with -L in the download command, i.e.
COMMAND_DOWNLOAD_BOOK="curl -s -L --cookie $login_cookie $URL_DOWNLOAD_BOOK"
the actual file is directly downloaded.

Thanks, you are right, I will update accordingly.


Profiles

Basically some sort of combo box above the sessions to separate treeview of
nodes from other treeviews.

eg. I have 38 servers I manage at home with a number of subfolders for them. I
also manage other networks and don't want to mix these up with my home ones. It
also declutters a much longer list to be broken into different areas or
profiles as I call it. This way I can have a Home, Work,Client profile and
quickly flick between them.

Easiest way I see is a combo at the top of the treeview. the hardcoded
Sessions.XML filename be passed as an argument to all functions and the
Sessions.XML would be used as a default if none are found in a ./profiles dir.
Options menu can hold a default to use on start or first off the list if first
time load, etc.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 11 Jun 2012 at 2:28

Closing this issue but all hope is not lost! We still want to help.
See: https://github.com/jimradford/superputty/wiki/Legacy-Imported-Issues on how to help us to help you!


Release

Hi
Do you plan to do a new release with recent changes ?
Thank you

Likely pretty soon.

Thanks!


Does not warn/fail on nuget execution status

If the nuget processe(s) fail or go warning there does not appear to be any mechanism to determine this.
Looking at http://inedo.com/support/sdk-reference/otter/Inedo.Otter.Extensibility.Operations/IOperationExecutionContext there does appear to be a way to get the execution status of an execution.

If the operation uses the "error" log level, the OtterScript can catch that using a try-catch block.
You can get the status from the context using the ExecutionStatus property. Setting the status is done via this.LogWarning, this.LogError, etc., or by throwing an uncaught exception.

The nuget extension does not seem to log at anything other than DEBUG.  Here is a the log logmessages of one of the executions.
DEBUG: 2017-08-08 18:57:13Z - Using LocalAgent agent on localhost INFO : 2017-08-08 18:57:13Z - Installing packages for projects in C:\BuildMaster\Workspace\ThingCompany.InventoryManager to C:\BuildMaster\Workspace\ThingCompany.InventoryManager\src\packages... INFO : 2017-08-08 18:57:13Z - Finding packages.config files in C:\BuildMaster\Workspace\ThingCompany.InventoryManager... INFO : 2017-08-08 18:57:13Z - Installing packages for C:\BuildMaster\Workspace\ThingCompany.InventoryManager\src\ThingCompany.InventoryManager\packages.config... DEBUG: 2017-08-08 18:57:13Z - Executing: C:\Tools\nuget.exe install "C:\BuildMaster\Workspace\ThingCompany.InventoryManager\src\ThingCompany.InventoryManager\packages.config" -OutputDirectory "C:\BuildMaster\Workspace\ThingCompany.InventoryManager\src\packages" DEBUG: 2017-08-08 18:57:13Z - Feeds used: DEBUG: 2017-08-08 18:57:13Z -   C:\Windows\system32\config\systemprofile\.nuget\packages\ DEBUG: 2017-08-08 18:57:13Z -   https://api.nuget.org/v3/index.json DEBUG: 2017-08-08 18:57:13Z - Restoring NuGet package ThingCompany.Services.1.0.6246.42730. DEBUG: 2017-08-08 18:57:13Z - Restoring NuGet package ThingCompany.Common.1.0.6424.2156. DEBUG: 2017-08-08 18:57:14Z -   GET https://api.nuget.org/v3-flatcontainer/ThingCompany.common/1.0.6424.2156/ThingCompany.common.1.0.6424.2156.nupkg DEBUG: 2017-08-08 18:57:14Z -   GET https://api.nuget.org/v3-flatcontainer/ThingCompany.services/1.0.6246.42730/ThingCompany.services.1.0.6246.42730.nupkg DEBUG: 2017-08-08 18:57:14Z -   NotFound https://api.nuget.org/v3-flatcontainer/ThingCompany.services/1.0.6246.42730/ThingCompany.services.1.0.6246.42730.nupkg 159ms DEBUG: 2017-08-08 18:57:14Z - WARNING: Unable to find version '1.0.6246.42730' of package 'ThingCompany.Services'. DEBUG: 2017-08-08 18:57:14Z -   C:\Windows\system32\config\systemprofile\.nuget\packages\: Package 'ThingCompany.Services.1.0.6246.42730' is not found on source 'C:\Windows\system32\config\systemprofile\.nuget\packages\'. DEBUG: 2017-08-08 18:57:14Z -   https://api.nuget.org/v3/index.json: Package 'ThingCompany.Services.1.0.6246.42730' is not found on source 'https://api.nuget.org/v3/index.json'. DEBUG: 2017-08-08 18:57:14Z -   NotFound https://api.nuget.org/v3-flatcontainer/ThingCompany.common/1.0.6424.2156/ThingCompany.common.1.0.6424.2156.nupkg 310ms DEBUG: 2017-08-08 18:57:14Z - WARNING: Unable to find version '1.0.6424.2156' of package 'ThingCompany.Common'. DEBUG: 2017-08-08 18:57:14Z -   C:\Windows\system32\config\systemprofile\.nuget\packages\: Package 'ThingCompany.Common.1.0.6424.2156' is not found on source 'C:\Windows\system32\config\systemprofile\.nuget\packages\'. DEBUG: 2017-08-08 18:57:14Z -   https://api.nuget.org/v3/index.json: Package 'ThingCompany.Common.1.0.6424.2156' is not found on source 'https://api.nuget.org/v3/index.json'. INFO : 2017-08-08 18:57:14Z - Done installing packages! DEBUG: 2017-08-08 18:57:14Z - Cleaning up... DEBUG: 2017-08-08 18:57:14Z - Deleting C:\BuildMaster\_SVCTMP\_E1036 on localhost... DEBUG: 2017-08-08 18:57:14Z - C:\BuildMaster\_SVCTMP\_E1036 on localhost deleted. DEBUG: 2017-08-08 18:57:14Z - Cleanup complete.

This is within a try/except block


Add RENAME to the Users Guide index

Reported by steven c hankin on 21 Apr 2009 20:46 UTC
Under SET VARIABLE/NAME we find
SET VARIABLE/NAME=
This is effectively a RENAME command ...

How about an index entry under RENAME.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1655

Comment by ansley.b.manke on 21 Apr 2009 22:35 UTC
Added an index entry.  Currently the only one pointing to this information was under
naming
   ...
   variables, renaming


xDnsRecordMx: Unit test missing Mock

Details of the scenario you tried and the problem that is occurring
Cannot throw Get-DnsServerResourceRecord Stub call, as it seems one of the MSFT_xDnsRecordMx\Set-TargetResource tests may not have mocked it.
Verbose logs showing the problem
...
  Describing MSFT_xDnsRecordMx\Set-TargetResource

    Context When managing MX type DNS record
      [-] Calls Add-DnsServerResourceRecord in the set method when Ensure is Present 98ms
        RuntimeException: Get-DnsServerResourceRecord: StubNotImplemented
        at Get-DnsServerResourceRecord, C:\Users\james\Documents\code\xDnsServer\tests\Unit\Stubs\DnsServer.psm1: line 5662
        at Set-TargetResource, C:\Users\james\Documents\code\xDnsServer\output\xDnsServer\0.0.1\DSCResources\MSFT_xDnsRecordMx\MSFT_xDnsRecordMx.psm1: line 163
        at <ScriptBlock>, C:\Users\james\Documents\code\xDnsServer\tests\Unit\MSFT_xDnsRecordMx.Tests.ps1: line 156
VERBOSE: Updating DNS record 'MX' for target 'mail.contoso.com.' in zone 'contoso.com' on 'localhost'.
...

Suggested solution to the issue
Verify that a mock for Get-DnsServerResourceRecord exists within the scope of the test (prior to being called) at line 156

The content of the stub should be changed from (which shows the missing mock as above)
Write-Verbose ('{0}: StubNotImplemented' -f $MyInvocation.MyCommand)

to
throw ('{0}: StubNotImplemented' -f $MyInvocation.MyCommand)

The resource have been deprecated and the unit test has been remove so we can add the throw back in the stub.


Fix/lint errors

If you run molecule test without an .yamllint in your role you get the following errors with the docker driver:
    /XXX/molecule/default/create.yml
      5:17      warning  truthy value is not quoted  (truthy)
      9:81      error    line too long (87 > 80 characters)  (line-length)
      10:81     error    line too long (85 > 80 characters)  (line-length)
      16:81     error    line too long (116 > 80 characters)  (line-length)
      30:81     error    line too long (92 > 80 characters)  (line-length)
      33:81     error    line too long (124 > 80 characters)  (line-length)
      41:19     warning  truthy value is not quoted  (truthy)

    /XXX/molecule/default/prepare.yml
      4:17      warning  truthy value is not quoted  (truthy)

    /XXX/molecule/default/destroy.yml
      5:17      warning  truthy value is not quoted  (truthy)

I've fixed this warnings and errors for docker and vagrant
Cheers

This is somewhat of a moot PR since Molecule will create a .yamllint file when creating a new role so a new user should not get these errors.  As part of Molecule's own coding standards these errors are free to be ignored.
However, I see a different issue.  If a user has an existing role and initializes Molecule in an existing role, it appears a .yamllint file is not created.  I would be open to a PR to fix that issue.  Feel free to open an issue on that topic and/or submit a PR for it.
Thank you for the interest in Molecule, I hope it's working out for you.

Hi @retr0h, I didn't know that Molecule created the yamllint thanks for the tip, I always initialized Molecule inside an already created role.
Nevertheless I would like you to reconsider this PR, even though it doesn't conflict with your coding standards, it does with more strict ones.
I'm forced to respect the 80 lines width limit in my company projects, therefore your yamllint doesn't suit me.
So please give it another shot :)

+1

+1

I'm forced to respect the 80 lines width limit in my company projects, therefore your yamllint doesn't suit me.
So please give it another shot :)

You are free to do what you like with the generated files.  if it doesn't fit your standards, you can fix it to fit your standards.

I ended up fixing the truthy rules in #1028.  I may consider long lines.  However, Molecule standards will probably never match the developers standards, so you may need to modify the templates to your own needs.
However, I will look into line length, but thats not something I generally enforce outside .py files.


Adding 2020-09-01-hybrid API profile for AzureStack

Adding New Api Profile 2020-09-01-hybrid for Azure Stack.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

DNM

Related PR #15535
@abbhar You can patch this diff to your PR to fix keyvault issue.
This line is not needed:
ResourceType.DATA_PRIVATE_KEYVAULT: '2016-10-01'

Also, there are 2 same lines of:
ResourceType.MGMT_KEYVAULT: '2019-09-01'

Hi @abbhar, disk issue could be fixed in PR https://github.com/Azure/azure-cli/pull/15540

Hi @haroldrandom , could you help guide @abbhar to pass credential  scan for new added tests for profile 2020-09-01-hybrid?

Hi @haroldrandom , could you help guide @abbhar to pass credential scan for new added tests for profile 2020-09-01-hybrid?

Please add suppression to CredSupression.json as
https://github.com/Azure/azure-cli/blob/72850c4a1ca0f2d36ad6dce319bd22e59ad387e1/scripts/ci/credscan/CredScanSuppressions.json#L293-L316

/azp run

@abbhar please suppress credential info in the file if you want to keep them in your PR https://github.com/Azure/azure-cli/blob/dev/scripts/ci/credscan/CredScanSuppressions.json.
Add @haroldrandom for help.

@abbhar @bganapa are you ready to merge the PR? if yes, please remove DoNotMerge label.

This is good to be merged!. Thanks @Juliehzl for all the inputs in taking this PR to green!

@abbhar May I ask why there are no resource module related tests?

Create an issue for unresolved test issue in https://github.com/Azure/azure-cli/issues/16146.
@abbhar will work on it later and due to the tight deadline, we need to merge the PR in this sprint first.


Hardcoded default lang?

Is it possible to NOT use English as default fallback language, or to not use it at all? We have multiple languages on our site, but we don't have English. For that reason we don't have en.toml, just sr.toml and hu.toml. The default lang is "sr", but the fallback for the missing translations are not working. I'm not a Go developer, but I can see that English is kinda must-have lang at this line:
https://github.com/gohugoio/hugo/blob/75a823a36a75781c0c5d89fe9f328e3b9322d95f/langs/i18n/translationProvider.go#L51
The tests are passing, because they are using "en" as defaultContentLanguage, but that gives a "fake" success. Changing the defaultContentLanguage to some other lang (and also replacing "en" to that lang everywhere in the tests) results to failing tests...

From memory, defaultContentLanguage means the language assigned to content with no language identifier (e.g. my-post.md). Are you saying that that statement does not hold water?

From memory, defaultContentLanguage means the language assigned to content with no language identifier (e.g. my-post.md). Are you saying that that statement does not hold water?

According to this: https://gohugo.io/content-management/multilingual/#missing-translations

If a string does not have a translation for the current language, Hugo will use the value from the default language.

and

defaultContentLanguage sets the project’s default language. If not set, the default language will be en.

... but it is not possible to use other language codes, other than "en", as setting the defaultContentLanguage to "sr", with the missing i18n/en.toml, Hugo won't use the value from i18n/sr.toml, if there is a missing key in i18n/hu.toml.
I'm saying that i18n/en.toml is mandatory, even there are some cases when a website doesn't have English content. Maybe, it is like this for a reason, but I'm curious what is the recommended solution or configuration for these scenarios.

Confirmed.
git clone --single-branch -b hugo-github-issue-9216 https://github.com/jmooring/hugo-testing hugo-github-issue-9216
cd hugo-github-issue-9216
hugo server

Look at the Français home page. The translation for "dog" is missing even though it is defined in the default language (Deutsch).
If you create an i18n/en.toml file with a translation for "dog", that translation fills in the missing translation. But this site only has three languages: Deutsch, Español, and Français.

Hi, we group of 4 university students would like to attempt this issue as a part of our course project!

Hi! We think that the issue can be resolved by replacing bundle := i18n.NewBundle(language.English) with
var defaultLang string
defaultLang = d.Cfg.GetString("defaultContentLanguage")
if defaultLang == "" {
    defaultLang = "en"
}
var defaultLangTag language.Tag
defaultLangTag, err := language.Parse(defaultLang)
// If the default language set can not be parsed to a valid language tag,
// we will fall back to en.
if err != nil {
    defaultLangTag = language.English
}
bundle := i18n.NewBundle(defaultLangTag)


Eclipse and SBT output collide

sbteclipse is creating the following in my .classpath file:
<classpathentry kind="src" path="src/main/scala" output="target/scala-2.11/classes"/>
<classpathentry kind="src" path="src/main/java" output="target/scala-2.11/classes"/>
<classpathentry kind="src" path="src/test/scala" output="target/scala-2.11/test-classes"/>
<classpathentry kind="src" path="src/test/java" output="target/scala-2.11/test-classes"/>

This is really bad because it sends the Eclipse output to the same directory where SBT is compiling to. This creates situations with my program crashing unexpectedly, compiling taking forever and recompiling the same files over and over again in loops, compiling and tests failing, etc. Changing this so that they don't share output directories does mean that eclipse and SBT both compile the project doing extra work, but I've never had it work without crashing with the current setup. In the long term, creating the SBT server and hooking into would be a solution for this.
I'd like the output to look like this instead:
<classpathentry kind="src" path="src/main/scala"/>
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="src" path="src/test/scala"/>
<classpathentry kind="src" path="src/test/java"/>

I can manually edit the file after it's generated, so I've verified that this looks to work much better. Could we make this the default output? Or is there at least a setting for it?
I'm using Play, but they don't seem to be overriding the defaults.

Hmm, this is why we just use the EclipseKeys.eclipseOutput setting =- to avoid SBT vs eclipse collisions (https://github.com/frugalmechanic/fm-sbt-common/blob/master/src/main/scala/fm/sbt/FMCommon.scala#L22)

Dumb question, any chance you can dig up the Eclipse documentation that documents the format of the  .classpath files?  I tried doing a cursory search and didn't come up with much.

Yes, you can certainly set EclipseKeys.eclipseOutput, but it was silly to have the default be broken so that everyone has to set that setting.
I've never seen Eclipse documentation regarding the format of their files, but please share if you find any.

@benmccann I haven't tested it, is there any unit test to verify the EclipseKeys.eclipseOutput := Some(".target"), would continue to output the output=".target/scala-2.11/classes" attribute?

The option still exists and you can still set it. It's just a different default value. You shouldn't notice any change whatsoever for https://github.com/frugalmechanic/fm-sbt-common/blob/master/src/main/scala/fm/sbt/FMCommon.scala#L22

@benmccann is that in the unit test somewhere or did I miss it?

@er1c subc specifies eclipseOutput https://github.com/typesafehub/sbteclipse/blob/master/sbteclipse-plugin/src/sbt-test/sbteclipse/02-contents/build.sbt#L196


Add 'include' directive in Cargo.toml to reduce package size

This will exclude files that are not required to build the code, saving (only) 4kb in the crate archive.

Please feel free to close this issue, after all, it doesn't make much of a difference right now at least.

Wouldn't tests/ and benches/ possibly be picked up by crater (or whatever the name of the current tool is)?

@meh Intersting point! I actually don't know, probably these tools benefit from having more information available to them.
I am happily adding them back if there are concerns.

I messed things up - closing 😅


Creating my images for Android with Specific Android Version

Hello,
I am trying to create an image using the guideline here: https://github.com/aerokube/selenoid-images
and had some questions regarding to it. When creating android images, how can I specify to create it for version 11.0?
I don't see image creation for chrome-mobile, how can I create for these?

@shj941013 all these questions are asked in this interactive script: https://github.com/aerokube/selenoid-images/blob/master/selenium/automate_android.sh


test: add narration to DatapathConfiguration test helper, reduce timeouts per-execution

test-me-please

test-missed-k8s

Coverage decreased (-0.004%) to 41.895% when pulling ec8a9116ca98409b05eb2e4525a318313e683d2d on pr/ianvernon/debug-direct-routes-test into 3ee527a66ab3be682de8ad9c58c9d6d2ae8af4d4 on master.

test-me-please

test-me-please

test-missed-k8s


Change: add Fatal::Panicked; record RaftCore panic as an error

Changelog
Change: add Fatal::Panicked; record RaftCore panic as an error

This change is

LGTM


Impersonated credentials should implement sign() capability

Impersonated client does not have any way to generate signedurl or to signbytes.
This credential type uses the IAM api to perform acquire various token types like generateAccessToken,  generateIdToken (ref: https://github.com/googleapis/google-auth-library-nodejs/issues/1318),
The ability to sign on behalf of the impersonated svc account through the iam api would use the signBlob API.
This feaure request is to surface a sign interface such that it can be used standalone or though a client such as storage and allow generation of signedURLs.
Essentially this flow will allow

user -> impersonate svc1 --> generate signedurl as svc1

if it helps, I have a sample working below but i had to make some edits
A) https://github.com/googleapis/google-auth-library-nodejs/blob/main/src/auth/googleauth.ts#L814
async getCredentialsAsync() {
    const client = await this.getClient();

    if (client instanceof impersonated_1.Impersonated) {
        // not really used.  Impersonated uses the service accounts email
        // it got initialized with
        return { client_email: client.targetPrincipal }
    }
  // ...
  // ...
}

B) https://github.com/googleapis/google-auth-library-nodejs/blob/main/src/auth/googleauth.ts#L946
async sign(data) {
    const client = await this.getClient();

    if (client instanceof impersonated_1.Impersonated) {
        return client.sign(data);
    }
  // ...
  // ...
}

C) https://github.com/googleapis/google-auth-library-nodejs/blob/main/src/auth/impersonated.ts
/**
 * Signs some bytes.
 * @param blobToSign Sign bytes.
 */
     async sign(blobToSign) {

        try {
            await this.sourceClient.getAccessToken();
            const name = `projects/-/serviceAccounts/${this.targetPrincipal}`;
            const u = `${this.endpoint}/v1/${name}:signBlob`;
            const body = {
                delegates: this.delegates,
                payload: Buffer.from(blobToSign).toString('base64')
            };
            const res = await this.sourceClient.request({
                url: u,
                data: body,
                method: 'POST',
            });
            const tokenResponse = res.data;
            return tokenResponse.signedBlob
        }
        catch (error) {

        }
    }

Usage
const { GoogleAuth, Impersonated } = require('google-auth-library');
const { Storage } = require('@google-cloud/storage');

async function main() {
  const scopes = 'https://www.googleapis.com/auth/cloud-platform'
  // get source credentials
  const auth = new GoogleAuth({
    scopes: scopes
  });
  const client = await auth.getClient();

  // First impersonate
  let targetPrincipal =<EMAIL_ADDRESS>  let targetClient = new Impersonated({
    sourceClient: client,
    targetPrincipal: targetPrincipal,
    lifetime: 30,
    delegates: [],
    targetScopes: [scopes]
  });

  // test sign
  //console.log(await targetClient.sign("foo"));

  let projectId = 'fabled-ray-104117'
  let bucketName = 'fabled-ray-104117-test'

  // use the impersonated creds to bootstrap a storage client
  const storageOptions = {
    projectId,
    authClient: targetClient,
  };
  const storage = new Storage(storageOptions);

  // ####### GCS SignedURL
  const signOptions = {
    version: 'v4',
    action: 'read',
    expires: Date.now() + 15 * 60 * 1000, // 15 minutes
  };

  const  su = await storage
    .bucket(bucketName)
    .file('foo.txt')
    .getSignedUrl(signOptions);
  console.log(su);
}
main().catch(console.error);

ref https://github.com/googleapis/google-auth-library-nodejs/issues/1210
 Google Cloud Storage SignedURL with Cloud Run, Cloud Functions and GCE VMs
@danielbankhead, @FrodoTheTrue, @m0ar

I am having the same issue as salrashid and I have tried the fixes he suggests and it does make the signedUrls work with an impersonated client

This seems like an important limitation of the google auth library. I need to impersonate a service account to develop locally for servers I will deploy on the google cloud platform. Modifying and complicating the source code in order to authenticate locally when the production environment should function for signing isn't an approach I want to be forced into.

Would also love to see this implemented, I'm in the same situation as @howlettga.

After some experimentation, I was able to get V4 signatures working using impersonated credentials.
I wanted to be able to use my regular non-impersonated ADC credentials and then impersonate at runtime.
I took created the JSON structure and set it in a temp file in GOOGLE_APPLICATION_DEFAULT:
{
    delegates: [],
    service_account_impersonation_url: 'https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/${serviceAccount}:generateAccessToken',
    source_credentials: {
       .. dynamically loaded from ~/.config/gcloud/application_default_credentials.json
    },
    client_email: ${serviceAccount},
    type: 'impersonated_service_account'
  }

Seems to work with Storage.


Data Analysis and Visualisation Questions

Your questions does not follow our specified question template. Please rectify.

Will do!
Fitzroy Meyer-Petgrave
On Tue, 9 Apr 2024 at 11:34, Emmanuel Aiyenigba @.***>
wrote:

Your questions does not follow our specified question template. Please
rectify.
—
Reply to this email directly, view it on GitHub
https://github.com/3MTT-PET/Proficiency-Tool/pull/21#issuecomment-2044677300,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS6L7HEEWKUGITDARD3M2B3Y4O74TAVCNFSM6AAAAABFQOFDY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBUGY3TOMZQGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


only the first appended keyframe seems to work.

The problem seems to be - 2nd and 3rd appended kf have the same timestamp as the 1st one.

fixed in 9385d6ad86fae821a571e69ef4aa9b2385d25073


[rlgl] use GLint64 for glGetBufferParameteri64v

Hi Ray,
When compiling raylib on Linux with OPENGL_VERSION=4.3 the build fails because GLint64 is defined as long int which is not the same type as long long. This will fix the issue while maintaining compatibility with Win32 where long long is equivalent to GLint64.

@rnpnr Thansk for the review!


Unused files: enums.js and adapter.js?

Description
The following files not exist:
            'src/web_app/js/enums.js',
            'src/web_app/js/adapter.js',

Purpose
Remove unused files entires.

https://github.com/webrtc/apprtc/blob/master/build/gen_js_enums.py generates enum.js but you are correct in that 'src/web_app/js/adapter.js', no longer exists since we now use 'node_modules/webrtc-adapter/out/adapter.js' instead.

Ping


Confirm whitelist vs. blacklist options for Redux data in local storage

Follow-on issue from #40:
Tom: I'm wondering whether the whitelist would be a better option... whitelist is safer, but blacklist is more convenient. Also, whitelist decreases a chance that we will store large amount of data.
I could not find any information about restrictions on the localStorage size in Tauri, usually it is about 10 Mb in web browsers.
Tarnas: yes, whitelist is safer, but I was lazy, we can come back to it and check it again, there's a possibility that once we start to collect performance stats etc. we'll have to revisit this and change the way we persist store, but it's a small change we can always do

Reviewed this concern and the localStorage data:

credentials are not present in the localStorage (wallet password and merged/monero authentication)
due to small number of credentials used in the app, and dedicated Redux store: credentials that is blacklisted, the blacklist approach is more convenient.


FPRScreenTraceTracker crash on 6.7.0

#3011 # [REQUIRED] Step 2: Describe your environment

Xcode version: 10.3
Firebase SDK version: 6.7.0

[REQUIRED] Step 3: Describe the problem
#9 Crashed: com.google.FPRScreenTraceTracker
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000

Crashed: com.google.FPRScreenTraceTracker
0  libobjc.A.dylib                0x1a223527c _mapStrIsEqual(_NXMapTable*, void const*, void const*) + 12
1  libobjc.A.dylib                0x1a2234bf0 NXMapGet + 20
2  libobjc.A.dylib                0x1a2249764 getClass_impl(char const*) + 32
3  libobjc.A.dylib                0x1a2245320 getClassExceptSomeSwift(char const*) + 20
4  libobjc.A.dylib                0x1a2246b38 getMaybeUnrealizedNonMetaClass(objc_class*, objc_object*) + 208
5  libobjc.A.dylib                0x1a2242704 lookUpImpOrForward + 596
6  libobjc.A.dylib                0x1a224247c lookUpImpOrNil + 12
7  libobjc.A.dylib                0x1a2236b28 class_respondsToSelector + 40
8  Foundation                     0x1a39ba860 +[NSBundle bundleForClass:] + 72
9  Twist                          0x10070d2e8 -[FPRScreenTraceTracker shouldCreateScreenTraceForViewController:] +<PHONE_NUMBER>
10 Twist                          0x10070ce84 -[FPRScreenTraceTracker startScreenTraceForViewController:currentTotalFrames:currentFrozenFrames:currentSlowFrames:] +<PHONE_NUMBER>
11 Twist                          0x10070c98c __56-[FPRScreenTraceTracker appDidBecomeActiveNotification:]_block_invoke +<PHONE_NUMBER>
12 libdispatch.dylib              0x1a2a9ca38 _dispatch_call_block_and_release + 24
13 libdispatch.dylib              0x1a2a9d7d4 _dispatch_client_callout + 16
14 libdispatch.dylib              0x1a2a46454 _dispatch_lane_serial_drain$VARIANT$mp + 896
15 libdispatch.dylib              0x1a2a46e40 _dispatch_lane_invoke$VARIANT$mp + 428
16 libdispatch.dylib              0x1a2a4f4ac _dispatch_workloop_worker_thread + 596
17 libsystem_pthread.dylib        0x1a2c7e114 _pthread_wqthread + 304
18 libsystem_pthread.dylib        0x1a2c80cd4 start_wqthread + 4

Thanks for the report. Please share any additional information about reproducibility, crash frequency, or system characteristics where the crash occurs.

Do we have any more details on this crash? Few information would very useful to learn:

Volume of crashes
Performance SDK Version
iOS Version

With the current stack trace, the crash seem to be happening at piece of code where we try to get the bundleForClass which is a platform method and safe. (Reference: https://developer.apple.com/documentation/foundation/nsbundle/1417717-bundleforclass?language=objc)

I think it only happened once in production. It happened early after release so we were expecting it to have bigger impact but so far it doesn't seem to be a significant problem.

FirebasePerformance (~> 3.1.2)

12.4.0 on iPhone 6

@proxi Please consider updating to the latest version of the Perf SDK. For now I'm closing this thread and will continue to watch on this issue. If you see this issue repeating, please re-open this issue. Thanks!


How to perform log transformation？

I can't repeat the log transformation of count in the data, may i ignore something step?

max(log2(c(sce_sc_CELseq2_qc@assays$data@listData$counts)+1))
[1] 11.53819
max(log2(c(sce_sc_CELseq2_qc@assays$data@listData$counts)))
[1] 11.5377
max(c(sce_sc_CELseq2_qc@assays$data@listData$logcounts))
[1] 11.84594

The data in logcounts data slot are log normalized expression using scran package, not just log2 transformed count value.
The code I used looks like:
sce <- computeSumFactors(sce)
sce <- normalize(sce)

The scran webpage have more detail: bioconductor.org/packages/release/bioc/vignettes/scran/inst/doc/scran.html

Sorry, I still can't get the result of logcounts. What parameters did I miss? Or I have a suspicious warning when I run it.

load('./bulk_sc/CellBench_script/data/sincell_with_class.RData')
max(c(sce_sc_CELseq2_qc@assays$data@listData$logcounts))       ## 11.84594
[1] 11.84594
max(log2(c(sce_sc_CELseq2_qc@assays$data@listData$counts)+1))
[1] 11.53819
max(log2(c(sce_sc_CELseq2_qc@assays$data@listData$counts)))
[1] 11.5377
#######################
sce <- sce_sc_CELseq2_qc
logcounts(sce) <- NULL
#counts(sce) <- counts(sce)+1
sce <- scran::computeSumFactors(sce)
sce <- scater::normalize(sce)
Warning message:
In .get_all_sf_sets(object) :
spike-in set 'ERCC' should have its own size factors
max(c(sce@assays$data@listData$logcounts))                   ## 11.84798
[1] 11.84798
########################
sce <- sce_sc_CELseq2_qc
logcounts(sce) <- NULL
sce <- scran::computeSumFactors(sce)
sce <- BiocGenerics::normalize(sce)
Warning message:
In .get_all_sf_sets(object) :
spike-in set 'ERCC' should have its own size factors
max(c(sce@assays$data@listData$logcounts))                   ## 11.84798
[1] 11.84798

ok, i find the method!

sce2 <- scran::computeSpikeFactors(sce, general.use=FALSE)
sce2 <- normalize(sce2)